From 94dbd48b675cd61ad23d689545cb8289f8d44d3f Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Tue, 26 Jul 2022 08:49:38 +0000 Subject: [PATCH 1/4] feat: Release API version v1beta1 (no changes to v1alpha2) PiperOrigin-RevId: 463269555 Source-Link: https://github.com/googleapis/googleapis/commit/5261728f2ee874bc9f14bfecc52e4a178acaf711 Source-Link: https://github.com/googleapis/googleapis-gen/commit/20a9a4c74a41a6f085e40ef5a17416c000c2fc94 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjBhOWE0Yzc0YTQxYTZmMDg1ZTQwZWY1YTE3NDE2YzAwMGMyZmM5NCJ9 --- .../cloud/dataform/v1alpha2/DataformGrpc.java | 4569 ------ .../dataform/v1alpha2/DataformClient.java | 162 +- .../dataform/v1alpha2/DataformSettings.java | 37 +- .../dataform/v1alpha2/gapic_metadata.json | 0 .../cloud/dataform/v1alpha2/package-info.java | 0 .../dataform/v1alpha2/stub/DataformStub.java | 0 .../v1alpha2/stub/DataformStubSettings.java | 132 +- .../stub/GrpcDataformCallableFactory.java | 0 .../v1alpha2/stub/GrpcDataformStub.java | 1 + .../stub/HttpJsonDataformCallableFactory.java | 0 .../v1alpha2/stub/HttpJsonDataformStub.java | 0 .../v1alpha2/DataformClientHttpJsonTest.java | 0 .../dataform/v1alpha2/DataformClientTest.java | 0 .../cloud/dataform/v1alpha2/MockDataform.java | 0 .../dataform/v1alpha2/MockDataformImpl.java | 0 .../dataform/v1alpha2/MockIAMPolicy.java | 0 .../dataform/v1alpha2/MockIAMPolicyImpl.java | 0 .../dataform/v1alpha2/MockLocations.java | 0 .../dataform/v1alpha2/MockLocationsImpl.java | 0 .../cloud/dataform/v1alpha2/DataformGrpc.java | 3322 ++++ .../CancelWorkflowInvocationRequest.java | 378 +- ...celWorkflowInvocationRequestOrBuilder.java | 29 + .../cloud/dataform/v1alpha2/CommitAuthor.java | 383 +- .../v1alpha2/CommitAuthorOrBuilder.java | 36 +- .../CommitWorkspaceChangesRequest.java | 699 +- ...ommitWorkspaceChangesRequestOrBuilder.java | 82 +- .../dataform/v1alpha2/CompilationResult.java | 3043 ++-- .../v1alpha2/CompilationResultAction.java | 6487 +++----- .../CompilationResultActionOrBuilder.java | 99 +- .../v1alpha2/CompilationResultName.java | 0 .../v1alpha2/CompilationResultOrBuilder.java | 140 +- .../CreateCompilationResultRequest.java | 536 +- ...eateCompilationResultRequestOrBuilder.java | 58 + .../v1alpha2/CreateRepositoryRequest.java | 567 +- .../CreateRepositoryRequestOrBuilder.java | 64 +- .../CreateWorkflowInvocationRequest.java | 540 +- ...ateWorkflowInvocationRequestOrBuilder.java | 56 + .../v1alpha2/CreateWorkspaceRequest.java | 567 +- .../CreateWorkspaceRequestOrBuilder.java | 64 +- .../dataform/v1alpha2/DataformProto.java | 1452 ++ .../v1alpha2/DeleteRepositoryRequest.java | 379 +- .../DeleteRepositoryRequestOrBuilder.java | 41 + .../DeleteWorkflowInvocationRequest.java | 378 +- ...eteWorkflowInvocationRequestOrBuilder.java | 29 + .../v1alpha2/DeleteWorkspaceRequest.java | 342 +- .../DeleteWorkspaceRequestOrBuilder.java | 29 + .../v1alpha2/FetchFileDiffRequest.java | 421 +- .../FetchFileDiffRequestOrBuilder.java | 49 + .../v1alpha2/FetchFileDiffResponse.java | 314 +- .../FetchFileDiffResponseOrBuilder.java | 29 + .../v1alpha2/FetchFileGitStatusesRequest.java | 360 +- .../FetchFileGitStatusesRequestOrBuilder.java | 29 + .../FetchFileGitStatusesResponse.java | 1243 +- ...FetchFileGitStatusesResponseOrBuilder.java | 58 + .../v1alpha2/FetchGitAheadBehindRequest.java | 429 +- .../FetchGitAheadBehindRequestOrBuilder.java | 44 +- .../v1alpha2/FetchGitAheadBehindResponse.java | 324 +- .../FetchGitAheadBehindResponseOrBuilder.java | 24 +- .../v1alpha2/FetchRemoteBranchesRequest.java | 350 +- .../FetchRemoteBranchesRequestOrBuilder.java | 29 + .../v1alpha2/FetchRemoteBranchesResponse.java | 364 +- .../FetchRemoteBranchesResponseOrBuilder.java | 36 +- .../v1alpha2/GetCompilationResultRequest.java | 360 +- .../GetCompilationResultRequestOrBuilder.java | 29 + .../v1alpha2/GetRepositoryRequest.java | 342 +- .../GetRepositoryRequestOrBuilder.java | 29 + .../GetWorkflowInvocationRequest.java | 363 +- ...GetWorkflowInvocationRequestOrBuilder.java | 29 + .../v1alpha2/GetWorkspaceRequest.java | 342 +- .../GetWorkspaceRequestOrBuilder.java | 29 + .../v1alpha2/InstallNpmPackagesRequest.java | 349 +- .../InstallNpmPackagesRequestOrBuilder.java | 29 + .../v1alpha2/InstallNpmPackagesResponse.java | 246 +- .../InstallNpmPackagesResponseOrBuilder.java | 9 + .../ListCompilationResultsRequest.java | 476 +- ...istCompilationResultsRequestOrBuilder.java | 47 +- .../ListCompilationResultsResponse.java | 686 +- ...stCompilationResultsResponseOrBuilder.java | 75 +- .../v1alpha2/ListRepositoriesRequest.java | 615 +- .../ListRepositoriesRequestOrBuilder.java | 65 +- .../v1alpha2/ListRepositoriesResponse.java | 568 +- .../ListRepositoriesResponseOrBuilder.java | 63 +- .../ListWorkflowInvocationsRequest.java | 487 +- ...stWorkflowInvocationsRequestOrBuilder.java | 47 +- .../ListWorkflowInvocationsResponse.java | 697 +- ...tWorkflowInvocationsResponseOrBuilder.java | 74 +- .../v1alpha2/ListWorkspacesRequest.java | 615 +- .../ListWorkspacesRequestOrBuilder.java | 65 +- .../v1alpha2/ListWorkspacesResponse.java | 574 +- .../ListWorkspacesResponseOrBuilder.java | 63 +- .../cloud/dataform/v1alpha2/LocationName.java | 0 .../v1alpha2/MakeDirectoryRequest.java | 421 +- .../MakeDirectoryRequestOrBuilder.java | 44 +- .../v1alpha2/MakeDirectoryResponse.java | 238 +- .../MakeDirectoryResponseOrBuilder.java | 9 + .../v1alpha2/MoveDirectoryRequest.java | 500 +- .../MoveDirectoryRequestOrBuilder.java | 53 +- .../v1alpha2/MoveDirectoryResponse.java | 238 +- .../MoveDirectoryResponseOrBuilder.java | 9 + .../dataform/v1alpha2/MoveFileRequest.java | 497 +- .../v1alpha2/MoveFileRequestOrBuilder.java | 53 +- .../dataform/v1alpha2/MoveFileResponse.java | 235 +- .../v1alpha2/MoveFileResponseOrBuilder.java | 9 + .../v1alpha2/PullGitCommitsRequest.java | 567 +- .../PullGitCommitsRequestOrBuilder.java | 64 +- .../v1alpha2/PushGitCommitsRequest.java | 421 +- .../PushGitCommitsRequestOrBuilder.java | 44 +- .../QueryCompilationResultActionsRequest.java | 583 +- ...pilationResultActionsRequestOrBuilder.java | 56 +- ...QueryCompilationResultActionsResponse.java | 648 +- ...ilationResultActionsResponseOrBuilder.java | 65 +- .../QueryDirectoryContentsRequest.java | 557 +- ...ueryDirectoryContentsRequestOrBuilder.java | 56 +- .../QueryDirectoryContentsResponse.java | 1249 +- ...eryDirectoryContentsResponseOrBuilder.java | 75 + ...QueryWorkflowInvocationActionsRequest.java | 505 +- ...flowInvocationActionsRequestOrBuilder.java | 47 +- ...ueryWorkflowInvocationActionsResponse.java | 655 +- ...lowInvocationActionsResponseOrBuilder.java | 68 +- .../dataform/v1alpha2/ReadFileRequest.java | 418 +- .../v1alpha2/ReadFileRequestOrBuilder.java | 49 + .../dataform/v1alpha2/ReadFileResponse.java | 268 +- .../v1alpha2/ReadFileResponseOrBuilder.java | 19 + .../dataform/v1alpha2/RelationDescriptor.java | 1470 +- .../v1alpha2/RelationDescriptorOrBuilder.java | 92 +- .../v1alpha2/RemoveDirectoryRequest.java | 421 +- .../RemoveDirectoryRequestOrBuilder.java | 44 +- .../dataform/v1alpha2/RemoveFileRequest.java | 418 +- .../v1alpha2/RemoveFileRequestOrBuilder.java | 49 + .../cloud/dataform/v1alpha2/Repository.java | 1222 +- .../dataform/v1alpha2/RepositoryName.java | 0 .../v1alpha2/RepositoryOrBuilder.java | 50 +- .../ResetWorkspaceChangesRequest.java | 511 +- ...ResetWorkspaceChangesRequestOrBuilder.java | 56 +- .../cloud/dataform/v1alpha2/Target.java | 459 +- .../dataform/v1alpha2/TargetOrBuilder.java | 45 +- .../v1alpha2/UpdateRepositoryRequest.java | 516 +- .../UpdateRepositoryRequestOrBuilder.java | 55 +- .../dataform/v1alpha2/WorkflowInvocation.java | 1769 +-- .../v1alpha2/WorkflowInvocationAction.java | 1544 +- .../WorkflowInvocationActionOrBuilder.java | 121 +- .../v1alpha2/WorkflowInvocationName.java | 0 .../v1alpha2/WorkflowInvocationOrBuilder.java | 98 +- .../cloud/dataform/v1alpha2/Workspace.java | 301 +- .../dataform/v1alpha2/WorkspaceName.java | 0 .../dataform/v1alpha2/WorkspaceOrBuilder.java | 29 + .../dataform/v1alpha2/WriteFileRequest.java | 454 +- .../v1alpha2/WriteFileRequestOrBuilder.java | 47 +- .../dataform/v1alpha2/WriteFileResponse.java | 235 +- .../v1alpha2/WriteFileResponseOrBuilder.java | 9 + .../cloud/dataform/v1alpha2/dataform.proto | 0 .../dataform/v1beta1/DataformClient.java | 4172 +++++ .../dataform/v1beta1/DataformSettings.java | 655 + .../dataform/v1beta1/gapic_metadata.json | 132 + .../cloud/dataform/v1beta1/package-info.java | 41 + .../dataform/v1beta1/stub/DataformStub.java | 323 + .../v1beta1/stub/DataformStubSettings.java | 1878 +++ .../stub/GrpcDataformCallableFactory.java | 115 + .../v1beta1/stub/GrpcDataformStub.java | 1517 ++ .../stub/HttpJsonDataformCallableFactory.java | 105 + .../v1beta1/stub/HttpJsonDataformStub.java | 2338 +++ .../v1beta1/DataformClientHttpJsonTest.java | 2843 ++++ .../dataform/v1beta1/DataformClientTest.java | 2575 ++++ .../cloud/dataform/v1beta1/MockDataform.java | 59 + .../dataform/v1beta1/MockDataformImpl.java | 824 + .../cloud/dataform/v1beta1/MockIAMPolicy.java | 59 + .../dataform/v1beta1/MockIAMPolicyImpl.java | 59 + .../cloud/dataform/v1beta1/MockLocations.java | 59 + .../dataform/v1beta1/MockLocationsImpl.java | 105 + .../cloud/dataform/v1beta1/DataformGrpc.java | 3322 ++++ .../CancelWorkflowInvocationRequest.java | 595 + ...celWorkflowInvocationRequestOrBuilder.java | 29 + .../cloud/dataform/v1beta1/CommitAuthor.java | 761 + .../v1beta1/CommitAuthorOrBuilder.java | 49 + .../CommitWorkspaceChangesRequest.java | 1257 ++ ...ommitWorkspaceChangesRequestOrBuilder.java | 121 + .../dataform/v1beta1/CompilationResult.java | 5436 +++++++ .../v1beta1/CompilationResultAction.java | 12783 ++++++++++++++++ .../CompilationResultActionOrBuilder.java | 198 + .../v1beta1/CompilationResultName.java | 269 + .../v1beta1/CompilationResultOrBuilder.java | 201 + .../CreateCompilationResultRequest.java | 838 + ...eateCompilationResultRequestOrBuilder.java | 58 + .../v1beta1/CreateRepositoryRequest.java | 1011 ++ .../CreateRepositoryRequestOrBuilder.java | 80 + .../CreateWorkflowInvocationRequest.java | 838 + ...ateWorkflowInvocationRequestOrBuilder.java | 58 + .../v1beta1/CreateWorkspaceRequest.java | 1011 ++ .../CreateWorkspaceRequestOrBuilder.java | 80 + .../cloud/dataform/v1beta1/DataformProto.java | 1448 ++ .../v1beta1/DeleteRepositoryRequest.java | 684 + .../DeleteRepositoryRequestOrBuilder.java | 41 + .../DeleteWorkflowInvocationRequest.java | 595 + ...eteWorkflowInvocationRequestOrBuilder.java | 29 + .../v1beta1/DeleteWorkspaceRequest.java | 595 + .../DeleteWorkspaceRequestOrBuilder.java | 29 + .../v1beta1/FetchFileDiffRequest.java | 761 + .../FetchFileDiffRequestOrBuilder.java | 49 + .../v1beta1/FetchFileDiffResponse.java | 595 + .../FetchFileDiffResponseOrBuilder.java | 29 + .../v1beta1/FetchFileGitStatusesRequest.java | 595 + .../FetchFileGitStatusesRequestOrBuilder.java | 29 + .../v1beta1/FetchFileGitStatusesResponse.java | 1831 +++ ...FetchFileGitStatusesResponseOrBuilder.java | 58 + .../v1beta1/FetchGitAheadBehindRequest.java | 775 + .../FetchGitAheadBehindRequestOrBuilder.java | 53 + .../v1beta1/FetchGitAheadBehindResponse.java | 589 + .../FetchGitAheadBehindResponseOrBuilder.java | 29 + .../v1beta1/FetchRemoteBranchesRequest.java | 595 + .../FetchRemoteBranchesRequestOrBuilder.java | 29 + .../v1beta1/FetchRemoteBranchesResponse.java | 676 + .../FetchRemoteBranchesResponseOrBuilder.java | 50 + .../v1beta1/GetCompilationResultRequest.java | 595 + .../GetCompilationResultRequestOrBuilder.java | 29 + .../v1beta1/GetRepositoryRequest.java | 595 + .../GetRepositoryRequestOrBuilder.java | 29 + .../v1beta1/GetWorkflowInvocationRequest.java | 595 + ...GetWorkflowInvocationRequestOrBuilder.java | 29 + .../dataform/v1beta1/GetWorkspaceRequest.java | 595 + .../v1beta1/GetWorkspaceRequestOrBuilder.java | 29 + .../v1beta1/InstallNpmPackagesRequest.java | 595 + .../InstallNpmPackagesRequestOrBuilder.java | 29 + .../v1beta1/InstallNpmPackagesResponse.java | 429 + .../InstallNpmPackagesResponseOrBuilder.java | 9 + .../ListCompilationResultsRequest.java | 877 ++ ...istCompilationResultsRequestOrBuilder.java | 69 + .../ListCompilationResultsResponse.java | 1289 ++ ...stCompilationResultsResponseOrBuilder.java | 116 + .../v1beta1/ListRepositoriesRequest.java | 1223 ++ .../ListRepositoriesRequestOrBuilder.java | 113 + .../v1beta1/ListRepositoriesResponse.java | 1289 ++ .../ListRepositoriesResponseOrBuilder.java | 116 + .../ListWorkflowInvocationsRequest.java | 877 ++ ...stWorkflowInvocationsRequestOrBuilder.java | 69 + .../ListWorkflowInvocationsResponse.java | 1289 ++ ...tWorkflowInvocationsResponseOrBuilder.java | 116 + .../v1beta1/ListWorkspacesRequest.java | 1223 ++ .../ListWorkspacesRequestOrBuilder.java | 113 + .../v1beta1/ListWorkspacesResponse.java | 1289 ++ .../ListWorkspacesResponseOrBuilder.java | 116 + .../cloud/dataform/v1beta1/LocationName.java | 192 + .../v1beta1/MakeDirectoryRequest.java | 768 + .../MakeDirectoryRequestOrBuilder.java | 51 + .../v1beta1/MakeDirectoryResponse.java | 429 + .../MakeDirectoryResponseOrBuilder.java | 9 + .../v1beta1/MoveDirectoryRequest.java | 941 ++ .../MoveDirectoryRequestOrBuilder.java | 73 + .../v1beta1/MoveDirectoryResponse.java | 429 + .../MoveDirectoryResponseOrBuilder.java | 9 + .../dataform/v1beta1/MoveFileRequest.java | 927 ++ .../v1beta1/MoveFileRequestOrBuilder.java | 69 + .../dataform/v1beta1/MoveFileResponse.java | 429 + .../v1beta1/MoveFileResponseOrBuilder.java | 9 + .../v1beta1/PullGitCommitsRequest.java | 1016 ++ .../PullGitCommitsRequestOrBuilder.java | 81 + .../v1beta1/PushGitCommitsRequest.java | 768 + .../PushGitCommitsRequestOrBuilder.java | 51 + .../QueryCompilationResultActionsRequest.java | 1050 ++ ...pilationResultActionsRequestOrBuilder.java | 91 + ...QueryCompilationResultActionsResponse.java | 1045 ++ ...ilationResultActionsResponseOrBuilder.java | 75 + .../QueryDirectoryContentsRequest.java | 1050 ++ ...ueryDirectoryContentsRequestOrBuilder.java | 91 + .../QueryDirectoryContentsResponse.java | 2034 +++ ...eryDirectoryContentsResponseOrBuilder.java | 75 + ...QueryWorkflowInvocationActionsRequest.java | 877 ++ ...flowInvocationActionsRequestOrBuilder.java | 69 + ...ueryWorkflowInvocationActionsResponse.java | 1045 ++ ...lowInvocationActionsResponseOrBuilder.java | 75 + .../dataform/v1beta1/ReadFileRequest.java | 761 + .../v1beta1/ReadFileRequestOrBuilder.java | 49 + .../dataform/v1beta1/ReadFileResponse.java | 513 + .../v1beta1/ReadFileResponseOrBuilder.java | 19 + .../dataform/v1beta1/RelationDescriptor.java | 2572 ++++ .../v1beta1/RelationDescriptorOrBuilder.java | 129 + .../v1beta1/RemoveDirectoryRequest.java | 768 + .../RemoveDirectoryRequestOrBuilder.java | 51 + .../dataform/v1beta1/RemoveFileRequest.java | 761 + .../v1beta1/RemoveFileRequestOrBuilder.java | 49 + .../cloud/dataform/v1beta1/Repository.java | 2142 +++ .../dataform/v1beta1/RepositoryName.java | 223 + .../dataform/v1beta1/RepositoryOrBuilder.java | 56 + .../v1beta1/ResetWorkspaceChangesRequest.java | 936 ++ ...ResetWorkspaceChangesRequestOrBuilder.java | 84 + .../google/cloud/dataform/v1beta1/Target.java | 929 ++ .../dataform/v1beta1/TargetOrBuilder.java | 69 + .../v1beta1/UpdateRepositoryRequest.java | 913 ++ .../UpdateRepositoryRequestOrBuilder.java | 66 + .../dataform/v1beta1/WorkflowInvocation.java | 3049 ++++ .../v1beta1/WorkflowInvocationAction.java | 2554 +++ .../WorkflowInvocationActionOrBuilder.java | 171 + .../v1beta1/WorkflowInvocationName.java | 269 + .../v1beta1/WorkflowInvocationOrBuilder.java | 124 + .../cloud/dataform/v1beta1/Workspace.java | 595 + .../cloud/dataform/v1beta1/WorkspaceName.java | 262 + .../dataform/v1beta1/WorkspaceOrBuilder.java | 29 + .../dataform/v1beta1/WriteFileRequest.java | 845 + .../v1beta1/WriteFileRequestOrBuilder.java | 59 + .../dataform/v1beta1/WriteFileResponse.java | 429 + .../v1beta1/WriteFileResponseOrBuilder.java | 9 + .../cloud/dataform/v1beta1/dataform.proto | 1629 ++ ...celWorkflowInvocationRequestOrBuilder.java | 54 - ...eateCompilationResultRequestOrBuilder.java | 97 - ...ateWorkflowInvocationRequestOrBuilder.java | 95 - .../dataform/v1alpha2/DataformProto.java | 1618 -- .../DeleteRepositoryRequestOrBuilder.java | 69 - ...eteWorkflowInvocationRequestOrBuilder.java | 54 - .../DeleteWorkspaceRequestOrBuilder.java | 54 - .../FetchFileDiffRequestOrBuilder.java | 79 - .../FetchFileDiffResponseOrBuilder.java | 50 - .../FetchFileGitStatusesRequestOrBuilder.java | 54 - ...FetchFileGitStatusesResponseOrBuilder.java | 99 - .../FetchRemoteBranchesRequestOrBuilder.java | 54 - .../GetCompilationResultRequestOrBuilder.java | 54 - .../GetRepositoryRequestOrBuilder.java | 54 - ...GetWorkflowInvocationRequestOrBuilder.java | 54 - .../GetWorkspaceRequestOrBuilder.java | 54 - .../InstallNpmPackagesRequestOrBuilder.java | 54 - .../InstallNpmPackagesResponseOrBuilder.java | 24 - .../MakeDirectoryResponseOrBuilder.java | 24 - .../MoveDirectoryResponseOrBuilder.java | 24 - .../v1alpha2/MoveFileResponseOrBuilder.java | 24 - ...eryDirectoryContentsResponseOrBuilder.java | 120 - .../v1alpha2/ReadFileRequestOrBuilder.java | 79 - .../v1alpha2/ReadFileResponseOrBuilder.java | 38 - .../v1alpha2/RemoveFileRequestOrBuilder.java | 79 - .../dataform/v1alpha2/WorkspaceOrBuilder.java | 50 - .../v1alpha2/WriteFileResponseOrBuilder.java | 24 - 328 files changed, 127934 insertions(+), 35813 deletions(-) delete mode 100644 grpc-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DataformGrpc.java rename {google-cloud-dataform => owl-bot-staging/v1alpha2/google-cloud-dataform}/src/main/java/com/google/cloud/dataform/v1alpha2/DataformClient.java (97%) rename {google-cloud-dataform => owl-bot-staging/v1alpha2/google-cloud-dataform}/src/main/java/com/google/cloud/dataform/v1alpha2/DataformSettings.java (96%) rename {google-cloud-dataform => owl-bot-staging/v1alpha2/google-cloud-dataform}/src/main/java/com/google/cloud/dataform/v1alpha2/gapic_metadata.json (100%) rename {google-cloud-dataform => owl-bot-staging/v1alpha2/google-cloud-dataform}/src/main/java/com/google/cloud/dataform/v1alpha2/package-info.java (100%) rename {google-cloud-dataform => owl-bot-staging/v1alpha2/google-cloud-dataform}/src/main/java/com/google/cloud/dataform/v1alpha2/stub/DataformStub.java (100%) rename {google-cloud-dataform => owl-bot-staging/v1alpha2/google-cloud-dataform}/src/main/java/com/google/cloud/dataform/v1alpha2/stub/DataformStubSettings.java (95%) rename {google-cloud-dataform => owl-bot-staging/v1alpha2/google-cloud-dataform}/src/main/java/com/google/cloud/dataform/v1alpha2/stub/GrpcDataformCallableFactory.java (100%) rename {google-cloud-dataform => owl-bot-staging/v1alpha2/google-cloud-dataform}/src/main/java/com/google/cloud/dataform/v1alpha2/stub/GrpcDataformStub.java (99%) rename {google-cloud-dataform => owl-bot-staging/v1alpha2/google-cloud-dataform}/src/main/java/com/google/cloud/dataform/v1alpha2/stub/HttpJsonDataformCallableFactory.java (100%) rename {google-cloud-dataform => owl-bot-staging/v1alpha2/google-cloud-dataform}/src/main/java/com/google/cloud/dataform/v1alpha2/stub/HttpJsonDataformStub.java (100%) rename {google-cloud-dataform => owl-bot-staging/v1alpha2/google-cloud-dataform}/src/test/java/com/google/cloud/dataform/v1alpha2/DataformClientHttpJsonTest.java (100%) rename {google-cloud-dataform => owl-bot-staging/v1alpha2/google-cloud-dataform}/src/test/java/com/google/cloud/dataform/v1alpha2/DataformClientTest.java (100%) rename {google-cloud-dataform => owl-bot-staging/v1alpha2/google-cloud-dataform}/src/test/java/com/google/cloud/dataform/v1alpha2/MockDataform.java (100%) rename {google-cloud-dataform => owl-bot-staging/v1alpha2/google-cloud-dataform}/src/test/java/com/google/cloud/dataform/v1alpha2/MockDataformImpl.java (100%) rename {google-cloud-dataform => owl-bot-staging/v1alpha2/google-cloud-dataform}/src/test/java/com/google/cloud/dataform/v1alpha2/MockIAMPolicy.java (100%) rename {google-cloud-dataform => owl-bot-staging/v1alpha2/google-cloud-dataform}/src/test/java/com/google/cloud/dataform/v1alpha2/MockIAMPolicyImpl.java (100%) rename {google-cloud-dataform => owl-bot-staging/v1alpha2/google-cloud-dataform}/src/test/java/com/google/cloud/dataform/v1alpha2/MockLocations.java (100%) rename {google-cloud-dataform => owl-bot-staging/v1alpha2/google-cloud-dataform}/src/test/java/com/google/cloud/dataform/v1alpha2/MockLocationsImpl.java (100%) create mode 100644 owl-bot-staging/v1alpha2/grpc-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DataformGrpc.java rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/CancelWorkflowInvocationRequest.java (60%) create mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CancelWorkflowInvocationRequestOrBuilder.java rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/CommitAuthor.java (70%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/CommitAuthorOrBuilder.java (59%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/CommitWorkspaceChangesRequest.java (66%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/CommitWorkspaceChangesRequestOrBuilder.java (62%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResult.java (68%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResultAction.java (72%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResultActionOrBuilder.java (81%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResultName.java (100%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResultOrBuilder.java (61%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/CreateCompilationResultRequest.java (59%) create mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateCompilationResultRequestOrBuilder.java rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/CreateRepositoryRequest.java (65%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/CreateRepositoryRequestOrBuilder.java (54%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkflowInvocationRequest.java (58%) create mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkflowInvocationRequestOrBuilder.java rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkspaceRequest.java (65%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkspaceRequestOrBuilder.java (55%) create mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DataformProto.java rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteRepositoryRequest.java (66%) create mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteRepositoryRequestOrBuilder.java rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkflowInvocationRequest.java (60%) create mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkflowInvocationRequestOrBuilder.java rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkspaceRequest.java (64%) create mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkspaceRequestOrBuilder.java rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffRequest.java (66%) create mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffRequestOrBuilder.java rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffResponse.java (68%) create mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffResponseOrBuilder.java rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesRequest.java (62%) create mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesRequestOrBuilder.java rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesResponse.java (59%) create mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesResponseOrBuilder.java rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindRequest.java (66%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindRequestOrBuilder.java (54%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindResponse.java (67%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindResponseOrBuilder.java (52%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesRequest.java (63%) create mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesRequestOrBuilder.java rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesResponse.java (67%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesResponseOrBuilder.java (58%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/GetCompilationResultRequest.java (62%) create mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetCompilationResultRequestOrBuilder.java rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/GetRepositoryRequest.java (64%) create mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetRepositoryRequestOrBuilder.java rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkflowInvocationRequest.java (62%) create mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkflowInvocationRequestOrBuilder.java rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkspaceRequest.java (64%) create mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkspaceRequestOrBuilder.java rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesRequest.java (63%) create mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesRequestOrBuilder.java rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesResponse.java (64%) create mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesResponseOrBuilder.java rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsRequest.java (68%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsRequestOrBuilder.java (64%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsResponse.java (70%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsResponseOrBuilder.java (69%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesRequest.java (72%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesRequestOrBuilder.java (70%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesResponse.java (74%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesResponseOrBuilder.java (73%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsRequest.java (68%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsRequestOrBuilder.java (64%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsResponse.java (69%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsResponseOrBuilder.java (70%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesRequest.java (72%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesRequestOrBuilder.java (71%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesResponse.java (73%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesResponseOrBuilder.java (71%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/LocationName.java (100%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryRequest.java (66%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryRequestOrBuilder.java (50%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryResponse.java (65%) create mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryResponseOrBuilder.java rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryRequest.java (68%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryRequestOrBuilder.java (58%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryResponse.java (65%) create mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryResponseOrBuilder.java rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileRequest.java (68%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileRequestOrBuilder.java (57%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileResponse.java (65%) create mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileResponseOrBuilder.java rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/PullGitCommitsRequest.java (65%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/PullGitCommitsRequestOrBuilder.java (56%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/PushGitCommitsRequest.java (67%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/PushGitCommitsRequestOrBuilder.java (53%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsRequest.java (67%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsRequestOrBuilder.java (67%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsResponse.java (61%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsResponseOrBuilder.java (52%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsRequest.java (69%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsRequestOrBuilder.java (66%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsResponse.java (61%) create mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsResponseOrBuilder.java rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsRequest.java (65%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsRequestOrBuilder.java (62%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsResponse.java (61%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsResponseOrBuilder.java (53%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileRequest.java (66%) create mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileRequestOrBuilder.java rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileResponse.java (68%) create mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileResponseOrBuilder.java rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/RelationDescriptor.java (67%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/RelationDescriptorOrBuilder.java (62%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveDirectoryRequest.java (66%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveDirectoryRequestOrBuilder.java (50%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveFileRequest.java (66%) create mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveFileRequestOrBuilder.java rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/Repository.java (66%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/RepositoryName.java (100%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/RepositoryOrBuilder.java (51%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/ResetWorkspaceChangesRequest.java (68%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/ResetWorkspaceChangesRequestOrBuilder.java (65%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/Target.java (70%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/TargetOrBuilder.java (61%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/UpdateRepositoryRequest.java (64%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/UpdateRepositoryRequestOrBuilder.java (57%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocation.java (66%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocationAction.java (63%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocationActionOrBuilder.java (62%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocationName.java (100%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocationOrBuilder.java (57%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/Workspace.java (68%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/WorkspaceName.java (100%) create mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkspaceOrBuilder.java rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileRequest.java (67%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileRequestOrBuilder.java (51%) rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileResponse.java (66%) create mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileResponseOrBuilder.java rename {proto-google-cloud-dataform-v1alpha2 => owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2}/src/main/proto/google/cloud/dataform/v1alpha2/dataform.proto (100%) create mode 100644 owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/DataformClient.java create mode 100644 owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/DataformSettings.java create mode 100644 owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/gapic_metadata.json create mode 100644 owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/package-info.java create mode 100644 owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/DataformStub.java create mode 100644 owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/DataformStubSettings.java create mode 100644 owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/GrpcDataformCallableFactory.java create mode 100644 owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/GrpcDataformStub.java create mode 100644 owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/HttpJsonDataformCallableFactory.java create mode 100644 owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/HttpJsonDataformStub.java create mode 100644 owl-bot-staging/v1beta1/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/DataformClientHttpJsonTest.java create mode 100644 owl-bot-staging/v1beta1/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/DataformClientTest.java create mode 100644 owl-bot-staging/v1beta1/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/MockDataform.java create mode 100644 owl-bot-staging/v1beta1/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/MockDataformImpl.java create mode 100644 owl-bot-staging/v1beta1/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/MockIAMPolicy.java create mode 100644 owl-bot-staging/v1beta1/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/MockIAMPolicyImpl.java create mode 100644 owl-bot-staging/v1beta1/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/MockLocations.java create mode 100644 owl-bot-staging/v1beta1/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/MockLocationsImpl.java create mode 100644 owl-bot-staging/v1beta1/grpc-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DataformGrpc.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CancelWorkflowInvocationRequest.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CancelWorkflowInvocationRequestOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CommitAuthor.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CommitAuthorOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CommitWorkspaceChangesRequest.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CommitWorkspaceChangesRequestOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CompilationResult.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CompilationResultAction.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CompilationResultActionOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CompilationResultName.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CompilationResultOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateCompilationResultRequest.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateCompilationResultRequestOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateRepositoryRequest.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateRepositoryRequestOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateWorkflowInvocationRequest.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateWorkflowInvocationRequestOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateWorkspaceRequest.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateWorkspaceRequestOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DataformProto.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteRepositoryRequest.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteRepositoryRequestOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteWorkflowInvocationRequest.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteWorkflowInvocationRequestOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteWorkspaceRequest.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteWorkspaceRequestOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileDiffRequest.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileDiffRequestOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileDiffResponse.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileDiffResponseOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileGitStatusesRequest.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileGitStatusesRequestOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileGitStatusesResponse.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileGitStatusesResponseOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchGitAheadBehindRequest.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchGitAheadBehindRequestOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchGitAheadBehindResponse.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchGitAheadBehindResponseOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchRemoteBranchesRequest.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchRemoteBranchesRequestOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchRemoteBranchesResponse.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchRemoteBranchesResponseOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetCompilationResultRequest.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetCompilationResultRequestOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetRepositoryRequest.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetRepositoryRequestOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetWorkflowInvocationRequest.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetWorkflowInvocationRequestOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetWorkspaceRequest.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetWorkspaceRequestOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/InstallNpmPackagesRequest.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/InstallNpmPackagesRequestOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/InstallNpmPackagesResponse.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/InstallNpmPackagesResponseOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListCompilationResultsRequest.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListCompilationResultsRequestOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListCompilationResultsResponse.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListCompilationResultsResponseOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListRepositoriesRequest.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListRepositoriesRequestOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListRepositoriesResponse.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListRepositoriesResponseOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkflowInvocationsRequest.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkflowInvocationsRequestOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkflowInvocationsResponse.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkflowInvocationsResponseOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkspacesRequest.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkspacesRequestOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkspacesResponse.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkspacesResponseOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/LocationName.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MakeDirectoryRequest.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MakeDirectoryRequestOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MakeDirectoryResponse.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MakeDirectoryResponseOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveDirectoryRequest.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveDirectoryRequestOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveDirectoryResponse.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveDirectoryResponseOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveFileRequest.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveFileRequestOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveFileResponse.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveFileResponseOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/PullGitCommitsRequest.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/PullGitCommitsRequestOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/PushGitCommitsRequest.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/PushGitCommitsRequestOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryCompilationResultActionsRequest.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryCompilationResultActionsRequestOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryCompilationResultActionsResponse.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryCompilationResultActionsResponseOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryDirectoryContentsRequest.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryDirectoryContentsRequestOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryDirectoryContentsResponse.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryDirectoryContentsResponseOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryWorkflowInvocationActionsRequest.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryWorkflowInvocationActionsRequestOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryWorkflowInvocationActionsResponse.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryWorkflowInvocationActionsResponseOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ReadFileRequest.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ReadFileRequestOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ReadFileResponse.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ReadFileResponseOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RelationDescriptor.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RelationDescriptorOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RemoveDirectoryRequest.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RemoveDirectoryRequestOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RemoveFileRequest.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RemoveFileRequestOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/Repository.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RepositoryName.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RepositoryOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ResetWorkspaceChangesRequest.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ResetWorkspaceChangesRequestOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/Target.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/TargetOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/UpdateRepositoryRequest.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/UpdateRepositoryRequestOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkflowInvocation.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkflowInvocationAction.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkflowInvocationActionOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkflowInvocationName.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkflowInvocationOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/Workspace.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkspaceName.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkspaceOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WriteFileRequest.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WriteFileRequestOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WriteFileResponse.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WriteFileResponseOrBuilder.java create mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/proto/google/cloud/dataform/v1beta1/dataform.proto delete mode 100644 proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CancelWorkflowInvocationRequestOrBuilder.java delete mode 100644 proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateCompilationResultRequestOrBuilder.java delete mode 100644 proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkflowInvocationRequestOrBuilder.java delete mode 100644 proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DataformProto.java delete mode 100644 proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteRepositoryRequestOrBuilder.java delete mode 100644 proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkflowInvocationRequestOrBuilder.java delete mode 100644 proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkspaceRequestOrBuilder.java delete mode 100644 proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffRequestOrBuilder.java delete mode 100644 proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffResponseOrBuilder.java delete mode 100644 proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesRequestOrBuilder.java delete mode 100644 proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesResponseOrBuilder.java delete mode 100644 proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesRequestOrBuilder.java delete mode 100644 proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetCompilationResultRequestOrBuilder.java delete mode 100644 proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetRepositoryRequestOrBuilder.java delete mode 100644 proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkflowInvocationRequestOrBuilder.java delete mode 100644 proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkspaceRequestOrBuilder.java delete mode 100644 proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesRequestOrBuilder.java delete mode 100644 proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesResponseOrBuilder.java delete mode 100644 proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryResponseOrBuilder.java delete mode 100644 proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryResponseOrBuilder.java delete mode 100644 proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileResponseOrBuilder.java delete mode 100644 proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsResponseOrBuilder.java delete mode 100644 proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileRequestOrBuilder.java delete mode 100644 proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileResponseOrBuilder.java delete mode 100644 proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveFileRequestOrBuilder.java delete mode 100644 proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkspaceOrBuilder.java delete mode 100644 proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileResponseOrBuilder.java diff --git a/grpc-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DataformGrpc.java b/grpc-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DataformGrpc.java deleted file mode 100644 index 539404f..0000000 --- a/grpc-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DataformGrpc.java +++ /dev/null @@ -1,4569 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.dataform.v1alpha2; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Dataform is a service to develop, create, document, test, and update curated
- * tables in BigQuery.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/dataform/v1alpha2/dataform.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class DataformGrpc { - - private DataformGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.dataform.v1alpha2.Dataform"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest, - com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse> - getListRepositoriesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListRepositories", - requestType = com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest.class, - responseType = com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest, - com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse> - getListRepositoriesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest, - com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse> - getListRepositoriesMethod; - if ((getListRepositoriesMethod = DataformGrpc.getListRepositoriesMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getListRepositoriesMethod = DataformGrpc.getListRepositoriesMethod) == null) { - DataformGrpc.getListRepositoriesMethod = - getListRepositoriesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRepositories")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse - .getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("ListRepositories")) - .build(); - } - } - } - return getListRepositoriesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.GetRepositoryRequest, - com.google.cloud.dataform.v1alpha2.Repository> - getGetRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetRepository", - requestType = com.google.cloud.dataform.v1alpha2.GetRepositoryRequest.class, - responseType = com.google.cloud.dataform.v1alpha2.Repository.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.GetRepositoryRequest, - com.google.cloud.dataform.v1alpha2.Repository> - getGetRepositoryMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.GetRepositoryRequest, - com.google.cloud.dataform.v1alpha2.Repository> - getGetRepositoryMethod; - if ((getGetRepositoryMethod = DataformGrpc.getGetRepositoryMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getGetRepositoryMethod = DataformGrpc.getGetRepositoryMethod) == null) { - DataformGrpc.getGetRepositoryMethod = - getGetRepositoryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.GetRepositoryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.Repository.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("GetRepository")) - .build(); - } - } - } - return getGetRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest, - com.google.cloud.dataform.v1alpha2.Repository> - getCreateRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateRepository", - requestType = com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest.class, - responseType = com.google.cloud.dataform.v1alpha2.Repository.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest, - com.google.cloud.dataform.v1alpha2.Repository> - getCreateRepositoryMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest, - com.google.cloud.dataform.v1alpha2.Repository> - getCreateRepositoryMethod; - if ((getCreateRepositoryMethod = DataformGrpc.getCreateRepositoryMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getCreateRepositoryMethod = DataformGrpc.getCreateRepositoryMethod) == null) { - DataformGrpc.getCreateRepositoryMethod = - getCreateRepositoryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.Repository.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("CreateRepository")) - .build(); - } - } - } - return getCreateRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest, - com.google.cloud.dataform.v1alpha2.Repository> - getUpdateRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateRepository", - requestType = com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest.class, - responseType = com.google.cloud.dataform.v1alpha2.Repository.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest, - com.google.cloud.dataform.v1alpha2.Repository> - getUpdateRepositoryMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest, - com.google.cloud.dataform.v1alpha2.Repository> - getUpdateRepositoryMethod; - if ((getUpdateRepositoryMethod = DataformGrpc.getUpdateRepositoryMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getUpdateRepositoryMethod = DataformGrpc.getUpdateRepositoryMethod) == null) { - DataformGrpc.getUpdateRepositoryMethod = - getUpdateRepositoryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.Repository.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("UpdateRepository")) - .build(); - } - } - } - return getUpdateRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest, com.google.protobuf.Empty> - getDeleteRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteRepository", - requestType = com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest, com.google.protobuf.Empty> - getDeleteRepositoryMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest, com.google.protobuf.Empty> - getDeleteRepositoryMethod; - if ((getDeleteRepositoryMethod = DataformGrpc.getDeleteRepositoryMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getDeleteRepositoryMethod = DataformGrpc.getDeleteRepositoryMethod) == null) { - DataformGrpc.getDeleteRepositoryMethod = - getDeleteRepositoryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("DeleteRepository")) - .build(); - } - } - } - return getDeleteRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest, - com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse> - getFetchRemoteBranchesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "FetchRemoteBranches", - requestType = com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest.class, - responseType = com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest, - com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse> - getFetchRemoteBranchesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest, - com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse> - getFetchRemoteBranchesMethod; - if ((getFetchRemoteBranchesMethod = DataformGrpc.getFetchRemoteBranchesMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getFetchRemoteBranchesMethod = DataformGrpc.getFetchRemoteBranchesMethod) == null) { - DataformGrpc.getFetchRemoteBranchesMethod = - getFetchRemoteBranchesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "FetchRemoteBranches")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DataformMethodDescriptorSupplier("FetchRemoteBranches")) - .build(); - } - } - } - return getFetchRemoteBranchesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest, - com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse> - getListWorkspacesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListWorkspaces", - requestType = com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest.class, - responseType = com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest, - com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse> - getListWorkspacesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest, - com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse> - getListWorkspacesMethod; - if ((getListWorkspacesMethod = DataformGrpc.getListWorkspacesMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getListWorkspacesMethod = DataformGrpc.getListWorkspacesMethod) == null) { - DataformGrpc.getListWorkspacesMethod = - getListWorkspacesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListWorkspaces")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse - .getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("ListWorkspaces")) - .build(); - } - } - } - return getListWorkspacesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest, - com.google.cloud.dataform.v1alpha2.Workspace> - getGetWorkspaceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetWorkspace", - requestType = com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest.class, - responseType = com.google.cloud.dataform.v1alpha2.Workspace.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest, - com.google.cloud.dataform.v1alpha2.Workspace> - getGetWorkspaceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest, - com.google.cloud.dataform.v1alpha2.Workspace> - getGetWorkspaceMethod; - if ((getGetWorkspaceMethod = DataformGrpc.getGetWorkspaceMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getGetWorkspaceMethod = DataformGrpc.getGetWorkspaceMethod) == null) { - DataformGrpc.getGetWorkspaceMethod = - getGetWorkspaceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetWorkspace")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.Workspace.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("GetWorkspace")) - .build(); - } - } - } - return getGetWorkspaceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest, - com.google.cloud.dataform.v1alpha2.Workspace> - getCreateWorkspaceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateWorkspace", - requestType = com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest.class, - responseType = com.google.cloud.dataform.v1alpha2.Workspace.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest, - com.google.cloud.dataform.v1alpha2.Workspace> - getCreateWorkspaceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest, - com.google.cloud.dataform.v1alpha2.Workspace> - getCreateWorkspaceMethod; - if ((getCreateWorkspaceMethod = DataformGrpc.getCreateWorkspaceMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getCreateWorkspaceMethod = DataformGrpc.getCreateWorkspaceMethod) == null) { - DataformGrpc.getCreateWorkspaceMethod = - getCreateWorkspaceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateWorkspace")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.Workspace.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("CreateWorkspace")) - .build(); - } - } - } - return getCreateWorkspaceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest, com.google.protobuf.Empty> - getDeleteWorkspaceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteWorkspace", - requestType = com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest, com.google.protobuf.Empty> - getDeleteWorkspaceMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest, com.google.protobuf.Empty> - getDeleteWorkspaceMethod; - if ((getDeleteWorkspaceMethod = DataformGrpc.getDeleteWorkspaceMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getDeleteWorkspaceMethod = DataformGrpc.getDeleteWorkspaceMethod) == null) { - DataformGrpc.getDeleteWorkspaceMethod = - getDeleteWorkspaceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteWorkspace")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("DeleteWorkspace")) - .build(); - } - } - } - return getDeleteWorkspaceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest, - com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse> - getInstallNpmPackagesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "InstallNpmPackages", - requestType = com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest.class, - responseType = com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest, - com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse> - getInstallNpmPackagesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest, - com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse> - getInstallNpmPackagesMethod; - if ((getInstallNpmPackagesMethod = DataformGrpc.getInstallNpmPackagesMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getInstallNpmPackagesMethod = DataformGrpc.getInstallNpmPackagesMethod) == null) { - DataformGrpc.getInstallNpmPackagesMethod = - getInstallNpmPackagesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "InstallNpmPackages")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DataformMethodDescriptorSupplier("InstallNpmPackages")) - .build(); - } - } - } - return getInstallNpmPackagesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest, com.google.protobuf.Empty> - getPullGitCommitsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "PullGitCommits", - requestType = com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest, com.google.protobuf.Empty> - getPullGitCommitsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest, com.google.protobuf.Empty> - getPullGitCommitsMethod; - if ((getPullGitCommitsMethod = DataformGrpc.getPullGitCommitsMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getPullGitCommitsMethod = DataformGrpc.getPullGitCommitsMethod) == null) { - DataformGrpc.getPullGitCommitsMethod = - getPullGitCommitsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PullGitCommits")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("PullGitCommits")) - .build(); - } - } - } - return getPullGitCommitsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest, com.google.protobuf.Empty> - getPushGitCommitsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "PushGitCommits", - requestType = com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest, com.google.protobuf.Empty> - getPushGitCommitsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest, com.google.protobuf.Empty> - getPushGitCommitsMethod; - if ((getPushGitCommitsMethod = DataformGrpc.getPushGitCommitsMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getPushGitCommitsMethod = DataformGrpc.getPushGitCommitsMethod) == null) { - DataformGrpc.getPushGitCommitsMethod = - getPushGitCommitsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PushGitCommits")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("PushGitCommits")) - .build(); - } - } - } - return getPushGitCommitsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest, - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse> - getFetchFileGitStatusesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "FetchFileGitStatuses", - requestType = com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest.class, - responseType = com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest, - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse> - getFetchFileGitStatusesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest, - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse> - getFetchFileGitStatusesMethod; - if ((getFetchFileGitStatusesMethod = DataformGrpc.getFetchFileGitStatusesMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getFetchFileGitStatusesMethod = DataformGrpc.getFetchFileGitStatusesMethod) == null) { - DataformGrpc.getFetchFileGitStatusesMethod = - getFetchFileGitStatusesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "FetchFileGitStatuses")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DataformMethodDescriptorSupplier("FetchFileGitStatuses")) - .build(); - } - } - } - return getFetchFileGitStatusesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest, - com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse> - getFetchGitAheadBehindMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "FetchGitAheadBehind", - requestType = com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest.class, - responseType = com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest, - com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse> - getFetchGitAheadBehindMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest, - com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse> - getFetchGitAheadBehindMethod; - if ((getFetchGitAheadBehindMethod = DataformGrpc.getFetchGitAheadBehindMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getFetchGitAheadBehindMethod = DataformGrpc.getFetchGitAheadBehindMethod) == null) { - DataformGrpc.getFetchGitAheadBehindMethod = - getFetchGitAheadBehindMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "FetchGitAheadBehind")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DataformMethodDescriptorSupplier("FetchGitAheadBehind")) - .build(); - } - } - } - return getFetchGitAheadBehindMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest, - com.google.protobuf.Empty> - getCommitWorkspaceChangesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CommitWorkspaceChanges", - requestType = com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest, - com.google.protobuf.Empty> - getCommitWorkspaceChangesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest, - com.google.protobuf.Empty> - getCommitWorkspaceChangesMethod; - if ((getCommitWorkspaceChangesMethod = DataformGrpc.getCommitWorkspaceChangesMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getCommitWorkspaceChangesMethod = DataformGrpc.getCommitWorkspaceChangesMethod) - == null) { - DataformGrpc.getCommitWorkspaceChangesMethod = - getCommitWorkspaceChangesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CommitWorkspaceChanges")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new DataformMethodDescriptorSupplier("CommitWorkspaceChanges")) - .build(); - } - } - } - return getCommitWorkspaceChangesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest, - com.google.protobuf.Empty> - getResetWorkspaceChangesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ResetWorkspaceChanges", - requestType = com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest, - com.google.protobuf.Empty> - getResetWorkspaceChangesMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest, - com.google.protobuf.Empty> - getResetWorkspaceChangesMethod; - if ((getResetWorkspaceChangesMethod = DataformGrpc.getResetWorkspaceChangesMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getResetWorkspaceChangesMethod = DataformGrpc.getResetWorkspaceChangesMethod) - == null) { - DataformGrpc.getResetWorkspaceChangesMethod = - getResetWorkspaceChangesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ResetWorkspaceChanges")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new DataformMethodDescriptorSupplier("ResetWorkspaceChanges")) - .build(); - } - } - } - return getResetWorkspaceChangesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest, - com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse> - getFetchFileDiffMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "FetchFileDiff", - requestType = com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest.class, - responseType = com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest, - com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse> - getFetchFileDiffMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest, - com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse> - getFetchFileDiffMethod; - if ((getFetchFileDiffMethod = DataformGrpc.getFetchFileDiffMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getFetchFileDiffMethod = DataformGrpc.getFetchFileDiffMethod) == null) { - DataformGrpc.getFetchFileDiffMethod = - getFetchFileDiffMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FetchFileDiff")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse - .getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("FetchFileDiff")) - .build(); - } - } - } - return getFetchFileDiffMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest, - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse> - getQueryDirectoryContentsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "QueryDirectoryContents", - requestType = com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest.class, - responseType = com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest, - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse> - getQueryDirectoryContentsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest, - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse> - getQueryDirectoryContentsMethod; - if ((getQueryDirectoryContentsMethod = DataformGrpc.getQueryDirectoryContentsMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getQueryDirectoryContentsMethod = DataformGrpc.getQueryDirectoryContentsMethod) - == null) { - DataformGrpc.getQueryDirectoryContentsMethod = - getQueryDirectoryContentsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "QueryDirectoryContents")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DataformMethodDescriptorSupplier("QueryDirectoryContents")) - .build(); - } - } - } - return getQueryDirectoryContentsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest, - com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse> - getMakeDirectoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "MakeDirectory", - requestType = com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest.class, - responseType = com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest, - com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse> - getMakeDirectoryMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest, - com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse> - getMakeDirectoryMethod; - if ((getMakeDirectoryMethod = DataformGrpc.getMakeDirectoryMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getMakeDirectoryMethod = DataformGrpc.getMakeDirectoryMethod) == null) { - DataformGrpc.getMakeDirectoryMethod = - getMakeDirectoryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "MakeDirectory")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse - .getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("MakeDirectory")) - .build(); - } - } - } - return getMakeDirectoryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest, com.google.protobuf.Empty> - getRemoveDirectoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RemoveDirectory", - requestType = com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest, com.google.protobuf.Empty> - getRemoveDirectoryMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest, com.google.protobuf.Empty> - getRemoveDirectoryMethod; - if ((getRemoveDirectoryMethod = DataformGrpc.getRemoveDirectoryMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getRemoveDirectoryMethod = DataformGrpc.getRemoveDirectoryMethod) == null) { - DataformGrpc.getRemoveDirectoryMethod = - getRemoveDirectoryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RemoveDirectory")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("RemoveDirectory")) - .build(); - } - } - } - return getRemoveDirectoryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest, - com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse> - getMoveDirectoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "MoveDirectory", - requestType = com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest.class, - responseType = com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest, - com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse> - getMoveDirectoryMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest, - com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse> - getMoveDirectoryMethod; - if ((getMoveDirectoryMethod = DataformGrpc.getMoveDirectoryMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getMoveDirectoryMethod = DataformGrpc.getMoveDirectoryMethod) == null) { - DataformGrpc.getMoveDirectoryMethod = - getMoveDirectoryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "MoveDirectory")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse - .getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("MoveDirectory")) - .build(); - } - } - } - return getMoveDirectoryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.ReadFileRequest, - com.google.cloud.dataform.v1alpha2.ReadFileResponse> - getReadFileMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ReadFile", - requestType = com.google.cloud.dataform.v1alpha2.ReadFileRequest.class, - responseType = com.google.cloud.dataform.v1alpha2.ReadFileResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.ReadFileRequest, - com.google.cloud.dataform.v1alpha2.ReadFileResponse> - getReadFileMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.ReadFileRequest, - com.google.cloud.dataform.v1alpha2.ReadFileResponse> - getReadFileMethod; - if ((getReadFileMethod = DataformGrpc.getReadFileMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getReadFileMethod = DataformGrpc.getReadFileMethod) == null) { - DataformGrpc.getReadFileMethod = - getReadFileMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReadFile")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.ReadFileRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.ReadFileResponse - .getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("ReadFile")) - .build(); - } - } - } - return getReadFileMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.RemoveFileRequest, com.google.protobuf.Empty> - getRemoveFileMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RemoveFile", - requestType = com.google.cloud.dataform.v1alpha2.RemoveFileRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.RemoveFileRequest, com.google.protobuf.Empty> - getRemoveFileMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.RemoveFileRequest, com.google.protobuf.Empty> - getRemoveFileMethod; - if ((getRemoveFileMethod = DataformGrpc.getRemoveFileMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getRemoveFileMethod = DataformGrpc.getRemoveFileMethod) == null) { - DataformGrpc.getRemoveFileMethod = - getRemoveFileMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RemoveFile")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.RemoveFileRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("RemoveFile")) - .build(); - } - } - } - return getRemoveFileMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.MoveFileRequest, - com.google.cloud.dataform.v1alpha2.MoveFileResponse> - getMoveFileMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "MoveFile", - requestType = com.google.cloud.dataform.v1alpha2.MoveFileRequest.class, - responseType = com.google.cloud.dataform.v1alpha2.MoveFileResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.MoveFileRequest, - com.google.cloud.dataform.v1alpha2.MoveFileResponse> - getMoveFileMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.MoveFileRequest, - com.google.cloud.dataform.v1alpha2.MoveFileResponse> - getMoveFileMethod; - if ((getMoveFileMethod = DataformGrpc.getMoveFileMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getMoveFileMethod = DataformGrpc.getMoveFileMethod) == null) { - DataformGrpc.getMoveFileMethod = - getMoveFileMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "MoveFile")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.MoveFileRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.MoveFileResponse - .getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("MoveFile")) - .build(); - } - } - } - return getMoveFileMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.WriteFileRequest, - com.google.cloud.dataform.v1alpha2.WriteFileResponse> - getWriteFileMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "WriteFile", - requestType = com.google.cloud.dataform.v1alpha2.WriteFileRequest.class, - responseType = com.google.cloud.dataform.v1alpha2.WriteFileResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.WriteFileRequest, - com.google.cloud.dataform.v1alpha2.WriteFileResponse> - getWriteFileMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.WriteFileRequest, - com.google.cloud.dataform.v1alpha2.WriteFileResponse> - getWriteFileMethod; - if ((getWriteFileMethod = DataformGrpc.getWriteFileMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getWriteFileMethod = DataformGrpc.getWriteFileMethod) == null) { - DataformGrpc.getWriteFileMethod = - getWriteFileMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "WriteFile")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.WriteFileRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.WriteFileResponse - .getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("WriteFile")) - .build(); - } - } - } - return getWriteFileMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest, - com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse> - getListCompilationResultsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListCompilationResults", - requestType = com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest.class, - responseType = com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest, - com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse> - getListCompilationResultsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest, - com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse> - getListCompilationResultsMethod; - if ((getListCompilationResultsMethod = DataformGrpc.getListCompilationResultsMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getListCompilationResultsMethod = DataformGrpc.getListCompilationResultsMethod) - == null) { - DataformGrpc.getListCompilationResultsMethod = - getListCompilationResultsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListCompilationResults")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DataformMethodDescriptorSupplier("ListCompilationResults")) - .build(); - } - } - } - return getListCompilationResultsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest, - com.google.cloud.dataform.v1alpha2.CompilationResult> - getGetCompilationResultMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetCompilationResult", - requestType = com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest.class, - responseType = com.google.cloud.dataform.v1alpha2.CompilationResult.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest, - com.google.cloud.dataform.v1alpha2.CompilationResult> - getGetCompilationResultMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest, - com.google.cloud.dataform.v1alpha2.CompilationResult> - getGetCompilationResultMethod; - if ((getGetCompilationResultMethod = DataformGrpc.getGetCompilationResultMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getGetCompilationResultMethod = DataformGrpc.getGetCompilationResultMethod) == null) { - DataformGrpc.getGetCompilationResultMethod = - getGetCompilationResultMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetCompilationResult")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.CompilationResult - .getDefaultInstance())) - .setSchemaDescriptor( - new DataformMethodDescriptorSupplier("GetCompilationResult")) - .build(); - } - } - } - return getGetCompilationResultMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest, - com.google.cloud.dataform.v1alpha2.CompilationResult> - getCreateCompilationResultMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateCompilationResult", - requestType = com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest.class, - responseType = com.google.cloud.dataform.v1alpha2.CompilationResult.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest, - com.google.cloud.dataform.v1alpha2.CompilationResult> - getCreateCompilationResultMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest, - com.google.cloud.dataform.v1alpha2.CompilationResult> - getCreateCompilationResultMethod; - if ((getCreateCompilationResultMethod = DataformGrpc.getCreateCompilationResultMethod) - == null) { - synchronized (DataformGrpc.class) { - if ((getCreateCompilationResultMethod = DataformGrpc.getCreateCompilationResultMethod) - == null) { - DataformGrpc.getCreateCompilationResultMethod = - getCreateCompilationResultMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreateCompilationResult")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.CompilationResult - .getDefaultInstance())) - .setSchemaDescriptor( - new DataformMethodDescriptorSupplier("CreateCompilationResult")) - .build(); - } - } - } - return getCreateCompilationResultMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest, - com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse> - getQueryCompilationResultActionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "QueryCompilationResultActions", - requestType = com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest.class, - responseType = com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest, - com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse> - getQueryCompilationResultActionsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest, - com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse> - getQueryCompilationResultActionsMethod; - if ((getQueryCompilationResultActionsMethod = - DataformGrpc.getQueryCompilationResultActionsMethod) - == null) { - synchronized (DataformGrpc.class) { - if ((getQueryCompilationResultActionsMethod = - DataformGrpc.getQueryCompilationResultActionsMethod) - == null) { - DataformGrpc.getQueryCompilationResultActionsMethod = - getQueryCompilationResultActionsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "QueryCompilationResultActions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2 - .QueryCompilationResultActionsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2 - .QueryCompilationResultActionsResponse.getDefaultInstance())) - .setSchemaDescriptor( - new DataformMethodDescriptorSupplier("QueryCompilationResultActions")) - .build(); - } - } - } - return getQueryCompilationResultActionsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest, - com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse> - getListWorkflowInvocationsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListWorkflowInvocations", - requestType = com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest.class, - responseType = com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest, - com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse> - getListWorkflowInvocationsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest, - com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse> - getListWorkflowInvocationsMethod; - if ((getListWorkflowInvocationsMethod = DataformGrpc.getListWorkflowInvocationsMethod) - == null) { - synchronized (DataformGrpc.class) { - if ((getListWorkflowInvocationsMethod = DataformGrpc.getListWorkflowInvocationsMethod) - == null) { - DataformGrpc.getListWorkflowInvocationsMethod = - getListWorkflowInvocationsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListWorkflowInvocations")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new DataformMethodDescriptorSupplier("ListWorkflowInvocations")) - .build(); - } - } - } - return getListWorkflowInvocationsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest, - com.google.cloud.dataform.v1alpha2.WorkflowInvocation> - getGetWorkflowInvocationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetWorkflowInvocation", - requestType = com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest.class, - responseType = com.google.cloud.dataform.v1alpha2.WorkflowInvocation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest, - com.google.cloud.dataform.v1alpha2.WorkflowInvocation> - getGetWorkflowInvocationMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest, - com.google.cloud.dataform.v1alpha2.WorkflowInvocation> - getGetWorkflowInvocationMethod; - if ((getGetWorkflowInvocationMethod = DataformGrpc.getGetWorkflowInvocationMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getGetWorkflowInvocationMethod = DataformGrpc.getGetWorkflowInvocationMethod) - == null) { - DataformGrpc.getGetWorkflowInvocationMethod = - getGetWorkflowInvocationMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetWorkflowInvocation")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.WorkflowInvocation - .getDefaultInstance())) - .setSchemaDescriptor( - new DataformMethodDescriptorSupplier("GetWorkflowInvocation")) - .build(); - } - } - } - return getGetWorkflowInvocationMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest, - com.google.cloud.dataform.v1alpha2.WorkflowInvocation> - getCreateWorkflowInvocationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateWorkflowInvocation", - requestType = com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest.class, - responseType = com.google.cloud.dataform.v1alpha2.WorkflowInvocation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest, - com.google.cloud.dataform.v1alpha2.WorkflowInvocation> - getCreateWorkflowInvocationMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest, - com.google.cloud.dataform.v1alpha2.WorkflowInvocation> - getCreateWorkflowInvocationMethod; - if ((getCreateWorkflowInvocationMethod = DataformGrpc.getCreateWorkflowInvocationMethod) - == null) { - synchronized (DataformGrpc.class) { - if ((getCreateWorkflowInvocationMethod = DataformGrpc.getCreateWorkflowInvocationMethod) - == null) { - DataformGrpc.getCreateWorkflowInvocationMethod = - getCreateWorkflowInvocationMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreateWorkflowInvocation")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.WorkflowInvocation - .getDefaultInstance())) - .setSchemaDescriptor( - new DataformMethodDescriptorSupplier("CreateWorkflowInvocation")) - .build(); - } - } - } - return getCreateWorkflowInvocationMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest, - com.google.protobuf.Empty> - getDeleteWorkflowInvocationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteWorkflowInvocation", - requestType = com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest, - com.google.protobuf.Empty> - getDeleteWorkflowInvocationMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest, - com.google.protobuf.Empty> - getDeleteWorkflowInvocationMethod; - if ((getDeleteWorkflowInvocationMethod = DataformGrpc.getDeleteWorkflowInvocationMethod) - == null) { - synchronized (DataformGrpc.class) { - if ((getDeleteWorkflowInvocationMethod = DataformGrpc.getDeleteWorkflowInvocationMethod) - == null) { - DataformGrpc.getDeleteWorkflowInvocationMethod = - getDeleteWorkflowInvocationMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeleteWorkflowInvocation")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new DataformMethodDescriptorSupplier("DeleteWorkflowInvocation")) - .build(); - } - } - } - return getDeleteWorkflowInvocationMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest, - com.google.protobuf.Empty> - getCancelWorkflowInvocationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CancelWorkflowInvocation", - requestType = com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest, - com.google.protobuf.Empty> - getCancelWorkflowInvocationMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest, - com.google.protobuf.Empty> - getCancelWorkflowInvocationMethod; - if ((getCancelWorkflowInvocationMethod = DataformGrpc.getCancelWorkflowInvocationMethod) - == null) { - synchronized (DataformGrpc.class) { - if ((getCancelWorkflowInvocationMethod = DataformGrpc.getCancelWorkflowInvocationMethod) - == null) { - DataformGrpc.getCancelWorkflowInvocationMethod = - getCancelWorkflowInvocationMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CancelWorkflowInvocation")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new DataformMethodDescriptorSupplier("CancelWorkflowInvocation")) - .build(); - } - } - } - return getCancelWorkflowInvocationMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest, - com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse> - getQueryWorkflowInvocationActionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "QueryWorkflowInvocationActions", - requestType = com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest.class, - responseType = - com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest, - com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse> - getQueryWorkflowInvocationActionsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest, - com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse> - getQueryWorkflowInvocationActionsMethod; - if ((getQueryWorkflowInvocationActionsMethod = - DataformGrpc.getQueryWorkflowInvocationActionsMethod) - == null) { - synchronized (DataformGrpc.class) { - if ((getQueryWorkflowInvocationActionsMethod = - DataformGrpc.getQueryWorkflowInvocationActionsMethod) - == null) { - DataformGrpc.getQueryWorkflowInvocationActionsMethod = - getQueryWorkflowInvocationActionsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "QueryWorkflowInvocationActions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2 - .QueryWorkflowInvocationActionsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2 - .QueryWorkflowInvocationActionsResponse.getDefaultInstance())) - .setSchemaDescriptor( - new DataformMethodDescriptorSupplier("QueryWorkflowInvocationActions")) - .build(); - } - } - } - return getQueryWorkflowInvocationActionsMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static DataformStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataformStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataformStub(channel, callOptions); - } - }; - return DataformStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static DataformBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataformBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataformBlockingStub(channel, callOptions); - } - }; - return DataformBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static DataformFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataformFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataformFutureStub(channel, callOptions); - } - }; - return DataformFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * Dataform is a service to develop, create, document, test, and update curated
-   * tables in BigQuery.
-   * 
- */ - public abstract static class DataformImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Lists Repositories in a given project and location.
-     * 
- */ - public void listRepositories( - com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListRepositoriesMethod(), responseObserver); - } - - /** - * - * - *
-     * Fetches a single Repository.
-     * 
- */ - public void getRepository( - com.google.cloud.dataform.v1alpha2.GetRepositoryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetRepositoryMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a new Repository in a given project and location.
-     * 
- */ - public void createRepository( - com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateRepositoryMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a single Repository.
-     * 
- */ - public void updateRepository( - com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateRepositoryMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a single Repository.
-     * 
- */ - public void deleteRepository( - com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteRepositoryMethod(), responseObserver); - } - - /** - * - * - *
-     * Fetches a Repository's remote branches.
-     * 
- */ - public void fetchRemoteBranches( - com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getFetchRemoteBranchesMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists Workspaces in a given Repository.
-     * 
- */ - public void listWorkspaces( - com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListWorkspacesMethod(), responseObserver); - } - - /** - * - * - *
-     * Fetches a single Workspace.
-     * 
- */ - public void getWorkspace( - com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetWorkspaceMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a new Workspace in a given Repository.
-     * 
- */ - public void createWorkspace( - com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateWorkspaceMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a single Workspace.
-     * 
- */ - public void deleteWorkspace( - com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteWorkspaceMethod(), responseObserver); - } - - /** - * - * - *
-     * Installs dependency NPM packages (inside a Workspace).
-     * 
- */ - public void installNpmPackages( - com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getInstallNpmPackagesMethod(), responseObserver); - } - - /** - * - * - *
-     * Pulls Git commits from the Repository's remote into a Workspace.
-     * 
- */ - public void pullGitCommits( - com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getPullGitCommitsMethod(), responseObserver); - } - - /** - * - * - *
-     * Pushes Git commits from a Workspace to the Repository's remote.
-     * 
- */ - public void pushGitCommits( - com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getPushGitCommitsMethod(), responseObserver); - } - - /** - * - * - *
-     * Fetches Git statuses for the files in a Workspace.
-     * 
- */ - public void fetchFileGitStatuses( - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getFetchFileGitStatusesMethod(), responseObserver); - } - - /** - * - * - *
-     * Fetches Git ahead/behind against a remote branch.
-     * 
- */ - public void fetchGitAheadBehind( - com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getFetchGitAheadBehindMethod(), responseObserver); - } - - /** - * - * - *
-     * Applies a Git commit for uncommitted files in a Workspace.
-     * 
- */ - public void commitWorkspaceChanges( - com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCommitWorkspaceChangesMethod(), responseObserver); - } - - /** - * - * - *
-     * Performs a Git reset for uncommitted files in a Workspace.
-     * 
- */ - public void resetWorkspaceChanges( - com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getResetWorkspaceChangesMethod(), responseObserver); - } - - /** - * - * - *
-     * Fetches Git diff for an uncommitted file in a Workspace.
-     * 
- */ - public void fetchFileDiff( - com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getFetchFileDiffMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns the contents of a given Workspace directory.
-     * 
- */ - public void queryDirectoryContents( - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getQueryDirectoryContentsMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a directory inside a Workspace.
-     * 
- */ - public void makeDirectory( - com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getMakeDirectoryMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a directory (inside a Workspace) and all of its contents.
-     * 
- */ - public void removeDirectory( - com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getRemoveDirectoryMethod(), responseObserver); - } - - /** - * - * - *
-     * Moves a directory (inside a Workspace), and all of its contents, to a new
-     * location.
-     * 
- */ - public void moveDirectory( - com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getMoveDirectoryMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns the contents of a file (inside a Workspace).
-     * 
- */ - public void readFile( - com.google.cloud.dataform.v1alpha2.ReadFileRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getReadFileMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a file (inside a Workspace).
-     * 
- */ - public void removeFile( - com.google.cloud.dataform.v1alpha2.RemoveFileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRemoveFileMethod(), responseObserver); - } - - /** - * - * - *
-     * Moves a file (inside a Workspace) to a new location.
-     * 
- */ - public void moveFile( - com.google.cloud.dataform.v1alpha2.MoveFileRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getMoveFileMethod(), responseObserver); - } - - /** - * - * - *
-     * Writes to a file (inside a Workspace).
-     * 
- */ - public void writeFile( - com.google.cloud.dataform.v1alpha2.WriteFileRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getWriteFileMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists CompilationResults in a given Repository.
-     * 
- */ - public void listCompilationResults( - com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListCompilationResultsMethod(), responseObserver); - } - - /** - * - * - *
-     * Fetches a single CompilationResult.
-     * 
- */ - public void getCompilationResult( - com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetCompilationResultMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a new CompilationResult in a given project and location.
-     * 
- */ - public void createCompilationResult( - com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateCompilationResultMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns CompilationResultActions in a given CompilationResult.
-     * 
- */ - public void queryCompilationResultActions( - com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getQueryCompilationResultActionsMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists WorkflowInvocations in a given Repository.
-     * 
- */ - public void listWorkflowInvocations( - com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListWorkflowInvocationsMethod(), responseObserver); - } - - /** - * - * - *
-     * Fetches a single WorkflowInvocation.
-     * 
- */ - public void getWorkflowInvocation( - com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetWorkflowInvocationMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a new WorkflowInvocation in a given Repository.
-     * 
- */ - public void createWorkflowInvocation( - com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateWorkflowInvocationMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a single WorkflowInvocation.
-     * 
- */ - public void deleteWorkflowInvocation( - com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteWorkflowInvocationMethod(), responseObserver); - } - - /** - * - * - *
-     * Requests cancellation of a running WorkflowInvocation.
-     * 
- */ - public void cancelWorkflowInvocation( - com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCancelWorkflowInvocationMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns WorkflowInvocationActions in a given WorkflowInvocation.
-     * 
- */ - public void queryWorkflowInvocationActions( - com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getQueryWorkflowInvocationActionsMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListRepositoriesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest, - com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse>( - this, METHODID_LIST_REPOSITORIES))) - .addMethod( - getGetRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.GetRepositoryRequest, - com.google.cloud.dataform.v1alpha2.Repository>( - this, METHODID_GET_REPOSITORY))) - .addMethod( - getCreateRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest, - com.google.cloud.dataform.v1alpha2.Repository>( - this, METHODID_CREATE_REPOSITORY))) - .addMethod( - getUpdateRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest, - com.google.cloud.dataform.v1alpha2.Repository>( - this, METHODID_UPDATE_REPOSITORY))) - .addMethod( - getDeleteRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_REPOSITORY))) - .addMethod( - getFetchRemoteBranchesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest, - com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse>( - this, METHODID_FETCH_REMOTE_BRANCHES))) - .addMethod( - getListWorkspacesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest, - com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse>( - this, METHODID_LIST_WORKSPACES))) - .addMethod( - getGetWorkspaceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest, - com.google.cloud.dataform.v1alpha2.Workspace>(this, METHODID_GET_WORKSPACE))) - .addMethod( - getCreateWorkspaceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest, - com.google.cloud.dataform.v1alpha2.Workspace>( - this, METHODID_CREATE_WORKSPACE))) - .addMethod( - getDeleteWorkspaceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_WORKSPACE))) - .addMethod( - getInstallNpmPackagesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest, - com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse>( - this, METHODID_INSTALL_NPM_PACKAGES))) - .addMethod( - getPullGitCommitsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest, - com.google.protobuf.Empty>(this, METHODID_PULL_GIT_COMMITS))) - .addMethod( - getPushGitCommitsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest, - com.google.protobuf.Empty>(this, METHODID_PUSH_GIT_COMMITS))) - .addMethod( - getFetchFileGitStatusesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest, - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse>( - this, METHODID_FETCH_FILE_GIT_STATUSES))) - .addMethod( - getFetchGitAheadBehindMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest, - com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse>( - this, METHODID_FETCH_GIT_AHEAD_BEHIND))) - .addMethod( - getCommitWorkspaceChangesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest, - com.google.protobuf.Empty>(this, METHODID_COMMIT_WORKSPACE_CHANGES))) - .addMethod( - getResetWorkspaceChangesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest, - com.google.protobuf.Empty>(this, METHODID_RESET_WORKSPACE_CHANGES))) - .addMethod( - getFetchFileDiffMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest, - com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse>( - this, METHODID_FETCH_FILE_DIFF))) - .addMethod( - getQueryDirectoryContentsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest, - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse>( - this, METHODID_QUERY_DIRECTORY_CONTENTS))) - .addMethod( - getMakeDirectoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest, - com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse>( - this, METHODID_MAKE_DIRECTORY))) - .addMethod( - getRemoveDirectoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest, - com.google.protobuf.Empty>(this, METHODID_REMOVE_DIRECTORY))) - .addMethod( - getMoveDirectoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest, - com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse>( - this, METHODID_MOVE_DIRECTORY))) - .addMethod( - getReadFileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.ReadFileRequest, - com.google.cloud.dataform.v1alpha2.ReadFileResponse>( - this, METHODID_READ_FILE))) - .addMethod( - getRemoveFileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.RemoveFileRequest, - com.google.protobuf.Empty>(this, METHODID_REMOVE_FILE))) - .addMethod( - getMoveFileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.MoveFileRequest, - com.google.cloud.dataform.v1alpha2.MoveFileResponse>( - this, METHODID_MOVE_FILE))) - .addMethod( - getWriteFileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.WriteFileRequest, - com.google.cloud.dataform.v1alpha2.WriteFileResponse>( - this, METHODID_WRITE_FILE))) - .addMethod( - getListCompilationResultsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest, - com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse>( - this, METHODID_LIST_COMPILATION_RESULTS))) - .addMethod( - getGetCompilationResultMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest, - com.google.cloud.dataform.v1alpha2.CompilationResult>( - this, METHODID_GET_COMPILATION_RESULT))) - .addMethod( - getCreateCompilationResultMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest, - com.google.cloud.dataform.v1alpha2.CompilationResult>( - this, METHODID_CREATE_COMPILATION_RESULT))) - .addMethod( - getQueryCompilationResultActionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest, - com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse>( - this, METHODID_QUERY_COMPILATION_RESULT_ACTIONS))) - .addMethod( - getListWorkflowInvocationsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest, - com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse>( - this, METHODID_LIST_WORKFLOW_INVOCATIONS))) - .addMethod( - getGetWorkflowInvocationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest, - com.google.cloud.dataform.v1alpha2.WorkflowInvocation>( - this, METHODID_GET_WORKFLOW_INVOCATION))) - .addMethod( - getCreateWorkflowInvocationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest, - com.google.cloud.dataform.v1alpha2.WorkflowInvocation>( - this, METHODID_CREATE_WORKFLOW_INVOCATION))) - .addMethod( - getDeleteWorkflowInvocationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_WORKFLOW_INVOCATION))) - .addMethod( - getCancelWorkflowInvocationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest, - com.google.protobuf.Empty>(this, METHODID_CANCEL_WORKFLOW_INVOCATION))) - .addMethod( - getQueryWorkflowInvocationActionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest, - com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse>( - this, METHODID_QUERY_WORKFLOW_INVOCATION_ACTIONS))) - .build(); - } - } - - /** - * - * - *
-   * Dataform is a service to develop, create, document, test, and update curated
-   * tables in BigQuery.
-   * 
- */ - public static final class DataformStub extends io.grpc.stub.AbstractAsyncStub { - private DataformStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataformStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataformStub(channel, callOptions); - } - - /** - * - * - *
-     * Lists Repositories in a given project and location.
-     * 
- */ - public void listRepositories( - com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Fetches a single Repository.
-     * 
- */ - public void getRepository( - com.google.cloud.dataform.v1alpha2.GetRepositoryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a new Repository in a given project and location.
-     * 
- */ - public void createRepository( - com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a single Repository.
-     * 
- */ - public void updateRepository( - com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a single Repository.
-     * 
- */ - public void deleteRepository( - com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Fetches a Repository's remote branches.
-     * 
- */ - public void fetchRemoteBranches( - com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getFetchRemoteBranchesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists Workspaces in a given Repository.
-     * 
- */ - public void listWorkspaces( - com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListWorkspacesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Fetches a single Workspace.
-     * 
- */ - public void getWorkspace( - com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetWorkspaceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a new Workspace in a given Repository.
-     * 
- */ - public void createWorkspace( - com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateWorkspaceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a single Workspace.
-     * 
- */ - public void deleteWorkspace( - com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteWorkspaceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Installs dependency NPM packages (inside a Workspace).
-     * 
- */ - public void installNpmPackages( - com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getInstallNpmPackagesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Pulls Git commits from the Repository's remote into a Workspace.
-     * 
- */ - public void pullGitCommits( - com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getPullGitCommitsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Pushes Git commits from a Workspace to the Repository's remote.
-     * 
- */ - public void pushGitCommits( - com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getPushGitCommitsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Fetches Git statuses for the files in a Workspace.
-     * 
- */ - public void fetchFileGitStatuses( - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getFetchFileGitStatusesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Fetches Git ahead/behind against a remote branch.
-     * 
- */ - public void fetchGitAheadBehind( - com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getFetchGitAheadBehindMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Applies a Git commit for uncommitted files in a Workspace.
-     * 
- */ - public void commitWorkspaceChanges( - com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCommitWorkspaceChangesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Performs a Git reset for uncommitted files in a Workspace.
-     * 
- */ - public void resetWorkspaceChanges( - com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getResetWorkspaceChangesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Fetches Git diff for an uncommitted file in a Workspace.
-     * 
- */ - public void fetchFileDiff( - com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getFetchFileDiffMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns the contents of a given Workspace directory.
-     * 
- */ - public void queryDirectoryContents( - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getQueryDirectoryContentsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a directory inside a Workspace.
-     * 
- */ - public void makeDirectory( - com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getMakeDirectoryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a directory (inside a Workspace) and all of its contents.
-     * 
- */ - public void removeDirectory( - com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRemoveDirectoryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Moves a directory (inside a Workspace), and all of its contents, to a new
-     * location.
-     * 
- */ - public void moveDirectory( - com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getMoveDirectoryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns the contents of a file (inside a Workspace).
-     * 
- */ - public void readFile( - com.google.cloud.dataform.v1alpha2.ReadFileRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getReadFileMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Deletes a file (inside a Workspace).
-     * 
- */ - public void removeFile( - com.google.cloud.dataform.v1alpha2.RemoveFileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRemoveFileMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Moves a file (inside a Workspace) to a new location.
-     * 
- */ - public void moveFile( - com.google.cloud.dataform.v1alpha2.MoveFileRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getMoveFileMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Writes to a file (inside a Workspace).
-     * 
- */ - public void writeFile( - com.google.cloud.dataform.v1alpha2.WriteFileRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getWriteFileMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Lists CompilationResults in a given Repository.
-     * 
- */ - public void listCompilationResults( - com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListCompilationResultsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Fetches a single CompilationResult.
-     * 
- */ - public void getCompilationResult( - com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetCompilationResultMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a new CompilationResult in a given project and location.
-     * 
- */ - public void createCompilationResult( - com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateCompilationResultMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns CompilationResultActions in a given CompilationResult.
-     * 
- */ - public void queryCompilationResultActions( - com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getQueryCompilationResultActionsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists WorkflowInvocations in a given Repository.
-     * 
- */ - public void listWorkflowInvocations( - com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListWorkflowInvocationsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Fetches a single WorkflowInvocation.
-     * 
- */ - public void getWorkflowInvocation( - com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetWorkflowInvocationMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a new WorkflowInvocation in a given Repository.
-     * 
- */ - public void createWorkflowInvocation( - com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateWorkflowInvocationMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a single WorkflowInvocation.
-     * 
- */ - public void deleteWorkflowInvocation( - com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteWorkflowInvocationMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Requests cancellation of a running WorkflowInvocation.
-     * 
- */ - public void cancelWorkflowInvocation( - com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCancelWorkflowInvocationMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns WorkflowInvocationActions in a given WorkflowInvocation.
-     * 
- */ - public void queryWorkflowInvocationActions( - com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getQueryWorkflowInvocationActionsMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * Dataform is a service to develop, create, document, test, and update curated
-   * tables in BigQuery.
-   * 
- */ - public static final class DataformBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private DataformBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataformBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataformBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Lists Repositories in a given project and location.
-     * 
- */ - public com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse listRepositories( - com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListRepositoriesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Fetches a single Repository.
-     * 
- */ - public com.google.cloud.dataform.v1alpha2.Repository getRepository( - com.google.cloud.dataform.v1alpha2.GetRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetRepositoryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a new Repository in a given project and location.
-     * 
- */ - public com.google.cloud.dataform.v1alpha2.Repository createRepository( - com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateRepositoryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a single Repository.
-     * 
- */ - public com.google.cloud.dataform.v1alpha2.Repository updateRepository( - com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateRepositoryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a single Repository.
-     * 
- */ - public com.google.protobuf.Empty deleteRepository( - com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteRepositoryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Fetches a Repository's remote branches.
-     * 
- */ - public com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse fetchRemoteBranches( - com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getFetchRemoteBranchesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists Workspaces in a given Repository.
-     * 
- */ - public com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse listWorkspaces( - com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListWorkspacesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Fetches a single Workspace.
-     * 
- */ - public com.google.cloud.dataform.v1alpha2.Workspace getWorkspace( - com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetWorkspaceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a new Workspace in a given Repository.
-     * 
- */ - public com.google.cloud.dataform.v1alpha2.Workspace createWorkspace( - com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateWorkspaceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a single Workspace.
-     * 
- */ - public com.google.protobuf.Empty deleteWorkspace( - com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteWorkspaceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Installs dependency NPM packages (inside a Workspace).
-     * 
- */ - public com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse installNpmPackages( - com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getInstallNpmPackagesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Pulls Git commits from the Repository's remote into a Workspace.
-     * 
- */ - public com.google.protobuf.Empty pullGitCommits( - com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getPullGitCommitsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Pushes Git commits from a Workspace to the Repository's remote.
-     * 
- */ - public com.google.protobuf.Empty pushGitCommits( - com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getPushGitCommitsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Fetches Git statuses for the files in a Workspace.
-     * 
- */ - public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse fetchFileGitStatuses( - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getFetchFileGitStatusesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Fetches Git ahead/behind against a remote branch.
-     * 
- */ - public com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse fetchGitAheadBehind( - com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getFetchGitAheadBehindMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Applies a Git commit for uncommitted files in a Workspace.
-     * 
- */ - public com.google.protobuf.Empty commitWorkspaceChanges( - com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCommitWorkspaceChangesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Performs a Git reset for uncommitted files in a Workspace.
-     * 
- */ - public com.google.protobuf.Empty resetWorkspaceChanges( - com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getResetWorkspaceChangesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Fetches Git diff for an uncommitted file in a Workspace.
-     * 
- */ - public com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse fetchFileDiff( - com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getFetchFileDiffMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns the contents of a given Workspace directory.
-     * 
- */ - public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse queryDirectoryContents( - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getQueryDirectoryContentsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a directory inside a Workspace.
-     * 
- */ - public com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse makeDirectory( - com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getMakeDirectoryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a directory (inside a Workspace) and all of its contents.
-     * 
- */ - public com.google.protobuf.Empty removeDirectory( - com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRemoveDirectoryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Moves a directory (inside a Workspace), and all of its contents, to a new
-     * location.
-     * 
- */ - public com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse moveDirectory( - com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getMoveDirectoryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns the contents of a file (inside a Workspace).
-     * 
- */ - public com.google.cloud.dataform.v1alpha2.ReadFileResponse readFile( - com.google.cloud.dataform.v1alpha2.ReadFileRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getReadFileMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a file (inside a Workspace).
-     * 
- */ - public com.google.protobuf.Empty removeFile( - com.google.cloud.dataform.v1alpha2.RemoveFileRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRemoveFileMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Moves a file (inside a Workspace) to a new location.
-     * 
- */ - public com.google.cloud.dataform.v1alpha2.MoveFileResponse moveFile( - com.google.cloud.dataform.v1alpha2.MoveFileRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getMoveFileMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Writes to a file (inside a Workspace).
-     * 
- */ - public com.google.cloud.dataform.v1alpha2.WriteFileResponse writeFile( - com.google.cloud.dataform.v1alpha2.WriteFileRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getWriteFileMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists CompilationResults in a given Repository.
-     * 
- */ - public com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse listCompilationResults( - com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListCompilationResultsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Fetches a single CompilationResult.
-     * 
- */ - public com.google.cloud.dataform.v1alpha2.CompilationResult getCompilationResult( - com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetCompilationResultMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a new CompilationResult in a given project and location.
-     * 
- */ - public com.google.cloud.dataform.v1alpha2.CompilationResult createCompilationResult( - com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateCompilationResultMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns CompilationResultActions in a given CompilationResult.
-     * 
- */ - public com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse - queryCompilationResultActions( - com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getQueryCompilationResultActionsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists WorkflowInvocations in a given Repository.
-     * 
- */ - public com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse - listWorkflowInvocations( - com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListWorkflowInvocationsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Fetches a single WorkflowInvocation.
-     * 
- */ - public com.google.cloud.dataform.v1alpha2.WorkflowInvocation getWorkflowInvocation( - com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetWorkflowInvocationMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a new WorkflowInvocation in a given Repository.
-     * 
- */ - public com.google.cloud.dataform.v1alpha2.WorkflowInvocation createWorkflowInvocation( - com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateWorkflowInvocationMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a single WorkflowInvocation.
-     * 
- */ - public com.google.protobuf.Empty deleteWorkflowInvocation( - com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteWorkflowInvocationMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Requests cancellation of a running WorkflowInvocation.
-     * 
- */ - public com.google.protobuf.Empty cancelWorkflowInvocation( - com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCancelWorkflowInvocationMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns WorkflowInvocationActions in a given WorkflowInvocation.
-     * 
- */ - public com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse - queryWorkflowInvocationActions( - com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getQueryWorkflowInvocationActionsMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * Dataform is a service to develop, create, document, test, and update curated
-   * tables in BigQuery.
-   * 
- */ - public static final class DataformFutureStub - extends io.grpc.stub.AbstractFutureStub { - private DataformFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataformFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataformFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Lists Repositories in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse> - listRepositories(com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Fetches a single Repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.dataform.v1alpha2.Repository> - getRepository(com.google.cloud.dataform.v1alpha2.GetRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a new Repository in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.dataform.v1alpha2.Repository> - createRepository(com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a single Repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.dataform.v1alpha2.Repository> - updateRepository(com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a single Repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteRepository(com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Fetches a Repository's remote branches.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse> - fetchRemoteBranches(com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getFetchRemoteBranchesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists Workspaces in a given Repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse> - listWorkspaces(com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListWorkspacesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Fetches a single Workspace.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.dataform.v1alpha2.Workspace> - getWorkspace(com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetWorkspaceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a new Workspace in a given Repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.dataform.v1alpha2.Workspace> - createWorkspace(com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateWorkspaceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a single Workspace.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteWorkspace(com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteWorkspaceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Installs dependency NPM packages (inside a Workspace).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse> - installNpmPackages(com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getInstallNpmPackagesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Pulls Git commits from the Repository's remote into a Workspace.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - pullGitCommits(com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getPullGitCommitsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Pushes Git commits from a Workspace to the Repository's remote.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - pushGitCommits(com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getPushGitCommitsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Fetches Git statuses for the files in a Workspace.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse> - fetchFileGitStatuses( - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getFetchFileGitStatusesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Fetches Git ahead/behind against a remote branch.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse> - fetchGitAheadBehind(com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getFetchGitAheadBehindMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Applies a Git commit for uncommitted files in a Workspace.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - commitWorkspaceChanges( - com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCommitWorkspaceChangesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Performs a Git reset for uncommitted files in a Workspace.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - resetWorkspaceChanges( - com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getResetWorkspaceChangesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Fetches Git diff for an uncommitted file in a Workspace.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse> - fetchFileDiff(com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getFetchFileDiffMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns the contents of a given Workspace directory.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse> - queryDirectoryContents( - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getQueryDirectoryContentsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a directory inside a Workspace.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse> - makeDirectory(com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getMakeDirectoryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a directory (inside a Workspace) and all of its contents.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - removeDirectory(com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRemoveDirectoryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Moves a directory (inside a Workspace), and all of its contents, to a new
-     * location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse> - moveDirectory(com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getMoveDirectoryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns the contents of a file (inside a Workspace).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.dataform.v1alpha2.ReadFileResponse> - readFile(com.google.cloud.dataform.v1alpha2.ReadFileRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getReadFileMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a file (inside a Workspace).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture removeFile( - com.google.cloud.dataform.v1alpha2.RemoveFileRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRemoveFileMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Moves a file (inside a Workspace) to a new location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.dataform.v1alpha2.MoveFileResponse> - moveFile(com.google.cloud.dataform.v1alpha2.MoveFileRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getMoveFileMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Writes to a file (inside a Workspace).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.dataform.v1alpha2.WriteFileResponse> - writeFile(com.google.cloud.dataform.v1alpha2.WriteFileRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getWriteFileMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists CompilationResults in a given Repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse> - listCompilationResults( - com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListCompilationResultsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Fetches a single CompilationResult.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.dataform.v1alpha2.CompilationResult> - getCompilationResult( - com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetCompilationResultMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a new CompilationResult in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.dataform.v1alpha2.CompilationResult> - createCompilationResult( - com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateCompilationResultMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns CompilationResultActions in a given CompilationResult.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse> - queryCompilationResultActions( - com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getQueryCompilationResultActionsMethod(), getCallOptions()), - request); - } - - /** - * - * - *
-     * Lists WorkflowInvocations in a given Repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse> - listWorkflowInvocations( - com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListWorkflowInvocationsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Fetches a single WorkflowInvocation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.dataform.v1alpha2.WorkflowInvocation> - getWorkflowInvocation( - com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetWorkflowInvocationMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a new WorkflowInvocation in a given Repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.dataform.v1alpha2.WorkflowInvocation> - createWorkflowInvocation( - com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateWorkflowInvocationMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a single WorkflowInvocation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteWorkflowInvocation( - com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteWorkflowInvocationMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Requests cancellation of a running WorkflowInvocation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - cancelWorkflowInvocation( - com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCancelWorkflowInvocationMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns WorkflowInvocationActions in a given WorkflowInvocation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse> - queryWorkflowInvocationActions( - com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getQueryWorkflowInvocationActionsMethod(), getCallOptions()), - request); - } - } - - private static final int METHODID_LIST_REPOSITORIES = 0; - private static final int METHODID_GET_REPOSITORY = 1; - private static final int METHODID_CREATE_REPOSITORY = 2; - private static final int METHODID_UPDATE_REPOSITORY = 3; - private static final int METHODID_DELETE_REPOSITORY = 4; - private static final int METHODID_FETCH_REMOTE_BRANCHES = 5; - private static final int METHODID_LIST_WORKSPACES = 6; - private static final int METHODID_GET_WORKSPACE = 7; - private static final int METHODID_CREATE_WORKSPACE = 8; - private static final int METHODID_DELETE_WORKSPACE = 9; - private static final int METHODID_INSTALL_NPM_PACKAGES = 10; - private static final int METHODID_PULL_GIT_COMMITS = 11; - private static final int METHODID_PUSH_GIT_COMMITS = 12; - private static final int METHODID_FETCH_FILE_GIT_STATUSES = 13; - private static final int METHODID_FETCH_GIT_AHEAD_BEHIND = 14; - private static final int METHODID_COMMIT_WORKSPACE_CHANGES = 15; - private static final int METHODID_RESET_WORKSPACE_CHANGES = 16; - private static final int METHODID_FETCH_FILE_DIFF = 17; - private static final int METHODID_QUERY_DIRECTORY_CONTENTS = 18; - private static final int METHODID_MAKE_DIRECTORY = 19; - private static final int METHODID_REMOVE_DIRECTORY = 20; - private static final int METHODID_MOVE_DIRECTORY = 21; - private static final int METHODID_READ_FILE = 22; - private static final int METHODID_REMOVE_FILE = 23; - private static final int METHODID_MOVE_FILE = 24; - private static final int METHODID_WRITE_FILE = 25; - private static final int METHODID_LIST_COMPILATION_RESULTS = 26; - private static final int METHODID_GET_COMPILATION_RESULT = 27; - private static final int METHODID_CREATE_COMPILATION_RESULT = 28; - private static final int METHODID_QUERY_COMPILATION_RESULT_ACTIONS = 29; - private static final int METHODID_LIST_WORKFLOW_INVOCATIONS = 30; - private static final int METHODID_GET_WORKFLOW_INVOCATION = 31; - private static final int METHODID_CREATE_WORKFLOW_INVOCATION = 32; - private static final int METHODID_DELETE_WORKFLOW_INVOCATION = 33; - private static final int METHODID_CANCEL_WORKFLOW_INVOCATION = 34; - private static final int METHODID_QUERY_WORKFLOW_INVOCATION_ACTIONS = 35; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final DataformImplBase serviceImpl; - private final int methodId; - - MethodHandlers(DataformImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_LIST_REPOSITORIES: - serviceImpl.listRepositories( - (com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse>) - responseObserver); - break; - case METHODID_GET_REPOSITORY: - serviceImpl.getRepository( - (com.google.cloud.dataform.v1alpha2.GetRepositoryRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_REPOSITORY: - serviceImpl.createRepository( - (com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_REPOSITORY: - serviceImpl.updateRepository( - (com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_REPOSITORY: - serviceImpl.deleteRepository( - (com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_FETCH_REMOTE_BRANCHES: - serviceImpl.fetchRemoteBranches( - (com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse>) - responseObserver); - break; - case METHODID_LIST_WORKSPACES: - serviceImpl.listWorkspaces( - (com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse>) - responseObserver); - break; - case METHODID_GET_WORKSPACE: - serviceImpl.getWorkspace( - (com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_WORKSPACE: - serviceImpl.createWorkspace( - (com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_WORKSPACE: - serviceImpl.deleteWorkspace( - (com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_INSTALL_NPM_PACKAGES: - serviceImpl.installNpmPackages( - (com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse>) - responseObserver); - break; - case METHODID_PULL_GIT_COMMITS: - serviceImpl.pullGitCommits( - (com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_PUSH_GIT_COMMITS: - serviceImpl.pushGitCommits( - (com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_FETCH_FILE_GIT_STATUSES: - serviceImpl.fetchFileGitStatuses( - (com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse>) - responseObserver); - break; - case METHODID_FETCH_GIT_AHEAD_BEHIND: - serviceImpl.fetchGitAheadBehind( - (com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse>) - responseObserver); - break; - case METHODID_COMMIT_WORKSPACE_CHANGES: - serviceImpl.commitWorkspaceChanges( - (com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_RESET_WORKSPACE_CHANGES: - serviceImpl.resetWorkspaceChanges( - (com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_FETCH_FILE_DIFF: - serviceImpl.fetchFileDiff( - (com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse>) - responseObserver); - break; - case METHODID_QUERY_DIRECTORY_CONTENTS: - serviceImpl.queryDirectoryContents( - (com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse>) - responseObserver); - break; - case METHODID_MAKE_DIRECTORY: - serviceImpl.makeDirectory( - (com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse>) - responseObserver); - break; - case METHODID_REMOVE_DIRECTORY: - serviceImpl.removeDirectory( - (com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_MOVE_DIRECTORY: - serviceImpl.moveDirectory( - (com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse>) - responseObserver); - break; - case METHODID_READ_FILE: - serviceImpl.readFile( - (com.google.cloud.dataform.v1alpha2.ReadFileRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_REMOVE_FILE: - serviceImpl.removeFile( - (com.google.cloud.dataform.v1alpha2.RemoveFileRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_MOVE_FILE: - serviceImpl.moveFile( - (com.google.cloud.dataform.v1alpha2.MoveFileRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_WRITE_FILE: - serviceImpl.writeFile( - (com.google.cloud.dataform.v1alpha2.WriteFileRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_COMPILATION_RESULTS: - serviceImpl.listCompilationResults( - (com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse>) - responseObserver); - break; - case METHODID_GET_COMPILATION_RESULT: - serviceImpl.getCompilationResult( - (com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_COMPILATION_RESULT: - serviceImpl.createCompilationResult( - (com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_QUERY_COMPILATION_RESULT_ACTIONS: - serviceImpl.queryCompilationResultActions( - (com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse>) - responseObserver); - break; - case METHODID_LIST_WORKFLOW_INVOCATIONS: - serviceImpl.listWorkflowInvocations( - (com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse>) - responseObserver); - break; - case METHODID_GET_WORKFLOW_INVOCATION: - serviceImpl.getWorkflowInvocation( - (com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_WORKFLOW_INVOCATION: - serviceImpl.createWorkflowInvocation( - (com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_WORKFLOW_INVOCATION: - serviceImpl.deleteWorkflowInvocation( - (com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CANCEL_WORKFLOW_INVOCATION: - serviceImpl.cancelWorkflowInvocation( - (com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_QUERY_WORKFLOW_INVOCATION_ACTIONS: - serviceImpl.queryWorkflowInvocationActions( - (com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse>) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class DataformBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - DataformBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("Dataform"); - } - } - - private static final class DataformFileDescriptorSupplier extends DataformBaseDescriptorSupplier { - DataformFileDescriptorSupplier() {} - } - - private static final class DataformMethodDescriptorSupplier extends DataformBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - DataformMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (DataformGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new DataformFileDescriptorSupplier()) - .addMethod(getListRepositoriesMethod()) - .addMethod(getGetRepositoryMethod()) - .addMethod(getCreateRepositoryMethod()) - .addMethod(getUpdateRepositoryMethod()) - .addMethod(getDeleteRepositoryMethod()) - .addMethod(getFetchRemoteBranchesMethod()) - .addMethod(getListWorkspacesMethod()) - .addMethod(getGetWorkspaceMethod()) - .addMethod(getCreateWorkspaceMethod()) - .addMethod(getDeleteWorkspaceMethod()) - .addMethod(getInstallNpmPackagesMethod()) - .addMethod(getPullGitCommitsMethod()) - .addMethod(getPushGitCommitsMethod()) - .addMethod(getFetchFileGitStatusesMethod()) - .addMethod(getFetchGitAheadBehindMethod()) - .addMethod(getCommitWorkspaceChangesMethod()) - .addMethod(getResetWorkspaceChangesMethod()) - .addMethod(getFetchFileDiffMethod()) - .addMethod(getQueryDirectoryContentsMethod()) - .addMethod(getMakeDirectoryMethod()) - .addMethod(getRemoveDirectoryMethod()) - .addMethod(getMoveDirectoryMethod()) - .addMethod(getReadFileMethod()) - .addMethod(getRemoveFileMethod()) - .addMethod(getMoveFileMethod()) - .addMethod(getWriteFileMethod()) - .addMethod(getListCompilationResultsMethod()) - .addMethod(getGetCompilationResultMethod()) - .addMethod(getCreateCompilationResultMethod()) - .addMethod(getQueryCompilationResultActionsMethod()) - .addMethod(getListWorkflowInvocationsMethod()) - .addMethod(getGetWorkflowInvocationMethod()) - .addMethod(getCreateWorkflowInvocationMethod()) - .addMethod(getDeleteWorkflowInvocationMethod()) - .addMethod(getCancelWorkflowInvocationMethod()) - .addMethod(getQueryWorkflowInvocationActionsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/DataformClient.java b/owl-bot-staging/v1alpha2/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/DataformClient.java similarity index 97% rename from google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/DataformClient.java rename to owl-bot-staging/v1alpha2/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/DataformClient.java index 18adcd6..70032ff 100644 --- a/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/DataformClient.java +++ b/owl-bot-staging/v1alpha2/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/DataformClient.java @@ -68,13 +68,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -3723,10 +3723,7 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListRepositoriesPagedResponse extends AbstractPagedListResponse< - ListRepositoriesRequest, - ListRepositoriesResponse, - Repository, - ListRepositoriesPage, + ListRepositoriesRequest, ListRepositoriesResponse, Repository, ListRepositoriesPage, ListRepositoriesFixedSizeCollection> { public static ApiFuture createAsync( @@ -3776,10 +3773,7 @@ public ApiFuture createPageAsync( public static class ListRepositoriesFixedSizeCollection extends AbstractFixedSizeCollection< - ListRepositoriesRequest, - ListRepositoriesResponse, - Repository, - ListRepositoriesPage, + ListRepositoriesRequest, ListRepositoriesResponse, Repository, ListRepositoriesPage, ListRepositoriesFixedSizeCollection> { private ListRepositoriesFixedSizeCollection( @@ -3800,10 +3794,7 @@ protected ListRepositoriesFixedSizeCollection createCollection( public static class ListWorkspacesPagedResponse extends AbstractPagedListResponse< - ListWorkspacesRequest, - ListWorkspacesResponse, - Workspace, - ListWorkspacesPage, + ListWorkspacesRequest, ListWorkspacesResponse, Workspace, ListWorkspacesPage, ListWorkspacesFixedSizeCollection> { public static ApiFuture createAsync( @@ -3853,10 +3844,7 @@ public ApiFuture createPageAsync( public static class ListWorkspacesFixedSizeCollection extends AbstractFixedSizeCollection< - ListWorkspacesRequest, - ListWorkspacesResponse, - Workspace, - ListWorkspacesPage, + ListWorkspacesRequest, ListWorkspacesResponse, Workspace, ListWorkspacesPage, ListWorkspacesFixedSizeCollection> { private ListWorkspacesFixedSizeCollection(List pages, int collectionSize) { @@ -3876,16 +3864,13 @@ protected ListWorkspacesFixedSizeCollection createCollection( public static class QueryDirectoryContentsPagedResponse extends AbstractPagedListResponse< - QueryDirectoryContentsRequest, - QueryDirectoryContentsResponse, - QueryDirectoryContentsResponse.DirectoryEntry, - QueryDirectoryContentsPage, + QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, + QueryDirectoryContentsResponse.DirectoryEntry, QueryDirectoryContentsPage, QueryDirectoryContentsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< - QueryDirectoryContentsRequest, - QueryDirectoryContentsResponse, + QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, QueryDirectoryContentsResponse.DirectoryEntry> context, ApiFuture futureResponse) { @@ -3904,15 +3889,12 @@ private QueryDirectoryContentsPagedResponse(QueryDirectoryContentsPage page) { public static class QueryDirectoryContentsPage extends AbstractPage< - QueryDirectoryContentsRequest, - QueryDirectoryContentsResponse, - QueryDirectoryContentsResponse.DirectoryEntry, - QueryDirectoryContentsPage> { + QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, + QueryDirectoryContentsResponse.DirectoryEntry, QueryDirectoryContentsPage> { private QueryDirectoryContentsPage( PageContext< - QueryDirectoryContentsRequest, - QueryDirectoryContentsResponse, + QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, QueryDirectoryContentsResponse.DirectoryEntry> context, QueryDirectoryContentsResponse response) { @@ -3926,8 +3908,7 @@ private static QueryDirectoryContentsPage createEmptyPage() { @Override protected QueryDirectoryContentsPage createPage( PageContext< - QueryDirectoryContentsRequest, - QueryDirectoryContentsResponse, + QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, QueryDirectoryContentsResponse.DirectoryEntry> context, QueryDirectoryContentsResponse response) { @@ -3937,8 +3918,7 @@ protected QueryDirectoryContentsPage createPage( @Override public ApiFuture createPageAsync( PageContext< - QueryDirectoryContentsRequest, - QueryDirectoryContentsResponse, + QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, QueryDirectoryContentsResponse.DirectoryEntry> context, ApiFuture futureResponse) { @@ -3948,10 +3928,8 @@ public ApiFuture createPageAsync( public static class QueryDirectoryContentsFixedSizeCollection extends AbstractFixedSizeCollection< - QueryDirectoryContentsRequest, - QueryDirectoryContentsResponse, - QueryDirectoryContentsResponse.DirectoryEntry, - QueryDirectoryContentsPage, + QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, + QueryDirectoryContentsResponse.DirectoryEntry, QueryDirectoryContentsPage, QueryDirectoryContentsFixedSizeCollection> { private QueryDirectoryContentsFixedSizeCollection( @@ -3972,11 +3950,8 @@ protected QueryDirectoryContentsFixedSizeCollection createCollection( public static class ListCompilationResultsPagedResponse extends AbstractPagedListResponse< - ListCompilationResultsRequest, - ListCompilationResultsResponse, - CompilationResult, - ListCompilationResultsPage, - ListCompilationResultsFixedSizeCollection> { + ListCompilationResultsRequest, ListCompilationResultsResponse, CompilationResult, + ListCompilationResultsPage, ListCompilationResultsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< @@ -3998,9 +3973,7 @@ private ListCompilationResultsPagedResponse(ListCompilationResultsPage page) { public static class ListCompilationResultsPage extends AbstractPage< - ListCompilationResultsRequest, - ListCompilationResultsResponse, - CompilationResult, + ListCompilationResultsRequest, ListCompilationResultsResponse, CompilationResult, ListCompilationResultsPage> { private ListCompilationResultsPage( @@ -4036,11 +4009,8 @@ public ApiFuture createPageAsync( public static class ListCompilationResultsFixedSizeCollection extends AbstractFixedSizeCollection< - ListCompilationResultsRequest, - ListCompilationResultsResponse, - CompilationResult, - ListCompilationResultsPage, - ListCompilationResultsFixedSizeCollection> { + ListCompilationResultsRequest, ListCompilationResultsResponse, CompilationResult, + ListCompilationResultsPage, ListCompilationResultsFixedSizeCollection> { private ListCompilationResultsFixedSizeCollection( List pages, int collectionSize) { @@ -4060,16 +4030,13 @@ protected ListCompilationResultsFixedSizeCollection createCollection( public static class QueryCompilationResultActionsPagedResponse extends AbstractPagedListResponse< - QueryCompilationResultActionsRequest, - QueryCompilationResultActionsResponse, - CompilationResultAction, - QueryCompilationResultActionsPage, + QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, + CompilationResultAction, QueryCompilationResultActionsPage, QueryCompilationResultActionsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< - QueryCompilationResultActionsRequest, - QueryCompilationResultActionsResponse, + QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, CompilationResultAction> context, ApiFuture futureResponse) { @@ -4089,15 +4056,12 @@ private QueryCompilationResultActionsPagedResponse(QueryCompilationResultActions public static class QueryCompilationResultActionsPage extends AbstractPage< - QueryCompilationResultActionsRequest, - QueryCompilationResultActionsResponse, - CompilationResultAction, - QueryCompilationResultActionsPage> { + QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, + CompilationResultAction, QueryCompilationResultActionsPage> { private QueryCompilationResultActionsPage( PageContext< - QueryCompilationResultActionsRequest, - QueryCompilationResultActionsResponse, + QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, CompilationResultAction> context, QueryCompilationResultActionsResponse response) { @@ -4111,8 +4075,7 @@ private static QueryCompilationResultActionsPage createEmptyPage() { @Override protected QueryCompilationResultActionsPage createPage( PageContext< - QueryCompilationResultActionsRequest, - QueryCompilationResultActionsResponse, + QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, CompilationResultAction> context, QueryCompilationResultActionsResponse response) { @@ -4122,8 +4085,7 @@ protected QueryCompilationResultActionsPage createPage( @Override public ApiFuture createPageAsync( PageContext< - QueryCompilationResultActionsRequest, - QueryCompilationResultActionsResponse, + QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, CompilationResultAction> context, ApiFuture futureResponse) { @@ -4133,10 +4095,8 @@ public ApiFuture createPageAsync( public static class QueryCompilationResultActionsFixedSizeCollection extends AbstractFixedSizeCollection< - QueryCompilationResultActionsRequest, - QueryCompilationResultActionsResponse, - CompilationResultAction, - QueryCompilationResultActionsPage, + QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, + CompilationResultAction, QueryCompilationResultActionsPage, QueryCompilationResultActionsFixedSizeCollection> { private QueryCompilationResultActionsFixedSizeCollection( @@ -4157,11 +4117,8 @@ protected QueryCompilationResultActionsFixedSizeCollection createCollection( public static class ListWorkflowInvocationsPagedResponse extends AbstractPagedListResponse< - ListWorkflowInvocationsRequest, - ListWorkflowInvocationsResponse, - WorkflowInvocation, - ListWorkflowInvocationsPage, - ListWorkflowInvocationsFixedSizeCollection> { + ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, WorkflowInvocation, + ListWorkflowInvocationsPage, ListWorkflowInvocationsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< @@ -4183,9 +4140,7 @@ private ListWorkflowInvocationsPagedResponse(ListWorkflowInvocationsPage page) { public static class ListWorkflowInvocationsPage extends AbstractPage< - ListWorkflowInvocationsRequest, - ListWorkflowInvocationsResponse, - WorkflowInvocation, + ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, WorkflowInvocation, ListWorkflowInvocationsPage> { private ListWorkflowInvocationsPage( @@ -4221,11 +4176,8 @@ public ApiFuture createPageAsync( public static class ListWorkflowInvocationsFixedSizeCollection extends AbstractFixedSizeCollection< - ListWorkflowInvocationsRequest, - ListWorkflowInvocationsResponse, - WorkflowInvocation, - ListWorkflowInvocationsPage, - ListWorkflowInvocationsFixedSizeCollection> { + ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, WorkflowInvocation, + ListWorkflowInvocationsPage, ListWorkflowInvocationsFixedSizeCollection> { private ListWorkflowInvocationsFixedSizeCollection( List pages, int collectionSize) { @@ -4245,16 +4197,13 @@ protected ListWorkflowInvocationsFixedSizeCollection createCollection( public static class QueryWorkflowInvocationActionsPagedResponse extends AbstractPagedListResponse< - QueryWorkflowInvocationActionsRequest, - QueryWorkflowInvocationActionsResponse, - WorkflowInvocationAction, - QueryWorkflowInvocationActionsPage, + QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, + WorkflowInvocationAction, QueryWorkflowInvocationActionsPage, QueryWorkflowInvocationActionsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< - QueryWorkflowInvocationActionsRequest, - QueryWorkflowInvocationActionsResponse, + QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, WorkflowInvocationAction> context, ApiFuture futureResponse) { @@ -4274,15 +4223,12 @@ private QueryWorkflowInvocationActionsPagedResponse(QueryWorkflowInvocationActio public static class QueryWorkflowInvocationActionsPage extends AbstractPage< - QueryWorkflowInvocationActionsRequest, - QueryWorkflowInvocationActionsResponse, - WorkflowInvocationAction, - QueryWorkflowInvocationActionsPage> { + QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, + WorkflowInvocationAction, QueryWorkflowInvocationActionsPage> { private QueryWorkflowInvocationActionsPage( PageContext< - QueryWorkflowInvocationActionsRequest, - QueryWorkflowInvocationActionsResponse, + QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, WorkflowInvocationAction> context, QueryWorkflowInvocationActionsResponse response) { @@ -4296,8 +4242,7 @@ private static QueryWorkflowInvocationActionsPage createEmptyPage() { @Override protected QueryWorkflowInvocationActionsPage createPage( PageContext< - QueryWorkflowInvocationActionsRequest, - QueryWorkflowInvocationActionsResponse, + QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, WorkflowInvocationAction> context, QueryWorkflowInvocationActionsResponse response) { @@ -4307,8 +4252,7 @@ protected QueryWorkflowInvocationActionsPage createPage( @Override public ApiFuture createPageAsync( PageContext< - QueryWorkflowInvocationActionsRequest, - QueryWorkflowInvocationActionsResponse, + QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, WorkflowInvocationAction> context, ApiFuture futureResponse) { @@ -4318,10 +4262,8 @@ public ApiFuture createPageAsync( public static class QueryWorkflowInvocationActionsFixedSizeCollection extends AbstractFixedSizeCollection< - QueryWorkflowInvocationActionsRequest, - QueryWorkflowInvocationActionsResponse, - WorkflowInvocationAction, - QueryWorkflowInvocationActionsPage, + QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, + WorkflowInvocationAction, QueryWorkflowInvocationActionsPage, QueryWorkflowInvocationActionsFixedSizeCollection> { private QueryWorkflowInvocationActionsFixedSizeCollection( @@ -4342,10 +4284,7 @@ protected QueryWorkflowInvocationActionsFixedSizeCollection createCollection( public static class ListLocationsPagedResponse extends AbstractPagedListResponse< - ListLocationsRequest, - ListLocationsResponse, - Location, - ListLocationsPage, + ListLocationsRequest, ListLocationsResponse, Location, ListLocationsPage, ListLocationsFixedSizeCollection> { public static ApiFuture createAsync( @@ -4395,10 +4334,7 @@ public ApiFuture createPageAsync( public static class ListLocationsFixedSizeCollection extends AbstractFixedSizeCollection< - ListLocationsRequest, - ListLocationsResponse, - Location, - ListLocationsPage, + ListLocationsRequest, ListLocationsResponse, Location, ListLocationsPage, ListLocationsFixedSizeCollection> { private ListLocationsFixedSizeCollection(List pages, int collectionSize) { diff --git a/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/DataformSettings.java b/owl-bot-staging/v1alpha2/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/DataformSettings.java similarity index 96% rename from google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/DataformSettings.java rename to owl-bot-staging/v1alpha2/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/DataformSettings.java index c9b9a2e..93e693e 100644 --- a/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/DataformSettings.java +++ b/owl-bot-staging/v1alpha2/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/DataformSettings.java @@ -35,6 +35,7 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.dataform.v1alpha2.stub.DataformStubSettings; @@ -59,9 +60,9 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (dataform.googleapis.com) and default port (443) are used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • The default service address (dataform.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -189,8 +190,7 @@ public UnaryCallSettings fetchFileD /** Returns the object with the settings used for calls to queryDirectoryContents. */ public PagedCallSettings< - QueryDirectoryContentsRequest, - QueryDirectoryContentsResponse, + QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, QueryDirectoryContentsPagedResponse> queryDirectoryContentsSettings() { return ((DataformStubSettings) getStubSettings()).queryDirectoryContentsSettings(); @@ -233,8 +233,7 @@ public UnaryCallSettings writeFileSettings( /** Returns the object with the settings used for calls to listCompilationResults. */ public PagedCallSettings< - ListCompilationResultsRequest, - ListCompilationResultsResponse, + ListCompilationResultsRequest, ListCompilationResultsResponse, ListCompilationResultsPagedResponse> listCompilationResultsSettings() { return ((DataformStubSettings) getStubSettings()).listCompilationResultsSettings(); @@ -254,8 +253,7 @@ public UnaryCallSettings writeFileSettings( /** Returns the object with the settings used for calls to queryCompilationResultActions. */ public PagedCallSettings< - QueryCompilationResultActionsRequest, - QueryCompilationResultActionsResponse, + QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, QueryCompilationResultActionsPagedResponse> queryCompilationResultActionsSettings() { return ((DataformStubSettings) getStubSettings()).queryCompilationResultActionsSettings(); @@ -263,8 +261,7 @@ public UnaryCallSettings writeFileSettings( /** Returns the object with the settings used for calls to listWorkflowInvocations. */ public PagedCallSettings< - ListWorkflowInvocationsRequest, - ListWorkflowInvocationsResponse, + ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, ListWorkflowInvocationsPagedResponse> listWorkflowInvocationsSettings() { return ((DataformStubSettings) getStubSettings()).listWorkflowInvocationsSettings(); @@ -296,8 +293,7 @@ public UnaryCallSettings writeFileSettings( /** Returns the object with the settings used for calls to queryWorkflowInvocationActions. */ public PagedCallSettings< - QueryWorkflowInvocationActionsRequest, - QueryWorkflowInvocationActionsResponse, + QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, QueryWorkflowInvocationActionsPagedResponse> queryWorkflowInvocationActionsSettings() { return ((DataformStubSettings) getStubSettings()).queryWorkflowInvocationActionsSettings(); @@ -549,8 +545,7 @@ public UnaryCallSettings.Builder pushGitCommitsSet /** Returns the builder for the settings used for calls to queryDirectoryContents. */ public PagedCallSettings.Builder< - QueryDirectoryContentsRequest, - QueryDirectoryContentsResponse, + QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, QueryDirectoryContentsPagedResponse> queryDirectoryContentsSettings() { return getStubSettingsBuilder().queryDirectoryContentsSettings(); @@ -595,8 +590,7 @@ public UnaryCallSettings.Builder writeFileS /** Returns the builder for the settings used for calls to listCompilationResults. */ public PagedCallSettings.Builder< - ListCompilationResultsRequest, - ListCompilationResultsResponse, + ListCompilationResultsRequest, ListCompilationResultsResponse, ListCompilationResultsPagedResponse> listCompilationResultsSettings() { return getStubSettingsBuilder().listCompilationResultsSettings(); @@ -616,8 +610,7 @@ public UnaryCallSettings.Builder writeFileS /** Returns the builder for the settings used for calls to queryCompilationResultActions. */ public PagedCallSettings.Builder< - QueryCompilationResultActionsRequest, - QueryCompilationResultActionsResponse, + QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, QueryCompilationResultActionsPagedResponse> queryCompilationResultActionsSettings() { return getStubSettingsBuilder().queryCompilationResultActionsSettings(); @@ -625,8 +618,7 @@ public UnaryCallSettings.Builder writeFileS /** Returns the builder for the settings used for calls to listWorkflowInvocations. */ public PagedCallSettings.Builder< - ListWorkflowInvocationsRequest, - ListWorkflowInvocationsResponse, + ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, ListWorkflowInvocationsPagedResponse> listWorkflowInvocationsSettings() { return getStubSettingsBuilder().listWorkflowInvocationsSettings(); @@ -658,8 +650,7 @@ public UnaryCallSettings.Builder writeFileS /** Returns the builder for the settings used for calls to queryWorkflowInvocationActions. */ public PagedCallSettings.Builder< - QueryWorkflowInvocationActionsRequest, - QueryWorkflowInvocationActionsResponse, + QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, QueryWorkflowInvocationActionsPagedResponse> queryWorkflowInvocationActionsSettings() { return getStubSettingsBuilder().queryWorkflowInvocationActionsSettings(); diff --git a/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/gapic_metadata.json b/owl-bot-staging/v1alpha2/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/gapic_metadata.json similarity index 100% rename from google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/gapic_metadata.json rename to owl-bot-staging/v1alpha2/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/gapic_metadata.json diff --git a/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/package-info.java b/owl-bot-staging/v1alpha2/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/package-info.java similarity index 100% rename from google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/package-info.java rename to owl-bot-staging/v1alpha2/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/package-info.java diff --git a/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/DataformStub.java b/owl-bot-staging/v1alpha2/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/DataformStub.java similarity index 100% rename from google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/DataformStub.java rename to owl-bot-staging/v1alpha2/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/DataformStub.java diff --git a/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/DataformStubSettings.java b/owl-bot-staging/v1alpha2/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/DataformStubSettings.java similarity index 95% rename from google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/DataformStubSettings.java rename to owl-bot-staging/v1alpha2/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/DataformStubSettings.java index f322026..ad0666c 100644 --- a/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/DataformStubSettings.java +++ b/owl-bot-staging/v1alpha2/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/DataformStubSettings.java @@ -134,9 +134,9 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (dataform.googleapis.com) and default port (443) are used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • The default service address (dataform.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -197,8 +197,7 @@ public class DataformStubSettings extends StubSettings { private final UnaryCallSettings fetchFileDiffSettings; private final PagedCallSettings< - QueryDirectoryContentsRequest, - QueryDirectoryContentsResponse, + QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, QueryDirectoryContentsPagedResponse> queryDirectoryContentsSettings; private final UnaryCallSettings @@ -211,8 +210,7 @@ public class DataformStubSettings extends StubSettings { private final UnaryCallSettings moveFileSettings; private final UnaryCallSettings writeFileSettings; private final PagedCallSettings< - ListCompilationResultsRequest, - ListCompilationResultsResponse, + ListCompilationResultsRequest, ListCompilationResultsResponse, ListCompilationResultsPagedResponse> listCompilationResultsSettings; private final UnaryCallSettings @@ -220,13 +218,11 @@ public class DataformStubSettings extends StubSettings { private final UnaryCallSettings createCompilationResultSettings; private final PagedCallSettings< - QueryCompilationResultActionsRequest, - QueryCompilationResultActionsResponse, + QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, QueryCompilationResultActionsPagedResponse> queryCompilationResultActionsSettings; private final PagedCallSettings< - ListWorkflowInvocationsRequest, - ListWorkflowInvocationsResponse, + ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, ListWorkflowInvocationsPagedResponse> listWorkflowInvocationsSettings; private final UnaryCallSettings @@ -238,8 +234,7 @@ public class DataformStubSettings extends StubSettings { private final UnaryCallSettings cancelWorkflowInvocationSettings; private final PagedCallSettings< - QueryWorkflowInvocationActionsRequest, - QueryWorkflowInvocationActionsResponse, + QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, QueryWorkflowInvocationActionsPagedResponse> queryWorkflowInvocationActionsSettings; private final PagedCallSettings< @@ -328,13 +323,11 @@ public Iterable extractResources(ListWorkspacesResponse payload) { }; private static final PagedListDescriptor< - QueryDirectoryContentsRequest, - QueryDirectoryContentsResponse, + QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, QueryDirectoryContentsResponse.DirectoryEntry> QUERY_DIRECTORY_CONTENTS_PAGE_STR_DESC = new PagedListDescriptor< - QueryDirectoryContentsRequest, - QueryDirectoryContentsResponse, + QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, QueryDirectoryContentsResponse.DirectoryEntry>() { @Override public String emptyToken() { @@ -418,13 +411,11 @@ public Iterable extractResources( }; private static final PagedListDescriptor< - QueryCompilationResultActionsRequest, - QueryCompilationResultActionsResponse, + QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, CompilationResultAction> QUERY_COMPILATION_RESULT_ACTIONS_PAGE_STR_DESC = new PagedListDescriptor< - QueryCompilationResultActionsRequest, - QueryCompilationResultActionsResponse, + QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, CompilationResultAction>() { @Override public String emptyToken() { @@ -470,8 +461,7 @@ public Iterable extractResources( ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, WorkflowInvocation> LIST_WORKFLOW_INVOCATIONS_PAGE_STR_DESC = new PagedListDescriptor< - ListWorkflowInvocationsRequest, - ListWorkflowInvocationsResponse, + ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, WorkflowInvocation>() { @Override public String emptyToken() { @@ -512,13 +502,11 @@ public Iterable extractResources( }; private static final PagedListDescriptor< - QueryWorkflowInvocationActionsRequest, - QueryWorkflowInvocationActionsResponse, + QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, WorkflowInvocationAction> QUERY_WORKFLOW_INVOCATION_ACTIONS_PAGE_STR_DESC = new PagedListDescriptor< - QueryWorkflowInvocationActionsRequest, - QueryWorkflowInvocationActionsResponse, + QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, WorkflowInvocationAction>() { @Override public String emptyToken() { @@ -633,13 +621,11 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - QueryDirectoryContentsRequest, - QueryDirectoryContentsResponse, + QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, QueryDirectoryContentsPagedResponse> QUERY_DIRECTORY_CONTENTS_PAGE_STR_FACT = new PagedListResponseFactory< - QueryDirectoryContentsRequest, - QueryDirectoryContentsResponse, + QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, QueryDirectoryContentsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -649,8 +635,7 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - QueryDirectoryContentsRequest, - QueryDirectoryContentsResponse, + QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, QueryDirectoryContentsResponse.DirectoryEntry> pageContext = PageContext.create( @@ -660,13 +645,11 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListCompilationResultsRequest, - ListCompilationResultsResponse, + ListCompilationResultsRequest, ListCompilationResultsResponse, ListCompilationResultsPagedResponse> LIST_COMPILATION_RESULTS_PAGE_STR_FACT = new PagedListResponseFactory< - ListCompilationResultsRequest, - ListCompilationResultsResponse, + ListCompilationResultsRequest, ListCompilationResultsResponse, ListCompilationResultsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -676,8 +659,7 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListCompilationResultsRequest, - ListCompilationResultsResponse, + ListCompilationResultsRequest, ListCompilationResultsResponse, CompilationResult> pageContext = PageContext.create( @@ -687,13 +669,11 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - QueryCompilationResultActionsRequest, - QueryCompilationResultActionsResponse, + QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, QueryCompilationResultActionsPagedResponse> QUERY_COMPILATION_RESULT_ACTIONS_PAGE_STR_FACT = new PagedListResponseFactory< - QueryCompilationResultActionsRequest, - QueryCompilationResultActionsResponse, + QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, QueryCompilationResultActionsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -704,8 +684,7 @@ public ApiFuture getFuturePagedRespo ApiCallContext context, ApiFuture futureResponse) { PageContext< - QueryCompilationResultActionsRequest, - QueryCompilationResultActionsResponse, + QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, CompilationResultAction> pageContext = PageContext.create( @@ -719,13 +698,11 @@ public ApiFuture getFuturePagedRespo }; private static final PagedListResponseFactory< - ListWorkflowInvocationsRequest, - ListWorkflowInvocationsResponse, + ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, ListWorkflowInvocationsPagedResponse> LIST_WORKFLOW_INVOCATIONS_PAGE_STR_FACT = new PagedListResponseFactory< - ListWorkflowInvocationsRequest, - ListWorkflowInvocationsResponse, + ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, ListWorkflowInvocationsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -735,8 +712,7 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListWorkflowInvocationsRequest, - ListWorkflowInvocationsResponse, + ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, WorkflowInvocation> pageContext = PageContext.create( @@ -746,13 +722,11 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - QueryWorkflowInvocationActionsRequest, - QueryWorkflowInvocationActionsResponse, + QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, QueryWorkflowInvocationActionsPagedResponse> QUERY_WORKFLOW_INVOCATION_ACTIONS_PAGE_STR_FACT = new PagedListResponseFactory< - QueryWorkflowInvocationActionsRequest, - QueryWorkflowInvocationActionsResponse, + QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, QueryWorkflowInvocationActionsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -764,8 +738,7 @@ public ApiFuture getFuturePagedResp ApiCallContext context, ApiFuture futureResponse) { PageContext< - QueryWorkflowInvocationActionsRequest, - QueryWorkflowInvocationActionsResponse, + QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, WorkflowInvocationAction> pageContext = PageContext.create( @@ -895,8 +868,7 @@ public UnaryCallSettings fetchFileD /** Returns the object with the settings used for calls to queryDirectoryContents. */ public PagedCallSettings< - QueryDirectoryContentsRequest, - QueryDirectoryContentsResponse, + QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, QueryDirectoryContentsPagedResponse> queryDirectoryContentsSettings() { return queryDirectoryContentsSettings; @@ -939,8 +911,7 @@ public UnaryCallSettings writeFileSettings( /** Returns the object with the settings used for calls to listCompilationResults. */ public PagedCallSettings< - ListCompilationResultsRequest, - ListCompilationResultsResponse, + ListCompilationResultsRequest, ListCompilationResultsResponse, ListCompilationResultsPagedResponse> listCompilationResultsSettings() { return listCompilationResultsSettings; @@ -960,8 +931,7 @@ public UnaryCallSettings writeFileSettings( /** Returns the object with the settings used for calls to queryCompilationResultActions. */ public PagedCallSettings< - QueryCompilationResultActionsRequest, - QueryCompilationResultActionsResponse, + QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, QueryCompilationResultActionsPagedResponse> queryCompilationResultActionsSettings() { return queryCompilationResultActionsSettings; @@ -969,8 +939,7 @@ public UnaryCallSettings writeFileSettings( /** Returns the object with the settings used for calls to listWorkflowInvocations. */ public PagedCallSettings< - ListWorkflowInvocationsRequest, - ListWorkflowInvocationsResponse, + ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, ListWorkflowInvocationsPagedResponse> listWorkflowInvocationsSettings() { return listWorkflowInvocationsSettings; @@ -1002,8 +971,7 @@ public UnaryCallSettings writeFileSettings( /** Returns the object with the settings used for calls to queryWorkflowInvocationActions. */ public PagedCallSettings< - QueryWorkflowInvocationActionsRequest, - QueryWorkflowInvocationActionsResponse, + QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, QueryWorkflowInvocationActionsPagedResponse> queryWorkflowInvocationActionsSettings() { return queryWorkflowInvocationActionsSettings; @@ -1223,8 +1191,7 @@ public static class Builder extends StubSettings.Builder fetchFileDiffSettings; private final PagedCallSettings.Builder< - QueryDirectoryContentsRequest, - QueryDirectoryContentsResponse, + QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, QueryDirectoryContentsPagedResponse> queryDirectoryContentsSettings; private final UnaryCallSettings.Builder @@ -1237,8 +1204,7 @@ public static class Builder extends StubSettings.Builder moveFileSettings; private final UnaryCallSettings.Builder writeFileSettings; private final PagedCallSettings.Builder< - ListCompilationResultsRequest, - ListCompilationResultsResponse, + ListCompilationResultsRequest, ListCompilationResultsResponse, ListCompilationResultsPagedResponse> listCompilationResultsSettings; private final UnaryCallSettings.Builder @@ -1246,13 +1212,11 @@ public static class Builder extends StubSettings.Builder createCompilationResultSettings; private final PagedCallSettings.Builder< - QueryCompilationResultActionsRequest, - QueryCompilationResultActionsResponse, + QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, QueryCompilationResultActionsPagedResponse> queryCompilationResultActionsSettings; private final PagedCallSettings.Builder< - ListWorkflowInvocationsRequest, - ListWorkflowInvocationsResponse, + ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, ListWorkflowInvocationsPagedResponse> listWorkflowInvocationsSettings; private final UnaryCallSettings.Builder @@ -1264,8 +1228,7 @@ public static class Builder extends StubSettings.Builder cancelWorkflowInvocationSettings; private final PagedCallSettings.Builder< - QueryWorkflowInvocationActionsRequest, - QueryWorkflowInvocationActionsResponse, + QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, QueryWorkflowInvocationActionsPagedResponse> queryWorkflowInvocationActionsSettings; private final PagedCallSettings.Builder< @@ -1843,8 +1806,7 @@ public UnaryCallSettings.Builder pushGitCommitsSet /** Returns the builder for the settings used for calls to queryDirectoryContents. */ public PagedCallSettings.Builder< - QueryDirectoryContentsRequest, - QueryDirectoryContentsResponse, + QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, QueryDirectoryContentsPagedResponse> queryDirectoryContentsSettings() { return queryDirectoryContentsSettings; @@ -1889,8 +1851,7 @@ public UnaryCallSettings.Builder writeFileS /** Returns the builder for the settings used for calls to listCompilationResults. */ public PagedCallSettings.Builder< - ListCompilationResultsRequest, - ListCompilationResultsResponse, + ListCompilationResultsRequest, ListCompilationResultsResponse, ListCompilationResultsPagedResponse> listCompilationResultsSettings() { return listCompilationResultsSettings; @@ -1910,8 +1871,7 @@ public UnaryCallSettings.Builder writeFileS /** Returns the builder for the settings used for calls to queryCompilationResultActions. */ public PagedCallSettings.Builder< - QueryCompilationResultActionsRequest, - QueryCompilationResultActionsResponse, + QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, QueryCompilationResultActionsPagedResponse> queryCompilationResultActionsSettings() { return queryCompilationResultActionsSettings; @@ -1919,8 +1879,7 @@ public UnaryCallSettings.Builder writeFileS /** Returns the builder for the settings used for calls to listWorkflowInvocations. */ public PagedCallSettings.Builder< - ListWorkflowInvocationsRequest, - ListWorkflowInvocationsResponse, + ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, ListWorkflowInvocationsPagedResponse> listWorkflowInvocationsSettings() { return listWorkflowInvocationsSettings; @@ -1952,8 +1911,7 @@ public UnaryCallSettings.Builder writeFileS /** Returns the builder for the settings used for calls to queryWorkflowInvocationActions. */ public PagedCallSettings.Builder< - QueryWorkflowInvocationActionsRequest, - QueryWorkflowInvocationActionsResponse, + QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, QueryWorkflowInvocationActionsPagedResponse> queryWorkflowInvocationActionsSettings() { return queryWorkflowInvocationActionsSettings; diff --git a/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/GrpcDataformCallableFactory.java b/owl-bot-staging/v1alpha2/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/GrpcDataformCallableFactory.java similarity index 100% rename from google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/GrpcDataformCallableFactory.java rename to owl-bot-staging/v1alpha2/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/GrpcDataformCallableFactory.java diff --git a/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/GrpcDataformStub.java b/owl-bot-staging/v1alpha2/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/GrpcDataformStub.java similarity index 99% rename from google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/GrpcDataformStub.java rename to owl-bot-staging/v1alpha2/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/GrpcDataformStub.java index 207a9ac..740fd28 100644 --- a/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/GrpcDataformStub.java +++ b/owl-bot-staging/v1alpha2/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/GrpcDataformStub.java @@ -104,6 +104,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/HttpJsonDataformCallableFactory.java b/owl-bot-staging/v1alpha2/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/HttpJsonDataformCallableFactory.java similarity index 100% rename from google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/HttpJsonDataformCallableFactory.java rename to owl-bot-staging/v1alpha2/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/HttpJsonDataformCallableFactory.java diff --git a/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/HttpJsonDataformStub.java b/owl-bot-staging/v1alpha2/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/HttpJsonDataformStub.java similarity index 100% rename from google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/HttpJsonDataformStub.java rename to owl-bot-staging/v1alpha2/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/HttpJsonDataformStub.java diff --git a/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/DataformClientHttpJsonTest.java b/owl-bot-staging/v1alpha2/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/DataformClientHttpJsonTest.java similarity index 100% rename from google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/DataformClientHttpJsonTest.java rename to owl-bot-staging/v1alpha2/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/DataformClientHttpJsonTest.java diff --git a/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/DataformClientTest.java b/owl-bot-staging/v1alpha2/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/DataformClientTest.java similarity index 100% rename from google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/DataformClientTest.java rename to owl-bot-staging/v1alpha2/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/DataformClientTest.java diff --git a/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/MockDataform.java b/owl-bot-staging/v1alpha2/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/MockDataform.java similarity index 100% rename from google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/MockDataform.java rename to owl-bot-staging/v1alpha2/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/MockDataform.java diff --git a/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/MockDataformImpl.java b/owl-bot-staging/v1alpha2/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/MockDataformImpl.java similarity index 100% rename from google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/MockDataformImpl.java rename to owl-bot-staging/v1alpha2/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/MockDataformImpl.java diff --git a/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/MockIAMPolicy.java b/owl-bot-staging/v1alpha2/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/MockIAMPolicy.java similarity index 100% rename from google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/MockIAMPolicy.java rename to owl-bot-staging/v1alpha2/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/MockIAMPolicy.java diff --git a/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/MockIAMPolicyImpl.java b/owl-bot-staging/v1alpha2/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/MockIAMPolicyImpl.java similarity index 100% rename from google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/MockIAMPolicyImpl.java rename to owl-bot-staging/v1alpha2/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/MockIAMPolicyImpl.java diff --git a/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/MockLocations.java b/owl-bot-staging/v1alpha2/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/MockLocations.java similarity index 100% rename from google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/MockLocations.java rename to owl-bot-staging/v1alpha2/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/MockLocations.java diff --git a/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/MockLocationsImpl.java b/owl-bot-staging/v1alpha2/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/MockLocationsImpl.java similarity index 100% rename from google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/MockLocationsImpl.java rename to owl-bot-staging/v1alpha2/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/MockLocationsImpl.java diff --git a/owl-bot-staging/v1alpha2/grpc-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DataformGrpc.java b/owl-bot-staging/v1alpha2/grpc-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DataformGrpc.java new file mode 100644 index 0000000..288a945 --- /dev/null +++ b/owl-bot-staging/v1alpha2/grpc-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DataformGrpc.java @@ -0,0 +1,3322 @@ +package com.google.cloud.dataform.v1alpha2; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *

+ * Dataform is a service to develop, create, document, test, and update curated
+ * tables in BigQuery.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/dataform/v1alpha2/dataform.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class DataformGrpc { + + private DataformGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.dataform.v1alpha2.Dataform"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getListRepositoriesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListRepositories", + requestType = com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest.class, + responseType = com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListRepositoriesMethod() { + io.grpc.MethodDescriptor getListRepositoriesMethod; + if ((getListRepositoriesMethod = DataformGrpc.getListRepositoriesMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getListRepositoriesMethod = DataformGrpc.getListRepositoriesMethod) == null) { + DataformGrpc.getListRepositoriesMethod = getListRepositoriesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRepositories")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("ListRepositories")) + .build(); + } + } + } + return getListRepositoriesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetRepository", + requestType = com.google.cloud.dataform.v1alpha2.GetRepositoryRequest.class, + responseType = com.google.cloud.dataform.v1alpha2.Repository.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetRepositoryMethod() { + io.grpc.MethodDescriptor getGetRepositoryMethod; + if ((getGetRepositoryMethod = DataformGrpc.getGetRepositoryMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getGetRepositoryMethod = DataformGrpc.getGetRepositoryMethod) == null) { + DataformGrpc.getGetRepositoryMethod = getGetRepositoryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.GetRepositoryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.Repository.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("GetRepository")) + .build(); + } + } + } + return getGetRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateRepository", + requestType = com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest.class, + responseType = com.google.cloud.dataform.v1alpha2.Repository.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateRepositoryMethod() { + io.grpc.MethodDescriptor getCreateRepositoryMethod; + if ((getCreateRepositoryMethod = DataformGrpc.getCreateRepositoryMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getCreateRepositoryMethod = DataformGrpc.getCreateRepositoryMethod) == null) { + DataformGrpc.getCreateRepositoryMethod = getCreateRepositoryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.Repository.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("CreateRepository")) + .build(); + } + } + } + return getCreateRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateRepository", + requestType = com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest.class, + responseType = com.google.cloud.dataform.v1alpha2.Repository.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateRepositoryMethod() { + io.grpc.MethodDescriptor getUpdateRepositoryMethod; + if ((getUpdateRepositoryMethod = DataformGrpc.getUpdateRepositoryMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getUpdateRepositoryMethod = DataformGrpc.getUpdateRepositoryMethod) == null) { + DataformGrpc.getUpdateRepositoryMethod = getUpdateRepositoryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.Repository.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("UpdateRepository")) + .build(); + } + } + } + return getUpdateRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteRepository", + requestType = com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteRepositoryMethod() { + io.grpc.MethodDescriptor getDeleteRepositoryMethod; + if ((getDeleteRepositoryMethod = DataformGrpc.getDeleteRepositoryMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getDeleteRepositoryMethod = DataformGrpc.getDeleteRepositoryMethod) == null) { + DataformGrpc.getDeleteRepositoryMethod = getDeleteRepositoryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("DeleteRepository")) + .build(); + } + } + } + return getDeleteRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor getFetchRemoteBranchesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "FetchRemoteBranches", + requestType = com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest.class, + responseType = com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getFetchRemoteBranchesMethod() { + io.grpc.MethodDescriptor getFetchRemoteBranchesMethod; + if ((getFetchRemoteBranchesMethod = DataformGrpc.getFetchRemoteBranchesMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getFetchRemoteBranchesMethod = DataformGrpc.getFetchRemoteBranchesMethod) == null) { + DataformGrpc.getFetchRemoteBranchesMethod = getFetchRemoteBranchesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FetchRemoteBranches")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("FetchRemoteBranches")) + .build(); + } + } + } + return getFetchRemoteBranchesMethod; + } + + private static volatile io.grpc.MethodDescriptor getListWorkspacesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListWorkspaces", + requestType = com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest.class, + responseType = com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListWorkspacesMethod() { + io.grpc.MethodDescriptor getListWorkspacesMethod; + if ((getListWorkspacesMethod = DataformGrpc.getListWorkspacesMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getListWorkspacesMethod = DataformGrpc.getListWorkspacesMethod) == null) { + DataformGrpc.getListWorkspacesMethod = getListWorkspacesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListWorkspaces")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("ListWorkspaces")) + .build(); + } + } + } + return getListWorkspacesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetWorkspaceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetWorkspace", + requestType = com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest.class, + responseType = com.google.cloud.dataform.v1alpha2.Workspace.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetWorkspaceMethod() { + io.grpc.MethodDescriptor getGetWorkspaceMethod; + if ((getGetWorkspaceMethod = DataformGrpc.getGetWorkspaceMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getGetWorkspaceMethod = DataformGrpc.getGetWorkspaceMethod) == null) { + DataformGrpc.getGetWorkspaceMethod = getGetWorkspaceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetWorkspace")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.Workspace.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("GetWorkspace")) + .build(); + } + } + } + return getGetWorkspaceMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateWorkspaceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateWorkspace", + requestType = com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest.class, + responseType = com.google.cloud.dataform.v1alpha2.Workspace.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateWorkspaceMethod() { + io.grpc.MethodDescriptor getCreateWorkspaceMethod; + if ((getCreateWorkspaceMethod = DataformGrpc.getCreateWorkspaceMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getCreateWorkspaceMethod = DataformGrpc.getCreateWorkspaceMethod) == null) { + DataformGrpc.getCreateWorkspaceMethod = getCreateWorkspaceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateWorkspace")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.Workspace.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("CreateWorkspace")) + .build(); + } + } + } + return getCreateWorkspaceMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteWorkspaceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteWorkspace", + requestType = com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteWorkspaceMethod() { + io.grpc.MethodDescriptor getDeleteWorkspaceMethod; + if ((getDeleteWorkspaceMethod = DataformGrpc.getDeleteWorkspaceMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getDeleteWorkspaceMethod = DataformGrpc.getDeleteWorkspaceMethod) == null) { + DataformGrpc.getDeleteWorkspaceMethod = getDeleteWorkspaceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteWorkspace")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("DeleteWorkspace")) + .build(); + } + } + } + return getDeleteWorkspaceMethod; + } + + private static volatile io.grpc.MethodDescriptor getInstallNpmPackagesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "InstallNpmPackages", + requestType = com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest.class, + responseType = com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getInstallNpmPackagesMethod() { + io.grpc.MethodDescriptor getInstallNpmPackagesMethod; + if ((getInstallNpmPackagesMethod = DataformGrpc.getInstallNpmPackagesMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getInstallNpmPackagesMethod = DataformGrpc.getInstallNpmPackagesMethod) == null) { + DataformGrpc.getInstallNpmPackagesMethod = getInstallNpmPackagesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "InstallNpmPackages")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("InstallNpmPackages")) + .build(); + } + } + } + return getInstallNpmPackagesMethod; + } + + private static volatile io.grpc.MethodDescriptor getPullGitCommitsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "PullGitCommits", + requestType = com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getPullGitCommitsMethod() { + io.grpc.MethodDescriptor getPullGitCommitsMethod; + if ((getPullGitCommitsMethod = DataformGrpc.getPullGitCommitsMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getPullGitCommitsMethod = DataformGrpc.getPullGitCommitsMethod) == null) { + DataformGrpc.getPullGitCommitsMethod = getPullGitCommitsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PullGitCommits")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("PullGitCommits")) + .build(); + } + } + } + return getPullGitCommitsMethod; + } + + private static volatile io.grpc.MethodDescriptor getPushGitCommitsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "PushGitCommits", + requestType = com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getPushGitCommitsMethod() { + io.grpc.MethodDescriptor getPushGitCommitsMethod; + if ((getPushGitCommitsMethod = DataformGrpc.getPushGitCommitsMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getPushGitCommitsMethod = DataformGrpc.getPushGitCommitsMethod) == null) { + DataformGrpc.getPushGitCommitsMethod = getPushGitCommitsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PushGitCommits")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("PushGitCommits")) + .build(); + } + } + } + return getPushGitCommitsMethod; + } + + private static volatile io.grpc.MethodDescriptor getFetchFileGitStatusesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "FetchFileGitStatuses", + requestType = com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest.class, + responseType = com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getFetchFileGitStatusesMethod() { + io.grpc.MethodDescriptor getFetchFileGitStatusesMethod; + if ((getFetchFileGitStatusesMethod = DataformGrpc.getFetchFileGitStatusesMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getFetchFileGitStatusesMethod = DataformGrpc.getFetchFileGitStatusesMethod) == null) { + DataformGrpc.getFetchFileGitStatusesMethod = getFetchFileGitStatusesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FetchFileGitStatuses")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("FetchFileGitStatuses")) + .build(); + } + } + } + return getFetchFileGitStatusesMethod; + } + + private static volatile io.grpc.MethodDescriptor getFetchGitAheadBehindMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "FetchGitAheadBehind", + requestType = com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest.class, + responseType = com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getFetchGitAheadBehindMethod() { + io.grpc.MethodDescriptor getFetchGitAheadBehindMethod; + if ((getFetchGitAheadBehindMethod = DataformGrpc.getFetchGitAheadBehindMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getFetchGitAheadBehindMethod = DataformGrpc.getFetchGitAheadBehindMethod) == null) { + DataformGrpc.getFetchGitAheadBehindMethod = getFetchGitAheadBehindMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FetchGitAheadBehind")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("FetchGitAheadBehind")) + .build(); + } + } + } + return getFetchGitAheadBehindMethod; + } + + private static volatile io.grpc.MethodDescriptor getCommitWorkspaceChangesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CommitWorkspaceChanges", + requestType = com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCommitWorkspaceChangesMethod() { + io.grpc.MethodDescriptor getCommitWorkspaceChangesMethod; + if ((getCommitWorkspaceChangesMethod = DataformGrpc.getCommitWorkspaceChangesMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getCommitWorkspaceChangesMethod = DataformGrpc.getCommitWorkspaceChangesMethod) == null) { + DataformGrpc.getCommitWorkspaceChangesMethod = getCommitWorkspaceChangesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CommitWorkspaceChanges")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("CommitWorkspaceChanges")) + .build(); + } + } + } + return getCommitWorkspaceChangesMethod; + } + + private static volatile io.grpc.MethodDescriptor getResetWorkspaceChangesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ResetWorkspaceChanges", + requestType = com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getResetWorkspaceChangesMethod() { + io.grpc.MethodDescriptor getResetWorkspaceChangesMethod; + if ((getResetWorkspaceChangesMethod = DataformGrpc.getResetWorkspaceChangesMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getResetWorkspaceChangesMethod = DataformGrpc.getResetWorkspaceChangesMethod) == null) { + DataformGrpc.getResetWorkspaceChangesMethod = getResetWorkspaceChangesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResetWorkspaceChanges")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("ResetWorkspaceChanges")) + .build(); + } + } + } + return getResetWorkspaceChangesMethod; + } + + private static volatile io.grpc.MethodDescriptor getFetchFileDiffMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "FetchFileDiff", + requestType = com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest.class, + responseType = com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getFetchFileDiffMethod() { + io.grpc.MethodDescriptor getFetchFileDiffMethod; + if ((getFetchFileDiffMethod = DataformGrpc.getFetchFileDiffMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getFetchFileDiffMethod = DataformGrpc.getFetchFileDiffMethod) == null) { + DataformGrpc.getFetchFileDiffMethod = getFetchFileDiffMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FetchFileDiff")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("FetchFileDiff")) + .build(); + } + } + } + return getFetchFileDiffMethod; + } + + private static volatile io.grpc.MethodDescriptor getQueryDirectoryContentsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "QueryDirectoryContents", + requestType = com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest.class, + responseType = com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getQueryDirectoryContentsMethod() { + io.grpc.MethodDescriptor getQueryDirectoryContentsMethod; + if ((getQueryDirectoryContentsMethod = DataformGrpc.getQueryDirectoryContentsMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getQueryDirectoryContentsMethod = DataformGrpc.getQueryDirectoryContentsMethod) == null) { + DataformGrpc.getQueryDirectoryContentsMethod = getQueryDirectoryContentsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "QueryDirectoryContents")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("QueryDirectoryContents")) + .build(); + } + } + } + return getQueryDirectoryContentsMethod; + } + + private static volatile io.grpc.MethodDescriptor getMakeDirectoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "MakeDirectory", + requestType = com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest.class, + responseType = com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getMakeDirectoryMethod() { + io.grpc.MethodDescriptor getMakeDirectoryMethod; + if ((getMakeDirectoryMethod = DataformGrpc.getMakeDirectoryMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getMakeDirectoryMethod = DataformGrpc.getMakeDirectoryMethod) == null) { + DataformGrpc.getMakeDirectoryMethod = getMakeDirectoryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "MakeDirectory")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("MakeDirectory")) + .build(); + } + } + } + return getMakeDirectoryMethod; + } + + private static volatile io.grpc.MethodDescriptor getRemoveDirectoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RemoveDirectory", + requestType = com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getRemoveDirectoryMethod() { + io.grpc.MethodDescriptor getRemoveDirectoryMethod; + if ((getRemoveDirectoryMethod = DataformGrpc.getRemoveDirectoryMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getRemoveDirectoryMethod = DataformGrpc.getRemoveDirectoryMethod) == null) { + DataformGrpc.getRemoveDirectoryMethod = getRemoveDirectoryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RemoveDirectory")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("RemoveDirectory")) + .build(); + } + } + } + return getRemoveDirectoryMethod; + } + + private static volatile io.grpc.MethodDescriptor getMoveDirectoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "MoveDirectory", + requestType = com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest.class, + responseType = com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getMoveDirectoryMethod() { + io.grpc.MethodDescriptor getMoveDirectoryMethod; + if ((getMoveDirectoryMethod = DataformGrpc.getMoveDirectoryMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getMoveDirectoryMethod = DataformGrpc.getMoveDirectoryMethod) == null) { + DataformGrpc.getMoveDirectoryMethod = getMoveDirectoryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "MoveDirectory")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("MoveDirectory")) + .build(); + } + } + } + return getMoveDirectoryMethod; + } + + private static volatile io.grpc.MethodDescriptor getReadFileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ReadFile", + requestType = com.google.cloud.dataform.v1alpha2.ReadFileRequest.class, + responseType = com.google.cloud.dataform.v1alpha2.ReadFileResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getReadFileMethod() { + io.grpc.MethodDescriptor getReadFileMethod; + if ((getReadFileMethod = DataformGrpc.getReadFileMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getReadFileMethod = DataformGrpc.getReadFileMethod) == null) { + DataformGrpc.getReadFileMethod = getReadFileMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReadFile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.ReadFileRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.ReadFileResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("ReadFile")) + .build(); + } + } + } + return getReadFileMethod; + } + + private static volatile io.grpc.MethodDescriptor getRemoveFileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RemoveFile", + requestType = com.google.cloud.dataform.v1alpha2.RemoveFileRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getRemoveFileMethod() { + io.grpc.MethodDescriptor getRemoveFileMethod; + if ((getRemoveFileMethod = DataformGrpc.getRemoveFileMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getRemoveFileMethod = DataformGrpc.getRemoveFileMethod) == null) { + DataformGrpc.getRemoveFileMethod = getRemoveFileMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RemoveFile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.RemoveFileRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("RemoveFile")) + .build(); + } + } + } + return getRemoveFileMethod; + } + + private static volatile io.grpc.MethodDescriptor getMoveFileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "MoveFile", + requestType = com.google.cloud.dataform.v1alpha2.MoveFileRequest.class, + responseType = com.google.cloud.dataform.v1alpha2.MoveFileResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getMoveFileMethod() { + io.grpc.MethodDescriptor getMoveFileMethod; + if ((getMoveFileMethod = DataformGrpc.getMoveFileMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getMoveFileMethod = DataformGrpc.getMoveFileMethod) == null) { + DataformGrpc.getMoveFileMethod = getMoveFileMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "MoveFile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.MoveFileRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.MoveFileResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("MoveFile")) + .build(); + } + } + } + return getMoveFileMethod; + } + + private static volatile io.grpc.MethodDescriptor getWriteFileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "WriteFile", + requestType = com.google.cloud.dataform.v1alpha2.WriteFileRequest.class, + responseType = com.google.cloud.dataform.v1alpha2.WriteFileResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getWriteFileMethod() { + io.grpc.MethodDescriptor getWriteFileMethod; + if ((getWriteFileMethod = DataformGrpc.getWriteFileMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getWriteFileMethod = DataformGrpc.getWriteFileMethod) == null) { + DataformGrpc.getWriteFileMethod = getWriteFileMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "WriteFile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.WriteFileRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.WriteFileResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("WriteFile")) + .build(); + } + } + } + return getWriteFileMethod; + } + + private static volatile io.grpc.MethodDescriptor getListCompilationResultsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListCompilationResults", + requestType = com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest.class, + responseType = com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListCompilationResultsMethod() { + io.grpc.MethodDescriptor getListCompilationResultsMethod; + if ((getListCompilationResultsMethod = DataformGrpc.getListCompilationResultsMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getListCompilationResultsMethod = DataformGrpc.getListCompilationResultsMethod) == null) { + DataformGrpc.getListCompilationResultsMethod = getListCompilationResultsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCompilationResults")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("ListCompilationResults")) + .build(); + } + } + } + return getListCompilationResultsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetCompilationResultMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetCompilationResult", + requestType = com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest.class, + responseType = com.google.cloud.dataform.v1alpha2.CompilationResult.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetCompilationResultMethod() { + io.grpc.MethodDescriptor getGetCompilationResultMethod; + if ((getGetCompilationResultMethod = DataformGrpc.getGetCompilationResultMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getGetCompilationResultMethod = DataformGrpc.getGetCompilationResultMethod) == null) { + DataformGrpc.getGetCompilationResultMethod = getGetCompilationResultMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCompilationResult")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.CompilationResult.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("GetCompilationResult")) + .build(); + } + } + } + return getGetCompilationResultMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateCompilationResultMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateCompilationResult", + requestType = com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest.class, + responseType = com.google.cloud.dataform.v1alpha2.CompilationResult.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateCompilationResultMethod() { + io.grpc.MethodDescriptor getCreateCompilationResultMethod; + if ((getCreateCompilationResultMethod = DataformGrpc.getCreateCompilationResultMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getCreateCompilationResultMethod = DataformGrpc.getCreateCompilationResultMethod) == null) { + DataformGrpc.getCreateCompilationResultMethod = getCreateCompilationResultMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCompilationResult")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.CompilationResult.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("CreateCompilationResult")) + .build(); + } + } + } + return getCreateCompilationResultMethod; + } + + private static volatile io.grpc.MethodDescriptor getQueryCompilationResultActionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "QueryCompilationResultActions", + requestType = com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest.class, + responseType = com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getQueryCompilationResultActionsMethod() { + io.grpc.MethodDescriptor getQueryCompilationResultActionsMethod; + if ((getQueryCompilationResultActionsMethod = DataformGrpc.getQueryCompilationResultActionsMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getQueryCompilationResultActionsMethod = DataformGrpc.getQueryCompilationResultActionsMethod) == null) { + DataformGrpc.getQueryCompilationResultActionsMethod = getQueryCompilationResultActionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "QueryCompilationResultActions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("QueryCompilationResultActions")) + .build(); + } + } + } + return getQueryCompilationResultActionsMethod; + } + + private static volatile io.grpc.MethodDescriptor getListWorkflowInvocationsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListWorkflowInvocations", + requestType = com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest.class, + responseType = com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListWorkflowInvocationsMethod() { + io.grpc.MethodDescriptor getListWorkflowInvocationsMethod; + if ((getListWorkflowInvocationsMethod = DataformGrpc.getListWorkflowInvocationsMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getListWorkflowInvocationsMethod = DataformGrpc.getListWorkflowInvocationsMethod) == null) { + DataformGrpc.getListWorkflowInvocationsMethod = getListWorkflowInvocationsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListWorkflowInvocations")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("ListWorkflowInvocations")) + .build(); + } + } + } + return getListWorkflowInvocationsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetWorkflowInvocationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetWorkflowInvocation", + requestType = com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest.class, + responseType = com.google.cloud.dataform.v1alpha2.WorkflowInvocation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetWorkflowInvocationMethod() { + io.grpc.MethodDescriptor getGetWorkflowInvocationMethod; + if ((getGetWorkflowInvocationMethod = DataformGrpc.getGetWorkflowInvocationMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getGetWorkflowInvocationMethod = DataformGrpc.getGetWorkflowInvocationMethod) == null) { + DataformGrpc.getGetWorkflowInvocationMethod = getGetWorkflowInvocationMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetWorkflowInvocation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("GetWorkflowInvocation")) + .build(); + } + } + } + return getGetWorkflowInvocationMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateWorkflowInvocationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateWorkflowInvocation", + requestType = com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest.class, + responseType = com.google.cloud.dataform.v1alpha2.WorkflowInvocation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateWorkflowInvocationMethod() { + io.grpc.MethodDescriptor getCreateWorkflowInvocationMethod; + if ((getCreateWorkflowInvocationMethod = DataformGrpc.getCreateWorkflowInvocationMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getCreateWorkflowInvocationMethod = DataformGrpc.getCreateWorkflowInvocationMethod) == null) { + DataformGrpc.getCreateWorkflowInvocationMethod = getCreateWorkflowInvocationMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateWorkflowInvocation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("CreateWorkflowInvocation")) + .build(); + } + } + } + return getCreateWorkflowInvocationMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteWorkflowInvocationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteWorkflowInvocation", + requestType = com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteWorkflowInvocationMethod() { + io.grpc.MethodDescriptor getDeleteWorkflowInvocationMethod; + if ((getDeleteWorkflowInvocationMethod = DataformGrpc.getDeleteWorkflowInvocationMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getDeleteWorkflowInvocationMethod = DataformGrpc.getDeleteWorkflowInvocationMethod) == null) { + DataformGrpc.getDeleteWorkflowInvocationMethod = getDeleteWorkflowInvocationMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteWorkflowInvocation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("DeleteWorkflowInvocation")) + .build(); + } + } + } + return getDeleteWorkflowInvocationMethod; + } + + private static volatile io.grpc.MethodDescriptor getCancelWorkflowInvocationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CancelWorkflowInvocation", + requestType = com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCancelWorkflowInvocationMethod() { + io.grpc.MethodDescriptor getCancelWorkflowInvocationMethod; + if ((getCancelWorkflowInvocationMethod = DataformGrpc.getCancelWorkflowInvocationMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getCancelWorkflowInvocationMethod = DataformGrpc.getCancelWorkflowInvocationMethod) == null) { + DataformGrpc.getCancelWorkflowInvocationMethod = getCancelWorkflowInvocationMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelWorkflowInvocation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("CancelWorkflowInvocation")) + .build(); + } + } + } + return getCancelWorkflowInvocationMethod; + } + + private static volatile io.grpc.MethodDescriptor getQueryWorkflowInvocationActionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "QueryWorkflowInvocationActions", + requestType = com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest.class, + responseType = com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getQueryWorkflowInvocationActionsMethod() { + io.grpc.MethodDescriptor getQueryWorkflowInvocationActionsMethod; + if ((getQueryWorkflowInvocationActionsMethod = DataformGrpc.getQueryWorkflowInvocationActionsMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getQueryWorkflowInvocationActionsMethod = DataformGrpc.getQueryWorkflowInvocationActionsMethod) == null) { + DataformGrpc.getQueryWorkflowInvocationActionsMethod = getQueryWorkflowInvocationActionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "QueryWorkflowInvocationActions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("QueryWorkflowInvocationActions")) + .build(); + } + } + } + return getQueryWorkflowInvocationActionsMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static DataformStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataformStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataformStub(channel, callOptions); + } + }; + return DataformStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static DataformBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataformBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataformBlockingStub(channel, callOptions); + } + }; + return DataformBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static DataformFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataformFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataformFutureStub(channel, callOptions); + } + }; + return DataformFutureStub.newStub(factory, channel); + } + + /** + *
+   * Dataform is a service to develop, create, document, test, and update curated
+   * tables in BigQuery.
+   * 
+ */ + public static abstract class DataformImplBase implements io.grpc.BindableService { + + /** + *
+     * Lists Repositories in a given project and location.
+     * 
+ */ + public void listRepositories(com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListRepositoriesMethod(), responseObserver); + } + + /** + *
+     * Fetches a single Repository.
+     * 
+ */ + public void getRepository(com.google.cloud.dataform.v1alpha2.GetRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetRepositoryMethod(), responseObserver); + } + + /** + *
+     * Creates a new Repository in a given project and location.
+     * 
+ */ + public void createRepository(com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateRepositoryMethod(), responseObserver); + } + + /** + *
+     * Updates a single Repository.
+     * 
+ */ + public void updateRepository(com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateRepositoryMethod(), responseObserver); + } + + /** + *
+     * Deletes a single Repository.
+     * 
+ */ + public void deleteRepository(com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteRepositoryMethod(), responseObserver); + } + + /** + *
+     * Fetches a Repository's remote branches.
+     * 
+ */ + public void fetchRemoteBranches(com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFetchRemoteBranchesMethod(), responseObserver); + } + + /** + *
+     * Lists Workspaces in a given Repository.
+     * 
+ */ + public void listWorkspaces(com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListWorkspacesMethod(), responseObserver); + } + + /** + *
+     * Fetches a single Workspace.
+     * 
+ */ + public void getWorkspace(com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetWorkspaceMethod(), responseObserver); + } + + /** + *
+     * Creates a new Workspace in a given Repository.
+     * 
+ */ + public void createWorkspace(com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateWorkspaceMethod(), responseObserver); + } + + /** + *
+     * Deletes a single Workspace.
+     * 
+ */ + public void deleteWorkspace(com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteWorkspaceMethod(), responseObserver); + } + + /** + *
+     * Installs dependency NPM packages (inside a Workspace).
+     * 
+ */ + public void installNpmPackages(com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getInstallNpmPackagesMethod(), responseObserver); + } + + /** + *
+     * Pulls Git commits from the Repository's remote into a Workspace.
+     * 
+ */ + public void pullGitCommits(com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPullGitCommitsMethod(), responseObserver); + } + + /** + *
+     * Pushes Git commits from a Workspace to the Repository's remote.
+     * 
+ */ + public void pushGitCommits(com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPushGitCommitsMethod(), responseObserver); + } + + /** + *
+     * Fetches Git statuses for the files in a Workspace.
+     * 
+ */ + public void fetchFileGitStatuses(com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFetchFileGitStatusesMethod(), responseObserver); + } + + /** + *
+     * Fetches Git ahead/behind against a remote branch.
+     * 
+ */ + public void fetchGitAheadBehind(com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFetchGitAheadBehindMethod(), responseObserver); + } + + /** + *
+     * Applies a Git commit for uncommitted files in a Workspace.
+     * 
+ */ + public void commitWorkspaceChanges(com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCommitWorkspaceChangesMethod(), responseObserver); + } + + /** + *
+     * Performs a Git reset for uncommitted files in a Workspace.
+     * 
+ */ + public void resetWorkspaceChanges(com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getResetWorkspaceChangesMethod(), responseObserver); + } + + /** + *
+     * Fetches Git diff for an uncommitted file in a Workspace.
+     * 
+ */ + public void fetchFileDiff(com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFetchFileDiffMethod(), responseObserver); + } + + /** + *
+     * Returns the contents of a given Workspace directory.
+     * 
+ */ + public void queryDirectoryContents(com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getQueryDirectoryContentsMethod(), responseObserver); + } + + /** + *
+     * Creates a directory inside a Workspace.
+     * 
+ */ + public void makeDirectory(com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getMakeDirectoryMethod(), responseObserver); + } + + /** + *
+     * Deletes a directory (inside a Workspace) and all of its contents.
+     * 
+ */ + public void removeDirectory(com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRemoveDirectoryMethod(), responseObserver); + } + + /** + *
+     * Moves a directory (inside a Workspace), and all of its contents, to a new
+     * location.
+     * 
+ */ + public void moveDirectory(com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getMoveDirectoryMethod(), responseObserver); + } + + /** + *
+     * Returns the contents of a file (inside a Workspace).
+     * 
+ */ + public void readFile(com.google.cloud.dataform.v1alpha2.ReadFileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getReadFileMethod(), responseObserver); + } + + /** + *
+     * Deletes a file (inside a Workspace).
+     * 
+ */ + public void removeFile(com.google.cloud.dataform.v1alpha2.RemoveFileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRemoveFileMethod(), responseObserver); + } + + /** + *
+     * Moves a file (inside a Workspace) to a new location.
+     * 
+ */ + public void moveFile(com.google.cloud.dataform.v1alpha2.MoveFileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getMoveFileMethod(), responseObserver); + } + + /** + *
+     * Writes to a file (inside a Workspace).
+     * 
+ */ + public void writeFile(com.google.cloud.dataform.v1alpha2.WriteFileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getWriteFileMethod(), responseObserver); + } + + /** + *
+     * Lists CompilationResults in a given Repository.
+     * 
+ */ + public void listCompilationResults(com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListCompilationResultsMethod(), responseObserver); + } + + /** + *
+     * Fetches a single CompilationResult.
+     * 
+ */ + public void getCompilationResult(com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetCompilationResultMethod(), responseObserver); + } + + /** + *
+     * Creates a new CompilationResult in a given project and location.
+     * 
+ */ + public void createCompilationResult(com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateCompilationResultMethod(), responseObserver); + } + + /** + *
+     * Returns CompilationResultActions in a given CompilationResult.
+     * 
+ */ + public void queryCompilationResultActions(com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getQueryCompilationResultActionsMethod(), responseObserver); + } + + /** + *
+     * Lists WorkflowInvocations in a given Repository.
+     * 
+ */ + public void listWorkflowInvocations(com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListWorkflowInvocationsMethod(), responseObserver); + } + + /** + *
+     * Fetches a single WorkflowInvocation.
+     * 
+ */ + public void getWorkflowInvocation(com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetWorkflowInvocationMethod(), responseObserver); + } + + /** + *
+     * Creates a new WorkflowInvocation in a given Repository.
+     * 
+ */ + public void createWorkflowInvocation(com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateWorkflowInvocationMethod(), responseObserver); + } + + /** + *
+     * Deletes a single WorkflowInvocation.
+     * 
+ */ + public void deleteWorkflowInvocation(com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteWorkflowInvocationMethod(), responseObserver); + } + + /** + *
+     * Requests cancellation of a running WorkflowInvocation.
+     * 
+ */ + public void cancelWorkflowInvocation(com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCancelWorkflowInvocationMethod(), responseObserver); + } + + /** + *
+     * Returns WorkflowInvocationActions in a given WorkflowInvocation.
+     * 
+ */ + public void queryWorkflowInvocationActions(com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getQueryWorkflowInvocationActionsMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListRepositoriesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest, + com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse>( + this, METHODID_LIST_REPOSITORIES))) + .addMethod( + getGetRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.GetRepositoryRequest, + com.google.cloud.dataform.v1alpha2.Repository>( + this, METHODID_GET_REPOSITORY))) + .addMethod( + getCreateRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest, + com.google.cloud.dataform.v1alpha2.Repository>( + this, METHODID_CREATE_REPOSITORY))) + .addMethod( + getUpdateRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest, + com.google.cloud.dataform.v1alpha2.Repository>( + this, METHODID_UPDATE_REPOSITORY))) + .addMethod( + getDeleteRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_REPOSITORY))) + .addMethod( + getFetchRemoteBranchesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest, + com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse>( + this, METHODID_FETCH_REMOTE_BRANCHES))) + .addMethod( + getListWorkspacesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest, + com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse>( + this, METHODID_LIST_WORKSPACES))) + .addMethod( + getGetWorkspaceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest, + com.google.cloud.dataform.v1alpha2.Workspace>( + this, METHODID_GET_WORKSPACE))) + .addMethod( + getCreateWorkspaceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest, + com.google.cloud.dataform.v1alpha2.Workspace>( + this, METHODID_CREATE_WORKSPACE))) + .addMethod( + getDeleteWorkspaceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_WORKSPACE))) + .addMethod( + getInstallNpmPackagesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest, + com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse>( + this, METHODID_INSTALL_NPM_PACKAGES))) + .addMethod( + getPullGitCommitsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest, + com.google.protobuf.Empty>( + this, METHODID_PULL_GIT_COMMITS))) + .addMethod( + getPushGitCommitsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest, + com.google.protobuf.Empty>( + this, METHODID_PUSH_GIT_COMMITS))) + .addMethod( + getFetchFileGitStatusesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest, + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse>( + this, METHODID_FETCH_FILE_GIT_STATUSES))) + .addMethod( + getFetchGitAheadBehindMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest, + com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse>( + this, METHODID_FETCH_GIT_AHEAD_BEHIND))) + .addMethod( + getCommitWorkspaceChangesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest, + com.google.protobuf.Empty>( + this, METHODID_COMMIT_WORKSPACE_CHANGES))) + .addMethod( + getResetWorkspaceChangesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest, + com.google.protobuf.Empty>( + this, METHODID_RESET_WORKSPACE_CHANGES))) + .addMethod( + getFetchFileDiffMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest, + com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse>( + this, METHODID_FETCH_FILE_DIFF))) + .addMethod( + getQueryDirectoryContentsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest, + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse>( + this, METHODID_QUERY_DIRECTORY_CONTENTS))) + .addMethod( + getMakeDirectoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest, + com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse>( + this, METHODID_MAKE_DIRECTORY))) + .addMethod( + getRemoveDirectoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest, + com.google.protobuf.Empty>( + this, METHODID_REMOVE_DIRECTORY))) + .addMethod( + getMoveDirectoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest, + com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse>( + this, METHODID_MOVE_DIRECTORY))) + .addMethod( + getReadFileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.ReadFileRequest, + com.google.cloud.dataform.v1alpha2.ReadFileResponse>( + this, METHODID_READ_FILE))) + .addMethod( + getRemoveFileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.RemoveFileRequest, + com.google.protobuf.Empty>( + this, METHODID_REMOVE_FILE))) + .addMethod( + getMoveFileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.MoveFileRequest, + com.google.cloud.dataform.v1alpha2.MoveFileResponse>( + this, METHODID_MOVE_FILE))) + .addMethod( + getWriteFileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.WriteFileRequest, + com.google.cloud.dataform.v1alpha2.WriteFileResponse>( + this, METHODID_WRITE_FILE))) + .addMethod( + getListCompilationResultsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest, + com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse>( + this, METHODID_LIST_COMPILATION_RESULTS))) + .addMethod( + getGetCompilationResultMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest, + com.google.cloud.dataform.v1alpha2.CompilationResult>( + this, METHODID_GET_COMPILATION_RESULT))) + .addMethod( + getCreateCompilationResultMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest, + com.google.cloud.dataform.v1alpha2.CompilationResult>( + this, METHODID_CREATE_COMPILATION_RESULT))) + .addMethod( + getQueryCompilationResultActionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest, + com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse>( + this, METHODID_QUERY_COMPILATION_RESULT_ACTIONS))) + .addMethod( + getListWorkflowInvocationsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest, + com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse>( + this, METHODID_LIST_WORKFLOW_INVOCATIONS))) + .addMethod( + getGetWorkflowInvocationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest, + com.google.cloud.dataform.v1alpha2.WorkflowInvocation>( + this, METHODID_GET_WORKFLOW_INVOCATION))) + .addMethod( + getCreateWorkflowInvocationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest, + com.google.cloud.dataform.v1alpha2.WorkflowInvocation>( + this, METHODID_CREATE_WORKFLOW_INVOCATION))) + .addMethod( + getDeleteWorkflowInvocationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_WORKFLOW_INVOCATION))) + .addMethod( + getCancelWorkflowInvocationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest, + com.google.protobuf.Empty>( + this, METHODID_CANCEL_WORKFLOW_INVOCATION))) + .addMethod( + getQueryWorkflowInvocationActionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest, + com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse>( + this, METHODID_QUERY_WORKFLOW_INVOCATION_ACTIONS))) + .build(); + } + } + + /** + *
+   * Dataform is a service to develop, create, document, test, and update curated
+   * tables in BigQuery.
+   * 
+ */ + public static final class DataformStub extends io.grpc.stub.AbstractAsyncStub { + private DataformStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataformStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataformStub(channel, callOptions); + } + + /** + *
+     * Lists Repositories in a given project and location.
+     * 
+ */ + public void listRepositories(com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Fetches a single Repository.
+     * 
+ */ + public void getRepository(com.google.cloud.dataform.v1alpha2.GetRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a new Repository in a given project and location.
+     * 
+ */ + public void createRepository(com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a single Repository.
+     * 
+ */ + public void updateRepository(com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a single Repository.
+     * 
+ */ + public void deleteRepository(com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Fetches a Repository's remote branches.
+     * 
+ */ + public void fetchRemoteBranches(com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getFetchRemoteBranchesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists Workspaces in a given Repository.
+     * 
+ */ + public void listWorkspaces(com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListWorkspacesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Fetches a single Workspace.
+     * 
+ */ + public void getWorkspace(com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetWorkspaceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a new Workspace in a given Repository.
+     * 
+ */ + public void createWorkspace(com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateWorkspaceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a single Workspace.
+     * 
+ */ + public void deleteWorkspace(com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteWorkspaceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Installs dependency NPM packages (inside a Workspace).
+     * 
+ */ + public void installNpmPackages(com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getInstallNpmPackagesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Pulls Git commits from the Repository's remote into a Workspace.
+     * 
+ */ + public void pullGitCommits(com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getPullGitCommitsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Pushes Git commits from a Workspace to the Repository's remote.
+     * 
+ */ + public void pushGitCommits(com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getPushGitCommitsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Fetches Git statuses for the files in a Workspace.
+     * 
+ */ + public void fetchFileGitStatuses(com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getFetchFileGitStatusesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Fetches Git ahead/behind against a remote branch.
+     * 
+ */ + public void fetchGitAheadBehind(com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getFetchGitAheadBehindMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Applies a Git commit for uncommitted files in a Workspace.
+     * 
+ */ + public void commitWorkspaceChanges(com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCommitWorkspaceChangesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Performs a Git reset for uncommitted files in a Workspace.
+     * 
+ */ + public void resetWorkspaceChanges(com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getResetWorkspaceChangesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Fetches Git diff for an uncommitted file in a Workspace.
+     * 
+ */ + public void fetchFileDiff(com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getFetchFileDiffMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns the contents of a given Workspace directory.
+     * 
+ */ + public void queryDirectoryContents(com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getQueryDirectoryContentsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a directory inside a Workspace.
+     * 
+ */ + public void makeDirectory(com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getMakeDirectoryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a directory (inside a Workspace) and all of its contents.
+     * 
+ */ + public void removeDirectory(com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRemoveDirectoryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Moves a directory (inside a Workspace), and all of its contents, to a new
+     * location.
+     * 
+ */ + public void moveDirectory(com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getMoveDirectoryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns the contents of a file (inside a Workspace).
+     * 
+ */ + public void readFile(com.google.cloud.dataform.v1alpha2.ReadFileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getReadFileMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a file (inside a Workspace).
+     * 
+ */ + public void removeFile(com.google.cloud.dataform.v1alpha2.RemoveFileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRemoveFileMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Moves a file (inside a Workspace) to a new location.
+     * 
+ */ + public void moveFile(com.google.cloud.dataform.v1alpha2.MoveFileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getMoveFileMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Writes to a file (inside a Workspace).
+     * 
+ */ + public void writeFile(com.google.cloud.dataform.v1alpha2.WriteFileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getWriteFileMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists CompilationResults in a given Repository.
+     * 
+ */ + public void listCompilationResults(com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListCompilationResultsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Fetches a single CompilationResult.
+     * 
+ */ + public void getCompilationResult(com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetCompilationResultMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a new CompilationResult in a given project and location.
+     * 
+ */ + public void createCompilationResult(com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateCompilationResultMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns CompilationResultActions in a given CompilationResult.
+     * 
+ */ + public void queryCompilationResultActions(com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getQueryCompilationResultActionsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists WorkflowInvocations in a given Repository.
+     * 
+ */ + public void listWorkflowInvocations(com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListWorkflowInvocationsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Fetches a single WorkflowInvocation.
+     * 
+ */ + public void getWorkflowInvocation(com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetWorkflowInvocationMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a new WorkflowInvocation in a given Repository.
+     * 
+ */ + public void createWorkflowInvocation(com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateWorkflowInvocationMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a single WorkflowInvocation.
+     * 
+ */ + public void deleteWorkflowInvocation(com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteWorkflowInvocationMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Requests cancellation of a running WorkflowInvocation.
+     * 
+ */ + public void cancelWorkflowInvocation(com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCancelWorkflowInvocationMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns WorkflowInvocationActions in a given WorkflowInvocation.
+     * 
+ */ + public void queryWorkflowInvocationActions(com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getQueryWorkflowInvocationActionsMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * Dataform is a service to develop, create, document, test, and update curated
+   * tables in BigQuery.
+   * 
+ */ + public static final class DataformBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private DataformBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataformBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataformBlockingStub(channel, callOptions); + } + + /** + *
+     * Lists Repositories in a given project and location.
+     * 
+ */ + public com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse listRepositories(com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListRepositoriesMethod(), getCallOptions(), request); + } + + /** + *
+     * Fetches a single Repository.
+     * 
+ */ + public com.google.cloud.dataform.v1alpha2.Repository getRepository(com.google.cloud.dataform.v1alpha2.GetRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetRepositoryMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a new Repository in a given project and location.
+     * 
+ */ + public com.google.cloud.dataform.v1alpha2.Repository createRepository(com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateRepositoryMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a single Repository.
+     * 
+ */ + public com.google.cloud.dataform.v1alpha2.Repository updateRepository(com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateRepositoryMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a single Repository.
+     * 
+ */ + public com.google.protobuf.Empty deleteRepository(com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteRepositoryMethod(), getCallOptions(), request); + } + + /** + *
+     * Fetches a Repository's remote branches.
+     * 
+ */ + public com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse fetchRemoteBranches(com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getFetchRemoteBranchesMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists Workspaces in a given Repository.
+     * 
+ */ + public com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse listWorkspaces(com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListWorkspacesMethod(), getCallOptions(), request); + } + + /** + *
+     * Fetches a single Workspace.
+     * 
+ */ + public com.google.cloud.dataform.v1alpha2.Workspace getWorkspace(com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetWorkspaceMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a new Workspace in a given Repository.
+     * 
+ */ + public com.google.cloud.dataform.v1alpha2.Workspace createWorkspace(com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateWorkspaceMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a single Workspace.
+     * 
+ */ + public com.google.protobuf.Empty deleteWorkspace(com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteWorkspaceMethod(), getCallOptions(), request); + } + + /** + *
+     * Installs dependency NPM packages (inside a Workspace).
+     * 
+ */ + public com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse installNpmPackages(com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getInstallNpmPackagesMethod(), getCallOptions(), request); + } + + /** + *
+     * Pulls Git commits from the Repository's remote into a Workspace.
+     * 
+ */ + public com.google.protobuf.Empty pullGitCommits(com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getPullGitCommitsMethod(), getCallOptions(), request); + } + + /** + *
+     * Pushes Git commits from a Workspace to the Repository's remote.
+     * 
+ */ + public com.google.protobuf.Empty pushGitCommits(com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getPushGitCommitsMethod(), getCallOptions(), request); + } + + /** + *
+     * Fetches Git statuses for the files in a Workspace.
+     * 
+ */ + public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse fetchFileGitStatuses(com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getFetchFileGitStatusesMethod(), getCallOptions(), request); + } + + /** + *
+     * Fetches Git ahead/behind against a remote branch.
+     * 
+ */ + public com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse fetchGitAheadBehind(com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getFetchGitAheadBehindMethod(), getCallOptions(), request); + } + + /** + *
+     * Applies a Git commit for uncommitted files in a Workspace.
+     * 
+ */ + public com.google.protobuf.Empty commitWorkspaceChanges(com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCommitWorkspaceChangesMethod(), getCallOptions(), request); + } + + /** + *
+     * Performs a Git reset for uncommitted files in a Workspace.
+     * 
+ */ + public com.google.protobuf.Empty resetWorkspaceChanges(com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getResetWorkspaceChangesMethod(), getCallOptions(), request); + } + + /** + *
+     * Fetches Git diff for an uncommitted file in a Workspace.
+     * 
+ */ + public com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse fetchFileDiff(com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getFetchFileDiffMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns the contents of a given Workspace directory.
+     * 
+ */ + public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse queryDirectoryContents(com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getQueryDirectoryContentsMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a directory inside a Workspace.
+     * 
+ */ + public com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse makeDirectory(com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getMakeDirectoryMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a directory (inside a Workspace) and all of its contents.
+     * 
+ */ + public com.google.protobuf.Empty removeDirectory(com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRemoveDirectoryMethod(), getCallOptions(), request); + } + + /** + *
+     * Moves a directory (inside a Workspace), and all of its contents, to a new
+     * location.
+     * 
+ */ + public com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse moveDirectory(com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getMoveDirectoryMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns the contents of a file (inside a Workspace).
+     * 
+ */ + public com.google.cloud.dataform.v1alpha2.ReadFileResponse readFile(com.google.cloud.dataform.v1alpha2.ReadFileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getReadFileMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a file (inside a Workspace).
+     * 
+ */ + public com.google.protobuf.Empty removeFile(com.google.cloud.dataform.v1alpha2.RemoveFileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRemoveFileMethod(), getCallOptions(), request); + } + + /** + *
+     * Moves a file (inside a Workspace) to a new location.
+     * 
+ */ + public com.google.cloud.dataform.v1alpha2.MoveFileResponse moveFile(com.google.cloud.dataform.v1alpha2.MoveFileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getMoveFileMethod(), getCallOptions(), request); + } + + /** + *
+     * Writes to a file (inside a Workspace).
+     * 
+ */ + public com.google.cloud.dataform.v1alpha2.WriteFileResponse writeFile(com.google.cloud.dataform.v1alpha2.WriteFileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getWriteFileMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists CompilationResults in a given Repository.
+     * 
+ */ + public com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse listCompilationResults(com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListCompilationResultsMethod(), getCallOptions(), request); + } + + /** + *
+     * Fetches a single CompilationResult.
+     * 
+ */ + public com.google.cloud.dataform.v1alpha2.CompilationResult getCompilationResult(com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetCompilationResultMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a new CompilationResult in a given project and location.
+     * 
+ */ + public com.google.cloud.dataform.v1alpha2.CompilationResult createCompilationResult(com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateCompilationResultMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns CompilationResultActions in a given CompilationResult.
+     * 
+ */ + public com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse queryCompilationResultActions(com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getQueryCompilationResultActionsMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists WorkflowInvocations in a given Repository.
+     * 
+ */ + public com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse listWorkflowInvocations(com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListWorkflowInvocationsMethod(), getCallOptions(), request); + } + + /** + *
+     * Fetches a single WorkflowInvocation.
+     * 
+ */ + public com.google.cloud.dataform.v1alpha2.WorkflowInvocation getWorkflowInvocation(com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetWorkflowInvocationMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a new WorkflowInvocation in a given Repository.
+     * 
+ */ + public com.google.cloud.dataform.v1alpha2.WorkflowInvocation createWorkflowInvocation(com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateWorkflowInvocationMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a single WorkflowInvocation.
+     * 
+ */ + public com.google.protobuf.Empty deleteWorkflowInvocation(com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteWorkflowInvocationMethod(), getCallOptions(), request); + } + + /** + *
+     * Requests cancellation of a running WorkflowInvocation.
+     * 
+ */ + public com.google.protobuf.Empty cancelWorkflowInvocation(com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCancelWorkflowInvocationMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns WorkflowInvocationActions in a given WorkflowInvocation.
+     * 
+ */ + public com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse queryWorkflowInvocationActions(com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getQueryWorkflowInvocationActionsMethod(), getCallOptions(), request); + } + } + + /** + *
+   * Dataform is a service to develop, create, document, test, and update curated
+   * tables in BigQuery.
+   * 
+ */ + public static final class DataformFutureStub extends io.grpc.stub.AbstractFutureStub { + private DataformFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataformFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataformFutureStub(channel, callOptions); + } + + /** + *
+     * Lists Repositories in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listRepositories( + com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request); + } + + /** + *
+     * Fetches a single Repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getRepository( + com.google.cloud.dataform.v1alpha2.GetRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a new Repository in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createRepository( + com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a single Repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateRepository( + com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a single Repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteRepository( + com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request); + } + + /** + *
+     * Fetches a Repository's remote branches.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture fetchRemoteBranches( + com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getFetchRemoteBranchesMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists Workspaces in a given Repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listWorkspaces( + com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListWorkspacesMethod(), getCallOptions()), request); + } + + /** + *
+     * Fetches a single Workspace.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getWorkspace( + com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetWorkspaceMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a new Workspace in a given Repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createWorkspace( + com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateWorkspaceMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a single Workspace.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteWorkspace( + com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteWorkspaceMethod(), getCallOptions()), request); + } + + /** + *
+     * Installs dependency NPM packages (inside a Workspace).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture installNpmPackages( + com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getInstallNpmPackagesMethod(), getCallOptions()), request); + } + + /** + *
+     * Pulls Git commits from the Repository's remote into a Workspace.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture pullGitCommits( + com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getPullGitCommitsMethod(), getCallOptions()), request); + } + + /** + *
+     * Pushes Git commits from a Workspace to the Repository's remote.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture pushGitCommits( + com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getPushGitCommitsMethod(), getCallOptions()), request); + } + + /** + *
+     * Fetches Git statuses for the files in a Workspace.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture fetchFileGitStatuses( + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getFetchFileGitStatusesMethod(), getCallOptions()), request); + } + + /** + *
+     * Fetches Git ahead/behind against a remote branch.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture fetchGitAheadBehind( + com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getFetchGitAheadBehindMethod(), getCallOptions()), request); + } + + /** + *
+     * Applies a Git commit for uncommitted files in a Workspace.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture commitWorkspaceChanges( + com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCommitWorkspaceChangesMethod(), getCallOptions()), request); + } + + /** + *
+     * Performs a Git reset for uncommitted files in a Workspace.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture resetWorkspaceChanges( + com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getResetWorkspaceChangesMethod(), getCallOptions()), request); + } + + /** + *
+     * Fetches Git diff for an uncommitted file in a Workspace.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture fetchFileDiff( + com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getFetchFileDiffMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns the contents of a given Workspace directory.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture queryDirectoryContents( + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getQueryDirectoryContentsMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a directory inside a Workspace.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture makeDirectory( + com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getMakeDirectoryMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a directory (inside a Workspace) and all of its contents.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture removeDirectory( + com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRemoveDirectoryMethod(), getCallOptions()), request); + } + + /** + *
+     * Moves a directory (inside a Workspace), and all of its contents, to a new
+     * location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture moveDirectory( + com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getMoveDirectoryMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns the contents of a file (inside a Workspace).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture readFile( + com.google.cloud.dataform.v1alpha2.ReadFileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getReadFileMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a file (inside a Workspace).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture removeFile( + com.google.cloud.dataform.v1alpha2.RemoveFileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRemoveFileMethod(), getCallOptions()), request); + } + + /** + *
+     * Moves a file (inside a Workspace) to a new location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture moveFile( + com.google.cloud.dataform.v1alpha2.MoveFileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getMoveFileMethod(), getCallOptions()), request); + } + + /** + *
+     * Writes to a file (inside a Workspace).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture writeFile( + com.google.cloud.dataform.v1alpha2.WriteFileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getWriteFileMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists CompilationResults in a given Repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listCompilationResults( + com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListCompilationResultsMethod(), getCallOptions()), request); + } + + /** + *
+     * Fetches a single CompilationResult.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getCompilationResult( + com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetCompilationResultMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a new CompilationResult in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createCompilationResult( + com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateCompilationResultMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns CompilationResultActions in a given CompilationResult.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture queryCompilationResultActions( + com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getQueryCompilationResultActionsMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists WorkflowInvocations in a given Repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listWorkflowInvocations( + com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListWorkflowInvocationsMethod(), getCallOptions()), request); + } + + /** + *
+     * Fetches a single WorkflowInvocation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getWorkflowInvocation( + com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetWorkflowInvocationMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a new WorkflowInvocation in a given Repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createWorkflowInvocation( + com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateWorkflowInvocationMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a single WorkflowInvocation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteWorkflowInvocation( + com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteWorkflowInvocationMethod(), getCallOptions()), request); + } + + /** + *
+     * Requests cancellation of a running WorkflowInvocation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture cancelWorkflowInvocation( + com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCancelWorkflowInvocationMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns WorkflowInvocationActions in a given WorkflowInvocation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture queryWorkflowInvocationActions( + com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getQueryWorkflowInvocationActionsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_LIST_REPOSITORIES = 0; + private static final int METHODID_GET_REPOSITORY = 1; + private static final int METHODID_CREATE_REPOSITORY = 2; + private static final int METHODID_UPDATE_REPOSITORY = 3; + private static final int METHODID_DELETE_REPOSITORY = 4; + private static final int METHODID_FETCH_REMOTE_BRANCHES = 5; + private static final int METHODID_LIST_WORKSPACES = 6; + private static final int METHODID_GET_WORKSPACE = 7; + private static final int METHODID_CREATE_WORKSPACE = 8; + private static final int METHODID_DELETE_WORKSPACE = 9; + private static final int METHODID_INSTALL_NPM_PACKAGES = 10; + private static final int METHODID_PULL_GIT_COMMITS = 11; + private static final int METHODID_PUSH_GIT_COMMITS = 12; + private static final int METHODID_FETCH_FILE_GIT_STATUSES = 13; + private static final int METHODID_FETCH_GIT_AHEAD_BEHIND = 14; + private static final int METHODID_COMMIT_WORKSPACE_CHANGES = 15; + private static final int METHODID_RESET_WORKSPACE_CHANGES = 16; + private static final int METHODID_FETCH_FILE_DIFF = 17; + private static final int METHODID_QUERY_DIRECTORY_CONTENTS = 18; + private static final int METHODID_MAKE_DIRECTORY = 19; + private static final int METHODID_REMOVE_DIRECTORY = 20; + private static final int METHODID_MOVE_DIRECTORY = 21; + private static final int METHODID_READ_FILE = 22; + private static final int METHODID_REMOVE_FILE = 23; + private static final int METHODID_MOVE_FILE = 24; + private static final int METHODID_WRITE_FILE = 25; + private static final int METHODID_LIST_COMPILATION_RESULTS = 26; + private static final int METHODID_GET_COMPILATION_RESULT = 27; + private static final int METHODID_CREATE_COMPILATION_RESULT = 28; + private static final int METHODID_QUERY_COMPILATION_RESULT_ACTIONS = 29; + private static final int METHODID_LIST_WORKFLOW_INVOCATIONS = 30; + private static final int METHODID_GET_WORKFLOW_INVOCATION = 31; + private static final int METHODID_CREATE_WORKFLOW_INVOCATION = 32; + private static final int METHODID_DELETE_WORKFLOW_INVOCATION = 33; + private static final int METHODID_CANCEL_WORKFLOW_INVOCATION = 34; + private static final int METHODID_QUERY_WORKFLOW_INVOCATION_ACTIONS = 35; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final DataformImplBase serviceImpl; + private final int methodId; + + MethodHandlers(DataformImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_LIST_REPOSITORIES: + serviceImpl.listRepositories((com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_REPOSITORY: + serviceImpl.getRepository((com.google.cloud.dataform.v1alpha2.GetRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_REPOSITORY: + serviceImpl.createRepository((com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_REPOSITORY: + serviceImpl.updateRepository((com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_REPOSITORY: + serviceImpl.deleteRepository((com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_FETCH_REMOTE_BRANCHES: + serviceImpl.fetchRemoteBranches((com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_WORKSPACES: + serviceImpl.listWorkspaces((com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_WORKSPACE: + serviceImpl.getWorkspace((com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_WORKSPACE: + serviceImpl.createWorkspace((com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_WORKSPACE: + serviceImpl.deleteWorkspace((com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_INSTALL_NPM_PACKAGES: + serviceImpl.installNpmPackages((com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_PULL_GIT_COMMITS: + serviceImpl.pullGitCommits((com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_PUSH_GIT_COMMITS: + serviceImpl.pushGitCommits((com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_FETCH_FILE_GIT_STATUSES: + serviceImpl.fetchFileGitStatuses((com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_FETCH_GIT_AHEAD_BEHIND: + serviceImpl.fetchGitAheadBehind((com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_COMMIT_WORKSPACE_CHANGES: + serviceImpl.commitWorkspaceChanges((com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RESET_WORKSPACE_CHANGES: + serviceImpl.resetWorkspaceChanges((com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_FETCH_FILE_DIFF: + serviceImpl.fetchFileDiff((com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_QUERY_DIRECTORY_CONTENTS: + serviceImpl.queryDirectoryContents((com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_MAKE_DIRECTORY: + serviceImpl.makeDirectory((com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_REMOVE_DIRECTORY: + serviceImpl.removeDirectory((com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_MOVE_DIRECTORY: + serviceImpl.moveDirectory((com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_READ_FILE: + serviceImpl.readFile((com.google.cloud.dataform.v1alpha2.ReadFileRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_REMOVE_FILE: + serviceImpl.removeFile((com.google.cloud.dataform.v1alpha2.RemoveFileRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_MOVE_FILE: + serviceImpl.moveFile((com.google.cloud.dataform.v1alpha2.MoveFileRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_WRITE_FILE: + serviceImpl.writeFile((com.google.cloud.dataform.v1alpha2.WriteFileRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_COMPILATION_RESULTS: + serviceImpl.listCompilationResults((com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_COMPILATION_RESULT: + serviceImpl.getCompilationResult((com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_COMPILATION_RESULT: + serviceImpl.createCompilationResult((com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_QUERY_COMPILATION_RESULT_ACTIONS: + serviceImpl.queryCompilationResultActions((com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_WORKFLOW_INVOCATIONS: + serviceImpl.listWorkflowInvocations((com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_WORKFLOW_INVOCATION: + serviceImpl.getWorkflowInvocation((com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_WORKFLOW_INVOCATION: + serviceImpl.createWorkflowInvocation((com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_WORKFLOW_INVOCATION: + serviceImpl.deleteWorkflowInvocation((com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CANCEL_WORKFLOW_INVOCATION: + serviceImpl.cancelWorkflowInvocation((com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_QUERY_WORKFLOW_INVOCATION_ACTIONS: + serviceImpl.queryWorkflowInvocationActions((com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class DataformBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + DataformBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("Dataform"); + } + } + + private static final class DataformFileDescriptorSupplier + extends DataformBaseDescriptorSupplier { + DataformFileDescriptorSupplier() {} + } + + private static final class DataformMethodDescriptorSupplier + extends DataformBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + DataformMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (DataformGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new DataformFileDescriptorSupplier()) + .addMethod(getListRepositoriesMethod()) + .addMethod(getGetRepositoryMethod()) + .addMethod(getCreateRepositoryMethod()) + .addMethod(getUpdateRepositoryMethod()) + .addMethod(getDeleteRepositoryMethod()) + .addMethod(getFetchRemoteBranchesMethod()) + .addMethod(getListWorkspacesMethod()) + .addMethod(getGetWorkspaceMethod()) + .addMethod(getCreateWorkspaceMethod()) + .addMethod(getDeleteWorkspaceMethod()) + .addMethod(getInstallNpmPackagesMethod()) + .addMethod(getPullGitCommitsMethod()) + .addMethod(getPushGitCommitsMethod()) + .addMethod(getFetchFileGitStatusesMethod()) + .addMethod(getFetchGitAheadBehindMethod()) + .addMethod(getCommitWorkspaceChangesMethod()) + .addMethod(getResetWorkspaceChangesMethod()) + .addMethod(getFetchFileDiffMethod()) + .addMethod(getQueryDirectoryContentsMethod()) + .addMethod(getMakeDirectoryMethod()) + .addMethod(getRemoveDirectoryMethod()) + .addMethod(getMoveDirectoryMethod()) + .addMethod(getReadFileMethod()) + .addMethod(getRemoveFileMethod()) + .addMethod(getMoveFileMethod()) + .addMethod(getWriteFileMethod()) + .addMethod(getListCompilationResultsMethod()) + .addMethod(getGetCompilationResultMethod()) + .addMethod(getCreateCompilationResultMethod()) + .addMethod(getQueryCompilationResultActionsMethod()) + .addMethod(getListWorkflowInvocationsMethod()) + .addMethod(getGetWorkflowInvocationMethod()) + .addMethod(getCreateWorkflowInvocationMethod()) + .addMethod(getDeleteWorkflowInvocationMethod()) + .addMethod(getCancelWorkflowInvocationMethod()) + .addMethod(getQueryWorkflowInvocationActionsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CancelWorkflowInvocationRequest.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CancelWorkflowInvocationRequest.java similarity index 60% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CancelWorkflowInvocationRequest.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CancelWorkflowInvocationRequest.java index 5b085ac..157995b 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CancelWorkflowInvocationRequest.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CancelWorkflowInvocationRequest.java @@ -1,58 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * `CancelWorkflowInvocation` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest} */ -public final class CancelWorkflowInvocationRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CancelWorkflowInvocationRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest) CancelWorkflowInvocationRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CancelWorkflowInvocationRequest.newBuilder() to construct. - private CancelWorkflowInvocationRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CancelWorkflowInvocationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CancelWorkflowInvocationRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CancelWorkflowInvocationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CancelWorkflowInvocationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,20 +53,19 @@ private CancelWorkflowInvocationRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,41 +73,34 @@ private CancelWorkflowInvocationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CancelWorkflowInvocationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CancelWorkflowInvocationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CancelWorkflowInvocationRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CancelWorkflowInvocationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest.class, - com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest.class, com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The workflow invocation resource's name.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,31 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The workflow invocation resource's name.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -168,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -204,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest other = - (com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest) obj; + com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest other = (com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,145 +204,134 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `CancelWorkflowInvocation` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest) com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CancelWorkflowInvocationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CancelWorkflowInvocationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CancelWorkflowInvocationRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CancelWorkflowInvocationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest.class, - com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest.class, com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest.Builder.class); } - // Construct using - // com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest.newBuilder() + // Construct using com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -380,16 +341,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CancelWorkflowInvocationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CancelWorkflowInvocationRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest - getDefaultInstanceForType() { - return com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest - .getDefaultInstance(); + public com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest getDefaultInstanceForType() { + return com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest.getDefaultInstance(); } @java.lang.Override @@ -403,8 +362,7 @@ public com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest build( @java.lang.Override public com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest result = - new com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest(this); + com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest result = new com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest(this); result.name_ = name_; onBuilt(); return result; @@ -414,51 +372,46 @@ public com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest buildP public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest) { - return mergeFrom( - (com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest other) { - if (other - == com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest other) { + if (other == com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -482,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -496,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The workflow invocation resource's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -520,23 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The workflow invocation resource's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -544,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The workflow invocation resource's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The workflow invocation resource's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The workflow invocation resource's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -621,32 +552,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest) - private static final com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest(); } - public static com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest - getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CancelWorkflowInvocationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CancelWorkflowInvocationRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CancelWorkflowInvocationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CancelWorkflowInvocationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -658,8 +587,9 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest - getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CancelWorkflowInvocationRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CancelWorkflowInvocationRequestOrBuilder.java new file mode 100644 index 0000000..671053d --- /dev/null +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CancelWorkflowInvocationRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1alpha2/dataform.proto + +package com.google.cloud.dataform.v1alpha2; + +public interface CancelWorkflowInvocationRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The workflow invocation resource's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The workflow invocation resource's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CommitAuthor.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CommitAuthor.java similarity index 70% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CommitAuthor.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CommitAuthor.java index 920a557..b0baf67 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CommitAuthor.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CommitAuthor.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * Represents the author of a Git commit.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.CommitAuthor} */ -public final class CommitAuthor extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CommitAuthor extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.CommitAuthor) CommitAuthorOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CommitAuthor.newBuilder() to construct. private CommitAuthor(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CommitAuthor() { name_ = ""; emailAddress_ = ""; @@ -44,15 +26,16 @@ private CommitAuthor() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CommitAuthor(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CommitAuthor( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private CommitAuthor( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - emailAddress_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + emailAddress_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,39 +80,34 @@ private CommitAuthor( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CommitAuthor_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CommitAuthor_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CommitAuthor_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CommitAuthor_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CommitAuthor.class, - com.google.cloud.dataform.v1alpha2.CommitAuthor.Builder.class); + com.google.cloud.dataform.v1alpha2.CommitAuthor.class, com.google.cloud.dataform.v1alpha2.CommitAuthor.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The commit author's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -140,29 +116,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The commit author's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -173,14 +149,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int EMAIL_ADDRESS_FIELD_NUMBER = 2; private volatile java.lang.Object emailAddress_; /** - * - * *
    * Required. The commit author's email address.
    * 
* * string email_address = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The emailAddress. */ @java.lang.Override @@ -189,29 +162,29 @@ public java.lang.String getEmailAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); emailAddress_ = s; return s; } } /** - * - * *
    * Required. The commit author's email address.
    * 
* * string email_address = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for emailAddress. */ @java.lang.Override - public com.google.protobuf.ByteString getEmailAddressBytes() { + public com.google.protobuf.ByteString + getEmailAddressBytes() { java.lang.Object ref = emailAddress_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); emailAddress_ = b; return b; } else { @@ -220,7 +193,6 @@ public com.google.protobuf.ByteString getEmailAddressBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -232,7 +204,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -262,16 +235,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.CommitAuthor)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.CommitAuthor other = - (com.google.cloud.dataform.v1alpha2.CommitAuthor) obj; + com.google.cloud.dataform.v1alpha2.CommitAuthor other = (com.google.cloud.dataform.v1alpha2.CommitAuthor) obj; - if (!getName().equals(other.getName())) return false; - if (!getEmailAddress().equals(other.getEmailAddress())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getEmailAddress() + .equals(other.getEmailAddress())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -292,127 +266,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataform.v1alpha2.CommitAuthor parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataform.v1alpha2.CommitAuthor parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.CommitAuthor parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CommitAuthor parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.CommitAuthor parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CommitAuthor parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.CommitAuthor parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CommitAuthor parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.CommitAuthor parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.CommitAuthor parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.CommitAuthor parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.CommitAuthor parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CommitAuthor parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.CommitAuthor parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.CommitAuthor prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents the author of a Git commit.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.CommitAuthor} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.CommitAuthor) com.google.cloud.dataform.v1alpha2.CommitAuthorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CommitAuthor_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CommitAuthor_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CommitAuthor_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CommitAuthor_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CommitAuthor.class, - com.google.cloud.dataform.v1alpha2.CommitAuthor.Builder.class); + com.google.cloud.dataform.v1alpha2.CommitAuthor.class, com.google.cloud.dataform.v1alpha2.CommitAuthor.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.CommitAuthor.newBuilder() @@ -420,15 +385,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -440,9 +406,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CommitAuthor_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CommitAuthor_descriptor; } @java.lang.Override @@ -461,8 +427,7 @@ public com.google.cloud.dataform.v1alpha2.CommitAuthor build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.CommitAuthor buildPartial() { - com.google.cloud.dataform.v1alpha2.CommitAuthor result = - new com.google.cloud.dataform.v1alpha2.CommitAuthor(this); + com.google.cloud.dataform.v1alpha2.CommitAuthor result = new com.google.cloud.dataform.v1alpha2.CommitAuthor(this); result.name_ = name_; result.emailAddress_ = emailAddress_; onBuilt(); @@ -473,39 +438,38 @@ public com.google.cloud.dataform.v1alpha2.CommitAuthor buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.CommitAuthor) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.CommitAuthor) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.CommitAuthor)other); } else { super.mergeFrom(other); return this; @@ -513,8 +477,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.CommitAuthor other) { - if (other == com.google.cloud.dataform.v1alpha2.CommitAuthor.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataform.v1alpha2.CommitAuthor.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -554,20 +517,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The commit author's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -576,21 +537,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The commit author's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -598,61 +558,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The commit author's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The commit author's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The commit author's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -660,20 +613,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object emailAddress_ = ""; /** - * - * *
      * Required. The commit author's email address.
      * 
* * string email_address = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The emailAddress. */ public java.lang.String getEmailAddress() { java.lang.Object ref = emailAddress_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); emailAddress_ = s; return s; @@ -682,21 +633,20 @@ public java.lang.String getEmailAddress() { } } /** - * - * *
      * Required. The commit author's email address.
      * 
* * string email_address = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for emailAddress. */ - public com.google.protobuf.ByteString getEmailAddressBytes() { + public com.google.protobuf.ByteString + getEmailAddressBytes() { java.lang.Object ref = emailAddress_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); emailAddress_ = b; return b; } else { @@ -704,68 +654,61 @@ public com.google.protobuf.ByteString getEmailAddressBytes() { } } /** - * - * *
      * Required. The commit author's email address.
      * 
* * string email_address = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The emailAddress to set. * @return This builder for chaining. */ - public Builder setEmailAddress(java.lang.String value) { + public Builder setEmailAddress( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + emailAddress_ = value; onChanged(); return this; } /** - * - * *
      * Required. The commit author's email address.
      * 
* * string email_address = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearEmailAddress() { - + emailAddress_ = getDefaultInstance().getEmailAddress(); onChanged(); return this; } /** - * - * *
      * Required. The commit author's email address.
      * 
* * string email_address = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for emailAddress to set. * @return This builder for chaining. */ - public Builder setEmailAddressBytes(com.google.protobuf.ByteString value) { + public Builder setEmailAddressBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + emailAddress_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -775,12 +718,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.CommitAuthor) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.CommitAuthor) private static final com.google.cloud.dataform.v1alpha2.CommitAuthor DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.CommitAuthor(); } @@ -789,16 +732,16 @@ public static com.google.cloud.dataform.v1alpha2.CommitAuthor getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CommitAuthor parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CommitAuthor(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CommitAuthor parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CommitAuthor(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -813,4 +756,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.CommitAuthor getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CommitAuthorOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CommitAuthorOrBuilder.java similarity index 59% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CommitAuthorOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CommitAuthorOrBuilder.java index 02d62ea..9fb72c9 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CommitAuthorOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CommitAuthorOrBuilder.java @@ -1,75 +1,49 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface CommitAuthorOrBuilder - extends +public interface CommitAuthorOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.CommitAuthor) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The commit author's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The commit author's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. The commit author's email address.
    * 
* * string email_address = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The emailAddress. */ java.lang.String getEmailAddress(); /** - * - * *
    * Required. The commit author's email address.
    * 
* * string email_address = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for emailAddress. */ - com.google.protobuf.ByteString getEmailAddressBytes(); + com.google.protobuf.ByteString + getEmailAddressBytes(); } diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CommitWorkspaceChangesRequest.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CommitWorkspaceChangesRequest.java similarity index 66% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CommitWorkspaceChangesRequest.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CommitWorkspaceChangesRequest.java index 9f81dc0..e5bac08 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CommitWorkspaceChangesRequest.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CommitWorkspaceChangesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * `CommitWorkspaceChanges` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest} */ -public final class CommitWorkspaceChangesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CommitWorkspaceChangesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest) CommitWorkspaceChangesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CommitWorkspaceChangesRequest.newBuilder() to construct. private CommitWorkspaceChangesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CommitWorkspaceChangesRequest() { name_ = ""; commitMessage_ = ""; @@ -45,15 +27,16 @@ private CommitWorkspaceChangesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CommitWorkspaceChangesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CommitWorkspaceChangesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,53 +56,47 @@ private CommitWorkspaceChangesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - commitMessage_ = s; - break; + commitMessage_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + paths_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - paths_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - paths_.add(s); - break; + paths_.add(s); + break; + } + case 34: { + com.google.cloud.dataform.v1alpha2.CommitAuthor.Builder subBuilder = null; + if (author_ != null) { + subBuilder = author_.toBuilder(); } - case 34: - { - com.google.cloud.dataform.v1alpha2.CommitAuthor.Builder subBuilder = null; - if (author_ != null) { - subBuilder = author_.toBuilder(); - } - author_ = - input.readMessage( - com.google.cloud.dataform.v1alpha2.CommitAuthor.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(author_); - author_ = subBuilder.buildPartial(); - } - - break; + author_ = input.readMessage(com.google.cloud.dataform.v1alpha2.CommitAuthor.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(author_); + author_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -127,7 +104,8 @@ private CommitWorkspaceChangesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { paths_ = paths_.getUnmodifiableView(); @@ -136,35 +114,27 @@ private CommitWorkspaceChangesRequest( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CommitWorkspaceChangesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CommitWorkspaceChangesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CommitWorkspaceChangesRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CommitWorkspaceChangesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest.class, - com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest.class, com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -173,31 +143,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -208,16 +176,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int AUTHOR_FIELD_NUMBER = 4; private com.google.cloud.dataform.v1alpha2.CommitAuthor author_; /** - * - * *
    * Required. The commit's author.
    * 
* - * - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the author field is set. */ @java.lang.Override @@ -225,34 +188,23 @@ public boolean hasAuthor() { return author_ != null; } /** - * - * *
    * Required. The commit's author.
    * 
* - * - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The author. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.CommitAuthor getAuthor() { - return author_ == null - ? com.google.cloud.dataform.v1alpha2.CommitAuthor.getDefaultInstance() - : author_; + return author_ == null ? com.google.cloud.dataform.v1alpha2.CommitAuthor.getDefaultInstance() : author_; } /** - * - * *
    * Required. The commit's author.
    * 
* - * - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.CommitAuthorOrBuilder getAuthorOrBuilder() { @@ -262,14 +214,11 @@ public com.google.cloud.dataform.v1alpha2.CommitAuthorOrBuilder getAuthorOrBuild public static final int COMMIT_MESSAGE_FIELD_NUMBER = 2; private volatile java.lang.Object commitMessage_; /** - * - * *
    * Optional. The commit's message.
    * 
* * string commit_message = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The commitMessage. */ @java.lang.Override @@ -278,29 +227,29 @@ public java.lang.String getCommitMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); commitMessage_ = s; return s; } } /** - * - * *
    * Optional. The commit's message.
    * 
* * string commit_message = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for commitMessage. */ @java.lang.Override - public com.google.protobuf.ByteString getCommitMessageBytes() { + public com.google.protobuf.ByteString + getCommitMessageBytes() { java.lang.Object ref = commitMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); commitMessage_ = b; return b; } else { @@ -311,45 +260,37 @@ public com.google.protobuf.ByteString getCommitMessageBytes() { public static final int PATHS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList paths_; /** - * - * *
    * Optional. Full file paths to commit including filename, rooted at workspace root. If
    * left empty, all files will be committed.
    * 
* * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the paths. */ - public com.google.protobuf.ProtocolStringList getPathsList() { + public com.google.protobuf.ProtocolStringList + getPathsList() { return paths_; } /** - * - * *
    * Optional. Full file paths to commit including filename, rooted at workspace root. If
    * left empty, all files will be committed.
    * 
* * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of paths. */ public int getPathsCount() { return paths_.size(); } /** - * - * *
    * Optional. Full file paths to commit including filename, rooted at workspace root. If
    * left empty, all files will be committed.
    * 
* * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The paths at the given index. */ @@ -357,24 +298,21 @@ public java.lang.String getPaths(int index) { return paths_.get(index); } /** - * - * *
    * Optional. Full file paths to commit including filename, rooted at workspace root. If
    * left empty, all files will be committed.
    * 
* * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the paths at the given index. */ - public com.google.protobuf.ByteString getPathsBytes(int index) { + public com.google.protobuf.ByteString + getPathsBytes(int index) { return paths_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -386,7 +324,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -423,7 +362,8 @@ public int getSerializedSize() { size += 1 * getPathsList().size(); } if (author_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getAuthor()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getAuthor()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -433,21 +373,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest other = - (com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest) obj; + com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest other = (com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasAuthor() != other.hasAuthor()) return false; if (hasAuthor()) { - if (!getAuthor().equals(other.getAuthor())) return false; + if (!getAuthor() + .equals(other.getAuthor())) return false; } - if (!getCommitMessage().equals(other.getCommitMessage())) return false; - if (!getPathsList().equals(other.getPathsList())) return false; + if (!getCommitMessage() + .equals(other.getCommitMessage())) return false; + if (!getPathsList() + .equals(other.getPathsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -477,127 +420,117 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `CommitWorkspaceChanges` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest) com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CommitWorkspaceChangesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CommitWorkspaceChangesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CommitWorkspaceChangesRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CommitWorkspaceChangesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest.class, - com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest.class, com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest.newBuilder() @@ -605,15 +538,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -633,14 +567,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CommitWorkspaceChangesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CommitWorkspaceChangesRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest - getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest getDefaultInstanceForType() { return com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest.getDefaultInstance(); } @@ -655,8 +588,7 @@ public com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest build() @java.lang.Override public com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest result = - new com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest(this); + com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest result = new com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest(this); int from_bitField0_ = bitField0_; result.name_ = name_; if (authorBuilder_ == null) { @@ -678,50 +610,46 @@ public com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest buildPar public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest other) { - if (other - == com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest other) { + if (other == com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -762,9 +690,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -773,27 +699,22 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -802,23 +723,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -826,67 +744,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -894,58 +799,39 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.cloud.dataform.v1alpha2.CommitAuthor author_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CommitAuthor, - com.google.cloud.dataform.v1alpha2.CommitAuthor.Builder, - com.google.cloud.dataform.v1alpha2.CommitAuthorOrBuilder> - authorBuilder_; + com.google.cloud.dataform.v1alpha2.CommitAuthor, com.google.cloud.dataform.v1alpha2.CommitAuthor.Builder, com.google.cloud.dataform.v1alpha2.CommitAuthorOrBuilder> authorBuilder_; /** - * - * *
      * Required. The commit's author.
      * 
* - * - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the author field is set. */ public boolean hasAuthor() { return authorBuilder_ != null || author_ != null; } /** - * - * *
      * Required. The commit's author.
      * 
* - * - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The author. */ public com.google.cloud.dataform.v1alpha2.CommitAuthor getAuthor() { if (authorBuilder_ == null) { - return author_ == null - ? com.google.cloud.dataform.v1alpha2.CommitAuthor.getDefaultInstance() - : author_; + return author_ == null ? com.google.cloud.dataform.v1alpha2.CommitAuthor.getDefaultInstance() : author_; } else { return authorBuilder_.getMessage(); } } /** - * - * *
      * Required. The commit's author.
      * 
* - * - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAuthor(com.google.cloud.dataform.v1alpha2.CommitAuthor value) { if (authorBuilder_ == null) { @@ -961,15 +847,11 @@ public Builder setAuthor(com.google.cloud.dataform.v1alpha2.CommitAuthor value) return this; } /** - * - * *
      * Required. The commit's author.
      * 
* - * - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAuthor( com.google.cloud.dataform.v1alpha2.CommitAuthor.Builder builderForValue) { @@ -983,23 +865,17 @@ public Builder setAuthor( return this; } /** - * - * *
      * Required. The commit's author.
      * 
* - * - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeAuthor(com.google.cloud.dataform.v1alpha2.CommitAuthor value) { if (authorBuilder_ == null) { if (author_ != null) { author_ = - com.google.cloud.dataform.v1alpha2.CommitAuthor.newBuilder(author_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.dataform.v1alpha2.CommitAuthor.newBuilder(author_).mergeFrom(value).buildPartial(); } else { author_ = value; } @@ -1011,15 +887,11 @@ public Builder mergeAuthor(com.google.cloud.dataform.v1alpha2.CommitAuthor value return this; } /** - * - * *
      * Required. The commit's author.
      * 
* - * - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAuthor() { if (authorBuilder_ == null) { @@ -1033,64 +905,48 @@ public Builder clearAuthor() { return this; } /** - * - * *
      * Required. The commit's author.
      * 
* - * - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataform.v1alpha2.CommitAuthor.Builder getAuthorBuilder() { - + onChanged(); return getAuthorFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The commit's author.
      * 
* - * - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataform.v1alpha2.CommitAuthorOrBuilder getAuthorOrBuilder() { if (authorBuilder_ != null) { return authorBuilder_.getMessageOrBuilder(); } else { - return author_ == null - ? com.google.cloud.dataform.v1alpha2.CommitAuthor.getDefaultInstance() - : author_; + return author_ == null ? + com.google.cloud.dataform.v1alpha2.CommitAuthor.getDefaultInstance() : author_; } } /** - * - * *
      * Required. The commit's author.
      * 
* - * - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CommitAuthor, - com.google.cloud.dataform.v1alpha2.CommitAuthor.Builder, - com.google.cloud.dataform.v1alpha2.CommitAuthorOrBuilder> + com.google.cloud.dataform.v1alpha2.CommitAuthor, com.google.cloud.dataform.v1alpha2.CommitAuthor.Builder, com.google.cloud.dataform.v1alpha2.CommitAuthorOrBuilder> getAuthorFieldBuilder() { if (authorBuilder_ == null) { - authorBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CommitAuthor, - com.google.cloud.dataform.v1alpha2.CommitAuthor.Builder, - com.google.cloud.dataform.v1alpha2.CommitAuthorOrBuilder>( - getAuthor(), getParentForChildren(), isClean()); + authorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.CommitAuthor, com.google.cloud.dataform.v1alpha2.CommitAuthor.Builder, com.google.cloud.dataform.v1alpha2.CommitAuthorOrBuilder>( + getAuthor(), + getParentForChildren(), + isClean()); author_ = null; } return authorBuilder_; @@ -1098,20 +954,18 @@ public com.google.cloud.dataform.v1alpha2.CommitAuthorOrBuilder getAuthorOrBuild private java.lang.Object commitMessage_ = ""; /** - * - * *
      * Optional. The commit's message.
      * 
* * string commit_message = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The commitMessage. */ public java.lang.String getCommitMessage() { java.lang.Object ref = commitMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); commitMessage_ = s; return s; @@ -1120,21 +974,20 @@ public java.lang.String getCommitMessage() { } } /** - * - * *
      * Optional. The commit's message.
      * 
* * string commit_message = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for commitMessage. */ - public com.google.protobuf.ByteString getCommitMessageBytes() { + public com.google.protobuf.ByteString + getCommitMessageBytes() { java.lang.Object ref = commitMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); commitMessage_ = b; return b; } else { @@ -1142,115 +995,98 @@ public com.google.protobuf.ByteString getCommitMessageBytes() { } } /** - * - * *
      * Optional. The commit's message.
      * 
* * string commit_message = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The commitMessage to set. * @return This builder for chaining. */ - public Builder setCommitMessage(java.lang.String value) { + public Builder setCommitMessage( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + commitMessage_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The commit's message.
      * 
* * string commit_message = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearCommitMessage() { - + commitMessage_ = getDefaultInstance().getCommitMessage(); onChanged(); return this; } /** - * - * *
      * Optional. The commit's message.
      * 
* * string commit_message = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for commitMessage to set. * @return This builder for chaining. */ - public Builder setCommitMessageBytes(com.google.protobuf.ByteString value) { + public Builder setCommitMessageBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + commitMessage_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList paths_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList paths_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensurePathsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { paths_ = new com.google.protobuf.LazyStringArrayList(paths_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Optional. Full file paths to commit including filename, rooted at workspace root. If
      * left empty, all files will be committed.
      * 
* * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the paths. */ - public com.google.protobuf.ProtocolStringList getPathsList() { + public com.google.protobuf.ProtocolStringList + getPathsList() { return paths_.getUnmodifiableView(); } /** - * - * *
      * Optional. Full file paths to commit including filename, rooted at workspace root. If
      * left empty, all files will be committed.
      * 
* * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of paths. */ public int getPathsCount() { return paths_.size(); } /** - * - * *
      * Optional. Full file paths to commit including filename, rooted at workspace root. If
      * left empty, all files will be committed.
      * 
* * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The paths at the given index. */ @@ -1258,95 +1094,85 @@ public java.lang.String getPaths(int index) { return paths_.get(index); } /** - * - * *
      * Optional. Full file paths to commit including filename, rooted at workspace root. If
      * left empty, all files will be committed.
      * 
* * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the paths at the given index. */ - public com.google.protobuf.ByteString getPathsBytes(int index) { + public com.google.protobuf.ByteString + getPathsBytes(int index) { return paths_.getByteString(index); } /** - * - * *
      * Optional. Full file paths to commit including filename, rooted at workspace root. If
      * left empty, all files will be committed.
      * 
* * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index to set the value at. * @param value The paths to set. * @return This builder for chaining. */ - public Builder setPaths(int index, java.lang.String value) { + public Builder setPaths( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePathsIsMutable(); + throw new NullPointerException(); + } + ensurePathsIsMutable(); paths_.set(index, value); onChanged(); return this; } /** - * - * *
      * Optional. Full file paths to commit including filename, rooted at workspace root. If
      * left empty, all files will be committed.
      * 
* * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The paths to add. * @return This builder for chaining. */ - public Builder addPaths(java.lang.String value) { + public Builder addPaths( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePathsIsMutable(); + throw new NullPointerException(); + } + ensurePathsIsMutable(); paths_.add(value); onChanged(); return this; } /** - * - * *
      * Optional. Full file paths to commit including filename, rooted at workspace root. If
      * left empty, all files will be committed.
      * 
* * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param values The paths to add. * @return This builder for chaining. */ - public Builder addAllPaths(java.lang.Iterable values) { + public Builder addAllPaths( + java.lang.Iterable values) { ensurePathsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, paths_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, paths_); onChanged(); return this; } /** - * - * *
      * Optional. Full file paths to commit including filename, rooted at workspace root. If
      * left empty, all files will be committed.
      * 
* * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPaths() { @@ -1356,31 +1182,29 @@ public Builder clearPaths() { return this; } /** - * - * *
      * Optional. Full file paths to commit including filename, rooted at workspace root. If
      * left empty, all files will be committed.
      * 
* * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes of the paths to add. * @return This builder for chaining. */ - public Builder addPathsBytes(com.google.protobuf.ByteString value) { + public Builder addPathsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensurePathsIsMutable(); paths_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1390,32 +1214,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest) - private static final com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest(); } - public static com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest - getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CommitWorkspaceChangesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CommitWorkspaceChangesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CommitWorkspaceChangesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CommitWorkspaceChangesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1427,8 +1249,9 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest - getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CommitWorkspaceChangesRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CommitWorkspaceChangesRequestOrBuilder.java similarity index 62% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CommitWorkspaceChangesRequestOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CommitWorkspaceChangesRequestOrBuilder.java index fd5b033..00bf19e 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CommitWorkspaceChangesRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CommitWorkspaceChangesRequestOrBuilder.java @@ -1,175 +1,121 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface CommitWorkspaceChangesRequestOrBuilder - extends +public interface CommitWorkspaceChangesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. The commit's author.
    * 
* - * - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the author field is set. */ boolean hasAuthor(); /** - * - * *
    * Required. The commit's author.
    * 
* - * - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The author. */ com.google.cloud.dataform.v1alpha2.CommitAuthor getAuthor(); /** - * - * *
    * Required. The commit's author.
    * 
* - * - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.dataform.v1alpha2.CommitAuthorOrBuilder getAuthorOrBuilder(); /** - * - * *
    * Optional. The commit's message.
    * 
* * string commit_message = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The commitMessage. */ java.lang.String getCommitMessage(); /** - * - * *
    * Optional. The commit's message.
    * 
* * string commit_message = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for commitMessage. */ - com.google.protobuf.ByteString getCommitMessageBytes(); + com.google.protobuf.ByteString + getCommitMessageBytes(); /** - * - * *
    * Optional. Full file paths to commit including filename, rooted at workspace root. If
    * left empty, all files will be committed.
    * 
* * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the paths. */ - java.util.List getPathsList(); + java.util.List + getPathsList(); /** - * - * *
    * Optional. Full file paths to commit including filename, rooted at workspace root. If
    * left empty, all files will be committed.
    * 
* * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of paths. */ int getPathsCount(); /** - * - * *
    * Optional. Full file paths to commit including filename, rooted at workspace root. If
    * left empty, all files will be committed.
    * 
* * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The paths at the given index. */ java.lang.String getPaths(int index); /** - * - * *
    * Optional. Full file paths to commit including filename, rooted at workspace root. If
    * left empty, all files will be committed.
    * 
* * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the paths at the given index. */ - com.google.protobuf.ByteString getPathsBytes(int index); + com.google.protobuf.ByteString + getPathsBytes(int index); } diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResult.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResult.java similarity index 68% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResult.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResult.java index 51c5a47..0ab1d83 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResult.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResult.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * Represents the result of compiling a Dataform project.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.CompilationResult} */ -public final class CompilationResult extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CompilationResult extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.CompilationResult) CompilationResultOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CompilationResult.newBuilder() to construct. private CompilationResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CompilationResult() { name_ = ""; dataformCoreVersion_ = ""; @@ -45,15 +27,16 @@ private CompilationResult() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CompilationResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CompilationResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,75 +56,59 @@ private CompilationResult( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - sourceCase_ = 2; - source_ = s; - break; + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + sourceCase_ = 2; + source_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + sourceCase_ = 3; + source_ = s; + break; + } + case 34: { + com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.Builder subBuilder = null; + if (codeCompilationConfig_ != null) { + subBuilder = codeCompilationConfig_.toBuilder(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - sourceCase_ = 3; - source_ = s; - break; + codeCompilationConfig_ = input.readMessage(com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(codeCompilationConfig_); + codeCompilationConfig_ = subBuilder.buildPartial(); } - case 34: - { - com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.Builder - subBuilder = null; - if (codeCompilationConfig_ != null) { - subBuilder = codeCompilationConfig_.toBuilder(); - } - codeCompilationConfig_ = - input.readMessage( - com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(codeCompilationConfig_); - codeCompilationConfig_ = subBuilder.buildPartial(); - } - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); - dataformCoreVersion_ = s; - break; - } - case 50: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - compilationErrors_ = - new java.util.ArrayList< - com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError>(); - mutable_bitField0_ |= 0x00000001; - } - compilationErrors_.add( - input.readMessage( - com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError - .parser(), - extensionRegistry)); - break; + dataformCoreVersion_ = s; + break; + } + case 50: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + compilationErrors_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + compilationErrors_.add( + input.readMessage(com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -149,7 +116,8 @@ private CompilationResult( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { compilationErrors_ = java.util.Collections.unmodifiableList(compilationErrors_); @@ -158,80 +126,64 @@ private CompilationResult( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CompilationResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CompilationResult_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CompilationResult.class, - com.google.cloud.dataform.v1alpha2.CompilationResult.Builder.class); + com.google.cloud.dataform.v1alpha2.CompilationResult.class, com.google.cloud.dataform.v1alpha2.CompilationResult.Builder.class); } - public interface CodeCompilationConfigOrBuilder - extends + public interface CodeCompilationConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Optional. The default database (Google Cloud project ID).
      * 
* * string default_database = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The defaultDatabase. */ java.lang.String getDefaultDatabase(); /** - * - * *
      * Optional. The default database (Google Cloud project ID).
      * 
* * string default_database = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for defaultDatabase. */ - com.google.protobuf.ByteString getDefaultDatabaseBytes(); + com.google.protobuf.ByteString + getDefaultDatabaseBytes(); /** - * - * *
      * Optional. The default schema (BigQuery dataset ID).
      * 
* * string default_schema = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The defaultSchema. */ java.lang.String getDefaultSchema(); /** - * - * *
      * Optional. The default schema (BigQuery dataset ID).
      * 
* * string default_schema = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for defaultSchema. */ - com.google.protobuf.ByteString getDefaultSchemaBytes(); + com.google.protobuf.ByteString + getDefaultSchemaBytes(); /** - * - * *
      * Optional. The default BigQuery location to use. Defaults to "US".
      * See the BigQuery docs for a full list of locations:
@@ -239,13 +191,10 @@ public interface CodeCompilationConfigOrBuilder
      * 
* * string default_location = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The defaultLocation. */ java.lang.String getDefaultLocation(); /** - * - * *
      * Optional. The default BigQuery location to use. Defaults to "US".
      * See the BigQuery docs for a full list of locations:
@@ -253,39 +202,32 @@ public interface CodeCompilationConfigOrBuilder
      * 
* * string default_location = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for defaultLocation. */ - com.google.protobuf.ByteString getDefaultLocationBytes(); + com.google.protobuf.ByteString + getDefaultLocationBytes(); /** - * - * *
      * Optional. The default schema (BigQuery dataset ID) for assertions.
      * 
* * string assertion_schema = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The assertionSchema. */ java.lang.String getAssertionSchema(); /** - * - * *
      * Optional. The default schema (BigQuery dataset ID) for assertions.
      * 
* * string assertion_schema = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for assertionSchema. */ - com.google.protobuf.ByteString getAssertionSchemaBytes(); + com.google.protobuf.ByteString + getAssertionSchemaBytes(); /** - * - * *
      * Optional. User-defined variables that are made available to project code during
      * compilation.
@@ -295,8 +237,6 @@ public interface CodeCompilationConfigOrBuilder
      */
     int getVarsCount();
     /**
-     *
-     *
      * 
      * Optional. User-defined variables that are made available to project code during
      * compilation.
@@ -304,13 +244,15 @@ public interface CodeCompilationConfigOrBuilder
      *
      * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
-    boolean containsVars(java.lang.String key);
-    /** Use {@link #getVarsMap()} instead. */
+    boolean containsVars(
+        java.lang.String key);
+    /**
+     * Use {@link #getVarsMap()} instead.
+     */
     @java.lang.Deprecated
-    java.util.Map getVars();
+    java.util.Map
+    getVars();
     /**
-     *
-     *
      * 
      * Optional. User-defined variables that are made available to project code during
      * compilation.
@@ -318,10 +260,9 @@ public interface CodeCompilationConfigOrBuilder
      *
      * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
-    java.util.Map getVarsMap();
+    java.util.Map
+    getVarsMap();
     /**
-     *
-     *
      * 
      * Optional. User-defined variables that are made available to project code during
      * compilation.
@@ -331,13 +272,11 @@ public interface CodeCompilationConfigOrBuilder
      */
 
     /* nullable */
-    java.lang.String getVarsOrDefault(
+java.lang.String getVarsOrDefault(
         java.lang.String key,
         /* nullable */
-        java.lang.String defaultValue);
+java.lang.String defaultValue);
     /**
-     *
-     *
      * 
      * Optional. User-defined variables that are made available to project code during
      * compilation.
@@ -345,106 +284,90 @@ java.lang.String getVarsOrDefault(
      *
      * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
-    java.lang.String getVarsOrThrow(java.lang.String key);
+
+    java.lang.String getVarsOrThrow(
+        java.lang.String key);
 
     /**
-     *
-     *
      * 
      * Optional. The suffix that should be appended to all database (Google Cloud project
      * ID) names.
      * 
* * string database_suffix = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The databaseSuffix. */ java.lang.String getDatabaseSuffix(); /** - * - * *
      * Optional. The suffix that should be appended to all database (Google Cloud project
      * ID) names.
      * 
* * string database_suffix = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for databaseSuffix. */ - com.google.protobuf.ByteString getDatabaseSuffixBytes(); + com.google.protobuf.ByteString + getDatabaseSuffixBytes(); /** - * - * *
      * Optional. The suffix that should be appended to all schema (BigQuery dataset ID)
      * names.
      * 
* * string schema_suffix = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The schemaSuffix. */ java.lang.String getSchemaSuffix(); /** - * - * *
      * Optional. The suffix that should be appended to all schema (BigQuery dataset ID)
      * names.
      * 
* * string schema_suffix = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for schemaSuffix. */ - com.google.protobuf.ByteString getSchemaSuffixBytes(); + com.google.protobuf.ByteString + getSchemaSuffixBytes(); /** - * - * *
      * Optional. The prefix that should be prepended to all table names.
      * 
* * string table_prefix = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The tablePrefix. */ java.lang.String getTablePrefix(); /** - * - * *
      * Optional. The prefix that should be prepended to all table names.
      * 
* * string table_prefix = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for tablePrefix. */ - com.google.protobuf.ByteString getTablePrefixBytes(); + com.google.protobuf.ByteString + getTablePrefixBytes(); } /** - * - * *
    * Configures various aspects of Dataform code compilation.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig} */ - public static final class CodeCompilationConfig extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CodeCompilationConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig) CodeCompilationConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CodeCompilationConfig.newBuilder() to construct. private CodeCompilationConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CodeCompilationConfig() { defaultDatabase_ = ""; defaultSchema_ = ""; @@ -457,15 +380,16 @@ private CodeCompilationConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CodeCompilationConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CodeCompilationConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -485,75 +409,68 @@ private CodeCompilationConfig( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - defaultDatabase_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + defaultDatabase_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - defaultSchema_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + defaultSchema_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - assertionSchema_ = s; - break; - } - case 34: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - vars_ = - com.google.protobuf.MapField.newMapField(VarsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry vars__ = - input.readMessage( - VarsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - vars_.getMutableMap().put(vars__.getKey(), vars__.getValue()); - break; + assertionSchema_ = s; + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + vars_ = com.google.protobuf.MapField.newMapField( + VarsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + com.google.protobuf.MapEntry + vars__ = input.readMessage( + VarsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + vars_.getMutableMap().put( + vars__.getKey(), vars__.getValue()); + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); - databaseSuffix_ = s; - break; - } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); + databaseSuffix_ = s; + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); - schemaSuffix_ = s; - break; - } - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); + schemaSuffix_ = s; + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); - tablePrefix_ = s; - break; - } - case 66: - { - java.lang.String s = input.readStringRequireUtf8(); + tablePrefix_ = s; + break; + } + case 66: { + java.lang.String s = input.readStringRequireUtf8(); - defaultLocation_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + defaultLocation_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -561,51 +478,46 @@ private CodeCompilationConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 4: return internalGetVars(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.class, - com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.Builder - .class); + com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.class, com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.Builder.class); } public static final int DEFAULT_DATABASE_FIELD_NUMBER = 1; private volatile java.lang.Object defaultDatabase_; /** - * - * *
      * Optional. The default database (Google Cloud project ID).
      * 
* * string default_database = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The defaultDatabase. */ @java.lang.Override @@ -614,29 +526,29 @@ public java.lang.String getDefaultDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultDatabase_ = s; return s; } } /** - * - * *
      * Optional. The default database (Google Cloud project ID).
      * 
* * string default_database = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for defaultDatabase. */ @java.lang.Override - public com.google.protobuf.ByteString getDefaultDatabaseBytes() { + public com.google.protobuf.ByteString + getDefaultDatabaseBytes() { java.lang.Object ref = defaultDatabase_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); defaultDatabase_ = b; return b; } else { @@ -647,14 +559,11 @@ public com.google.protobuf.ByteString getDefaultDatabaseBytes() { public static final int DEFAULT_SCHEMA_FIELD_NUMBER = 2; private volatile java.lang.Object defaultSchema_; /** - * - * *
      * Optional. The default schema (BigQuery dataset ID).
      * 
* * string default_schema = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The defaultSchema. */ @java.lang.Override @@ -663,29 +572,29 @@ public java.lang.String getDefaultSchema() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultSchema_ = s; return s; } } /** - * - * *
      * Optional. The default schema (BigQuery dataset ID).
      * 
* * string default_schema = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for defaultSchema. */ @java.lang.Override - public com.google.protobuf.ByteString getDefaultSchemaBytes() { + public com.google.protobuf.ByteString + getDefaultSchemaBytes() { java.lang.Object ref = defaultSchema_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); defaultSchema_ = b; return b; } else { @@ -696,8 +605,6 @@ public com.google.protobuf.ByteString getDefaultSchemaBytes() { public static final int DEFAULT_LOCATION_FIELD_NUMBER = 8; private volatile java.lang.Object defaultLocation_; /** - * - * *
      * Optional. The default BigQuery location to use. Defaults to "US".
      * See the BigQuery docs for a full list of locations:
@@ -705,7 +612,6 @@ public com.google.protobuf.ByteString getDefaultSchemaBytes() {
      * 
* * string default_location = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The defaultLocation. */ @java.lang.Override @@ -714,15 +620,14 @@ public java.lang.String getDefaultLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultLocation_ = s; return s; } } /** - * - * *
      * Optional. The default BigQuery location to use. Defaults to "US".
      * See the BigQuery docs for a full list of locations:
@@ -730,15 +635,16 @@ public java.lang.String getDefaultLocation() {
      * 
* * string default_location = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for defaultLocation. */ @java.lang.Override - public com.google.protobuf.ByteString getDefaultLocationBytes() { + public com.google.protobuf.ByteString + getDefaultLocationBytes() { java.lang.Object ref = defaultLocation_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); defaultLocation_ = b; return b; } else { @@ -749,14 +655,11 @@ public com.google.protobuf.ByteString getDefaultLocationBytes() { public static final int ASSERTION_SCHEMA_FIELD_NUMBER = 3; private volatile java.lang.Object assertionSchema_; /** - * - * *
      * Optional. The default schema (BigQuery dataset ID) for assertions.
      * 
* * string assertion_schema = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The assertionSchema. */ @java.lang.Override @@ -765,29 +668,29 @@ public java.lang.String getAssertionSchema() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assertionSchema_ = s; return s; } } /** - * - * *
      * Optional. The default schema (BigQuery dataset ID) for assertions.
      * 
* * string assertion_schema = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for assertionSchema. */ @java.lang.Override - public com.google.protobuf.ByteString getAssertionSchemaBytes() { + public com.google.protobuf.ByteString + getAssertionSchemaBytes() { java.lang.Object ref = assertionSchema_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); assertionSchema_ = b; return b; } else { @@ -796,23 +699,24 @@ public com.google.protobuf.ByteString getAssertionSchemaBytes() { } public static final int VARS_FIELD_NUMBER = 4; - private static final class VarsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_VarsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - - private com.google.protobuf.MapField vars_; - - private com.google.protobuf.MapField internalGetVars() { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_VarsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> vars_; + private com.google.protobuf.MapField + internalGetVars() { if (vars_ == null) { - return com.google.protobuf.MapField.emptyMapField(VarsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + VarsDefaultEntryHolder.defaultEntry); } return vars_; } @@ -821,8 +725,6 @@ public int getVarsCount() { return internalGetVars().getMap().size(); } /** - * - * *
      * Optional. User-defined variables that are made available to project code during
      * compilation.
@@ -830,22 +732,22 @@ public int getVarsCount() {
      *
      * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
+
     @java.lang.Override
-    public boolean containsVars(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsVars(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetVars().getMap().containsKey(key);
     }
-    /** Use {@link #getVarsMap()} instead. */
+    /**
+     * Use {@link #getVarsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getVars() {
       return getVarsMap();
     }
     /**
-     *
-     *
      * 
      * Optional. User-defined variables that are made available to project code during
      * compilation.
@@ -854,12 +756,11 @@ public java.util.Map getVars() {
      * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
+
     public java.util.Map getVarsMap() {
       return internalGetVars().getMap();
     }
     /**
-     *
-     *
      * 
      * Optional. User-defined variables that are made available to project code during
      * compilation.
@@ -868,16 +769,16 @@ public java.util.Map getVarsMap() {
      * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public java.lang.String getVarsOrDefault(java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetVars().getMap();
+
+    public java.lang.String getVarsOrDefault(
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetVars().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Optional. User-defined variables that are made available to project code during
      * compilation.
@@ -886,11 +787,12 @@ public java.lang.String getVarsOrDefault(java.lang.String key, java.lang.String
      * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-    public java.lang.String getVarsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetVars().getMap();
+
+    public java.lang.String getVarsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetVars().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -900,15 +802,12 @@ public java.lang.String getVarsOrThrow(java.lang.String key) {
     public static final int DATABASE_SUFFIX_FIELD_NUMBER = 5;
     private volatile java.lang.Object databaseSuffix_;
     /**
-     *
-     *
      * 
      * Optional. The suffix that should be appended to all database (Google Cloud project
      * ID) names.
      * 
* * string database_suffix = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The databaseSuffix. */ @java.lang.Override @@ -917,30 +816,30 @@ public java.lang.String getDatabaseSuffix() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseSuffix_ = s; return s; } } /** - * - * *
      * Optional. The suffix that should be appended to all database (Google Cloud project
      * ID) names.
      * 
* * string database_suffix = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for databaseSuffix. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseSuffixBytes() { + public com.google.protobuf.ByteString + getDatabaseSuffixBytes() { java.lang.Object ref = databaseSuffix_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); databaseSuffix_ = b; return b; } else { @@ -951,15 +850,12 @@ public com.google.protobuf.ByteString getDatabaseSuffixBytes() { public static final int SCHEMA_SUFFIX_FIELD_NUMBER = 6; private volatile java.lang.Object schemaSuffix_; /** - * - * *
      * Optional. The suffix that should be appended to all schema (BigQuery dataset ID)
      * names.
      * 
* * string schema_suffix = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The schemaSuffix. */ @java.lang.Override @@ -968,30 +864,30 @@ public java.lang.String getSchemaSuffix() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schemaSuffix_ = s; return s; } } /** - * - * *
      * Optional. The suffix that should be appended to all schema (BigQuery dataset ID)
      * names.
      * 
* * string schema_suffix = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for schemaSuffix. */ @java.lang.Override - public com.google.protobuf.ByteString getSchemaSuffixBytes() { + public com.google.protobuf.ByteString + getSchemaSuffixBytes() { java.lang.Object ref = schemaSuffix_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); schemaSuffix_ = b; return b; } else { @@ -1002,14 +898,11 @@ public com.google.protobuf.ByteString getSchemaSuffixBytes() { public static final int TABLE_PREFIX_FIELD_NUMBER = 7; private volatile java.lang.Object tablePrefix_; /** - * - * *
      * Optional. The prefix that should be prepended to all table names.
      * 
* * string table_prefix = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The tablePrefix. */ @java.lang.Override @@ -1018,29 +911,29 @@ public java.lang.String getTablePrefix() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tablePrefix_ = s; return s; } } /** - * - * *
      * Optional. The prefix that should be prepended to all table names.
      * 
* * string table_prefix = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for tablePrefix. */ @java.lang.Override - public com.google.protobuf.ByteString getTablePrefixBytes() { + public com.google.protobuf.ByteString + getTablePrefixBytes() { java.lang.Object ref = tablePrefix_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tablePrefix_ = b; return b; } else { @@ -1049,7 +942,6 @@ public com.google.protobuf.ByteString getTablePrefixBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1061,7 +953,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultDatabase_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, defaultDatabase_); } @@ -1071,8 +964,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(assertionSchema_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, assertionSchema_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetVars(), VarsDefaultEntryHolder.defaultEntry, 4); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetVars(), + VarsDefaultEntryHolder.defaultEntry, + 4); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(databaseSuffix_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, databaseSuffix_); } @@ -1103,15 +1000,15 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(assertionSchema_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, assertionSchema_); } - for (java.util.Map.Entry entry : - internalGetVars().getMap().entrySet()) { - com.google.protobuf.MapEntry vars__ = - VarsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, vars__); + for (java.util.Map.Entry entry + : internalGetVars().getMap().entrySet()) { + com.google.protobuf.MapEntry + vars__ = VarsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, vars__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(databaseSuffix_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, databaseSuffix_); @@ -1133,23 +1030,29 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig)) { + if (!(obj instanceof com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig other = - (com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig) obj; - - if (!getDefaultDatabase().equals(other.getDefaultDatabase())) return false; - if (!getDefaultSchema().equals(other.getDefaultSchema())) return false; - if (!getDefaultLocation().equals(other.getDefaultLocation())) return false; - if (!getAssertionSchema().equals(other.getAssertionSchema())) return false; - if (!internalGetVars().equals(other.internalGetVars())) return false; - if (!getDatabaseSuffix().equals(other.getDatabaseSuffix())) return false; - if (!getSchemaSuffix().equals(other.getSchemaSuffix())) return false; - if (!getTablePrefix().equals(other.getTablePrefix())) return false; + com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig other = (com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig) obj; + + if (!getDefaultDatabase() + .equals(other.getDefaultDatabase())) return false; + if (!getDefaultSchema() + .equals(other.getDefaultSchema())) return false; + if (!getDefaultLocation() + .equals(other.getDefaultLocation())) return false; + if (!getAssertionSchema() + .equals(other.getAssertionSchema())) return false; + if (!internalGetVars().equals( + other.internalGetVars())) return false; + if (!getDatabaseSuffix() + .equals(other.getDatabaseSuffix())) return false; + if (!getSchemaSuffix() + .equals(other.getSchemaSuffix())) return false; + if (!getTablePrefix() + .equals(other.getTablePrefix())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1184,101 +1087,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1288,70 +1178,66 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Configures various aspects of Dataform code compilation.
      * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig) com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 4: return internalGetVars(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 4: return internalGetMutableVars(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.class, - com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.Builder - .class); + com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.class, com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.Builder.class); } - // Construct using - // com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.newBuilder() + // Construct using com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1374,22 +1260,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig - getDefaultInstanceForType() { - return com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig - .getDefaultInstance(); + public com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig getDefaultInstanceForType() { + return com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig build() { - com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig result = - buildPartial(); + com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1397,10 +1280,8 @@ public com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfi } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig - buildPartial() { - com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig result = - new com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig(this); + public com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig buildPartial() { + com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig result = new com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig(this); int from_bitField0_ = bitField0_; result.defaultDatabase_ = defaultDatabase_; result.defaultSchema_ = defaultSchema_; @@ -1419,54 +1300,46 @@ public com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfi public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig) { - return mergeFrom( - (com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig) other); + if (other instanceof com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig) { + return mergeFrom((com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig other) { - if (other - == com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig other) { + if (other == com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.getDefaultInstance()) return this; if (!other.getDefaultDatabase().isEmpty()) { defaultDatabase_ = other.defaultDatabase_; onChanged(); @@ -1483,7 +1356,8 @@ public Builder mergeFrom( assertionSchema_ = other.assertionSchema_; onChanged(); } - internalGetMutableVars().mergeFrom(other.internalGetVars()); + internalGetMutableVars().mergeFrom( + other.internalGetVars()); if (!other.getDatabaseSuffix().isEmpty()) { databaseSuffix_ = other.databaseSuffix_; onChanged(); @@ -1511,14 +1385,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig parsedMessage = - null; + com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1527,25 +1398,22 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object defaultDatabase_ = ""; /** - * - * *
        * Optional. The default database (Google Cloud project ID).
        * 
* * string default_database = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The defaultDatabase. */ public java.lang.String getDefaultDatabase() { java.lang.Object ref = defaultDatabase_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultDatabase_ = s; return s; @@ -1554,21 +1422,20 @@ public java.lang.String getDefaultDatabase() { } } /** - * - * *
        * Optional. The default database (Google Cloud project ID).
        * 
* * string default_database = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for defaultDatabase. */ - public com.google.protobuf.ByteString getDefaultDatabaseBytes() { + public com.google.protobuf.ByteString + getDefaultDatabaseBytes() { java.lang.Object ref = defaultDatabase_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); defaultDatabase_ = b; return b; } else { @@ -1576,61 +1443,54 @@ public com.google.protobuf.ByteString getDefaultDatabaseBytes() { } } /** - * - * *
        * Optional. The default database (Google Cloud project ID).
        * 
* * string default_database = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The defaultDatabase to set. * @return This builder for chaining. */ - public Builder setDefaultDatabase(java.lang.String value) { + public Builder setDefaultDatabase( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + defaultDatabase_ = value; onChanged(); return this; } /** - * - * *
        * Optional. The default database (Google Cloud project ID).
        * 
* * string default_database = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDefaultDatabase() { - + defaultDatabase_ = getDefaultInstance().getDefaultDatabase(); onChanged(); return this; } /** - * - * *
        * Optional. The default database (Google Cloud project ID).
        * 
* * string default_database = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for defaultDatabase to set. * @return This builder for chaining. */ - public Builder setDefaultDatabaseBytes(com.google.protobuf.ByteString value) { + public Builder setDefaultDatabaseBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + defaultDatabase_ = value; onChanged(); return this; @@ -1638,20 +1498,18 @@ public Builder setDefaultDatabaseBytes(com.google.protobuf.ByteString value) { private java.lang.Object defaultSchema_ = ""; /** - * - * *
        * Optional. The default schema (BigQuery dataset ID).
        * 
* * string default_schema = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The defaultSchema. */ public java.lang.String getDefaultSchema() { java.lang.Object ref = defaultSchema_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultSchema_ = s; return s; @@ -1660,21 +1518,20 @@ public java.lang.String getDefaultSchema() { } } /** - * - * *
        * Optional. The default schema (BigQuery dataset ID).
        * 
* * string default_schema = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for defaultSchema. */ - public com.google.protobuf.ByteString getDefaultSchemaBytes() { + public com.google.protobuf.ByteString + getDefaultSchemaBytes() { java.lang.Object ref = defaultSchema_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); defaultSchema_ = b; return b; } else { @@ -1682,61 +1539,54 @@ public com.google.protobuf.ByteString getDefaultSchemaBytes() { } } /** - * - * *
        * Optional. The default schema (BigQuery dataset ID).
        * 
* * string default_schema = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The defaultSchema to set. * @return This builder for chaining. */ - public Builder setDefaultSchema(java.lang.String value) { + public Builder setDefaultSchema( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + defaultSchema_ = value; onChanged(); return this; } /** - * - * *
        * Optional. The default schema (BigQuery dataset ID).
        * 
* * string default_schema = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDefaultSchema() { - + defaultSchema_ = getDefaultInstance().getDefaultSchema(); onChanged(); return this; } /** - * - * *
        * Optional. The default schema (BigQuery dataset ID).
        * 
* * string default_schema = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for defaultSchema to set. * @return This builder for chaining. */ - public Builder setDefaultSchemaBytes(com.google.protobuf.ByteString value) { + public Builder setDefaultSchemaBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + defaultSchema_ = value; onChanged(); return this; @@ -1744,8 +1594,6 @@ public Builder setDefaultSchemaBytes(com.google.protobuf.ByteString value) { private java.lang.Object defaultLocation_ = ""; /** - * - * *
        * Optional. The default BigQuery location to use. Defaults to "US".
        * See the BigQuery docs for a full list of locations:
@@ -1753,13 +1601,13 @@ public Builder setDefaultSchemaBytes(com.google.protobuf.ByteString value) {
        * 
* * string default_location = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The defaultLocation. */ public java.lang.String getDefaultLocation() { java.lang.Object ref = defaultLocation_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultLocation_ = s; return s; @@ -1768,8 +1616,6 @@ public java.lang.String getDefaultLocation() { } } /** - * - * *
        * Optional. The default BigQuery location to use. Defaults to "US".
        * See the BigQuery docs for a full list of locations:
@@ -1777,14 +1623,15 @@ public java.lang.String getDefaultLocation() {
        * 
* * string default_location = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for defaultLocation. */ - public com.google.protobuf.ByteString getDefaultLocationBytes() { + public com.google.protobuf.ByteString + getDefaultLocationBytes() { java.lang.Object ref = defaultLocation_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); defaultLocation_ = b; return b; } else { @@ -1792,8 +1639,6 @@ public com.google.protobuf.ByteString getDefaultLocationBytes() { } } /** - * - * *
        * Optional. The default BigQuery location to use. Defaults to "US".
        * See the BigQuery docs for a full list of locations:
@@ -1801,22 +1646,20 @@ public com.google.protobuf.ByteString getDefaultLocationBytes() {
        * 
* * string default_location = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The defaultLocation to set. * @return This builder for chaining. */ - public Builder setDefaultLocation(java.lang.String value) { + public Builder setDefaultLocation( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + defaultLocation_ = value; onChanged(); return this; } /** - * - * *
        * Optional. The default BigQuery location to use. Defaults to "US".
        * See the BigQuery docs for a full list of locations:
@@ -1824,18 +1667,15 @@ public Builder setDefaultLocation(java.lang.String value) {
        * 
* * string default_location = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDefaultLocation() { - + defaultLocation_ = getDefaultInstance().getDefaultLocation(); onChanged(); return this; } /** - * - * *
        * Optional. The default BigQuery location to use. Defaults to "US".
        * See the BigQuery docs for a full list of locations:
@@ -1843,16 +1683,16 @@ public Builder clearDefaultLocation() {
        * 
* * string default_location = 8 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for defaultLocation to set. * @return This builder for chaining. */ - public Builder setDefaultLocationBytes(com.google.protobuf.ByteString value) { + public Builder setDefaultLocationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + defaultLocation_ = value; onChanged(); return this; @@ -1860,20 +1700,18 @@ public Builder setDefaultLocationBytes(com.google.protobuf.ByteString value) { private java.lang.Object assertionSchema_ = ""; /** - * - * *
        * Optional. The default schema (BigQuery dataset ID) for assertions.
        * 
* * string assertion_schema = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The assertionSchema. */ public java.lang.String getAssertionSchema() { java.lang.Object ref = assertionSchema_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assertionSchema_ = s; return s; @@ -1882,21 +1720,20 @@ public java.lang.String getAssertionSchema() { } } /** - * - * *
        * Optional. The default schema (BigQuery dataset ID) for assertions.
        * 
* * string assertion_schema = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for assertionSchema. */ - public com.google.protobuf.ByteString getAssertionSchemaBytes() { + public com.google.protobuf.ByteString + getAssertionSchemaBytes() { java.lang.Object ref = assertionSchema_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); assertionSchema_ = b; return b; } else { @@ -1904,81 +1741,75 @@ public com.google.protobuf.ByteString getAssertionSchemaBytes() { } } /** - * - * *
        * Optional. The default schema (BigQuery dataset ID) for assertions.
        * 
* * string assertion_schema = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The assertionSchema to set. * @return This builder for chaining. */ - public Builder setAssertionSchema(java.lang.String value) { + public Builder setAssertionSchema( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + assertionSchema_ = value; onChanged(); return this; } /** - * - * *
        * Optional. The default schema (BigQuery dataset ID) for assertions.
        * 
* * string assertion_schema = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearAssertionSchema() { - + assertionSchema_ = getDefaultInstance().getAssertionSchema(); onChanged(); return this; } /** - * - * *
        * Optional. The default schema (BigQuery dataset ID) for assertions.
        * 
* * string assertion_schema = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for assertionSchema to set. * @return This builder for chaining. */ - public Builder setAssertionSchemaBytes(com.google.protobuf.ByteString value) { + public Builder setAssertionSchemaBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + assertionSchema_ = value; onChanged(); return this; } - private com.google.protobuf.MapField vars_; - - private com.google.protobuf.MapField internalGetVars() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> vars_; + private com.google.protobuf.MapField + internalGetVars() { if (vars_ == null) { - return com.google.protobuf.MapField.emptyMapField(VarsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + VarsDefaultEntryHolder.defaultEntry); } return vars_; } - private com.google.protobuf.MapField - internalGetMutableVars() { - onChanged(); - ; + internalGetMutableVars() { + onChanged();; if (vars_ == null) { - vars_ = com.google.protobuf.MapField.newMapField(VarsDefaultEntryHolder.defaultEntry); + vars_ = com.google.protobuf.MapField.newMapField( + VarsDefaultEntryHolder.defaultEntry); } if (!vars_.isMutable()) { vars_ = vars_.copy(); @@ -1990,8 +1821,6 @@ public int getVarsCount() { return internalGetVars().getMap().size(); } /** - * - * *
        * Optional. User-defined variables that are made available to project code during
        * compilation.
@@ -1999,22 +1828,22 @@ public int getVarsCount() {
        *
        * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];
        */
+
       @java.lang.Override
-      public boolean containsVars(java.lang.String key) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
+      public boolean containsVars(
+          java.lang.String key) {
+        if (key == null) { throw new NullPointerException("map key"); }
         return internalGetVars().getMap().containsKey(key);
       }
-      /** Use {@link #getVarsMap()} instead. */
+      /**
+       * Use {@link #getVarsMap()} instead.
+       */
       @java.lang.Override
       @java.lang.Deprecated
       public java.util.Map getVars() {
         return getVarsMap();
       }
       /**
-       *
-       *
        * 
        * Optional. User-defined variables that are made available to project code during
        * compilation.
@@ -2023,12 +1852,11 @@ public java.util.Map getVars() {
        * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];
        */
       @java.lang.Override
+
       public java.util.Map getVarsMap() {
         return internalGetVars().getMap();
       }
       /**
-       *
-       *
        * 
        * Optional. User-defined variables that are made available to project code during
        * compilation.
@@ -2037,17 +1865,16 @@ public java.util.Map getVarsMap() {
        * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];
        */
       @java.lang.Override
+
       public java.lang.String getVarsOrDefault(
-          java.lang.String key, java.lang.String defaultValue) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
-        java.util.Map map = internalGetVars().getMap();
+          java.lang.String key,
+          java.lang.String defaultValue) {
+        if (key == null) { throw new NullPointerException("map key"); }
+        java.util.Map map =
+            internalGetVars().getMap();
         return map.containsKey(key) ? map.get(key) : defaultValue;
       }
       /**
-       *
-       *
        * 
        * Optional. User-defined variables that are made available to project code during
        * compilation.
@@ -2056,11 +1883,12 @@ public java.lang.String getVarsOrDefault(
        * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];
        */
       @java.lang.Override
-      public java.lang.String getVarsOrThrow(java.lang.String key) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
-        java.util.Map map = internalGetVars().getMap();
+
+      public java.lang.String getVarsOrThrow(
+          java.lang.String key) {
+        if (key == null) { throw new NullPointerException("map key"); }
+        java.util.Map map =
+            internalGetVars().getMap();
         if (!map.containsKey(key)) {
           throw new java.lang.IllegalArgumentException();
         }
@@ -2068,12 +1896,11 @@ public java.lang.String getVarsOrThrow(java.lang.String key) {
       }
 
       public Builder clearVars() {
-        internalGetMutableVars().getMutableMap().clear();
+        internalGetMutableVars().getMutableMap()
+            .clear();
         return this;
       }
       /**
-       *
-       *
        * 
        * Optional. User-defined variables that are made available to project code during
        * compilation.
@@ -2081,21 +1908,23 @@ public Builder clearVars() {
        *
        * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];
        */
-      public Builder removeVars(java.lang.String key) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
-        internalGetMutableVars().getMutableMap().remove(key);
+
+      public Builder removeVars(
+          java.lang.String key) {
+        if (key == null) { throw new NullPointerException("map key"); }
+        internalGetMutableVars().getMutableMap()
+            .remove(key);
         return this;
       }
-      /** Use alternate mutation accessors instead. */
+      /**
+       * Use alternate mutation accessors instead.
+       */
       @java.lang.Deprecated
-      public java.util.Map getMutableVars() {
+      public java.util.Map
+      getMutableVars() {
         return internalGetMutableVars().getMutableMap();
       }
       /**
-       *
-       *
        * 
        * Optional. User-defined variables that are made available to project code during
        * compilation.
@@ -2103,20 +1932,19 @@ public java.util.Map getMutableVars() {
        *
        * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];
        */
-      public Builder putVars(java.lang.String key, java.lang.String value) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
+      public Builder putVars(
+          java.lang.String key,
+          java.lang.String value) {
+        if (key == null) { throw new NullPointerException("map key"); }
         if (value == null) {
-          throw new NullPointerException("map value");
-        }
+  throw new NullPointerException("map value");
+}
 
-        internalGetMutableVars().getMutableMap().put(key, value);
+        internalGetMutableVars().getMutableMap()
+            .put(key, value);
         return this;
       }
       /**
-       *
-       *
        * 
        * Optional. User-defined variables that are made available to project code during
        * compilation.
@@ -2124,28 +1952,29 @@ public Builder putVars(java.lang.String key, java.lang.String value) {
        *
        * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];
        */
-      public Builder putAllVars(java.util.Map values) {
-        internalGetMutableVars().getMutableMap().putAll(values);
+
+      public Builder putAllVars(
+          java.util.Map values) {
+        internalGetMutableVars().getMutableMap()
+            .putAll(values);
         return this;
       }
 
       private java.lang.Object databaseSuffix_ = "";
       /**
-       *
-       *
        * 
        * Optional. The suffix that should be appended to all database (Google Cloud project
        * ID) names.
        * 
* * string database_suffix = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The databaseSuffix. */ public java.lang.String getDatabaseSuffix() { java.lang.Object ref = databaseSuffix_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseSuffix_ = s; return s; @@ -2154,22 +1983,21 @@ public java.lang.String getDatabaseSuffix() { } } /** - * - * *
        * Optional. The suffix that should be appended to all database (Google Cloud project
        * ID) names.
        * 
* * string database_suffix = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for databaseSuffix. */ - public com.google.protobuf.ByteString getDatabaseSuffixBytes() { + public com.google.protobuf.ByteString + getDatabaseSuffixBytes() { java.lang.Object ref = databaseSuffix_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); databaseSuffix_ = b; return b; } else { @@ -2177,64 +2005,57 @@ public com.google.protobuf.ByteString getDatabaseSuffixBytes() { } } /** - * - * *
        * Optional. The suffix that should be appended to all database (Google Cloud project
        * ID) names.
        * 
* * string database_suffix = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The databaseSuffix to set. * @return This builder for chaining. */ - public Builder setDatabaseSuffix(java.lang.String value) { + public Builder setDatabaseSuffix( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + databaseSuffix_ = value; onChanged(); return this; } /** - * - * *
        * Optional. The suffix that should be appended to all database (Google Cloud project
        * ID) names.
        * 
* * string database_suffix = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearDatabaseSuffix() { - + databaseSuffix_ = getDefaultInstance().getDatabaseSuffix(); onChanged(); return this; } /** - * - * *
        * Optional. The suffix that should be appended to all database (Google Cloud project
        * ID) names.
        * 
* * string database_suffix = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for databaseSuffix to set. * @return This builder for chaining. */ - public Builder setDatabaseSuffixBytes(com.google.protobuf.ByteString value) { + public Builder setDatabaseSuffixBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + databaseSuffix_ = value; onChanged(); return this; @@ -2242,21 +2063,19 @@ public Builder setDatabaseSuffixBytes(com.google.protobuf.ByteString value) { private java.lang.Object schemaSuffix_ = ""; /** - * - * *
        * Optional. The suffix that should be appended to all schema (BigQuery dataset ID)
        * names.
        * 
* * string schema_suffix = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The schemaSuffix. */ public java.lang.String getSchemaSuffix() { java.lang.Object ref = schemaSuffix_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schemaSuffix_ = s; return s; @@ -2265,22 +2084,21 @@ public java.lang.String getSchemaSuffix() { } } /** - * - * *
        * Optional. The suffix that should be appended to all schema (BigQuery dataset ID)
        * names.
        * 
* * string schema_suffix = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for schemaSuffix. */ - public com.google.protobuf.ByteString getSchemaSuffixBytes() { + public com.google.protobuf.ByteString + getSchemaSuffixBytes() { java.lang.Object ref = schemaSuffix_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); schemaSuffix_ = b; return b; } else { @@ -2288,64 +2106,57 @@ public com.google.protobuf.ByteString getSchemaSuffixBytes() { } } /** - * - * *
        * Optional. The suffix that should be appended to all schema (BigQuery dataset ID)
        * names.
        * 
* * string schema_suffix = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The schemaSuffix to set. * @return This builder for chaining. */ - public Builder setSchemaSuffix(java.lang.String value) { + public Builder setSchemaSuffix( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + schemaSuffix_ = value; onChanged(); return this; } /** - * - * *
        * Optional. The suffix that should be appended to all schema (BigQuery dataset ID)
        * names.
        * 
* * string schema_suffix = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearSchemaSuffix() { - + schemaSuffix_ = getDefaultInstance().getSchemaSuffix(); onChanged(); return this; } /** - * - * *
        * Optional. The suffix that should be appended to all schema (BigQuery dataset ID)
        * names.
        * 
* * string schema_suffix = 6 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for schemaSuffix to set. * @return This builder for chaining. */ - public Builder setSchemaSuffixBytes(com.google.protobuf.ByteString value) { + public Builder setSchemaSuffixBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + schemaSuffix_ = value; onChanged(); return this; @@ -2353,20 +2164,18 @@ public Builder setSchemaSuffixBytes(com.google.protobuf.ByteString value) { private java.lang.Object tablePrefix_ = ""; /** - * - * *
        * Optional. The prefix that should be prepended to all table names.
        * 
* * string table_prefix = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The tablePrefix. */ public java.lang.String getTablePrefix() { java.lang.Object ref = tablePrefix_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tablePrefix_ = s; return s; @@ -2375,21 +2184,20 @@ public java.lang.String getTablePrefix() { } } /** - * - * *
        * Optional. The prefix that should be prepended to all table names.
        * 
* * string table_prefix = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for tablePrefix. */ - public com.google.protobuf.ByteString getTablePrefixBytes() { + public com.google.protobuf.ByteString + getTablePrefixBytes() { java.lang.Object ref = tablePrefix_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tablePrefix_ = b; return b; } else { @@ -2397,66 +2205,58 @@ public com.google.protobuf.ByteString getTablePrefixBytes() { } } /** - * - * *
        * Optional. The prefix that should be prepended to all table names.
        * 
* * string table_prefix = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The tablePrefix to set. * @return This builder for chaining. */ - public Builder setTablePrefix(java.lang.String value) { + public Builder setTablePrefix( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tablePrefix_ = value; onChanged(); return this; } /** - * - * *
        * Optional. The prefix that should be prepended to all table names.
        * 
* * string table_prefix = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearTablePrefix() { - + tablePrefix_ = getDefaultInstance().getTablePrefix(); onChanged(); return this; } /** - * - * *
        * Optional. The prefix that should be prepended to all table names.
        * 
* * string table_prefix = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for tablePrefix to set. * @return This builder for chaining. */ - public Builder setTablePrefixBytes(com.google.protobuf.ByteString value) { + public Builder setTablePrefixBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tablePrefix_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2469,33 +2269,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig) - private static final com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig(); + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig(); } - public static com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig - getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CodeCompilationConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CodeCompilationConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CodeCompilationConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CodeCompilationConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2507,154 +2304,121 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig - getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface CompilationErrorOrBuilder - extends + public interface CompilationErrorOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.CompilationResult.CompilationError) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Output only. The error's top level message.
      * 
* * string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The message. */ java.lang.String getMessage(); /** - * - * *
      * Output only. The error's top level message.
      * 
* * string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for message. */ - com.google.protobuf.ByteString getMessageBytes(); + com.google.protobuf.ByteString + getMessageBytes(); /** - * - * *
      * Output only. The error's full stack trace.
      * 
* * string stack = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The stack. */ java.lang.String getStack(); /** - * - * *
      * Output only. The error's full stack trace.
      * 
* * string stack = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for stack. */ - com.google.protobuf.ByteString getStackBytes(); + com.google.protobuf.ByteString + getStackBytes(); /** - * - * *
      * Output only. The path of the file where this error occurred, if available, relative to
      * the project root.
      * 
* * string path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The path. */ java.lang.String getPath(); /** - * - * *
      * Output only. The path of the file where this error occurred, if available, relative to
      * the project root.
      * 
* * string path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for path. */ - com.google.protobuf.ByteString getPathBytes(); + com.google.protobuf.ByteString + getPathBytes(); /** - * - * *
      * Output only. The identifier of the action where this error occurred, if available.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the actionTarget field is set. */ boolean hasActionTarget(); /** - * - * *
      * Output only. The identifier of the action where this error occurred, if available.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The actionTarget. */ com.google.cloud.dataform.v1alpha2.Target getActionTarget(); /** - * - * *
      * Output only. The identifier of the action where this error occurred, if available.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.dataform.v1alpha2.TargetOrBuilder getActionTargetOrBuilder(); } /** - * - * *
    * An error encountered when attempting to compile a Dataform project.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.CompilationResult.CompilationError} */ - public static final class CompilationError extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class CompilationError extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.CompilationResult.CompilationError) CompilationErrorOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CompilationError.newBuilder() to construct. private CompilationError(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CompilationError() { message_ = ""; stack_ = ""; @@ -2663,15 +2427,16 @@ private CompilationError() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CompilationError(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CompilationError( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2690,50 +2455,44 @@ private CompilationError( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - message_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + message_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - stack_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + stack_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - path_ = s; - break; + path_ = s; + break; + } + case 34: { + com.google.cloud.dataform.v1alpha2.Target.Builder subBuilder = null; + if (actionTarget_ != null) { + subBuilder = actionTarget_.toBuilder(); } - case 34: - { - com.google.cloud.dataform.v1alpha2.Target.Builder subBuilder = null; - if (actionTarget_ != null) { - subBuilder = actionTarget_.toBuilder(); - } - actionTarget_ = - input.readMessage( - com.google.cloud.dataform.v1alpha2.Target.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(actionTarget_); - actionTarget_ = subBuilder.buildPartial(); - } - - break; + actionTarget_ = input.readMessage(com.google.cloud.dataform.v1alpha2.Target.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(actionTarget_); + actionTarget_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2741,39 +2500,34 @@ private CompilationError( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CompilationError_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CompilationError_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CompilationError_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CompilationError_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.class, - com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.Builder.class); + com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.class, com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.Builder.class); } public static final int MESSAGE_FIELD_NUMBER = 1; private volatile java.lang.Object message_; /** - * - * *
      * Output only. The error's top level message.
      * 
* * string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The message. */ @java.lang.Override @@ -2782,29 +2536,29 @@ public java.lang.String getMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** - * - * *
      * Output only. The error's top level message.
      * 
* * string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -2815,14 +2569,11 @@ public com.google.protobuf.ByteString getMessageBytes() { public static final int STACK_FIELD_NUMBER = 2; private volatile java.lang.Object stack_; /** - * - * *
      * Output only. The error's full stack trace.
      * 
* * string stack = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The stack. */ @java.lang.Override @@ -2831,29 +2582,29 @@ public java.lang.String getStack() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stack_ = s; return s; } } /** - * - * *
      * Output only. The error's full stack trace.
      * 
* * string stack = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for stack. */ @java.lang.Override - public com.google.protobuf.ByteString getStackBytes() { + public com.google.protobuf.ByteString + getStackBytes() { java.lang.Object ref = stack_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); stack_ = b; return b; } else { @@ -2864,15 +2615,12 @@ public com.google.protobuf.ByteString getStackBytes() { public static final int PATH_FIELD_NUMBER = 3; private volatile java.lang.Object path_; /** - * - * *
      * Output only. The path of the file where this error occurred, if available, relative to
      * the project root.
      * 
* * string path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The path. */ @java.lang.Override @@ -2881,30 +2629,30 @@ public java.lang.String getPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } } /** - * - * *
      * Output only. The path of the file where this error occurred, if available, relative to
      * the project root.
      * 
* * string path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for path. */ @java.lang.Override - public com.google.protobuf.ByteString getPathBytes() { + public com.google.protobuf.ByteString + getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); path_ = b; return b; } else { @@ -2915,16 +2663,11 @@ public com.google.protobuf.ByteString getPathBytes() { public static final int ACTION_TARGET_FIELD_NUMBER = 4; private com.google.cloud.dataform.v1alpha2.Target actionTarget_; /** - * - * *
      * Output only. The identifier of the action where this error occurred, if available.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the actionTarget field is set. */ @java.lang.Override @@ -2932,34 +2675,23 @@ public boolean hasActionTarget() { return actionTarget_ != null; } /** - * - * *
      * Output only. The identifier of the action where this error occurred, if available.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The actionTarget. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.Target getActionTarget() { - return actionTarget_ == null - ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() - : actionTarget_; + return actionTarget_ == null ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() : actionTarget_; } /** - * - * *
      * Output only. The identifier of the action where this error occurred, if available.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getActionTargetOrBuilder() { @@ -2967,7 +2699,6 @@ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getActionTargetOrBuild } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2979,7 +2710,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, message_); } @@ -3011,7 +2743,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, path_); } if (actionTarget_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getActionTarget()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getActionTarget()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3021,20 +2754,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError other = - (com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError) obj; + com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError other = (com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError) obj; - if (!getMessage().equals(other.getMessage())) return false; - if (!getStack().equals(other.getStack())) return false; - if (!getPath().equals(other.getPath())) return false; + if (!getMessage() + .equals(other.getMessage())) return false; + if (!getStack() + .equals(other.getStack())) return false; + if (!getPath() + .equals(other.getPath())) return false; if (hasActionTarget() != other.hasActionTarget()) return false; if (hasActionTarget()) { - if (!getActionTarget().equals(other.getActionTarget())) return false; + if (!getActionTarget() + .equals(other.getActionTarget())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -3063,95 +2799,87 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3161,50 +2889,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * An error encountered when attempting to compile a Dataform project.
      * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.CompilationResult.CompilationError} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.CompilationResult.CompilationError) com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationErrorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CompilationError_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CompilationError_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CompilationError_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CompilationError_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.class, - com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.Builder - .class); + com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.class, com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.Builder.class); } - // Construct using - // com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.newBuilder() + // Construct using com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -3224,22 +2946,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CompilationError_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CompilationError_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError - getDefaultInstanceForType() { - return com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError - .getDefaultInstance(); + public com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError getDefaultInstanceForType() { + return com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError build() { - com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError result = - buildPartial(); + com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -3248,8 +2967,7 @@ public com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError bui @java.lang.Override public com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError buildPartial() { - com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError result = - new com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError(this); + com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError result = new com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError(this); result.message_ = message_; result.stack_ = stack_; result.path_ = path_; @@ -3266,54 +2984,46 @@ public com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError bui public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError) { - return mergeFrom( - (com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError) other); + if (other instanceof com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError) { + return mergeFrom((com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError other) { - if (other - == com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError other) { + if (other == com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.getDefaultInstance()) return this; if (!other.getMessage().isEmpty()) { message_ = other.message_; onChanged(); @@ -3348,9 +3058,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3362,20 +3070,18 @@ public Builder mergeFrom( private java.lang.Object message_ = ""; /** - * - * *
        * Output only. The error's top level message.
        * 
* * string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; @@ -3384,21 +3090,20 @@ public java.lang.String getMessage() { } } /** - * - * *
        * Output only. The error's top level message.
        * 
* * string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for message. */ - public com.google.protobuf.ByteString getMessageBytes() { + public com.google.protobuf.ByteString + getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); message_ = b; return b; } else { @@ -3406,61 +3111,54 @@ public com.google.protobuf.ByteString getMessageBytes() { } } /** - * - * *
        * Output only. The error's top level message.
        * 
* * string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage(java.lang.String value) { + public Builder setMessage( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + message_ = value; onChanged(); return this; } /** - * - * *
        * Output only. The error's top level message.
        * 
* * string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearMessage() { - + message_ = getDefaultInstance().getMessage(); onChanged(); return this; } /** - * - * *
        * Output only. The error's top level message.
        * 
* * string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes(com.google.protobuf.ByteString value) { + public Builder setMessageBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + message_ = value; onChanged(); return this; @@ -3468,20 +3166,18 @@ public Builder setMessageBytes(com.google.protobuf.ByteString value) { private java.lang.Object stack_ = ""; /** - * - * *
        * Output only. The error's full stack trace.
        * 
* * string stack = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The stack. */ public java.lang.String getStack() { java.lang.Object ref = stack_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stack_ = s; return s; @@ -3490,21 +3186,20 @@ public java.lang.String getStack() { } } /** - * - * *
        * Output only. The error's full stack trace.
        * 
* * string stack = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for stack. */ - public com.google.protobuf.ByteString getStackBytes() { + public com.google.protobuf.ByteString + getStackBytes() { java.lang.Object ref = stack_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); stack_ = b; return b; } else { @@ -3512,61 +3207,54 @@ public com.google.protobuf.ByteString getStackBytes() { } } /** - * - * *
        * Output only. The error's full stack trace.
        * 
* * string stack = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The stack to set. * @return This builder for chaining. */ - public Builder setStack(java.lang.String value) { + public Builder setStack( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + stack_ = value; onChanged(); return this; } /** - * - * *
        * Output only. The error's full stack trace.
        * 
* * string stack = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearStack() { - + stack_ = getDefaultInstance().getStack(); onChanged(); return this; } /** - * - * *
        * Output only. The error's full stack trace.
        * 
* * string stack = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for stack to set. * @return This builder for chaining. */ - public Builder setStackBytes(com.google.protobuf.ByteString value) { + public Builder setStackBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + stack_ = value; onChanged(); return this; @@ -3574,21 +3262,19 @@ public Builder setStackBytes(com.google.protobuf.ByteString value) { private java.lang.Object path_ = ""; /** - * - * *
        * Output only. The path of the file where this error occurred, if available, relative to
        * the project root.
        * 
* * string path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; @@ -3597,22 +3283,21 @@ public java.lang.String getPath() { } } /** - * - * *
        * Output only. The path of the file where this error occurred, if available, relative to
        * the project root.
        * 
* * string path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for path. */ - public com.google.protobuf.ByteString getPathBytes() { + public com.google.protobuf.ByteString + getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); path_ = b; return b; } else { @@ -3620,64 +3305,57 @@ public com.google.protobuf.ByteString getPathBytes() { } } /** - * - * *
        * Output only. The path of the file where this error occurred, if available, relative to
        * the project root.
        * 
* * string path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath(java.lang.String value) { + public Builder setPath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + path_ = value; onChanged(); return this; } /** - * - * *
        * Output only. The path of the file where this error occurred, if available, relative to
        * the project root.
        * 
* * string path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearPath() { - + path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** - * - * *
        * Output only. The path of the file where this error occurred, if available, relative to
        * the project root.
        * 
* * string path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes(com.google.protobuf.ByteString value) { + public Builder setPathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; onChanged(); return this; @@ -3685,58 +3363,39 @@ public Builder setPathBytes(com.google.protobuf.ByteString value) { private com.google.cloud.dataform.v1alpha2.Target actionTarget_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Target, - com.google.cloud.dataform.v1alpha2.Target.Builder, - com.google.cloud.dataform.v1alpha2.TargetOrBuilder> - actionTargetBuilder_; + com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder> actionTargetBuilder_; /** - * - * *
        * Output only. The identifier of the action where this error occurred, if available.
        * 
* - * - * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the actionTarget field is set. */ public boolean hasActionTarget() { return actionTargetBuilder_ != null || actionTarget_ != null; } /** - * - * *
        * Output only. The identifier of the action where this error occurred, if available.
        * 
* - * - * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The actionTarget. */ public com.google.cloud.dataform.v1alpha2.Target getActionTarget() { if (actionTargetBuilder_ == null) { - return actionTarget_ == null - ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() - : actionTarget_; + return actionTarget_ == null ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() : actionTarget_; } else { return actionTargetBuilder_.getMessage(); } } /** - * - * *
        * Output only. The identifier of the action where this error occurred, if available.
        * 
* - * - * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setActionTarget(com.google.cloud.dataform.v1alpha2.Target value) { if (actionTargetBuilder_ == null) { @@ -3752,15 +3411,11 @@ public Builder setActionTarget(com.google.cloud.dataform.v1alpha2.Target value) return this; } /** - * - * *
        * Output only. The identifier of the action where this error occurred, if available.
        * 
* - * - * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setActionTarget( com.google.cloud.dataform.v1alpha2.Target.Builder builderForValue) { @@ -3774,23 +3429,17 @@ public Builder setActionTarget( return this; } /** - * - * *
        * Output only. The identifier of the action where this error occurred, if available.
        * 
* - * - * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeActionTarget(com.google.cloud.dataform.v1alpha2.Target value) { if (actionTargetBuilder_ == null) { if (actionTarget_ != null) { actionTarget_ = - com.google.cloud.dataform.v1alpha2.Target.newBuilder(actionTarget_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.dataform.v1alpha2.Target.newBuilder(actionTarget_).mergeFrom(value).buildPartial(); } else { actionTarget_ = value; } @@ -3802,15 +3451,11 @@ public Builder mergeActionTarget(com.google.cloud.dataform.v1alpha2.Target value return this; } /** - * - * *
        * Output only. The identifier of the action where this error occurred, if available.
        * 
* - * - * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearActionTarget() { if (actionTargetBuilder_ == null) { @@ -3824,69 +3469,52 @@ public Builder clearActionTarget() { return this; } /** - * - * *
        * Output only. The identifier of the action where this error occurred, if available.
        * 
* - * - * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.dataform.v1alpha2.Target.Builder getActionTargetBuilder() { - + onChanged(); return getActionTargetFieldBuilder().getBuilder(); } /** - * - * *
        * Output only. The identifier of the action where this error occurred, if available.
        * 
* - * - * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getActionTargetOrBuilder() { if (actionTargetBuilder_ != null) { return actionTargetBuilder_.getMessageOrBuilder(); } else { - return actionTarget_ == null - ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() - : actionTarget_; + return actionTarget_ == null ? + com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() : actionTarget_; } } /** - * - * *
        * Output only. The identifier of the action where this error occurred, if available.
        * 
* - * - * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Target, - com.google.cloud.dataform.v1alpha2.Target.Builder, - com.google.cloud.dataform.v1alpha2.TargetOrBuilder> + com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder> getActionTargetFieldBuilder() { if (actionTargetBuilder_ == null) { - actionTargetBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Target, - com.google.cloud.dataform.v1alpha2.Target.Builder, - com.google.cloud.dataform.v1alpha2.TargetOrBuilder>( - getActionTarget(), getParentForChildren(), isClean()); + actionTargetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder>( + getActionTarget(), + getParentForChildren(), + isClean()); actionTarget_ = null; } return actionTargetBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3899,33 +3527,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.CompilationResult.CompilationError) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.CompilationResult.CompilationError) - private static final com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError(); + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError(); } - public static com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError - getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompilationError parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CompilationError(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompilationError parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CompilationError(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3937,24 +3562,21 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError - getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int sourceCase_ = 0; private java.lang.Object source_; - public enum SourceCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GIT_COMMITISH(2), WORKSPACE(3), SOURCE_NOT_SET(0); private final int value; - private SourceCase(int value) { this.value = value; } @@ -3970,37 +3592,31 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 2: - return GIT_COMMITISH; - case 3: - return WORKSPACE; - case 0: - return SOURCE_NOT_SET; - default: - return null; + case 2: return GIT_COMMITISH; + case 3: return WORKSPACE; + case 0: return SOURCE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public SourceCase getSourceCase() { - return SourceCase.forNumber(sourceCase_); + public SourceCase + getSourceCase() { + return SourceCase.forNumber( + sourceCase_); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Output only. The compilation result's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -4009,29 +3625,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The compilation result's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -4041,8 +3657,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int GIT_COMMITISH_FIELD_NUMBER = 2; /** - * - * *
    * Immutable. Git commit/tag/branch name at which the repository should be compiled.
    * Must exist in the remote repository.
@@ -4053,15 +3667,12 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string git_commitish = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return Whether the gitCommitish field is set. */ public boolean hasGitCommitish() { return sourceCase_ == 2; } /** - * - * *
    * Immutable. Git commit/tag/branch name at which the repository should be compiled.
    * Must exist in the remote repository.
@@ -4072,7 +3683,6 @@ public boolean hasGitCommitish() {
    * 
* * string git_commitish = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The gitCommitish. */ public java.lang.String getGitCommitish() { @@ -4083,7 +3693,8 @@ public java.lang.String getGitCommitish() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (sourceCase_ == 2) { source_ = s; @@ -4092,8 +3703,6 @@ public java.lang.String getGitCommitish() { } } /** - * - * *
    * Immutable. Git commit/tag/branch name at which the repository should be compiled.
    * Must exist in the remote repository.
@@ -4104,17 +3713,18 @@ public java.lang.String getGitCommitish() {
    * 
* * string git_commitish = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for gitCommitish. */ - public com.google.protobuf.ByteString getGitCommitishBytes() { + public com.google.protobuf.ByteString + getGitCommitishBytes() { java.lang.Object ref = ""; if (sourceCase_ == 2) { ref = source_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (sourceCase_ == 2) { source_ = b; } @@ -4126,34 +3736,24 @@ public com.google.protobuf.ByteString getGitCommitishBytes() { public static final int WORKSPACE_FIELD_NUMBER = 3; /** - * - * *
    * Immutable. The name of the workspace to compile. Must be in the format
    * `projects/*/locations/*/repositories/*/workspaces/*`.
    * 
* - * - * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return Whether the workspace field is set. */ public boolean hasWorkspace() { return sourceCase_ == 3; } /** - * - * *
    * Immutable. The name of the workspace to compile. Must be in the format
    * `projects/*/locations/*/repositories/*/workspaces/*`.
    * 
* - * - * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The workspace. */ public java.lang.String getWorkspace() { @@ -4164,7 +3764,8 @@ public java.lang.String getWorkspace() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (sourceCase_ == 3) { source_ = s; @@ -4173,27 +3774,24 @@ public java.lang.String getWorkspace() { } } /** - * - * *
    * Immutable. The name of the workspace to compile. Must be in the format
    * `projects/*/locations/*/repositories/*/workspaces/*`.
    * 
* - * - * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The bytes for workspace. */ - public com.google.protobuf.ByteString getWorkspaceBytes() { + public com.google.protobuf.ByteString + getWorkspaceBytes() { java.lang.Object ref = ""; if (sourceCase_ == 3) { ref = source_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (sourceCase_ == 3) { source_ = b; } @@ -4204,20 +3802,14 @@ public com.google.protobuf.ByteString getWorkspaceBytes() { } public static final int CODE_COMPILATION_CONFIG_FIELD_NUMBER = 4; - private com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig - codeCompilationConfig_; + private com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig codeCompilationConfig_; /** - * - * *
    * Immutable. If set, fields of `code_compilation_overrides` override the default
    * compilation settings that are specified in dataform.json.
    * 
* - * - * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; * @return Whether the codeCompilationConfig field is set. */ @java.lang.Override @@ -4225,56 +3817,39 @@ public boolean hasCodeCompilationConfig() { return codeCompilationConfig_ != null; } /** - * - * *
    * Immutable. If set, fields of `code_compilation_overrides` override the default
    * compilation settings that are specified in dataform.json.
    * 
* - * - * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; * @return The codeCompilationConfig. */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig - getCodeCompilationConfig() { - return codeCompilationConfig_ == null - ? com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig - .getDefaultInstance() - : codeCompilationConfig_; + public com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig getCodeCompilationConfig() { + return codeCompilationConfig_ == null ? com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.getDefaultInstance() : codeCompilationConfig_; } /** - * - * *
    * Immutable. If set, fields of `code_compilation_overrides` override the default
    * compilation settings that are specified in dataform.json.
    * 
* - * - * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfigOrBuilder - getCodeCompilationConfigOrBuilder() { + public com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfigOrBuilder getCodeCompilationConfigOrBuilder() { return getCodeCompilationConfig(); } public static final int DATAFORM_CORE_VERSION_FIELD_NUMBER = 5; private volatile java.lang.Object dataformCoreVersion_; /** - * - * *
    * Output only. The version of `@dataform/core` that was used for compilation.
    * 
* * string dataform_core_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The dataformCoreVersion. */ @java.lang.Override @@ -4283,29 +3858,29 @@ public java.lang.String getDataformCoreVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataformCoreVersion_ = s; return s; } } /** - * - * *
    * Output only. The version of `@dataform/core` that was used for compilation.
    * 
* * string dataform_core_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for dataformCoreVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getDataformCoreVersionBytes() { + public com.google.protobuf.ByteString + getDataformCoreVersionBytes() { java.lang.Object ref = dataformCoreVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dataformCoreVersion_ = b; return b; } else { @@ -4314,91 +3889,66 @@ public com.google.protobuf.ByteString getDataformCoreVersionBytes() { } public static final int COMPILATION_ERRORS_FIELD_NUMBER = 6; - private java.util.List - compilationErrors_; + private java.util.List compilationErrors_; /** - * - * *
    * Output only. Errors encountered during project compilation.
    * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List - getCompilationErrorsList() { + public java.util.List getCompilationErrorsList() { return compilationErrors_; } /** - * - * *
    * Output only. Errors encountered during project compilation.
    * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationErrorOrBuilder> + public java.util.List getCompilationErrorsOrBuilderList() { return compilationErrors_; } /** - * - * *
    * Output only. Errors encountered during project compilation.
    * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getCompilationErrorsCount() { return compilationErrors_.size(); } /** - * - * *
    * Output only. Errors encountered during project compilation.
    * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError getCompilationErrors( - int index) { + public com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError getCompilationErrors(int index) { return compilationErrors_.get(index); } /** - * - * *
    * Output only. Errors encountered during project compilation.
    * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationErrorOrBuilder - getCompilationErrorsOrBuilder(int index) { + public com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationErrorOrBuilder getCompilationErrorsOrBuilder( + int index) { return compilationErrors_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4410,7 +3960,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -4448,15 +3999,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, source_); } if (codeCompilationConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCodeCompilationConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getCodeCompilationConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataformCoreVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, dataformCoreVersion_); } for (int i = 0; i < compilationErrors_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(6, compilationErrors_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, compilationErrors_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -4466,28 +4017,33 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.CompilationResult)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.CompilationResult other = - (com.google.cloud.dataform.v1alpha2.CompilationResult) obj; + com.google.cloud.dataform.v1alpha2.CompilationResult other = (com.google.cloud.dataform.v1alpha2.CompilationResult) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasCodeCompilationConfig() != other.hasCodeCompilationConfig()) return false; if (hasCodeCompilationConfig()) { - if (!getCodeCompilationConfig().equals(other.getCodeCompilationConfig())) return false; + if (!getCodeCompilationConfig() + .equals(other.getCodeCompilationConfig())) return false; } - if (!getDataformCoreVersion().equals(other.getDataformCoreVersion())) return false; - if (!getCompilationErrorsList().equals(other.getCompilationErrorsList())) return false; + if (!getDataformCoreVersion() + .equals(other.getDataformCoreVersion())) return false; + if (!getCompilationErrorsList() + .equals(other.getCompilationErrorsList())) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 2: - if (!getGitCommitish().equals(other.getGitCommitish())) return false; + if (!getGitCommitish() + .equals(other.getGitCommitish())) return false; break; case 3: - if (!getWorkspace().equals(other.getWorkspace())) return false; + if (!getWorkspace() + .equals(other.getWorkspace())) return false; break; case 0: default: @@ -4533,126 +4089,117 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.CompilationResult parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.CompilationResult parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CompilationResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.CompilationResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CompilationResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.CompilationResult parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.CompilationResult parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.CompilationResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.CompilationResult parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.CompilationResult parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.CompilationResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.CompilationResult parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CompilationResult parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.CompilationResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.CompilationResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents the result of compiling a Dataform project.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.CompilationResult} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.CompilationResult) com.google.cloud.dataform.v1alpha2.CompilationResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CompilationResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CompilationResult_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CompilationResult.class, - com.google.cloud.dataform.v1alpha2.CompilationResult.Builder.class); + com.google.cloud.dataform.v1alpha2.CompilationResult.class, com.google.cloud.dataform.v1alpha2.CompilationResult.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.CompilationResult.newBuilder() @@ -4660,17 +4207,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getCompilationErrorsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -4696,9 +4243,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CompilationResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResult_descriptor; } @java.lang.Override @@ -4717,8 +4264,7 @@ public com.google.cloud.dataform.v1alpha2.CompilationResult build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.CompilationResult buildPartial() { - com.google.cloud.dataform.v1alpha2.CompilationResult result = - new com.google.cloud.dataform.v1alpha2.CompilationResult(this); + com.google.cloud.dataform.v1alpha2.CompilationResult result = new com.google.cloud.dataform.v1alpha2.CompilationResult(this); int from_bitField0_ = bitField0_; result.name_ = name_; if (sourceCase_ == 2) { @@ -4751,39 +4297,38 @@ public com.google.cloud.dataform.v1alpha2.CompilationResult buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.CompilationResult) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.CompilationResult) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.CompilationResult)other); } else { super.mergeFrom(other); return this; @@ -4791,8 +4336,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.CompilationResult other) { - if (other == com.google.cloud.dataform.v1alpha2.CompilationResult.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataform.v1alpha2.CompilationResult.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -4822,34 +4366,30 @@ public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.CompilationResult ot compilationErrorsBuilder_ = null; compilationErrors_ = other.compilationErrors_; bitField0_ = (bitField0_ & ~0x00000001); - compilationErrorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getCompilationErrorsFieldBuilder() - : null; + compilationErrorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getCompilationErrorsFieldBuilder() : null; } else { compilationErrorsBuilder_.addAllMessages(other.compilationErrors_); } } } switch (other.getSourceCase()) { - case GIT_COMMITISH: - { - sourceCase_ = 2; - source_ = other.source_; - onChanged(); - break; - } - case WORKSPACE: - { - sourceCase_ = 3; - source_ = other.source_; - onChanged(); - break; - } - case SOURCE_NOT_SET: - { - break; - } + case GIT_COMMITISH: { + sourceCase_ = 2; + source_ = other.source_; + onChanged(); + break; + } + case WORKSPACE: { + sourceCase_ = 3; + source_ = other.source_; + onChanged(); + break; + } + case SOURCE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -4870,8 +4410,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.CompilationResult) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.CompilationResult) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -4880,12 +4419,12 @@ public Builder mergeFrom( } return this; } - private int sourceCase_ = 0; private java.lang.Object source_; - - public SourceCase getSourceCase() { - return SourceCase.forNumber(sourceCase_); + public SourceCase + getSourceCase() { + return SourceCase.forNumber( + sourceCase_); } public Builder clearSource() { @@ -4899,20 +4438,18 @@ public Builder clearSource() { private java.lang.Object name_ = ""; /** - * - * *
      * Output only. The compilation result's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -4921,21 +4458,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The compilation result's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -4943,69 +4479,60 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The compilation result's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The compilation result's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The compilation result's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } /** - * - * *
      * Immutable. Git commit/tag/branch name at which the repository should be compiled.
      * Must exist in the remote repository.
@@ -5016,7 +4543,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string git_commitish = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return Whether the gitCommitish field is set. */ @java.lang.Override @@ -5024,8 +4550,6 @@ public boolean hasGitCommitish() { return sourceCase_ == 2; } /** - * - * *
      * Immutable. Git commit/tag/branch name at which the repository should be compiled.
      * Must exist in the remote repository.
@@ -5036,7 +4560,6 @@ public boolean hasGitCommitish() {
      * 
* * string git_commitish = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The gitCommitish. */ @java.lang.Override @@ -5046,7 +4569,8 @@ public java.lang.String getGitCommitish() { ref = source_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (sourceCase_ == 2) { source_ = s; @@ -5057,8 +4581,6 @@ public java.lang.String getGitCommitish() { } } /** - * - * *
      * Immutable. Git commit/tag/branch name at which the repository should be compiled.
      * Must exist in the remote repository.
@@ -5069,18 +4591,19 @@ public java.lang.String getGitCommitish() {
      * 
* * string git_commitish = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for gitCommitish. */ @java.lang.Override - public com.google.protobuf.ByteString getGitCommitishBytes() { + public com.google.protobuf.ByteString + getGitCommitishBytes() { java.lang.Object ref = ""; if (sourceCase_ == 2) { ref = source_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (sourceCase_ == 2) { source_ = b; } @@ -5090,8 +4613,6 @@ public com.google.protobuf.ByteString getGitCommitishBytes() { } } /** - * - * *
      * Immutable. Git commit/tag/branch name at which the repository should be compiled.
      * Must exist in the remote repository.
@@ -5102,22 +4623,20 @@ public com.google.protobuf.ByteString getGitCommitishBytes() {
      * 
* * string git_commitish = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The gitCommitish to set. * @return This builder for chaining. */ - public Builder setGitCommitish(java.lang.String value) { + public Builder setGitCommitish( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - sourceCase_ = 2; + throw new NullPointerException(); + } + sourceCase_ = 2; source_ = value; onChanged(); return this; } /** - * - * *
      * Immutable. Git commit/tag/branch name at which the repository should be compiled.
      * Must exist in the remote repository.
@@ -5128,7 +4647,6 @@ public Builder setGitCommitish(java.lang.String value) {
      * 
* * string git_commitish = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return This builder for chaining. */ public Builder clearGitCommitish() { @@ -5140,8 +4658,6 @@ public Builder clearGitCommitish() { return this; } /** - * - * *
      * Immutable. Git commit/tag/branch name at which the repository should be compiled.
      * Must exist in the remote repository.
@@ -5152,15 +4668,15 @@ public Builder clearGitCommitish() {
      * 
* * string git_commitish = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The bytes for gitCommitish to set. * @return This builder for chaining. */ - public Builder setGitCommitishBytes(com.google.protobuf.ByteString value) { + public Builder setGitCommitishBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); sourceCase_ = 2; source_ = value; onChanged(); @@ -5168,17 +4684,12 @@ public Builder setGitCommitishBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * Immutable. The name of the workspace to compile. Must be in the format
      * `projects/*/locations/*/repositories/*/workspaces/*`.
      * 
* - * - * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return Whether the workspace field is set. */ @java.lang.Override @@ -5186,17 +4697,12 @@ public boolean hasWorkspace() { return sourceCase_ == 3; } /** - * - * *
      * Immutable. The name of the workspace to compile. Must be in the format
      * `projects/*/locations/*/repositories/*/workspaces/*`.
      * 
* - * - * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The workspace. */ @java.lang.Override @@ -5206,7 +4712,8 @@ public java.lang.String getWorkspace() { ref = source_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (sourceCase_ == 3) { source_ = s; @@ -5217,28 +4724,25 @@ public java.lang.String getWorkspace() { } } /** - * - * *
      * Immutable. The name of the workspace to compile. Must be in the format
      * `projects/*/locations/*/repositories/*/workspaces/*`.
      * 
* - * - * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The bytes for workspace. */ @java.lang.Override - public com.google.protobuf.ByteString getWorkspaceBytes() { + public com.google.protobuf.ByteString + getWorkspaceBytes() { java.lang.Object ref = ""; if (sourceCase_ == 3) { ref = source_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (sourceCase_ == 3) { source_ = b; } @@ -5248,41 +4752,32 @@ public com.google.protobuf.ByteString getWorkspaceBytes() { } } /** - * - * *
      * Immutable. The name of the workspace to compile. Must be in the format
      * `projects/*/locations/*/repositories/*/workspaces/*`.
      * 
* - * - * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @param value The workspace to set. * @return This builder for chaining. */ - public Builder setWorkspace(java.lang.String value) { + public Builder setWorkspace( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - sourceCase_ = 3; + throw new NullPointerException(); + } + sourceCase_ = 3; source_ = value; onChanged(); return this; } /** - * - * *
      * Immutable. The name of the workspace to compile. Must be in the format
      * `projects/*/locations/*/repositories/*/workspaces/*`.
      * 
* - * - * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearWorkspace() { @@ -5294,94 +4789,67 @@ public Builder clearWorkspace() { return this; } /** - * - * *
      * Immutable. The name of the workspace to compile. Must be in the format
      * `projects/*/locations/*/repositories/*/workspaces/*`.
      * 
* - * - * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @param value The bytes for workspace to set. * @return This builder for chaining. */ - public Builder setWorkspaceBytes(com.google.protobuf.ByteString value) { + public Builder setWorkspaceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); sourceCase_ = 3; source_ = value; onChanged(); return this; } - private com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig - codeCompilationConfig_; + private com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig codeCompilationConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig, - com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.Builder, - com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfigOrBuilder> - codeCompilationConfigBuilder_; + com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig, com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.Builder, com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfigOrBuilder> codeCompilationConfigBuilder_; /** - * - * *
      * Immutable. If set, fields of `code_compilation_overrides` override the default
      * compilation settings that are specified in dataform.json.
      * 
* - * - * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; * @return Whether the codeCompilationConfig field is set. */ public boolean hasCodeCompilationConfig() { return codeCompilationConfigBuilder_ != null || codeCompilationConfig_ != null; } /** - * - * *
      * Immutable. If set, fields of `code_compilation_overrides` override the default
      * compilation settings that are specified in dataform.json.
      * 
* - * - * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; * @return The codeCompilationConfig. */ - public com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig - getCodeCompilationConfig() { + public com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig getCodeCompilationConfig() { if (codeCompilationConfigBuilder_ == null) { - return codeCompilationConfig_ == null - ? com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig - .getDefaultInstance() - : codeCompilationConfig_; + return codeCompilationConfig_ == null ? com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.getDefaultInstance() : codeCompilationConfig_; } else { return codeCompilationConfigBuilder_.getMessage(); } } /** - * - * *
      * Immutable. If set, fields of `code_compilation_overrides` override the default
      * compilation settings that are specified in dataform.json.
      * 
* - * - * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; */ - public Builder setCodeCompilationConfig( - com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig value) { + public Builder setCodeCompilationConfig(com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig value) { if (codeCompilationConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5395,20 +4863,15 @@ public Builder setCodeCompilationConfig( return this; } /** - * - * *
      * Immutable. If set, fields of `code_compilation_overrides` override the default
      * compilation settings that are specified in dataform.json.
      * 
* - * - * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; */ public Builder setCodeCompilationConfig( - com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.Builder - builderForValue) { + com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.Builder builderForValue) { if (codeCompilationConfigBuilder_ == null) { codeCompilationConfig_ = builderForValue.build(); onChanged(); @@ -5419,26 +4882,18 @@ public Builder setCodeCompilationConfig( return this; } /** - * - * *
      * Immutable. If set, fields of `code_compilation_overrides` override the default
      * compilation settings that are specified in dataform.json.
      * 
* - * - * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; */ - public Builder mergeCodeCompilationConfig( - com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig value) { + public Builder mergeCodeCompilationConfig(com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig value) { if (codeCompilationConfigBuilder_ == null) { if (codeCompilationConfig_ != null) { codeCompilationConfig_ = - com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.newBuilder( - codeCompilationConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.newBuilder(codeCompilationConfig_).mergeFrom(value).buildPartial(); } else { codeCompilationConfig_ = value; } @@ -5450,16 +4905,12 @@ public Builder mergeCodeCompilationConfig( return this; } /** - * - * *
      * Immutable. If set, fields of `code_compilation_overrides` override the default
      * compilation settings that are specified in dataform.json.
      * 
* - * - * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; */ public Builder clearCodeCompilationConfig() { if (codeCompilationConfigBuilder_ == null) { @@ -5473,71 +4924,51 @@ public Builder clearCodeCompilationConfig() { return this; } /** - * - * *
      * Immutable. If set, fields of `code_compilation_overrides` override the default
      * compilation settings that are specified in dataform.json.
      * 
* - * - * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; */ - public com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.Builder - getCodeCompilationConfigBuilder() { - + public com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.Builder getCodeCompilationConfigBuilder() { + onChanged(); return getCodeCompilationConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Immutable. If set, fields of `code_compilation_overrides` override the default
      * compilation settings that are specified in dataform.json.
      * 
* - * - * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; */ - public com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfigOrBuilder - getCodeCompilationConfigOrBuilder() { + public com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfigOrBuilder getCodeCompilationConfigOrBuilder() { if (codeCompilationConfigBuilder_ != null) { return codeCompilationConfigBuilder_.getMessageOrBuilder(); } else { - return codeCompilationConfig_ == null - ? com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig - .getDefaultInstance() - : codeCompilationConfig_; + return codeCompilationConfig_ == null ? + com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.getDefaultInstance() : codeCompilationConfig_; } } /** - * - * *
      * Immutable. If set, fields of `code_compilation_overrides` override the default
      * compilation settings that are specified in dataform.json.
      * 
* - * - * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig, - com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.Builder, - com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfigOrBuilder> + com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig, com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.Builder, com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfigOrBuilder> getCodeCompilationConfigFieldBuilder() { if (codeCompilationConfigBuilder_ == null) { - codeCompilationConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig, - com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.Builder, - com.google.cloud.dataform.v1alpha2.CompilationResult - .CodeCompilationConfigOrBuilder>( - getCodeCompilationConfig(), getParentForChildren(), isClean()); + codeCompilationConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig, com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.Builder, com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfigOrBuilder>( + getCodeCompilationConfig(), + getParentForChildren(), + isClean()); codeCompilationConfig_ = null; } return codeCompilationConfigBuilder_; @@ -5545,20 +4976,18 @@ public Builder clearCodeCompilationConfig() { private java.lang.Object dataformCoreVersion_ = ""; /** - * - * *
      * Output only. The version of `@dataform/core` that was used for compilation.
      * 
* * string dataform_core_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The dataformCoreVersion. */ public java.lang.String getDataformCoreVersion() { java.lang.Object ref = dataformCoreVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataformCoreVersion_ = s; return s; @@ -5567,21 +4996,20 @@ public java.lang.String getDataformCoreVersion() { } } /** - * - * *
      * Output only. The version of `@dataform/core` that was used for compilation.
      * 
* * string dataform_core_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for dataformCoreVersion. */ - public com.google.protobuf.ByteString getDataformCoreVersionBytes() { + public com.google.protobuf.ByteString + getDataformCoreVersionBytes() { java.lang.Object ref = dataformCoreVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); dataformCoreVersion_ = b; return b; } else { @@ -5589,98 +5017,79 @@ public com.google.protobuf.ByteString getDataformCoreVersionBytes() { } } /** - * - * *
      * Output only. The version of `@dataform/core` that was used for compilation.
      * 
* * string dataform_core_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The dataformCoreVersion to set. * @return This builder for chaining. */ - public Builder setDataformCoreVersion(java.lang.String value) { + public Builder setDataformCoreVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dataformCoreVersion_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The version of `@dataform/core` that was used for compilation.
      * 
* * string dataform_core_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearDataformCoreVersion() { - + dataformCoreVersion_ = getDefaultInstance().getDataformCoreVersion(); onChanged(); return this; } /** - * - * *
      * Output only. The version of `@dataform/core` that was used for compilation.
      * 
* * string dataform_core_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for dataformCoreVersion to set. * @return This builder for chaining. */ - public Builder setDataformCoreVersionBytes(com.google.protobuf.ByteString value) { + public Builder setDataformCoreVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dataformCoreVersion_ = value; onChanged(); return this; } - private java.util.List - compilationErrors_ = java.util.Collections.emptyList(); - + private java.util.List compilationErrors_ = + java.util.Collections.emptyList(); private void ensureCompilationErrorsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - compilationErrors_ = - new java.util.ArrayList< - com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError>( - compilationErrors_); + compilationErrors_ = new java.util.ArrayList(compilationErrors_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError, - com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.Builder, - com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationErrorOrBuilder> - compilationErrorsBuilder_; + com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError, com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.Builder, com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationErrorOrBuilder> compilationErrorsBuilder_; /** - * - * *
      * Output only. Errors encountered during project compilation.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getCompilationErrorsList() { + public java.util.List getCompilationErrorsList() { if (compilationErrorsBuilder_ == null) { return java.util.Collections.unmodifiableList(compilationErrors_); } else { @@ -5688,15 +5097,11 @@ private void ensureCompilationErrorsIsMutable() { } } /** - * - * *
      * Output only. Errors encountered during project compilation.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getCompilationErrorsCount() { if (compilationErrorsBuilder_ == null) { @@ -5706,18 +5111,13 @@ public int getCompilationErrorsCount() { } } /** - * - * *
      * Output only. Errors encountered during project compilation.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError - getCompilationErrors(int index) { + public com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError getCompilationErrors(int index) { if (compilationErrorsBuilder_ == null) { return compilationErrors_.get(index); } else { @@ -5725,15 +5125,11 @@ public int getCompilationErrorsCount() { } } /** - * - * *
      * Output only. Errors encountered during project compilation.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCompilationErrors( int index, com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError value) { @@ -5750,20 +5146,14 @@ public Builder setCompilationErrors( return this; } /** - * - * *
      * Output only. Errors encountered during project compilation.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCompilationErrors( - int index, - com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.Builder - builderForValue) { + int index, com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.Builder builderForValue) { if (compilationErrorsBuilder_ == null) { ensureCompilationErrorsIsMutable(); compilationErrors_.set(index, builderForValue.build()); @@ -5774,18 +5164,13 @@ public Builder setCompilationErrors( return this; } /** - * - * *
      * Output only. Errors encountered during project compilation.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder addCompilationErrors( - com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError value) { + public Builder addCompilationErrors(com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError value) { if (compilationErrorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5799,15 +5184,11 @@ public Builder addCompilationErrors( return this; } /** - * - * *
      * Output only. Errors encountered during project compilation.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addCompilationErrors( int index, com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError value) { @@ -5824,19 +5205,14 @@ public Builder addCompilationErrors( return this; } /** - * - * *
      * Output only. Errors encountered during project compilation.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addCompilationErrors( - com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.Builder - builderForValue) { + com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.Builder builderForValue) { if (compilationErrorsBuilder_ == null) { ensureCompilationErrorsIsMutable(); compilationErrors_.add(builderForValue.build()); @@ -5847,20 +5223,14 @@ public Builder addCompilationErrors( return this; } /** - * - * *
      * Output only. Errors encountered during project compilation.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addCompilationErrors( - int index, - com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.Builder - builderForValue) { + int index, com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.Builder builderForValue) { if (compilationErrorsBuilder_ == null) { ensureCompilationErrorsIsMutable(); compilationErrors_.add(index, builderForValue.build()); @@ -5871,23 +5241,18 @@ public Builder addCompilationErrors( return this; } /** - * - * *
      * Output only. Errors encountered during project compilation.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllCompilationErrors( - java.lang.Iterable< - ? extends com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError> - values) { + java.lang.Iterable values) { if (compilationErrorsBuilder_ == null) { ensureCompilationErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, compilationErrors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, compilationErrors_); onChanged(); } else { compilationErrorsBuilder_.addAllMessages(values); @@ -5895,15 +5260,11 @@ public Builder addAllCompilationErrors( return this; } /** - * - * *
      * Output only. Errors encountered during project compilation.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCompilationErrors() { if (compilationErrorsBuilder_ == null) { @@ -5916,15 +5277,11 @@ public Builder clearCompilationErrors() { return this; } /** - * - * *
      * Output only. Errors encountered during project compilation.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeCompilationErrors(int index) { if (compilationErrorsBuilder_ == null) { @@ -5937,54 +5294,39 @@ public Builder removeCompilationErrors(int index) { return this; } /** - * - * *
      * Output only. Errors encountered during project compilation.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.Builder - getCompilationErrorsBuilder(int index) { + public com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.Builder getCompilationErrorsBuilder( + int index) { return getCompilationErrorsFieldBuilder().getBuilder(index); } /** - * - * *
      * Output only. Errors encountered during project compilation.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationErrorOrBuilder - getCompilationErrorsOrBuilder(int index) { + public com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationErrorOrBuilder getCompilationErrorsOrBuilder( + int index) { if (compilationErrorsBuilder_ == null) { - return compilationErrors_.get(index); - } else { + return compilationErrors_.get(index); } else { return compilationErrorsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Output only. Errors encountered during project compilation.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List< - ? extends - com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationErrorOrBuilder> - getCompilationErrorsOrBuilderList() { + public java.util.List + getCompilationErrorsOrBuilderList() { if (compilationErrorsBuilder_ != null) { return compilationErrorsBuilder_.getMessageOrBuilderList(); } else { @@ -5992,70 +5334,45 @@ public Builder removeCompilationErrors(int index) { } } /** - * - * *
      * Output only. Errors encountered during project compilation.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.Builder - addCompilationErrorsBuilder() { - return getCompilationErrorsFieldBuilder() - .addBuilder( - com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError - .getDefaultInstance()); + public com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.Builder addCompilationErrorsBuilder() { + return getCompilationErrorsFieldBuilder().addBuilder( + com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.getDefaultInstance()); } /** - * - * *
      * Output only. Errors encountered during project compilation.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.Builder - addCompilationErrorsBuilder(int index) { - return getCompilationErrorsFieldBuilder() - .addBuilder( - index, - com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError - .getDefaultInstance()); + public com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.Builder addCompilationErrorsBuilder( + int index) { + return getCompilationErrorsFieldBuilder().addBuilder( + index, com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.getDefaultInstance()); } /** - * - * *
      * Output only. Errors encountered during project compilation.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List< - com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.Builder> - getCompilationErrorsBuilderList() { + public java.util.List + getCompilationErrorsBuilderList() { return getCompilationErrorsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError, - com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.Builder, - com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationErrorOrBuilder> + com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError, com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.Builder, com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationErrorOrBuilder> getCompilationErrorsFieldBuilder() { if (compilationErrorsBuilder_ == null) { - compilationErrorsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError, - com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.Builder, - com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationErrorOrBuilder>( + compilationErrorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError, com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.Builder, com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationErrorOrBuilder>( compilationErrors_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -6064,9 +5381,9 @@ public Builder removeCompilationErrors(int index) { } return compilationErrorsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -6076,12 +5393,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.CompilationResult) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.CompilationResult) private static final com.google.cloud.dataform.v1alpha2.CompilationResult DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.CompilationResult(); } @@ -6090,16 +5407,16 @@ public static com.google.cloud.dataform.v1alpha2.CompilationResult getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompilationResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CompilationResult(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompilationResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CompilationResult(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6114,4 +5431,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.CompilationResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResultAction.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResultAction.java similarity index 72% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResultAction.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResultAction.java index 519ab40..23967a7 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResultAction.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResultAction.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * Represents a single Dataform action in a compilation result.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.CompilationResultAction} */ -public final class CompilationResultAction extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CompilationResultAction extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.CompilationResultAction) CompilationResultActionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CompilationResultAction.newBuilder() to construct. private CompilationResultAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CompilationResultAction() { filePath_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CompilationResultAction(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CompilationResultAction( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,146 +53,101 @@ private CompilationResultAction( case 0: done = true; break; - case 10: - { - com.google.cloud.dataform.v1alpha2.Target.Builder subBuilder = null; - if (target_ != null) { - subBuilder = target_.toBuilder(); - } - target_ = - input.readMessage( - com.google.cloud.dataform.v1alpha2.Target.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(target_); - target_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.dataform.v1alpha2.Target.Builder subBuilder = null; + if (target_ != null) { + subBuilder = target_.toBuilder(); + } + target_ = input.readMessage(com.google.cloud.dataform.v1alpha2.Target.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(target_); + target_ = subBuilder.buildPartial(); } - case 18: - { - com.google.cloud.dataform.v1alpha2.Target.Builder subBuilder = null; - if (canonicalTarget_ != null) { - subBuilder = canonicalTarget_.toBuilder(); - } - canonicalTarget_ = - input.readMessage( - com.google.cloud.dataform.v1alpha2.Target.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(canonicalTarget_); - canonicalTarget_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.cloud.dataform.v1alpha2.Target.Builder subBuilder = null; + if (canonicalTarget_ != null) { + subBuilder = canonicalTarget_.toBuilder(); + } + canonicalTarget_ = input.readMessage(com.google.cloud.dataform.v1alpha2.Target.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(canonicalTarget_); + canonicalTarget_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - filePath_ = s; - break; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + filePath_ = s; + break; + } + case 34: { + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.Builder subBuilder = null; + if (compiledObjectCase_ == 4) { + subBuilder = ((com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) compiledObject_).toBuilder(); } - case 34: - { - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.Builder - subBuilder = null; - if (compiledObjectCase_ == 4) { - subBuilder = - ((com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) - compiledObject_) - .toBuilder(); - } - compiledObject_ = - input.readMessage( - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) - compiledObject_); - compiledObject_ = subBuilder.buildPartial(); - } - compiledObjectCase_ = 4; - break; + compiledObject_ = + input.readMessage(com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) compiledObject_); + compiledObject_ = subBuilder.buildPartial(); } - case 42: - { - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.Builder - subBuilder = null; - if (compiledObjectCase_ == 5) { - subBuilder = - ((com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) - compiledObject_) - .toBuilder(); - } - compiledObject_ = - input.readMessage( - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) - compiledObject_); - compiledObject_ = subBuilder.buildPartial(); - } - compiledObjectCase_ = 5; - break; + compiledObjectCase_ = 4; + break; + } + case 42: { + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.Builder subBuilder = null; + if (compiledObjectCase_ == 5) { + subBuilder = ((com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) compiledObject_).toBuilder(); } - case 50: - { - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.Builder - subBuilder = null; - if (compiledObjectCase_ == 6) { - subBuilder = - ((com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion) - compiledObject_) - .toBuilder(); - } - compiledObject_ = - input.readMessage( - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion) - compiledObject_); - compiledObject_ = subBuilder.buildPartial(); - } - compiledObjectCase_ = 6; - break; + compiledObject_ = + input.readMessage(com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) compiledObject_); + compiledObject_ = subBuilder.buildPartial(); } - case 58: - { - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.Builder - subBuilder = null; - if (compiledObjectCase_ == 7) { - subBuilder = - ((com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration) - compiledObject_) - .toBuilder(); - } - compiledObject_ = - input.readMessage( - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration) - compiledObject_); - compiledObject_ = subBuilder.buildPartial(); - } - compiledObjectCase_ = 7; - break; + compiledObjectCase_ = 5; + break; + } + case 50: { + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.Builder subBuilder = null; + if (compiledObjectCase_ == 6) { + subBuilder = ((com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion) compiledObject_).toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + compiledObject_ = + input.readMessage(com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion) compiledObject_); + compiledObject_ = subBuilder.buildPartial(); + } + compiledObjectCase_ = 6; + break; + } + case 58: { + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.Builder subBuilder = null; + if (compiledObjectCase_ == 7) { + subBuilder = ((com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration) compiledObject_).toBuilder(); + } + compiledObject_ = + input.readMessage(com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration) compiledObject_); + compiledObject_ = subBuilder.buildPartial(); + } + compiledObjectCase_ = 7; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -217,46 +155,40 @@ private CompilationResultAction( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CompilationResultAction.class, - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Builder.class); + com.google.cloud.dataform.v1alpha2.CompilationResultAction.class, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Builder.class); } - public interface RelationOrBuilder - extends + public interface RelationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * A list of actions that this action depends on.
      * 
* * repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1; */ - java.util.List getDependencyTargetsList(); + java.util.List + getDependencyTargetsList(); /** - * - * *
      * A list of actions that this action depends on.
      * 
@@ -265,8 +197,6 @@ public interface RelationOrBuilder */ com.google.cloud.dataform.v1alpha2.Target getDependencyTargets(int index); /** - * - * *
      * A list of actions that this action depends on.
      * 
@@ -275,118 +205,94 @@ public interface RelationOrBuilder */ int getDependencyTargetsCount(); /** - * - * *
      * A list of actions that this action depends on.
      * 
* * repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1; */ - java.util.List + java.util.List getDependencyTargetsOrBuilderList(); /** - * - * *
      * A list of actions that this action depends on.
      * 
* * repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1; */ - com.google.cloud.dataform.v1alpha2.TargetOrBuilder getDependencyTargetsOrBuilder(int index); + com.google.cloud.dataform.v1alpha2.TargetOrBuilder getDependencyTargetsOrBuilder( + int index); /** - * - * *
      * Whether this action is disabled (i.e. should not be run).
      * 
* * bool disabled = 2; - * * @return The disabled. */ boolean getDisabled(); /** - * - * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; - * * @return A list containing the tags. */ - java.util.List getTagsList(); + java.util.List + getTagsList(); /** - * - * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; - * * @return The count of tags. */ int getTagsCount(); /** - * - * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; - * * @param index The index of the element to return. * @return The tags at the given index. */ java.lang.String getTags(int index); /** - * - * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; - * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - com.google.protobuf.ByteString getTagsBytes(int index); + com.google.protobuf.ByteString + getTagsBytes(int index); /** - * - * *
      * Descriptor for the relation and its columns.
      * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 4; - * * @return Whether the relationDescriptor field is set. */ boolean hasRelationDescriptor(); /** - * - * *
      * Descriptor for the relation and its columns.
      * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 4; - * * @return The relationDescriptor. */ com.google.cloud.dataform.v1alpha2.RelationDescriptor getRelationDescriptor(); /** - * - * *
      * Descriptor for the relation and its columns.
      * 
@@ -396,315 +302,239 @@ public interface RelationOrBuilder com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder getRelationDescriptorOrBuilder(); /** - * - * *
      * The type of this relation.
      * 
* - * - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType relation_type = 5; - * - * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType relation_type = 5; * @return The enum numeric value on the wire for relationType. */ int getRelationTypeValue(); /** - * - * *
      * The type of this relation.
      * 
* - * - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType relation_type = 5; - * - * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType relation_type = 5; * @return The relationType. */ - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType - getRelationType(); + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType getRelationType(); /** - * - * *
      * The SELECT query which returns rows which this relation should contain.
      * 
* * string select_query = 6; - * * @return The selectQuery. */ java.lang.String getSelectQuery(); /** - * - * *
      * The SELECT query which returns rows which this relation should contain.
      * 
* * string select_query = 6; - * * @return The bytes for selectQuery. */ - com.google.protobuf.ByteString getSelectQueryBytes(); + com.google.protobuf.ByteString + getSelectQueryBytes(); /** - * - * *
      * SQL statements to be executed before creating the relation.
      * 
* * repeated string pre_operations = 7; - * * @return A list containing the preOperations. */ - java.util.List getPreOperationsList(); + java.util.List + getPreOperationsList(); /** - * - * *
      * SQL statements to be executed before creating the relation.
      * 
* * repeated string pre_operations = 7; - * * @return The count of preOperations. */ int getPreOperationsCount(); /** - * - * *
      * SQL statements to be executed before creating the relation.
      * 
* * repeated string pre_operations = 7; - * * @param index The index of the element to return. * @return The preOperations at the given index. */ java.lang.String getPreOperations(int index); /** - * - * *
      * SQL statements to be executed before creating the relation.
      * 
* * repeated string pre_operations = 7; - * * @param index The index of the value to return. * @return The bytes of the preOperations at the given index. */ - com.google.protobuf.ByteString getPreOperationsBytes(int index); + com.google.protobuf.ByteString + getPreOperationsBytes(int index); /** - * - * *
      * SQL statements to be executed after creating the relation.
      * 
* * repeated string post_operations = 8; - * * @return A list containing the postOperations. */ - java.util.List getPostOperationsList(); + java.util.List + getPostOperationsList(); /** - * - * *
      * SQL statements to be executed after creating the relation.
      * 
* * repeated string post_operations = 8; - * * @return The count of postOperations. */ int getPostOperationsCount(); /** - * - * *
      * SQL statements to be executed after creating the relation.
      * 
* * repeated string post_operations = 8; - * * @param index The index of the element to return. * @return The postOperations at the given index. */ java.lang.String getPostOperations(int index); /** - * - * *
      * SQL statements to be executed after creating the relation.
      * 
* * repeated string post_operations = 8; - * * @param index The index of the value to return. * @return The bytes of the postOperations at the given index. */ - com.google.protobuf.ByteString getPostOperationsBytes(int index); + com.google.protobuf.ByteString + getPostOperationsBytes(int index); /** - * - * *
      * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
      * `relation_type` is `INCREMENTAL_TABLE`.
      * 
* - * - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; - * - * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; * @return Whether the incrementalTableConfig field is set. */ boolean hasIncrementalTableConfig(); /** - * - * *
      * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
      * `relation_type` is `INCREMENTAL_TABLE`.
      * 
* - * - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; - * - * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; * @return The incrementalTableConfig. */ - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig - getIncrementalTableConfig(); + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig getIncrementalTableConfig(); /** - * - * *
      * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
      * `relation_type` is `INCREMENTAL_TABLE`.
      * 
* - * - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; - * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; */ - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfigOrBuilder - getIncrementalTableConfigOrBuilder(); + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfigOrBuilder getIncrementalTableConfigOrBuilder(); /** - * - * *
      * The SQL expression used to partition the relation.
      * 
* * string partition_expression = 10; - * * @return The partitionExpression. */ java.lang.String getPartitionExpression(); /** - * - * *
      * The SQL expression used to partition the relation.
      * 
* * string partition_expression = 10; - * * @return The bytes for partitionExpression. */ - com.google.protobuf.ByteString getPartitionExpressionBytes(); + com.google.protobuf.ByteString + getPartitionExpressionBytes(); /** - * - * *
      * A list of columns or SQL expressions used to cluster the table.
      * 
* * repeated string cluster_expressions = 11; - * * @return A list containing the clusterExpressions. */ - java.util.List getClusterExpressionsList(); + java.util.List + getClusterExpressionsList(); /** - * - * *
      * A list of columns or SQL expressions used to cluster the table.
      * 
* * repeated string cluster_expressions = 11; - * * @return The count of clusterExpressions. */ int getClusterExpressionsCount(); /** - * - * *
      * A list of columns or SQL expressions used to cluster the table.
      * 
* * repeated string cluster_expressions = 11; - * * @param index The index of the element to return. * @return The clusterExpressions at the given index. */ java.lang.String getClusterExpressions(int index); /** - * - * *
      * A list of columns or SQL expressions used to cluster the table.
      * 
* * repeated string cluster_expressions = 11; - * * @param index The index of the value to return. * @return The bytes of the clusterExpressions at the given index. */ - com.google.protobuf.ByteString getClusterExpressionsBytes(int index); + com.google.protobuf.ByteString + getClusterExpressionsBytes(int index); /** - * - * *
      * Sets the partition expiration in days.
      * 
* * int32 partition_expiration_days = 12; - * * @return The partitionExpirationDays. */ int getPartitionExpirationDays(); /** - * - * *
      * Specifies whether queries on this table must include a predicate filter
      * that filters on the partitioning column.
      * 
* * bool require_partition_filter = 13; - * * @return The requirePartitionFilter. */ boolean getRequirePartitionFilter(); /** - * - * *
      * Additional options that will be provided as key/value pairs into the
      * options clause of a create table/view statement. See
@@ -716,8 +546,6 @@ public interface RelationOrBuilder
      */
     int getAdditionalOptionsCount();
     /**
-     *
-     *
      * 
      * Additional options that will be provided as key/value pairs into the
      * options clause of a create table/view statement. See
@@ -727,13 +555,15 @@ public interface RelationOrBuilder
      *
      * map<string, string> additional_options = 14;
      */
-    boolean containsAdditionalOptions(java.lang.String key);
-    /** Use {@link #getAdditionalOptionsMap()} instead. */
+    boolean containsAdditionalOptions(
+        java.lang.String key);
+    /**
+     * Use {@link #getAdditionalOptionsMap()} instead.
+     */
     @java.lang.Deprecated
-    java.util.Map getAdditionalOptions();
+    java.util.Map
+    getAdditionalOptions();
     /**
-     *
-     *
      * 
      * Additional options that will be provided as key/value pairs into the
      * options clause of a create table/view statement. See
@@ -743,10 +573,9 @@ public interface RelationOrBuilder
      *
      * map<string, string> additional_options = 14;
      */
-    java.util.Map getAdditionalOptionsMap();
+    java.util.Map
+    getAdditionalOptionsMap();
     /**
-     *
-     *
      * 
      * Additional options that will be provided as key/value pairs into the
      * options clause of a create table/view statement. See
@@ -758,13 +587,11 @@ public interface RelationOrBuilder
      */
 
     /* nullable */
-    java.lang.String getAdditionalOptionsOrDefault(
+java.lang.String getAdditionalOptionsOrDefault(
         java.lang.String key,
         /* nullable */
-        java.lang.String defaultValue);
+java.lang.String defaultValue);
     /**
-     *
-     *
      * 
      * Additional options that will be provided as key/value pairs into the
      * options clause of a create table/view statement. See
@@ -774,27 +601,26 @@ java.lang.String getAdditionalOptionsOrDefault(
      *
      * map<string, string> additional_options = 14;
      */
-    java.lang.String getAdditionalOptionsOrThrow(java.lang.String key);
+
+    java.lang.String getAdditionalOptionsOrThrow(
+        java.lang.String key);
   }
   /**
-   *
-   *
    * 
    * Represents a database relation.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.CompilationResultAction.Relation} */ - public static final class Relation extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Relation extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) RelationOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Relation.newBuilder() to construct. private Relation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Relation() { dependencyTargets_ = java.util.Collections.emptyList(); tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -808,15 +634,16 @@ private Relation() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Relation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Relation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -836,156 +663,130 @@ private Relation( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - dependencyTargets_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - dependencyTargets_.add( - input.readMessage( - com.google.cloud.dataform.v1alpha2.Target.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + dependencyTargets_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 16: - { - disabled_ = input.readBool(); - break; + dependencyTargets_.add( + input.readMessage(com.google.cloud.dataform.v1alpha2.Target.parser(), extensionRegistry)); + break; + } + case 16: { + + disabled_ = input.readBool(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + tags_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - tags_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - tags_.add(s); - break; + tags_.add(s); + break; + } + case 34: { + com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder subBuilder = null; + if (relationDescriptor_ != null) { + subBuilder = relationDescriptor_.toBuilder(); } - case 34: - { - com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder subBuilder = null; - if (relationDescriptor_ != null) { - subBuilder = relationDescriptor_.toBuilder(); - } - relationDescriptor_ = - input.readMessage( - com.google.cloud.dataform.v1alpha2.RelationDescriptor.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(relationDescriptor_); - relationDescriptor_ = subBuilder.buildPartial(); - } - - break; + relationDescriptor_ = input.readMessage(com.google.cloud.dataform.v1alpha2.RelationDescriptor.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(relationDescriptor_); + relationDescriptor_ = subBuilder.buildPartial(); } - case 40: - { - int rawValue = input.readEnum(); - relationType_ = rawValue; - break; - } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 40: { + int rawValue = input.readEnum(); - selectQuery_ = s; - break; - } - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - preOperations_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000004; - } - preOperations_.add(s); - break; - } - case 66: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - postOperations_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000008; - } - postOperations_.add(s); - break; - } - case 74: - { - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfig.Builder - subBuilder = null; - if (incrementalTableConfig_ != null) { - subBuilder = incrementalTableConfig_.toBuilder(); - } - incrementalTableConfig_ = - input.readMessage( - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfig.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(incrementalTableConfig_); - incrementalTableConfig_ = subBuilder.buildPartial(); - } + relationType_ = rawValue; + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); - break; + selectQuery_ = s; + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + preOperations_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000004; } - case 82: - { - java.lang.String s = input.readStringRequireUtf8(); - - partitionExpression_ = s; - break; + preOperations_.add(s); + break; + } + case 66: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + postOperations_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000008; } - case 90: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - clusterExpressions_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000010; - } - clusterExpressions_.add(s); - break; + postOperations_.add(s); + break; + } + case 74: { + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig.Builder subBuilder = null; + if (incrementalTableConfig_ != null) { + subBuilder = incrementalTableConfig_.toBuilder(); } - case 96: - { - partitionExpirationDays_ = input.readInt32(); - break; + incrementalTableConfig_ = input.readMessage(com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(incrementalTableConfig_); + incrementalTableConfig_ = subBuilder.buildPartial(); } - case 104: - { - requirePartitionFilter_ = input.readBool(); - break; + + break; + } + case 82: { + java.lang.String s = input.readStringRequireUtf8(); + + partitionExpression_ = s; + break; + } + case 90: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000010) != 0)) { + clusterExpressions_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000010; } - case 114: - { - if (!((mutable_bitField0_ & 0x00000020) != 0)) { - additionalOptions_ = - com.google.protobuf.MapField.newMapField( - AdditionalOptionsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000020; - } - com.google.protobuf.MapEntry - additionalOptions__ = - input.readMessage( - AdditionalOptionsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - additionalOptions_ - .getMutableMap() - .put(additionalOptions__.getKey(), additionalOptions__.getValue()); - break; + clusterExpressions_.add(s); + break; + } + case 96: { + + partitionExpirationDays_ = input.readInt32(); + break; + } + case 104: { + + requirePartitionFilter_ = input.readBool(); + break; + } + case 114: { + if (!((mutable_bitField0_ & 0x00000020) != 0)) { + additionalOptions_ = com.google.protobuf.MapField.newMapField( + AdditionalOptionsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000020; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + com.google.protobuf.MapEntry + additionalOptions__ = input.readMessage( + AdditionalOptionsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + additionalOptions_.getMutableMap().put( + additionalOptions__.getKey(), additionalOptions__.getValue()); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -993,7 +794,8 @@ private Relation( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { dependencyTargets_ = java.util.Collections.unmodifiableList(dependencyTargets_); @@ -1014,47 +816,41 @@ private Relation( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 14: return internalGetAdditionalOptions(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.class, - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.Builder.class); + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.class, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.Builder.class); } /** - * - * *
      * Indicates the type of this relation.
      * 
* - * Protobuf enum {@code - * google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType} + * Protobuf enum {@code google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType} */ - public enum RelationType implements com.google.protobuf.ProtocolMessageEnum { + public enum RelationType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Default value. This value is unused.
        * 
@@ -1063,8 +859,6 @@ public enum RelationType implements com.google.protobuf.ProtocolMessageEnum { */ RELATION_TYPE_UNSPECIFIED(0), /** - * - * *
        * The relation is a table.
        * 
@@ -1073,8 +867,6 @@ public enum RelationType implements com.google.protobuf.ProtocolMessageEnum { */ TABLE(1), /** - * - * *
        * The relation is a view.
        * 
@@ -1083,8 +875,6 @@ public enum RelationType implements com.google.protobuf.ProtocolMessageEnum { */ VIEW(2), /** - * - * *
        * The relation is an incrementalized table.
        * 
@@ -1093,8 +883,6 @@ public enum RelationType implements com.google.protobuf.ProtocolMessageEnum { */ INCREMENTAL_TABLE(3), /** - * - * *
        * The relation is a materialized view.
        * 
@@ -1106,8 +894,6 @@ public enum RelationType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * Default value. This value is unused.
        * 
@@ -1116,8 +902,6 @@ public enum RelationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RELATION_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * The relation is a table.
        * 
@@ -1126,8 +910,6 @@ public enum RelationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TABLE_VALUE = 1; /** - * - * *
        * The relation is a view.
        * 
@@ -1136,8 +918,6 @@ public enum RelationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VIEW_VALUE = 2; /** - * - * *
        * The relation is an incrementalized table.
        * 
@@ -1146,8 +926,6 @@ public enum RelationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INCREMENTAL_TABLE_VALUE = 3; /** - * - * *
        * The relation is a materialized view.
        * 
@@ -1156,6 +934,7 @@ public enum RelationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MATERIALIZED_VIEW_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -1180,55 +959,51 @@ public static RelationType valueOf(int value) { */ public static RelationType forNumber(int value) { switch (value) { - case 0: - return RELATION_TYPE_UNSPECIFIED; - case 1: - return TABLE; - case 2: - return VIEW; - case 3: - return INCREMENTAL_TABLE; - case 4: - return MATERIALIZED_VIEW; - default: - return null; + case 0: return RELATION_TYPE_UNSPECIFIED; + case 1: return TABLE; + case 2: return VIEW; + case 3: return INCREMENTAL_TABLE; + case 4: return MATERIALIZED_VIEW; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + RelationType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RelationType findValueByNumber(int number) { + return RelationType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RelationType findValueByNumber(int number) { - return RelationType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.getDescriptor().getEnumTypes().get(0); } private static final RelationType[] VALUES = values(); - public static RelationType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static RelationType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -1245,54 +1020,43 @@ private RelationType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType) } - public interface IncrementalTableConfigOrBuilder - extends + public interface IncrementalTableConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * The SELECT query which returns rows which should be inserted into the
        * relation if it already exists and is not being refreshed.
        * 
* * string incremental_select_query = 1; - * * @return The incrementalSelectQuery. */ java.lang.String getIncrementalSelectQuery(); /** - * - * *
        * The SELECT query which returns rows which should be inserted into the
        * relation if it already exists and is not being refreshed.
        * 
* * string incremental_select_query = 1; - * * @return The bytes for incrementalSelectQuery. */ - com.google.protobuf.ByteString getIncrementalSelectQueryBytes(); + com.google.protobuf.ByteString + getIncrementalSelectQueryBytes(); /** - * - * *
        * Whether this table should be protected from being refreshed.
        * 
* * bool refresh_disabled = 2; - * * @return The refreshDisabled. */ boolean getRefreshDisabled(); /** - * - * *
        * A set of columns or SQL expressions used to define row uniqueness.
        * If any duplicates are discovered (as defined by `unique_key_parts`),
@@ -1301,13 +1065,11 @@ public interface IncrementalTableConfigOrBuilder
        * 
* * repeated string unique_key_parts = 3; - * * @return A list containing the uniqueKeyParts. */ - java.util.List getUniqueKeyPartsList(); + java.util.List + getUniqueKeyPartsList(); /** - * - * *
        * A set of columns or SQL expressions used to define row uniqueness.
        * If any duplicates are discovered (as defined by `unique_key_parts`),
@@ -1316,13 +1078,10 @@ public interface IncrementalTableConfigOrBuilder
        * 
* * repeated string unique_key_parts = 3; - * * @return The count of uniqueKeyParts. */ int getUniqueKeyPartsCount(); /** - * - * *
        * A set of columns or SQL expressions used to define row uniqueness.
        * If any duplicates are discovered (as defined by `unique_key_parts`),
@@ -1331,14 +1090,11 @@ public interface IncrementalTableConfigOrBuilder
        * 
* * repeated string unique_key_parts = 3; - * * @param index The index of the element to return. * @return The uniqueKeyParts at the given index. */ java.lang.String getUniqueKeyParts(int index); /** - * - * *
        * A set of columns or SQL expressions used to define row uniqueness.
        * If any duplicates are discovered (as defined by `unique_key_parts`),
@@ -1347,15 +1103,13 @@ public interface IncrementalTableConfigOrBuilder
        * 
* * repeated string unique_key_parts = 3; - * * @param index The index of the value to return. * @return The bytes of the uniqueKeyParts at the given index. */ - com.google.protobuf.ByteString getUniqueKeyPartsBytes(int index); + com.google.protobuf.ByteString + getUniqueKeyPartsBytes(int index); /** - * - * *
        * A SQL expression conditional used to limit the set of existing rows
        * considered for a merge operation (see `unique_key_parts` for more
@@ -1363,13 +1117,10 @@ public interface IncrementalTableConfigOrBuilder
        * 
* * string update_partition_filter = 4; - * * @return The updatePartitionFilter. */ java.lang.String getUpdatePartitionFilter(); /** - * - * *
        * A SQL expression conditional used to limit the set of existing rows
        * considered for a merge operation (see `unique_key_parts` for more
@@ -1377,141 +1128,117 @@ public interface IncrementalTableConfigOrBuilder
        * 
* * string update_partition_filter = 4; - * * @return The bytes for updatePartitionFilter. */ - com.google.protobuf.ByteString getUpdatePartitionFilterBytes(); + com.google.protobuf.ByteString + getUpdatePartitionFilterBytes(); /** - * - * *
        * SQL statements to be executed before inserting new rows into the
        * relation.
        * 
* * repeated string incremental_pre_operations = 5; - * * @return A list containing the incrementalPreOperations. */ - java.util.List getIncrementalPreOperationsList(); + java.util.List + getIncrementalPreOperationsList(); /** - * - * *
        * SQL statements to be executed before inserting new rows into the
        * relation.
        * 
* * repeated string incremental_pre_operations = 5; - * * @return The count of incrementalPreOperations. */ int getIncrementalPreOperationsCount(); /** - * - * *
        * SQL statements to be executed before inserting new rows into the
        * relation.
        * 
* * repeated string incremental_pre_operations = 5; - * * @param index The index of the element to return. * @return The incrementalPreOperations at the given index. */ java.lang.String getIncrementalPreOperations(int index); /** - * - * *
        * SQL statements to be executed before inserting new rows into the
        * relation.
        * 
* * repeated string incremental_pre_operations = 5; - * * @param index The index of the value to return. * @return The bytes of the incrementalPreOperations at the given index. */ - com.google.protobuf.ByteString getIncrementalPreOperationsBytes(int index); + com.google.protobuf.ByteString + getIncrementalPreOperationsBytes(int index); /** - * - * *
        * SQL statements to be executed after inserting new rows into the
        * relation.
        * 
* * repeated string incremental_post_operations = 6; - * * @return A list containing the incrementalPostOperations. */ - java.util.List getIncrementalPostOperationsList(); + java.util.List + getIncrementalPostOperationsList(); /** - * - * *
        * SQL statements to be executed after inserting new rows into the
        * relation.
        * 
* * repeated string incremental_post_operations = 6; - * * @return The count of incrementalPostOperations. */ int getIncrementalPostOperationsCount(); /** - * - * *
        * SQL statements to be executed after inserting new rows into the
        * relation.
        * 
* * repeated string incremental_post_operations = 6; - * * @param index The index of the element to return. * @return The incrementalPostOperations at the given index. */ java.lang.String getIncrementalPostOperations(int index); /** - * - * *
        * SQL statements to be executed after inserting new rows into the
        * relation.
        * 
* * repeated string incremental_post_operations = 6; - * * @param index The index of the value to return. * @return The bytes of the incrementalPostOperations at the given index. */ - com.google.protobuf.ByteString getIncrementalPostOperationsBytes(int index); + com.google.protobuf.ByteString + getIncrementalPostOperationsBytes(int index); } /** - * - * *
      * Contains settings for relations of type `INCREMENTAL_TABLE`.
      * 
* - * Protobuf type {@code - * google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig} + * Protobuf type {@code google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig} */ - public static final class IncrementalTableConfig extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class IncrementalTableConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig) IncrementalTableConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IncrementalTableConfig.newBuilder() to construct. private IncrementalTableConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private IncrementalTableConfig() { incrementalSelectQuery_ = ""; uniqueKeyParts_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -1522,15 +1249,16 @@ private IncrementalTableConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new IncrementalTableConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private IncrementalTableConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1550,62 +1278,57 @@ private IncrementalTableConfig( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - incrementalSelectQuery_ = s; - break; - } - case 16: - { - refreshDisabled_ = input.readBool(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - uniqueKeyParts_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - uniqueKeyParts_.add(s); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + incrementalSelectQuery_ = s; + break; + } + case 16: { - updatePartitionFilter_ = s; - break; + refreshDisabled_ = input.readBool(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + uniqueKeyParts_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - incrementalPreOperations_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - incrementalPreOperations_.add(s); - break; + uniqueKeyParts_.add(s); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + updatePartitionFilter_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + incrementalPreOperations_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - incrementalPostOperations_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000004; - } - incrementalPostOperations_.add(s); - break; + incrementalPreOperations_.add(s); + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + incrementalPostOperations_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000004; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + incrementalPostOperations_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1613,8 +1336,8 @@ private IncrementalTableConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { uniqueKeyParts_ = uniqueKeyParts_.getUnmodifiableView(); @@ -1629,36 +1352,28 @@ private IncrementalTableConfig( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_IncrementalTableConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_IncrementalTableConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_IncrementalTableConfig_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_IncrementalTableConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfig.class, - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfig.Builder.class); + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig.class, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig.Builder.class); } public static final int INCREMENTAL_SELECT_QUERY_FIELD_NUMBER = 1; private volatile java.lang.Object incrementalSelectQuery_; /** - * - * *
        * The SELECT query which returns rows which should be inserted into the
        * relation if it already exists and is not being refreshed.
        * 
* * string incremental_select_query = 1; - * * @return The incrementalSelectQuery. */ @java.lang.Override @@ -1667,30 +1382,30 @@ public java.lang.String getIncrementalSelectQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); incrementalSelectQuery_ = s; return s; } } /** - * - * *
        * The SELECT query which returns rows which should be inserted into the
        * relation if it already exists and is not being refreshed.
        * 
* * string incremental_select_query = 1; - * * @return The bytes for incrementalSelectQuery. */ @java.lang.Override - public com.google.protobuf.ByteString getIncrementalSelectQueryBytes() { + public com.google.protobuf.ByteString + getIncrementalSelectQueryBytes() { java.lang.Object ref = incrementalSelectQuery_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); incrementalSelectQuery_ = b; return b; } else { @@ -1701,14 +1416,11 @@ public com.google.protobuf.ByteString getIncrementalSelectQueryBytes() { public static final int REFRESH_DISABLED_FIELD_NUMBER = 2; private boolean refreshDisabled_; /** - * - * *
        * Whether this table should be protected from being refreshed.
        * 
* * bool refresh_disabled = 2; - * * @return The refreshDisabled. */ @java.lang.Override @@ -1719,8 +1431,6 @@ public boolean getRefreshDisabled() { public static final int UNIQUE_KEY_PARTS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList uniqueKeyParts_; /** - * - * *
        * A set of columns or SQL expressions used to define row uniqueness.
        * If any duplicates are discovered (as defined by `unique_key_parts`),
@@ -1729,15 +1439,13 @@ public boolean getRefreshDisabled() {
        * 
* * repeated string unique_key_parts = 3; - * * @return A list containing the uniqueKeyParts. */ - public com.google.protobuf.ProtocolStringList getUniqueKeyPartsList() { + public com.google.protobuf.ProtocolStringList + getUniqueKeyPartsList() { return uniqueKeyParts_; } /** - * - * *
        * A set of columns or SQL expressions used to define row uniqueness.
        * If any duplicates are discovered (as defined by `unique_key_parts`),
@@ -1746,15 +1454,12 @@ public com.google.protobuf.ProtocolStringList getUniqueKeyPartsList() {
        * 
* * repeated string unique_key_parts = 3; - * * @return The count of uniqueKeyParts. */ public int getUniqueKeyPartsCount() { return uniqueKeyParts_.size(); } /** - * - * *
        * A set of columns or SQL expressions used to define row uniqueness.
        * If any duplicates are discovered (as defined by `unique_key_parts`),
@@ -1763,7 +1468,6 @@ public int getUniqueKeyPartsCount() {
        * 
* * repeated string unique_key_parts = 3; - * * @param index The index of the element to return. * @return The uniqueKeyParts at the given index. */ @@ -1771,8 +1475,6 @@ public java.lang.String getUniqueKeyParts(int index) { return uniqueKeyParts_.get(index); } /** - * - * *
        * A set of columns or SQL expressions used to define row uniqueness.
        * If any duplicates are discovered (as defined by `unique_key_parts`),
@@ -1781,19 +1483,17 @@ public java.lang.String getUniqueKeyParts(int index) {
        * 
* * repeated string unique_key_parts = 3; - * * @param index The index of the value to return. * @return The bytes of the uniqueKeyParts at the given index. */ - public com.google.protobuf.ByteString getUniqueKeyPartsBytes(int index) { + public com.google.protobuf.ByteString + getUniqueKeyPartsBytes(int index) { return uniqueKeyParts_.getByteString(index); } public static final int UPDATE_PARTITION_FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object updatePartitionFilter_; /** - * - * *
        * A SQL expression conditional used to limit the set of existing rows
        * considered for a merge operation (see `unique_key_parts` for more
@@ -1801,7 +1501,6 @@ public com.google.protobuf.ByteString getUniqueKeyPartsBytes(int index) {
        * 
* * string update_partition_filter = 4; - * * @return The updatePartitionFilter. */ @java.lang.Override @@ -1810,15 +1509,14 @@ public java.lang.String getUpdatePartitionFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); updatePartitionFilter_ = s; return s; } } /** - * - * *
        * A SQL expression conditional used to limit the set of existing rows
        * considered for a merge operation (see `unique_key_parts` for more
@@ -1826,15 +1524,16 @@ public java.lang.String getUpdatePartitionFilter() {
        * 
* * string update_partition_filter = 4; - * * @return The bytes for updatePartitionFilter. */ @java.lang.Override - public com.google.protobuf.ByteString getUpdatePartitionFilterBytes() { + public com.google.protobuf.ByteString + getUpdatePartitionFilterBytes() { java.lang.Object ref = updatePartitionFilter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); updatePartitionFilter_ = b; return b; } else { @@ -1845,45 +1544,37 @@ public com.google.protobuf.ByteString getUpdatePartitionFilterBytes() { public static final int INCREMENTAL_PRE_OPERATIONS_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList incrementalPreOperations_; /** - * - * *
        * SQL statements to be executed before inserting new rows into the
        * relation.
        * 
* * repeated string incremental_pre_operations = 5; - * * @return A list containing the incrementalPreOperations. */ - public com.google.protobuf.ProtocolStringList getIncrementalPreOperationsList() { + public com.google.protobuf.ProtocolStringList + getIncrementalPreOperationsList() { return incrementalPreOperations_; } /** - * - * *
        * SQL statements to be executed before inserting new rows into the
        * relation.
        * 
* * repeated string incremental_pre_operations = 5; - * * @return The count of incrementalPreOperations. */ public int getIncrementalPreOperationsCount() { return incrementalPreOperations_.size(); } /** - * - * *
        * SQL statements to be executed before inserting new rows into the
        * relation.
        * 
* * repeated string incremental_pre_operations = 5; - * * @param index The index of the element to return. * @return The incrementalPreOperations at the given index. */ @@ -1891,64 +1582,54 @@ public java.lang.String getIncrementalPreOperations(int index) { return incrementalPreOperations_.get(index); } /** - * - * *
        * SQL statements to be executed before inserting new rows into the
        * relation.
        * 
* * repeated string incremental_pre_operations = 5; - * * @param index The index of the value to return. * @return The bytes of the incrementalPreOperations at the given index. */ - public com.google.protobuf.ByteString getIncrementalPreOperationsBytes(int index) { + public com.google.protobuf.ByteString + getIncrementalPreOperationsBytes(int index) { return incrementalPreOperations_.getByteString(index); } public static final int INCREMENTAL_POST_OPERATIONS_FIELD_NUMBER = 6; private com.google.protobuf.LazyStringList incrementalPostOperations_; /** - * - * *
        * SQL statements to be executed after inserting new rows into the
        * relation.
        * 
* * repeated string incremental_post_operations = 6; - * * @return A list containing the incrementalPostOperations. */ - public com.google.protobuf.ProtocolStringList getIncrementalPostOperationsList() { + public com.google.protobuf.ProtocolStringList + getIncrementalPostOperationsList() { return incrementalPostOperations_; } /** - * - * *
        * SQL statements to be executed after inserting new rows into the
        * relation.
        * 
* * repeated string incremental_post_operations = 6; - * * @return The count of incrementalPostOperations. */ public int getIncrementalPostOperationsCount() { return incrementalPostOperations_.size(); } /** - * - * *
        * SQL statements to be executed after inserting new rows into the
        * relation.
        * 
* * repeated string incremental_post_operations = 6; - * * @param index The index of the element to return. * @return The incrementalPostOperations at the given index. */ @@ -1956,24 +1637,21 @@ public java.lang.String getIncrementalPostOperations(int index) { return incrementalPostOperations_.get(index); } /** - * - * *
        * SQL statements to be executed after inserting new rows into the
        * relation.
        * 
* * repeated string incremental_post_operations = 6; - * * @param index The index of the value to return. * @return The bytes of the incrementalPostOperations at the given index. */ - public com.google.protobuf.ByteString getIncrementalPostOperationsBytes(int index) { + public com.google.protobuf.ByteString + getIncrementalPostOperationsBytes(int index) { return incrementalPostOperations_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1985,7 +1663,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(incrementalSelectQuery_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, incrementalSelectQuery_); } @@ -1999,12 +1678,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io com.google.protobuf.GeneratedMessageV3.writeString(output, 4, updatePartitionFilter_); } for (int i = 0; i < incrementalPreOperations_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 5, incrementalPreOperations_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, incrementalPreOperations_.getRaw(i)); } for (int i = 0; i < incrementalPostOperations_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 6, incrementalPostOperations_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, incrementalPostOperations_.getRaw(i)); } unknownFields.writeTo(output); } @@ -2016,11 +1693,11 @@ public int getSerializedSize() { size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(incrementalSelectQuery_)) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize(1, incrementalSelectQuery_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, incrementalSelectQuery_); } if (refreshDisabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, refreshDisabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, refreshDisabled_); } { int dataSize = 0; @@ -2031,8 +1708,7 @@ public int getSerializedSize() { size += 1 * getUniqueKeyPartsList().size(); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(updatePartitionFilter_)) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize(4, updatePartitionFilter_); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, updatePartitionFilter_); } { int dataSize = 0; @@ -2058,28 +1734,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfig)) { + if (!(obj instanceof com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig - other = - (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfig) - obj; - - if (!getIncrementalSelectQuery().equals(other.getIncrementalSelectQuery())) return false; - if (getRefreshDisabled() != other.getRefreshDisabled()) return false; - if (!getUniqueKeyPartsList().equals(other.getUniqueKeyPartsList())) return false; - if (!getUpdatePartitionFilter().equals(other.getUpdatePartitionFilter())) return false; - if (!getIncrementalPreOperationsList().equals(other.getIncrementalPreOperationsList())) - return false; - if (!getIncrementalPostOperationsList().equals(other.getIncrementalPostOperationsList())) - return false; + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig other = (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig) obj; + + if (!getIncrementalSelectQuery() + .equals(other.getIncrementalSelectQuery())) return false; + if (getRefreshDisabled() + != other.getRefreshDisabled()) return false; + if (!getUniqueKeyPartsList() + .equals(other.getUniqueKeyPartsList())) return false; + if (!getUpdatePartitionFilter() + .equals(other.getUpdatePartitionFilter())) return false; + if (!getIncrementalPreOperationsList() + .equals(other.getIncrementalPreOperationsList())) return false; + if (!getIncrementalPostOperationsList() + .equals(other.getIncrementalPostOperationsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2094,7 +1767,8 @@ public int hashCode() { hash = (37 * hash) + INCREMENTAL_SELECT_QUERY_FIELD_NUMBER; hash = (53 * hash) + getIncrementalSelectQuery().hashCode(); hash = (37 * hash) + REFRESH_DISABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRefreshDisabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRefreshDisabled()); if (getUniqueKeyPartsCount() > 0) { hash = (37 * hash) + UNIQUE_KEY_PARTS_FIELD_NUMBER; hash = (53 * hash) + getUniqueKeyPartsList().hashCode(); @@ -2114,116 +1788,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfig - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfig - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfig - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfig - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfig - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfig - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfig - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfig - parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfig - parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfig - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfig - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig - prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2233,53 +1879,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * Contains settings for relations of type `INCREMENTAL_TABLE`.
        * 
* - * Protobuf type {@code - * google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig} + * Protobuf type {@code google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig) - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_IncrementalTableConfig_descriptor; + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_IncrementalTableConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_IncrementalTableConfig_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_IncrementalTableConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfig.class, - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfig.Builder.class); + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig.class, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig.Builder.class); } - // Construct using - // com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig.newBuilder() + // Construct using com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2299,25 +1936,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_IncrementalTableConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_IncrementalTableConfig_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfig - getDefaultInstanceForType() { - return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfig.getDefaultInstance(); + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig getDefaultInstanceForType() { + return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfig - build() { - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig - result = buildPartial(); + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig build() { + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -2325,13 +1956,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfig - buildPartial() { - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig - result = - new com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfig(this); + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig buildPartial() { + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig result = new com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig(this); int from_bitField0_ = bitField0_; result.incrementalSelectQuery_ = incrementalSelectQuery_; result.refreshDisabled_ = refreshDisabled_; @@ -2359,60 +1985,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfig) { - return mergeFrom( - (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfig) - other); + if (other instanceof com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig) { + return mergeFrom((com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfig - other) { - if (other - == com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfig.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig other) { + if (other == com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig.getDefaultInstance()) return this; if (!other.getIncrementalSelectQuery().isEmpty()) { incrementalSelectQuery_ = other.incrementalSelectQuery_; onChanged(); @@ -2469,15 +2081,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig - parsedMessage = null; + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfig) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2486,26 +2094,23 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object incrementalSelectQuery_ = ""; /** - * - * *
          * The SELECT query which returns rows which should be inserted into the
          * relation if it already exists and is not being refreshed.
          * 
* * string incremental_select_query = 1; - * * @return The incrementalSelectQuery. */ public java.lang.String getIncrementalSelectQuery() { java.lang.Object ref = incrementalSelectQuery_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); incrementalSelectQuery_ = s; return s; @@ -2514,22 +2119,21 @@ public java.lang.String getIncrementalSelectQuery() { } } /** - * - * *
          * The SELECT query which returns rows which should be inserted into the
          * relation if it already exists and is not being refreshed.
          * 
* * string incremental_select_query = 1; - * * @return The bytes for incrementalSelectQuery. */ - public com.google.protobuf.ByteString getIncrementalSelectQueryBytes() { + public com.google.protobuf.ByteString + getIncrementalSelectQueryBytes() { java.lang.Object ref = incrementalSelectQuery_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); incrementalSelectQuery_ = b; return b; } else { @@ -2537,79 +2141,69 @@ public com.google.protobuf.ByteString getIncrementalSelectQueryBytes() { } } /** - * - * *
          * The SELECT query which returns rows which should be inserted into the
          * relation if it already exists and is not being refreshed.
          * 
* * string incremental_select_query = 1; - * * @param value The incrementalSelectQuery to set. * @return This builder for chaining. */ - public Builder setIncrementalSelectQuery(java.lang.String value) { + public Builder setIncrementalSelectQuery( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + incrementalSelectQuery_ = value; onChanged(); return this; } /** - * - * *
          * The SELECT query which returns rows which should be inserted into the
          * relation if it already exists and is not being refreshed.
          * 
* * string incremental_select_query = 1; - * * @return This builder for chaining. */ public Builder clearIncrementalSelectQuery() { - + incrementalSelectQuery_ = getDefaultInstance().getIncrementalSelectQuery(); onChanged(); return this; } /** - * - * *
          * The SELECT query which returns rows which should be inserted into the
          * relation if it already exists and is not being refreshed.
          * 
* * string incremental_select_query = 1; - * * @param value The bytes for incrementalSelectQuery to set. * @return This builder for chaining. */ - public Builder setIncrementalSelectQueryBytes(com.google.protobuf.ByteString value) { + public Builder setIncrementalSelectQueryBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + incrementalSelectQuery_ = value; onChanged(); return this; } - private boolean refreshDisabled_; + private boolean refreshDisabled_ ; /** - * - * *
          * Whether this table should be protected from being refreshed.
          * 
* * bool refresh_disabled = 2; - * * @return The refreshDisabled. */ @java.lang.Override @@ -2617,53 +2211,43 @@ public boolean getRefreshDisabled() { return refreshDisabled_; } /** - * - * *
          * Whether this table should be protected from being refreshed.
          * 
* * bool refresh_disabled = 2; - * * @param value The refreshDisabled to set. * @return This builder for chaining. */ public Builder setRefreshDisabled(boolean value) { - + refreshDisabled_ = value; onChanged(); return this; } /** - * - * *
          * Whether this table should be protected from being refreshed.
          * 
* * bool refresh_disabled = 2; - * * @return This builder for chaining. */ public Builder clearRefreshDisabled() { - + refreshDisabled_ = false; onChanged(); return this; } - private com.google.protobuf.LazyStringList uniqueKeyParts_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList uniqueKeyParts_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUniqueKeyPartsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { uniqueKeyParts_ = new com.google.protobuf.LazyStringArrayList(uniqueKeyParts_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
          * A set of columns or SQL expressions used to define row uniqueness.
          * If any duplicates are discovered (as defined by `unique_key_parts`),
@@ -2672,15 +2256,13 @@ private void ensureUniqueKeyPartsIsMutable() {
          * 
* * repeated string unique_key_parts = 3; - * * @return A list containing the uniqueKeyParts. */ - public com.google.protobuf.ProtocolStringList getUniqueKeyPartsList() { + public com.google.protobuf.ProtocolStringList + getUniqueKeyPartsList() { return uniqueKeyParts_.getUnmodifiableView(); } /** - * - * *
          * A set of columns or SQL expressions used to define row uniqueness.
          * If any duplicates are discovered (as defined by `unique_key_parts`),
@@ -2689,15 +2271,12 @@ public com.google.protobuf.ProtocolStringList getUniqueKeyPartsList() {
          * 
* * repeated string unique_key_parts = 3; - * * @return The count of uniqueKeyParts. */ public int getUniqueKeyPartsCount() { return uniqueKeyParts_.size(); } /** - * - * *
          * A set of columns or SQL expressions used to define row uniqueness.
          * If any duplicates are discovered (as defined by `unique_key_parts`),
@@ -2706,7 +2285,6 @@ public int getUniqueKeyPartsCount() {
          * 
* * repeated string unique_key_parts = 3; - * * @param index The index of the element to return. * @return The uniqueKeyParts at the given index. */ @@ -2714,8 +2292,6 @@ public java.lang.String getUniqueKeyParts(int index) { return uniqueKeyParts_.get(index); } /** - * - * *
          * A set of columns or SQL expressions used to define row uniqueness.
          * If any duplicates are discovered (as defined by `unique_key_parts`),
@@ -2724,16 +2300,14 @@ public java.lang.String getUniqueKeyParts(int index) {
          * 
* * repeated string unique_key_parts = 3; - * * @param index The index of the value to return. * @return The bytes of the uniqueKeyParts at the given index. */ - public com.google.protobuf.ByteString getUniqueKeyPartsBytes(int index) { + public com.google.protobuf.ByteString + getUniqueKeyPartsBytes(int index) { return uniqueKeyParts_.getByteString(index); } /** - * - * *
          * A set of columns or SQL expressions used to define row uniqueness.
          * If any duplicates are discovered (as defined by `unique_key_parts`),
@@ -2742,23 +2316,21 @@ public com.google.protobuf.ByteString getUniqueKeyPartsBytes(int index) {
          * 
* * repeated string unique_key_parts = 3; - * * @param index The index to set the value at. * @param value The uniqueKeyParts to set. * @return This builder for chaining. */ - public Builder setUniqueKeyParts(int index, java.lang.String value) { + public Builder setUniqueKeyParts( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUniqueKeyPartsIsMutable(); + throw new NullPointerException(); + } + ensureUniqueKeyPartsIsMutable(); uniqueKeyParts_.set(index, value); onChanged(); return this; } /** - * - * *
          * A set of columns or SQL expressions used to define row uniqueness.
          * If any duplicates are discovered (as defined by `unique_key_parts`),
@@ -2767,22 +2339,20 @@ public Builder setUniqueKeyParts(int index, java.lang.String value) {
          * 
* * repeated string unique_key_parts = 3; - * * @param value The uniqueKeyParts to add. * @return This builder for chaining. */ - public Builder addUniqueKeyParts(java.lang.String value) { + public Builder addUniqueKeyParts( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUniqueKeyPartsIsMutable(); + throw new NullPointerException(); + } + ensureUniqueKeyPartsIsMutable(); uniqueKeyParts_.add(value); onChanged(); return this; } /** - * - * *
          * A set of columns or SQL expressions used to define row uniqueness.
          * If any duplicates are discovered (as defined by `unique_key_parts`),
@@ -2791,19 +2361,18 @@ public Builder addUniqueKeyParts(java.lang.String value) {
          * 
* * repeated string unique_key_parts = 3; - * * @param values The uniqueKeyParts to add. * @return This builder for chaining. */ - public Builder addAllUniqueKeyParts(java.lang.Iterable values) { + public Builder addAllUniqueKeyParts( + java.lang.Iterable values) { ensureUniqueKeyPartsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uniqueKeyParts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, uniqueKeyParts_); onChanged(); return this; } /** - * - * *
          * A set of columns or SQL expressions used to define row uniqueness.
          * If any duplicates are discovered (as defined by `unique_key_parts`),
@@ -2812,7 +2381,6 @@ public Builder addAllUniqueKeyParts(java.lang.Iterable values)
          * 
* * repeated string unique_key_parts = 3; - * * @return This builder for chaining. */ public Builder clearUniqueKeyParts() { @@ -2822,8 +2390,6 @@ public Builder clearUniqueKeyParts() { return this; } /** - * - * *
          * A set of columns or SQL expressions used to define row uniqueness.
          * If any duplicates are discovered (as defined by `unique_key_parts`),
@@ -2832,15 +2398,15 @@ public Builder clearUniqueKeyParts() {
          * 
* * repeated string unique_key_parts = 3; - * * @param value The bytes of the uniqueKeyParts to add. * @return This builder for chaining. */ - public Builder addUniqueKeyPartsBytes(com.google.protobuf.ByteString value) { + public Builder addUniqueKeyPartsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUniqueKeyPartsIsMutable(); uniqueKeyParts_.add(value); onChanged(); @@ -2849,8 +2415,6 @@ public Builder addUniqueKeyPartsBytes(com.google.protobuf.ByteString value) { private java.lang.Object updatePartitionFilter_ = ""; /** - * - * *
          * A SQL expression conditional used to limit the set of existing rows
          * considered for a merge operation (see `unique_key_parts` for more
@@ -2858,13 +2422,13 @@ public Builder addUniqueKeyPartsBytes(com.google.protobuf.ByteString value) {
          * 
* * string update_partition_filter = 4; - * * @return The updatePartitionFilter. */ public java.lang.String getUpdatePartitionFilter() { java.lang.Object ref = updatePartitionFilter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); updatePartitionFilter_ = s; return s; @@ -2873,8 +2437,6 @@ public java.lang.String getUpdatePartitionFilter() { } } /** - * - * *
          * A SQL expression conditional used to limit the set of existing rows
          * considered for a merge operation (see `unique_key_parts` for more
@@ -2882,14 +2444,15 @@ public java.lang.String getUpdatePartitionFilter() {
          * 
* * string update_partition_filter = 4; - * * @return The bytes for updatePartitionFilter. */ - public com.google.protobuf.ByteString getUpdatePartitionFilterBytes() { + public com.google.protobuf.ByteString + getUpdatePartitionFilterBytes() { java.lang.Object ref = updatePartitionFilter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); updatePartitionFilter_ = b; return b; } else { @@ -2897,8 +2460,6 @@ public com.google.protobuf.ByteString getUpdatePartitionFilterBytes() { } } /** - * - * *
          * A SQL expression conditional used to limit the set of existing rows
          * considered for a merge operation (see `unique_key_parts` for more
@@ -2906,22 +2467,20 @@ public com.google.protobuf.ByteString getUpdatePartitionFilterBytes() {
          * 
* * string update_partition_filter = 4; - * * @param value The updatePartitionFilter to set. * @return This builder for chaining. */ - public Builder setUpdatePartitionFilter(java.lang.String value) { + public Builder setUpdatePartitionFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + updatePartitionFilter_ = value; onChanged(); return this; } /** - * - * *
          * A SQL expression conditional used to limit the set of existing rows
          * considered for a merge operation (see `unique_key_parts` for more
@@ -2929,18 +2488,15 @@ public Builder setUpdatePartitionFilter(java.lang.String value) {
          * 
* * string update_partition_filter = 4; - * * @return This builder for chaining. */ public Builder clearUpdatePartitionFilter() { - + updatePartitionFilter_ = getDefaultInstance().getUpdatePartitionFilter(); onChanged(); return this; } /** - * - * *
          * A SQL expression conditional used to limit the set of existing rows
          * considered for a merge operation (see `unique_key_parts` for more
@@ -2948,71 +2504,60 @@ public Builder clearUpdatePartitionFilter() {
          * 
* * string update_partition_filter = 4; - * * @param value The bytes for updatePartitionFilter to set. * @return This builder for chaining. */ - public Builder setUpdatePartitionFilterBytes(com.google.protobuf.ByteString value) { + public Builder setUpdatePartitionFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + updatePartitionFilter_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList incrementalPreOperations_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList incrementalPreOperations_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureIncrementalPreOperationsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - incrementalPreOperations_ = - new com.google.protobuf.LazyStringArrayList(incrementalPreOperations_); + incrementalPreOperations_ = new com.google.protobuf.LazyStringArrayList(incrementalPreOperations_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
          * SQL statements to be executed before inserting new rows into the
          * relation.
          * 
* * repeated string incremental_pre_operations = 5; - * * @return A list containing the incrementalPreOperations. */ - public com.google.protobuf.ProtocolStringList getIncrementalPreOperationsList() { + public com.google.protobuf.ProtocolStringList + getIncrementalPreOperationsList() { return incrementalPreOperations_.getUnmodifiableView(); } /** - * - * *
          * SQL statements to be executed before inserting new rows into the
          * relation.
          * 
* * repeated string incremental_pre_operations = 5; - * * @return The count of incrementalPreOperations. */ public int getIncrementalPreOperationsCount() { return incrementalPreOperations_.size(); } /** - * - * *
          * SQL statements to be executed before inserting new rows into the
          * relation.
          * 
* * repeated string incremental_pre_operations = 5; - * * @param index The index of the element to return. * @return The incrementalPreOperations at the given index. */ @@ -3020,95 +2565,85 @@ public java.lang.String getIncrementalPreOperations(int index) { return incrementalPreOperations_.get(index); } /** - * - * *
          * SQL statements to be executed before inserting new rows into the
          * relation.
          * 
* * repeated string incremental_pre_operations = 5; - * * @param index The index of the value to return. * @return The bytes of the incrementalPreOperations at the given index. */ - public com.google.protobuf.ByteString getIncrementalPreOperationsBytes(int index) { + public com.google.protobuf.ByteString + getIncrementalPreOperationsBytes(int index) { return incrementalPreOperations_.getByteString(index); } /** - * - * *
          * SQL statements to be executed before inserting new rows into the
          * relation.
          * 
* * repeated string incremental_pre_operations = 5; - * * @param index The index to set the value at. * @param value The incrementalPreOperations to set. * @return This builder for chaining. */ - public Builder setIncrementalPreOperations(int index, java.lang.String value) { + public Builder setIncrementalPreOperations( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIncrementalPreOperationsIsMutable(); + throw new NullPointerException(); + } + ensureIncrementalPreOperationsIsMutable(); incrementalPreOperations_.set(index, value); onChanged(); return this; } /** - * - * *
          * SQL statements to be executed before inserting new rows into the
          * relation.
          * 
* * repeated string incremental_pre_operations = 5; - * * @param value The incrementalPreOperations to add. * @return This builder for chaining. */ - public Builder addIncrementalPreOperations(java.lang.String value) { + public Builder addIncrementalPreOperations( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIncrementalPreOperationsIsMutable(); + throw new NullPointerException(); + } + ensureIncrementalPreOperationsIsMutable(); incrementalPreOperations_.add(value); onChanged(); return this; } /** - * - * *
          * SQL statements to be executed before inserting new rows into the
          * relation.
          * 
* * repeated string incremental_pre_operations = 5; - * * @param values The incrementalPreOperations to add. * @return This builder for chaining. */ - public Builder addAllIncrementalPreOperations(java.lang.Iterable values) { + public Builder addAllIncrementalPreOperations( + java.lang.Iterable values) { ensureIncrementalPreOperationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, incrementalPreOperations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, incrementalPreOperations_); onChanged(); return this; } /** - * - * *
          * SQL statements to be executed before inserting new rows into the
          * relation.
          * 
* * repeated string incremental_pre_operations = 5; - * * @return This builder for chaining. */ public Builder clearIncrementalPreOperations() { @@ -3118,79 +2653,66 @@ public Builder clearIncrementalPreOperations() { return this; } /** - * - * *
          * SQL statements to be executed before inserting new rows into the
          * relation.
          * 
* * repeated string incremental_pre_operations = 5; - * * @param value The bytes of the incrementalPreOperations to add. * @return This builder for chaining. */ - public Builder addIncrementalPreOperationsBytes(com.google.protobuf.ByteString value) { + public Builder addIncrementalPreOperationsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureIncrementalPreOperationsIsMutable(); incrementalPreOperations_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList incrementalPostOperations_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList incrementalPostOperations_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureIncrementalPostOperationsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - incrementalPostOperations_ = - new com.google.protobuf.LazyStringArrayList(incrementalPostOperations_); + incrementalPostOperations_ = new com.google.protobuf.LazyStringArrayList(incrementalPostOperations_); bitField0_ |= 0x00000004; - } + } } /** - * - * *
          * SQL statements to be executed after inserting new rows into the
          * relation.
          * 
* * repeated string incremental_post_operations = 6; - * * @return A list containing the incrementalPostOperations. */ - public com.google.protobuf.ProtocolStringList getIncrementalPostOperationsList() { + public com.google.protobuf.ProtocolStringList + getIncrementalPostOperationsList() { return incrementalPostOperations_.getUnmodifiableView(); } /** - * - * *
          * SQL statements to be executed after inserting new rows into the
          * relation.
          * 
* * repeated string incremental_post_operations = 6; - * * @return The count of incrementalPostOperations. */ public int getIncrementalPostOperationsCount() { return incrementalPostOperations_.size(); } /** - * - * *
          * SQL statements to be executed after inserting new rows into the
          * relation.
          * 
* * repeated string incremental_post_operations = 6; - * * @param index The index of the element to return. * @return The incrementalPostOperations at the given index. */ @@ -3198,76 +2720,67 @@ public java.lang.String getIncrementalPostOperations(int index) { return incrementalPostOperations_.get(index); } /** - * - * *
          * SQL statements to be executed after inserting new rows into the
          * relation.
          * 
* * repeated string incremental_post_operations = 6; - * * @param index The index of the value to return. * @return The bytes of the incrementalPostOperations at the given index. */ - public com.google.protobuf.ByteString getIncrementalPostOperationsBytes(int index) { + public com.google.protobuf.ByteString + getIncrementalPostOperationsBytes(int index) { return incrementalPostOperations_.getByteString(index); } /** - * - * *
          * SQL statements to be executed after inserting new rows into the
          * relation.
          * 
* * repeated string incremental_post_operations = 6; - * * @param index The index to set the value at. * @param value The incrementalPostOperations to set. * @return This builder for chaining. */ - public Builder setIncrementalPostOperations(int index, java.lang.String value) { + public Builder setIncrementalPostOperations( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIncrementalPostOperationsIsMutable(); + throw new NullPointerException(); + } + ensureIncrementalPostOperationsIsMutable(); incrementalPostOperations_.set(index, value); onChanged(); return this; } /** - * - * *
          * SQL statements to be executed after inserting new rows into the
          * relation.
          * 
* * repeated string incremental_post_operations = 6; - * * @param value The incrementalPostOperations to add. * @return This builder for chaining. */ - public Builder addIncrementalPostOperations(java.lang.String value) { + public Builder addIncrementalPostOperations( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIncrementalPostOperationsIsMutable(); + throw new NullPointerException(); + } + ensureIncrementalPostOperationsIsMutable(); incrementalPostOperations_.add(value); onChanged(); return this; } /** - * - * *
          * SQL statements to be executed after inserting new rows into the
          * relation.
          * 
* * repeated string incremental_post_operations = 6; - * * @param values The incrementalPostOperations to add. * @return This builder for chaining. */ @@ -3280,15 +2793,12 @@ public Builder addAllIncrementalPostOperations( return this; } /** - * - * *
          * SQL statements to be executed after inserting new rows into the
          * relation.
          * 
* * repeated string incremental_post_operations = 6; - * * @return This builder for chaining. */ public Builder clearIncrementalPostOperations() { @@ -3298,29 +2808,26 @@ public Builder clearIncrementalPostOperations() { return this; } /** - * - * *
          * SQL statements to be executed after inserting new rows into the
          * relation.
          * 
* * repeated string incremental_post_operations = 6; - * * @param value The bytes of the incrementalPostOperations to add. * @return This builder for chaining. */ - public Builder addIncrementalPostOperationsBytes(com.google.protobuf.ByteString value) { + public Builder addIncrementalPostOperationsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureIncrementalPostOperationsIsMutable(); incrementalPostOperations_.add(value); onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3333,36 +2840,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig) - private static final com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfig(); + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig(); } - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfig - getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IncrementalTableConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new IncrementalTableConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IncrementalTableConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IncrementalTableConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3374,18 +2875,15 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfig - getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int DEPENDENCY_TARGETS_FIELD_NUMBER = 1; private java.util.List dependencyTargets_; /** - * - * *
      * A list of actions that this action depends on.
      * 
@@ -3397,8 +2895,6 @@ public java.util.List getDependencyTa return dependencyTargets_; } /** - * - * *
      * A list of actions that this action depends on.
      * 
@@ -3406,13 +2902,11 @@ public java.util.List getDependencyTa * repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDependencyTargetsOrBuilderList() { return dependencyTargets_; } /** - * - * *
      * A list of actions that this action depends on.
      * 
@@ -3424,8 +2918,6 @@ public int getDependencyTargetsCount() { return dependencyTargets_.size(); } /** - * - * *
      * A list of actions that this action depends on.
      * 
@@ -3437,8 +2929,6 @@ public com.google.cloud.dataform.v1alpha2.Target getDependencyTargets(int index) return dependencyTargets_.get(index); } /** - * - * *
      * A list of actions that this action depends on.
      * 
@@ -3454,14 +2944,11 @@ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getDependencyTargetsOr public static final int DISABLED_FIELD_NUMBER = 2; private boolean disabled_; /** - * - * *
      * Whether this action is disabled (i.e. should not be run).
      * 
* * bool disabled = 2; - * * @return The disabled. */ @java.lang.Override @@ -3472,42 +2959,34 @@ public boolean getDisabled() { public static final int TAGS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList tags_; /** - * - * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; - * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList getTagsList() { + public com.google.protobuf.ProtocolStringList + getTagsList() { return tags_; } /** - * - * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; - * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** - * - * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; - * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -3515,32 +2994,27 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** - * - * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; - * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString getTagsBytes(int index) { + public com.google.protobuf.ByteString + getTagsBytes(int index) { return tags_.getByteString(index); } public static final int RELATION_DESCRIPTOR_FIELD_NUMBER = 4; private com.google.cloud.dataform.v1alpha2.RelationDescriptor relationDescriptor_; /** - * - * *
      * Descriptor for the relation and its columns.
      * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 4; - * * @return Whether the relationDescriptor field is set. */ @java.lang.Override @@ -3548,25 +3022,18 @@ public boolean hasRelationDescriptor() { return relationDescriptor_ != null; } /** - * - * *
      * Descriptor for the relation and its columns.
      * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 4; - * * @return The relationDescriptor. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.RelationDescriptor getRelationDescriptor() { - return relationDescriptor_ == null - ? com.google.cloud.dataform.v1alpha2.RelationDescriptor.getDefaultInstance() - : relationDescriptor_; + return relationDescriptor_ == null ? com.google.cloud.dataform.v1alpha2.RelationDescriptor.getDefaultInstance() : relationDescriptor_; } /** - * - * *
      * Descriptor for the relation and its columns.
      * 
@@ -3574,67 +3041,45 @@ public com.google.cloud.dataform.v1alpha2.RelationDescriptor getRelationDescript * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 4; */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder - getRelationDescriptorOrBuilder() { + public com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder getRelationDescriptorOrBuilder() { return getRelationDescriptor(); } public static final int RELATION_TYPE_FIELD_NUMBER = 5; private int relationType_; /** - * - * *
      * The type of this relation.
      * 
* - * - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType relation_type = 5; - * - * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType relation_type = 5; * @return The enum numeric value on the wire for relationType. */ - @java.lang.Override - public int getRelationTypeValue() { + @java.lang.Override public int getRelationTypeValue() { return relationType_; } /** - * - * *
      * The type of this relation.
      * 
* - * - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType relation_type = 5; - * - * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType relation_type = 5; * @return The relationType. */ - @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType - getRelationType() { + @java.lang.Override public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType getRelationType() { @SuppressWarnings("deprecation") - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType result = - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType.valueOf( - relationType_); - return result == null - ? com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType - .UNRECOGNIZED - : result; + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType result = com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType.valueOf(relationType_); + return result == null ? com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType.UNRECOGNIZED : result; } public static final int SELECT_QUERY_FIELD_NUMBER = 6; private volatile java.lang.Object selectQuery_; /** - * - * *
      * The SELECT query which returns rows which this relation should contain.
      * 
* * string select_query = 6; - * * @return The selectQuery. */ @java.lang.Override @@ -3643,29 +3088,29 @@ public java.lang.String getSelectQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); selectQuery_ = s; return s; } } /** - * - * *
      * The SELECT query which returns rows which this relation should contain.
      * 
* * string select_query = 6; - * * @return The bytes for selectQuery. */ @java.lang.Override - public com.google.protobuf.ByteString getSelectQueryBytes() { + public com.google.protobuf.ByteString + getSelectQueryBytes() { java.lang.Object ref = selectQuery_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); selectQuery_ = b; return b; } else { @@ -3676,42 +3121,34 @@ public com.google.protobuf.ByteString getSelectQueryBytes() { public static final int PRE_OPERATIONS_FIELD_NUMBER = 7; private com.google.protobuf.LazyStringList preOperations_; /** - * - * *
      * SQL statements to be executed before creating the relation.
      * 
* * repeated string pre_operations = 7; - * * @return A list containing the preOperations. */ - public com.google.protobuf.ProtocolStringList getPreOperationsList() { + public com.google.protobuf.ProtocolStringList + getPreOperationsList() { return preOperations_; } /** - * - * *
      * SQL statements to be executed before creating the relation.
      * 
* * repeated string pre_operations = 7; - * * @return The count of preOperations. */ public int getPreOperationsCount() { return preOperations_.size(); } /** - * - * *
      * SQL statements to be executed before creating the relation.
      * 
* * repeated string pre_operations = 7; - * * @param index The index of the element to return. * @return The preOperations at the given index. */ @@ -3719,60 +3156,50 @@ public java.lang.String getPreOperations(int index) { return preOperations_.get(index); } /** - * - * *
      * SQL statements to be executed before creating the relation.
      * 
* * repeated string pre_operations = 7; - * * @param index The index of the value to return. * @return The bytes of the preOperations at the given index. */ - public com.google.protobuf.ByteString getPreOperationsBytes(int index) { + public com.google.protobuf.ByteString + getPreOperationsBytes(int index) { return preOperations_.getByteString(index); } public static final int POST_OPERATIONS_FIELD_NUMBER = 8; private com.google.protobuf.LazyStringList postOperations_; /** - * - * *
      * SQL statements to be executed after creating the relation.
      * 
* * repeated string post_operations = 8; - * * @return A list containing the postOperations. */ - public com.google.protobuf.ProtocolStringList getPostOperationsList() { + public com.google.protobuf.ProtocolStringList + getPostOperationsList() { return postOperations_; } /** - * - * *
      * SQL statements to be executed after creating the relation.
      * 
* * repeated string post_operations = 8; - * * @return The count of postOperations. */ public int getPostOperationsCount() { return postOperations_.size(); } /** - * - * *
      * SQL statements to be executed after creating the relation.
      * 
* * repeated string post_operations = 8; - * * @param index The index of the element to return. * @return The postOperations at the given index. */ @@ -3780,37 +3207,28 @@ public java.lang.String getPostOperations(int index) { return postOperations_.get(index); } /** - * - * *
      * SQL statements to be executed after creating the relation.
      * 
* * repeated string post_operations = 8; - * * @param index The index of the value to return. * @return The bytes of the postOperations at the given index. */ - public com.google.protobuf.ByteString getPostOperationsBytes(int index) { + public com.google.protobuf.ByteString + getPostOperationsBytes(int index) { return postOperations_.getByteString(index); } public static final int INCREMENTAL_TABLE_CONFIG_FIELD_NUMBER = 9; - private com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfig - incrementalTableConfig_; + private com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incrementalTableConfig_; /** - * - * *
      * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
      * `relation_type` is `INCREMENTAL_TABLE`.
      * 
* - * - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; - * - * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; * @return Whether the incrementalTableConfig field is set. */ @java.lang.Override @@ -3818,58 +3236,39 @@ public boolean hasIncrementalTableConfig() { return incrementalTableConfig_ != null; } /** - * - * *
      * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
      * `relation_type` is `INCREMENTAL_TABLE`.
      * 
* - * - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; - * - * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; * @return The incrementalTableConfig. */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfig - getIncrementalTableConfig() { - return incrementalTableConfig_ == null - ? com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfig.getDefaultInstance() - : incrementalTableConfig_; + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig getIncrementalTableConfig() { + return incrementalTableConfig_ == null ? com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig.getDefaultInstance() : incrementalTableConfig_; } /** - * - * *
      * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
      * `relation_type` is `INCREMENTAL_TABLE`.
      * 
* - * - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; - * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfigOrBuilder - getIncrementalTableConfigOrBuilder() { + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfigOrBuilder getIncrementalTableConfigOrBuilder() { return getIncrementalTableConfig(); } public static final int PARTITION_EXPRESSION_FIELD_NUMBER = 10; private volatile java.lang.Object partitionExpression_; /** - * - * *
      * The SQL expression used to partition the relation.
      * 
* * string partition_expression = 10; - * * @return The partitionExpression. */ @java.lang.Override @@ -3878,29 +3277,29 @@ public java.lang.String getPartitionExpression() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); partitionExpression_ = s; return s; } } /** - * - * *
      * The SQL expression used to partition the relation.
      * 
* * string partition_expression = 10; - * * @return The bytes for partitionExpression. */ @java.lang.Override - public com.google.protobuf.ByteString getPartitionExpressionBytes() { + public com.google.protobuf.ByteString + getPartitionExpressionBytes() { java.lang.Object ref = partitionExpression_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); partitionExpression_ = b; return b; } else { @@ -3911,42 +3310,34 @@ public com.google.protobuf.ByteString getPartitionExpressionBytes() { public static final int CLUSTER_EXPRESSIONS_FIELD_NUMBER = 11; private com.google.protobuf.LazyStringList clusterExpressions_; /** - * - * *
      * A list of columns or SQL expressions used to cluster the table.
      * 
* * repeated string cluster_expressions = 11; - * * @return A list containing the clusterExpressions. */ - public com.google.protobuf.ProtocolStringList getClusterExpressionsList() { + public com.google.protobuf.ProtocolStringList + getClusterExpressionsList() { return clusterExpressions_; } /** - * - * *
      * A list of columns or SQL expressions used to cluster the table.
      * 
* * repeated string cluster_expressions = 11; - * * @return The count of clusterExpressions. */ public int getClusterExpressionsCount() { return clusterExpressions_.size(); } /** - * - * *
      * A list of columns or SQL expressions used to cluster the table.
      * 
* * repeated string cluster_expressions = 11; - * * @param index The index of the element to return. * @return The clusterExpressions at the given index. */ @@ -3954,32 +3345,27 @@ public java.lang.String getClusterExpressions(int index) { return clusterExpressions_.get(index); } /** - * - * *
      * A list of columns or SQL expressions used to cluster the table.
      * 
* * repeated string cluster_expressions = 11; - * * @param index The index of the value to return. * @return The bytes of the clusterExpressions at the given index. */ - public com.google.protobuf.ByteString getClusterExpressionsBytes(int index) { + public com.google.protobuf.ByteString + getClusterExpressionsBytes(int index) { return clusterExpressions_.getByteString(index); } public static final int PARTITION_EXPIRATION_DAYS_FIELD_NUMBER = 12; private int partitionExpirationDays_; /** - * - * *
      * Sets the partition expiration in days.
      * 
* * int32 partition_expiration_days = 12; - * * @return The partitionExpirationDays. */ @java.lang.Override @@ -3990,15 +3376,12 @@ public int getPartitionExpirationDays() { public static final int REQUIRE_PARTITION_FILTER_FIELD_NUMBER = 13; private boolean requirePartitionFilter_; /** - * - * *
      * Specifies whether queries on this table must include a predicate filter
      * that filters on the partitioning column.
      * 
* * bool require_partition_filter = 13; - * * @return The requirePartitionFilter. */ @java.lang.Override @@ -4007,22 +3390,21 @@ public boolean getRequirePartitionFilter() { } public static final int ADDITIONAL_OPTIONS_FIELD_NUMBER = 14; - private static final class AdditionalOptionsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_AdditionalOptionsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - - private com.google.protobuf.MapField additionalOptions_; - + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_AdditionalOptionsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> additionalOptions_; private com.google.protobuf.MapField - internalGetAdditionalOptions() { + internalGetAdditionalOptions() { if (additionalOptions_ == null) { return com.google.protobuf.MapField.emptyMapField( AdditionalOptionsDefaultEntryHolder.defaultEntry); @@ -4034,8 +3416,6 @@ public int getAdditionalOptionsCount() { return internalGetAdditionalOptions().getMap().size(); } /** - * - * *
      * Additional options that will be provided as key/value pairs into the
      * options clause of a create table/view statement. See
@@ -4045,22 +3425,22 @@ public int getAdditionalOptionsCount() {
      *
      * map<string, string> additional_options = 14;
      */
+
     @java.lang.Override
-    public boolean containsAdditionalOptions(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsAdditionalOptions(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetAdditionalOptions().getMap().containsKey(key);
     }
-    /** Use {@link #getAdditionalOptionsMap()} instead. */
+    /**
+     * Use {@link #getAdditionalOptionsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getAdditionalOptions() {
       return getAdditionalOptionsMap();
     }
     /**
-     *
-     *
      * 
      * Additional options that will be provided as key/value pairs into the
      * options clause of a create table/view statement. See
@@ -4071,12 +3451,11 @@ public java.util.Map getAdditionalOptions()
      * map<string, string> additional_options = 14;
      */
     @java.lang.Override
+
     public java.util.Map getAdditionalOptionsMap() {
       return internalGetAdditionalOptions().getMap();
     }
     /**
-     *
-     *
      * 
      * Additional options that will be provided as key/value pairs into the
      * options clause of a create table/view statement. See
@@ -4087,18 +3466,16 @@ public java.util.Map getAdditionalOptionsMap
      * map<string, string> additional_options = 14;
      */
     @java.lang.Override
+
     public java.lang.String getAdditionalOptionsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+        java.lang.String key,
+        java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
       java.util.Map map =
           internalGetAdditionalOptions().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Additional options that will be provided as key/value pairs into the
      * options clause of a create table/view statement. See
@@ -4109,10 +3486,10 @@ public java.lang.String getAdditionalOptionsOrDefault(
      * map<string, string> additional_options = 14;
      */
     @java.lang.Override
-    public java.lang.String getAdditionalOptionsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+
+    public java.lang.String getAdditionalOptionsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       java.util.Map map =
           internalGetAdditionalOptions().getMap();
       if (!map.containsKey(key)) {
@@ -4122,7 +3499,6 @@ public java.lang.String getAdditionalOptionsOrThrow(java.lang.String key) {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -4134,7 +3510,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       for (int i = 0; i < dependencyTargets_.size(); i++) {
         output.writeMessage(1, dependencyTargets_.get(i));
       }
@@ -4147,10 +3524,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
       if (relationDescriptor_ != null) {
         output.writeMessage(4, getRelationDescriptor());
       }
-      if (relationType_
-          != com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType
-              .RELATION_TYPE_UNSPECIFIED
-              .getNumber()) {
+      if (relationType_ != com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType.RELATION_TYPE_UNSPECIFIED.getNumber()) {
         output.writeEnum(5, relationType_);
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(selectQuery_)) {
@@ -4169,8 +3543,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
         com.google.protobuf.GeneratedMessageV3.writeString(output, 10, partitionExpression_);
       }
       for (int i = 0; i < clusterExpressions_.size(); i++) {
-        com.google.protobuf.GeneratedMessageV3.writeString(
-            output, 11, clusterExpressions_.getRaw(i));
+        com.google.protobuf.GeneratedMessageV3.writeString(output, 11, clusterExpressions_.getRaw(i));
       }
       if (partitionExpirationDays_ != 0) {
         output.writeInt32(12, partitionExpirationDays_);
@@ -4178,7 +3551,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
       if (requirePartitionFilter_ != false) {
         output.writeBool(13, requirePartitionFilter_);
       }
-      com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+      com.google.protobuf.GeneratedMessageV3
+        .serializeStringMapTo(
           output,
           internalGetAdditionalOptions(),
           AdditionalOptionsDefaultEntryHolder.defaultEntry,
@@ -4193,11 +3567,12 @@ public int getSerializedSize() {
 
       size = 0;
       for (int i = 0; i < dependencyTargets_.size(); i++) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(1, dependencyTargets_.get(i));
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, dependencyTargets_.get(i));
       }
       if (disabled_ != false) {
-        size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, disabled_);
+        size += com.google.protobuf.CodedOutputStream
+          .computeBoolSize(2, disabled_);
       }
       {
         int dataSize = 0;
@@ -4208,14 +3583,12 @@ public int getSerializedSize() {
         size += 1 * getTagsList().size();
       }
       if (relationDescriptor_ != null) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(4, getRelationDescriptor());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(4, getRelationDescriptor());
       }
-      if (relationType_
-          != com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType
-              .RELATION_TYPE_UNSPECIFIED
-              .getNumber()) {
-        size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, relationType_);
+      if (relationType_ != com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType.RELATION_TYPE_UNSPECIFIED.getNumber()) {
+        size += com.google.protobuf.CodedOutputStream
+          .computeEnumSize(5, relationType_);
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(selectQuery_)) {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, selectQuery_);
@@ -4237,9 +3610,8 @@ public int getSerializedSize() {
         size += 1 * getPostOperationsList().size();
       }
       if (incrementalTableConfig_ != null) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(
-                9, getIncrementalTableConfig());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(9, getIncrementalTableConfig());
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partitionExpression_)) {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, partitionExpression_);
@@ -4253,21 +3625,22 @@ public int getSerializedSize() {
         size += 1 * getClusterExpressionsList().size();
       }
       if (partitionExpirationDays_ != 0) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeInt32Size(12, partitionExpirationDays_);
+        size += com.google.protobuf.CodedOutputStream
+          .computeInt32Size(12, partitionExpirationDays_);
       }
       if (requirePartitionFilter_ != false) {
-        size += com.google.protobuf.CodedOutputStream.computeBoolSize(13, requirePartitionFilter_);
-      }
-      for (java.util.Map.Entry entry :
-          internalGetAdditionalOptions().getMap().entrySet()) {
-        com.google.protobuf.MapEntry additionalOptions__ =
-            AdditionalOptionsDefaultEntryHolder.defaultEntry
-                .newBuilderForType()
-                .setKey(entry.getKey())
-                .setValue(entry.getValue())
-                .build();
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, additionalOptions__);
+        size += com.google.protobuf.CodedOutputStream
+          .computeBoolSize(13, requirePartitionFilter_);
+      }
+      for (java.util.Map.Entry entry
+           : internalGetAdditionalOptions().getMap().entrySet()) {
+        com.google.protobuf.MapEntry
+        additionalOptions__ = AdditionalOptionsDefaultEntryHolder.defaultEntry.newBuilderForType()
+            .setKey(entry.getKey())
+            .setValue(entry.getValue())
+            .build();
+        size += com.google.protobuf.CodedOutputStream
+            .computeMessageSize(14, additionalOptions__);
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -4277,35 +3650,46 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation)) {
         return super.equals(obj);
       }
-      com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation other =
-          (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) obj;
+      com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation other = (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) obj;
 
-      if (!getDependencyTargetsList().equals(other.getDependencyTargetsList())) return false;
-      if (getDisabled() != other.getDisabled()) return false;
-      if (!getTagsList().equals(other.getTagsList())) return false;
+      if (!getDependencyTargetsList()
+          .equals(other.getDependencyTargetsList())) return false;
+      if (getDisabled()
+          != other.getDisabled()) return false;
+      if (!getTagsList()
+          .equals(other.getTagsList())) return false;
       if (hasRelationDescriptor() != other.hasRelationDescriptor()) return false;
       if (hasRelationDescriptor()) {
-        if (!getRelationDescriptor().equals(other.getRelationDescriptor())) return false;
+        if (!getRelationDescriptor()
+            .equals(other.getRelationDescriptor())) return false;
       }
       if (relationType_ != other.relationType_) return false;
-      if (!getSelectQuery().equals(other.getSelectQuery())) return false;
-      if (!getPreOperationsList().equals(other.getPreOperationsList())) return false;
-      if (!getPostOperationsList().equals(other.getPostOperationsList())) return false;
+      if (!getSelectQuery()
+          .equals(other.getSelectQuery())) return false;
+      if (!getPreOperationsList()
+          .equals(other.getPreOperationsList())) return false;
+      if (!getPostOperationsList()
+          .equals(other.getPostOperationsList())) return false;
       if (hasIncrementalTableConfig() != other.hasIncrementalTableConfig()) return false;
       if (hasIncrementalTableConfig()) {
-        if (!getIncrementalTableConfig().equals(other.getIncrementalTableConfig())) return false;
-      }
-      if (!getPartitionExpression().equals(other.getPartitionExpression())) return false;
-      if (!getClusterExpressionsList().equals(other.getClusterExpressionsList())) return false;
-      if (getPartitionExpirationDays() != other.getPartitionExpirationDays()) return false;
-      if (getRequirePartitionFilter() != other.getRequirePartitionFilter()) return false;
-      if (!internalGetAdditionalOptions().equals(other.internalGetAdditionalOptions()))
-        return false;
+        if (!getIncrementalTableConfig()
+            .equals(other.getIncrementalTableConfig())) return false;
+      }
+      if (!getPartitionExpression()
+          .equals(other.getPartitionExpression())) return false;
+      if (!getClusterExpressionsList()
+          .equals(other.getClusterExpressionsList())) return false;
+      if (getPartitionExpirationDays()
+          != other.getPartitionExpirationDays()) return false;
+      if (getRequirePartitionFilter()
+          != other.getRequirePartitionFilter()) return false;
+      if (!internalGetAdditionalOptions().equals(
+          other.internalGetAdditionalOptions())) return false;
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
     }
@@ -4322,7 +3706,8 @@ public int hashCode() {
         hash = (53 * hash) + getDependencyTargetsList().hashCode();
       }
       hash = (37 * hash) + DISABLED_FIELD_NUMBER;
-      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisabled());
+      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+          getDisabled());
       if (getTagsCount() > 0) {
         hash = (37 * hash) + TAGS_FIELD_NUMBER;
         hash = (53 * hash) + getTagsList().hashCode();
@@ -4356,7 +3741,8 @@ public int hashCode() {
       hash = (37 * hash) + PARTITION_EXPIRATION_DAYS_FIELD_NUMBER;
       hash = (53 * hash) + getPartitionExpirationDays();
       hash = (37 * hash) + REQUIRE_PARTITION_FILTER_FIELD_NUMBER;
-      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequirePartitionFilter());
+      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+          getRequirePartitionFilter());
       if (!internalGetAdditionalOptions().getMap().isEmpty()) {
         hash = (37 * hash) + ADDITIONAL_OPTIONS_FIELD_NUMBER;
         hash = (53 * hash) + internalGetAdditionalOptions().hashCode();
@@ -4367,95 +3753,87 @@ public int hashCode() {
     }
 
     public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation parseFrom(
-        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation
-        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
-    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation
-        parseDelimitedFrom(
-            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation parseDelimitedFrom(
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation prototype) {
+    public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -4465,71 +3843,67 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Represents a database relation.
      * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.CompilationResultAction.Relation} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) com.google.cloud.dataform.v1alpha2.CompilationResultAction.RelationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 14: return internalGetAdditionalOptions(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 14: return internalGetMutableAdditionalOptions(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.class, - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.Builder.class); + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.class, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.Builder.class); } - // Construct using - // com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.newBuilder() + // Construct using com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getDependencyTargetsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -4576,16 +3950,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - getDefaultInstanceForType() { - return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .getDefaultInstance(); + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation getDefaultInstanceForType() { + return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.getDefaultInstance(); } @java.lang.Override @@ -4599,8 +3971,7 @@ public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation build @java.lang.Override public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation buildPartial() { - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation result = - new com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation(this); + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation result = new com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation(this); int from_bitField0_ = bitField0_; if (dependencyTargetsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -4657,53 +4028,46 @@ public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation build public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) { - return mergeFrom( - (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation other) { - if (other - == com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation other) { + if (other == com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.getDefaultInstance()) return this; if (dependencyTargetsBuilder_ == null) { if (!other.dependencyTargets_.isEmpty()) { if (dependencyTargets_.isEmpty()) { @@ -4722,10 +4086,9 @@ public Builder mergeFrom( dependencyTargetsBuilder_ = null; dependencyTargets_ = other.dependencyTargets_; bitField0_ = (bitField0_ & ~0x00000001); - dependencyTargetsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDependencyTargetsFieldBuilder() - : null; + dependencyTargetsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDependencyTargetsFieldBuilder() : null; } else { dependencyTargetsBuilder_.addAllMessages(other.dependencyTargets_); } @@ -4797,7 +4160,8 @@ public Builder mergeFrom( if (other.getRequirePartitionFilter() != false) { setRequirePartitionFilter(other.getRequirePartitionFilter()); } - internalGetMutableAdditionalOptions().mergeFrom(other.internalGetAdditionalOptions()); + internalGetMutableAdditionalOptions().mergeFrom( + other.internalGetAdditionalOptions()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -4817,9 +4181,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -4828,30 +4190,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List dependencyTargets_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureDependencyTargetsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - dependencyTargets_ = - new java.util.ArrayList( - dependencyTargets_); + dependencyTargets_ = new java.util.ArrayList(dependencyTargets_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Target, - com.google.cloud.dataform.v1alpha2.Target.Builder, - com.google.cloud.dataform.v1alpha2.TargetOrBuilder> - dependencyTargetsBuilder_; + com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder> dependencyTargetsBuilder_; /** - * - * *
        * A list of actions that this action depends on.
        * 
@@ -4866,8 +4219,6 @@ public java.util.List getDependencyTa } } /** - * - * *
        * A list of actions that this action depends on.
        * 
@@ -4882,8 +4233,6 @@ public int getDependencyTargetsCount() { } } /** - * - * *
        * A list of actions that this action depends on.
        * 
@@ -4898,8 +4247,6 @@ public com.google.cloud.dataform.v1alpha2.Target getDependencyTargets(int index) } } /** - * - * *
        * A list of actions that this action depends on.
        * 
@@ -4921,8 +4268,6 @@ public Builder setDependencyTargets( return this; } /** - * - * *
        * A list of actions that this action depends on.
        * 
@@ -4941,8 +4286,6 @@ public Builder setDependencyTargets( return this; } /** - * - * *
        * A list of actions that this action depends on.
        * 
@@ -4963,8 +4306,6 @@ public Builder addDependencyTargets(com.google.cloud.dataform.v1alpha2.Target va return this; } /** - * - * *
        * A list of actions that this action depends on.
        * 
@@ -4986,8 +4327,6 @@ public Builder addDependencyTargets( return this; } /** - * - * *
        * A list of actions that this action depends on.
        * 
@@ -5006,8 +4345,6 @@ public Builder addDependencyTargets( return this; } /** - * - * *
        * A list of actions that this action depends on.
        * 
@@ -5026,8 +4363,6 @@ public Builder addDependencyTargets( return this; } /** - * - * *
        * A list of actions that this action depends on.
        * 
@@ -5038,7 +4373,8 @@ public Builder addAllDependencyTargets( java.lang.Iterable values) { if (dependencyTargetsBuilder_ == null) { ensureDependencyTargetsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dependencyTargets_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, dependencyTargets_); onChanged(); } else { dependencyTargetsBuilder_.addAllMessages(values); @@ -5046,8 +4382,6 @@ public Builder addAllDependencyTargets( return this; } /** - * - * *
        * A list of actions that this action depends on.
        * 
@@ -5065,8 +4399,6 @@ public Builder clearDependencyTargets() { return this; } /** - * - * *
        * A list of actions that this action depends on.
        * 
@@ -5084,8 +4416,6 @@ public Builder removeDependencyTargets(int index) { return this; } /** - * - * *
        * A list of actions that this action depends on.
        * 
@@ -5097,8 +4427,6 @@ public com.google.cloud.dataform.v1alpha2.Target.Builder getDependencyTargetsBui return getDependencyTargetsFieldBuilder().getBuilder(index); } /** - * - * *
        * A list of actions that this action depends on.
        * 
@@ -5108,22 +4436,19 @@ public com.google.cloud.dataform.v1alpha2.Target.Builder getDependencyTargetsBui public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getDependencyTargetsOrBuilder( int index) { if (dependencyTargetsBuilder_ == null) { - return dependencyTargets_.get(index); - } else { + return dependencyTargets_.get(index); } else { return dependencyTargetsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * A list of actions that this action depends on.
        * 
* * repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1; */ - public java.util.List - getDependencyTargetsOrBuilderList() { + public java.util.List + getDependencyTargetsOrBuilderList() { if (dependencyTargetsBuilder_ != null) { return dependencyTargetsBuilder_.getMessageOrBuilderList(); } else { @@ -5131,8 +4456,6 @@ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getDependencyTargetsOr } } /** - * - * *
        * A list of actions that this action depends on.
        * 
@@ -5140,12 +4463,10 @@ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getDependencyTargetsOr * repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1; */ public com.google.cloud.dataform.v1alpha2.Target.Builder addDependencyTargetsBuilder() { - return getDependencyTargetsFieldBuilder() - .addBuilder(com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance()); + return getDependencyTargetsFieldBuilder().addBuilder( + com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance()); } /** - * - * *
        * A list of actions that this action depends on.
        * 
@@ -5154,34 +4475,26 @@ public com.google.cloud.dataform.v1alpha2.Target.Builder addDependencyTargetsBui */ public com.google.cloud.dataform.v1alpha2.Target.Builder addDependencyTargetsBuilder( int index) { - return getDependencyTargetsFieldBuilder() - .addBuilder(index, com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance()); + return getDependencyTargetsFieldBuilder().addBuilder( + index, com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance()); } /** - * - * *
        * A list of actions that this action depends on.
        * 
* * repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1; */ - public java.util.List - getDependencyTargetsBuilderList() { + public java.util.List + getDependencyTargetsBuilderList() { return getDependencyTargetsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Target, - com.google.cloud.dataform.v1alpha2.Target.Builder, - com.google.cloud.dataform.v1alpha2.TargetOrBuilder> + com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder> getDependencyTargetsFieldBuilder() { if (dependencyTargetsBuilder_ == null) { - dependencyTargetsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Target, - com.google.cloud.dataform.v1alpha2.Target.Builder, - com.google.cloud.dataform.v1alpha2.TargetOrBuilder>( + dependencyTargetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder>( dependencyTargets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -5191,16 +4504,13 @@ public com.google.cloud.dataform.v1alpha2.Target.Builder addDependencyTargetsBui return dependencyTargetsBuilder_; } - private boolean disabled_; + private boolean disabled_ ; /** - * - * *
        * Whether this action is disabled (i.e. should not be run).
        * 
* * bool disabled = 2; - * * @return The disabled. */ @java.lang.Override @@ -5208,87 +4518,71 @@ public boolean getDisabled() { return disabled_; } /** - * - * *
        * Whether this action is disabled (i.e. should not be run).
        * 
* * bool disabled = 2; - * * @param value The disabled to set. * @return This builder for chaining. */ public Builder setDisabled(boolean value) { - + disabled_ = value; onChanged(); return this; } /** - * - * *
        * Whether this action is disabled (i.e. should not be run).
        * 
* * bool disabled = 2; - * * @return This builder for chaining. */ public Builder clearDisabled() { - + disabled_ = false; onChanged(); return this; } - private com.google.protobuf.LazyStringList tags_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureTagsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { tags_ = new com.google.protobuf.LazyStringArrayList(tags_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; - * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList getTagsList() { + public com.google.protobuf.ProtocolStringList + getTagsList() { return tags_.getUnmodifiableView(); } /** - * - * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; - * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** - * - * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; - * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -5296,90 +4590,80 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** - * - * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; - * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString getTagsBytes(int index) { + public com.google.protobuf.ByteString + getTagsBytes(int index) { return tags_.getByteString(index); } /** - * - * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; - * * @param index The index to set the value at. * @param value The tags to set. * @return This builder for chaining. */ - public Builder setTags(int index, java.lang.String value) { + public Builder setTags( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.set(index, value); onChanged(); return this; } /** - * - * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; - * * @param value The tags to add. * @return This builder for chaining. */ - public Builder addTags(java.lang.String value) { + public Builder addTags( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } /** - * - * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; - * * @param values The tags to add. * @return This builder for chaining. */ - public Builder addAllTags(java.lang.Iterable values) { + public Builder addAllTags( + java.lang.Iterable values) { ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tags_); onChanged(); return this; } /** - * - * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; - * * @return This builder for chaining. */ public Builder clearTags() { @@ -5389,22 +4673,20 @@ public Builder clearTags() { return this; } /** - * - * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; - * * @param value The bytes of the tags to add. * @return This builder for chaining. */ - public Builder addTagsBytes(com.google.protobuf.ByteString value) { + public Builder addTagsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureTagsIsMutable(); tags_.add(value); onChanged(); @@ -5413,55 +4695,41 @@ public Builder addTagsBytes(com.google.protobuf.ByteString value) { private com.google.cloud.dataform.v1alpha2.RelationDescriptor relationDescriptor_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.RelationDescriptor, - com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder, - com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder> - relationDescriptorBuilder_; + com.google.cloud.dataform.v1alpha2.RelationDescriptor, com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder, com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder> relationDescriptorBuilder_; /** - * - * *
        * Descriptor for the relation and its columns.
        * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 4; - * * @return Whether the relationDescriptor field is set. */ public boolean hasRelationDescriptor() { return relationDescriptorBuilder_ != null || relationDescriptor_ != null; } /** - * - * *
        * Descriptor for the relation and its columns.
        * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 4; - * * @return The relationDescriptor. */ public com.google.cloud.dataform.v1alpha2.RelationDescriptor getRelationDescriptor() { if (relationDescriptorBuilder_ == null) { - return relationDescriptor_ == null - ? com.google.cloud.dataform.v1alpha2.RelationDescriptor.getDefaultInstance() - : relationDescriptor_; + return relationDescriptor_ == null ? com.google.cloud.dataform.v1alpha2.RelationDescriptor.getDefaultInstance() : relationDescriptor_; } else { return relationDescriptorBuilder_.getMessage(); } } /** - * - * *
        * Descriptor for the relation and its columns.
        * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 4; */ - public Builder setRelationDescriptor( - com.google.cloud.dataform.v1alpha2.RelationDescriptor value) { + public Builder setRelationDescriptor(com.google.cloud.dataform.v1alpha2.RelationDescriptor value) { if (relationDescriptorBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5475,8 +4743,6 @@ public Builder setRelationDescriptor( return this; } /** - * - * *
        * Descriptor for the relation and its columns.
        * 
@@ -5495,23 +4761,17 @@ public Builder setRelationDescriptor( return this; } /** - * - * *
        * Descriptor for the relation and its columns.
        * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 4; */ - public Builder mergeRelationDescriptor( - com.google.cloud.dataform.v1alpha2.RelationDescriptor value) { + public Builder mergeRelationDescriptor(com.google.cloud.dataform.v1alpha2.RelationDescriptor value) { if (relationDescriptorBuilder_ == null) { if (relationDescriptor_ != null) { relationDescriptor_ = - com.google.cloud.dataform.v1alpha2.RelationDescriptor.newBuilder( - relationDescriptor_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.dataform.v1alpha2.RelationDescriptor.newBuilder(relationDescriptor_).mergeFrom(value).buildPartial(); } else { relationDescriptor_ = value; } @@ -5523,8 +4783,6 @@ public Builder mergeRelationDescriptor( return this; } /** - * - * *
        * Descriptor for the relation and its columns.
        * 
@@ -5543,42 +4801,33 @@ public Builder clearRelationDescriptor() { return this; } /** - * - * *
        * Descriptor for the relation and its columns.
        * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 4; */ - public com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder - getRelationDescriptorBuilder() { - + public com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder getRelationDescriptorBuilder() { + onChanged(); return getRelationDescriptorFieldBuilder().getBuilder(); } /** - * - * *
        * Descriptor for the relation and its columns.
        * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 4; */ - public com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder - getRelationDescriptorOrBuilder() { + public com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder getRelationDescriptorOrBuilder() { if (relationDescriptorBuilder_ != null) { return relationDescriptorBuilder_.getMessageOrBuilder(); } else { - return relationDescriptor_ == null - ? com.google.cloud.dataform.v1alpha2.RelationDescriptor.getDefaultInstance() - : relationDescriptor_; + return relationDescriptor_ == null ? + com.google.cloud.dataform.v1alpha2.RelationDescriptor.getDefaultInstance() : relationDescriptor_; } } /** - * - * *
        * Descriptor for the relation and its columns.
        * 
@@ -5586,17 +4835,14 @@ public Builder clearRelationDescriptor() { * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.RelationDescriptor, - com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder, - com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder> + com.google.cloud.dataform.v1alpha2.RelationDescriptor, com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder, com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder> getRelationDescriptorFieldBuilder() { if (relationDescriptorBuilder_ == null) { - relationDescriptorBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.RelationDescriptor, - com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder, - com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder>( - getRelationDescriptor(), getParentForChildren(), isClean()); + relationDescriptorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.RelationDescriptor, com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder, com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder>( + getRelationDescriptor(), + getParentForChildren(), + isClean()); relationDescriptor_ = null; } return relationDescriptorBuilder_; @@ -5604,106 +4850,73 @@ public Builder clearRelationDescriptor() { private int relationType_ = 0; /** - * - * *
        * The type of this relation.
        * 
* - * - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType relation_type = 5; - * - * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType relation_type = 5; * @return The enum numeric value on the wire for relationType. */ - @java.lang.Override - public int getRelationTypeValue() { + @java.lang.Override public int getRelationTypeValue() { return relationType_; } /** - * - * *
        * The type of this relation.
        * 
* - * - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType relation_type = 5; - * - * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType relation_type = 5; * @param value The enum numeric value on the wire for relationType to set. * @return This builder for chaining. */ public Builder setRelationTypeValue(int value) { - + relationType_ = value; onChanged(); return this; } /** - * - * *
        * The type of this relation.
        * 
* - * - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType relation_type = 5; - * - * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType relation_type = 5; * @return The relationType. */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType - getRelationType() { + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType getRelationType() { @SuppressWarnings("deprecation") - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType result = - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType - .valueOf(relationType_); - return result == null - ? com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType - .UNRECOGNIZED - : result; + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType result = com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType.valueOf(relationType_); + return result == null ? com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType.UNRECOGNIZED : result; } /** - * - * *
        * The type of this relation.
        * 
* - * - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType relation_type = 5; - * - * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType relation_type = 5; * @param value The relationType to set. * @return This builder for chaining. */ - public Builder setRelationType( - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType value) { + public Builder setRelationType(com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType value) { if (value == null) { throw new NullPointerException(); } - + relationType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * The type of this relation.
        * 
* - * - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType relation_type = 5; - * - * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType relation_type = 5; * @return This builder for chaining. */ public Builder clearRelationType() { - + relationType_ = 0; onChanged(); return this; @@ -5711,20 +4924,18 @@ public Builder clearRelationType() { private java.lang.Object selectQuery_ = ""; /** - * - * *
        * The SELECT query which returns rows which this relation should contain.
        * 
* * string select_query = 6; - * * @return The selectQuery. */ public java.lang.String getSelectQuery() { java.lang.Object ref = selectQuery_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); selectQuery_ = s; return s; @@ -5733,21 +4944,20 @@ public java.lang.String getSelectQuery() { } } /** - * - * *
        * The SELECT query which returns rows which this relation should contain.
        * 
* * string select_query = 6; - * * @return The bytes for selectQuery. */ - public com.google.protobuf.ByteString getSelectQueryBytes() { + public com.google.protobuf.ByteString + getSelectQueryBytes() { java.lang.Object ref = selectQuery_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); selectQuery_ = b; return b; } else { @@ -5755,112 +4965,95 @@ public com.google.protobuf.ByteString getSelectQueryBytes() { } } /** - * - * *
        * The SELECT query which returns rows which this relation should contain.
        * 
* * string select_query = 6; - * * @param value The selectQuery to set. * @return This builder for chaining. */ - public Builder setSelectQuery(java.lang.String value) { + public Builder setSelectQuery( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + selectQuery_ = value; onChanged(); return this; } /** - * - * *
        * The SELECT query which returns rows which this relation should contain.
        * 
* * string select_query = 6; - * * @return This builder for chaining. */ public Builder clearSelectQuery() { - + selectQuery_ = getDefaultInstance().getSelectQuery(); onChanged(); return this; } /** - * - * *
        * The SELECT query which returns rows which this relation should contain.
        * 
* * string select_query = 6; - * * @param value The bytes for selectQuery to set. * @return This builder for chaining. */ - public Builder setSelectQueryBytes(com.google.protobuf.ByteString value) { + public Builder setSelectQueryBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + selectQuery_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList preOperations_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList preOperations_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensurePreOperationsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { preOperations_ = new com.google.protobuf.LazyStringArrayList(preOperations_); bitField0_ |= 0x00000004; - } + } } /** - * - * *
        * SQL statements to be executed before creating the relation.
        * 
* * repeated string pre_operations = 7; - * * @return A list containing the preOperations. */ - public com.google.protobuf.ProtocolStringList getPreOperationsList() { + public com.google.protobuf.ProtocolStringList + getPreOperationsList() { return preOperations_.getUnmodifiableView(); } /** - * - * *
        * SQL statements to be executed before creating the relation.
        * 
* * repeated string pre_operations = 7; - * * @return The count of preOperations. */ public int getPreOperationsCount() { return preOperations_.size(); } /** - * - * *
        * SQL statements to be executed before creating the relation.
        * 
* * repeated string pre_operations = 7; - * * @param index The index of the element to return. * @return The preOperations at the given index. */ @@ -5868,90 +5061,80 @@ public java.lang.String getPreOperations(int index) { return preOperations_.get(index); } /** - * - * *
        * SQL statements to be executed before creating the relation.
        * 
* * repeated string pre_operations = 7; - * * @param index The index of the value to return. * @return The bytes of the preOperations at the given index. */ - public com.google.protobuf.ByteString getPreOperationsBytes(int index) { + public com.google.protobuf.ByteString + getPreOperationsBytes(int index) { return preOperations_.getByteString(index); } /** - * - * *
        * SQL statements to be executed before creating the relation.
        * 
* * repeated string pre_operations = 7; - * * @param index The index to set the value at. * @param value The preOperations to set. * @return This builder for chaining. */ - public Builder setPreOperations(int index, java.lang.String value) { + public Builder setPreOperations( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePreOperationsIsMutable(); + throw new NullPointerException(); + } + ensurePreOperationsIsMutable(); preOperations_.set(index, value); onChanged(); return this; } /** - * - * *
        * SQL statements to be executed before creating the relation.
        * 
* * repeated string pre_operations = 7; - * * @param value The preOperations to add. * @return This builder for chaining. */ - public Builder addPreOperations(java.lang.String value) { + public Builder addPreOperations( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePreOperationsIsMutable(); + throw new NullPointerException(); + } + ensurePreOperationsIsMutable(); preOperations_.add(value); onChanged(); return this; } /** - * - * *
        * SQL statements to be executed before creating the relation.
        * 
* * repeated string pre_operations = 7; - * * @param values The preOperations to add. * @return This builder for chaining. */ - public Builder addAllPreOperations(java.lang.Iterable values) { + public Builder addAllPreOperations( + java.lang.Iterable values) { ensurePreOperationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, preOperations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, preOperations_); onChanged(); return this; } /** - * - * *
        * SQL statements to be executed before creating the relation.
        * 
* * repeated string pre_operations = 7; - * * @return This builder for chaining. */ public Builder clearPreOperations() { @@ -5961,74 +5144,62 @@ public Builder clearPreOperations() { return this; } /** - * - * *
        * SQL statements to be executed before creating the relation.
        * 
* * repeated string pre_operations = 7; - * * @param value The bytes of the preOperations to add. * @return This builder for chaining. */ - public Builder addPreOperationsBytes(com.google.protobuf.ByteString value) { + public Builder addPreOperationsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensurePreOperationsIsMutable(); preOperations_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList postOperations_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList postOperations_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensurePostOperationsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { postOperations_ = new com.google.protobuf.LazyStringArrayList(postOperations_); bitField0_ |= 0x00000008; - } + } } /** - * - * *
        * SQL statements to be executed after creating the relation.
        * 
* * repeated string post_operations = 8; - * * @return A list containing the postOperations. */ - public com.google.protobuf.ProtocolStringList getPostOperationsList() { + public com.google.protobuf.ProtocolStringList + getPostOperationsList() { return postOperations_.getUnmodifiableView(); } /** - * - * *
        * SQL statements to be executed after creating the relation.
        * 
* * repeated string post_operations = 8; - * * @return The count of postOperations. */ public int getPostOperationsCount() { return postOperations_.size(); } /** - * - * *
        * SQL statements to be executed after creating the relation.
        * 
* * repeated string post_operations = 8; - * * @param index The index of the element to return. * @return The postOperations at the given index. */ @@ -6036,90 +5207,80 @@ public java.lang.String getPostOperations(int index) { return postOperations_.get(index); } /** - * - * *
        * SQL statements to be executed after creating the relation.
        * 
* * repeated string post_operations = 8; - * * @param index The index of the value to return. * @return The bytes of the postOperations at the given index. */ - public com.google.protobuf.ByteString getPostOperationsBytes(int index) { + public com.google.protobuf.ByteString + getPostOperationsBytes(int index) { return postOperations_.getByteString(index); } /** - * - * *
        * SQL statements to be executed after creating the relation.
        * 
* * repeated string post_operations = 8; - * * @param index The index to set the value at. * @param value The postOperations to set. * @return This builder for chaining. */ - public Builder setPostOperations(int index, java.lang.String value) { + public Builder setPostOperations( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePostOperationsIsMutable(); + throw new NullPointerException(); + } + ensurePostOperationsIsMutable(); postOperations_.set(index, value); onChanged(); return this; } /** - * - * *
        * SQL statements to be executed after creating the relation.
        * 
* * repeated string post_operations = 8; - * * @param value The postOperations to add. * @return This builder for chaining. */ - public Builder addPostOperations(java.lang.String value) { + public Builder addPostOperations( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePostOperationsIsMutable(); + throw new NullPointerException(); + } + ensurePostOperationsIsMutable(); postOperations_.add(value); onChanged(); return this; } /** - * - * *
        * SQL statements to be executed after creating the relation.
        * 
* * repeated string post_operations = 8; - * * @param values The postOperations to add. * @return This builder for chaining. */ - public Builder addAllPostOperations(java.lang.Iterable values) { + public Builder addAllPostOperations( + java.lang.Iterable values) { ensurePostOperationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, postOperations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, postOperations_); onChanged(); return this; } /** - * - * *
        * SQL statements to be executed after creating the relation.
        * 
* * repeated string post_operations = 8; - * * @return This builder for chaining. */ public Builder clearPostOperations() { @@ -6129,97 +5290,66 @@ public Builder clearPostOperations() { return this; } /** - * - * *
        * SQL statements to be executed after creating the relation.
        * 
* * repeated string post_operations = 8; - * * @param value The bytes of the postOperations to add. * @return This builder for chaining. */ - public Builder addPostOperationsBytes(com.google.protobuf.ByteString value) { + public Builder addPostOperationsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensurePostOperationsIsMutable(); postOperations_.add(value); onChanged(); return this; } - private com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfig - incrementalTableConfig_; + private com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incrementalTableConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfig, - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfig.Builder, - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfigOrBuilder> - incrementalTableConfigBuilder_; + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig.Builder, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfigOrBuilder> incrementalTableConfigBuilder_; /** - * - * *
        * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
        * `relation_type` is `INCREMENTAL_TABLE`.
        * 
* - * - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; - * - * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; * @return Whether the incrementalTableConfig field is set. */ public boolean hasIncrementalTableConfig() { return incrementalTableConfigBuilder_ != null || incrementalTableConfig_ != null; } /** - * - * *
        * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
        * `relation_type` is `INCREMENTAL_TABLE`.
        * 
* - * - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; - * - * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; * @return The incrementalTableConfig. */ - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfig - getIncrementalTableConfig() { + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig getIncrementalTableConfig() { if (incrementalTableConfigBuilder_ == null) { - return incrementalTableConfig_ == null - ? com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfig.getDefaultInstance() - : incrementalTableConfig_; + return incrementalTableConfig_ == null ? com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig.getDefaultInstance() : incrementalTableConfig_; } else { return incrementalTableConfigBuilder_.getMessage(); } } /** - * - * *
        * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
        * `relation_type` is `INCREMENTAL_TABLE`.
        * 
* - * - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; - * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; */ - public Builder setIncrementalTableConfig( - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig - value) { + public Builder setIncrementalTableConfig(com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig value) { if (incrementalTableConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6233,21 +5363,15 @@ public Builder setIncrementalTableConfig( return this; } /** - * - * *
        * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
        * `relation_type` is `INCREMENTAL_TABLE`.
        * 
* - * - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; - * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; */ public Builder setIncrementalTableConfig( - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig - .Builder - builderForValue) { + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig.Builder builderForValue) { if (incrementalTableConfigBuilder_ == null) { incrementalTableConfig_ = builderForValue.build(); onChanged(); @@ -6258,27 +5382,18 @@ public Builder setIncrementalTableConfig( return this; } /** - * - * *
        * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
        * `relation_type` is `INCREMENTAL_TABLE`.
        * 
* - * - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; - * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; */ - public Builder mergeIncrementalTableConfig( - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig - value) { + public Builder mergeIncrementalTableConfig(com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig value) { if (incrementalTableConfigBuilder_ == null) { if (incrementalTableConfig_ != null) { incrementalTableConfig_ = - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfig.newBuilder(incrementalTableConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig.newBuilder(incrementalTableConfig_).mergeFrom(value).buildPartial(); } else { incrementalTableConfig_ = value; } @@ -6290,16 +5405,12 @@ public Builder mergeIncrementalTableConfig( return this; } /** - * - * *
        * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
        * `relation_type` is `INCREMENTAL_TABLE`.
        * 
* - * - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; - * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; */ public Builder clearIncrementalTableConfig() { if (incrementalTableConfigBuilder_ == null) { @@ -6313,78 +5424,51 @@ public Builder clearIncrementalTableConfig() { return this; } /** - * - * *
        * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
        * `relation_type` is `INCREMENTAL_TABLE`.
        * 
* - * - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; - * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; */ - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfig.Builder - getIncrementalTableConfigBuilder() { - + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig.Builder getIncrementalTableConfigBuilder() { + onChanged(); return getIncrementalTableConfigFieldBuilder().getBuilder(); } /** - * - * *
        * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
        * `relation_type` is `INCREMENTAL_TABLE`.
        * 
* - * - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; - * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; */ - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfigOrBuilder - getIncrementalTableConfigOrBuilder() { + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfigOrBuilder getIncrementalTableConfigOrBuilder() { if (incrementalTableConfigBuilder_ != null) { return incrementalTableConfigBuilder_.getMessageOrBuilder(); } else { - return incrementalTableConfig_ == null - ? com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfig.getDefaultInstance() - : incrementalTableConfig_; + return incrementalTableConfig_ == null ? + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig.getDefaultInstance() : incrementalTableConfig_; } } /** - * - * *
        * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
        * `relation_type` is `INCREMENTAL_TABLE`.
        * 
* - * - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; - * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfig, - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfig.Builder, - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfigOrBuilder> + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig.Builder, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfigOrBuilder> getIncrementalTableConfigFieldBuilder() { if (incrementalTableConfigBuilder_ == null) { - incrementalTableConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfig, - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfig.Builder, - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .IncrementalTableConfigOrBuilder>( - getIncrementalTableConfig(), getParentForChildren(), isClean()); + incrementalTableConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig.Builder, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfigOrBuilder>( + getIncrementalTableConfig(), + getParentForChildren(), + isClean()); incrementalTableConfig_ = null; } return incrementalTableConfigBuilder_; @@ -6392,20 +5476,18 @@ public Builder clearIncrementalTableConfig() { private java.lang.Object partitionExpression_ = ""; /** - * - * *
        * The SQL expression used to partition the relation.
        * 
* * string partition_expression = 10; - * * @return The partitionExpression. */ public java.lang.String getPartitionExpression() { java.lang.Object ref = partitionExpression_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); partitionExpression_ = s; return s; @@ -6414,21 +5496,20 @@ public java.lang.String getPartitionExpression() { } } /** - * - * *
        * The SQL expression used to partition the relation.
        * 
* * string partition_expression = 10; - * * @return The bytes for partitionExpression. */ - public com.google.protobuf.ByteString getPartitionExpressionBytes() { + public com.google.protobuf.ByteString + getPartitionExpressionBytes() { java.lang.Object ref = partitionExpression_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); partitionExpression_ = b; return b; } else { @@ -6436,112 +5517,95 @@ public com.google.protobuf.ByteString getPartitionExpressionBytes() { } } /** - * - * *
        * The SQL expression used to partition the relation.
        * 
* * string partition_expression = 10; - * * @param value The partitionExpression to set. * @return This builder for chaining. */ - public Builder setPartitionExpression(java.lang.String value) { + public Builder setPartitionExpression( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + partitionExpression_ = value; onChanged(); return this; } /** - * - * *
        * The SQL expression used to partition the relation.
        * 
* * string partition_expression = 10; - * * @return This builder for chaining. */ public Builder clearPartitionExpression() { - + partitionExpression_ = getDefaultInstance().getPartitionExpression(); onChanged(); return this; } /** - * - * *
        * The SQL expression used to partition the relation.
        * 
* * string partition_expression = 10; - * * @param value The bytes for partitionExpression to set. * @return This builder for chaining. */ - public Builder setPartitionExpressionBytes(com.google.protobuf.ByteString value) { + public Builder setPartitionExpressionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + partitionExpression_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList clusterExpressions_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList clusterExpressions_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureClusterExpressionsIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { clusterExpressions_ = new com.google.protobuf.LazyStringArrayList(clusterExpressions_); bitField0_ |= 0x00000010; - } + } } /** - * - * *
        * A list of columns or SQL expressions used to cluster the table.
        * 
* * repeated string cluster_expressions = 11; - * * @return A list containing the clusterExpressions. */ - public com.google.protobuf.ProtocolStringList getClusterExpressionsList() { + public com.google.protobuf.ProtocolStringList + getClusterExpressionsList() { return clusterExpressions_.getUnmodifiableView(); } /** - * - * *
        * A list of columns or SQL expressions used to cluster the table.
        * 
* * repeated string cluster_expressions = 11; - * * @return The count of clusterExpressions. */ public int getClusterExpressionsCount() { return clusterExpressions_.size(); } /** - * - * *
        * A list of columns or SQL expressions used to cluster the table.
        * 
* * repeated string cluster_expressions = 11; - * * @param index The index of the element to return. * @return The clusterExpressions at the given index. */ @@ -6549,90 +5613,80 @@ public java.lang.String getClusterExpressions(int index) { return clusterExpressions_.get(index); } /** - * - * *
        * A list of columns or SQL expressions used to cluster the table.
        * 
* * repeated string cluster_expressions = 11; - * * @param index The index of the value to return. * @return The bytes of the clusterExpressions at the given index. */ - public com.google.protobuf.ByteString getClusterExpressionsBytes(int index) { + public com.google.protobuf.ByteString + getClusterExpressionsBytes(int index) { return clusterExpressions_.getByteString(index); } /** - * - * *
        * A list of columns or SQL expressions used to cluster the table.
        * 
* * repeated string cluster_expressions = 11; - * * @param index The index to set the value at. * @param value The clusterExpressions to set. * @return This builder for chaining. */ - public Builder setClusterExpressions(int index, java.lang.String value) { + public Builder setClusterExpressions( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureClusterExpressionsIsMutable(); + throw new NullPointerException(); + } + ensureClusterExpressionsIsMutable(); clusterExpressions_.set(index, value); onChanged(); return this; } /** - * - * *
        * A list of columns or SQL expressions used to cluster the table.
        * 
* * repeated string cluster_expressions = 11; - * * @param value The clusterExpressions to add. * @return This builder for chaining. */ - public Builder addClusterExpressions(java.lang.String value) { + public Builder addClusterExpressions( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureClusterExpressionsIsMutable(); + throw new NullPointerException(); + } + ensureClusterExpressionsIsMutable(); clusterExpressions_.add(value); onChanged(); return this; } /** - * - * *
        * A list of columns or SQL expressions used to cluster the table.
        * 
* * repeated string cluster_expressions = 11; - * * @param values The clusterExpressions to add. * @return This builder for chaining. */ - public Builder addAllClusterExpressions(java.lang.Iterable values) { + public Builder addAllClusterExpressions( + java.lang.Iterable values) { ensureClusterExpressionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, clusterExpressions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, clusterExpressions_); onChanged(); return this; } /** - * - * *
        * A list of columns or SQL expressions used to cluster the table.
        * 
* * repeated string cluster_expressions = 11; - * * @return This builder for chaining. */ public Builder clearClusterExpressions() { @@ -6642,38 +5696,33 @@ public Builder clearClusterExpressions() { return this; } /** - * - * *
        * A list of columns or SQL expressions used to cluster the table.
        * 
* * repeated string cluster_expressions = 11; - * * @param value The bytes of the clusterExpressions to add. * @return This builder for chaining. */ - public Builder addClusterExpressionsBytes(com.google.protobuf.ByteString value) { + public Builder addClusterExpressionsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureClusterExpressionsIsMutable(); clusterExpressions_.add(value); onChanged(); return this; } - private int partitionExpirationDays_; + private int partitionExpirationDays_ ; /** - * - * *
        * Sets the partition expiration in days.
        * 
* * int32 partition_expiration_days = 12; - * * @return The partitionExpirationDays. */ @java.lang.Override @@ -6681,52 +5730,43 @@ public int getPartitionExpirationDays() { return partitionExpirationDays_; } /** - * - * *
        * Sets the partition expiration in days.
        * 
* * int32 partition_expiration_days = 12; - * * @param value The partitionExpirationDays to set. * @return This builder for chaining. */ public Builder setPartitionExpirationDays(int value) { - + partitionExpirationDays_ = value; onChanged(); return this; } /** - * - * *
        * Sets the partition expiration in days.
        * 
* * int32 partition_expiration_days = 12; - * * @return This builder for chaining. */ public Builder clearPartitionExpirationDays() { - + partitionExpirationDays_ = 0; onChanged(); return this; } - private boolean requirePartitionFilter_; + private boolean requirePartitionFilter_ ; /** - * - * *
        * Specifies whether queries on this table must include a predicate filter
        * that filters on the partitioning column.
        * 
* * bool require_partition_filter = 13; - * * @return The requirePartitionFilter. */ @java.lang.Override @@ -6734,62 +5774,53 @@ public boolean getRequirePartitionFilter() { return requirePartitionFilter_; } /** - * - * *
        * Specifies whether queries on this table must include a predicate filter
        * that filters on the partitioning column.
        * 
* * bool require_partition_filter = 13; - * * @param value The requirePartitionFilter to set. * @return This builder for chaining. */ public Builder setRequirePartitionFilter(boolean value) { - + requirePartitionFilter_ = value; onChanged(); return this; } /** - * - * *
        * Specifies whether queries on this table must include a predicate filter
        * that filters on the partitioning column.
        * 
* * bool require_partition_filter = 13; - * * @return This builder for chaining. */ public Builder clearRequirePartitionFilter() { - + requirePartitionFilter_ = false; onChanged(); return this; } - private com.google.protobuf.MapField additionalOptions_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> additionalOptions_; private com.google.protobuf.MapField - internalGetAdditionalOptions() { + internalGetAdditionalOptions() { if (additionalOptions_ == null) { return com.google.protobuf.MapField.emptyMapField( AdditionalOptionsDefaultEntryHolder.defaultEntry); } return additionalOptions_; } - private com.google.protobuf.MapField - internalGetMutableAdditionalOptions() { - onChanged(); - ; + internalGetMutableAdditionalOptions() { + onChanged();; if (additionalOptions_ == null) { - additionalOptions_ = - com.google.protobuf.MapField.newMapField( - AdditionalOptionsDefaultEntryHolder.defaultEntry); + additionalOptions_ = com.google.protobuf.MapField.newMapField( + AdditionalOptionsDefaultEntryHolder.defaultEntry); } if (!additionalOptions_.isMutable()) { additionalOptions_ = additionalOptions_.copy(); @@ -6801,8 +5832,6 @@ public int getAdditionalOptionsCount() { return internalGetAdditionalOptions().getMap().size(); } /** - * - * *
        * Additional options that will be provided as key/value pairs into the
        * options clause of a create table/view statement. See
@@ -6812,22 +5841,22 @@ public int getAdditionalOptionsCount() {
        *
        * map<string, string> additional_options = 14;
        */
+
       @java.lang.Override
-      public boolean containsAdditionalOptions(java.lang.String key) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
+      public boolean containsAdditionalOptions(
+          java.lang.String key) {
+        if (key == null) { throw new NullPointerException("map key"); }
         return internalGetAdditionalOptions().getMap().containsKey(key);
       }
-      /** Use {@link #getAdditionalOptionsMap()} instead. */
+      /**
+       * Use {@link #getAdditionalOptionsMap()} instead.
+       */
       @java.lang.Override
       @java.lang.Deprecated
       public java.util.Map getAdditionalOptions() {
         return getAdditionalOptionsMap();
       }
       /**
-       *
-       *
        * 
        * Additional options that will be provided as key/value pairs into the
        * options clause of a create table/view statement. See
@@ -6838,12 +5867,11 @@ public java.util.Map getAdditionalOptions()
        * map<string, string> additional_options = 14;
        */
       @java.lang.Override
+
       public java.util.Map getAdditionalOptionsMap() {
         return internalGetAdditionalOptions().getMap();
       }
       /**
-       *
-       *
        * 
        * Additional options that will be provided as key/value pairs into the
        * options clause of a create table/view statement. See
@@ -6854,18 +5882,16 @@ public java.util.Map getAdditionalOptionsMap
        * map<string, string> additional_options = 14;
        */
       @java.lang.Override
+
       public java.lang.String getAdditionalOptionsOrDefault(
-          java.lang.String key, java.lang.String defaultValue) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
+          java.lang.String key,
+          java.lang.String defaultValue) {
+        if (key == null) { throw new NullPointerException("map key"); }
         java.util.Map map =
             internalGetAdditionalOptions().getMap();
         return map.containsKey(key) ? map.get(key) : defaultValue;
       }
       /**
-       *
-       *
        * 
        * Additional options that will be provided as key/value pairs into the
        * options clause of a create table/view statement. See
@@ -6876,10 +5902,10 @@ public java.lang.String getAdditionalOptionsOrDefault(
        * map<string, string> additional_options = 14;
        */
       @java.lang.Override
-      public java.lang.String getAdditionalOptionsOrThrow(java.lang.String key) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
+
+      public java.lang.String getAdditionalOptionsOrThrow(
+          java.lang.String key) {
+        if (key == null) { throw new NullPointerException("map key"); }
         java.util.Map map =
             internalGetAdditionalOptions().getMap();
         if (!map.containsKey(key)) {
@@ -6889,12 +5915,11 @@ public java.lang.String getAdditionalOptionsOrThrow(java.lang.String key) {
       }
 
       public Builder clearAdditionalOptions() {
-        internalGetMutableAdditionalOptions().getMutableMap().clear();
+        internalGetMutableAdditionalOptions().getMutableMap()
+            .clear();
         return this;
       }
       /**
-       *
-       *
        * 
        * Additional options that will be provided as key/value pairs into the
        * options clause of a create table/view statement. See
@@ -6904,21 +5929,23 @@ public Builder clearAdditionalOptions() {
        *
        * map<string, string> additional_options = 14;
        */
-      public Builder removeAdditionalOptions(java.lang.String key) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
-        internalGetMutableAdditionalOptions().getMutableMap().remove(key);
+
+      public Builder removeAdditionalOptions(
+          java.lang.String key) {
+        if (key == null) { throw new NullPointerException("map key"); }
+        internalGetMutableAdditionalOptions().getMutableMap()
+            .remove(key);
         return this;
       }
-      /** Use alternate mutation accessors instead. */
+      /**
+       * Use alternate mutation accessors instead.
+       */
       @java.lang.Deprecated
-      public java.util.Map getMutableAdditionalOptions() {
+      public java.util.Map
+      getMutableAdditionalOptions() {
         return internalGetMutableAdditionalOptions().getMutableMap();
       }
       /**
-       *
-       *
        * 
        * Additional options that will be provided as key/value pairs into the
        * options clause of a create table/view statement. See
@@ -6928,20 +5955,19 @@ public java.util.Map getMutableAdditionalOpt
        *
        * map<string, string> additional_options = 14;
        */
-      public Builder putAdditionalOptions(java.lang.String key, java.lang.String value) {
-        if (key == null) {
-          throw new NullPointerException("map key");
-        }
+      public Builder putAdditionalOptions(
+          java.lang.String key,
+          java.lang.String value) {
+        if (key == null) { throw new NullPointerException("map key"); }
         if (value == null) {
-          throw new NullPointerException("map value");
-        }
+  throw new NullPointerException("map value");
+}
 
-        internalGetMutableAdditionalOptions().getMutableMap().put(key, value);
+        internalGetMutableAdditionalOptions().getMutableMap()
+            .put(key, value);
         return this;
       }
       /**
-       *
-       *
        * 
        * Additional options that will be provided as key/value pairs into the
        * options clause of a create table/view statement. See
@@ -6951,12 +5977,13 @@ public Builder putAdditionalOptions(java.lang.String key, java.lang.String value
        *
        * map<string, string> additional_options = 14;
        */
+
       public Builder putAllAdditionalOptions(
           java.util.Map values) {
-        internalGetMutableAdditionalOptions().getMutableMap().putAll(values);
+        internalGetMutableAdditionalOptions().getMutableMap()
+            .putAll(values);
         return this;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -6969,32 +5996,30 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.CompilationResultAction.Relation)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.CompilationResultAction.Relation)
-    private static final com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation
-        DEFAULT_INSTANCE;
-
+    private static final com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation DEFAULT_INSTANCE;
     static {
       DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation();
     }
 
-    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation
-        getDefaultInstance() {
+    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public Relation parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            return new Relation(input, extensionRegistry);
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public Relation parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        return new Relation(input, extensionRegistry);
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -7006,30 +6031,26 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation
-        getDefaultInstanceForType() {
+    public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface OperationsOrBuilder
-      extends
+  public interface OperationsOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.CompilationResultAction.Operations)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * A list of actions that this action depends on.
      * 
* * repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1; */ - java.util.List getDependencyTargetsList(); + java.util.List + getDependencyTargetsList(); /** - * - * *
      * A list of actions that this action depends on.
      * 
@@ -7038,8 +6059,6 @@ public interface OperationsOrBuilder */ com.google.cloud.dataform.v1alpha2.Target getDependencyTargets(int index); /** - * - * *
      * A list of actions that this action depends on.
      * 
@@ -7048,120 +6067,96 @@ public interface OperationsOrBuilder */ int getDependencyTargetsCount(); /** - * - * *
      * A list of actions that this action depends on.
      * 
* * repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1; */ - java.util.List + java.util.List getDependencyTargetsOrBuilderList(); /** - * - * *
      * A list of actions that this action depends on.
      * 
* * repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1; */ - com.google.cloud.dataform.v1alpha2.TargetOrBuilder getDependencyTargetsOrBuilder(int index); + com.google.cloud.dataform.v1alpha2.TargetOrBuilder getDependencyTargetsOrBuilder( + int index); /** - * - * *
      * Whether this action is disabled (i.e. should not be run).
      * 
* * bool disabled = 2; - * * @return The disabled. */ boolean getDisabled(); /** - * - * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; - * * @return A list containing the tags. */ - java.util.List getTagsList(); + java.util.List + getTagsList(); /** - * - * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; - * * @return The count of tags. */ int getTagsCount(); /** - * - * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; - * * @param index The index of the element to return. * @return The tags at the given index. */ java.lang.String getTags(int index); /** - * - * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; - * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - com.google.protobuf.ByteString getTagsBytes(int index); + com.google.protobuf.ByteString + getTagsBytes(int index); /** - * - * *
      * Descriptor for any output relation and its columns. Only set if
      * `has_output` is true.
      * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 6; - * * @return Whether the relationDescriptor field is set. */ boolean hasRelationDescriptor(); /** - * - * *
      * Descriptor for any output relation and its columns. Only set if
      * `has_output` is true.
      * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 6; - * * @return The relationDescriptor. */ com.google.cloud.dataform.v1alpha2.RelationDescriptor getRelationDescriptor(); /** - * - * *
      * Descriptor for any output relation and its columns. Only set if
      * `has_output` is true.
@@ -7172,92 +6167,76 @@ public interface OperationsOrBuilder
     com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder getRelationDescriptorOrBuilder();
 
     /**
-     *
-     *
      * 
      * A list of arbitrary SQL statements that will be executed without
      * alteration.
      * 
* * repeated string queries = 4; - * * @return A list containing the queries. */ - java.util.List getQueriesList(); + java.util.List + getQueriesList(); /** - * - * *
      * A list of arbitrary SQL statements that will be executed without
      * alteration.
      * 
* * repeated string queries = 4; - * * @return The count of queries. */ int getQueriesCount(); /** - * - * *
      * A list of arbitrary SQL statements that will be executed without
      * alteration.
      * 
* * repeated string queries = 4; - * * @param index The index of the element to return. * @return The queries at the given index. */ java.lang.String getQueries(int index); /** - * - * *
      * A list of arbitrary SQL statements that will be executed without
      * alteration.
      * 
* * repeated string queries = 4; - * * @param index The index of the value to return. * @return The bytes of the queries at the given index. */ - com.google.protobuf.ByteString getQueriesBytes(int index); + com.google.protobuf.ByteString + getQueriesBytes(int index); /** - * - * *
      * Whether these operations produce an output relation.
      * 
* * bool has_output = 5; - * * @return The hasOutput. */ boolean getHasOutput(); } /** - * - * *
    * Represents a list of arbitrary database operations.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.CompilationResultAction.Operations} */ - public static final class Operations extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Operations extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) OperationsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Operations.newBuilder() to construct. private Operations(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Operations() { dependencyTargets_ = java.util.Collections.emptyList(); tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -7266,15 +6245,16 @@ private Operations() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Operations(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Operations( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -7294,72 +6274,63 @@ private Operations( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - dependencyTargets_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - dependencyTargets_.add( - input.readMessage( - com.google.cloud.dataform.v1alpha2.Target.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + dependencyTargets_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 16: - { - disabled_ = input.readBool(); - break; + dependencyTargets_.add( + input.readMessage(com.google.cloud.dataform.v1alpha2.Target.parser(), extensionRegistry)); + break; + } + case 16: { + + disabled_ = input.readBool(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + tags_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - tags_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - tags_.add(s); - break; + tags_.add(s); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + queries_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000004; } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - queries_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000004; - } - queries_.add(s); - break; + queries_.add(s); + break; + } + case 40: { + + hasOutput_ = input.readBool(); + break; + } + case 50: { + com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder subBuilder = null; + if (relationDescriptor_ != null) { + subBuilder = relationDescriptor_.toBuilder(); } - case 40: - { - hasOutput_ = input.readBool(); - break; + relationDescriptor_ = input.readMessage(com.google.cloud.dataform.v1alpha2.RelationDescriptor.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(relationDescriptor_); + relationDescriptor_ = subBuilder.buildPartial(); } - case 50: - { - com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder subBuilder = null; - if (relationDescriptor_ != null) { - subBuilder = relationDescriptor_.toBuilder(); - } - relationDescriptor_ = - input.readMessage( - com.google.cloud.dataform.v1alpha2.RelationDescriptor.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(relationDescriptor_); - relationDescriptor_ = subBuilder.buildPartial(); - } - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -7367,7 +6338,8 @@ private Operations( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { dependencyTargets_ = java.util.Collections.unmodifiableList(dependencyTargets_); @@ -7382,27 +6354,22 @@ private Operations( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Operations_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Operations_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Operations_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Operations_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.class, - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.Builder.class); + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.class, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.Builder.class); } public static final int DEPENDENCY_TARGETS_FIELD_NUMBER = 1; private java.util.List dependencyTargets_; /** - * - * *
      * A list of actions that this action depends on.
      * 
@@ -7414,8 +6381,6 @@ public java.util.List getDependencyTa return dependencyTargets_; } /** - * - * *
      * A list of actions that this action depends on.
      * 
@@ -7423,13 +6388,11 @@ public java.util.List getDependencyTa * repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDependencyTargetsOrBuilderList() { return dependencyTargets_; } /** - * - * *
      * A list of actions that this action depends on.
      * 
@@ -7441,8 +6404,6 @@ public int getDependencyTargetsCount() { return dependencyTargets_.size(); } /** - * - * *
      * A list of actions that this action depends on.
      * 
@@ -7454,8 +6415,6 @@ public com.google.cloud.dataform.v1alpha2.Target getDependencyTargets(int index) return dependencyTargets_.get(index); } /** - * - * *
      * A list of actions that this action depends on.
      * 
@@ -7471,14 +6430,11 @@ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getDependencyTargetsOr public static final int DISABLED_FIELD_NUMBER = 2; private boolean disabled_; /** - * - * *
      * Whether this action is disabled (i.e. should not be run).
      * 
* * bool disabled = 2; - * * @return The disabled. */ @java.lang.Override @@ -7489,42 +6445,34 @@ public boolean getDisabled() { public static final int TAGS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList tags_; /** - * - * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; - * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList getTagsList() { + public com.google.protobuf.ProtocolStringList + getTagsList() { return tags_; } /** - * - * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; - * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** - * - * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; - * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -7532,33 +6480,28 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** - * - * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; - * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString getTagsBytes(int index) { + public com.google.protobuf.ByteString + getTagsBytes(int index) { return tags_.getByteString(index); } public static final int RELATION_DESCRIPTOR_FIELD_NUMBER = 6; private com.google.cloud.dataform.v1alpha2.RelationDescriptor relationDescriptor_; /** - * - * *
      * Descriptor for any output relation and its columns. Only set if
      * `has_output` is true.
      * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 6; - * * @return Whether the relationDescriptor field is set. */ @java.lang.Override @@ -7566,26 +6509,19 @@ public boolean hasRelationDescriptor() { return relationDescriptor_ != null; } /** - * - * *
      * Descriptor for any output relation and its columns. Only set if
      * `has_output` is true.
      * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 6; - * * @return The relationDescriptor. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.RelationDescriptor getRelationDescriptor() { - return relationDescriptor_ == null - ? com.google.cloud.dataform.v1alpha2.RelationDescriptor.getDefaultInstance() - : relationDescriptor_; + return relationDescriptor_ == null ? com.google.cloud.dataform.v1alpha2.RelationDescriptor.getDefaultInstance() : relationDescriptor_; } /** - * - * *
      * Descriptor for any output relation and its columns. Only set if
      * `has_output` is true.
@@ -7594,53 +6530,44 @@ public com.google.cloud.dataform.v1alpha2.RelationDescriptor getRelationDescript
      * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 6;
      */
     @java.lang.Override
-    public com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder
-        getRelationDescriptorOrBuilder() {
+    public com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder getRelationDescriptorOrBuilder() {
       return getRelationDescriptor();
     }
 
     public static final int QUERIES_FIELD_NUMBER = 4;
     private com.google.protobuf.LazyStringList queries_;
     /**
-     *
-     *
      * 
      * A list of arbitrary SQL statements that will be executed without
      * alteration.
      * 
* * repeated string queries = 4; - * * @return A list containing the queries. */ - public com.google.protobuf.ProtocolStringList getQueriesList() { + public com.google.protobuf.ProtocolStringList + getQueriesList() { return queries_; } /** - * - * *
      * A list of arbitrary SQL statements that will be executed without
      * alteration.
      * 
* * repeated string queries = 4; - * * @return The count of queries. */ public int getQueriesCount() { return queries_.size(); } /** - * - * *
      * A list of arbitrary SQL statements that will be executed without
      * alteration.
      * 
* * repeated string queries = 4; - * * @param index The index of the element to return. * @return The queries at the given index. */ @@ -7648,33 +6575,28 @@ public java.lang.String getQueries(int index) { return queries_.get(index); } /** - * - * *
      * A list of arbitrary SQL statements that will be executed without
      * alteration.
      * 
* * repeated string queries = 4; - * * @param index The index of the value to return. * @return The bytes of the queries at the given index. */ - public com.google.protobuf.ByteString getQueriesBytes(int index) { + public com.google.protobuf.ByteString + getQueriesBytes(int index) { return queries_.getByteString(index); } public static final int HAS_OUTPUT_FIELD_NUMBER = 5; private boolean hasOutput_; /** - * - * *
      * Whether these operations produce an output relation.
      * 
* * bool has_output = 5; - * * @return The hasOutput. */ @java.lang.Override @@ -7683,7 +6605,6 @@ public boolean getHasOutput() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7695,7 +6616,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < dependencyTargets_.size(); i++) { output.writeMessage(1, dependencyTargets_.get(i)); } @@ -7724,11 +6646,12 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < dependencyTargets_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, dependencyTargets_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, dependencyTargets_.get(i)); } if (disabled_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, disabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, disabled_); } { int dataSize = 0; @@ -7747,11 +6670,12 @@ public int getSerializedSize() { size += 1 * getQueriesList().size(); } if (hasOutput_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, hasOutput_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, hasOutput_); } if (relationDescriptor_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(6, getRelationDescriptor()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getRelationDescriptor()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -7761,23 +6685,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations other = - (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) obj; + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations other = (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) obj; - if (!getDependencyTargetsList().equals(other.getDependencyTargetsList())) return false; - if (getDisabled() != other.getDisabled()) return false; - if (!getTagsList().equals(other.getTagsList())) return false; + if (!getDependencyTargetsList() + .equals(other.getDependencyTargetsList())) return false; + if (getDisabled() + != other.getDisabled()) return false; + if (!getTagsList() + .equals(other.getTagsList())) return false; if (hasRelationDescriptor() != other.hasRelationDescriptor()) return false; if (hasRelationDescriptor()) { - if (!getRelationDescriptor().equals(other.getRelationDescriptor())) return false; + if (!getRelationDescriptor() + .equals(other.getRelationDescriptor())) return false; } - if (!getQueriesList().equals(other.getQueriesList())) return false; - if (getHasOutput() != other.getHasOutput()) return false; + if (!getQueriesList() + .equals(other.getQueriesList())) return false; + if (getHasOutput() + != other.getHasOutput()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -7794,7 +6723,8 @@ public int hashCode() { hash = (53 * hash) + getDependencyTargetsList().hashCode(); } hash = (37 * hash) + DISABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDisabled()); if (getTagsCount() > 0) { hash = (37 * hash) + TAGS_FIELD_NUMBER; hash = (53 * hash) + getTagsList().hashCode(); @@ -7808,102 +6738,95 @@ public int hashCode() { hash = (53 * hash) + getQueriesList().hashCode(); } hash = (37 * hash) + HAS_OUTPUT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getHasOutput()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getHasOutput()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -7913,52 +6836,45 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Represents a list of arbitrary database operations.
      * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.CompilationResultAction.Operations} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) com.google.cloud.dataform.v1alpha2.CompilationResultAction.OperationsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Operations_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Operations_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Operations_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Operations_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.class, - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.Builder - .class); + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.class, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.Builder.class); } - // Construct using - // com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.newBuilder() + // Construct using com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getDependencyTargetsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -7986,22 +6902,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Operations_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Operations_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations - getDefaultInstanceForType() { - return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations - .getDefaultInstance(); + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations getDefaultInstanceForType() { + return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations build() { - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations result = - buildPartial(); + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -8010,8 +6923,7 @@ public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations bui @java.lang.Override public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations buildPartial() { - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations result = - new com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations(this); + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations result = new com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations(this); int from_bitField0_ = bitField0_; if (dependencyTargetsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -8047,54 +6959,46 @@ public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations bui public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) { - return mergeFrom( - (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) other); + if (other instanceof com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) { + return mergeFrom((com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations other) { - if (other - == com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations other) { + if (other == com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.getDefaultInstance()) return this; if (dependencyTargetsBuilder_ == null) { if (!other.dependencyTargets_.isEmpty()) { if (dependencyTargets_.isEmpty()) { @@ -8113,10 +7017,9 @@ public Builder mergeFrom( dependencyTargetsBuilder_ = null; dependencyTargets_ = other.dependencyTargets_; bitField0_ = (bitField0_ & ~0x00000001); - dependencyTargetsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDependencyTargetsFieldBuilder() - : null; + dependencyTargetsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDependencyTargetsFieldBuilder() : null; } else { dependencyTargetsBuilder_.addAllMessages(other.dependencyTargets_); } @@ -8170,9 +7073,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -8181,30 +7082,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List dependencyTargets_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureDependencyTargetsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - dependencyTargets_ = - new java.util.ArrayList( - dependencyTargets_); + dependencyTargets_ = new java.util.ArrayList(dependencyTargets_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Target, - com.google.cloud.dataform.v1alpha2.Target.Builder, - com.google.cloud.dataform.v1alpha2.TargetOrBuilder> - dependencyTargetsBuilder_; + com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder> dependencyTargetsBuilder_; /** - * - * *
        * A list of actions that this action depends on.
        * 
@@ -8219,8 +7111,6 @@ public java.util.List getDependencyTa } } /** - * - * *
        * A list of actions that this action depends on.
        * 
@@ -8235,8 +7125,6 @@ public int getDependencyTargetsCount() { } } /** - * - * *
        * A list of actions that this action depends on.
        * 
@@ -8251,8 +7139,6 @@ public com.google.cloud.dataform.v1alpha2.Target getDependencyTargets(int index) } } /** - * - * *
        * A list of actions that this action depends on.
        * 
@@ -8274,8 +7160,6 @@ public Builder setDependencyTargets( return this; } /** - * - * *
        * A list of actions that this action depends on.
        * 
@@ -8294,8 +7178,6 @@ public Builder setDependencyTargets( return this; } /** - * - * *
        * A list of actions that this action depends on.
        * 
@@ -8316,8 +7198,6 @@ public Builder addDependencyTargets(com.google.cloud.dataform.v1alpha2.Target va return this; } /** - * - * *
        * A list of actions that this action depends on.
        * 
@@ -8339,8 +7219,6 @@ public Builder addDependencyTargets( return this; } /** - * - * *
        * A list of actions that this action depends on.
        * 
@@ -8359,8 +7237,6 @@ public Builder addDependencyTargets( return this; } /** - * - * *
        * A list of actions that this action depends on.
        * 
@@ -8379,8 +7255,6 @@ public Builder addDependencyTargets( return this; } /** - * - * *
        * A list of actions that this action depends on.
        * 
@@ -8391,7 +7265,8 @@ public Builder addAllDependencyTargets( java.lang.Iterable values) { if (dependencyTargetsBuilder_ == null) { ensureDependencyTargetsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dependencyTargets_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, dependencyTargets_); onChanged(); } else { dependencyTargetsBuilder_.addAllMessages(values); @@ -8399,8 +7274,6 @@ public Builder addAllDependencyTargets( return this; } /** - * - * *
        * A list of actions that this action depends on.
        * 
@@ -8418,8 +7291,6 @@ public Builder clearDependencyTargets() { return this; } /** - * - * *
        * A list of actions that this action depends on.
        * 
@@ -8437,8 +7308,6 @@ public Builder removeDependencyTargets(int index) { return this; } /** - * - * *
        * A list of actions that this action depends on.
        * 
@@ -8450,8 +7319,6 @@ public com.google.cloud.dataform.v1alpha2.Target.Builder getDependencyTargetsBui return getDependencyTargetsFieldBuilder().getBuilder(index); } /** - * - * *
        * A list of actions that this action depends on.
        * 
@@ -8461,22 +7328,19 @@ public com.google.cloud.dataform.v1alpha2.Target.Builder getDependencyTargetsBui public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getDependencyTargetsOrBuilder( int index) { if (dependencyTargetsBuilder_ == null) { - return dependencyTargets_.get(index); - } else { + return dependencyTargets_.get(index); } else { return dependencyTargetsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * A list of actions that this action depends on.
        * 
* * repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1; */ - public java.util.List - getDependencyTargetsOrBuilderList() { + public java.util.List + getDependencyTargetsOrBuilderList() { if (dependencyTargetsBuilder_ != null) { return dependencyTargetsBuilder_.getMessageOrBuilderList(); } else { @@ -8484,8 +7348,6 @@ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getDependencyTargetsOr } } /** - * - * *
        * A list of actions that this action depends on.
        * 
@@ -8493,12 +7355,10 @@ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getDependencyTargetsOr * repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1; */ public com.google.cloud.dataform.v1alpha2.Target.Builder addDependencyTargetsBuilder() { - return getDependencyTargetsFieldBuilder() - .addBuilder(com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance()); + return getDependencyTargetsFieldBuilder().addBuilder( + com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance()); } /** - * - * *
        * A list of actions that this action depends on.
        * 
@@ -8507,34 +7367,26 @@ public com.google.cloud.dataform.v1alpha2.Target.Builder addDependencyTargetsBui */ public com.google.cloud.dataform.v1alpha2.Target.Builder addDependencyTargetsBuilder( int index) { - return getDependencyTargetsFieldBuilder() - .addBuilder(index, com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance()); + return getDependencyTargetsFieldBuilder().addBuilder( + index, com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance()); } /** - * - * *
        * A list of actions that this action depends on.
        * 
* * repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1; */ - public java.util.List - getDependencyTargetsBuilderList() { + public java.util.List + getDependencyTargetsBuilderList() { return getDependencyTargetsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Target, - com.google.cloud.dataform.v1alpha2.Target.Builder, - com.google.cloud.dataform.v1alpha2.TargetOrBuilder> + com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder> getDependencyTargetsFieldBuilder() { if (dependencyTargetsBuilder_ == null) { - dependencyTargetsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Target, - com.google.cloud.dataform.v1alpha2.Target.Builder, - com.google.cloud.dataform.v1alpha2.TargetOrBuilder>( + dependencyTargetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder>( dependencyTargets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -8544,16 +7396,13 @@ public com.google.cloud.dataform.v1alpha2.Target.Builder addDependencyTargetsBui return dependencyTargetsBuilder_; } - private boolean disabled_; + private boolean disabled_ ; /** - * - * *
        * Whether this action is disabled (i.e. should not be run).
        * 
* * bool disabled = 2; - * * @return The disabled. */ @java.lang.Override @@ -8561,87 +7410,71 @@ public boolean getDisabled() { return disabled_; } /** - * - * *
        * Whether this action is disabled (i.e. should not be run).
        * 
* * bool disabled = 2; - * * @param value The disabled to set. * @return This builder for chaining. */ public Builder setDisabled(boolean value) { - + disabled_ = value; onChanged(); return this; } /** - * - * *
        * Whether this action is disabled (i.e. should not be run).
        * 
* * bool disabled = 2; - * * @return This builder for chaining. */ public Builder clearDisabled() { - + disabled_ = false; onChanged(); return this; } - private com.google.protobuf.LazyStringList tags_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureTagsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { tags_ = new com.google.protobuf.LazyStringArrayList(tags_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; - * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList getTagsList() { + public com.google.protobuf.ProtocolStringList + getTagsList() { return tags_.getUnmodifiableView(); } /** - * - * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; - * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** - * - * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; - * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -8649,90 +7482,80 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** - * - * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; - * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString getTagsBytes(int index) { + public com.google.protobuf.ByteString + getTagsBytes(int index) { return tags_.getByteString(index); } /** - * - * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; - * * @param index The index to set the value at. * @param value The tags to set. * @return This builder for chaining. */ - public Builder setTags(int index, java.lang.String value) { + public Builder setTags( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.set(index, value); onChanged(); return this; } /** - * - * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; - * * @param value The tags to add. * @return This builder for chaining. */ - public Builder addTags(java.lang.String value) { + public Builder addTags( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } /** - * - * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; - * * @param values The tags to add. * @return This builder for chaining. */ - public Builder addAllTags(java.lang.Iterable values) { + public Builder addAllTags( + java.lang.Iterable values) { ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tags_); onChanged(); return this; } /** - * - * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; - * * @return This builder for chaining. */ public Builder clearTags() { @@ -8742,22 +7565,20 @@ public Builder clearTags() { return this; } /** - * - * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; - * * @param value The bytes of the tags to add. * @return This builder for chaining. */ - public Builder addTagsBytes(com.google.protobuf.ByteString value) { + public Builder addTagsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureTagsIsMutable(); tags_.add(value); onChanged(); @@ -8766,49 +7587,36 @@ public Builder addTagsBytes(com.google.protobuf.ByteString value) { private com.google.cloud.dataform.v1alpha2.RelationDescriptor relationDescriptor_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.RelationDescriptor, - com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder, - com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder> - relationDescriptorBuilder_; + com.google.cloud.dataform.v1alpha2.RelationDescriptor, com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder, com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder> relationDescriptorBuilder_; /** - * - * *
        * Descriptor for any output relation and its columns. Only set if
        * `has_output` is true.
        * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 6; - * * @return Whether the relationDescriptor field is set. */ public boolean hasRelationDescriptor() { return relationDescriptorBuilder_ != null || relationDescriptor_ != null; } /** - * - * *
        * Descriptor for any output relation and its columns. Only set if
        * `has_output` is true.
        * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 6; - * * @return The relationDescriptor. */ public com.google.cloud.dataform.v1alpha2.RelationDescriptor getRelationDescriptor() { if (relationDescriptorBuilder_ == null) { - return relationDescriptor_ == null - ? com.google.cloud.dataform.v1alpha2.RelationDescriptor.getDefaultInstance() - : relationDescriptor_; + return relationDescriptor_ == null ? com.google.cloud.dataform.v1alpha2.RelationDescriptor.getDefaultInstance() : relationDescriptor_; } else { return relationDescriptorBuilder_.getMessage(); } } /** - * - * *
        * Descriptor for any output relation and its columns. Only set if
        * `has_output` is true.
@@ -8816,8 +7624,7 @@ public com.google.cloud.dataform.v1alpha2.RelationDescriptor getRelationDescript
        *
        * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 6;
        */
-      public Builder setRelationDescriptor(
-          com.google.cloud.dataform.v1alpha2.RelationDescriptor value) {
+      public Builder setRelationDescriptor(com.google.cloud.dataform.v1alpha2.RelationDescriptor value) {
         if (relationDescriptorBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -8831,8 +7638,6 @@ public Builder setRelationDescriptor(
         return this;
       }
       /**
-       *
-       *
        * 
        * Descriptor for any output relation and its columns. Only set if
        * `has_output` is true.
@@ -8852,8 +7657,6 @@ public Builder setRelationDescriptor(
         return this;
       }
       /**
-       *
-       *
        * 
        * Descriptor for any output relation and its columns. Only set if
        * `has_output` is true.
@@ -8861,15 +7664,11 @@ public Builder setRelationDescriptor(
        *
        * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 6;
        */
-      public Builder mergeRelationDescriptor(
-          com.google.cloud.dataform.v1alpha2.RelationDescriptor value) {
+      public Builder mergeRelationDescriptor(com.google.cloud.dataform.v1alpha2.RelationDescriptor value) {
         if (relationDescriptorBuilder_ == null) {
           if (relationDescriptor_ != null) {
             relationDescriptor_ =
-                com.google.cloud.dataform.v1alpha2.RelationDescriptor.newBuilder(
-                        relationDescriptor_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.cloud.dataform.v1alpha2.RelationDescriptor.newBuilder(relationDescriptor_).mergeFrom(value).buildPartial();
           } else {
             relationDescriptor_ = value;
           }
@@ -8881,8 +7680,6 @@ public Builder mergeRelationDescriptor(
         return this;
       }
       /**
-       *
-       *
        * 
        * Descriptor for any output relation and its columns. Only set if
        * `has_output` is true.
@@ -8902,8 +7699,6 @@ public Builder clearRelationDescriptor() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Descriptor for any output relation and its columns. Only set if
        * `has_output` is true.
@@ -8911,15 +7706,12 @@ public Builder clearRelationDescriptor() {
        *
        * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 6;
        */
-      public com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder
-          getRelationDescriptorBuilder() {
-
+      public com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder getRelationDescriptorBuilder() {
+        
         onChanged();
         return getRelationDescriptorFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Descriptor for any output relation and its columns. Only set if
        * `has_output` is true.
@@ -8927,19 +7719,15 @@ public Builder clearRelationDescriptor() {
        *
        * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 6;
        */
-      public com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder
-          getRelationDescriptorOrBuilder() {
+      public com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder getRelationDescriptorOrBuilder() {
         if (relationDescriptorBuilder_ != null) {
           return relationDescriptorBuilder_.getMessageOrBuilder();
         } else {
-          return relationDescriptor_ == null
-              ? com.google.cloud.dataform.v1alpha2.RelationDescriptor.getDefaultInstance()
-              : relationDescriptor_;
+          return relationDescriptor_ == null ?
+              com.google.cloud.dataform.v1alpha2.RelationDescriptor.getDefaultInstance() : relationDescriptor_;
         }
       }
       /**
-       *
-       *
        * 
        * Descriptor for any output relation and its columns. Only set if
        * `has_output` is true.
@@ -8948,71 +7736,58 @@ public Builder clearRelationDescriptor() {
        * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 6;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.dataform.v1alpha2.RelationDescriptor,
-              com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder,
-              com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder>
+          com.google.cloud.dataform.v1alpha2.RelationDescriptor, com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder, com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder> 
           getRelationDescriptorFieldBuilder() {
         if (relationDescriptorBuilder_ == null) {
-          relationDescriptorBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.cloud.dataform.v1alpha2.RelationDescriptor,
-                  com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder,
-                  com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder>(
-                  getRelationDescriptor(), getParentForChildren(), isClean());
+          relationDescriptorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.cloud.dataform.v1alpha2.RelationDescriptor, com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder, com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder>(
+                  getRelationDescriptor(),
+                  getParentForChildren(),
+                  isClean());
           relationDescriptor_ = null;
         }
         return relationDescriptorBuilder_;
       }
 
-      private com.google.protobuf.LazyStringList queries_ =
-          com.google.protobuf.LazyStringArrayList.EMPTY;
-
+      private com.google.protobuf.LazyStringList queries_ = com.google.protobuf.LazyStringArrayList.EMPTY;
       private void ensureQueriesIsMutable() {
         if (!((bitField0_ & 0x00000004) != 0)) {
           queries_ = new com.google.protobuf.LazyStringArrayList(queries_);
           bitField0_ |= 0x00000004;
-        }
+         }
       }
       /**
-       *
-       *
        * 
        * A list of arbitrary SQL statements that will be executed without
        * alteration.
        * 
* * repeated string queries = 4; - * * @return A list containing the queries. */ - public com.google.protobuf.ProtocolStringList getQueriesList() { + public com.google.protobuf.ProtocolStringList + getQueriesList() { return queries_.getUnmodifiableView(); } /** - * - * *
        * A list of arbitrary SQL statements that will be executed without
        * alteration.
        * 
* * repeated string queries = 4; - * * @return The count of queries. */ public int getQueriesCount() { return queries_.size(); } /** - * - * *
        * A list of arbitrary SQL statements that will be executed without
        * alteration.
        * 
* * repeated string queries = 4; - * * @param index The index of the element to return. * @return The queries at the given index. */ @@ -9020,95 +7795,85 @@ public java.lang.String getQueries(int index) { return queries_.get(index); } /** - * - * *
        * A list of arbitrary SQL statements that will be executed without
        * alteration.
        * 
* * repeated string queries = 4; - * * @param index The index of the value to return. * @return The bytes of the queries at the given index. */ - public com.google.protobuf.ByteString getQueriesBytes(int index) { + public com.google.protobuf.ByteString + getQueriesBytes(int index) { return queries_.getByteString(index); } /** - * - * *
        * A list of arbitrary SQL statements that will be executed without
        * alteration.
        * 
* * repeated string queries = 4; - * * @param index The index to set the value at. * @param value The queries to set. * @return This builder for chaining. */ - public Builder setQueries(int index, java.lang.String value) { + public Builder setQueries( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureQueriesIsMutable(); + throw new NullPointerException(); + } + ensureQueriesIsMutable(); queries_.set(index, value); onChanged(); return this; } /** - * - * *
        * A list of arbitrary SQL statements that will be executed without
        * alteration.
        * 
* * repeated string queries = 4; - * * @param value The queries to add. * @return This builder for chaining. */ - public Builder addQueries(java.lang.String value) { + public Builder addQueries( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureQueriesIsMutable(); + throw new NullPointerException(); + } + ensureQueriesIsMutable(); queries_.add(value); onChanged(); return this; } /** - * - * *
        * A list of arbitrary SQL statements that will be executed without
        * alteration.
        * 
* * repeated string queries = 4; - * * @param values The queries to add. * @return This builder for chaining. */ - public Builder addAllQueries(java.lang.Iterable values) { + public Builder addAllQueries( + java.lang.Iterable values) { ensureQueriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, queries_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, queries_); onChanged(); return this; } /** - * - * *
        * A list of arbitrary SQL statements that will be executed without
        * alteration.
        * 
* * repeated string queries = 4; - * * @return This builder for chaining. */ public Builder clearQueries() { @@ -9118,39 +7883,34 @@ public Builder clearQueries() { return this; } /** - * - * *
        * A list of arbitrary SQL statements that will be executed without
        * alteration.
        * 
* * repeated string queries = 4; - * * @param value The bytes of the queries to add. * @return This builder for chaining. */ - public Builder addQueriesBytes(com.google.protobuf.ByteString value) { + public Builder addQueriesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureQueriesIsMutable(); queries_.add(value); onChanged(); return this; } - private boolean hasOutput_; + private boolean hasOutput_ ; /** - * - * *
        * Whether these operations produce an output relation.
        * 
* * bool has_output = 5; - * * @return The hasOutput. */ @java.lang.Override @@ -9158,41 +7918,34 @@ public boolean getHasOutput() { return hasOutput_; } /** - * - * *
        * Whether these operations produce an output relation.
        * 
* * bool has_output = 5; - * * @param value The hasOutput to set. * @return This builder for chaining. */ public Builder setHasOutput(boolean value) { - + hasOutput_ = value; onChanged(); return this; } /** - * - * *
        * Whether these operations produce an output relation.
        * 
* * bool has_output = 5; - * * @return This builder for chaining. */ public Builder clearHasOutput() { - + hasOutput_ = false; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -9205,33 +7958,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) - private static final com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations(); + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations(); } - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations - getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Operations parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Operations(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Operations parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Operations(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9243,30 +7993,26 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations - getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface AssertionOrBuilder - extends + public interface AssertionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * A list of actions that this action depends on.
      * 
* * repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1; */ - java.util.List getDependencyTargetsList(); + java.util.List + getDependencyTargetsList(); /** - * - * *
      * A list of actions that this action depends on.
      * 
@@ -9275,8 +8021,6 @@ public interface AssertionOrBuilder */ com.google.cloud.dataform.v1alpha2.Target getDependencyTargets(int index); /** - * - * *
      * A list of actions that this action depends on.
      * 
@@ -9285,56 +8029,45 @@ public interface AssertionOrBuilder */ int getDependencyTargetsCount(); /** - * - * *
      * A list of actions that this action depends on.
      * 
* * repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1; */ - java.util.List + java.util.List getDependencyTargetsOrBuilderList(); /** - * - * *
      * A list of actions that this action depends on.
      * 
* * repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1; */ - com.google.cloud.dataform.v1alpha2.TargetOrBuilder getDependencyTargetsOrBuilder(int index); + com.google.cloud.dataform.v1alpha2.TargetOrBuilder getDependencyTargetsOrBuilder( + int index); /** - * - * *
      * The parent action of this assertion. Only set if this assertion was
      * automatically generated.
      * 
* * .google.cloud.dataform.v1alpha2.Target parent_action = 5; - * * @return Whether the parentAction field is set. */ boolean hasParentAction(); /** - * - * *
      * The parent action of this assertion. Only set if this assertion was
      * automatically generated.
      * 
* * .google.cloud.dataform.v1alpha2.Target parent_action = 5; - * * @return The parentAction. */ com.google.cloud.dataform.v1alpha2.Target getParentAction(); /** - * - * *
      * The parent action of this assertion. Only set if this assertion was
      * automatically generated.
@@ -9345,125 +8078,99 @@ public interface AssertionOrBuilder
     com.google.cloud.dataform.v1alpha2.TargetOrBuilder getParentActionOrBuilder();
 
     /**
-     *
-     *
      * 
      * Whether this action is disabled (i.e. should not be run).
      * 
* * bool disabled = 2; - * * @return The disabled. */ boolean getDisabled(); /** - * - * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; - * * @return A list containing the tags. */ - java.util.List getTagsList(); + java.util.List + getTagsList(); /** - * - * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; - * * @return The count of tags. */ int getTagsCount(); /** - * - * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; - * * @param index The index of the element to return. * @return The tags at the given index. */ java.lang.String getTags(int index); /** - * - * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; - * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - com.google.protobuf.ByteString getTagsBytes(int index); + com.google.protobuf.ByteString + getTagsBytes(int index); /** - * - * *
      * The SELECT query which must return zero rows in order for this assertion
      * to succeed.
      * 
* * string select_query = 4; - * * @return The selectQuery. */ java.lang.String getSelectQuery(); /** - * - * *
      * The SELECT query which must return zero rows in order for this assertion
      * to succeed.
      * 
* * string select_query = 4; - * * @return The bytes for selectQuery. */ - com.google.protobuf.ByteString getSelectQueryBytes(); + com.google.protobuf.ByteString + getSelectQueryBytes(); /** - * - * *
      * Descriptor for the assertion's automatically-generated view and its
      * columns.
      * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 6; - * * @return Whether the relationDescriptor field is set. */ boolean hasRelationDescriptor(); /** - * - * *
      * Descriptor for the assertion's automatically-generated view and its
      * columns.
      * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 6; - * * @return The relationDescriptor. */ com.google.cloud.dataform.v1alpha2.RelationDescriptor getRelationDescriptor(); /** - * - * *
      * Descriptor for the assertion's automatically-generated view and its
      * columns.
@@ -9474,8 +8181,6 @@ public interface AssertionOrBuilder
     com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder getRelationDescriptorOrBuilder();
   }
   /**
-   *
-   *
    * 
    * Represents an assertion upon a SQL query which is required return zero
    * rows.
@@ -9483,16 +8188,15 @@ public interface AssertionOrBuilder
    *
    * Protobuf type {@code google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion}
    */
-  public static final class Assertion extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class Assertion extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion)
       AssertionOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use Assertion.newBuilder() to construct.
     private Assertion(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private Assertion() {
       dependencyTargets_ = java.util.Collections.emptyList();
       tags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -9501,15 +8205,16 @@ private Assertion() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new Assertion();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private Assertion(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -9529,80 +8234,68 @@ private Assertion(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  dependencyTargets_ =
-                      new java.util.ArrayList();
-                  mutable_bitField0_ |= 0x00000001;
-                }
-                dependencyTargets_.add(
-                    input.readMessage(
-                        com.google.cloud.dataform.v1alpha2.Target.parser(), extensionRegistry));
-                break;
-              }
-            case 16:
-              {
-                disabled_ = input.readBool();
-                break;
-              }
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                  tags_ = new com.google.protobuf.LazyStringArrayList();
-                  mutable_bitField0_ |= 0x00000002;
-                }
-                tags_.add(s);
-                break;
+            case 10: {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                dependencyTargets_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
               }
-            case 34:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              dependencyTargets_.add(
+                  input.readMessage(com.google.cloud.dataform.v1alpha2.Target.parser(), extensionRegistry));
+              break;
+            }
+            case 16: {
 
-                selectQuery_ = s;
-                break;
+              disabled_ = input.readBool();
+              break;
+            }
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                tags_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000002;
               }
-            case 42:
-              {
-                com.google.cloud.dataform.v1alpha2.Target.Builder subBuilder = null;
-                if (parentAction_ != null) {
-                  subBuilder = parentAction_.toBuilder();
-                }
-                parentAction_ =
-                    input.readMessage(
-                        com.google.cloud.dataform.v1alpha2.Target.parser(), extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(parentAction_);
-                  parentAction_ = subBuilder.buildPartial();
-                }
+              tags_.add(s);
+              break;
+            }
+            case 34: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                break;
+              selectQuery_ = s;
+              break;
+            }
+            case 42: {
+              com.google.cloud.dataform.v1alpha2.Target.Builder subBuilder = null;
+              if (parentAction_ != null) {
+                subBuilder = parentAction_.toBuilder();
+              }
+              parentAction_ = input.readMessage(com.google.cloud.dataform.v1alpha2.Target.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(parentAction_);
+                parentAction_ = subBuilder.buildPartial();
               }
-            case 50:
-              {
-                com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder subBuilder = null;
-                if (relationDescriptor_ != null) {
-                  subBuilder = relationDescriptor_.toBuilder();
-                }
-                relationDescriptor_ =
-                    input.readMessage(
-                        com.google.cloud.dataform.v1alpha2.RelationDescriptor.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(relationDescriptor_);
-                  relationDescriptor_ = subBuilder.buildPartial();
-                }
 
-                break;
+              break;
+            }
+            case 50: {
+              com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder subBuilder = null;
+              if (relationDescriptor_ != null) {
+                subBuilder = relationDescriptor_.toBuilder();
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              relationDescriptor_ = input.readMessage(com.google.cloud.dataform.v1alpha2.RelationDescriptor.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(relationDescriptor_);
+                relationDescriptor_ = subBuilder.buildPartial();
+              }
+
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -9610,7 +8303,8 @@ private Assertion(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           dependencyTargets_ = java.util.Collections.unmodifiableList(dependencyTargets_);
@@ -9622,27 +8316,22 @@ private Assertion(
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.dataform.v1alpha2.DataformProto
-          .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Assertion_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Assertion_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataform.v1alpha2.DataformProto
-          .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Assertion_fieldAccessorTable
+      return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Assertion_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.class,
-              com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.Builder.class);
+              com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.class, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.Builder.class);
     }
 
     public static final int DEPENDENCY_TARGETS_FIELD_NUMBER = 1;
     private java.util.List dependencyTargets_;
     /**
-     *
-     *
      * 
      * A list of actions that this action depends on.
      * 
@@ -9654,8 +8343,6 @@ public java.util.List getDependencyTa return dependencyTargets_; } /** - * - * *
      * A list of actions that this action depends on.
      * 
@@ -9663,13 +8350,11 @@ public java.util.List getDependencyTa * repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDependencyTargetsOrBuilderList() { return dependencyTargets_; } /** - * - * *
      * A list of actions that this action depends on.
      * 
@@ -9681,8 +8366,6 @@ public int getDependencyTargetsCount() { return dependencyTargets_.size(); } /** - * - * *
      * A list of actions that this action depends on.
      * 
@@ -9694,8 +8377,6 @@ public com.google.cloud.dataform.v1alpha2.Target getDependencyTargets(int index) return dependencyTargets_.get(index); } /** - * - * *
      * A list of actions that this action depends on.
      * 
@@ -9711,15 +8392,12 @@ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getDependencyTargetsOr public static final int PARENT_ACTION_FIELD_NUMBER = 5; private com.google.cloud.dataform.v1alpha2.Target parentAction_; /** - * - * *
      * The parent action of this assertion. Only set if this assertion was
      * automatically generated.
      * 
* * .google.cloud.dataform.v1alpha2.Target parent_action = 5; - * * @return Whether the parentAction field is set. */ @java.lang.Override @@ -9727,26 +8405,19 @@ public boolean hasParentAction() { return parentAction_ != null; } /** - * - * *
      * The parent action of this assertion. Only set if this assertion was
      * automatically generated.
      * 
* * .google.cloud.dataform.v1alpha2.Target parent_action = 5; - * * @return The parentAction. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.Target getParentAction() { - return parentAction_ == null - ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() - : parentAction_; + return parentAction_ == null ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() : parentAction_; } /** - * - * *
      * The parent action of this assertion. Only set if this assertion was
      * automatically generated.
@@ -9762,14 +8433,11 @@ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getParentActionOrBuild
     public static final int DISABLED_FIELD_NUMBER = 2;
     private boolean disabled_;
     /**
-     *
-     *
      * 
      * Whether this action is disabled (i.e. should not be run).
      * 
* * bool disabled = 2; - * * @return The disabled. */ @java.lang.Override @@ -9780,42 +8448,34 @@ public boolean getDisabled() { public static final int TAGS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList tags_; /** - * - * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; - * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList getTagsList() { + public com.google.protobuf.ProtocolStringList + getTagsList() { return tags_; } /** - * - * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; - * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** - * - * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; - * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -9823,33 +8483,28 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** - * - * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; - * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString getTagsBytes(int index) { + public com.google.protobuf.ByteString + getTagsBytes(int index) { return tags_.getByteString(index); } public static final int SELECT_QUERY_FIELD_NUMBER = 4; private volatile java.lang.Object selectQuery_; /** - * - * *
      * The SELECT query which must return zero rows in order for this assertion
      * to succeed.
      * 
* * string select_query = 4; - * * @return The selectQuery. */ @java.lang.Override @@ -9858,30 +8513,30 @@ public java.lang.String getSelectQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); selectQuery_ = s; return s; } } /** - * - * *
      * The SELECT query which must return zero rows in order for this assertion
      * to succeed.
      * 
* * string select_query = 4; - * * @return The bytes for selectQuery. */ @java.lang.Override - public com.google.protobuf.ByteString getSelectQueryBytes() { + public com.google.protobuf.ByteString + getSelectQueryBytes() { java.lang.Object ref = selectQuery_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); selectQuery_ = b; return b; } else { @@ -9892,15 +8547,12 @@ public com.google.protobuf.ByteString getSelectQueryBytes() { public static final int RELATION_DESCRIPTOR_FIELD_NUMBER = 6; private com.google.cloud.dataform.v1alpha2.RelationDescriptor relationDescriptor_; /** - * - * *
      * Descriptor for the assertion's automatically-generated view and its
      * columns.
      * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 6; - * * @return Whether the relationDescriptor field is set. */ @java.lang.Override @@ -9908,26 +8560,19 @@ public boolean hasRelationDescriptor() { return relationDescriptor_ != null; } /** - * - * *
      * Descriptor for the assertion's automatically-generated view and its
      * columns.
      * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 6; - * * @return The relationDescriptor. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.RelationDescriptor getRelationDescriptor() { - return relationDescriptor_ == null - ? com.google.cloud.dataform.v1alpha2.RelationDescriptor.getDefaultInstance() - : relationDescriptor_; + return relationDescriptor_ == null ? com.google.cloud.dataform.v1alpha2.RelationDescriptor.getDefaultInstance() : relationDescriptor_; } /** - * - * *
      * Descriptor for the assertion's automatically-generated view and its
      * columns.
@@ -9936,13 +8581,11 @@ public com.google.cloud.dataform.v1alpha2.RelationDescriptor getRelationDescript
      * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 6;
      */
     @java.lang.Override
-    public com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder
-        getRelationDescriptorOrBuilder() {
+    public com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder getRelationDescriptorOrBuilder() {
       return getRelationDescriptor();
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -9954,7 +8597,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       for (int i = 0; i < dependencyTargets_.size(); i++) {
         output.writeMessage(1, dependencyTargets_.get(i));
       }
@@ -9983,11 +8627,12 @@ public int getSerializedSize() {
 
       size = 0;
       for (int i = 0; i < dependencyTargets_.size(); i++) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(1, dependencyTargets_.get(i));
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, dependencyTargets_.get(i));
       }
       if (disabled_ != false) {
-        size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, disabled_);
+        size += com.google.protobuf.CodedOutputStream
+          .computeBoolSize(2, disabled_);
       }
       {
         int dataSize = 0;
@@ -10001,11 +8646,12 @@ public int getSerializedSize() {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, selectQuery_);
       }
       if (parentAction_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getParentAction());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(5, getParentAction());
       }
       if (relationDescriptor_ != null) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(6, getRelationDescriptor());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(6, getRelationDescriptor());
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -10015,25 +8661,30 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion)) {
         return super.equals(obj);
       }
-      com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion other =
-          (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion) obj;
+      com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion other = (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion) obj;
 
-      if (!getDependencyTargetsList().equals(other.getDependencyTargetsList())) return false;
+      if (!getDependencyTargetsList()
+          .equals(other.getDependencyTargetsList())) return false;
       if (hasParentAction() != other.hasParentAction()) return false;
       if (hasParentAction()) {
-        if (!getParentAction().equals(other.getParentAction())) return false;
-      }
-      if (getDisabled() != other.getDisabled()) return false;
-      if (!getTagsList().equals(other.getTagsList())) return false;
-      if (!getSelectQuery().equals(other.getSelectQuery())) return false;
+        if (!getParentAction()
+            .equals(other.getParentAction())) return false;
+      }
+      if (getDisabled()
+          != other.getDisabled()) return false;
+      if (!getTagsList()
+          .equals(other.getTagsList())) return false;
+      if (!getSelectQuery()
+          .equals(other.getSelectQuery())) return false;
       if (hasRelationDescriptor() != other.hasRelationDescriptor()) return false;
       if (hasRelationDescriptor()) {
-        if (!getRelationDescriptor().equals(other.getRelationDescriptor())) return false;
+        if (!getRelationDescriptor()
+            .equals(other.getRelationDescriptor())) return false;
       }
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -10055,7 +8706,8 @@ public int hashCode() {
         hash = (53 * hash) + getParentAction().hashCode();
       }
       hash = (37 * hash) + DISABLED_FIELD_NUMBER;
-      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisabled());
+      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+          getDisabled());
       if (getTagsCount() > 0) {
         hash = (37 * hash) + TAGS_FIELD_NUMBER;
         hash = (53 * hash) + getTagsList().hashCode();
@@ -10072,95 +8724,87 @@ public int hashCode() {
     }
 
     public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion parseFrom(
-        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion
-        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
-    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion
-        parseDelimitedFrom(
-            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion parseDelimitedFrom(
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion prototype) {
+    public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -10170,8 +8814,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Represents an assertion upon a SQL query which is required return zero
      * rows.
@@ -10179,43 +8821,39 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion)
         com.google.cloud.dataform.v1alpha2.CompilationResultAction.AssertionOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.dataform.v1alpha2.DataformProto
-            .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Assertion_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Assertion_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.dataform.v1alpha2.DataformProto
-            .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Assertion_fieldAccessorTable
+        return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Assertion_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.class,
-                com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.Builder.class);
+                com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.class, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.Builder.class);
       }
 
-      // Construct using
-      // com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.newBuilder()
+      // Construct using com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
           getDependencyTargetsFieldBuilder();
         }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -10247,22 +8885,19 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.dataform.v1alpha2.DataformProto
-            .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Assertion_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Assertion_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion
-          getDefaultInstanceForType() {
-        return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion
-            .getDefaultInstance();
+      public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion getDefaultInstanceForType() {
+        return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion build() {
-        com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion result =
-            buildPartial();
+        com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -10271,8 +8906,7 @@ public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion buil
 
       @java.lang.Override
       public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion buildPartial() {
-        com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion result =
-            new com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion(this);
+        com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion result = new com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion(this);
         int from_bitField0_ = bitField0_;
         if (dependencyTargetsBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0)) {
@@ -10308,53 +8942,46 @@ public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion buil
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion) {
-          return mergeFrom(
-              (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion) other);
+          return mergeFrom((com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion other) {
-        if (other
-            == com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion other) {
+        if (other == com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.getDefaultInstance()) return this;
         if (dependencyTargetsBuilder_ == null) {
           if (!other.dependencyTargets_.isEmpty()) {
             if (dependencyTargets_.isEmpty()) {
@@ -10373,10 +9000,9 @@ public Builder mergeFrom(
               dependencyTargetsBuilder_ = null;
               dependencyTargets_ = other.dependencyTargets_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              dependencyTargetsBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getDependencyTargetsFieldBuilder()
-                      : null;
+              dependencyTargetsBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getDependencyTargetsFieldBuilder() : null;
             } else {
               dependencyTargetsBuilder_.addAllMessages(other.dependencyTargets_);
             }
@@ -10424,9 +9050,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -10435,30 +9059,21 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int bitField0_;
 
       private java.util.List dependencyTargets_ =
-          java.util.Collections.emptyList();
-
+        java.util.Collections.emptyList();
       private void ensureDependencyTargetsIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
-          dependencyTargets_ =
-              new java.util.ArrayList(
-                  dependencyTargets_);
+          dependencyTargets_ = new java.util.ArrayList(dependencyTargets_);
           bitField0_ |= 0x00000001;
-        }
+         }
       }
 
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.cloud.dataform.v1alpha2.Target,
-              com.google.cloud.dataform.v1alpha2.Target.Builder,
-              com.google.cloud.dataform.v1alpha2.TargetOrBuilder>
-          dependencyTargetsBuilder_;
+          com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder> dependencyTargetsBuilder_;
 
       /**
-       *
-       *
        * 
        * A list of actions that this action depends on.
        * 
@@ -10473,8 +9088,6 @@ public java.util.List getDependencyTa } } /** - * - * *
        * A list of actions that this action depends on.
        * 
@@ -10489,8 +9102,6 @@ public int getDependencyTargetsCount() { } } /** - * - * *
        * A list of actions that this action depends on.
        * 
@@ -10505,8 +9116,6 @@ public com.google.cloud.dataform.v1alpha2.Target getDependencyTargets(int index) } } /** - * - * *
        * A list of actions that this action depends on.
        * 
@@ -10528,8 +9137,6 @@ public Builder setDependencyTargets( return this; } /** - * - * *
        * A list of actions that this action depends on.
        * 
@@ -10548,8 +9155,6 @@ public Builder setDependencyTargets( return this; } /** - * - * *
        * A list of actions that this action depends on.
        * 
@@ -10570,8 +9175,6 @@ public Builder addDependencyTargets(com.google.cloud.dataform.v1alpha2.Target va return this; } /** - * - * *
        * A list of actions that this action depends on.
        * 
@@ -10593,8 +9196,6 @@ public Builder addDependencyTargets( return this; } /** - * - * *
        * A list of actions that this action depends on.
        * 
@@ -10613,8 +9214,6 @@ public Builder addDependencyTargets( return this; } /** - * - * *
        * A list of actions that this action depends on.
        * 
@@ -10633,8 +9232,6 @@ public Builder addDependencyTargets( return this; } /** - * - * *
        * A list of actions that this action depends on.
        * 
@@ -10645,7 +9242,8 @@ public Builder addAllDependencyTargets( java.lang.Iterable values) { if (dependencyTargetsBuilder_ == null) { ensureDependencyTargetsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dependencyTargets_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, dependencyTargets_); onChanged(); } else { dependencyTargetsBuilder_.addAllMessages(values); @@ -10653,8 +9251,6 @@ public Builder addAllDependencyTargets( return this; } /** - * - * *
        * A list of actions that this action depends on.
        * 
@@ -10672,8 +9268,6 @@ public Builder clearDependencyTargets() { return this; } /** - * - * *
        * A list of actions that this action depends on.
        * 
@@ -10691,8 +9285,6 @@ public Builder removeDependencyTargets(int index) { return this; } /** - * - * *
        * A list of actions that this action depends on.
        * 
@@ -10704,8 +9296,6 @@ public com.google.cloud.dataform.v1alpha2.Target.Builder getDependencyTargetsBui return getDependencyTargetsFieldBuilder().getBuilder(index); } /** - * - * *
        * A list of actions that this action depends on.
        * 
@@ -10715,22 +9305,19 @@ public com.google.cloud.dataform.v1alpha2.Target.Builder getDependencyTargetsBui public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getDependencyTargetsOrBuilder( int index) { if (dependencyTargetsBuilder_ == null) { - return dependencyTargets_.get(index); - } else { + return dependencyTargets_.get(index); } else { return dependencyTargetsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * A list of actions that this action depends on.
        * 
* * repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1; */ - public java.util.List - getDependencyTargetsOrBuilderList() { + public java.util.List + getDependencyTargetsOrBuilderList() { if (dependencyTargetsBuilder_ != null) { return dependencyTargetsBuilder_.getMessageOrBuilderList(); } else { @@ -10738,8 +9325,6 @@ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getDependencyTargetsOr } } /** - * - * *
        * A list of actions that this action depends on.
        * 
@@ -10747,12 +9332,10 @@ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getDependencyTargetsOr * repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1; */ public com.google.cloud.dataform.v1alpha2.Target.Builder addDependencyTargetsBuilder() { - return getDependencyTargetsFieldBuilder() - .addBuilder(com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance()); + return getDependencyTargetsFieldBuilder().addBuilder( + com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance()); } /** - * - * *
        * A list of actions that this action depends on.
        * 
@@ -10761,34 +9344,26 @@ public com.google.cloud.dataform.v1alpha2.Target.Builder addDependencyTargetsBui */ public com.google.cloud.dataform.v1alpha2.Target.Builder addDependencyTargetsBuilder( int index) { - return getDependencyTargetsFieldBuilder() - .addBuilder(index, com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance()); + return getDependencyTargetsFieldBuilder().addBuilder( + index, com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance()); } /** - * - * *
        * A list of actions that this action depends on.
        * 
* * repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1; */ - public java.util.List - getDependencyTargetsBuilderList() { + public java.util.List + getDependencyTargetsBuilderList() { return getDependencyTargetsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Target, - com.google.cloud.dataform.v1alpha2.Target.Builder, - com.google.cloud.dataform.v1alpha2.TargetOrBuilder> + com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder> getDependencyTargetsFieldBuilder() { if (dependencyTargetsBuilder_ == null) { - dependencyTargetsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Target, - com.google.cloud.dataform.v1alpha2.Target.Builder, - com.google.cloud.dataform.v1alpha2.TargetOrBuilder>( + dependencyTargetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder>( dependencyTargets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -10800,49 +9375,36 @@ public com.google.cloud.dataform.v1alpha2.Target.Builder addDependencyTargetsBui private com.google.cloud.dataform.v1alpha2.Target parentAction_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Target, - com.google.cloud.dataform.v1alpha2.Target.Builder, - com.google.cloud.dataform.v1alpha2.TargetOrBuilder> - parentActionBuilder_; + com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder> parentActionBuilder_; /** - * - * *
        * The parent action of this assertion. Only set if this assertion was
        * automatically generated.
        * 
* * .google.cloud.dataform.v1alpha2.Target parent_action = 5; - * * @return Whether the parentAction field is set. */ public boolean hasParentAction() { return parentActionBuilder_ != null || parentAction_ != null; } /** - * - * *
        * The parent action of this assertion. Only set if this assertion was
        * automatically generated.
        * 
* * .google.cloud.dataform.v1alpha2.Target parent_action = 5; - * * @return The parentAction. */ public com.google.cloud.dataform.v1alpha2.Target getParentAction() { if (parentActionBuilder_ == null) { - return parentAction_ == null - ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() - : parentAction_; + return parentAction_ == null ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() : parentAction_; } else { return parentActionBuilder_.getMessage(); } } /** - * - * *
        * The parent action of this assertion. Only set if this assertion was
        * automatically generated.
@@ -10864,8 +9426,6 @@ public Builder setParentAction(com.google.cloud.dataform.v1alpha2.Target value)
         return this;
       }
       /**
-       *
-       *
        * 
        * The parent action of this assertion. Only set if this assertion was
        * automatically generated.
@@ -10885,8 +9445,6 @@ public Builder setParentAction(
         return this;
       }
       /**
-       *
-       *
        * 
        * The parent action of this assertion. Only set if this assertion was
        * automatically generated.
@@ -10898,9 +9456,7 @@ public Builder mergeParentAction(com.google.cloud.dataform.v1alpha2.Target value
         if (parentActionBuilder_ == null) {
           if (parentAction_ != null) {
             parentAction_ =
-                com.google.cloud.dataform.v1alpha2.Target.newBuilder(parentAction_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.cloud.dataform.v1alpha2.Target.newBuilder(parentAction_).mergeFrom(value).buildPartial();
           } else {
             parentAction_ = value;
           }
@@ -10912,8 +9468,6 @@ public Builder mergeParentAction(com.google.cloud.dataform.v1alpha2.Target value
         return this;
       }
       /**
-       *
-       *
        * 
        * The parent action of this assertion. Only set if this assertion was
        * automatically generated.
@@ -10933,8 +9487,6 @@ public Builder clearParentAction() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The parent action of this assertion. Only set if this assertion was
        * automatically generated.
@@ -10943,13 +9495,11 @@ public Builder clearParentAction() {
        * .google.cloud.dataform.v1alpha2.Target parent_action = 5;
        */
       public com.google.cloud.dataform.v1alpha2.Target.Builder getParentActionBuilder() {
-
+        
         onChanged();
         return getParentActionFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * The parent action of this assertion. Only set if this assertion was
        * automatically generated.
@@ -10961,14 +9511,11 @@ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getParentActionOrBuild
         if (parentActionBuilder_ != null) {
           return parentActionBuilder_.getMessageOrBuilder();
         } else {
-          return parentAction_ == null
-              ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance()
-              : parentAction_;
+          return parentAction_ == null ?
+              com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() : parentAction_;
         }
       }
       /**
-       *
-       *
        * 
        * The parent action of this assertion. Only set if this assertion was
        * automatically generated.
@@ -10977,32 +9524,26 @@ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getParentActionOrBuild
        * .google.cloud.dataform.v1alpha2.Target parent_action = 5;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.dataform.v1alpha2.Target,
-              com.google.cloud.dataform.v1alpha2.Target.Builder,
-              com.google.cloud.dataform.v1alpha2.TargetOrBuilder>
+          com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder> 
           getParentActionFieldBuilder() {
         if (parentActionBuilder_ == null) {
-          parentActionBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.cloud.dataform.v1alpha2.Target,
-                  com.google.cloud.dataform.v1alpha2.Target.Builder,
-                  com.google.cloud.dataform.v1alpha2.TargetOrBuilder>(
-                  getParentAction(), getParentForChildren(), isClean());
+          parentActionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder>(
+                  getParentAction(),
+                  getParentForChildren(),
+                  isClean());
           parentAction_ = null;
         }
         return parentActionBuilder_;
       }
 
-      private boolean disabled_;
+      private boolean disabled_ ;
       /**
-       *
-       *
        * 
        * Whether this action is disabled (i.e. should not be run).
        * 
* * bool disabled = 2; - * * @return The disabled. */ @java.lang.Override @@ -11010,87 +9551,71 @@ public boolean getDisabled() { return disabled_; } /** - * - * *
        * Whether this action is disabled (i.e. should not be run).
        * 
* * bool disabled = 2; - * * @param value The disabled to set. * @return This builder for chaining. */ public Builder setDisabled(boolean value) { - + disabled_ = value; onChanged(); return this; } /** - * - * *
        * Whether this action is disabled (i.e. should not be run).
        * 
* * bool disabled = 2; - * * @return This builder for chaining. */ public Builder clearDisabled() { - + disabled_ = false; onChanged(); return this; } - private com.google.protobuf.LazyStringList tags_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureTagsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { tags_ = new com.google.protobuf.LazyStringArrayList(tags_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; - * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList getTagsList() { + public com.google.protobuf.ProtocolStringList + getTagsList() { return tags_.getUnmodifiableView(); } /** - * - * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; - * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** - * - * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; - * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -11098,90 +9623,80 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** - * - * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; - * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString getTagsBytes(int index) { + public com.google.protobuf.ByteString + getTagsBytes(int index) { return tags_.getByteString(index); } /** - * - * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; - * * @param index The index to set the value at. * @param value The tags to set. * @return This builder for chaining. */ - public Builder setTags(int index, java.lang.String value) { + public Builder setTags( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.set(index, value); onChanged(); return this; } /** - * - * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; - * * @param value The tags to add. * @return This builder for chaining. */ - public Builder addTags(java.lang.String value) { + public Builder addTags( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } /** - * - * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; - * * @param values The tags to add. * @return This builder for chaining. */ - public Builder addAllTags(java.lang.Iterable values) { + public Builder addAllTags( + java.lang.Iterable values) { ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tags_); onChanged(); return this; } /** - * - * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; - * * @return This builder for chaining. */ public Builder clearTags() { @@ -11191,22 +9706,20 @@ public Builder clearTags() { return this; } /** - * - * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; - * * @param value The bytes of the tags to add. * @return This builder for chaining. */ - public Builder addTagsBytes(com.google.protobuf.ByteString value) { + public Builder addTagsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureTagsIsMutable(); tags_.add(value); onChanged(); @@ -11215,21 +9728,19 @@ public Builder addTagsBytes(com.google.protobuf.ByteString value) { private java.lang.Object selectQuery_ = ""; /** - * - * *
        * The SELECT query which must return zero rows in order for this assertion
        * to succeed.
        * 
* * string select_query = 4; - * * @return The selectQuery. */ public java.lang.String getSelectQuery() { java.lang.Object ref = selectQuery_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); selectQuery_ = s; return s; @@ -11238,22 +9749,21 @@ public java.lang.String getSelectQuery() { } } /** - * - * *
        * The SELECT query which must return zero rows in order for this assertion
        * to succeed.
        * 
* * string select_query = 4; - * * @return The bytes for selectQuery. */ - public com.google.protobuf.ByteString getSelectQueryBytes() { + public com.google.protobuf.ByteString + getSelectQueryBytes() { java.lang.Object ref = selectQuery_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); selectQuery_ = b; return b; } else { @@ -11261,64 +9771,57 @@ public com.google.protobuf.ByteString getSelectQueryBytes() { } } /** - * - * *
        * The SELECT query which must return zero rows in order for this assertion
        * to succeed.
        * 
* * string select_query = 4; - * * @param value The selectQuery to set. * @return This builder for chaining. */ - public Builder setSelectQuery(java.lang.String value) { + public Builder setSelectQuery( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + selectQuery_ = value; onChanged(); return this; } /** - * - * *
        * The SELECT query which must return zero rows in order for this assertion
        * to succeed.
        * 
* * string select_query = 4; - * * @return This builder for chaining. */ public Builder clearSelectQuery() { - + selectQuery_ = getDefaultInstance().getSelectQuery(); onChanged(); return this; } /** - * - * *
        * The SELECT query which must return zero rows in order for this assertion
        * to succeed.
        * 
* * string select_query = 4; - * * @param value The bytes for selectQuery to set. * @return This builder for chaining. */ - public Builder setSelectQueryBytes(com.google.protobuf.ByteString value) { + public Builder setSelectQueryBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + selectQuery_ = value; onChanged(); return this; @@ -11326,49 +9829,36 @@ public Builder setSelectQueryBytes(com.google.protobuf.ByteString value) { private com.google.cloud.dataform.v1alpha2.RelationDescriptor relationDescriptor_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.RelationDescriptor, - com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder, - com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder> - relationDescriptorBuilder_; + com.google.cloud.dataform.v1alpha2.RelationDescriptor, com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder, com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder> relationDescriptorBuilder_; /** - * - * *
        * Descriptor for the assertion's automatically-generated view and its
        * columns.
        * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 6; - * * @return Whether the relationDescriptor field is set. */ public boolean hasRelationDescriptor() { return relationDescriptorBuilder_ != null || relationDescriptor_ != null; } /** - * - * *
        * Descriptor for the assertion's automatically-generated view and its
        * columns.
        * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 6; - * * @return The relationDescriptor. */ public com.google.cloud.dataform.v1alpha2.RelationDescriptor getRelationDescriptor() { if (relationDescriptorBuilder_ == null) { - return relationDescriptor_ == null - ? com.google.cloud.dataform.v1alpha2.RelationDescriptor.getDefaultInstance() - : relationDescriptor_; + return relationDescriptor_ == null ? com.google.cloud.dataform.v1alpha2.RelationDescriptor.getDefaultInstance() : relationDescriptor_; } else { return relationDescriptorBuilder_.getMessage(); } } /** - * - * *
        * Descriptor for the assertion's automatically-generated view and its
        * columns.
@@ -11376,8 +9866,7 @@ public com.google.cloud.dataform.v1alpha2.RelationDescriptor getRelationDescript
        *
        * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 6;
        */
-      public Builder setRelationDescriptor(
-          com.google.cloud.dataform.v1alpha2.RelationDescriptor value) {
+      public Builder setRelationDescriptor(com.google.cloud.dataform.v1alpha2.RelationDescriptor value) {
         if (relationDescriptorBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -11391,8 +9880,6 @@ public Builder setRelationDescriptor(
         return this;
       }
       /**
-       *
-       *
        * 
        * Descriptor for the assertion's automatically-generated view and its
        * columns.
@@ -11412,8 +9899,6 @@ public Builder setRelationDescriptor(
         return this;
       }
       /**
-       *
-       *
        * 
        * Descriptor for the assertion's automatically-generated view and its
        * columns.
@@ -11421,15 +9906,11 @@ public Builder setRelationDescriptor(
        *
        * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 6;
        */
-      public Builder mergeRelationDescriptor(
-          com.google.cloud.dataform.v1alpha2.RelationDescriptor value) {
+      public Builder mergeRelationDescriptor(com.google.cloud.dataform.v1alpha2.RelationDescriptor value) {
         if (relationDescriptorBuilder_ == null) {
           if (relationDescriptor_ != null) {
             relationDescriptor_ =
-                com.google.cloud.dataform.v1alpha2.RelationDescriptor.newBuilder(
-                        relationDescriptor_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.cloud.dataform.v1alpha2.RelationDescriptor.newBuilder(relationDescriptor_).mergeFrom(value).buildPartial();
           } else {
             relationDescriptor_ = value;
           }
@@ -11441,8 +9922,6 @@ public Builder mergeRelationDescriptor(
         return this;
       }
       /**
-       *
-       *
        * 
        * Descriptor for the assertion's automatically-generated view and its
        * columns.
@@ -11462,8 +9941,6 @@ public Builder clearRelationDescriptor() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Descriptor for the assertion's automatically-generated view and its
        * columns.
@@ -11471,15 +9948,12 @@ public Builder clearRelationDescriptor() {
        *
        * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 6;
        */
-      public com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder
-          getRelationDescriptorBuilder() {
-
+      public com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder getRelationDescriptorBuilder() {
+        
         onChanged();
         return getRelationDescriptorFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Descriptor for the assertion's automatically-generated view and its
        * columns.
@@ -11487,19 +9961,15 @@ public Builder clearRelationDescriptor() {
        *
        * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 6;
        */
-      public com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder
-          getRelationDescriptorOrBuilder() {
+      public com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder getRelationDescriptorOrBuilder() {
         if (relationDescriptorBuilder_ != null) {
           return relationDescriptorBuilder_.getMessageOrBuilder();
         } else {
-          return relationDescriptor_ == null
-              ? com.google.cloud.dataform.v1alpha2.RelationDescriptor.getDefaultInstance()
-              : relationDescriptor_;
+          return relationDescriptor_ == null ?
+              com.google.cloud.dataform.v1alpha2.RelationDescriptor.getDefaultInstance() : relationDescriptor_;
         }
       }
       /**
-       *
-       *
        * 
        * Descriptor for the assertion's automatically-generated view and its
        * columns.
@@ -11508,22 +9978,18 @@ public Builder clearRelationDescriptor() {
        * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 6;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.dataform.v1alpha2.RelationDescriptor,
-              com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder,
-              com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder>
+          com.google.cloud.dataform.v1alpha2.RelationDescriptor, com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder, com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder> 
           getRelationDescriptorFieldBuilder() {
         if (relationDescriptorBuilder_ == null) {
-          relationDescriptorBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.cloud.dataform.v1alpha2.RelationDescriptor,
-                  com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder,
-                  com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder>(
-                  getRelationDescriptor(), getParentForChildren(), isClean());
+          relationDescriptorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.cloud.dataform.v1alpha2.RelationDescriptor, com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder, com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder>(
+                  getRelationDescriptor(),
+                  getParentForChildren(),
+                  isClean());
           relationDescriptor_ = null;
         }
         return relationDescriptorBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -11536,32 +10002,30 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion)
-    private static final com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion
-        DEFAULT_INSTANCE;
-
+    private static final com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion DEFAULT_INSTANCE;
     static {
       DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion();
     }
 
-    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion
-        getDefaultInstance() {
+    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public Assertion parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            return new Assertion(input, extensionRegistry);
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public Assertion parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        return new Assertion(input, extensionRegistry);
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -11573,46 +10037,37 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion
-        getDefaultInstanceForType() {
+    public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface DeclarationOrBuilder
-      extends
+  public interface DeclarationOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Descriptor for the relation and its columns. Used as documentation only,
      * i.e. values here will result in no changes to the relation's metadata.
      * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 1; - * * @return Whether the relationDescriptor field is set. */ boolean hasRelationDescriptor(); /** - * - * *
      * Descriptor for the relation and its columns. Used as documentation only,
      * i.e. values here will result in no changes to the relation's metadata.
      * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 1; - * * @return The relationDescriptor. */ com.google.cloud.dataform.v1alpha2.RelationDescriptor getRelationDescriptor(); /** - * - * *
      * Descriptor for the relation and its columns. Used as documentation only,
      * i.e. values here will result in no changes to the relation's metadata.
@@ -11623,8 +10078,6 @@ public interface DeclarationOrBuilder
     com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder getRelationDescriptorOrBuilder();
   }
   /**
-   *
-   *
    * 
    * Represents a relation which is not managed by Dataform but which may be
    * referenced by Dataform actions.
@@ -11632,29 +10085,30 @@ public interface DeclarationOrBuilder
    *
    * Protobuf type {@code google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration}
    */
-  public static final class Declaration extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class Declaration extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration)
       DeclarationOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use Declaration.newBuilder() to construct.
     private Declaration(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private Declaration() {}
+    private Declaration() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new Declaration();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private Declaration(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -11673,30 +10127,26 @@ private Declaration(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder subBuilder = null;
-                if (relationDescriptor_ != null) {
-                  subBuilder = relationDescriptor_.toBuilder();
-                }
-                relationDescriptor_ =
-                    input.readMessage(
-                        com.google.cloud.dataform.v1alpha2.RelationDescriptor.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(relationDescriptor_);
-                  relationDescriptor_ = subBuilder.buildPartial();
-                }
-
-                break;
+            case 10: {
+              com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder subBuilder = null;
+              if (relationDescriptor_ != null) {
+                subBuilder = relationDescriptor_.toBuilder();
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              relationDescriptor_ = input.readMessage(com.google.cloud.dataform.v1alpha2.RelationDescriptor.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(relationDescriptor_);
+                relationDescriptor_ = subBuilder.buildPartial();
+              }
+
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -11704,40 +10154,35 @@ private Declaration(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.dataform.v1alpha2.DataformProto
-          .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Declaration_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Declaration_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataform.v1alpha2.DataformProto
-          .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Declaration_fieldAccessorTable
+      return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Declaration_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.class,
-              com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.Builder.class);
+              com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.class, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.Builder.class);
     }
 
     public static final int RELATION_DESCRIPTOR_FIELD_NUMBER = 1;
     private com.google.cloud.dataform.v1alpha2.RelationDescriptor relationDescriptor_;
     /**
-     *
-     *
      * 
      * Descriptor for the relation and its columns. Used as documentation only,
      * i.e. values here will result in no changes to the relation's metadata.
      * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 1; - * * @return Whether the relationDescriptor field is set. */ @java.lang.Override @@ -11745,26 +10190,19 @@ public boolean hasRelationDescriptor() { return relationDescriptor_ != null; } /** - * - * *
      * Descriptor for the relation and its columns. Used as documentation only,
      * i.e. values here will result in no changes to the relation's metadata.
      * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 1; - * * @return The relationDescriptor. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.RelationDescriptor getRelationDescriptor() { - return relationDescriptor_ == null - ? com.google.cloud.dataform.v1alpha2.RelationDescriptor.getDefaultInstance() - : relationDescriptor_; + return relationDescriptor_ == null ? com.google.cloud.dataform.v1alpha2.RelationDescriptor.getDefaultInstance() : relationDescriptor_; } /** - * - * *
      * Descriptor for the relation and its columns. Used as documentation only,
      * i.e. values here will result in no changes to the relation's metadata.
@@ -11773,13 +10211,11 @@ public com.google.cloud.dataform.v1alpha2.RelationDescriptor getRelationDescript
      * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 1;
      */
     @java.lang.Override
-    public com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder
-        getRelationDescriptorOrBuilder() {
+    public com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder getRelationDescriptorOrBuilder() {
       return getRelationDescriptor();
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -11791,7 +10227,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (relationDescriptor_ != null) {
         output.writeMessage(1, getRelationDescriptor());
       }
@@ -11805,8 +10242,8 @@ public int getSerializedSize() {
 
       size = 0;
       if (relationDescriptor_ != null) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRelationDescriptor());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, getRelationDescriptor());
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -11816,18 +10253,17 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
-      if (!(obj
-          instanceof com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration)) {
+      if (!(obj instanceof com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration)) {
         return super.equals(obj);
       }
-      com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration other =
-          (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration) obj;
+      com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration other = (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration) obj;
 
       if (hasRelationDescriptor() != other.hasRelationDescriptor()) return false;
       if (hasRelationDescriptor()) {
-        if (!getRelationDescriptor().equals(other.getRelationDescriptor())) return false;
+        if (!getRelationDescriptor()
+            .equals(other.getRelationDescriptor())) return false;
       }
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -11850,95 +10286,87 @@ public int hashCode() {
     }
 
     public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration parseFrom(
-        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
-
-    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration
-        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
-
-    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration
-        parseDelimitedFrom(
-            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration parseDelimitedFrom(
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration prototype) {
+    public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -11948,8 +10376,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Represents a relation which is not managed by Dataform but which may be
      * referenced by Dataform actions.
@@ -11957,42 +10383,38 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration)
         com.google.cloud.dataform.v1alpha2.CompilationResultAction.DeclarationOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.dataform.v1alpha2.DataformProto
-            .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Declaration_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Declaration_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.dataform.v1alpha2.DataformProto
-            .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Declaration_fieldAccessorTable
+        return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Declaration_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.class,
-                com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.Builder
-                    .class);
+                com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.class, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.Builder.class);
       }
 
-      // Construct using
-      // com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.newBuilder()
+      // Construct using com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -12006,22 +10428,19 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.dataform.v1alpha2.DataformProto
-            .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Declaration_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Declaration_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration
-          getDefaultInstanceForType() {
-        return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration
-            .getDefaultInstance();
+      public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration getDefaultInstanceForType() {
+        return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration build() {
-        com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration result =
-            buildPartial();
+        com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -12030,8 +10449,7 @@ public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration bu
 
       @java.lang.Override
       public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration buildPartial() {
-        com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration result =
-            new com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration(this);
+        com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration result = new com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration(this);
         if (relationDescriptorBuilder_ == null) {
           result.relationDescriptor_ = relationDescriptor_;
         } else {
@@ -12045,54 +10463,46 @@ public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration bu
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other
-            instanceof com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration) {
-          return mergeFrom(
-              (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration) other);
+        if (other instanceof com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration) {
+          return mergeFrom((com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration other) {
-        if (other
-            == com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration other) {
+        if (other == com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.getDefaultInstance()) return this;
         if (other.hasRelationDescriptor()) {
           mergeRelationDescriptor(other.getRelationDescriptor());
         }
@@ -12115,9 +10525,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -12129,49 +10537,36 @@ public Builder mergeFrom(
 
       private com.google.cloud.dataform.v1alpha2.RelationDescriptor relationDescriptor_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.dataform.v1alpha2.RelationDescriptor,
-              com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder,
-              com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder>
-          relationDescriptorBuilder_;
+          com.google.cloud.dataform.v1alpha2.RelationDescriptor, com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder, com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder> relationDescriptorBuilder_;
       /**
-       *
-       *
        * 
        * Descriptor for the relation and its columns. Used as documentation only,
        * i.e. values here will result in no changes to the relation's metadata.
        * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 1; - * * @return Whether the relationDescriptor field is set. */ public boolean hasRelationDescriptor() { return relationDescriptorBuilder_ != null || relationDescriptor_ != null; } /** - * - * *
        * Descriptor for the relation and its columns. Used as documentation only,
        * i.e. values here will result in no changes to the relation's metadata.
        * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 1; - * * @return The relationDescriptor. */ public com.google.cloud.dataform.v1alpha2.RelationDescriptor getRelationDescriptor() { if (relationDescriptorBuilder_ == null) { - return relationDescriptor_ == null - ? com.google.cloud.dataform.v1alpha2.RelationDescriptor.getDefaultInstance() - : relationDescriptor_; + return relationDescriptor_ == null ? com.google.cloud.dataform.v1alpha2.RelationDescriptor.getDefaultInstance() : relationDescriptor_; } else { return relationDescriptorBuilder_.getMessage(); } } /** - * - * *
        * Descriptor for the relation and its columns. Used as documentation only,
        * i.e. values here will result in no changes to the relation's metadata.
@@ -12179,8 +10574,7 @@ public com.google.cloud.dataform.v1alpha2.RelationDescriptor getRelationDescript
        *
        * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 1;
        */
-      public Builder setRelationDescriptor(
-          com.google.cloud.dataform.v1alpha2.RelationDescriptor value) {
+      public Builder setRelationDescriptor(com.google.cloud.dataform.v1alpha2.RelationDescriptor value) {
         if (relationDescriptorBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -12194,8 +10588,6 @@ public Builder setRelationDescriptor(
         return this;
       }
       /**
-       *
-       *
        * 
        * Descriptor for the relation and its columns. Used as documentation only,
        * i.e. values here will result in no changes to the relation's metadata.
@@ -12215,8 +10607,6 @@ public Builder setRelationDescriptor(
         return this;
       }
       /**
-       *
-       *
        * 
        * Descriptor for the relation and its columns. Used as documentation only,
        * i.e. values here will result in no changes to the relation's metadata.
@@ -12224,15 +10614,11 @@ public Builder setRelationDescriptor(
        *
        * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 1;
        */
-      public Builder mergeRelationDescriptor(
-          com.google.cloud.dataform.v1alpha2.RelationDescriptor value) {
+      public Builder mergeRelationDescriptor(com.google.cloud.dataform.v1alpha2.RelationDescriptor value) {
         if (relationDescriptorBuilder_ == null) {
           if (relationDescriptor_ != null) {
             relationDescriptor_ =
-                com.google.cloud.dataform.v1alpha2.RelationDescriptor.newBuilder(
-                        relationDescriptor_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.cloud.dataform.v1alpha2.RelationDescriptor.newBuilder(relationDescriptor_).mergeFrom(value).buildPartial();
           } else {
             relationDescriptor_ = value;
           }
@@ -12244,8 +10630,6 @@ public Builder mergeRelationDescriptor(
         return this;
       }
       /**
-       *
-       *
        * 
        * Descriptor for the relation and its columns. Used as documentation only,
        * i.e. values here will result in no changes to the relation's metadata.
@@ -12265,8 +10649,6 @@ public Builder clearRelationDescriptor() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Descriptor for the relation and its columns. Used as documentation only,
        * i.e. values here will result in no changes to the relation's metadata.
@@ -12274,15 +10656,12 @@ public Builder clearRelationDescriptor() {
        *
        * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 1;
        */
-      public com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder
-          getRelationDescriptorBuilder() {
-
+      public com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder getRelationDescriptorBuilder() {
+        
         onChanged();
         return getRelationDescriptorFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Descriptor for the relation and its columns. Used as documentation only,
        * i.e. values here will result in no changes to the relation's metadata.
@@ -12290,19 +10669,15 @@ public Builder clearRelationDescriptor() {
        *
        * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 1;
        */
-      public com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder
-          getRelationDescriptorOrBuilder() {
+      public com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder getRelationDescriptorOrBuilder() {
         if (relationDescriptorBuilder_ != null) {
           return relationDescriptorBuilder_.getMessageOrBuilder();
         } else {
-          return relationDescriptor_ == null
-              ? com.google.cloud.dataform.v1alpha2.RelationDescriptor.getDefaultInstance()
-              : relationDescriptor_;
+          return relationDescriptor_ == null ?
+              com.google.cloud.dataform.v1alpha2.RelationDescriptor.getDefaultInstance() : relationDescriptor_;
         }
       }
       /**
-       *
-       *
        * 
        * Descriptor for the relation and its columns. Used as documentation only,
        * i.e. values here will result in no changes to the relation's metadata.
@@ -12311,22 +10686,18 @@ public Builder clearRelationDescriptor() {
        * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.dataform.v1alpha2.RelationDescriptor,
-              com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder,
-              com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder>
+          com.google.cloud.dataform.v1alpha2.RelationDescriptor, com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder, com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder> 
           getRelationDescriptorFieldBuilder() {
         if (relationDescriptorBuilder_ == null) {
-          relationDescriptorBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.cloud.dataform.v1alpha2.RelationDescriptor,
-                  com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder,
-                  com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder>(
-                  getRelationDescriptor(), getParentForChildren(), isClean());
+          relationDescriptorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.cloud.dataform.v1alpha2.RelationDescriptor, com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder, com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder>(
+                  getRelationDescriptor(),
+                  getParentForChildren(),
+                  isClean());
           relationDescriptor_ = null;
         }
         return relationDescriptorBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -12339,33 +10710,30 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration)
-    private static final com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration
-        DEFAULT_INSTANCE;
-
+    private static final com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration DEFAULT_INSTANCE;
     static {
-      DEFAULT_INSTANCE =
-          new com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration();
+      DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration();
     }
 
-    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration
-        getDefaultInstance() {
+    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public Declaration parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            return new Declaration(input, extensionRegistry);
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public Declaration parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        return new Declaration(input, extensionRegistry);
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -12377,18 +10745,16 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration
-        getDefaultInstanceForType() {
+    public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   private int compiledObjectCase_ = 0;
   private java.lang.Object compiledObject_;
-
   public enum CompiledObjectCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     RELATION(4),
     OPERATIONS(5),
@@ -12396,7 +10762,6 @@ public enum CompiledObjectCase
     DECLARATION(7),
     COMPILEDOBJECT_NOT_SET(0);
     private final int value;
-
     private CompiledObjectCase(int value) {
       this.value = value;
     }
@@ -12412,41 +10777,33 @@ public static CompiledObjectCase valueOf(int value) {
 
     public static CompiledObjectCase forNumber(int value) {
       switch (value) {
-        case 4:
-          return RELATION;
-        case 5:
-          return OPERATIONS;
-        case 6:
-          return ASSERTION;
-        case 7:
-          return DECLARATION;
-        case 0:
-          return COMPILEDOBJECT_NOT_SET;
-        default:
-          return null;
+        case 4: return RELATION;
+        case 5: return OPERATIONS;
+        case 6: return ASSERTION;
+        case 7: return DECLARATION;
+        case 0: return COMPILEDOBJECT_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public CompiledObjectCase getCompiledObjectCase() {
-    return CompiledObjectCase.forNumber(compiledObjectCase_);
+  public CompiledObjectCase
+  getCompiledObjectCase() {
+    return CompiledObjectCase.forNumber(
+        compiledObjectCase_);
   }
 
   public static final int TARGET_FIELD_NUMBER = 1;
   private com.google.cloud.dataform.v1alpha2.Target target_;
   /**
-   *
-   *
    * 
    * This action's identifier. Unique within the compilation result.
    * 
* * .google.cloud.dataform.v1alpha2.Target target = 1; - * * @return Whether the target field is set. */ @java.lang.Override @@ -12454,25 +10811,18 @@ public boolean hasTarget() { return target_ != null; } /** - * - * *
    * This action's identifier. Unique within the compilation result.
    * 
* * .google.cloud.dataform.v1alpha2.Target target = 1; - * * @return The target. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.Target getTarget() { - return target_ == null - ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() - : target_; + return target_ == null ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() : target_; } /** - * - * *
    * This action's identifier. Unique within the compilation result.
    * 
@@ -12487,15 +10837,12 @@ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getTargetOrBuilder() { public static final int CANONICAL_TARGET_FIELD_NUMBER = 2; private com.google.cloud.dataform.v1alpha2.Target canonicalTarget_; /** - * - * *
    * The action's identifier if the project had been compiled without any
    * overrides configured. Unique within the compilation result.
    * 
* * .google.cloud.dataform.v1alpha2.Target canonical_target = 2; - * * @return Whether the canonicalTarget field is set. */ @java.lang.Override @@ -12503,26 +10850,19 @@ public boolean hasCanonicalTarget() { return canonicalTarget_ != null; } /** - * - * *
    * The action's identifier if the project had been compiled without any
    * overrides configured. Unique within the compilation result.
    * 
* * .google.cloud.dataform.v1alpha2.Target canonical_target = 2; - * * @return The canonicalTarget. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.Target getCanonicalTarget() { - return canonicalTarget_ == null - ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() - : canonicalTarget_; + return canonicalTarget_ == null ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() : canonicalTarget_; } /** - * - * *
    * The action's identifier if the project had been compiled without any
    * overrides configured. Unique within the compilation result.
@@ -12538,15 +10878,12 @@ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getCanonicalTargetOrBu
   public static final int FILE_PATH_FIELD_NUMBER = 3;
   private volatile java.lang.Object filePath_;
   /**
-   *
-   *
    * 
    * The full path including filename in which this action is located, relative
    * to the workspace root.
    * 
* * string file_path = 3; - * * @return The filePath. */ @java.lang.Override @@ -12555,30 +10892,30 @@ public java.lang.String getFilePath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filePath_ = s; return s; } } /** - * - * *
    * The full path including filename in which this action is located, relative
    * to the workspace root.
    * 
* * string file_path = 3; - * * @return The bytes for filePath. */ @java.lang.Override - public com.google.protobuf.ByteString getFilePathBytes() { + public com.google.protobuf.ByteString + getFilePathBytes() { java.lang.Object ref = filePath_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filePath_ = b; return b; } else { @@ -12588,14 +10925,11 @@ public com.google.protobuf.ByteString getFilePathBytes() { public static final int RELATION_FIELD_NUMBER = 4; /** - * - * *
    * The database relation created/updated by this action.
    * 
* * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation relation = 4; - * * @return Whether the relation field is set. */ @java.lang.Override @@ -12603,26 +10937,21 @@ public boolean hasRelation() { return compiledObjectCase_ == 4; } /** - * - * *
    * The database relation created/updated by this action.
    * 
* * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation relation = 4; - * * @return The relation. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation getRelation() { if (compiledObjectCase_ == 4) { - return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) compiledObject_; + return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) compiledObject_; } return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.getDefaultInstance(); } /** - * - * *
    * The database relation created/updated by this action.
    * 
@@ -12630,24 +10959,20 @@ public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation getRe * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation relation = 4; */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.RelationOrBuilder - getRelationOrBuilder() { + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.RelationOrBuilder getRelationOrBuilder() { if (compiledObjectCase_ == 4) { - return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) compiledObject_; + return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) compiledObject_; } return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.getDefaultInstance(); } public static final int OPERATIONS_FIELD_NUMBER = 5; /** - * - * *
    * The database operations executed by this action.
    * 
* * .google.cloud.dataform.v1alpha2.CompilationResultAction.Operations operations = 5; - * * @return Whether the operations field is set. */ @java.lang.Override @@ -12655,28 +10980,21 @@ public boolean hasOperations() { return compiledObjectCase_ == 5; } /** - * - * *
    * The database operations executed by this action.
    * 
* * .google.cloud.dataform.v1alpha2.CompilationResultAction.Operations operations = 5; - * * @return The operations. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations getOperations() { if (compiledObjectCase_ == 5) { - return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) - compiledObject_; + return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) compiledObject_; } - return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations - .getDefaultInstance(); + return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.getDefaultInstance(); } /** - * - * *
    * The database operations executed by this action.
    * 
@@ -12684,26 +11002,20 @@ public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations get * .google.cloud.dataform.v1alpha2.CompilationResultAction.Operations operations = 5; */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.OperationsOrBuilder - getOperationsOrBuilder() { + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.OperationsOrBuilder getOperationsOrBuilder() { if (compiledObjectCase_ == 5) { - return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) - compiledObject_; + return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) compiledObject_; } - return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations - .getDefaultInstance(); + return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.getDefaultInstance(); } public static final int ASSERTION_FIELD_NUMBER = 6; - /** - * - * + /** *
    * The assertion executed by this action.
    * 
* * .google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion assertion = 6; - * * @return Whether the assertion field is set. */ @java.lang.Override @@ -12711,27 +11023,21 @@ public boolean hasAssertion() { return compiledObjectCase_ == 6; } /** - * - * *
    * The assertion executed by this action.
    * 
* * .google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion assertion = 6; - * * @return The assertion. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion getAssertion() { if (compiledObjectCase_ == 6) { - return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion) compiledObject_; + return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion) compiledObject_; } - return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion - .getDefaultInstance(); + return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.getDefaultInstance(); } /** - * - * *
    * The assertion executed by this action.
    * 
@@ -12739,26 +11045,20 @@ public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion getA * .google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion assertion = 6; */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.AssertionOrBuilder - getAssertionOrBuilder() { + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.AssertionOrBuilder getAssertionOrBuilder() { if (compiledObjectCase_ == 6) { - return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion) compiledObject_; + return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion) compiledObject_; } - return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion - .getDefaultInstance(); + return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.getDefaultInstance(); } public static final int DECLARATION_FIELD_NUMBER = 7; /** - * - * *
    * The declaration declared by this action.
    * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; - * - * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; * @return Whether the declaration field is set. */ @java.lang.Override @@ -12766,49 +11066,36 @@ public boolean hasDeclaration() { return compiledObjectCase_ == 7; } /** - * - * *
    * The declaration declared by this action.
    * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; - * - * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; * @return The declaration. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration getDeclaration() { if (compiledObjectCase_ == 7) { - return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration) - compiledObject_; + return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration) compiledObject_; } - return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration - .getDefaultInstance(); + return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.getDefaultInstance(); } /** - * - * *
    * The declaration declared by this action.
    * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; - * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.DeclarationOrBuilder - getDeclarationOrBuilder() { + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.DeclarationOrBuilder getDeclarationOrBuilder() { if (compiledObjectCase_ == 7) { - return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration) - compiledObject_; + return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration) compiledObject_; } - return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration - .getDefaultInstance(); + return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -12820,7 +11107,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (target_ != null) { output.writeMessage(1, getTarget()); } @@ -12831,23 +11119,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io com.google.protobuf.GeneratedMessageV3.writeString(output, 3, filePath_); } if (compiledObjectCase_ == 4) { - output.writeMessage( - 4, (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) compiledObject_); + output.writeMessage(4, (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) compiledObject_); } if (compiledObjectCase_ == 5) { - output.writeMessage( - 5, - (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) compiledObject_); + output.writeMessage(5, (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) compiledObject_); } if (compiledObjectCase_ == 6) { - output.writeMessage( - 6, - (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion) compiledObject_); + output.writeMessage(6, (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion) compiledObject_); } if (compiledObjectCase_ == 7) { - output.writeMessage( - 7, - (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration) compiledObject_); + output.writeMessage(7, (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration) compiledObject_); } unknownFields.writeTo(output); } @@ -12859,41 +11140,31 @@ public int getSerializedSize() { size = 0; if (target_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTarget()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getTarget()); } if (canonicalTarget_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCanonicalTarget()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCanonicalTarget()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filePath_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, filePath_); } if (compiledObjectCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, - (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) - compiledObject_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) compiledObject_); } if (compiledObjectCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, - (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) - compiledObject_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) compiledObject_); } if (compiledObjectCase_ == 6) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 6, - (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion) - compiledObject_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion) compiledObject_); } if (compiledObjectCase_ == 7) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 7, - (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration) - compiledObject_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration) compiledObject_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -12903,36 +11174,42 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.CompilationResultAction)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.CompilationResultAction other = - (com.google.cloud.dataform.v1alpha2.CompilationResultAction) obj; + com.google.cloud.dataform.v1alpha2.CompilationResultAction other = (com.google.cloud.dataform.v1alpha2.CompilationResultAction) obj; if (hasTarget() != other.hasTarget()) return false; if (hasTarget()) { - if (!getTarget().equals(other.getTarget())) return false; + if (!getTarget() + .equals(other.getTarget())) return false; } if (hasCanonicalTarget() != other.hasCanonicalTarget()) return false; if (hasCanonicalTarget()) { - if (!getCanonicalTarget().equals(other.getCanonicalTarget())) return false; + if (!getCanonicalTarget() + .equals(other.getCanonicalTarget())) return false; } - if (!getFilePath().equals(other.getFilePath())) return false; + if (!getFilePath() + .equals(other.getFilePath())) return false; if (!getCompiledObjectCase().equals(other.getCompiledObjectCase())) return false; switch (compiledObjectCase_) { case 4: - if (!getRelation().equals(other.getRelation())) return false; + if (!getRelation() + .equals(other.getRelation())) return false; break; case 5: - if (!getOperations().equals(other.getOperations())) return false; + if (!getOperations() + .equals(other.getOperations())) return false; break; case 6: - if (!getAssertion().equals(other.getAssertion())) return false; + if (!getAssertion() + .equals(other.getAssertion())) return false; break; case 7: - if (!getDeclaration().equals(other.getDeclaration())) return false; + if (!getDeclaration() + .equals(other.getDeclaration())) return false; break; case 0: default: @@ -12984,127 +11261,117 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.CompilationResultAction parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.CompilationResultAction prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.CompilationResultAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents a single Dataform action in a compilation result.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.CompilationResultAction} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.CompilationResultAction) com.google.cloud.dataform.v1alpha2.CompilationResultActionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CompilationResultAction.class, - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Builder.class); + com.google.cloud.dataform.v1alpha2.CompilationResultAction.class, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.CompilationResultAction.newBuilder() @@ -13112,15 +11379,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -13144,9 +11412,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_descriptor; } @java.lang.Override @@ -13165,8 +11433,7 @@ public com.google.cloud.dataform.v1alpha2.CompilationResultAction build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.CompilationResultAction buildPartial() { - com.google.cloud.dataform.v1alpha2.CompilationResultAction result = - new com.google.cloud.dataform.v1alpha2.CompilationResultAction(this); + com.google.cloud.dataform.v1alpha2.CompilationResultAction result = new com.google.cloud.dataform.v1alpha2.CompilationResultAction(this); if (targetBuilder_ == null) { result.target_ = target_; } else { @@ -13215,39 +11482,38 @@ public com.google.cloud.dataform.v1alpha2.CompilationResultAction buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.CompilationResultAction) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.CompilationResultAction) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.CompilationResultAction)other); } else { super.mergeFrom(other); return this; @@ -13255,8 +11521,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.CompilationResultAction other) { - if (other == com.google.cloud.dataform.v1alpha2.CompilationResultAction.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataform.v1alpha2.CompilationResultAction.getDefaultInstance()) return this; if (other.hasTarget()) { mergeTarget(other.getTarget()); } @@ -13268,30 +11533,25 @@ public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.CompilationResultAct onChanged(); } switch (other.getCompiledObjectCase()) { - case RELATION: - { - mergeRelation(other.getRelation()); - break; - } - case OPERATIONS: - { - mergeOperations(other.getOperations()); - break; - } - case ASSERTION: - { - mergeAssertion(other.getAssertion()); - break; - } - case DECLARATION: - { - mergeDeclaration(other.getDeclaration()); - break; - } - case COMPILEDOBJECT_NOT_SET: - { - break; - } + case RELATION: { + mergeRelation(other.getRelation()); + break; + } + case OPERATIONS: { + mergeOperations(other.getOperations()); + break; + } + case ASSERTION: { + mergeAssertion(other.getAssertion()); + break; + } + case DECLARATION: { + mergeDeclaration(other.getDeclaration()); + break; + } + case COMPILEDOBJECT_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -13312,8 +11572,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.CompilationResultAction) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.CompilationResultAction) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -13322,12 +11581,12 @@ public Builder mergeFrom( } return this; } - private int compiledObjectCase_ = 0; private java.lang.Object compiledObject_; - - public CompiledObjectCase getCompiledObjectCase() { - return CompiledObjectCase.forNumber(compiledObjectCase_); + public CompiledObjectCase + getCompiledObjectCase() { + return CompiledObjectCase.forNumber( + compiledObjectCase_); } public Builder clearCompiledObject() { @@ -13337,49 +11596,37 @@ public Builder clearCompiledObject() { return this; } + private com.google.cloud.dataform.v1alpha2.Target target_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Target, - com.google.cloud.dataform.v1alpha2.Target.Builder, - com.google.cloud.dataform.v1alpha2.TargetOrBuilder> - targetBuilder_; + com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder> targetBuilder_; /** - * - * *
      * This action's identifier. Unique within the compilation result.
      * 
* * .google.cloud.dataform.v1alpha2.Target target = 1; - * * @return Whether the target field is set. */ public boolean hasTarget() { return targetBuilder_ != null || target_ != null; } /** - * - * *
      * This action's identifier. Unique within the compilation result.
      * 
* * .google.cloud.dataform.v1alpha2.Target target = 1; - * * @return The target. */ public com.google.cloud.dataform.v1alpha2.Target getTarget() { if (targetBuilder_ == null) { - return target_ == null - ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() - : target_; + return target_ == null ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() : target_; } else { return targetBuilder_.getMessage(); } } /** - * - * *
      * This action's identifier. Unique within the compilation result.
      * 
@@ -13400,15 +11647,14 @@ public Builder setTarget(com.google.cloud.dataform.v1alpha2.Target value) { return this; } /** - * - * *
      * This action's identifier. Unique within the compilation result.
      * 
* * .google.cloud.dataform.v1alpha2.Target target = 1; */ - public Builder setTarget(com.google.cloud.dataform.v1alpha2.Target.Builder builderForValue) { + public Builder setTarget( + com.google.cloud.dataform.v1alpha2.Target.Builder builderForValue) { if (targetBuilder_ == null) { target_ = builderForValue.build(); onChanged(); @@ -13419,8 +11665,6 @@ public Builder setTarget(com.google.cloud.dataform.v1alpha2.Target.Builder build return this; } /** - * - * *
      * This action's identifier. Unique within the compilation result.
      * 
@@ -13431,9 +11675,7 @@ public Builder mergeTarget(com.google.cloud.dataform.v1alpha2.Target value) { if (targetBuilder_ == null) { if (target_ != null) { target_ = - com.google.cloud.dataform.v1alpha2.Target.newBuilder(target_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.dataform.v1alpha2.Target.newBuilder(target_).mergeFrom(value).buildPartial(); } else { target_ = value; } @@ -13445,8 +11687,6 @@ public Builder mergeTarget(com.google.cloud.dataform.v1alpha2.Target value) { return this; } /** - * - * *
      * This action's identifier. Unique within the compilation result.
      * 
@@ -13465,8 +11705,6 @@ public Builder clearTarget() { return this; } /** - * - * *
      * This action's identifier. Unique within the compilation result.
      * 
@@ -13474,13 +11712,11 @@ public Builder clearTarget() { * .google.cloud.dataform.v1alpha2.Target target = 1; */ public com.google.cloud.dataform.v1alpha2.Target.Builder getTargetBuilder() { - + onChanged(); return getTargetFieldBuilder().getBuilder(); } /** - * - * *
      * This action's identifier. Unique within the compilation result.
      * 
@@ -13491,14 +11727,11 @@ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getTargetOrBuilder() { if (targetBuilder_ != null) { return targetBuilder_.getMessageOrBuilder(); } else { - return target_ == null - ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() - : target_; + return target_ == null ? + com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() : target_; } } /** - * - * *
      * This action's identifier. Unique within the compilation result.
      * 
@@ -13506,17 +11739,14 @@ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getTargetOrBuilder() { * .google.cloud.dataform.v1alpha2.Target target = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Target, - com.google.cloud.dataform.v1alpha2.Target.Builder, - com.google.cloud.dataform.v1alpha2.TargetOrBuilder> + com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder> getTargetFieldBuilder() { if (targetBuilder_ == null) { - targetBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Target, - com.google.cloud.dataform.v1alpha2.Target.Builder, - com.google.cloud.dataform.v1alpha2.TargetOrBuilder>( - getTarget(), getParentForChildren(), isClean()); + targetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder>( + getTarget(), + getParentForChildren(), + isClean()); target_ = null; } return targetBuilder_; @@ -13524,49 +11754,36 @@ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getTargetOrBuilder() { private com.google.cloud.dataform.v1alpha2.Target canonicalTarget_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Target, - com.google.cloud.dataform.v1alpha2.Target.Builder, - com.google.cloud.dataform.v1alpha2.TargetOrBuilder> - canonicalTargetBuilder_; + com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder> canonicalTargetBuilder_; /** - * - * *
      * The action's identifier if the project had been compiled without any
      * overrides configured. Unique within the compilation result.
      * 
* * .google.cloud.dataform.v1alpha2.Target canonical_target = 2; - * * @return Whether the canonicalTarget field is set. */ public boolean hasCanonicalTarget() { return canonicalTargetBuilder_ != null || canonicalTarget_ != null; } /** - * - * *
      * The action's identifier if the project had been compiled without any
      * overrides configured. Unique within the compilation result.
      * 
* * .google.cloud.dataform.v1alpha2.Target canonical_target = 2; - * * @return The canonicalTarget. */ public com.google.cloud.dataform.v1alpha2.Target getCanonicalTarget() { if (canonicalTargetBuilder_ == null) { - return canonicalTarget_ == null - ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() - : canonicalTarget_; + return canonicalTarget_ == null ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() : canonicalTarget_; } else { return canonicalTargetBuilder_.getMessage(); } } /** - * - * *
      * The action's identifier if the project had been compiled without any
      * overrides configured. Unique within the compilation result.
@@ -13588,8 +11805,6 @@ public Builder setCanonicalTarget(com.google.cloud.dataform.v1alpha2.Target valu
       return this;
     }
     /**
-     *
-     *
      * 
      * The action's identifier if the project had been compiled without any
      * overrides configured. Unique within the compilation result.
@@ -13609,8 +11824,6 @@ public Builder setCanonicalTarget(
       return this;
     }
     /**
-     *
-     *
      * 
      * The action's identifier if the project had been compiled without any
      * overrides configured. Unique within the compilation result.
@@ -13622,9 +11835,7 @@ public Builder mergeCanonicalTarget(com.google.cloud.dataform.v1alpha2.Target va
       if (canonicalTargetBuilder_ == null) {
         if (canonicalTarget_ != null) {
           canonicalTarget_ =
-              com.google.cloud.dataform.v1alpha2.Target.newBuilder(canonicalTarget_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.cloud.dataform.v1alpha2.Target.newBuilder(canonicalTarget_).mergeFrom(value).buildPartial();
         } else {
           canonicalTarget_ = value;
         }
@@ -13636,8 +11847,6 @@ public Builder mergeCanonicalTarget(com.google.cloud.dataform.v1alpha2.Target va
       return this;
     }
     /**
-     *
-     *
      * 
      * The action's identifier if the project had been compiled without any
      * overrides configured. Unique within the compilation result.
@@ -13657,8 +11866,6 @@ public Builder clearCanonicalTarget() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The action's identifier if the project had been compiled without any
      * overrides configured. Unique within the compilation result.
@@ -13667,13 +11874,11 @@ public Builder clearCanonicalTarget() {
      * .google.cloud.dataform.v1alpha2.Target canonical_target = 2;
      */
     public com.google.cloud.dataform.v1alpha2.Target.Builder getCanonicalTargetBuilder() {
-
+      
       onChanged();
       return getCanonicalTargetFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The action's identifier if the project had been compiled without any
      * overrides configured. Unique within the compilation result.
@@ -13685,14 +11890,11 @@ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getCanonicalTargetOrBu
       if (canonicalTargetBuilder_ != null) {
         return canonicalTargetBuilder_.getMessageOrBuilder();
       } else {
-        return canonicalTarget_ == null
-            ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance()
-            : canonicalTarget_;
+        return canonicalTarget_ == null ?
+            com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() : canonicalTarget_;
       }
     }
     /**
-     *
-     *
      * 
      * The action's identifier if the project had been compiled without any
      * overrides configured. Unique within the compilation result.
@@ -13701,17 +11903,14 @@ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getCanonicalTargetOrBu
      * .google.cloud.dataform.v1alpha2.Target canonical_target = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.dataform.v1alpha2.Target,
-            com.google.cloud.dataform.v1alpha2.Target.Builder,
-            com.google.cloud.dataform.v1alpha2.TargetOrBuilder>
+        com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder> 
         getCanonicalTargetFieldBuilder() {
       if (canonicalTargetBuilder_ == null) {
-        canonicalTargetBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.cloud.dataform.v1alpha2.Target,
-                com.google.cloud.dataform.v1alpha2.Target.Builder,
-                com.google.cloud.dataform.v1alpha2.TargetOrBuilder>(
-                getCanonicalTarget(), getParentForChildren(), isClean());
+        canonicalTargetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder>(
+                getCanonicalTarget(),
+                getParentForChildren(),
+                isClean());
         canonicalTarget_ = null;
       }
       return canonicalTargetBuilder_;
@@ -13719,21 +11918,19 @@ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getCanonicalTargetOrBu
 
     private java.lang.Object filePath_ = "";
     /**
-     *
-     *
      * 
      * The full path including filename in which this action is located, relative
      * to the workspace root.
      * 
* * string file_path = 3; - * * @return The filePath. */ public java.lang.String getFilePath() { java.lang.Object ref = filePath_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filePath_ = s; return s; @@ -13742,22 +11939,21 @@ public java.lang.String getFilePath() { } } /** - * - * *
      * The full path including filename in which this action is located, relative
      * to the workspace root.
      * 
* * string file_path = 3; - * * @return The bytes for filePath. */ - public com.google.protobuf.ByteString getFilePathBytes() { + public com.google.protobuf.ByteString + getFilePathBytes() { java.lang.Object ref = filePath_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filePath_ = b; return b; } else { @@ -13765,83 +11961,70 @@ public com.google.protobuf.ByteString getFilePathBytes() { } } /** - * - * *
      * The full path including filename in which this action is located, relative
      * to the workspace root.
      * 
* * string file_path = 3; - * * @param value The filePath to set. * @return This builder for chaining. */ - public Builder setFilePath(java.lang.String value) { + public Builder setFilePath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filePath_ = value; onChanged(); return this; } /** - * - * *
      * The full path including filename in which this action is located, relative
      * to the workspace root.
      * 
* * string file_path = 3; - * * @return This builder for chaining. */ public Builder clearFilePath() { - + filePath_ = getDefaultInstance().getFilePath(); onChanged(); return this; } /** - * - * *
      * The full path including filename in which this action is located, relative
      * to the workspace root.
      * 
* * string file_path = 3; - * * @param value The bytes for filePath to set. * @return This builder for chaining. */ - public Builder setFilePathBytes(com.google.protobuf.ByteString value) { + public Builder setFilePathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filePath_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation, - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.Builder, - com.google.cloud.dataform.v1alpha2.CompilationResultAction.RelationOrBuilder> - relationBuilder_; + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.Builder, com.google.cloud.dataform.v1alpha2.CompilationResultAction.RelationOrBuilder> relationBuilder_; /** - * - * *
      * The database relation created/updated by this action.
      * 
* * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation relation = 4; - * * @return Whether the relation field is set. */ @java.lang.Override @@ -13849,44 +12032,35 @@ public boolean hasRelation() { return compiledObjectCase_ == 4; } /** - * - * *
      * The database relation created/updated by this action.
      * 
* * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation relation = 4; - * * @return The relation. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation getRelation() { if (relationBuilder_ == null) { if (compiledObjectCase_ == 4) { - return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) - compiledObject_; + return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) compiledObject_; } - return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .getDefaultInstance(); + return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.getDefaultInstance(); } else { if (compiledObjectCase_ == 4) { return relationBuilder_.getMessage(); } - return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .getDefaultInstance(); + return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.getDefaultInstance(); } } /** - * - * *
      * The database relation created/updated by this action.
      * 
* * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation relation = 4; */ - public Builder setRelation( - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation value) { + public Builder setRelation(com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation value) { if (relationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -13900,8 +12074,6 @@ public Builder setRelation( return this; } /** - * - * *
      * The database relation created/updated by this action.
      * 
@@ -13909,8 +12081,7 @@ public Builder setRelation( * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation relation = 4; */ public Builder setRelation( - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.Builder - builderForValue) { + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.Builder builderForValue) { if (relationBuilder_ == null) { compiledObject_ = builderForValue.build(); onChanged(); @@ -13921,27 +12092,18 @@ public Builder setRelation( return this; } /** - * - * *
      * The database relation created/updated by this action.
      * 
* * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation relation = 4; */ - public Builder mergeRelation( - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation value) { + public Builder mergeRelation(com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation value) { if (relationBuilder_ == null) { - if (compiledObjectCase_ == 4 - && compiledObject_ - != com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .getDefaultInstance()) { - compiledObject_ = - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.newBuilder( - (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) - compiledObject_) - .mergeFrom(value) - .buildPartial(); + if (compiledObjectCase_ == 4 && + compiledObject_ != com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.getDefaultInstance()) { + compiledObject_ = com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.newBuilder((com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) compiledObject_) + .mergeFrom(value).buildPartial(); } else { compiledObject_ = value; } @@ -13957,8 +12119,6 @@ public Builder mergeRelation( return this; } /** - * - * *
      * The database relation created/updated by this action.
      * 
@@ -13982,21 +12142,16 @@ public Builder clearRelation() { return this; } /** - * - * *
      * The database relation created/updated by this action.
      * 
* * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation relation = 4; */ - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.Builder - getRelationBuilder() { + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.Builder getRelationBuilder() { return getRelationFieldBuilder().getBuilder(); } /** - * - * *
      * The database relation created/updated by this action.
      * 
@@ -14004,22 +12159,17 @@ public Builder clearRelation() { * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation relation = 4; */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.RelationOrBuilder - getRelationOrBuilder() { + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.RelationOrBuilder getRelationOrBuilder() { if ((compiledObjectCase_ == 4) && (relationBuilder_ != null)) { return relationBuilder_.getMessageOrBuilder(); } else { if (compiledObjectCase_ == 4) { - return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) - compiledObject_; + return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) compiledObject_; } - return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .getDefaultInstance(); + return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.getDefaultInstance(); } } /** - * - * *
      * The database relation created/updated by this action.
      * 
@@ -14027,48 +12177,32 @@ public Builder clearRelation() { * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation relation = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation, - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.Builder, - com.google.cloud.dataform.v1alpha2.CompilationResultAction.RelationOrBuilder> + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.Builder, com.google.cloud.dataform.v1alpha2.CompilationResultAction.RelationOrBuilder> getRelationFieldBuilder() { if (relationBuilder_ == null) { if (!(compiledObjectCase_ == 4)) { - compiledObject_ = - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation - .getDefaultInstance(); - } - relationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation, - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.Builder, - com.google.cloud.dataform.v1alpha2.CompilationResultAction.RelationOrBuilder>( - (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) - compiledObject_, + compiledObject_ = com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.getDefaultInstance(); + } + relationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.Builder, com.google.cloud.dataform.v1alpha2.CompilationResultAction.RelationOrBuilder>( + (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) compiledObject_, getParentForChildren(), isClean()); compiledObject_ = null; } compiledObjectCase_ = 4; - onChanged(); - ; + onChanged();; return relationBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations, - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.Builder, - com.google.cloud.dataform.v1alpha2.CompilationResultAction.OperationsOrBuilder> - operationsBuilder_; + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.Builder, com.google.cloud.dataform.v1alpha2.CompilationResultAction.OperationsOrBuilder> operationsBuilder_; /** - * - * *
      * The database operations executed by this action.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Operations operations = 5; - * - * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Operations operations = 5; * @return Whether the operations field is set. */ @java.lang.Override @@ -14076,46 +12210,35 @@ public boolean hasOperations() { return compiledObjectCase_ == 5; } /** - * - * *
      * The database operations executed by this action.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Operations operations = 5; - * - * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Operations operations = 5; * @return The operations. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations getOperations() { if (operationsBuilder_ == null) { if (compiledObjectCase_ == 5) { - return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) - compiledObject_; + return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) compiledObject_; } - return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations - .getDefaultInstance(); + return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.getDefaultInstance(); } else { if (compiledObjectCase_ == 5) { return operationsBuilder_.getMessage(); } - return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations - .getDefaultInstance(); + return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.getDefaultInstance(); } } /** - * - * *
      * The database operations executed by this action.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Operations operations = 5; - * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Operations operations = 5; */ - public Builder setOperations( - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations value) { + public Builder setOperations(com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations value) { if (operationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -14129,18 +12252,14 @@ public Builder setOperations( return this; } /** - * - * *
      * The database operations executed by this action.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Operations operations = 5; - * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Operations operations = 5; */ public Builder setOperations( - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.Builder - builderForValue) { + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.Builder builderForValue) { if (operationsBuilder_ == null) { compiledObject_ = builderForValue.build(); onChanged(); @@ -14151,28 +12270,18 @@ public Builder setOperations( return this; } /** - * - * *
      * The database operations executed by this action.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Operations operations = 5; - * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Operations operations = 5; */ - public Builder mergeOperations( - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations value) { + public Builder mergeOperations(com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations value) { if (operationsBuilder_ == null) { - if (compiledObjectCase_ == 5 - && compiledObject_ - != com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations - .getDefaultInstance()) { - compiledObject_ = - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.newBuilder( - (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) - compiledObject_) - .mergeFrom(value) - .buildPartial(); + if (compiledObjectCase_ == 5 && + compiledObject_ != com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.getDefaultInstance()) { + compiledObject_ = com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.newBuilder((com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) compiledObject_) + .mergeFrom(value).buildPartial(); } else { compiledObject_ = value; } @@ -14188,14 +12297,11 @@ public Builder mergeOperations( return this; } /** - * - * *
      * The database operations executed by this action.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Operations operations = 5; - * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Operations operations = 5; */ public Builder clearOperations() { if (operationsBuilder_ == null) { @@ -14214,95 +12320,67 @@ public Builder clearOperations() { return this; } /** - * - * *
      * The database operations executed by this action.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Operations operations = 5; - * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Operations operations = 5; */ - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.Builder - getOperationsBuilder() { + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.Builder getOperationsBuilder() { return getOperationsFieldBuilder().getBuilder(); } /** - * - * *
      * The database operations executed by this action.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Operations operations = 5; - * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Operations operations = 5; */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.OperationsOrBuilder - getOperationsOrBuilder() { + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.OperationsOrBuilder getOperationsOrBuilder() { if ((compiledObjectCase_ == 5) && (operationsBuilder_ != null)) { return operationsBuilder_.getMessageOrBuilder(); } else { if (compiledObjectCase_ == 5) { - return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) - compiledObject_; + return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) compiledObject_; } - return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations - .getDefaultInstance(); + return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.getDefaultInstance(); } } /** - * - * *
      * The database operations executed by this action.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Operations operations = 5; - * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Operations operations = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations, - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.Builder, - com.google.cloud.dataform.v1alpha2.CompilationResultAction.OperationsOrBuilder> + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.Builder, com.google.cloud.dataform.v1alpha2.CompilationResultAction.OperationsOrBuilder> getOperationsFieldBuilder() { if (operationsBuilder_ == null) { if (!(compiledObjectCase_ == 5)) { - compiledObject_ = - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations - .getDefaultInstance(); - } - operationsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations, - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.Builder, - com.google.cloud.dataform.v1alpha2.CompilationResultAction.OperationsOrBuilder>( - (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) - compiledObject_, + compiledObject_ = com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.getDefaultInstance(); + } + operationsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.Builder, com.google.cloud.dataform.v1alpha2.CompilationResultAction.OperationsOrBuilder>( + (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) compiledObject_, getParentForChildren(), isClean()); compiledObject_ = null; } compiledObjectCase_ = 5; - onChanged(); - ; + onChanged();; return operationsBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion, - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.Builder, - com.google.cloud.dataform.v1alpha2.CompilationResultAction.AssertionOrBuilder> - assertionBuilder_; + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.Builder, com.google.cloud.dataform.v1alpha2.CompilationResultAction.AssertionOrBuilder> assertionBuilder_; /** - * - * *
      * The assertion executed by this action.
      * 
* * .google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion assertion = 6; - * * @return Whether the assertion field is set. */ @java.lang.Override @@ -14310,44 +12388,35 @@ public boolean hasAssertion() { return compiledObjectCase_ == 6; } /** - * - * *
      * The assertion executed by this action.
      * 
* * .google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion assertion = 6; - * * @return The assertion. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion getAssertion() { if (assertionBuilder_ == null) { if (compiledObjectCase_ == 6) { - return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion) - compiledObject_; + return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion) compiledObject_; } - return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion - .getDefaultInstance(); + return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.getDefaultInstance(); } else { if (compiledObjectCase_ == 6) { return assertionBuilder_.getMessage(); } - return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion - .getDefaultInstance(); + return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.getDefaultInstance(); } } /** - * - * *
      * The assertion executed by this action.
      * 
* * .google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion assertion = 6; */ - public Builder setAssertion( - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion value) { + public Builder setAssertion(com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion value) { if (assertionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -14361,8 +12430,6 @@ public Builder setAssertion( return this; } /** - * - * *
      * The assertion executed by this action.
      * 
@@ -14370,8 +12437,7 @@ public Builder setAssertion( * .google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion assertion = 6; */ public Builder setAssertion( - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.Builder - builderForValue) { + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.Builder builderForValue) { if (assertionBuilder_ == null) { compiledObject_ = builderForValue.build(); onChanged(); @@ -14382,27 +12448,18 @@ public Builder setAssertion( return this; } /** - * - * *
      * The assertion executed by this action.
      * 
* * .google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion assertion = 6; */ - public Builder mergeAssertion( - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion value) { + public Builder mergeAssertion(com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion value) { if (assertionBuilder_ == null) { - if (compiledObjectCase_ == 6 - && compiledObject_ - != com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion - .getDefaultInstance()) { - compiledObject_ = - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.newBuilder( - (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion) - compiledObject_) - .mergeFrom(value) - .buildPartial(); + if (compiledObjectCase_ == 6 && + compiledObject_ != com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.getDefaultInstance()) { + compiledObject_ = com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.newBuilder((com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion) compiledObject_) + .mergeFrom(value).buildPartial(); } else { compiledObject_ = value; } @@ -14418,8 +12475,6 @@ public Builder mergeAssertion( return this; } /** - * - * *
      * The assertion executed by this action.
      * 
@@ -14443,21 +12498,16 @@ public Builder clearAssertion() { return this; } /** - * - * *
      * The assertion executed by this action.
      * 
* * .google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion assertion = 6; */ - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.Builder - getAssertionBuilder() { + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.Builder getAssertionBuilder() { return getAssertionFieldBuilder().getBuilder(); } /** - * - * *
      * The assertion executed by this action.
      * 
@@ -14465,22 +12515,17 @@ public Builder clearAssertion() { * .google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion assertion = 6; */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.AssertionOrBuilder - getAssertionOrBuilder() { + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.AssertionOrBuilder getAssertionOrBuilder() { if ((compiledObjectCase_ == 6) && (assertionBuilder_ != null)) { return assertionBuilder_.getMessageOrBuilder(); } else { if (compiledObjectCase_ == 6) { - return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion) - compiledObject_; + return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion) compiledObject_; } - return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion - .getDefaultInstance(); + return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.getDefaultInstance(); } } /** - * - * *
      * The assertion executed by this action.
      * 
@@ -14488,48 +12533,32 @@ public Builder clearAssertion() { * .google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion assertion = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion, - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.Builder, - com.google.cloud.dataform.v1alpha2.CompilationResultAction.AssertionOrBuilder> + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.Builder, com.google.cloud.dataform.v1alpha2.CompilationResultAction.AssertionOrBuilder> getAssertionFieldBuilder() { if (assertionBuilder_ == null) { if (!(compiledObjectCase_ == 6)) { - compiledObject_ = - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion - .getDefaultInstance(); - } - assertionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion, - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.Builder, - com.google.cloud.dataform.v1alpha2.CompilationResultAction.AssertionOrBuilder>( - (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion) - compiledObject_, + compiledObject_ = com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.getDefaultInstance(); + } + assertionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.Builder, com.google.cloud.dataform.v1alpha2.CompilationResultAction.AssertionOrBuilder>( + (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion) compiledObject_, getParentForChildren(), isClean()); compiledObject_ = null; } compiledObjectCase_ = 6; - onChanged(); - ; + onChanged();; return assertionBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration, - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.Builder, - com.google.cloud.dataform.v1alpha2.CompilationResultAction.DeclarationOrBuilder> - declarationBuilder_; + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.Builder, com.google.cloud.dataform.v1alpha2.CompilationResultAction.DeclarationOrBuilder> declarationBuilder_; /** - * - * *
      * The declaration declared by this action.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; - * - * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; * @return Whether the declaration field is set. */ @java.lang.Override @@ -14537,46 +12566,35 @@ public boolean hasDeclaration() { return compiledObjectCase_ == 7; } /** - * - * *
      * The declaration declared by this action.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; - * - * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; * @return The declaration. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration getDeclaration() { if (declarationBuilder_ == null) { if (compiledObjectCase_ == 7) { - return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration) - compiledObject_; + return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration) compiledObject_; } - return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration - .getDefaultInstance(); + return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.getDefaultInstance(); } else { if (compiledObjectCase_ == 7) { return declarationBuilder_.getMessage(); } - return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration - .getDefaultInstance(); + return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.getDefaultInstance(); } } /** - * - * *
      * The declaration declared by this action.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; - * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; */ - public Builder setDeclaration( - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration value) { + public Builder setDeclaration(com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration value) { if (declarationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -14590,18 +12608,14 @@ public Builder setDeclaration( return this; } /** - * - * *
      * The declaration declared by this action.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; - * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; */ public Builder setDeclaration( - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.Builder - builderForValue) { + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.Builder builderForValue) { if (declarationBuilder_ == null) { compiledObject_ = builderForValue.build(); onChanged(); @@ -14612,28 +12626,18 @@ public Builder setDeclaration( return this; } /** - * - * *
      * The declaration declared by this action.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; - * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; */ - public Builder mergeDeclaration( - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration value) { + public Builder mergeDeclaration(com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration value) { if (declarationBuilder_ == null) { - if (compiledObjectCase_ == 7 - && compiledObject_ - != com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration - .getDefaultInstance()) { - compiledObject_ = - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.newBuilder( - (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration) - compiledObject_) - .mergeFrom(value) - .buildPartial(); + if (compiledObjectCase_ == 7 && + compiledObject_ != com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.getDefaultInstance()) { + compiledObject_ = com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.newBuilder((com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration) compiledObject_) + .mergeFrom(value).buildPartial(); } else { compiledObject_ = value; } @@ -14649,14 +12653,11 @@ public Builder mergeDeclaration( return this; } /** - * - * *
      * The declaration declared by this action.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; - * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; */ public Builder clearDeclaration() { if (declarationBuilder_ == null) { @@ -14675,83 +12676,61 @@ public Builder clearDeclaration() { return this; } /** - * - * *
      * The declaration declared by this action.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; - * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; */ - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.Builder - getDeclarationBuilder() { + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.Builder getDeclarationBuilder() { return getDeclarationFieldBuilder().getBuilder(); } /** - * - * *
      * The declaration declared by this action.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; - * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.DeclarationOrBuilder - getDeclarationOrBuilder() { + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.DeclarationOrBuilder getDeclarationOrBuilder() { if ((compiledObjectCase_ == 7) && (declarationBuilder_ != null)) { return declarationBuilder_.getMessageOrBuilder(); } else { if (compiledObjectCase_ == 7) { - return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration) - compiledObject_; + return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration) compiledObject_; } - return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration - .getDefaultInstance(); + return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.getDefaultInstance(); } } /** - * - * *
      * The declaration declared by this action.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; - * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration, - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.Builder, - com.google.cloud.dataform.v1alpha2.CompilationResultAction.DeclarationOrBuilder> + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.Builder, com.google.cloud.dataform.v1alpha2.CompilationResultAction.DeclarationOrBuilder> getDeclarationFieldBuilder() { if (declarationBuilder_ == null) { if (!(compiledObjectCase_ == 7)) { - compiledObject_ = - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration - .getDefaultInstance(); - } - declarationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration, - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.Builder, - com.google.cloud.dataform.v1alpha2.CompilationResultAction.DeclarationOrBuilder>( - (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration) - compiledObject_, + compiledObject_ = com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.getDefaultInstance(); + } + declarationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.Builder, com.google.cloud.dataform.v1alpha2.CompilationResultAction.DeclarationOrBuilder>( + (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration) compiledObject_, getParentForChildren(), isClean()); compiledObject_ = null; } compiledObjectCase_ = 7; - onChanged(); - ; + onChanged();; return declarationBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -14761,12 +12740,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.CompilationResultAction) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.CompilationResultAction) private static final com.google.cloud.dataform.v1alpha2.CompilationResultAction DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.CompilationResultAction(); } @@ -14775,16 +12754,16 @@ public static com.google.cloud.dataform.v1alpha2.CompilationResultAction getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompilationResultAction parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CompilationResultAction(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompilationResultAction parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CompilationResultAction(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -14799,4 +12778,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.CompilationResultAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResultActionOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResultActionOrBuilder.java similarity index 81% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResultActionOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResultActionOrBuilder.java index 215c1a3..62361af 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResultActionOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResultActionOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface CompilationResultActionOrBuilder - extends +public interface CompilationResultActionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.CompilationResultAction) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * This action's identifier. Unique within the compilation result.
    * 
* * .google.cloud.dataform.v1alpha2.Target target = 1; - * * @return Whether the target field is set. */ boolean hasTarget(); /** - * - * *
    * This action's identifier. Unique within the compilation result.
    * 
* * .google.cloud.dataform.v1alpha2.Target target = 1; - * * @return The target. */ com.google.cloud.dataform.v1alpha2.Target getTarget(); /** - * - * *
    * This action's identifier. Unique within the compilation result.
    * 
@@ -59,34 +35,26 @@ public interface CompilationResultActionOrBuilder com.google.cloud.dataform.v1alpha2.TargetOrBuilder getTargetOrBuilder(); /** - * - * *
    * The action's identifier if the project had been compiled without any
    * overrides configured. Unique within the compilation result.
    * 
* * .google.cloud.dataform.v1alpha2.Target canonical_target = 2; - * * @return Whether the canonicalTarget field is set. */ boolean hasCanonicalTarget(); /** - * - * *
    * The action's identifier if the project had been compiled without any
    * overrides configured. Unique within the compilation result.
    * 
* * .google.cloud.dataform.v1alpha2.Target canonical_target = 2; - * * @return The canonicalTarget. */ com.google.cloud.dataform.v1alpha2.Target getCanonicalTarget(); /** - * - * *
    * The action's identifier if the project had been compiled without any
    * overrides configured. Unique within the compilation result.
@@ -97,179 +65,134 @@ public interface CompilationResultActionOrBuilder
   com.google.cloud.dataform.v1alpha2.TargetOrBuilder getCanonicalTargetOrBuilder();
 
   /**
-   *
-   *
    * 
    * The full path including filename in which this action is located, relative
    * to the workspace root.
    * 
* * string file_path = 3; - * * @return The filePath. */ java.lang.String getFilePath(); /** - * - * *
    * The full path including filename in which this action is located, relative
    * to the workspace root.
    * 
* * string file_path = 3; - * * @return The bytes for filePath. */ - com.google.protobuf.ByteString getFilePathBytes(); + com.google.protobuf.ByteString + getFilePathBytes(); /** - * - * *
    * The database relation created/updated by this action.
    * 
* * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation relation = 4; - * * @return Whether the relation field is set. */ boolean hasRelation(); /** - * - * *
    * The database relation created/updated by this action.
    * 
* * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation relation = 4; - * * @return The relation. */ com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation getRelation(); /** - * - * *
    * The database relation created/updated by this action.
    * 
* * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation relation = 4; */ - com.google.cloud.dataform.v1alpha2.CompilationResultAction.RelationOrBuilder - getRelationOrBuilder(); + com.google.cloud.dataform.v1alpha2.CompilationResultAction.RelationOrBuilder getRelationOrBuilder(); /** - * - * *
    * The database operations executed by this action.
    * 
* * .google.cloud.dataform.v1alpha2.CompilationResultAction.Operations operations = 5; - * * @return Whether the operations field is set. */ boolean hasOperations(); /** - * - * *
    * The database operations executed by this action.
    * 
* * .google.cloud.dataform.v1alpha2.CompilationResultAction.Operations operations = 5; - * * @return The operations. */ com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations getOperations(); /** - * - * *
    * The database operations executed by this action.
    * 
* * .google.cloud.dataform.v1alpha2.CompilationResultAction.Operations operations = 5; */ - com.google.cloud.dataform.v1alpha2.CompilationResultAction.OperationsOrBuilder - getOperationsOrBuilder(); + com.google.cloud.dataform.v1alpha2.CompilationResultAction.OperationsOrBuilder getOperationsOrBuilder(); /** - * - * *
    * The assertion executed by this action.
    * 
* * .google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion assertion = 6; - * * @return Whether the assertion field is set. */ boolean hasAssertion(); /** - * - * *
    * The assertion executed by this action.
    * 
* * .google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion assertion = 6; - * * @return The assertion. */ com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion getAssertion(); /** - * - * *
    * The assertion executed by this action.
    * 
* * .google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion assertion = 6; */ - com.google.cloud.dataform.v1alpha2.CompilationResultAction.AssertionOrBuilder - getAssertionOrBuilder(); + com.google.cloud.dataform.v1alpha2.CompilationResultAction.AssertionOrBuilder getAssertionOrBuilder(); /** - * - * *
    * The declaration declared by this action.
    * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; - * - * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; * @return Whether the declaration field is set. */ boolean hasDeclaration(); /** - * - * *
    * The declaration declared by this action.
    * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; - * - * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; * @return The declaration. */ com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration getDeclaration(); /** - * - * *
    * The declaration declared by this action.
    * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; - * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; */ - com.google.cloud.dataform.v1alpha2.CompilationResultAction.DeclarationOrBuilder - getDeclarationOrBuilder(); + com.google.cloud.dataform.v1alpha2.CompilationResultAction.DeclarationOrBuilder getDeclarationOrBuilder(); - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.CompiledObjectCase - getCompiledObjectCase(); + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.CompiledObjectCase getCompiledObjectCase(); } diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResultName.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResultName.java similarity index 100% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResultName.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResultName.java diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResultOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResultOrBuilder.java similarity index 61% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResultOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResultOrBuilder.java index db61aed..7752489 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResultOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResultOrBuilder.java @@ -1,56 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface CompilationResultOrBuilder - extends +public interface CompilationResultOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.CompilationResult) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The compilation result's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The compilation result's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Immutable. Git commit/tag/branch name at which the repository should be compiled.
    * Must exist in the remote repository.
@@ -61,13 +38,10 @@ public interface CompilationResultOrBuilder
    * 
* * string git_commitish = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return Whether the gitCommitish field is set. */ boolean hasGitCommitish(); /** - * - * *
    * Immutable. Git commit/tag/branch name at which the repository should be compiled.
    * Must exist in the remote repository.
@@ -78,13 +52,10 @@ public interface CompilationResultOrBuilder
    * 
* * string git_commitish = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The gitCommitish. */ java.lang.String getGitCommitish(); /** - * - * *
    * Immutable. Git commit/tag/branch name at which the repository should be compiled.
    * Must exist in the remote repository.
@@ -95,193 +66,136 @@ public interface CompilationResultOrBuilder
    * 
* * string git_commitish = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The bytes for gitCommitish. */ - com.google.protobuf.ByteString getGitCommitishBytes(); + com.google.protobuf.ByteString + getGitCommitishBytes(); /** - * - * *
    * Immutable. The name of the workspace to compile. Must be in the format
    * `projects/*/locations/*/repositories/*/workspaces/*`.
    * 
* - * - * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return Whether the workspace field is set. */ boolean hasWorkspace(); /** - * - * *
    * Immutable. The name of the workspace to compile. Must be in the format
    * `projects/*/locations/*/repositories/*/workspaces/*`.
    * 
* - * - * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The workspace. */ java.lang.String getWorkspace(); /** - * - * *
    * Immutable. The name of the workspace to compile. Must be in the format
    * `projects/*/locations/*/repositories/*/workspaces/*`.
    * 
* - * - * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The bytes for workspace. */ - com.google.protobuf.ByteString getWorkspaceBytes(); + com.google.protobuf.ByteString + getWorkspaceBytes(); /** - * - * *
    * Immutable. If set, fields of `code_compilation_overrides` override the default
    * compilation settings that are specified in dataform.json.
    * 
* - * - * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; * @return Whether the codeCompilationConfig field is set. */ boolean hasCodeCompilationConfig(); /** - * - * *
    * Immutable. If set, fields of `code_compilation_overrides` override the default
    * compilation settings that are specified in dataform.json.
    * 
* - * - * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; * @return The codeCompilationConfig. */ - com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig - getCodeCompilationConfig(); + com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig getCodeCompilationConfig(); /** - * - * *
    * Immutable. If set, fields of `code_compilation_overrides` override the default
    * compilation settings that are specified in dataform.json.
    * 
* - * - * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; */ - com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfigOrBuilder - getCodeCompilationConfigOrBuilder(); + com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfigOrBuilder getCodeCompilationConfigOrBuilder(); /** - * - * *
    * Output only. The version of `@dataform/core` that was used for compilation.
    * 
* * string dataform_core_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The dataformCoreVersion. */ java.lang.String getDataformCoreVersion(); /** - * - * *
    * Output only. The version of `@dataform/core` that was used for compilation.
    * 
* * string dataform_core_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for dataformCoreVersion. */ - com.google.protobuf.ByteString getDataformCoreVersionBytes(); + com.google.protobuf.ByteString + getDataformCoreVersionBytes(); /** - * - * *
    * Output only. Errors encountered during project compilation.
    * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List + java.util.List getCompilationErrorsList(); /** - * - * *
    * Output only. Errors encountered during project compilation.
    * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError getCompilationErrors( - int index); + com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError getCompilationErrors(int index); /** - * - * *
    * Output only. Errors encountered during project compilation.
    * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getCompilationErrorsCount(); /** - * - * *
    * Output only. Errors encountered during project compilation.
    * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List< - ? extends com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationErrorOrBuilder> + java.util.List getCompilationErrorsOrBuilderList(); /** - * - * *
    * Output only. Errors encountered during project compilation.
    * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationErrorOrBuilder - getCompilationErrorsOrBuilder(int index); + com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationErrorOrBuilder getCompilationErrorsOrBuilder( + int index); public com.google.cloud.dataform.v1alpha2.CompilationResult.SourceCase getSourceCase(); } diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateCompilationResultRequest.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateCompilationResultRequest.java similarity index 59% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateCompilationResultRequest.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateCompilationResultRequest.java index f609757..f223aec 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateCompilationResultRequest.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateCompilationResultRequest.java @@ -1,58 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * `CreateCompilationResult` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.CreateCompilationResultRequest} */ -public final class CreateCompilationResultRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateCompilationResultRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.CreateCompilationResultRequest) CreateCompilationResultRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateCompilationResultRequest.newBuilder() to construct. - private CreateCompilationResultRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateCompilationResultRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateCompilationResultRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateCompilationResultRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateCompilationResultRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,37 +53,32 @@ private CreateCompilationResultRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.dataform.v1alpha2.CompilationResult.Builder subBuilder = null; + if (compilationResult_ != null) { + subBuilder = compilationResult_.toBuilder(); } - case 18: - { - com.google.cloud.dataform.v1alpha2.CompilationResult.Builder subBuilder = null; - if (compilationResult_ != null) { - subBuilder = compilationResult_.toBuilder(); - } - compilationResult_ = - input.readMessage( - com.google.cloud.dataform.v1alpha2.CompilationResult.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(compilationResult_); - compilationResult_ = subBuilder.buildPartial(); - } - - break; + compilationResult_ = input.readMessage(com.google.cloud.dataform.v1alpha2.CompilationResult.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(compilationResult_); + compilationResult_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -109,42 +86,35 @@ private CreateCompilationResultRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CreateCompilationResultRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CreateCompilationResultRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CreateCompilationResultRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CreateCompilationResultRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest.class, - com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest.class, com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The repository in which to create the compilation result. Must be in the
    * format `projects/*/locations/*/repositories/*`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -153,32 +123,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The repository in which to create the compilation result. Must be in the
    * format `projects/*/locations/*/repositories/*`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -189,16 +157,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int COMPILATION_RESULT_FIELD_NUMBER = 2; private com.google.cloud.dataform.v1alpha2.CompilationResult compilationResult_; /** - * - * *
    * Required. The compilation result to create.
    * 
* - * - * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the compilationResult field is set. */ @java.lang.Override @@ -206,43 +169,30 @@ public boolean hasCompilationResult() { return compilationResult_ != null; } /** - * - * *
    * Required. The compilation result to create.
    * 
* - * - * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The compilationResult. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.CompilationResult getCompilationResult() { - return compilationResult_ == null - ? com.google.cloud.dataform.v1alpha2.CompilationResult.getDefaultInstance() - : compilationResult_; + return compilationResult_ == null ? com.google.cloud.dataform.v1alpha2.CompilationResult.getDefaultInstance() : compilationResult_; } /** - * - * *
    * Required. The compilation result to create.
    * 
* - * - * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResultOrBuilder - getCompilationResultOrBuilder() { + public com.google.cloud.dataform.v1alpha2.CompilationResultOrBuilder getCompilationResultOrBuilder() { return getCompilationResult(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -254,7 +204,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -274,7 +225,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (compilationResult_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCompilationResult()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCompilationResult()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -284,18 +236,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest other = - (com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest) obj; + com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest other = (com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasCompilationResult() != other.hasCompilationResult()) return false; if (hasCompilationResult()) { - if (!getCompilationResult().equals(other.getCompilationResult())) return false; + if (!getCompilationResult() + .equals(other.getCompilationResult())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -320,145 +273,134 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `CreateCompilationResult` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.CreateCompilationResultRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.CreateCompilationResultRequest) com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CreateCompilationResultRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CreateCompilationResultRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CreateCompilationResultRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CreateCompilationResultRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest.class, - com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest.class, com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest.Builder.class); } - // Construct using - // com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest.newBuilder() + // Construct using com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -474,14 +416,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CreateCompilationResultRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CreateCompilationResultRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest - getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest getDefaultInstanceForType() { return com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest.getDefaultInstance(); } @@ -496,8 +437,7 @@ public com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest build() @java.lang.Override public com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest result = - new com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest(this); + com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest result = new com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest(this); result.parent_ = parent_; if (compilationResultBuilder_ == null) { result.compilationResult_ = compilationResult_; @@ -512,50 +452,46 @@ public com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest other) { - if (other - == com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest other) { + if (other == com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -582,9 +518,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -596,23 +530,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The repository in which to create the compilation result. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -621,24 +551,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The repository in which to create the compilation result. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -646,70 +573,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The repository in which to create the compilation result. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The repository in which to create the compilation result. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The repository in which to create the compilation result. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -717,61 +631,41 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.dataform.v1alpha2.CompilationResult compilationResult_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResult, - com.google.cloud.dataform.v1alpha2.CompilationResult.Builder, - com.google.cloud.dataform.v1alpha2.CompilationResultOrBuilder> - compilationResultBuilder_; + com.google.cloud.dataform.v1alpha2.CompilationResult, com.google.cloud.dataform.v1alpha2.CompilationResult.Builder, com.google.cloud.dataform.v1alpha2.CompilationResultOrBuilder> compilationResultBuilder_; /** - * - * *
      * Required. The compilation result to create.
      * 
* - * - * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the compilationResult field is set. */ public boolean hasCompilationResult() { return compilationResultBuilder_ != null || compilationResult_ != null; } /** - * - * *
      * Required. The compilation result to create.
      * 
* - * - * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The compilationResult. */ public com.google.cloud.dataform.v1alpha2.CompilationResult getCompilationResult() { if (compilationResultBuilder_ == null) { - return compilationResult_ == null - ? com.google.cloud.dataform.v1alpha2.CompilationResult.getDefaultInstance() - : compilationResult_; + return compilationResult_ == null ? com.google.cloud.dataform.v1alpha2.CompilationResult.getDefaultInstance() : compilationResult_; } else { return compilationResultBuilder_.getMessage(); } } /** - * - * *
      * Required. The compilation result to create.
      * 
* - * - * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setCompilationResult( - com.google.cloud.dataform.v1alpha2.CompilationResult value) { + public Builder setCompilationResult(com.google.cloud.dataform.v1alpha2.CompilationResult value) { if (compilationResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -785,15 +679,11 @@ public Builder setCompilationResult( return this; } /** - * - * *
      * Required. The compilation result to create.
      * 
* - * - * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCompilationResult( com.google.cloud.dataform.v1alpha2.CompilationResult.Builder builderForValue) { @@ -807,24 +697,17 @@ public Builder setCompilationResult( return this; } /** - * - * *
      * Required. The compilation result to create.
      * 
* - * - * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeCompilationResult( - com.google.cloud.dataform.v1alpha2.CompilationResult value) { + public Builder mergeCompilationResult(com.google.cloud.dataform.v1alpha2.CompilationResult value) { if (compilationResultBuilder_ == null) { if (compilationResult_ != null) { compilationResult_ = - com.google.cloud.dataform.v1alpha2.CompilationResult.newBuilder(compilationResult_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.dataform.v1alpha2.CompilationResult.newBuilder(compilationResult_).mergeFrom(value).buildPartial(); } else { compilationResult_ = value; } @@ -836,15 +719,11 @@ public Builder mergeCompilationResult( return this; } /** - * - * *
      * Required. The compilation result to create.
      * 
* - * - * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearCompilationResult() { if (compilationResultBuilder_ == null) { @@ -858,73 +737,55 @@ public Builder clearCompilationResult() { return this; } /** - * - * *
      * Required. The compilation result to create.
      * 
* - * - * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.dataform.v1alpha2.CompilationResult.Builder - getCompilationResultBuilder() { - + public com.google.cloud.dataform.v1alpha2.CompilationResult.Builder getCompilationResultBuilder() { + onChanged(); return getCompilationResultFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The compilation result to create.
      * 
* - * - * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.dataform.v1alpha2.CompilationResultOrBuilder - getCompilationResultOrBuilder() { + public com.google.cloud.dataform.v1alpha2.CompilationResultOrBuilder getCompilationResultOrBuilder() { if (compilationResultBuilder_ != null) { return compilationResultBuilder_.getMessageOrBuilder(); } else { - return compilationResult_ == null - ? com.google.cloud.dataform.v1alpha2.CompilationResult.getDefaultInstance() - : compilationResult_; + return compilationResult_ == null ? + com.google.cloud.dataform.v1alpha2.CompilationResult.getDefaultInstance() : compilationResult_; } } /** - * - * *
      * Required. The compilation result to create.
      * 
* - * - * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResult, - com.google.cloud.dataform.v1alpha2.CompilationResult.Builder, - com.google.cloud.dataform.v1alpha2.CompilationResultOrBuilder> + com.google.cloud.dataform.v1alpha2.CompilationResult, com.google.cloud.dataform.v1alpha2.CompilationResult.Builder, com.google.cloud.dataform.v1alpha2.CompilationResultOrBuilder> getCompilationResultFieldBuilder() { if (compilationResultBuilder_ == null) { - compilationResultBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResult, - com.google.cloud.dataform.v1alpha2.CompilationResult.Builder, - com.google.cloud.dataform.v1alpha2.CompilationResultOrBuilder>( - getCompilationResult(), getParentForChildren(), isClean()); + compilationResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.CompilationResult, com.google.cloud.dataform.v1alpha2.CompilationResult.Builder, com.google.cloud.dataform.v1alpha2.CompilationResultOrBuilder>( + getCompilationResult(), + getParentForChildren(), + isClean()); compilationResult_ = null; } return compilationResultBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -934,32 +795,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.CreateCompilationResultRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.CreateCompilationResultRequest) - private static final com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest(); } - public static com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest - getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateCompilationResultRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateCompilationResultRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateCompilationResultRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateCompilationResultRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -971,8 +830,9 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest - getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateCompilationResultRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateCompilationResultRequestOrBuilder.java new file mode 100644 index 0000000..d845a74 --- /dev/null +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateCompilationResultRequestOrBuilder.java @@ -0,0 +1,58 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1alpha2/dataform.proto + +package com.google.cloud.dataform.v1alpha2; + +public interface CreateCompilationResultRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.CreateCompilationResultRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The repository in which to create the compilation result. Must be in the
+   * format `projects/*/locations/*/repositories/*`.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + java.lang.String getParent(); + /** + *
+   * Required. The repository in which to create the compilation result. Must be in the
+   * format `projects/*/locations/*/repositories/*`.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + com.google.protobuf.ByteString + getParentBytes(); + + /** + *
+   * Required. The compilation result to create.
+   * 
+ * + * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the compilationResult field is set. + */ + boolean hasCompilationResult(); + /** + *
+   * Required. The compilation result to create.
+   * 
+ * + * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The compilationResult. + */ + com.google.cloud.dataform.v1alpha2.CompilationResult getCompilationResult(); + /** + *
+   * Required. The compilation result to create.
+   * 
+ * + * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.cloud.dataform.v1alpha2.CompilationResultOrBuilder getCompilationResultOrBuilder(); +} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateRepositoryRequest.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateRepositoryRequest.java similarity index 65% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateRepositoryRequest.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateRepositoryRequest.java index 5bdc998..9a78505 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateRepositoryRequest.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateRepositoryRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * `CreateRepository` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.CreateRepositoryRequest} */ -public final class CreateRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateRepositoryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.CreateRepositoryRequest) CreateRepositoryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateRepositoryRequest.newBuilder() to construct. private CreateRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateRepositoryRequest() { parent_ = ""; repositoryId_ = ""; @@ -44,15 +26,16 @@ private CreateRepositoryRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,43 +54,38 @@ private CreateRepositoryRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.dataform.v1alpha2.Repository.Builder subBuilder = null; + if (repository_ != null) { + subBuilder = repository_.toBuilder(); } - case 18: - { - com.google.cloud.dataform.v1alpha2.Repository.Builder subBuilder = null; - if (repository_ != null) { - subBuilder = repository_.toBuilder(); - } - repository_ = - input.readMessage( - com.google.cloud.dataform.v1alpha2.Repository.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(repository_); - repository_ = subBuilder.buildPartial(); - } - - break; + repository_ = input.readMessage(com.google.cloud.dataform.v1alpha2.Repository.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(repository_); + repository_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - repositoryId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + repositoryId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,42 +93,35 @@ private CreateRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CreateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CreateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CreateRepositoryRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CreateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest.class, - com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest.class, com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The location in which to create the repository. Must be in the format
    * `projects/*/locations/*`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -159,32 +130,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The location in which to create the repository. Must be in the format
    * `projects/*/locations/*`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -195,16 +164,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int REPOSITORY_FIELD_NUMBER = 2; private com.google.cloud.dataform.v1alpha2.Repository repository_; /** - * - * *
    * Required. The repository to create.
    * 
* - * - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the repository field is set. */ @java.lang.Override @@ -212,34 +176,23 @@ public boolean hasRepository() { return repository_ != null; } /** - * - * *
    * Required. The repository to create.
    * 
* - * - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The repository. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.Repository getRepository() { - return repository_ == null - ? com.google.cloud.dataform.v1alpha2.Repository.getDefaultInstance() - : repository_; + return repository_ == null ? com.google.cloud.dataform.v1alpha2.Repository.getDefaultInstance() : repository_; } /** - * - * *
    * Required. The repository to create.
    * 
* - * - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder getRepositoryOrBuilder() { @@ -249,15 +202,12 @@ public com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder getRepositoryOrBui public static final int REPOSITORY_ID_FIELD_NUMBER = 3; private volatile java.lang.Object repositoryId_; /** - * - * *
    * Required. The ID to use for the repository, which will become the final component of
    * the repository's resource name.
    * 
* * string repository_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The repositoryId. */ @java.lang.Override @@ -266,30 +216,30 @@ public java.lang.String getRepositoryId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); repositoryId_ = s; return s; } } /** - * - * *
    * Required. The ID to use for the repository, which will become the final component of
    * the repository's resource name.
    * 
* * string repository_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for repositoryId. */ @java.lang.Override - public com.google.protobuf.ByteString getRepositoryIdBytes() { + public com.google.protobuf.ByteString + getRepositoryIdBytes() { java.lang.Object ref = repositoryId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); repositoryId_ = b; return b; } else { @@ -298,7 +248,6 @@ public com.google.protobuf.ByteString getRepositoryIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -310,7 +259,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -333,7 +283,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (repository_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRepository()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRepository()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(repositoryId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, repositoryId_); @@ -346,20 +297,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest other = - (com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest) obj; + com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest other = (com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasRepository() != other.hasRepository()) return false; if (hasRepository()) { - if (!getRepository().equals(other.getRepository())) return false; + if (!getRepository() + .equals(other.getRepository())) return false; } - if (!getRepositoryId().equals(other.getRepositoryId())) return false; + if (!getRepositoryId() + .equals(other.getRepositoryId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -385,127 +338,117 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `CreateRepository` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.CreateRepositoryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.CreateRepositoryRequest) com.google.cloud.dataform.v1alpha2.CreateRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CreateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CreateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CreateRepositoryRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CreateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest.class, - com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest.class, com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest.newBuilder() @@ -513,15 +456,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -539,9 +483,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CreateRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CreateRepositoryRequest_descriptor; } @java.lang.Override @@ -560,8 +504,7 @@ public com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest result = - new com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest(this); + com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest result = new com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest(this); result.parent_ = parent_; if (repositoryBuilder_ == null) { result.repository_ = repository_; @@ -577,39 +520,38 @@ public com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest)other); } else { super.mergeFrom(other); return this; @@ -617,8 +559,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -649,8 +590,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -662,23 +602,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The location in which to create the repository. Must be in the format
      * `projects/*/locations/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -687,24 +623,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The location in which to create the repository. Must be in the format
      * `projects/*/locations/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -712,70 +645,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The location in which to create the repository. Must be in the format
      * `projects/*/locations/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The location in which to create the repository. Must be in the format
      * `projects/*/locations/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The location in which to create the repository. Must be in the format
      * `projects/*/locations/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -783,58 +703,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.dataform.v1alpha2.Repository repository_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Repository, - com.google.cloud.dataform.v1alpha2.Repository.Builder, - com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder> - repositoryBuilder_; + com.google.cloud.dataform.v1alpha2.Repository, com.google.cloud.dataform.v1alpha2.Repository.Builder, com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder> repositoryBuilder_; /** - * - * *
      * Required. The repository to create.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the repository field is set. */ public boolean hasRepository() { return repositoryBuilder_ != null || repository_ != null; } /** - * - * *
      * Required. The repository to create.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The repository. */ public com.google.cloud.dataform.v1alpha2.Repository getRepository() { if (repositoryBuilder_ == null) { - return repository_ == null - ? com.google.cloud.dataform.v1alpha2.Repository.getDefaultInstance() - : repository_; + return repository_ == null ? com.google.cloud.dataform.v1alpha2.Repository.getDefaultInstance() : repository_; } else { return repositoryBuilder_.getMessage(); } } /** - * - * *
      * Required. The repository to create.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRepository(com.google.cloud.dataform.v1alpha2.Repository value) { if (repositoryBuilder_ == null) { @@ -850,15 +751,11 @@ public Builder setRepository(com.google.cloud.dataform.v1alpha2.Repository value return this; } /** - * - * *
      * Required. The repository to create.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRepository( com.google.cloud.dataform.v1alpha2.Repository.Builder builderForValue) { @@ -872,23 +769,17 @@ public Builder setRepository( return this; } /** - * - * *
      * Required. The repository to create.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeRepository(com.google.cloud.dataform.v1alpha2.Repository value) { if (repositoryBuilder_ == null) { if (repository_ != null) { repository_ = - com.google.cloud.dataform.v1alpha2.Repository.newBuilder(repository_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.dataform.v1alpha2.Repository.newBuilder(repository_).mergeFrom(value).buildPartial(); } else { repository_ = value; } @@ -900,15 +791,11 @@ public Builder mergeRepository(com.google.cloud.dataform.v1alpha2.Repository val return this; } /** - * - * *
      * Required. The repository to create.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearRepository() { if (repositoryBuilder_ == null) { @@ -922,64 +809,48 @@ public Builder clearRepository() { return this; } /** - * - * *
      * Required. The repository to create.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataform.v1alpha2.Repository.Builder getRepositoryBuilder() { - + onChanged(); return getRepositoryFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The repository to create.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder getRepositoryOrBuilder() { if (repositoryBuilder_ != null) { return repositoryBuilder_.getMessageOrBuilder(); } else { - return repository_ == null - ? com.google.cloud.dataform.v1alpha2.Repository.getDefaultInstance() - : repository_; + return repository_ == null ? + com.google.cloud.dataform.v1alpha2.Repository.getDefaultInstance() : repository_; } } /** - * - * *
      * Required. The repository to create.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Repository, - com.google.cloud.dataform.v1alpha2.Repository.Builder, - com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder> + com.google.cloud.dataform.v1alpha2.Repository, com.google.cloud.dataform.v1alpha2.Repository.Builder, com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder> getRepositoryFieldBuilder() { if (repositoryBuilder_ == null) { - repositoryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Repository, - com.google.cloud.dataform.v1alpha2.Repository.Builder, - com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder>( - getRepository(), getParentForChildren(), isClean()); + repositoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.Repository, com.google.cloud.dataform.v1alpha2.Repository.Builder, com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder>( + getRepository(), + getParentForChildren(), + isClean()); repository_ = null; } return repositoryBuilder_; @@ -987,21 +858,19 @@ public com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder getRepositoryOrBui private java.lang.Object repositoryId_ = ""; /** - * - * *
      * Required. The ID to use for the repository, which will become the final component of
      * the repository's resource name.
      * 
* * string repository_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The repositoryId. */ public java.lang.String getRepositoryId() { java.lang.Object ref = repositoryId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); repositoryId_ = s; return s; @@ -1010,22 +879,21 @@ public java.lang.String getRepositoryId() { } } /** - * - * *
      * Required. The ID to use for the repository, which will become the final component of
      * the repository's resource name.
      * 
* * string repository_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for repositoryId. */ - public com.google.protobuf.ByteString getRepositoryIdBytes() { + public com.google.protobuf.ByteString + getRepositoryIdBytes() { java.lang.Object ref = repositoryId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); repositoryId_ = b; return b; } else { @@ -1033,71 +901,64 @@ public com.google.protobuf.ByteString getRepositoryIdBytes() { } } /** - * - * *
      * Required. The ID to use for the repository, which will become the final component of
      * the repository's resource name.
      * 
* * string repository_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The repositoryId to set. * @return This builder for chaining. */ - public Builder setRepositoryId(java.lang.String value) { + public Builder setRepositoryId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + repositoryId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The ID to use for the repository, which will become the final component of
      * the repository's resource name.
      * 
* * string repository_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearRepositoryId() { - + repositoryId_ = getDefaultInstance().getRepositoryId(); onChanged(); return this; } /** - * - * *
      * Required. The ID to use for the repository, which will become the final component of
      * the repository's resource name.
      * 
* * string repository_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for repositoryId to set. * @return This builder for chaining. */ - public Builder setRepositoryIdBytes(com.google.protobuf.ByteString value) { + public Builder setRepositoryIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + repositoryId_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1107,12 +968,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.CreateRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.CreateRepositoryRequest) private static final com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest(); } @@ -1121,16 +982,16 @@ public static com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1145,4 +1006,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateRepositoryRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateRepositoryRequestOrBuilder.java similarity index 54% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateRepositoryRequestOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateRepositoryRequestOrBuilder.java index c0fa263..70bcd0a 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateRepositoryRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateRepositoryRequestOrBuilder.java @@ -1,124 +1,80 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface CreateRepositoryRequestOrBuilder - extends +public interface CreateRepositoryRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.CreateRepositoryRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The location in which to create the repository. Must be in the format
    * `projects/*/locations/*`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The location in which to create the repository. Must be in the format
    * `projects/*/locations/*`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The repository to create.
    * 
* - * - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the repository field is set. */ boolean hasRepository(); /** - * - * *
    * Required. The repository to create.
    * 
* - * - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The repository. */ com.google.cloud.dataform.v1alpha2.Repository getRepository(); /** - * - * *
    * Required. The repository to create.
    * 
* - * - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder getRepositoryOrBuilder(); /** - * - * *
    * Required. The ID to use for the repository, which will become the final component of
    * the repository's resource name.
    * 
* * string repository_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The repositoryId. */ java.lang.String getRepositoryId(); /** - * - * *
    * Required. The ID to use for the repository, which will become the final component of
    * the repository's resource name.
    * 
* * string repository_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for repositoryId. */ - com.google.protobuf.ByteString getRepositoryIdBytes(); + com.google.protobuf.ByteString + getRepositoryIdBytes(); } diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkflowInvocationRequest.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkflowInvocationRequest.java similarity index 58% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkflowInvocationRequest.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkflowInvocationRequest.java index 8e4959e..fcd3a83 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkflowInvocationRequest.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkflowInvocationRequest.java @@ -1,58 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * `CreateWorkflowInvocation` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest} */ -public final class CreateWorkflowInvocationRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateWorkflowInvocationRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest) CreateWorkflowInvocationRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateWorkflowInvocationRequest.newBuilder() to construct. - private CreateWorkflowInvocationRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateWorkflowInvocationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateWorkflowInvocationRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateWorkflowInvocationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateWorkflowInvocationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,37 +53,32 @@ private CreateWorkflowInvocationRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder subBuilder = null; + if (workflowInvocation_ != null) { + subBuilder = workflowInvocation_.toBuilder(); } - case 18: - { - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder subBuilder = null; - if (workflowInvocation_ != null) { - subBuilder = workflowInvocation_.toBuilder(); - } - workflowInvocation_ = - input.readMessage( - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(workflowInvocation_); - workflowInvocation_ = subBuilder.buildPartial(); - } - - break; + workflowInvocation_ = input.readMessage(com.google.cloud.dataform.v1alpha2.WorkflowInvocation.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(workflowInvocation_); + workflowInvocation_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -109,41 +86,34 @@ private CreateWorkflowInvocationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CreateWorkflowInvocationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CreateWorkflowInvocationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CreateWorkflowInvocationRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CreateWorkflowInvocationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest.class, - com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest.class, com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent resource of the WorkflowInvocation type.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -152,31 +122,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent resource of the WorkflowInvocation type.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -187,16 +155,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int WORKFLOW_INVOCATION_FIELD_NUMBER = 2; private com.google.cloud.dataform.v1alpha2.WorkflowInvocation workflowInvocation_; /** - * - * *
    * Required. The workflow invocation resource to create.
    * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the workflowInvocation field is set. */ @java.lang.Override @@ -204,43 +167,30 @@ public boolean hasWorkflowInvocation() { return workflowInvocation_ != null; } /** - * - * *
    * Required. The workflow invocation resource to create.
    * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The workflowInvocation. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.WorkflowInvocation getWorkflowInvocation() { - return workflowInvocation_ == null - ? com.google.cloud.dataform.v1alpha2.WorkflowInvocation.getDefaultInstance() - : workflowInvocation_; + return workflowInvocation_ == null ? com.google.cloud.dataform.v1alpha2.WorkflowInvocation.getDefaultInstance() : workflowInvocation_; } /** - * - * *
    * Required. The workflow invocation resource to create.
    * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.WorkflowInvocationOrBuilder - getWorkflowInvocationOrBuilder() { + public com.google.cloud.dataform.v1alpha2.WorkflowInvocationOrBuilder getWorkflowInvocationOrBuilder() { return getWorkflowInvocation(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -252,7 +202,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -272,7 +223,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (workflowInvocation_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getWorkflowInvocation()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getWorkflowInvocation()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -282,18 +234,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest other = - (com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest) obj; + com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest other = (com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasWorkflowInvocation() != other.hasWorkflowInvocation()) return false; if (hasWorkflowInvocation()) { - if (!getWorkflowInvocation().equals(other.getWorkflowInvocation())) return false; + if (!getWorkflowInvocation() + .equals(other.getWorkflowInvocation())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -318,145 +271,134 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `CreateWorkflowInvocation` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest) com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CreateWorkflowInvocationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CreateWorkflowInvocationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CreateWorkflowInvocationRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CreateWorkflowInvocationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest.class, - com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest.class, com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest.Builder.class); } - // Construct using - // com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest.newBuilder() + // Construct using com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -472,16 +414,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CreateWorkflowInvocationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CreateWorkflowInvocationRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest - getDefaultInstanceForType() { - return com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest - .getDefaultInstance(); + public com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest getDefaultInstanceForType() { + return com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest.getDefaultInstance(); } @java.lang.Override @@ -495,8 +435,7 @@ public com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest build( @java.lang.Override public com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest result = - new com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest(this); + com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest result = new com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest(this); result.parent_ = parent_; if (workflowInvocationBuilder_ == null) { result.workflowInvocation_ = workflowInvocation_; @@ -511,51 +450,46 @@ public com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest buildP public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest) { - return mergeFrom( - (com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest other) { - if (other - == com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest other) { + if (other == com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -582,9 +516,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -596,22 +528,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent resource of the WorkflowInvocation type.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -620,23 +548,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource of the WorkflowInvocation type.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -644,67 +569,54 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource of the WorkflowInvocation type.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent resource of the WorkflowInvocation type.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent resource of the WorkflowInvocation type.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -712,61 +624,41 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.dataform.v1alpha2.WorkflowInvocation workflowInvocation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.WorkflowInvocation, - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder, - com.google.cloud.dataform.v1alpha2.WorkflowInvocationOrBuilder> - workflowInvocationBuilder_; + com.google.cloud.dataform.v1alpha2.WorkflowInvocation, com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder, com.google.cloud.dataform.v1alpha2.WorkflowInvocationOrBuilder> workflowInvocationBuilder_; /** - * - * *
      * Required. The workflow invocation resource to create.
      * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the workflowInvocation field is set. */ public boolean hasWorkflowInvocation() { return workflowInvocationBuilder_ != null || workflowInvocation_ != null; } /** - * - * *
      * Required. The workflow invocation resource to create.
      * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The workflowInvocation. */ public com.google.cloud.dataform.v1alpha2.WorkflowInvocation getWorkflowInvocation() { if (workflowInvocationBuilder_ == null) { - return workflowInvocation_ == null - ? com.google.cloud.dataform.v1alpha2.WorkflowInvocation.getDefaultInstance() - : workflowInvocation_; + return workflowInvocation_ == null ? com.google.cloud.dataform.v1alpha2.WorkflowInvocation.getDefaultInstance() : workflowInvocation_; } else { return workflowInvocationBuilder_.getMessage(); } } /** - * - * *
      * Required. The workflow invocation resource to create.
      * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setWorkflowInvocation( - com.google.cloud.dataform.v1alpha2.WorkflowInvocation value) { + public Builder setWorkflowInvocation(com.google.cloud.dataform.v1alpha2.WorkflowInvocation value) { if (workflowInvocationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -780,15 +672,11 @@ public Builder setWorkflowInvocation( return this; } /** - * - * *
      * Required. The workflow invocation resource to create.
      * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setWorkflowInvocation( com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder builderForValue) { @@ -802,24 +690,17 @@ public Builder setWorkflowInvocation( return this; } /** - * - * *
      * Required. The workflow invocation resource to create.
      * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeWorkflowInvocation( - com.google.cloud.dataform.v1alpha2.WorkflowInvocation value) { + public Builder mergeWorkflowInvocation(com.google.cloud.dataform.v1alpha2.WorkflowInvocation value) { if (workflowInvocationBuilder_ == null) { if (workflowInvocation_ != null) { workflowInvocation_ = - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.newBuilder(workflowInvocation_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.newBuilder(workflowInvocation_).mergeFrom(value).buildPartial(); } else { workflowInvocation_ = value; } @@ -831,15 +712,11 @@ public Builder mergeWorkflowInvocation( return this; } /** - * - * *
      * Required. The workflow invocation resource to create.
      * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearWorkflowInvocation() { if (workflowInvocationBuilder_ == null) { @@ -853,73 +730,55 @@ public Builder clearWorkflowInvocation() { return this; } /** - * - * *
      * Required. The workflow invocation resource to create.
      * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder - getWorkflowInvocationBuilder() { - + public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder getWorkflowInvocationBuilder() { + onChanged(); return getWorkflowInvocationFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The workflow invocation resource to create.
      * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.cloud.dataform.v1alpha2.WorkflowInvocationOrBuilder - getWorkflowInvocationOrBuilder() { + public com.google.cloud.dataform.v1alpha2.WorkflowInvocationOrBuilder getWorkflowInvocationOrBuilder() { if (workflowInvocationBuilder_ != null) { return workflowInvocationBuilder_.getMessageOrBuilder(); } else { - return workflowInvocation_ == null - ? com.google.cloud.dataform.v1alpha2.WorkflowInvocation.getDefaultInstance() - : workflowInvocation_; + return workflowInvocation_ == null ? + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.getDefaultInstance() : workflowInvocation_; } } /** - * - * *
      * Required. The workflow invocation resource to create.
      * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.WorkflowInvocation, - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder, - com.google.cloud.dataform.v1alpha2.WorkflowInvocationOrBuilder> + com.google.cloud.dataform.v1alpha2.WorkflowInvocation, com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder, com.google.cloud.dataform.v1alpha2.WorkflowInvocationOrBuilder> getWorkflowInvocationFieldBuilder() { if (workflowInvocationBuilder_ == null) { - workflowInvocationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.WorkflowInvocation, - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder, - com.google.cloud.dataform.v1alpha2.WorkflowInvocationOrBuilder>( - getWorkflowInvocation(), getParentForChildren(), isClean()); + workflowInvocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.WorkflowInvocation, com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder, com.google.cloud.dataform.v1alpha2.WorkflowInvocationOrBuilder>( + getWorkflowInvocation(), + getParentForChildren(), + isClean()); workflowInvocation_ = null; } return workflowInvocationBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -929,32 +788,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest) - private static final com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest(); } - public static com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest - getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateWorkflowInvocationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateWorkflowInvocationRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateWorkflowInvocationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateWorkflowInvocationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -966,8 +823,9 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest - getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkflowInvocationRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkflowInvocationRequestOrBuilder.java new file mode 100644 index 0000000..868481e --- /dev/null +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkflowInvocationRequestOrBuilder.java @@ -0,0 +1,56 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1alpha2/dataform.proto + +package com.google.cloud.dataform.v1alpha2; + +public interface CreateWorkflowInvocationRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The parent resource of the WorkflowInvocation type.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + java.lang.String getParent(); + /** + *
+   * Required. The parent resource of the WorkflowInvocation type.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + com.google.protobuf.ByteString + getParentBytes(); + + /** + *
+   * Required. The workflow invocation resource to create.
+   * 
+ * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the workflowInvocation field is set. + */ + boolean hasWorkflowInvocation(); + /** + *
+   * Required. The workflow invocation resource to create.
+   * 
+ * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The workflowInvocation. + */ + com.google.cloud.dataform.v1alpha2.WorkflowInvocation getWorkflowInvocation(); + /** + *
+   * Required. The workflow invocation resource to create.
+   * 
+ * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.cloud.dataform.v1alpha2.WorkflowInvocationOrBuilder getWorkflowInvocationOrBuilder(); +} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkspaceRequest.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkspaceRequest.java similarity index 65% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkspaceRequest.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkspaceRequest.java index 5288d11..506aa82 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkspaceRequest.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkspaceRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * `CreateWorkspace` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.CreateWorkspaceRequest} */ -public final class CreateWorkspaceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateWorkspaceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.CreateWorkspaceRequest) CreateWorkspaceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateWorkspaceRequest.newBuilder() to construct. private CreateWorkspaceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateWorkspaceRequest() { parent_ = ""; workspaceId_ = ""; @@ -44,15 +26,16 @@ private CreateWorkspaceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateWorkspaceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateWorkspaceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,43 +54,38 @@ private CreateWorkspaceRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.cloud.dataform.v1alpha2.Workspace.Builder subBuilder = null; + if (workspace_ != null) { + subBuilder = workspace_.toBuilder(); } - case 18: - { - com.google.cloud.dataform.v1alpha2.Workspace.Builder subBuilder = null; - if (workspace_ != null) { - subBuilder = workspace_.toBuilder(); - } - workspace_ = - input.readMessage( - com.google.cloud.dataform.v1alpha2.Workspace.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(workspace_); - workspace_ = subBuilder.buildPartial(); - } - - break; + workspace_ = input.readMessage(com.google.cloud.dataform.v1alpha2.Workspace.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(workspace_); + workspace_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - workspaceId_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + workspaceId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,42 +93,35 @@ private CreateWorkspaceRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CreateWorkspaceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CreateWorkspaceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CreateWorkspaceRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CreateWorkspaceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest.class, - com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest.class, com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The repository in which to create the workspace. Must be in the format
    * `projects/*/locations/*/repositories/*`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -159,32 +130,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The repository in which to create the workspace. Must be in the format
    * `projects/*/locations/*/repositories/*`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -195,16 +164,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int WORKSPACE_FIELD_NUMBER = 2; private com.google.cloud.dataform.v1alpha2.Workspace workspace_; /** - * - * *
    * Required. The workspace to create.
    * 
* - * - * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the workspace field is set. */ @java.lang.Override @@ -212,34 +176,23 @@ public boolean hasWorkspace() { return workspace_ != null; } /** - * - * *
    * Required. The workspace to create.
    * 
* - * - * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The workspace. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.Workspace getWorkspace() { - return workspace_ == null - ? com.google.cloud.dataform.v1alpha2.Workspace.getDefaultInstance() - : workspace_; + return workspace_ == null ? com.google.cloud.dataform.v1alpha2.Workspace.getDefaultInstance() : workspace_; } /** - * - * *
    * Required. The workspace to create.
    * 
* - * - * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.WorkspaceOrBuilder getWorkspaceOrBuilder() { @@ -249,15 +202,12 @@ public com.google.cloud.dataform.v1alpha2.WorkspaceOrBuilder getWorkspaceOrBuild public static final int WORKSPACE_ID_FIELD_NUMBER = 3; private volatile java.lang.Object workspaceId_; /** - * - * *
    * Required. The ID to use for the workspace, which will become the final component of
    * the workspace's resource name.
    * 
* * string workspace_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The workspaceId. */ @java.lang.Override @@ -266,30 +216,30 @@ public java.lang.String getWorkspaceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspaceId_ = s; return s; } } /** - * - * *
    * Required. The ID to use for the workspace, which will become the final component of
    * the workspace's resource name.
    * 
* * string workspace_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for workspaceId. */ @java.lang.Override - public com.google.protobuf.ByteString getWorkspaceIdBytes() { + public com.google.protobuf.ByteString + getWorkspaceIdBytes() { java.lang.Object ref = workspaceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); workspaceId_ = b; return b; } else { @@ -298,7 +248,6 @@ public com.google.protobuf.ByteString getWorkspaceIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -310,7 +259,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -333,7 +283,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (workspace_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getWorkspace()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getWorkspace()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspaceId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, workspaceId_); @@ -346,20 +297,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest other = - (com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest) obj; + com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest other = (com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasWorkspace() != other.hasWorkspace()) return false; if (hasWorkspace()) { - if (!getWorkspace().equals(other.getWorkspace())) return false; + if (!getWorkspace() + .equals(other.getWorkspace())) return false; } - if (!getWorkspaceId().equals(other.getWorkspaceId())) return false; + if (!getWorkspaceId() + .equals(other.getWorkspaceId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -385,127 +338,117 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `CreateWorkspace` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.CreateWorkspaceRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.CreateWorkspaceRequest) com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CreateWorkspaceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CreateWorkspaceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CreateWorkspaceRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CreateWorkspaceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest.class, - com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest.class, com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest.newBuilder() @@ -513,15 +456,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -539,9 +483,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_CreateWorkspaceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CreateWorkspaceRequest_descriptor; } @java.lang.Override @@ -560,8 +504,7 @@ public com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest result = - new com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest(this); + com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest result = new com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest(this); result.parent_ = parent_; if (workspaceBuilder_ == null) { result.workspace_ = workspace_; @@ -577,39 +520,38 @@ public com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest)other); } else { super.mergeFrom(other); return this; @@ -617,8 +559,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -649,8 +590,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -662,23 +602,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The repository in which to create the workspace. Must be in the format
      * `projects/*/locations/*/repositories/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -687,24 +623,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The repository in which to create the workspace. Must be in the format
      * `projects/*/locations/*/repositories/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -712,70 +645,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The repository in which to create the workspace. Must be in the format
      * `projects/*/locations/*/repositories/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The repository in which to create the workspace. Must be in the format
      * `projects/*/locations/*/repositories/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The repository in which to create the workspace. Must be in the format
      * `projects/*/locations/*/repositories/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -783,58 +703,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.dataform.v1alpha2.Workspace workspace_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Workspace, - com.google.cloud.dataform.v1alpha2.Workspace.Builder, - com.google.cloud.dataform.v1alpha2.WorkspaceOrBuilder> - workspaceBuilder_; + com.google.cloud.dataform.v1alpha2.Workspace, com.google.cloud.dataform.v1alpha2.Workspace.Builder, com.google.cloud.dataform.v1alpha2.WorkspaceOrBuilder> workspaceBuilder_; /** - * - * *
      * Required. The workspace to create.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the workspace field is set. */ public boolean hasWorkspace() { return workspaceBuilder_ != null || workspace_ != null; } /** - * - * *
      * Required. The workspace to create.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The workspace. */ public com.google.cloud.dataform.v1alpha2.Workspace getWorkspace() { if (workspaceBuilder_ == null) { - return workspace_ == null - ? com.google.cloud.dataform.v1alpha2.Workspace.getDefaultInstance() - : workspace_; + return workspace_ == null ? com.google.cloud.dataform.v1alpha2.Workspace.getDefaultInstance() : workspace_; } else { return workspaceBuilder_.getMessage(); } } /** - * - * *
      * Required. The workspace to create.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setWorkspace(com.google.cloud.dataform.v1alpha2.Workspace value) { if (workspaceBuilder_ == null) { @@ -850,15 +751,11 @@ public Builder setWorkspace(com.google.cloud.dataform.v1alpha2.Workspace value) return this; } /** - * - * *
      * Required. The workspace to create.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setWorkspace( com.google.cloud.dataform.v1alpha2.Workspace.Builder builderForValue) { @@ -872,23 +769,17 @@ public Builder setWorkspace( return this; } /** - * - * *
      * Required. The workspace to create.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeWorkspace(com.google.cloud.dataform.v1alpha2.Workspace value) { if (workspaceBuilder_ == null) { if (workspace_ != null) { workspace_ = - com.google.cloud.dataform.v1alpha2.Workspace.newBuilder(workspace_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.dataform.v1alpha2.Workspace.newBuilder(workspace_).mergeFrom(value).buildPartial(); } else { workspace_ = value; } @@ -900,15 +791,11 @@ public Builder mergeWorkspace(com.google.cloud.dataform.v1alpha2.Workspace value return this; } /** - * - * *
      * Required. The workspace to create.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearWorkspace() { if (workspaceBuilder_ == null) { @@ -922,64 +809,48 @@ public Builder clearWorkspace() { return this; } /** - * - * *
      * Required. The workspace to create.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataform.v1alpha2.Workspace.Builder getWorkspaceBuilder() { - + onChanged(); return getWorkspaceFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The workspace to create.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataform.v1alpha2.WorkspaceOrBuilder getWorkspaceOrBuilder() { if (workspaceBuilder_ != null) { return workspaceBuilder_.getMessageOrBuilder(); } else { - return workspace_ == null - ? com.google.cloud.dataform.v1alpha2.Workspace.getDefaultInstance() - : workspace_; + return workspace_ == null ? + com.google.cloud.dataform.v1alpha2.Workspace.getDefaultInstance() : workspace_; } } /** - * - * *
      * Required. The workspace to create.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Workspace, - com.google.cloud.dataform.v1alpha2.Workspace.Builder, - com.google.cloud.dataform.v1alpha2.WorkspaceOrBuilder> + com.google.cloud.dataform.v1alpha2.Workspace, com.google.cloud.dataform.v1alpha2.Workspace.Builder, com.google.cloud.dataform.v1alpha2.WorkspaceOrBuilder> getWorkspaceFieldBuilder() { if (workspaceBuilder_ == null) { - workspaceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Workspace, - com.google.cloud.dataform.v1alpha2.Workspace.Builder, - com.google.cloud.dataform.v1alpha2.WorkspaceOrBuilder>( - getWorkspace(), getParentForChildren(), isClean()); + workspaceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.Workspace, com.google.cloud.dataform.v1alpha2.Workspace.Builder, com.google.cloud.dataform.v1alpha2.WorkspaceOrBuilder>( + getWorkspace(), + getParentForChildren(), + isClean()); workspace_ = null; } return workspaceBuilder_; @@ -987,21 +858,19 @@ public com.google.cloud.dataform.v1alpha2.WorkspaceOrBuilder getWorkspaceOrBuild private java.lang.Object workspaceId_ = ""; /** - * - * *
      * Required. The ID to use for the workspace, which will become the final component of
      * the workspace's resource name.
      * 
* * string workspace_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The workspaceId. */ public java.lang.String getWorkspaceId() { java.lang.Object ref = workspaceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspaceId_ = s; return s; @@ -1010,22 +879,21 @@ public java.lang.String getWorkspaceId() { } } /** - * - * *
      * Required. The ID to use for the workspace, which will become the final component of
      * the workspace's resource name.
      * 
* * string workspace_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for workspaceId. */ - public com.google.protobuf.ByteString getWorkspaceIdBytes() { + public com.google.protobuf.ByteString + getWorkspaceIdBytes() { java.lang.Object ref = workspaceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); workspaceId_ = b; return b; } else { @@ -1033,71 +901,64 @@ public com.google.protobuf.ByteString getWorkspaceIdBytes() { } } /** - * - * *
      * Required. The ID to use for the workspace, which will become the final component of
      * the workspace's resource name.
      * 
* * string workspace_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The workspaceId to set. * @return This builder for chaining. */ - public Builder setWorkspaceId(java.lang.String value) { + public Builder setWorkspaceId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + workspaceId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The ID to use for the workspace, which will become the final component of
      * the workspace's resource name.
      * 
* * string workspace_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearWorkspaceId() { - + workspaceId_ = getDefaultInstance().getWorkspaceId(); onChanged(); return this; } /** - * - * *
      * Required. The ID to use for the workspace, which will become the final component of
      * the workspace's resource name.
      * 
* * string workspace_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for workspaceId to set. * @return This builder for chaining. */ - public Builder setWorkspaceIdBytes(com.google.protobuf.ByteString value) { + public Builder setWorkspaceIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workspaceId_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1107,12 +968,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.CreateWorkspaceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.CreateWorkspaceRequest) private static final com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest(); } @@ -1121,16 +982,16 @@ public static com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateWorkspaceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateWorkspaceRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateWorkspaceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateWorkspaceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1145,4 +1006,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkspaceRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkspaceRequestOrBuilder.java similarity index 55% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkspaceRequestOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkspaceRequestOrBuilder.java index 2fec697..30a8395 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkspaceRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkspaceRequestOrBuilder.java @@ -1,124 +1,80 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface CreateWorkspaceRequestOrBuilder - extends +public interface CreateWorkspaceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.CreateWorkspaceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The repository in which to create the workspace. Must be in the format
    * `projects/*/locations/*/repositories/*`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The repository in which to create the workspace. Must be in the format
    * `projects/*/locations/*/repositories/*`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The workspace to create.
    * 
* - * - * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the workspace field is set. */ boolean hasWorkspace(); /** - * - * *
    * Required. The workspace to create.
    * 
* - * - * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The workspace. */ com.google.cloud.dataform.v1alpha2.Workspace getWorkspace(); /** - * - * *
    * Required. The workspace to create.
    * 
* - * - * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.dataform.v1alpha2.WorkspaceOrBuilder getWorkspaceOrBuilder(); /** - * - * *
    * Required. The ID to use for the workspace, which will become the final component of
    * the workspace's resource name.
    * 
* * string workspace_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The workspaceId. */ java.lang.String getWorkspaceId(); /** - * - * *
    * Required. The ID to use for the workspace, which will become the final component of
    * the workspace's resource name.
    * 
* * string workspace_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for workspaceId. */ - com.google.protobuf.ByteString getWorkspaceIdBytes(); + com.google.protobuf.ByteString + getWorkspaceIdBytes(); } diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DataformProto.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DataformProto.java new file mode 100644 index 0000000..56f843d --- /dev/null +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DataformProto.java @@ -0,0 +1,1452 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1alpha2/dataform.proto + +package com.google.cloud.dataform.v1alpha2; + +public final class DataformProto { + private DataformProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_Repository_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_Repository_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_Repository_GitRemoteSettings_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_Repository_GitRemoteSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_GetRepositoryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_GetRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_CreateRepositoryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_CreateRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_UpdateRepositoryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_UpdateRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_DeleteRepositoryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_DeleteRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_Workspace_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_Workspace_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_GetWorkspaceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_GetWorkspaceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_CreateWorkspaceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_CreateWorkspaceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_DeleteWorkspaceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_DeleteWorkspaceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_CommitAuthor_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_CommitAuthor_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_PullGitCommitsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_PullGitCommitsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_PushGitCommitsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_PushGitCommitsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_UncommittedFileChange_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_UncommittedFileChange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_CommitWorkspaceChangesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_CommitWorkspaceChangesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_ResetWorkspaceChangesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_ResetWorkspaceChangesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_DirectoryEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_DirectoryEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_RemoveDirectoryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_RemoveDirectoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_ReadFileRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_ReadFileRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_ReadFileResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_ReadFileResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_RemoveFileRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_RemoveFileRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_MoveFileRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_MoveFileRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_MoveFileResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_MoveFileResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_WriteFileRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_WriteFileRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_WriteFileResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_WriteFileResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_CompilationResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_CompilationResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_VarsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_VarsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CompilationError_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CompilationError_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_GetCompilationResultRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_GetCompilationResultRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_CreateCompilationResultRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_CreateCompilationResultRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_Target_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_Target_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_ColumnDescriptor_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_ColumnDescriptor_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_BigqueryLabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_BigqueryLabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_IncrementalTableConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_IncrementalTableConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_AdditionalOptionsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_AdditionalOptionsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Operations_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Operations_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Assertion_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Assertion_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Declaration_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Declaration_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_InvocationConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_InvocationConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_GetWorkflowInvocationRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_GetWorkflowInvocationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_CreateWorkflowInvocationRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_CreateWorkflowInvocationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_DeleteWorkflowInvocationRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_DeleteWorkflowInvocationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_CancelWorkflowInvocationRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_CancelWorkflowInvocationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_BigQueryAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_BigQueryAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n-google/cloud/dataform/v1alpha2/datafor" + + "m.proto\022\036google.cloud.dataform.v1alpha2\032" + + "\034google/api/annotations.proto\032\027google/ap" + + "i/client.proto\032\037google/api/field_behavio" + + "r.proto\032\031google/api/resource.proto\032\033goog" + + "le/protobuf/empty.proto\032 google/protobuf" + + "/field_mask.proto\032\032google/type/interval." + + "proto\"\312\004\n\nRepository\022\021\n\004name\030\001 \001(\tB\003\340A\003\022" + + "^\n\023git_remote_settings\030\002 \001(\0132<.google.cl" + + "oud.dataform.v1alpha2.Repository.GitRemo" + + "teSettingsB\003\340A\001\032\334\002\n\021GitRemoteSettings\022\020\n" + + "\003url\030\001 \001(\tB\003\340A\002\022\033\n\016default_branch\030\002 \001(\tB" + + "\003\340A\002\022_\n#authentication_token_secret_vers" + + "ion\030\003 \001(\tB2\340A\002\372A,\n*secretmanager.googlea" + + "pis.com/SecretVersion\022c\n\014token_status\030\004 " + + "\001(\0162H.google.cloud.dataform.v1alpha2.Rep" + + "ository.GitRemoteSettings.TokenStatusB\003\340" + + "A\003\"R\n\013TokenStatus\022\034\n\030TOKEN_STATUS_UNSPEC" + + "IFIED\020\000\022\r\n\tNOT_FOUND\020\001\022\013\n\007INVALID\020\002\022\t\n\005V" + + "ALID\020\003:j\352Ag\n\"dataform.googleapis.com/Rep" + + "ository\022Aprojects/{project}/locations/{l" + + "ocation}/repositories/{repository}\"\261\001\n\027L" + + "istRepositoriesRequest\0229\n\006parent\030\001 \001(\tB)" + + "\340A\002\372A#\n!locations.googleapis.com/Locatio" + + "n\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030" + + "\003 \001(\tB\003\340A\001\022\025\n\010order_by\030\004 \001(\tB\003\340A\001\022\023\n\006fil" + + "ter\030\005 \001(\tB\003\340A\001\"\212\001\n\030ListRepositoriesRespo" + + "nse\022@\n\014repositories\030\001 \003(\0132*.google.cloud" + + ".dataform.v1alpha2.Repository\022\027\n\017next_pa" + + "ge_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"P\n\024G" + + "etRepositoryRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A" + + "$\n\"dataform.googleapis.com/Repository\"\265\001" + + "\n\027CreateRepositoryRequest\0229\n\006parent\030\001 \001(" + + "\tB)\340A\002\372A#\n!locations.googleapis.com/Loca" + + "tion\022C\n\nrepository\030\002 \001(\0132*.google.cloud." + + "dataform.v1alpha2.RepositoryB\003\340A\002\022\032\n\rrep" + + "ository_id\030\003 \001(\tB\003\340A\002\"\224\001\n\027UpdateReposito" + + "ryRequest\0224\n\013update_mask\030\001 \001(\0132\032.google." + + "protobuf.FieldMaskB\003\340A\001\022C\n\nrepository\030\002 " + + "\001(\0132*.google.cloud.dataform.v1alpha2.Rep" + + "ositoryB\003\340A\002\"b\n\027DeleteRepositoryRequest\022" + + "8\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"dataform.googleap" + + "is.com/Repository\022\r\n\005force\030\002 \001(\010\"V\n\032Fetc" + + "hRemoteBranchesRequest\0228\n\004name\030\001 \001(\tB*\340A" + + "\002\372A$\n\"dataform.googleapis.com/Repository" + + "\"/\n\033FetchRemoteBranchesResponse\022\020\n\010branc" + + "hes\030\001 \003(\t\"\241\001\n\tWorkspace\022\021\n\004name\030\001 \001(\tB\003\340" + + "A\003:\200\001\352A}\n!dataform.googleapis.com/Worksp" + + "ace\022Xprojects/{project}/locations/{locat" + + "ion}/repositories/{repository}/workspace" + + "s/{workspace}\"\260\001\n\025ListWorkspacesRequest\022" + + ":\n\006parent\030\001 \001(\tB*\340A\002\372A$\n\"dataform.google" + + "apis.com/Repository\022\026\n\tpage_size\030\002 \001(\005B\003" + + "\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001\022\025\n\010order_by" + + "\030\004 \001(\tB\003\340A\001\022\023\n\006filter\030\005 \001(\tB\003\340A\001\"\205\001\n\026Lis" + + "tWorkspacesResponse\022=\n\nworkspaces\030\001 \003(\0132" + + ").google.cloud.dataform.v1alpha2.Workspa" + + "ce\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unreachab" + + "le\030\003 \003(\t\"N\n\023GetWorkspaceRequest\0227\n\004name\030" + + "\001 \001(\tB)\340A\002\372A#\n!dataform.googleapis.com/W" + + "orkspace\"\262\001\n\026CreateWorkspaceRequest\022:\n\006p" + + "arent\030\001 \001(\tB*\340A\002\372A$\n\"dataform.googleapis" + + ".com/Repository\022A\n\tworkspace\030\002 \001(\0132).goo" + + "gle.cloud.dataform.v1alpha2.WorkspaceB\003\340" + + "A\002\022\031\n\014workspace_id\030\003 \001(\tB\003\340A\002\"Q\n\026DeleteW" + + "orkspaceRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!d" + + "ataform.googleapis.com/Workspace\"=\n\014Comm" + + "itAuthor\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\032\n\remail_add" + + "ress\030\002 \001(\tB\003\340A\002\"\257\001\n\025PullGitCommitsReques" + + "t\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dataform.google" + + "apis.com/Workspace\022\032\n\rremote_branch\030\002 \001(" + + "\tB\003\340A\001\022A\n\006author\030\003 \001(\0132,.google.cloud.da" + + "taform.v1alpha2.CommitAuthorB\003\340A\002\"l\n\025Pus" + + "hGitCommitsRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#" + + "\n!dataform.googleapis.com/Workspace\022\032\n\rr" + + "emote_branch\030\002 \001(\tB\003\340A\001\"V\n\033FetchFileGitS" + + "tatusesRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!da" + + "taform.googleapis.com/Workspace\"\376\002\n\034Fetc" + + "hFileGitStatusesResponse\022t\n\030uncommitted_" + + "file_changes\030\001 \003(\0132R.google.cloud.datafo" + + "rm.v1alpha2.FetchFileGitStatusesResponse" + + ".UncommittedFileChange\032\347\001\n\025UncommittedFi" + + "leChange\022\014\n\004path\030\001 \001(\t\022g\n\005state\030\002 \001(\0162X." + + "google.cloud.dataform.v1alpha2.FetchFile" + + "GitStatusesResponse.UncommittedFileChang" + + "e.State\"W\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022" + + "\t\n\005ADDED\020\001\022\013\n\007DELETED\020\002\022\014\n\010MODIFIED\020\003\022\021\n" + + "\rHAS_CONFLICTS\020\004\"q\n\032FetchGitAheadBehindR" + + "equest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dataform.g" + + "oogleapis.com/Workspace\022\032\n\rremote_branch" + + "\030\002 \001(\tB\003\340A\001\"L\n\033FetchGitAheadBehindRespon" + + "se\022\025\n\rcommits_ahead\030\001 \001(\005\022\026\n\016commits_beh" + + "ind\030\002 \001(\005\"\314\001\n\035CommitWorkspaceChangesRequ" + + "est\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dataform.goog" + + "leapis.com/Workspace\022A\n\006author\030\004 \001(\0132,.g" + + "oogle.cloud.dataform.v1alpha2.CommitAuth" + + "orB\003\340A\002\022\033\n\016commit_message\030\002 \001(\tB\003\340A\001\022\022\n\005" + + "paths\030\003 \003(\tB\003\340A\001\"\177\n\034ResetWorkspaceChange" + + "sRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dataform" + + ".googleapis.com/Workspace\022\022\n\005paths\030\002 \003(\t" + + "B\003\340A\001\022\022\n\005clean\030\003 \001(\010B\003\340A\001\"g\n\024FetchFileDi" + + "ffRequest\022<\n\tworkspace\030\001 \001(\tB)\340A\002\372A#\n!da" + + "taform.googleapis.com/Workspace\022\021\n\004path\030" + + "\002 \001(\tB\003\340A\002\"/\n\025FetchFileDiffResponse\022\026\n\016f" + + "ormatted_diff\030\001 \001(\t\"\241\001\n\035QueryDirectoryCo" + + "ntentsRequest\022<\n\tworkspace\030\001 \001(\tB)\340A\002\372A#" + + "\n!dataform.googleapis.com/Workspace\022\021\n\004p" + + "ath\030\002 \001(\tB\003\340A\001\022\026\n\tpage_size\030\003 \001(\005B\003\340A\001\022\027" + + "\n\npage_token\030\004 \001(\tB\003\340A\001\"\343\001\n\036QueryDirecto" + + "ryContentsResponse\022h\n\021directory_entries\030" + + "\001 \003(\0132M.google.cloud.dataform.v1alpha2.Q" + + "ueryDirectoryContentsResponse.DirectoryE" + + "ntry\022\027\n\017next_page_token\030\002 \001(\t\032>\n\016Directo" + + "ryEntry\022\016\n\004file\030\001 \001(\tH\000\022\023\n\tdirectory\030\002 \001" + + "(\tH\000B\007\n\005entry\"g\n\024MakeDirectoryRequest\022<\n" + + "\tworkspace\030\001 \001(\tB)\340A\002\372A#\n!dataform.googl" + + "eapis.com/Workspace\022\021\n\004path\030\002 \001(\tB\003\340A\002\"\027" + + "\n\025MakeDirectoryResponse\"i\n\026RemoveDirecto" + + "ryRequest\022<\n\tworkspace\030\001 \001(\tB)\340A\002\372A#\n!da" + + "taform.googleapis.com/Workspace\022\021\n\004path\030" + + "\002 \001(\tB\003\340A\002\"~\n\024MoveDirectoryRequest\022<\n\two" + + "rkspace\030\001 \001(\tB)\340A\002\372A#\n!dataform.googleap" + + "is.com/Workspace\022\021\n\004path\030\002 \001(\tB\003\340A\002\022\025\n\010n" + + "ew_path\030\003 \001(\tB\003\340A\002\"\027\n\025MoveDirectoryRespo" + + "nse\"b\n\017ReadFileRequest\022<\n\tworkspace\030\001 \001(" + + "\tB)\340A\002\372A#\n!dataform.googleapis.com/Works" + + "pace\022\021\n\004path\030\002 \001(\tB\003\340A\002\")\n\020ReadFileRespo" + + "nse\022\025\n\rfile_contents\030\001 \001(\014\"d\n\021RemoveFile" + + "Request\022<\n\tworkspace\030\001 \001(\tB)\340A\002\372A#\n!data" + + "form.googleapis.com/Workspace\022\021\n\004path\030\002 " + + "\001(\tB\003\340A\002\"y\n\017MoveFileRequest\022<\n\tworkspace" + + "\030\001 \001(\tB)\340A\002\372A#\n!dataform.googleapis.com/" + + "Workspace\022\021\n\004path\030\002 \001(\tB\003\340A\002\022\025\n\010new_path" + + "\030\003 \001(\tB\003\340A\002\"\022\n\020MoveFileResponse\"z\n\020Write" + + "FileRequest\022<\n\tworkspace\030\001 \001(\tB)\340A\002\372A#\n!" + + "dataform.googleapis.com/Workspace\022\021\n\004pat" + + "h\030\002 \001(\tB\003\340A\002\022\025\n\010contents\030\003 \001(\014B\003\340A\002\"\023\n\021W" + + "riteFileResponse\"Y\n\031InstallNpmPackagesRe" + + "quest\022<\n\tworkspace\030\001 \001(\tB)\340A\002\372A#\n!datafo" + + "rm.googleapis.com/Workspace\"\034\n\032InstallNp" + + "mPackagesResponse\"\265\010\n\021CompilationResult\022" + + "\021\n\004name\030\001 \001(\tB\003\340A\003\022\034\n\rgit_commitish\030\002 \001(" + + "\tB\003\340A\005H\000\022>\n\tworkspace\030\003 \001(\tB)\340A\005\372A#\n!dat" + + "aform.googleapis.com/WorkspaceH\000\022m\n\027code" + + "_compilation_config\030\004 \001(\0132G.google.cloud" + + ".dataform.v1alpha2.CompilationResult.Cod" + + "eCompilationConfigB\003\340A\005\022\"\n\025dataform_core" + + "_version\030\005 \001(\tB\003\340A\003\022c\n\022compilation_error" + + "s\030\006 \003(\0132B.google.cloud.dataform.v1alpha2" + + ".CompilationResult.CompilationErrorB\003\340A\003" + + "\032\371\002\n\025CodeCompilationConfig\022\035\n\020default_da" + + "tabase\030\001 \001(\tB\003\340A\001\022\033\n\016default_schema\030\002 \001(" + + "\tB\003\340A\001\022\035\n\020default_location\030\010 \001(\tB\003\340A\001\022\035\n" + + "\020assertion_schema\030\003 \001(\tB\003\340A\001\022d\n\004vars\030\004 \003" + + "(\0132Q.google.cloud.dataform.v1alpha2.Comp" + + "ilationResult.CodeCompilationConfig.Vars" + + "EntryB\003\340A\001\022\034\n\017database_suffix\030\005 \001(\tB\003\340A\001" + + "\022\032\n\rschema_suffix\030\006 \001(\tB\003\340A\001\022\031\n\014table_pr" + + "efix\030\007 \001(\tB\003\340A\001\032+\n\tVarsEntry\022\013\n\003key\030\001 \001(" + + "\t\022\r\n\005value\030\002 \001(\t:\0028\001\032\223\001\n\020CompilationErro" + + "r\022\024\n\007message\030\001 \001(\tB\003\340A\003\022\022\n\005stack\030\002 \001(\tB\003" + + "\340A\003\022\021\n\004path\030\003 \001(\tB\003\340A\003\022B\n\raction_target\030" + + "\004 \001(\0132&.google.cloud.dataform.v1alpha2.T" + + "argetB\003\340A\003:\232\001\352A\226\001\n)dataform.googleapis.c" + + "om/CompilationResult\022iprojects/{project}" + + "/locations/{location}/repositories/{repo" + + "sitory}/compilationResults/{compilation_" + + "result}B\010\n\006source\"\214\001\n\035ListCompilationRes" + + "ultsRequest\022:\n\006parent\030\001 \001(\tB*\340A\002\372A$\n\"dat" + + "aform.googleapis.com/Repository\022\026\n\tpage_" + + "size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001" + + "\"\236\001\n\036ListCompilationResultsResponse\022N\n\023c" + + "ompilation_results\030\001 \003(\01321.google.cloud." + + "dataform.v1alpha2.CompilationResult\022\027\n\017n" + + "ext_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(" + + "\t\"^\n\033GetCompilationResultRequest\022?\n\004name" + + "\030\001 \001(\tB1\340A\002\372A+\n)dataform.googleapis.com/" + + "CompilationResult\"\260\001\n\036CreateCompilationR" + + "esultRequest\022:\n\006parent\030\001 \001(\tB*\340A\002\372A$\n\"da" + + "taform.googleapis.com/Repository\022R\n\022comp" + + "ilation_result\030\002 \001(\01321.google.cloud.data" + + "form.v1alpha2.CompilationResultB\003\340A\002\"8\n\006" + + "Target\022\020\n\010database\030\001 \001(\t\022\016\n\006schema\030\002 \001(\t" + + "\022\014\n\004name\030\003 \001(\t\"\354\002\n\022RelationDescriptor\022\023\n" + + "\013description\030\001 \001(\t\022T\n\007columns\030\002 \003(\0132C.go" + + "ogle.cloud.dataform.v1alpha2.RelationDes" + + "criptor.ColumnDescriptor\022_\n\017bigquery_lab" + + "els\030\003 \003(\0132F.google.cloud.dataform.v1alph" + + "a2.RelationDescriptor.BigqueryLabelsEntr" + + "y\032S\n\020ColumnDescriptor\022\014\n\004path\030\001 \003(\t\022\023\n\013d" + + "escription\030\002 \001(\t\022\034\n\024bigquery_policy_tags" + + "\030\003 \003(\t\0325\n\023BigqueryLabelsEntry\022\013\n\003key\030\001 \001" + + "(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\344\021\n\027CompilationRes" + + "ultAction\0226\n\006target\030\001 \001(\0132&.google.cloud" + + ".dataform.v1alpha2.Target\022@\n\020canonical_t" + + "arget\030\002 \001(\0132&.google.cloud.dataform.v1al" + + "pha2.Target\022\021\n\tfile_path\030\003 \001(\t\022T\n\010relati" + + "on\030\004 \001(\0132@.google.cloud.dataform.v1alpha" + + "2.CompilationResultAction.RelationH\000\022X\n\n" + + "operations\030\005 \001(\0132B.google.cloud.dataform" + + ".v1alpha2.CompilationResultAction.Operat" + + "ionsH\000\022V\n\tassertion\030\006 \001(\0132A.google.cloud" + + ".dataform.v1alpha2.CompilationResultActi" + + "on.AssertionH\000\022Z\n\013declaration\030\007 \001(\0132C.go" + + "ogle.cloud.dataform.v1alpha2.Compilation" + + "ResultAction.DeclarationH\000\032\343\010\n\010Relation\022" + + "B\n\022dependency_targets\030\001 \003(\0132&.google.clo" + + "ud.dataform.v1alpha2.Target\022\020\n\010disabled\030" + + "\002 \001(\010\022\014\n\004tags\030\003 \003(\t\022O\n\023relation_descript" + + "or\030\004 \001(\01322.google.cloud.dataform.v1alpha" + + "2.RelationDescriptor\022d\n\rrelation_type\030\005 " + + "\001(\0162M.google.cloud.dataform.v1alpha2.Com" + + "pilationResultAction.Relation.RelationTy" + + "pe\022\024\n\014select_query\030\006 \001(\t\022\026\n\016pre_operatio" + + "ns\030\007 \003(\t\022\027\n\017post_operations\030\010 \003(\t\022y\n\030inc" + + "remental_table_config\030\t \001(\0132W.google.clo" + + "ud.dataform.v1alpha2.CompilationResultAc" + + "tion.Relation.IncrementalTableConfig\022\034\n\024" + + "partition_expression\030\n \001(\t\022\033\n\023cluster_ex" + + "pressions\030\013 \003(\t\022!\n\031partition_expiration_" + + "days\030\014 \001(\005\022 \n\030require_partition_filter\030\r" + + " \001(\010\022s\n\022additional_options\030\016 \003(\0132W.googl" + + "e.cloud.dataform.v1alpha2.CompilationRes" + + "ultAction.Relation.AdditionalOptionsEntr" + + "y\032\330\001\n\026IncrementalTableConfig\022 \n\030incremen" + + "tal_select_query\030\001 \001(\t\022\030\n\020refresh_disabl" + + "ed\030\002 \001(\010\022\030\n\020unique_key_parts\030\003 \003(\t\022\037\n\027up" + + "date_partition_filter\030\004 \001(\t\022\"\n\032increment" + + "al_pre_operations\030\005 \003(\t\022#\n\033incremental_p" + + "ost_operations\030\006 \003(\t\0328\n\026AdditionalOption" + + "sEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"p" + + "\n\014RelationType\022\035\n\031RELATION_TYPE_UNSPECIF" + + "IED\020\000\022\t\n\005TABLE\020\001\022\010\n\004VIEW\020\002\022\025\n\021INCREMENTA" + + "L_TABLE\020\003\022\025\n\021MATERIALIZED_VIEW\020\004\032\346\001\n\nOpe" + + "rations\022B\n\022dependency_targets\030\001 \003(\0132&.go" + + "ogle.cloud.dataform.v1alpha2.Target\022\020\n\010d" + + "isabled\030\002 \001(\010\022\014\n\004tags\030\003 \003(\t\022O\n\023relation_" + + "descriptor\030\006 \001(\01322.google.cloud.dataform" + + ".v1alpha2.RelationDescriptor\022\017\n\007queries\030" + + "\004 \003(\t\022\022\n\nhas_output\030\005 \001(\010\032\225\002\n\tAssertion\022" + + "B\n\022dependency_targets\030\001 \003(\0132&.google.clo" + + "ud.dataform.v1alpha2.Target\022=\n\rparent_ac" + + "tion\030\005 \001(\0132&.google.cloud.dataform.v1alp" + + "ha2.Target\022\020\n\010disabled\030\002 \001(\010\022\014\n\004tags\030\003 \003" + + "(\t\022\024\n\014select_query\030\004 \001(\t\022O\n\023relation_des" + + "criptor\030\006 \001(\01322.google.cloud.dataform.v1" + + "alpha2.RelationDescriptor\032^\n\013Declaration" + + "\022O\n\023relation_descriptor\030\001 \001(\01322.google.c" + + "loud.dataform.v1alpha2.RelationDescripto" + + "rB\021\n\017compiled_object\"\255\001\n$QueryCompilatio" + + "nResultActionsRequest\022?\n\004name\030\001 \001(\tB1\340A\002" + + "\372A+\n)dataform.googleapis.com/Compilation" + + "Result\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_t" + + "oken\030\003 \001(\tB\003\340A\001\022\023\n\006filter\030\004 \001(\tB\003\340A\001\"\235\001\n" + + "%QueryCompilationResultActionsResponse\022[" + + "\n\032compilation_result_actions\030\001 \003(\01327.goo" + + "gle.cloud.dataform.v1alpha2.CompilationR" + + "esultAction\022\027\n\017next_page_token\030\002 \001(\t\"\361\006\n" + + "\022WorkflowInvocation\022\021\n\004name\030\001 \001(\tB\003\340A\003\022M" + + "\n\022compilation_result\030\002 \001(\tB1\340A\005\372A+\n)data" + + "form.googleapis.com/CompilationResult\022c\n" + + "\021invocation_config\030\003 \001(\0132C.google.cloud." + + "dataform.v1alpha2.WorkflowInvocation.Inv" + + "ocationConfigB\003\340A\005\022L\n\005state\030\004 \001(\01628.goog" + + "le.cloud.dataform.v1alpha2.WorkflowInvoc" + + "ation.StateB\003\340A\003\0225\n\021invocation_timing\030\005 " + + "\001(\0132\025.google.type.IntervalB\003\340A\003\032\210\002\n\020Invo" + + "cationConfig\022E\n\020included_targets\030\001 \003(\0132&" + + ".google.cloud.dataform.v1alpha2.TargetB\003" + + "\340A\005\022\032\n\rincluded_tags\030\002 \003(\tB\003\340A\005\022-\n trans" + + "itive_dependencies_included\030\003 \001(\010B\003\340A\005\022+" + + "\n\036transitive_dependents_included\030\004 \001(\010B\003" + + "\340A\005\0225\n(fully_refresh_incremental_tables_" + + "enabled\030\005 \001(\010B\003\340A\005\"d\n\005State\022\025\n\021STATE_UNS" + + "PECIFIED\020\000\022\013\n\007RUNNING\020\001\022\r\n\tSUCCEEDED\020\002\022\r" + + "\n\tCANCELLED\020\003\022\n\n\006FAILED\020\004\022\r\n\tCANCELING\020\005" + + ":\235\001\352A\231\001\n*dataform.googleapis.com/Workflo" + + "wInvocation\022kprojects/{project}/location" + + "s/{location}/repositories/{repository}/w" + + "orkflowInvocations/{workflow_invocation}" + + "\"\215\001\n\036ListWorkflowInvocationsRequest\022:\n\006p" + + "arent\030\001 \001(\tB*\340A\002\372A$\n\"dataform.googleapis" + + ".com/Repository\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022" + + "\027\n\npage_token\030\003 \001(\tB\003\340A\001\"\241\001\n\037ListWorkflo" + + "wInvocationsResponse\022P\n\024workflow_invocat" + + "ions\030\001 \003(\01322.google.cloud.dataform.v1alp" + + "ha2.WorkflowInvocation\022\027\n\017next_page_toke" + + "n\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"`\n\034GetWorkf" + + "lowInvocationRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372" + + "A,\n*dataform.googleapis.com/WorkflowInvo" + + "cation\"\263\001\n\037CreateWorkflowInvocationReque" + + "st\022:\n\006parent\030\001 \001(\tB*\340A\002\372A$\n\"dataform.goo" + + "gleapis.com/Repository\022T\n\023workflow_invoc" + + "ation\030\002 \001(\01322.google.cloud.dataform.v1al" + + "pha2.WorkflowInvocationB\003\340A\002\"c\n\037DeleteWo" + + "rkflowInvocationRequest\022@\n\004name\030\001 \001(\tB2\340" + + "A\002\372A,\n*dataform.googleapis.com/WorkflowI" + + "nvocation\"c\n\037CancelWorkflowInvocationReq" + + "uest\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*dataform.goo" + + "gleapis.com/WorkflowInvocation\"\300\004\n\030Workf" + + "lowInvocationAction\022;\n\006target\030\001 \001(\0132&.go" + + "ogle.cloud.dataform.v1alpha2.TargetB\003\340A\003" + + "\022E\n\020canonical_target\030\002 \001(\0132&.google.clou" + + "d.dataform.v1alpha2.TargetB\003\340A\003\022R\n\005state" + + "\030\004 \001(\0162>.google.cloud.dataform.v1alpha2." + + "WorkflowInvocationAction.StateB\003\340A\003\022\033\n\016f" + + "ailure_reason\030\007 \001(\tB\003\340A\003\0225\n\021invocation_t" + + "iming\030\005 \001(\0132\025.google.type.IntervalB\003\340A\003\022" + + "e\n\017bigquery_action\030\006 \001(\0132G.google.cloud." + + "dataform.v1alpha2.WorkflowInvocationActi" + + "on.BigQueryActionB\003\340A\003\032)\n\016BigQueryAction" + + "\022\027\n\nsql_script\030\001 \001(\tB\003\340A\003\"f\n\005State\022\013\n\007PE" + + "NDING\020\000\022\013\n\007RUNNING\020\001\022\013\n\007SKIPPED\020\002\022\014\n\010DIS" + + "ABLED\020\003\022\r\n\tSUCCEEDED\020\004\022\r\n\tCANCELLED\020\005\022\n\n" + + "\006FAILED\020\006\"\232\001\n%QueryWorkflowInvocationAct" + + "ionsRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*dataf" + + "orm.googleapis.com/WorkflowInvocation\022\026\n" + + "\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(" + + "\tB\003\340A\001\"\240\001\n&QueryWorkflowInvocationAction" + + "sResponse\022]\n\033workflow_invocation_actions" + + "\030\001 \003(\01328.google.cloud.dataform.v1alpha2." + + "WorkflowInvocationAction\022\027\n\017next_page_to" + + "ken\030\002 \001(\t2\255?\n\010Dataform\022\316\001\n\020ListRepositor" + + "ies\0227.google.cloud.dataform.v1alpha2.Lis" + + "tRepositoriesRequest\0328.google.cloud.data" + + "form.v1alpha2.ListRepositoriesResponse\"G" + + "\202\323\344\223\0028\0226/v1alpha2/{parent=projects/*/loc" + + "ations/*}/repositories\332A\006parent\022\270\001\n\rGetR" + + "epository\0224.google.cloud.dataform.v1alph" + + "a2.GetRepositoryRequest\032*.google.cloud.d" + + "ataform.v1alpha2.Repository\"E\202\323\344\223\0028\0226/v1" + + "alpha2/{name=projects/*/locations/*/repo" + + "sitories/*}\332A\004name\022\345\001\n\020CreateRepository\022" + + "7.google.cloud.dataform.v1alpha2.CreateR" + + "epositoryRequest\032*.google.cloud.dataform" + + ".v1alpha2.Repository\"l\202\323\344\223\002D\"6/v1alpha2/" + + "{parent=projects/*/locations/*}/reposito" + + "ries:\nrepository\332A\037parent,repository,rep" + + "ository_id\022\347\001\n\020UpdateRepository\0227.google" + + ".cloud.dataform.v1alpha2.UpdateRepositor" + + "yRequest\032*.google.cloud.dataform.v1alpha" + + "2.Repository\"n\202\323\344\223\002O2A/v1alpha2/{reposit" + + "ory.name=projects/*/locations/*/reposito" + + "ries/*}:\nrepository\332A\026repository,update_" + + "mask\022\252\001\n\020DeleteRepository\0227.google.cloud" + + ".dataform.v1alpha2.DeleteRepositoryReque" + + "st\032\026.google.protobuf.Empty\"E\202\323\344\223\0028*6/v1a" + + "lpha2/{name=projects/*/locations/*/repos" + + "itories/*}\332A\004name\022\342\001\n\023FetchRemoteBranche" + + "s\022:.google.cloud.dataform.v1alpha2.Fetch" + + "RemoteBranchesRequest\032;.google.cloud.dat" + + "aform.v1alpha2.FetchRemoteBranchesRespon" + + "se\"R\202\323\344\223\002L\022J/v1alpha2/{name=projects/*/l" + + "ocations/*/repositories/*}:fetchRemoteBr" + + "anches\022\325\001\n\016ListWorkspaces\0225.google.cloud" + + ".dataform.v1alpha2.ListWorkspacesRequest" + + "\0326.google.cloud.dataform.v1alpha2.ListWo" + + "rkspacesResponse\"T\202\323\344\223\002E\022C/v1alpha2/{par" + + "ent=projects/*/locations/*/repositories/" + + "*}/workspaces\332A\006parent\022\302\001\n\014GetWorkspace\022" + + "3.google.cloud.dataform.v1alpha2.GetWork" + + "spaceRequest\032).google.cloud.dataform.v1a" + + "lpha2.Workspace\"R\202\323\344\223\002E\022C/v1alpha2/{name" + + "=projects/*/locations/*/repositories/*/w" + + "orkspaces/*}\332A\004name\022\354\001\n\017CreateWorkspace\022" + + "6.google.cloud.dataform.v1alpha2.CreateW" + + "orkspaceRequest\032).google.cloud.dataform." + + "v1alpha2.Workspace\"v\202\323\344\223\002P\"C/v1alpha2/{p" + + "arent=projects/*/locations/*/repositorie" + + "s/*}/workspaces:\tworkspace\332A\035parent,work" + + "space,workspace_id\022\265\001\n\017DeleteWorkspace\0226" + + ".google.cloud.dataform.v1alpha2.DeleteWo" + + "rkspaceRequest\032\026.google.protobuf.Empty\"R" + + "\202\323\344\223\002E*C/v1alpha2/{name=projects/*/locat" + + "ions/*/repositories/*/workspaces/*}\332A\004na" + + "me\022\363\001\n\022InstallNpmPackages\0229.google.cloud" + + ".dataform.v1alpha2.InstallNpmPackagesReq" + + "uest\032:.google.cloud.dataform.v1alpha2.In" + + "stallNpmPackagesResponse\"f\202\323\344\223\002`\"[/v1alp" + + "ha2/{workspace=projects/*/locations/*/re" + + "positories/*/workspaces/*}:installNpmPac" + + "kages:\001*\022\264\001\n\016PullGitCommits\0225.google.clo" + + "ud.dataform.v1alpha2.PullGitCommitsReque" + + "st\032\026.google.protobuf.Empty\"S\202\323\344\223\002M\"H/v1a" + + "lpha2/{name=projects/*/locations/*/repos" + + "itories/*/workspaces/*}:pull:\001*\022\264\001\n\016Push" + + "GitCommits\0225.google.cloud.dataform.v1alp" + + "ha2.PushGitCommitsRequest\032\026.google.proto" + + "buf.Empty\"S\202\323\344\223\002M\"H/v1alpha2/{name=proje" + + "cts/*/locations/*/repositories/*/workspa" + + "ces/*}:push:\001*\022\363\001\n\024FetchFileGitStatuses\022" + + ";.google.cloud.dataform.v1alpha2.FetchFi" + + "leGitStatusesRequest\032<.google.cloud.data" + + "form.v1alpha2.FetchFileGitStatusesRespon" + + "se\"`\202\323\344\223\002Z\022X/v1alpha2/{name=projects/*/l" + + "ocations/*/repositories/*/workspaces/*}:" + + "fetchFileGitStatuses\022\357\001\n\023FetchGitAheadBe" + + "hind\022:.google.cloud.dataform.v1alpha2.Fe" + + "tchGitAheadBehindRequest\032;.google.cloud." + + "dataform.v1alpha2.FetchGitAheadBehindRes", + "ponse\"_\202\323\344\223\002Y\022W/v1alpha2/{name=projects/" + + "*/locations/*/repositories/*/workspaces/" + + "*}:fetchGitAheadBehind\022\306\001\n\026CommitWorkspa" + + "ceChanges\022=.google.cloud.dataform.v1alph" + + "a2.CommitWorkspaceChangesRequest\032\026.googl" + + "e.protobuf.Empty\"U\202\323\344\223\002O\"J/v1alpha2/{nam" + + "e=projects/*/locations/*/repositories/*/" + + "workspaces/*}:commit:\001*\022\303\001\n\025ResetWorkspa" + + "ceChanges\022<.google.cloud.dataform.v1alph" + + "a2.ResetWorkspaceChangesRequest\032\026.google" + + ".protobuf.Empty\"T\202\323\344\223\002N\"I/v1alpha2/{name" + + "=projects/*/locations/*/repositories/*/w" + + "orkspaces/*}:reset:\001*\022\334\001\n\rFetchFileDiff\022" + + "4.google.cloud.dataform.v1alpha2.FetchFi" + + "leDiffRequest\0325.google.cloud.dataform.v1" + + "alpha2.FetchFileDiffResponse\"^\202\323\344\223\002X\022V/v" + + "1alpha2/{workspace=projects/*/locations/" + + "*/repositories/*/workspaces/*}:fetchFile" + + "Diff\022\200\002\n\026QueryDirectoryContents\022=.google" + + ".cloud.dataform.v1alpha2.QueryDirectoryC" + + "ontentsRequest\032>.google.cloud.dataform.v" + + "1alpha2.QueryDirectoryContentsResponse\"g" + + "\202\323\344\223\002a\022_/v1alpha2/{workspace=projects/*/" + + "locations/*/repositories/*/workspaces/*}" + + ":queryDirectoryContents\022\337\001\n\rMakeDirector" + + "y\0224.google.cloud.dataform.v1alpha2.MakeD" + + "irectoryRequest\0325.google.cloud.dataform." + + "v1alpha2.MakeDirectoryResponse\"a\202\323\344\223\002[\"V" + + "/v1alpha2/{workspace=projects/*/location" + + "s/*/repositories/*/workspaces/*}:makeDir" + + "ectory:\001*\022\306\001\n\017RemoveDirectory\0226.google.c" + + "loud.dataform.v1alpha2.RemoveDirectoryRe" + + "quest\032\026.google.protobuf.Empty\"c\202\323\344\223\002]\"X/" + + "v1alpha2/{workspace=projects/*/locations" + + "/*/repositories/*/workspaces/*}:removeDi" + + "rectory:\001*\022\337\001\n\rMoveDirectory\0224.google.cl" + + "oud.dataform.v1alpha2.MoveDirectoryReque" + + "st\0325.google.cloud.dataform.v1alpha2.Move" + + "DirectoryResponse\"a\202\323\344\223\002[\"V/v1alpha2/{wo" + + "rkspace=projects/*/locations/*/repositor" + + "ies/*/workspaces/*}:moveDirectory:\001*\022\310\001\n" + + "\010ReadFile\022/.google.cloud.dataform.v1alph" + + "a2.ReadFileRequest\0320.google.cloud.datafo" + + "rm.v1alpha2.ReadFileResponse\"Y\202\323\344\223\002S\022Q/v" + + "1alpha2/{workspace=projects/*/locations/" + + "*/repositories/*/workspaces/*}:readFile\022" + + "\267\001\n\nRemoveFile\0221.google.cloud.dataform.v" + + "1alpha2.RemoveFileRequest\032\026.google.proto" + + "buf.Empty\"^\202\323\344\223\002X\"S/v1alpha2/{workspace=" + + "projects/*/locations/*/repositories/*/wo" + + "rkspaces/*}:removeFile:\001*\022\313\001\n\010MoveFile\022/" + + ".google.cloud.dataform.v1alpha2.MoveFile" + + "Request\0320.google.cloud.dataform.v1alpha2" + + ".MoveFileResponse\"\\\202\323\344\223\002V\"Q/v1alpha2/{wo" + + "rkspace=projects/*/locations/*/repositor" + + "ies/*/workspaces/*}:moveFile:\001*\022\317\001\n\tWrit" + + "eFile\0220.google.cloud.dataform.v1alpha2.W" + + "riteFileRequest\0321.google.cloud.dataform." + + "v1alpha2.WriteFileResponse\"]\202\323\344\223\002W\"R/v1a" + + "lpha2/{workspace=projects/*/locations/*/" + + "repositories/*/workspaces/*}:writeFile:\001" + + "*\022\365\001\n\026ListCompilationResults\022=.google.cl" + + "oud.dataform.v1alpha2.ListCompilationRes" + + "ultsRequest\032>.google.cloud.dataform.v1al" + + "pha2.ListCompilationResultsResponse\"\\\202\323\344" + + "\223\002M\022K/v1alpha2/{parent=projects/*/locati" + + "ons/*/repositories/*}/compilationResults" + + "\332A\006parent\022\342\001\n\024GetCompilationResult\022;.goo" + + "gle.cloud.dataform.v1alpha2.GetCompilati" + + "onResultRequest\0321.google.cloud.dataform." + + "v1alpha2.CompilationResult\"Z\202\323\344\223\002M\022K/v1a" + + "lpha2/{name=projects/*/locations/*/repos" + + "itories/*/compilationResults/*}\332A\004name\022\222" + + "\002\n\027CreateCompilationResult\022>.google.clou" + + "d.dataform.v1alpha2.CreateCompilationRes" + + "ultRequest\0321.google.cloud.dataform.v1alp" + + "ha2.CompilationResult\"\203\001\202\323\344\223\002a\"K/v1alpha" + + "2/{parent=projects/*/locations/*/reposit" + + "ories/*}/compilationResults:\022compilation" + + "_result\332A\031parent,compilation_result\022\207\002\n\035" + + "QueryCompilationResultActions\022D.google.c" + + "loud.dataform.v1alpha2.QueryCompilationR" + + "esultActionsRequest\032E.google.cloud.dataf" + + "orm.v1alpha2.QueryCompilationResultActio" + + "nsResponse\"Y\202\323\344\223\002S\022Q/v1alpha2/{name=proj" + + "ects/*/locations/*/repositories/*/compil" + + "ationResults/*}:query\022\371\001\n\027ListWorkflowIn" + + "vocations\022>.google.cloud.dataform.v1alph" + + "a2.ListWorkflowInvocationsRequest\032?.goog" + + "le.cloud.dataform.v1alpha2.ListWorkflowI" + + "nvocationsResponse\"]\202\323\344\223\002N\022L/v1alpha2/{p" + + "arent=projects/*/locations/*/repositorie" + + "s/*}/workflowInvocations\332A\006parent\022\346\001\n\025Ge" + + "tWorkflowInvocation\022<.google.cloud.dataf" + + "orm.v1alpha2.GetWorkflowInvocationReques" + + "t\0322.google.cloud.dataform.v1alpha2.Workf" + + "lowInvocation\"[\202\323\344\223\002N\022L/v1alpha2/{name=p" + + "rojects/*/locations/*/repositories/*/wor" + + "kflowInvocations/*}\332A\004name\022\230\002\n\030CreateWor" + + "kflowInvocation\022?.google.cloud.dataform." + + "v1alpha2.CreateWorkflowInvocationRequest" + + "\0322.google.cloud.dataform.v1alpha2.Workfl" + + "owInvocation\"\206\001\202\323\344\223\002c\"L/v1alpha2/{parent" + + "=projects/*/locations/*/repositories/*}/" + + "workflowInvocations:\023workflow_invocation" + + "\332A\032parent,workflow_invocation\022\320\001\n\030Delete" + + "WorkflowInvocation\022?.google.cloud.datafo" + + "rm.v1alpha2.DeleteWorkflowInvocationRequ" + + "est\032\026.google.protobuf.Empty\"[\202\323\344\223\002N*L/v1" + + "alpha2/{name=projects/*/locations/*/repo" + + "sitories/*/workflowInvocations/*}\332A\004name" + + "\022\323\001\n\030CancelWorkflowInvocation\022?.google.c" + + "loud.dataform.v1alpha2.CancelWorkflowInv" + + "ocationRequest\032\026.google.protobuf.Empty\"^" + + "\202\323\344\223\002X\"S/v1alpha2/{name=projects/*/locat" + + "ions/*/repositories/*/workflowInvocation" + + "s/*}:cancel:\001*\022\213\002\n\036QueryWorkflowInvocati" + + "onActions\022E.google.cloud.dataform.v1alph" + + "a2.QueryWorkflowInvocationActionsRequest" + + "\032F.google.cloud.dataform.v1alpha2.QueryW" + + "orkflowInvocationActionsResponse\"Z\202\323\344\223\002T" + + "\022R/v1alpha2/{name=projects/*/locations/*" + + "/repositories/*/workflowInvocations/*}:q" + + "uery\032K\312A\027dataform.googleapis.com\322A.https" + + "://www.googleapis.com/auth/cloud-platfor" + + "mB\312\002\n\"com.google.cloud.dataform.v1alpha2" + + "B\rDataformProtoP\001ZFgoogle.golang.org/gen" + + "proto/googleapis/cloud/dataform/v1alpha2" + + ";dataform\252\002\036Google.Cloud.Dataform.V1Alph" + + "a2\312\002\036Google\\Cloud\\Dataform\\V1alpha2\352\002!Go" + + "ogle::Cloud::Dataform::V1alpha2\352Ad\n*secr" + + "etmanager.googleapis.com/SecretVersion\0226" + + "projects/{project}/secrets/{secret}/vers" + + "ions/{version}b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.type.IntervalProto.getDescriptor(), + }); + internal_static_google_cloud_dataform_v1alpha2_Repository_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_dataform_v1alpha2_Repository_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_Repository_descriptor, + new java.lang.String[] { "Name", "GitRemoteSettings", }); + internal_static_google_cloud_dataform_v1alpha2_Repository_GitRemoteSettings_descriptor = + internal_static_google_cloud_dataform_v1alpha2_Repository_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataform_v1alpha2_Repository_GitRemoteSettings_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_Repository_GitRemoteSettings_descriptor, + new java.lang.String[] { "Url", "DefaultBranch", "AuthenticationTokenSecretVersion", "TokenStatus", }); + internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", "OrderBy", "Filter", }); + internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesResponse_descriptor, + new java.lang.String[] { "Repositories", "NextPageToken", "Unreachable", }); + internal_static_google_cloud_dataform_v1alpha2_GetRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_dataform_v1alpha2_GetRepositoryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_GetRepositoryRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_dataform_v1alpha2_CreateRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_dataform_v1alpha2_CreateRepositoryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_CreateRepositoryRequest_descriptor, + new java.lang.String[] { "Parent", "Repository", "RepositoryId", }); + internal_static_google_cloud_dataform_v1alpha2_UpdateRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_dataform_v1alpha2_UpdateRepositoryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_UpdateRepositoryRequest_descriptor, + new java.lang.String[] { "UpdateMask", "Repository", }); + internal_static_google_cloud_dataform_v1alpha2_DeleteRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_dataform_v1alpha2_DeleteRepositoryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_DeleteRepositoryRequest_descriptor, + new java.lang.String[] { "Name", "Force", }); + internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesResponse_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesResponse_descriptor, + new java.lang.String[] { "Branches", }); + internal_static_google_cloud_dataform_v1alpha2_Workspace_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_dataform_v1alpha2_Workspace_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_Workspace_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", "OrderBy", "Filter", }); + internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesResponse_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesResponse_descriptor, + new java.lang.String[] { "Workspaces", "NextPageToken", "Unreachable", }); + internal_static_google_cloud_dataform_v1alpha2_GetWorkspaceRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_dataform_v1alpha2_GetWorkspaceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_GetWorkspaceRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_dataform_v1alpha2_CreateWorkspaceRequest_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_dataform_v1alpha2_CreateWorkspaceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_CreateWorkspaceRequest_descriptor, + new java.lang.String[] { "Parent", "Workspace", "WorkspaceId", }); + internal_static_google_cloud_dataform_v1alpha2_DeleteWorkspaceRequest_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_dataform_v1alpha2_DeleteWorkspaceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_DeleteWorkspaceRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_dataform_v1alpha2_CommitAuthor_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_dataform_v1alpha2_CommitAuthor_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_CommitAuthor_descriptor, + new java.lang.String[] { "Name", "EmailAddress", }); + internal_static_google_cloud_dataform_v1alpha2_PullGitCommitsRequest_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_dataform_v1alpha2_PullGitCommitsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_PullGitCommitsRequest_descriptor, + new java.lang.String[] { "Name", "RemoteBranch", "Author", }); + internal_static_google_cloud_dataform_v1alpha2_PushGitCommitsRequest_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_dataform_v1alpha2_PushGitCommitsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_PushGitCommitsRequest_descriptor, + new java.lang.String[] { "Name", "RemoteBranch", }); + internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesRequest_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_descriptor, + new java.lang.String[] { "UncommittedFileChanges", }); + internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_UncommittedFileChange_descriptor = + internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_UncommittedFileChange_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_UncommittedFileChange_descriptor, + new java.lang.String[] { "Path", "State", }); + internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindRequest_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindRequest_descriptor, + new java.lang.String[] { "Name", "RemoteBranch", }); + internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindResponse_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindResponse_descriptor, + new java.lang.String[] { "CommitsAhead", "CommitsBehind", }); + internal_static_google_cloud_dataform_v1alpha2_CommitWorkspaceChangesRequest_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_cloud_dataform_v1alpha2_CommitWorkspaceChangesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_CommitWorkspaceChangesRequest_descriptor, + new java.lang.String[] { "Name", "Author", "CommitMessage", "Paths", }); + internal_static_google_cloud_dataform_v1alpha2_ResetWorkspaceChangesRequest_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_cloud_dataform_v1alpha2_ResetWorkspaceChangesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_ResetWorkspaceChangesRequest_descriptor, + new java.lang.String[] { "Name", "Paths", "Clean", }); + internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffRequest_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffRequest_descriptor, + new java.lang.String[] { "Workspace", "Path", }); + internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffResponse_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffResponse_descriptor, + new java.lang.String[] { "FormattedDiff", }); + internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsRequest_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsRequest_descriptor, + new java.lang.String[] { "Workspace", "Path", "PageSize", "PageToken", }); + internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_descriptor = + getDescriptor().getMessageTypes().get(27); + internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_descriptor, + new java.lang.String[] { "DirectoryEntries", "NextPageToken", }); + internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_DirectoryEntry_descriptor = + internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_DirectoryEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_DirectoryEntry_descriptor, + new java.lang.String[] { "File", "Directory", "Entry", }); + internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryRequest_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryRequest_descriptor, + new java.lang.String[] { "Workspace", "Path", }); + internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryResponse_descriptor = + getDescriptor().getMessageTypes().get(29); + internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryResponse_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_dataform_v1alpha2_RemoveDirectoryRequest_descriptor = + getDescriptor().getMessageTypes().get(30); + internal_static_google_cloud_dataform_v1alpha2_RemoveDirectoryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_RemoveDirectoryRequest_descriptor, + new java.lang.String[] { "Workspace", "Path", }); + internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryRequest_descriptor = + getDescriptor().getMessageTypes().get(31); + internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryRequest_descriptor, + new java.lang.String[] { "Workspace", "Path", "NewPath", }); + internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryResponse_descriptor = + getDescriptor().getMessageTypes().get(32); + internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryResponse_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_dataform_v1alpha2_ReadFileRequest_descriptor = + getDescriptor().getMessageTypes().get(33); + internal_static_google_cloud_dataform_v1alpha2_ReadFileRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_ReadFileRequest_descriptor, + new java.lang.String[] { "Workspace", "Path", }); + internal_static_google_cloud_dataform_v1alpha2_ReadFileResponse_descriptor = + getDescriptor().getMessageTypes().get(34); + internal_static_google_cloud_dataform_v1alpha2_ReadFileResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_ReadFileResponse_descriptor, + new java.lang.String[] { "FileContents", }); + internal_static_google_cloud_dataform_v1alpha2_RemoveFileRequest_descriptor = + getDescriptor().getMessageTypes().get(35); + internal_static_google_cloud_dataform_v1alpha2_RemoveFileRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_RemoveFileRequest_descriptor, + new java.lang.String[] { "Workspace", "Path", }); + internal_static_google_cloud_dataform_v1alpha2_MoveFileRequest_descriptor = + getDescriptor().getMessageTypes().get(36); + internal_static_google_cloud_dataform_v1alpha2_MoveFileRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_MoveFileRequest_descriptor, + new java.lang.String[] { "Workspace", "Path", "NewPath", }); + internal_static_google_cloud_dataform_v1alpha2_MoveFileResponse_descriptor = + getDescriptor().getMessageTypes().get(37); + internal_static_google_cloud_dataform_v1alpha2_MoveFileResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_MoveFileResponse_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_dataform_v1alpha2_WriteFileRequest_descriptor = + getDescriptor().getMessageTypes().get(38); + internal_static_google_cloud_dataform_v1alpha2_WriteFileRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_WriteFileRequest_descriptor, + new java.lang.String[] { "Workspace", "Path", "Contents", }); + internal_static_google_cloud_dataform_v1alpha2_WriteFileResponse_descriptor = + getDescriptor().getMessageTypes().get(39); + internal_static_google_cloud_dataform_v1alpha2_WriteFileResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_WriteFileResponse_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesRequest_descriptor = + getDescriptor().getMessageTypes().get(40); + internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesRequest_descriptor, + new java.lang.String[] { "Workspace", }); + internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesResponse_descriptor = + getDescriptor().getMessageTypes().get(41); + internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesResponse_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_dataform_v1alpha2_CompilationResult_descriptor = + getDescriptor().getMessageTypes().get(42); + internal_static_google_cloud_dataform_v1alpha2_CompilationResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_CompilationResult_descriptor, + new java.lang.String[] { "Name", "GitCommitish", "Workspace", "CodeCompilationConfig", "DataformCoreVersion", "CompilationErrors", "Source", }); + internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_descriptor = + internal_static_google_cloud_dataform_v1alpha2_CompilationResult_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_descriptor, + new java.lang.String[] { "DefaultDatabase", "DefaultSchema", "DefaultLocation", "AssertionSchema", "Vars", "DatabaseSuffix", "SchemaSuffix", "TablePrefix", }); + internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_VarsEntry_descriptor = + internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_VarsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_VarsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CompilationError_descriptor = + internal_static_google_cloud_dataform_v1alpha2_CompilationResult_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CompilationError_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CompilationError_descriptor, + new java.lang.String[] { "Message", "Stack", "Path", "ActionTarget", }); + internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsRequest_descriptor = + getDescriptor().getMessageTypes().get(43); + internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsResponse_descriptor = + getDescriptor().getMessageTypes().get(44); + internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsResponse_descriptor, + new java.lang.String[] { "CompilationResults", "NextPageToken", "Unreachable", }); + internal_static_google_cloud_dataform_v1alpha2_GetCompilationResultRequest_descriptor = + getDescriptor().getMessageTypes().get(45); + internal_static_google_cloud_dataform_v1alpha2_GetCompilationResultRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_GetCompilationResultRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_dataform_v1alpha2_CreateCompilationResultRequest_descriptor = + getDescriptor().getMessageTypes().get(46); + internal_static_google_cloud_dataform_v1alpha2_CreateCompilationResultRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_CreateCompilationResultRequest_descriptor, + new java.lang.String[] { "Parent", "CompilationResult", }); + internal_static_google_cloud_dataform_v1alpha2_Target_descriptor = + getDescriptor().getMessageTypes().get(47); + internal_static_google_cloud_dataform_v1alpha2_Target_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_Target_descriptor, + new java.lang.String[] { "Database", "Schema", "Name", }); + internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_descriptor = + getDescriptor().getMessageTypes().get(48); + internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_descriptor, + new java.lang.String[] { "Description", "Columns", "BigqueryLabels", }); + internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_ColumnDescriptor_descriptor = + internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_ColumnDescriptor_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_ColumnDescriptor_descriptor, + new java.lang.String[] { "Path", "Description", "BigqueryPolicyTags", }); + internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_BigqueryLabelsEntry_descriptor = + internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_BigqueryLabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_BigqueryLabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_descriptor = + getDescriptor().getMessageTypes().get(49); + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_descriptor, + new java.lang.String[] { "Target", "CanonicalTarget", "FilePath", "Relation", "Operations", "Assertion", "Declaration", "CompiledObject", }); + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_descriptor = + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_descriptor, + new java.lang.String[] { "DependencyTargets", "Disabled", "Tags", "RelationDescriptor", "RelationType", "SelectQuery", "PreOperations", "PostOperations", "IncrementalTableConfig", "PartitionExpression", "ClusterExpressions", "PartitionExpirationDays", "RequirePartitionFilter", "AdditionalOptions", }); + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_IncrementalTableConfig_descriptor = + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_IncrementalTableConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_IncrementalTableConfig_descriptor, + new java.lang.String[] { "IncrementalSelectQuery", "RefreshDisabled", "UniqueKeyParts", "UpdatePartitionFilter", "IncrementalPreOperations", "IncrementalPostOperations", }); + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_AdditionalOptionsEntry_descriptor = + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_AdditionalOptionsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_AdditionalOptionsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Operations_descriptor = + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Operations_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Operations_descriptor, + new java.lang.String[] { "DependencyTargets", "Disabled", "Tags", "RelationDescriptor", "Queries", "HasOutput", }); + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Assertion_descriptor = + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Assertion_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Assertion_descriptor, + new java.lang.String[] { "DependencyTargets", "ParentAction", "Disabled", "Tags", "SelectQuery", "RelationDescriptor", }); + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Declaration_descriptor = + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Declaration_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Declaration_descriptor, + new java.lang.String[] { "RelationDescriptor", }); + internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsRequest_descriptor = + getDescriptor().getMessageTypes().get(50); + internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsRequest_descriptor, + new java.lang.String[] { "Name", "PageSize", "PageToken", "Filter", }); + internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsResponse_descriptor = + getDescriptor().getMessageTypes().get(51); + internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsResponse_descriptor, + new java.lang.String[] { "CompilationResultActions", "NextPageToken", }); + internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_descriptor = + getDescriptor().getMessageTypes().get(52); + internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_descriptor, + new java.lang.String[] { "Name", "CompilationResult", "InvocationConfig", "State", "InvocationTiming", }); + internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_InvocationConfig_descriptor = + internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_InvocationConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_InvocationConfig_descriptor, + new java.lang.String[] { "IncludedTargets", "IncludedTags", "TransitiveDependenciesIncluded", "TransitiveDependentsIncluded", "FullyRefreshIncrementalTablesEnabled", }); + internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsRequest_descriptor = + getDescriptor().getMessageTypes().get(53); + internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsResponse_descriptor = + getDescriptor().getMessageTypes().get(54); + internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsResponse_descriptor, + new java.lang.String[] { "WorkflowInvocations", "NextPageToken", "Unreachable", }); + internal_static_google_cloud_dataform_v1alpha2_GetWorkflowInvocationRequest_descriptor = + getDescriptor().getMessageTypes().get(55); + internal_static_google_cloud_dataform_v1alpha2_GetWorkflowInvocationRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_GetWorkflowInvocationRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_dataform_v1alpha2_CreateWorkflowInvocationRequest_descriptor = + getDescriptor().getMessageTypes().get(56); + internal_static_google_cloud_dataform_v1alpha2_CreateWorkflowInvocationRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_CreateWorkflowInvocationRequest_descriptor, + new java.lang.String[] { "Parent", "WorkflowInvocation", }); + internal_static_google_cloud_dataform_v1alpha2_DeleteWorkflowInvocationRequest_descriptor = + getDescriptor().getMessageTypes().get(57); + internal_static_google_cloud_dataform_v1alpha2_DeleteWorkflowInvocationRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_DeleteWorkflowInvocationRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_dataform_v1alpha2_CancelWorkflowInvocationRequest_descriptor = + getDescriptor().getMessageTypes().get(58); + internal_static_google_cloud_dataform_v1alpha2_CancelWorkflowInvocationRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_CancelWorkflowInvocationRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_descriptor = + getDescriptor().getMessageTypes().get(59); + internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_descriptor, + new java.lang.String[] { "Target", "CanonicalTarget", "State", "FailureReason", "InvocationTiming", "BigqueryAction", }); + internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_BigQueryAction_descriptor = + internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_BigQueryAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_BigQueryAction_descriptor, + new java.lang.String[] { "SqlScript", }); + internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsRequest_descriptor = + getDescriptor().getMessageTypes().get(60); + internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsRequest_descriptor, + new java.lang.String[] { "Name", "PageSize", "PageToken", }); + internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsResponse_descriptor = + getDescriptor().getMessageTypes().get(61); + internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsResponse_descriptor, + new java.lang.String[] { "WorkflowInvocationActions", "NextPageToken", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceDefinition); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.type.IntervalProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteRepositoryRequest.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteRepositoryRequest.java similarity index 66% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteRepositoryRequest.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteRepositoryRequest.java index a761baa..14973d8 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteRepositoryRequest.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteRepositoryRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * `DeleteRepository` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.DeleteRepositoryRequest} */ -public final class DeleteRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteRepositoryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.DeleteRepositoryRequest) DeleteRepositoryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteRepositoryRequest.newBuilder() to construct. private DeleteRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteRepositoryRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,25 +53,24 @@ private DeleteRepositoryRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - force_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + case 16: { + + force_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -96,41 +78,34 @@ private DeleteRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_DeleteRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_DeleteRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_DeleteRepositoryRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_DeleteRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest.class, - com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest.class, com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The repository's name.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -139,31 +114,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The repository's name.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -174,8 +147,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int FORCE_FIELD_NUMBER = 2; private boolean force_; /** - * - * *
    * If set to true, any child resources of this repository will also be
    * deleted. (Otherwise, the request will only succeed if the repository has no
@@ -183,7 +154,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * bool force = 2; - * * @return The force. */ @java.lang.Override @@ -192,7 +162,6 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,7 +173,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -224,7 +194,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, force_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, force_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -234,16 +205,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest other = - (com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest) obj; + com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest other = (com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest) obj; - if (!getName().equals(other.getName())) return false; - if (getForce() != other.getForce()) return false; + if (!getName() + .equals(other.getName())) return false; + if (getForce() + != other.getForce()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -258,134 +230,125 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getForce()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `DeleteRepository` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.DeleteRepositoryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.DeleteRepositoryRequest) com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_DeleteRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_DeleteRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_DeleteRepositoryRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_DeleteRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest.class, - com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest.class, com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest.newBuilder() @@ -393,15 +356,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -413,9 +377,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_DeleteRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_DeleteRepositoryRequest_descriptor; } @java.lang.Override @@ -434,8 +398,7 @@ public com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest result = - new com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest(this); + com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest result = new com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest(this); result.name_ = name_; result.force_ = force_; onBuilt(); @@ -446,39 +409,38 @@ public com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest)other); } else { super.mergeFrom(other); return this; @@ -486,8 +448,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -514,8 +475,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -527,22 +487,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The repository's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -551,23 +507,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The repository's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -575,76 +528,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The repository's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The repository's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The repository's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private boolean force_; + private boolean force_ ; /** - * - * *
      * If set to true, any child resources of this repository will also be
      * deleted. (Otherwise, the request will only succeed if the repository has no
@@ -652,7 +590,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * bool force = 2; - * * @return The force. */ @java.lang.Override @@ -660,8 +597,6 @@ public boolean getForce() { return force_; } /** - * - * *
      * If set to true, any child resources of this repository will also be
      * deleted. (Otherwise, the request will only succeed if the repository has no
@@ -669,19 +604,16 @@ public boolean getForce() {
      * 
* * bool force = 2; - * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; onChanged(); return this; } /** - * - * *
      * If set to true, any child resources of this repository will also be
      * deleted. (Otherwise, the request will only succeed if the repository has no
@@ -689,18 +621,17 @@ public Builder setForce(boolean value) {
      * 
* * bool force = 2; - * * @return This builder for chaining. */ public Builder clearForce() { - + force_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -710,12 +641,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.DeleteRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.DeleteRepositoryRequest) private static final com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest(); } @@ -724,16 +655,16 @@ public static com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -748,4 +679,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteRepositoryRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteRepositoryRequestOrBuilder.java new file mode 100644 index 0000000..7aa2cc5 --- /dev/null +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteRepositoryRequestOrBuilder.java @@ -0,0 +1,41 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1alpha2/dataform.proto + +package com.google.cloud.dataform.v1alpha2; + +public interface DeleteRepositoryRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.DeleteRepositoryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The repository's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The repository's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + *
+   * If set to true, any child resources of this repository will also be
+   * deleted. (Otherwise, the request will only succeed if the repository has no
+   * child resources.)
+   * 
+ * + * bool force = 2; + * @return The force. + */ + boolean getForce(); +} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkflowInvocationRequest.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkflowInvocationRequest.java similarity index 60% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkflowInvocationRequest.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkflowInvocationRequest.java index 747917d..c4aea04 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkflowInvocationRequest.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkflowInvocationRequest.java @@ -1,58 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * `DeleteWorkflowInvocation` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest} */ -public final class DeleteWorkflowInvocationRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteWorkflowInvocationRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest) DeleteWorkflowInvocationRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteWorkflowInvocationRequest.newBuilder() to construct. - private DeleteWorkflowInvocationRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteWorkflowInvocationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteWorkflowInvocationRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteWorkflowInvocationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteWorkflowInvocationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,20 +53,19 @@ private DeleteWorkflowInvocationRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,41 +73,34 @@ private DeleteWorkflowInvocationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_DeleteWorkflowInvocationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_DeleteWorkflowInvocationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_DeleteWorkflowInvocationRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_DeleteWorkflowInvocationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest.class, - com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest.class, com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The workflow invocation resource's name.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -135,31 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The workflow invocation resource's name.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -168,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -204,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest other = - (com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest) obj; + com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest other = (com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -232,145 +204,134 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `DeleteWorkflowInvocation` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest) com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_DeleteWorkflowInvocationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_DeleteWorkflowInvocationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_DeleteWorkflowInvocationRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_DeleteWorkflowInvocationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest.class, - com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest.class, com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest.Builder.class); } - // Construct using - // com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest.newBuilder() + // Construct using com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -380,16 +341,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_DeleteWorkflowInvocationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_DeleteWorkflowInvocationRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest - getDefaultInstanceForType() { - return com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest - .getDefaultInstance(); + public com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest getDefaultInstanceForType() { + return com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest.getDefaultInstance(); } @java.lang.Override @@ -403,8 +362,7 @@ public com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest build( @java.lang.Override public com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest result = - new com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest(this); + com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest result = new com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest(this); result.name_ = name_; onBuilt(); return result; @@ -414,51 +372,46 @@ public com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest buildP public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest) { - return mergeFrom( - (com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest other) { - if (other - == com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest other) { + if (other == com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -482,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -496,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The workflow invocation resource's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -520,23 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The workflow invocation resource's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -544,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The workflow invocation resource's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The workflow invocation resource's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The workflow invocation resource's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -621,32 +552,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest) - private static final com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest(); } - public static com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest - getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteWorkflowInvocationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteWorkflowInvocationRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteWorkflowInvocationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteWorkflowInvocationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -658,8 +587,9 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest - getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkflowInvocationRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkflowInvocationRequestOrBuilder.java new file mode 100644 index 0000000..7f6ca0e --- /dev/null +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkflowInvocationRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1alpha2/dataform.proto + +package com.google.cloud.dataform.v1alpha2; + +public interface DeleteWorkflowInvocationRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The workflow invocation resource's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The workflow invocation resource's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkspaceRequest.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkspaceRequest.java similarity index 64% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkspaceRequest.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkspaceRequest.java index 9df4550..e5ad639 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkspaceRequest.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkspaceRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * `DeleteWorkspace` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest} */ -public final class DeleteWorkspaceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteWorkspaceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest) DeleteWorkspaceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteWorkspaceRequest.newBuilder() to construct. private DeleteWorkspaceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteWorkspaceRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteWorkspaceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteWorkspaceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeleteWorkspaceRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private DeleteWorkspaceRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_DeleteWorkspaceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_DeleteWorkspaceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_DeleteWorkspaceRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_DeleteWorkspaceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest.class, - com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest.class, com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The workspace resource's name.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -134,31 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The workspace resource's name.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest other = - (com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest) obj; + com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest other = (com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `DeleteWorkspace` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest) com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_DeleteWorkspaceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_DeleteWorkspaceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_DeleteWorkspaceRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_DeleteWorkspaceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest.class, - com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest.class, com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest.newBuilder() @@ -359,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_DeleteWorkspaceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_DeleteWorkspaceRequest_descriptor; } @java.lang.Override @@ -398,8 +362,7 @@ public com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest result = - new com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest(this); + com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest result = new com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest(this); result.name_ = name_; onBuilt(); return result; @@ -409,39 +372,38 @@ public com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest)other); } else { super.mergeFrom(other); return this; @@ -449,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -474,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -487,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The workspace resource's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -511,23 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The workspace resource's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -535,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The workspace resource's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The workspace resource's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The workspace resource's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -612,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest) private static final com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest(); } @@ -626,16 +566,16 @@ public static com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteWorkspaceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteWorkspaceRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteWorkspaceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteWorkspaceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -650,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkspaceRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkspaceRequestOrBuilder.java new file mode 100644 index 0000000..0e09025 --- /dev/null +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkspaceRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1alpha2/dataform.proto + +package com.google.cloud.dataform.v1alpha2; + +public interface DeleteWorkspaceRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The workspace resource's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The workspace resource's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffRequest.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffRequest.java similarity index 66% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffRequest.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffRequest.java index ffec909..e8bb9f5 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffRequest.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * `FetchFileDiff` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.FetchFileDiffRequest} */ -public final class FetchFileDiffRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class FetchFileDiffRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.FetchFileDiffRequest) FetchFileDiffRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FetchFileDiffRequest.newBuilder() to construct. private FetchFileDiffRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FetchFileDiffRequest() { workspace_ = ""; path_ = ""; @@ -44,15 +26,16 @@ private FetchFileDiffRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FetchFileDiffRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private FetchFileDiffRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private FetchFileDiffRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - workspace_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + workspace_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - path_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + path_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,41 +80,34 @@ private FetchFileDiffRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest.class, - com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest.class, com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest.Builder.class); } public static final int WORKSPACE_FIELD_NUMBER = 1; private volatile java.lang.Object workspace_; /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The workspace. */ @java.lang.Override @@ -142,31 +116,29 @@ public java.lang.String getWorkspace() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; } } /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for workspace. */ @java.lang.Override - public com.google.protobuf.ByteString getWorkspaceBytes() { + public com.google.protobuf.ByteString + getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); workspace_ = b; return b; } else { @@ -177,14 +149,11 @@ public com.google.protobuf.ByteString getWorkspaceBytes() { public static final int PATH_FIELD_NUMBER = 2; private volatile java.lang.Object path_; /** - * - * *
    * Required. The file's full path including filename, relative to the workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The path. */ @java.lang.Override @@ -193,29 +162,29 @@ public java.lang.String getPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } } /** - * - * *
    * Required. The file's full path including filename, relative to the workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for path. */ @java.lang.Override - public com.google.protobuf.ByteString getPathBytes() { + public com.google.protobuf.ByteString + getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); path_ = b; return b; } else { @@ -224,7 +193,6 @@ public com.google.protobuf.ByteString getPathBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -236,7 +204,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workspace_); } @@ -266,16 +235,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest other = - (com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest) obj; + com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest other = (com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest) obj; - if (!getWorkspace().equals(other.getWorkspace())) return false; - if (!getPath().equals(other.getPath())) return false; + if (!getWorkspace() + .equals(other.getWorkspace())) return false; + if (!getPath() + .equals(other.getPath())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -297,127 +267,117 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `FetchFileDiff` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.FetchFileDiffRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.FetchFileDiffRequest) com.google.cloud.dataform.v1alpha2.FetchFileDiffRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest.class, - com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest.class, com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest.newBuilder() @@ -425,15 +385,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -445,9 +406,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffRequest_descriptor; } @java.lang.Override @@ -466,8 +427,7 @@ public com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest result = - new com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest(this); + com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest result = new com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest(this); result.workspace_ = workspace_; result.path_ = path_; onBuilt(); @@ -478,39 +438,38 @@ public com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest)other); } else { super.mergeFrom(other); return this; @@ -518,8 +477,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest.getDefaultInstance()) return this; if (!other.getWorkspace().isEmpty()) { workspace_ = other.workspace_; onChanged(); @@ -547,8 +505,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -560,22 +517,18 @@ public Builder mergeFrom( private java.lang.Object workspace_ = ""; /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The workspace. */ public java.lang.String getWorkspace() { java.lang.Object ref = workspace_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; @@ -584,23 +537,20 @@ public java.lang.String getWorkspace() { } } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for workspace. */ - public com.google.protobuf.ByteString getWorkspaceBytes() { + public com.google.protobuf.ByteString + getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); workspace_ = b; return b; } else { @@ -608,67 +558,54 @@ public com.google.protobuf.ByteString getWorkspaceBytes() { } } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The workspace to set. * @return This builder for chaining. */ - public Builder setWorkspace(java.lang.String value) { + public Builder setWorkspace( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + workspace_ = value; onChanged(); return this; } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearWorkspace() { - + workspace_ = getDefaultInstance().getWorkspace(); onChanged(); return this; } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for workspace to set. * @return This builder for chaining. */ - public Builder setWorkspaceBytes(com.google.protobuf.ByteString value) { + public Builder setWorkspaceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workspace_ = value; onChanged(); return this; @@ -676,20 +613,18 @@ public Builder setWorkspaceBytes(com.google.protobuf.ByteString value) { private java.lang.Object path_ = ""; /** - * - * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; @@ -698,21 +633,20 @@ public java.lang.String getPath() { } } /** - * - * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for path. */ - public com.google.protobuf.ByteString getPathBytes() { + public com.google.protobuf.ByteString + getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); path_ = b; return b; } else { @@ -720,68 +654,61 @@ public com.google.protobuf.ByteString getPathBytes() { } } /** - * - * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath(java.lang.String value) { + public Builder setPath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + path_ = value; onChanged(); return this; } /** - * - * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearPath() { - + path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** - * - * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes(com.google.protobuf.ByteString value) { + public Builder setPathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -791,12 +718,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.FetchFileDiffRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.FetchFileDiffRequest) private static final com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest(); } @@ -805,16 +732,16 @@ public static com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FetchFileDiffRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FetchFileDiffRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FetchFileDiffRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FetchFileDiffRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -829,4 +756,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffRequestOrBuilder.java new file mode 100644 index 0000000..8e6ec1b --- /dev/null +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffRequestOrBuilder.java @@ -0,0 +1,49 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1alpha2/dataform.proto + +package com.google.cloud.dataform.v1alpha2; + +public interface FetchFileDiffRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.FetchFileDiffRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The workspace. + */ + java.lang.String getWorkspace(); + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for workspace. + */ + com.google.protobuf.ByteString + getWorkspaceBytes(); + + /** + *
+   * Required. The file's full path including filename, relative to the workspace root.
+   * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The path. + */ + java.lang.String getPath(); + /** + *
+   * Required. The file's full path including filename, relative to the workspace root.
+   * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for path. + */ + com.google.protobuf.ByteString + getPathBytes(); +} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffResponse.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffResponse.java similarity index 68% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffResponse.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffResponse.java index 1bbff64..9958c78 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffResponse.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffResponse.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * `FetchFileDiff` response message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.FetchFileDiffResponse} */ -public final class FetchFileDiffResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class FetchFileDiffResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.FetchFileDiffResponse) FetchFileDiffResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FetchFileDiffResponse.newBuilder() to construct. private FetchFileDiffResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FetchFileDiffResponse() { formattedDiff_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FetchFileDiffResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private FetchFileDiffResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private FetchFileDiffResponse( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - formattedDiff_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + formattedDiff_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private FetchFileDiffResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse.class, - com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse.class, com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse.Builder.class); } public static final int FORMATTED_DIFF_FIELD_NUMBER = 1; private volatile java.lang.Object formattedDiff_; /** - * - * *
    * The raw formatted Git diff for the file.
    * 
* * string formatted_diff = 1; - * * @return The formattedDiff. */ @java.lang.Override @@ -132,29 +109,29 @@ public java.lang.String getFormattedDiff() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); formattedDiff_ = s; return s; } } /** - * - * *
    * The raw formatted Git diff for the file.
    * 
* * string formatted_diff = 1; - * * @return The bytes for formattedDiff. */ @java.lang.Override - public com.google.protobuf.ByteString getFormattedDiffBytes() { + public com.google.protobuf.ByteString + getFormattedDiffBytes() { java.lang.Object ref = formattedDiff_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); formattedDiff_ = b; return b; } else { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getFormattedDiffBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(formattedDiff_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, formattedDiff_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse other = - (com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse) obj; + com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse other = (com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse) obj; - if (!getFormattedDiff().equals(other.getFormattedDiff())) return false; + if (!getFormattedDiff() + .equals(other.getFormattedDiff())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,127 +204,117 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `FetchFileDiff` response message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.FetchFileDiffResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.FetchFileDiffResponse) com.google.cloud.dataform.v1alpha2.FetchFileDiffResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse.class, - com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse.class, com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse.newBuilder() @@ -355,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -373,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffResponse_descriptor; } @java.lang.Override @@ -394,8 +362,7 @@ public com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse buildPartial() { - com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse result = - new com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse(this); + com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse result = new com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse(this); result.formattedDiff_ = formattedDiff_; onBuilt(); return result; @@ -405,39 +372,38 @@ public com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse)other); } else { super.mergeFrom(other); return this; @@ -445,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse other) { - if (other == com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse.getDefaultInstance()) return this; if (!other.getFormattedDiff().isEmpty()) { formattedDiff_ = other.formattedDiff_; onChanged(); @@ -470,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -483,20 +447,18 @@ public Builder mergeFrom( private java.lang.Object formattedDiff_ = ""; /** - * - * *
      * The raw formatted Git diff for the file.
      * 
* * string formatted_diff = 1; - * * @return The formattedDiff. */ public java.lang.String getFormattedDiff() { java.lang.Object ref = formattedDiff_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); formattedDiff_ = s; return s; @@ -505,21 +467,20 @@ public java.lang.String getFormattedDiff() { } } /** - * - * *
      * The raw formatted Git diff for the file.
      * 
* * string formatted_diff = 1; - * * @return The bytes for formattedDiff. */ - public com.google.protobuf.ByteString getFormattedDiffBytes() { + public com.google.protobuf.ByteString + getFormattedDiffBytes() { java.lang.Object ref = formattedDiff_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); formattedDiff_ = b; return b; } else { @@ -527,68 +488,61 @@ public com.google.protobuf.ByteString getFormattedDiffBytes() { } } /** - * - * *
      * The raw formatted Git diff for the file.
      * 
* * string formatted_diff = 1; - * * @param value The formattedDiff to set. * @return This builder for chaining. */ - public Builder setFormattedDiff(java.lang.String value) { + public Builder setFormattedDiff( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + formattedDiff_ = value; onChanged(); return this; } /** - * - * *
      * The raw formatted Git diff for the file.
      * 
* * string formatted_diff = 1; - * * @return This builder for chaining. */ public Builder clearFormattedDiff() { - + formattedDiff_ = getDefaultInstance().getFormattedDiff(); onChanged(); return this; } /** - * - * *
      * The raw formatted Git diff for the file.
      * 
* * string formatted_diff = 1; - * * @param value The bytes for formattedDiff to set. * @return This builder for chaining. */ - public Builder setFormattedDiffBytes(com.google.protobuf.ByteString value) { + public Builder setFormattedDiffBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + formattedDiff_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -598,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.FetchFileDiffResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.FetchFileDiffResponse) private static final com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse(); } @@ -612,16 +566,16 @@ public static com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FetchFileDiffResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FetchFileDiffResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FetchFileDiffResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FetchFileDiffResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -636,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffResponseOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffResponseOrBuilder.java new file mode 100644 index 0000000..ef29687 --- /dev/null +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffResponseOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1alpha2/dataform.proto + +package com.google.cloud.dataform.v1alpha2; + +public interface FetchFileDiffResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.FetchFileDiffResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The raw formatted Git diff for the file.
+   * 
+ * + * string formatted_diff = 1; + * @return The formattedDiff. + */ + java.lang.String getFormattedDiff(); + /** + *
+   * The raw formatted Git diff for the file.
+   * 
+ * + * string formatted_diff = 1; + * @return The bytes for formattedDiff. + */ + com.google.protobuf.ByteString + getFormattedDiffBytes(); +} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesRequest.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesRequest.java similarity index 62% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesRequest.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesRequest.java index be76a8a..d0c6b09 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesRequest.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * `FetchFileGitStatuses` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest} */ -public final class FetchFileGitStatusesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class FetchFileGitStatusesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest) FetchFileGitStatusesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FetchFileGitStatusesRequest.newBuilder() to construct. private FetchFileGitStatusesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FetchFileGitStatusesRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FetchFileGitStatusesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private FetchFileGitStatusesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private FetchFileGitStatusesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private FetchFileGitStatusesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest.class, - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest.class, com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -134,31 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest other = - (com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest) obj; + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest other = (com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `FetchFileGitStatuses` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest) com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest.class, - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest.class, com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest.newBuilder() @@ -359,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,14 +341,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest - getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest getDefaultInstanceForType() { return com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest.getDefaultInstance(); } @@ -399,8 +362,7 @@ public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest result = - new com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest(this); + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest result = new com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +372,38 @@ public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest)other); } else { super.mergeFrom(other); return this; @@ -450,9 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest other) { - if (other - == com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -476,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -490,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -514,23 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -538,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -615,32 +552,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest) - private static final com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest(); } - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest - getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FetchFileGitStatusesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FetchFileGitStatusesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FetchFileGitStatusesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FetchFileGitStatusesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -652,8 +587,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest - getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesRequestOrBuilder.java new file mode 100644 index 0000000..548bfdc --- /dev/null +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1alpha2/dataform.proto + +package com.google.cloud.dataform.v1alpha2; + +public interface FetchFileGitStatusesRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesResponse.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesResponse.java similarity index 59% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesResponse.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesResponse.java index 3c4c477..4b403ae 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesResponse.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesResponse.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * `FetchFileGitStatuses` response message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse} */ -public final class FetchFileGitStatusesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class FetchFileGitStatusesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse) FetchFileGitStatusesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FetchFileGitStatusesResponse.newBuilder() to construct. private FetchFileGitStatusesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FetchFileGitStatusesResponse() { uncommittedFileChanges_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FetchFileGitStatusesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private FetchFileGitStatusesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,29 +54,22 @@ private FetchFileGitStatusesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - uncommittedFileChanges_ = - new java.util.ArrayList< - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse - .UncommittedFileChange>(); - mutable_bitField0_ |= 0x00000001; - } - uncommittedFileChanges_.add( - input.readMessage( - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse - .UncommittedFileChange.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + uncommittedFileChanges_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + uncommittedFileChanges_.add( + input.readMessage(com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -101,7 +77,8 @@ private FetchFileGitStatusesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { uncommittedFileChanges_ = java.util.Collections.unmodifiableList(uncommittedFileChanges_); @@ -110,102 +87,78 @@ private FetchFileGitStatusesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.class, - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.class, com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.Builder.class); } - public interface UncommittedFileChangeOrBuilder - extends + public interface UncommittedFileChangeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The file's full path including filename, relative to the workspace root.
      * 
* * string path = 1; - * * @return The path. */ java.lang.String getPath(); /** - * - * *
      * The file's full path including filename, relative to the workspace root.
      * 
* * string path = 1; - * * @return The bytes for path. */ - com.google.protobuf.ByteString getPathBytes(); + com.google.protobuf.ByteString + getPathBytes(); /** - * - * *
      * Indicates the status of the file.
      * 
* - * - * .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; - * - * + * .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
      * Indicates the status of the file.
      * 
* - * - * .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; - * - * + * .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; * @return The state. */ - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State - getState(); + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State getState(); } /** - * - * *
    * Represents the Git state of a file with uncommitted changes.
    * 
* - * Protobuf type {@code - * google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange} + * Protobuf type {@code google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange} */ - public static final class UncommittedFileChange extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class UncommittedFileChange extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange) UncommittedFileChangeOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UncommittedFileChange.newBuilder() to construct. private UncommittedFileChange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UncommittedFileChange() { path_ = ""; state_ = 0; @@ -213,15 +166,16 @@ private UncommittedFileChange() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UncommittedFileChange(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UncommittedFileChange( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -240,27 +194,25 @@ private UncommittedFileChange( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - path_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + path_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - state_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + state_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -268,44 +220,36 @@ private UncommittedFileChange( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_UncommittedFileChange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_UncommittedFileChange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_UncommittedFileChange_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_UncommittedFileChange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange - .class, - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange - .Builder.class); + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.class, com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.Builder.class); } /** - * - * *
      * Indicates the status of an uncommitted file change.
      * 
* - * Protobuf enum {@code - * google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State} + * Protobuf enum {@code google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Default value. This value is unused.
        * 
@@ -314,8 +258,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
        * The file has been newly added.
        * 
@@ -324,8 +266,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ ADDED(1), /** - * - * *
        * The file has been deleted.
        * 
@@ -334,8 +274,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ DELETED(2), /** - * - * *
        * The file has been modified.
        * 
@@ -344,8 +282,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ MODIFIED(3), /** - * - * *
        * The file contains merge conflicts.
        * 
@@ -357,8 +293,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * Default value. This value is unused.
        * 
@@ -367,8 +301,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * The file has been newly added.
        * 
@@ -377,8 +309,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ADDED_VALUE = 1; /** - * - * *
        * The file has been deleted.
        * 
@@ -387,8 +317,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELETED_VALUE = 2; /** - * - * *
        * The file has been modified.
        * 
@@ -397,8 +325,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MODIFIED_VALUE = 3; /** - * - * *
        * The file contains merge conflicts.
        * 
@@ -407,6 +333,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HAS_CONFLICTS_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -431,56 +358,51 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: - return STATE_UNSPECIFIED; - case 1: - return ADDED; - case 2: - return DELETED; - case 3: - return MODIFIED; - case 4: - return HAS_CONFLICTS; - default: - return null; + case 0: return STATE_UNSPECIFIED; + case 1: return ADDED; + case 2: return DELETED; + case 3: return MODIFIED; + case 4: return HAS_CONFLICTS; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + State> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange - .getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.getDescriptor().getEnumTypes().get(0); } private static final State[] VALUES = values(); - public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static State valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -500,14 +422,11 @@ private State(int value) { public static final int PATH_FIELD_NUMBER = 1; private volatile java.lang.Object path_; /** - * - * *
      * The file's full path including filename, relative to the workspace root.
      * 
* * string path = 1; - * * @return The path. */ @java.lang.Override @@ -516,29 +435,29 @@ public java.lang.String getPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } } /** - * - * *
      * The file's full path including filename, relative to the workspace root.
      * 
* * string path = 1; - * * @return The bytes for path. */ @java.lang.Override - public com.google.protobuf.ByteString getPathBytes() { + public com.google.protobuf.ByteString + getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); path_ = b; return b; } else { @@ -549,52 +468,31 @@ public com.google.protobuf.ByteString getPathBytes() { public static final int STATE_FIELD_NUMBER = 2; private int state_; /** - * - * *
      * Indicates the status of the file.
      * 
* - * - * .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; - * - * + * .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Indicates the status of the file.
      * 
* - * - * .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; - * - * + * .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; * @return The state. */ - @java.lang.Override - public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange - .State - getState() { + @java.lang.Override public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State - result = - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange - .State.valueOf(state_); - return result == null - ? com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange - .State.UNRECOGNIZED - : result; + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State result = com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State.valueOf(state_); + return result == null ? com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -606,14 +504,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, path_); } - if (state_ - != com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange - .State.STATE_UNSPECIFIED - .getNumber()) { + if (state_ != com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(2, state_); } unknownFields.writeTo(output); @@ -628,11 +524,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, path_); } - if (state_ - != com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange - .State.STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, state_); + if (state_ != com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, state_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -642,18 +536,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange)) { + if (!(obj instanceof com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange other = - (com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange) - obj; + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange other = (com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange) obj; - if (!getPath().equals(other.getPath())) return false; + if (!getPath() + .equals(other.getPath())) return false; if (state_ != other.state_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -675,114 +566,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse - .UncommittedFileChange - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse - .UncommittedFileChange - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse - .UncommittedFileChange - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse - .UncommittedFileChange - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse - .UncommittedFileChange - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse - .UncommittedFileChange - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse - .UncommittedFileChange - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse - .UncommittedFileChange - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse - .UncommittedFileChange - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse - .UncommittedFileChange - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse - .UncommittedFileChange - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse - .UncommittedFileChange - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange - prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -792,53 +657,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Represents the Git state of a file with uncommitted changes.
      * 
* - * Protobuf type {@code - * google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange} + * Protobuf type {@code google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange) - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse - .UncommittedFileChangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_UncommittedFileChange_descriptor; + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChangeOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_UncommittedFileChange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_UncommittedFileChange_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_UncommittedFileChange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse - .UncommittedFileChange.class, - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse - .UncommittedFileChange.Builder.class); + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.class, com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.Builder.class); } - // Construct using - // com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.newBuilder() + // Construct using com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -850,23 +706,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_UncommittedFileChange_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_UncommittedFileChange_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange - getDefaultInstanceForType() { - return com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange - .getDefaultInstance(); + public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange getDefaultInstanceForType() { + return com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange - build() { - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange - result = buildPartial(); + public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange build() { + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -874,12 +726,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange - buildPartial() { - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange - result = - new com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse - .UncommittedFileChange(this); + public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange buildPartial() { + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange result = new com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange(this); result.path_ = path_; result.state_ = state_; onBuilt(); @@ -890,58 +738,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange) { - return mergeFrom( - (com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse - .UncommittedFileChange) - other); + if (other instanceof com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange) { + return mergeFrom((com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange - other) { - if (other - == com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange other) { + if (other == com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.getDefaultInstance()) return this; if (!other.getPath().isEmpty()) { path_ = other.path_; onChanged(); @@ -964,15 +800,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange - parsedMessage = null; + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse - .UncommittedFileChange) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -984,20 +816,18 @@ public Builder mergeFrom( private java.lang.Object path_ = ""; /** - * - * *
        * The file's full path including filename, relative to the workspace root.
        * 
* * string path = 1; - * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; @@ -1006,21 +836,20 @@ public java.lang.String getPath() { } } /** - * - * *
        * The file's full path including filename, relative to the workspace root.
        * 
* * string path = 1; - * * @return The bytes for path. */ - public com.google.protobuf.ByteString getPathBytes() { + public com.google.protobuf.ByteString + getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); path_ = b; return b; } else { @@ -1028,61 +857,54 @@ public com.google.protobuf.ByteString getPathBytes() { } } /** - * - * *
        * The file's full path including filename, relative to the workspace root.
        * 
* * string path = 1; - * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath(java.lang.String value) { + public Builder setPath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + path_ = value; onChanged(); return this; } /** - * - * *
        * The file's full path including filename, relative to the workspace root.
        * 
* * string path = 1; - * * @return This builder for chaining. */ public Builder clearPath() { - + path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** - * - * *
        * The file's full path including filename, relative to the workspace root.
        * 
* * string path = 1; - * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes(com.google.protobuf.ByteString value) { + public Builder setPathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; onChanged(); return this; @@ -1090,115 +912,77 @@ public Builder setPathBytes(com.google.protobuf.ByteString value) { private int state_ = 0; /** - * - * *
        * Indicates the status of the file.
        * 
* - * - * .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; - * - * + * .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
        * Indicates the status of the file.
        * 
* - * - * .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; - * - * + * .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
        * Indicates the status of the file.
        * 
* - * - * .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; - * - * + * .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; * @return The state. */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange - .State - getState() { + public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State - result = - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse - .UncommittedFileChange.State.valueOf(state_); - return result == null - ? com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange - .State.UNRECOGNIZED - : result; + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State result = com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State.valueOf(state_); + return result == null ? com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State.UNRECOGNIZED : result; } /** - * - * *
        * Indicates the status of the file.
        * 
* - * - * .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; - * - * + * .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; * @param value The state to set. * @return This builder for chaining. */ - public Builder setState( - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange - .State - value) { + public Builder setState(com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Indicates the status of the file.
        * 
* - * - * .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; - * - * + * .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1211,36 +995,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange) - private static final com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse - .UncommittedFileChange - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse - .UncommittedFileChange(); + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange(); } - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse - .UncommittedFileChange - getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UncommittedFileChange parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UncommittedFileChange(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UncommittedFileChange parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UncommittedFileChange(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1252,108 +1030,78 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange - getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int UNCOMMITTED_FILE_CHANGES_FIELD_NUMBER = 1; - private java.util.List< - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange> - uncommittedFileChanges_; + private java.util.List uncommittedFileChanges_; /** - * - * *
    * A list of all files which have uncommitted Git changes. There will only be
    * a single entry for any given file.
    * 
* - * - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; - * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; */ @java.lang.Override - public java.util.List< - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange> - getUncommittedFileChangesList() { + public java.util.List getUncommittedFileChangesList() { return uncommittedFileChanges_; } /** - * - * *
    * A list of all files which have uncommitted Git changes. There will only be
    * a single entry for any given file.
    * 
* - * - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; - * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; */ @java.lang.Override - public java.util.List< - ? extends - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse - .UncommittedFileChangeOrBuilder> + public java.util.List getUncommittedFileChangesOrBuilderList() { return uncommittedFileChanges_; } /** - * - * *
    * A list of all files which have uncommitted Git changes. There will only be
    * a single entry for any given file.
    * 
* - * - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; - * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; */ @java.lang.Override public int getUncommittedFileChangesCount() { return uncommittedFileChanges_.size(); } /** - * - * *
    * A list of all files which have uncommitted Git changes. There will only be
    * a single entry for any given file.
    * 
* - * - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; - * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange - getUncommittedFileChanges(int index) { + public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange getUncommittedFileChanges(int index) { return uncommittedFileChanges_.get(index); } /** - * - * *
    * A list of all files which have uncommitted Git changes. There will only be
    * a single entry for any given file.
    * 
* - * - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; - * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse - .UncommittedFileChangeOrBuilder - getUncommittedFileChangesOrBuilder(int index) { + public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChangeOrBuilder getUncommittedFileChangesOrBuilder( + int index) { return uncommittedFileChanges_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1365,7 +1113,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < uncommittedFileChanges_.size(); i++) { output.writeMessage(1, uncommittedFileChanges_.get(i)); } @@ -1379,9 +1128,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < uncommittedFileChanges_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, uncommittedFileChanges_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, uncommittedFileChanges_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1391,16 +1139,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse other = - (com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse) obj; + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse other = (com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse) obj; - if (!getUncommittedFileChangesList().equals(other.getUncommittedFileChangesList())) - return false; + if (!getUncommittedFileChangesList() + .equals(other.getUncommittedFileChangesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1422,127 +1169,117 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `FetchFileGitStatuses` response message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse) com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.class, - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.class, com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.newBuilder() @@ -1550,17 +1287,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getUncommittedFileChangesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1574,14 +1311,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse - getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse getDefaultInstanceForType() { return com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.getDefaultInstance(); } @@ -1596,8 +1332,7 @@ public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse buildPartial() { - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse result = - new com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse(this); + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse result = new com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse(this); int from_bitField0_ = bitField0_; if (uncommittedFileChangesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -1616,50 +1351,46 @@ public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse buildPart public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse other) { - if (other - == com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse other) { + if (other == com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.getDefaultInstance()) return this; if (uncommittedFileChangesBuilder_ == null) { if (!other.uncommittedFileChanges_.isEmpty()) { if (uncommittedFileChanges_.isEmpty()) { @@ -1678,10 +1409,9 @@ public Builder mergeFrom( uncommittedFileChangesBuilder_ = null; uncommittedFileChanges_ = other.uncommittedFileChanges_; bitField0_ = (bitField0_ & ~0x00000001); - uncommittedFileChangesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getUncommittedFileChangesFieldBuilder() - : null; + uncommittedFileChangesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getUncommittedFileChangesFieldBuilder() : null; } else { uncommittedFileChangesBuilder_.addAllMessages(other.uncommittedFileChanges_); } @@ -1706,9 +1436,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1717,46 +1445,29 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private java.util.List< - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange> - uncommittedFileChanges_ = java.util.Collections.emptyList(); - + private java.util.List uncommittedFileChanges_ = + java.util.Collections.emptyList(); private void ensureUncommittedFileChangesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - uncommittedFileChanges_ = - new java.util.ArrayList< - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse - .UncommittedFileChange>(uncommittedFileChanges_); + uncommittedFileChanges_ = new java.util.ArrayList(uncommittedFileChanges_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange, - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange - .Builder, - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse - .UncommittedFileChangeOrBuilder> - uncommittedFileChangesBuilder_; + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange, com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.Builder, com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChangeOrBuilder> uncommittedFileChangesBuilder_; /** - * - * *
      * A list of all files which have uncommitted Git changes. There will only be
      * a single entry for any given file.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; - * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; */ - public java.util.List< - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange> - getUncommittedFileChangesList() { + public java.util.List getUncommittedFileChangesList() { if (uncommittedFileChangesBuilder_ == null) { return java.util.Collections.unmodifiableList(uncommittedFileChanges_); } else { @@ -1764,16 +1475,12 @@ private void ensureUncommittedFileChangesIsMutable() { } } /** - * - * *
      * A list of all files which have uncommitted Git changes. There will only be
      * a single entry for any given file.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; - * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; */ public int getUncommittedFileChangesCount() { if (uncommittedFileChangesBuilder_ == null) { @@ -1783,19 +1490,14 @@ public int getUncommittedFileChangesCount() { } } /** - * - * *
      * A list of all files which have uncommitted Git changes. There will only be
      * a single entry for any given file.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; - * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; */ - public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange - getUncommittedFileChanges(int index) { + public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange getUncommittedFileChanges(int index) { if (uncommittedFileChangesBuilder_ == null) { return uncommittedFileChanges_.get(index); } else { @@ -1803,21 +1505,15 @@ public int getUncommittedFileChangesCount() { } } /** - * - * *
      * A list of all files which have uncommitted Git changes. There will only be
      * a single entry for any given file.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; - * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; */ public Builder setUncommittedFileChanges( - int index, - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange - value) { + int index, com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange value) { if (uncommittedFileChangesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1831,22 +1527,15 @@ public Builder setUncommittedFileChanges( return this; } /** - * - * *
      * A list of all files which have uncommitted Git changes. There will only be
      * a single entry for any given file.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; - * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; */ public Builder setUncommittedFileChanges( - int index, - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange - .Builder - builderForValue) { + int index, com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.Builder builderForValue) { if (uncommittedFileChangesBuilder_ == null) { ensureUncommittedFileChangesIsMutable(); uncommittedFileChanges_.set(index, builderForValue.build()); @@ -1857,20 +1546,14 @@ public Builder setUncommittedFileChanges( return this; } /** - * - * *
      * A list of all files which have uncommitted Git changes. There will only be
      * a single entry for any given file.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; - * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; */ - public Builder addUncommittedFileChanges( - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange - value) { + public Builder addUncommittedFileChanges(com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange value) { if (uncommittedFileChangesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1884,21 +1567,15 @@ public Builder addUncommittedFileChanges( return this; } /** - * - * *
      * A list of all files which have uncommitted Git changes. There will only be
      * a single entry for any given file.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; - * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; */ public Builder addUncommittedFileChanges( - int index, - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange - value) { + int index, com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange value) { if (uncommittedFileChangesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1912,21 +1589,15 @@ public Builder addUncommittedFileChanges( return this; } /** - * - * *
      * A list of all files which have uncommitted Git changes. There will only be
      * a single entry for any given file.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; - * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; */ public Builder addUncommittedFileChanges( - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange - .Builder - builderForValue) { + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.Builder builderForValue) { if (uncommittedFileChangesBuilder_ == null) { ensureUncommittedFileChangesIsMutable(); uncommittedFileChanges_.add(builderForValue.build()); @@ -1937,22 +1608,15 @@ public Builder addUncommittedFileChanges( return this; } /** - * - * *
      * A list of all files which have uncommitted Git changes. There will only be
      * a single entry for any given file.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; - * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; */ public Builder addUncommittedFileChanges( - int index, - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange - .Builder - builderForValue) { + int index, com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.Builder builderForValue) { if (uncommittedFileChangesBuilder_ == null) { ensureUncommittedFileChangesIsMutable(); uncommittedFileChanges_.add(index, builderForValue.build()); @@ -1963,26 +1627,19 @@ public Builder addUncommittedFileChanges( return this; } /** - * - * *
      * A list of all files which have uncommitted Git changes. There will only be
      * a single entry for any given file.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; - * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; */ public Builder addAllUncommittedFileChanges( - java.lang.Iterable< - ? extends - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse - .UncommittedFileChange> - values) { + java.lang.Iterable values) { if (uncommittedFileChangesBuilder_ == null) { ensureUncommittedFileChangesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uncommittedFileChanges_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, uncommittedFileChanges_); onChanged(); } else { uncommittedFileChangesBuilder_.addAllMessages(values); @@ -1990,16 +1647,12 @@ public Builder addAllUncommittedFileChanges( return this; } /** - * - * *
      * A list of all files which have uncommitted Git changes. There will only be
      * a single entry for any given file.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; - * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; */ public Builder clearUncommittedFileChanges() { if (uncommittedFileChangesBuilder_ == null) { @@ -2012,16 +1665,12 @@ public Builder clearUncommittedFileChanges() { return this; } /** - * - * *
      * A list of all files which have uncommitted Git changes. There will only be
      * a single entry for any given file.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; - * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; */ public Builder removeUncommittedFileChanges(int index) { if (uncommittedFileChangesBuilder_ == null) { @@ -2034,60 +1683,42 @@ public Builder removeUncommittedFileChanges(int index) { return this; } /** - * - * *
      * A list of all files which have uncommitted Git changes. There will only be
      * a single entry for any given file.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; - * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; */ - public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange - .Builder - getUncommittedFileChangesBuilder(int index) { + public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.Builder getUncommittedFileChangesBuilder( + int index) { return getUncommittedFileChangesFieldBuilder().getBuilder(index); } /** - * - * *
      * A list of all files which have uncommitted Git changes. There will only be
      * a single entry for any given file.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; - * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; */ - public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse - .UncommittedFileChangeOrBuilder - getUncommittedFileChangesOrBuilder(int index) { + public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChangeOrBuilder getUncommittedFileChangesOrBuilder( + int index) { if (uncommittedFileChangesBuilder_ == null) { - return uncommittedFileChanges_.get(index); - } else { + return uncommittedFileChanges_.get(index); } else { return uncommittedFileChangesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * A list of all files which have uncommitted Git changes. There will only be
      * a single entry for any given file.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; - * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; */ - public java.util.List< - ? extends - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse - .UncommittedFileChangeOrBuilder> - getUncommittedFileChangesOrBuilderList() { + public java.util.List + getUncommittedFileChangesOrBuilderList() { if (uncommittedFileChangesBuilder_ != null) { return uncommittedFileChangesBuilder_.getMessageOrBuilderList(); } else { @@ -2095,81 +1726,48 @@ public Builder removeUncommittedFileChanges(int index) { } } /** - * - * *
      * A list of all files which have uncommitted Git changes. There will only be
      * a single entry for any given file.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; - * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; */ - public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange - .Builder - addUncommittedFileChangesBuilder() { - return getUncommittedFileChangesFieldBuilder() - .addBuilder( - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange - .getDefaultInstance()); + public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.Builder addUncommittedFileChangesBuilder() { + return getUncommittedFileChangesFieldBuilder().addBuilder( + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.getDefaultInstance()); } /** - * - * *
      * A list of all files which have uncommitted Git changes. There will only be
      * a single entry for any given file.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; - * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; */ - public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange - .Builder - addUncommittedFileChangesBuilder(int index) { - return getUncommittedFileChangesFieldBuilder() - .addBuilder( - index, - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange - .getDefaultInstance()); + public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.Builder addUncommittedFileChangesBuilder( + int index) { + return getUncommittedFileChangesFieldBuilder().addBuilder( + index, com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.getDefaultInstance()); } /** - * - * *
      * A list of all files which have uncommitted Git changes. There will only be
      * a single entry for any given file.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; - * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; */ - public java.util.List< - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange - .Builder> - getUncommittedFileChangesBuilderList() { + public java.util.List + getUncommittedFileChangesBuilderList() { return getUncommittedFileChangesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange, - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange - .Builder, - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse - .UncommittedFileChangeOrBuilder> + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange, com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.Builder, com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChangeOrBuilder> getUncommittedFileChangesFieldBuilder() { if (uncommittedFileChangesBuilder_ == null) { - uncommittedFileChangesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse - .UncommittedFileChange, - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse - .UncommittedFileChange.Builder, - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse - .UncommittedFileChangeOrBuilder>( + uncommittedFileChangesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange, com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.Builder, com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChangeOrBuilder>( uncommittedFileChanges_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -2178,9 +1776,9 @@ public Builder removeUncommittedFileChanges(int index) { } return uncommittedFileChangesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2190,32 +1788,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse) - private static final com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse(); } - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse - getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FetchFileGitStatusesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FetchFileGitStatusesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FetchFileGitStatusesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FetchFileGitStatusesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2227,8 +1823,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse - getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesResponseOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesResponseOrBuilder.java new file mode 100644 index 0000000..ef6510b --- /dev/null +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesResponseOrBuilder.java @@ -0,0 +1,58 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1alpha2/dataform.proto + +package com.google.cloud.dataform.v1alpha2; + +public interface FetchFileGitStatusesResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * A list of all files which have uncommitted Git changes. There will only be
+   * a single entry for any given file.
+   * 
+ * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + */ + java.util.List + getUncommittedFileChangesList(); + /** + *
+   * A list of all files which have uncommitted Git changes. There will only be
+   * a single entry for any given file.
+   * 
+ * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + */ + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange getUncommittedFileChanges(int index); + /** + *
+   * A list of all files which have uncommitted Git changes. There will only be
+   * a single entry for any given file.
+   * 
+ * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + */ + int getUncommittedFileChangesCount(); + /** + *
+   * A list of all files which have uncommitted Git changes. There will only be
+   * a single entry for any given file.
+   * 
+ * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + */ + java.util.List + getUncommittedFileChangesOrBuilderList(); + /** + *
+   * A list of all files which have uncommitted Git changes. There will only be
+   * a single entry for any given file.
+   * 
+ * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + */ + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChangeOrBuilder getUncommittedFileChangesOrBuilder( + int index); +} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindRequest.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindRequest.java similarity index 66% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindRequest.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindRequest.java index 11b02de..3843a2c 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindRequest.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * `FetchGitAheadBehind` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest} */ -public final class FetchGitAheadBehindRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class FetchGitAheadBehindRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest) FetchGitAheadBehindRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FetchGitAheadBehindRequest.newBuilder() to construct. private FetchGitAheadBehindRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FetchGitAheadBehindRequest() { name_ = ""; remoteBranch_ = ""; @@ -44,15 +26,16 @@ private FetchGitAheadBehindRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FetchGitAheadBehindRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private FetchGitAheadBehindRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private FetchGitAheadBehindRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - remoteBranch_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + remoteBranch_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,41 +80,34 @@ private FetchGitAheadBehindRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest.class, - com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest.class, com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -142,31 +116,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -177,8 +149,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int REMOTE_BRANCH_FIELD_NUMBER = 2; private volatile java.lang.Object remoteBranch_; /** - * - * *
    * Optional. The name of the branch in the Git remote against which this workspace
    * should be compared. If left unset, the repository's default branch name
@@ -186,7 +156,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The remoteBranch. */ @java.lang.Override @@ -195,15 +164,14 @@ public java.lang.String getRemoteBranch() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); remoteBranch_ = s; return s; } } /** - * - * *
    * Optional. The name of the branch in the Git remote against which this workspace
    * should be compared. If left unset, the repository's default branch name
@@ -211,15 +179,16 @@ public java.lang.String getRemoteBranch() {
    * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for remoteBranch. */ @java.lang.Override - public com.google.protobuf.ByteString getRemoteBranchBytes() { + public com.google.protobuf.ByteString + getRemoteBranchBytes() { java.lang.Object ref = remoteBranch_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); remoteBranch_ = b; return b; } else { @@ -228,7 +197,6 @@ public com.google.protobuf.ByteString getRemoteBranchBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -240,7 +208,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -270,16 +239,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest other = - (com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest) obj; + com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest other = (com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getRemoteBranch().equals(other.getRemoteBranch())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getRemoteBranch() + .equals(other.getRemoteBranch())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -301,127 +271,117 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `FetchGitAheadBehind` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest) com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest.class, - com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest.class, com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest.newBuilder() @@ -429,15 +389,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -449,14 +410,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest - getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest getDefaultInstanceForType() { return com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest.getDefaultInstance(); } @@ -471,8 +431,7 @@ public com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest result = - new com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest(this); + com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest result = new com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest(this); result.name_ = name_; result.remoteBranch_ = remoteBranch_; onBuilt(); @@ -483,39 +442,38 @@ public com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest)other); } else { super.mergeFrom(other); return this; @@ -523,9 +481,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest other) { - if (other - == com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -553,9 +509,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -567,22 +521,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -591,23 +541,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -615,67 +562,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -683,8 +617,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object remoteBranch_ = ""; /** - * - * *
      * Optional. The name of the branch in the Git remote against which this workspace
      * should be compared. If left unset, the repository's default branch name
@@ -692,13 +624,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The remoteBranch. */ public java.lang.String getRemoteBranch() { java.lang.Object ref = remoteBranch_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); remoteBranch_ = s; return s; @@ -707,8 +639,6 @@ public java.lang.String getRemoteBranch() { } } /** - * - * *
      * Optional. The name of the branch in the Git remote against which this workspace
      * should be compared. If left unset, the repository's default branch name
@@ -716,14 +646,15 @@ public java.lang.String getRemoteBranch() {
      * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for remoteBranch. */ - public com.google.protobuf.ByteString getRemoteBranchBytes() { + public com.google.protobuf.ByteString + getRemoteBranchBytes() { java.lang.Object ref = remoteBranch_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); remoteBranch_ = b; return b; } else { @@ -731,8 +662,6 @@ public com.google.protobuf.ByteString getRemoteBranchBytes() { } } /** - * - * *
      * Optional. The name of the branch in the Git remote against which this workspace
      * should be compared. If left unset, the repository's default branch name
@@ -740,22 +669,20 @@ public com.google.protobuf.ByteString getRemoteBranchBytes() {
      * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The remoteBranch to set. * @return This builder for chaining. */ - public Builder setRemoteBranch(java.lang.String value) { + public Builder setRemoteBranch( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + remoteBranch_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The name of the branch in the Git remote against which this workspace
      * should be compared. If left unset, the repository's default branch name
@@ -763,18 +690,15 @@ public Builder setRemoteBranch(java.lang.String value) {
      * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRemoteBranch() { - + remoteBranch_ = getDefaultInstance().getRemoteBranch(); onChanged(); return this; } /** - * - * *
      * Optional. The name of the branch in the Git remote against which this workspace
      * should be compared. If left unset, the repository's default branch name
@@ -782,23 +706,23 @@ public Builder clearRemoteBranch() {
      * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for remoteBranch to set. * @return This builder for chaining. */ - public Builder setRemoteBranchBytes(com.google.protobuf.ByteString value) { + public Builder setRemoteBranchBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + remoteBranch_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -808,13 +732,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest) - private static final com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest(); } @@ -823,16 +746,16 @@ public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FetchGitAheadBehindRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FetchGitAheadBehindRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FetchGitAheadBehindRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FetchGitAheadBehindRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -847,4 +770,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindRequestOrBuilder.java similarity index 54% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindRequestOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindRequestOrBuilder.java index 04a9d23..23887fa 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface FetchGitAheadBehindRequestOrBuilder - extends +public interface FetchGitAheadBehindRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Optional. The name of the branch in the Git remote against which this workspace
    * should be compared. If left unset, the repository's default branch name
@@ -62,13 +35,10 @@ public interface FetchGitAheadBehindRequestOrBuilder
    * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The remoteBranch. */ java.lang.String getRemoteBranch(); /** - * - * *
    * Optional. The name of the branch in the Git remote against which this workspace
    * should be compared. If left unset, the repository's default branch name
@@ -76,8 +46,8 @@ public interface FetchGitAheadBehindRequestOrBuilder
    * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for remoteBranch. */ - com.google.protobuf.ByteString getRemoteBranchBytes(); + com.google.protobuf.ByteString + getRemoteBranchBytes(); } diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindResponse.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindResponse.java similarity index 67% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindResponse.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindResponse.java index 2162aff..f42a000 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindResponse.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindResponse.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * `FetchGitAheadBehind` response message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse} */ -public final class FetchGitAheadBehindResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class FetchGitAheadBehindResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse) FetchGitAheadBehindResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FetchGitAheadBehindResponse.newBuilder() to construct. private FetchGitAheadBehindResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private FetchGitAheadBehindResponse() {} + private FetchGitAheadBehindResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FetchGitAheadBehindResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private FetchGitAheadBehindResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,23 +52,23 @@ private FetchGitAheadBehindResponse( case 0: done = true; break; - case 8: - { - commitsAhead_ = input.readInt32(); - break; - } - case 16: - { - commitsBehind_ = input.readInt32(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 8: { + + commitsAhead_ = input.readInt32(); + break; + } + case 16: { + + commitsBehind_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,39 +76,34 @@ private FetchGitAheadBehindResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse.class, - com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse.class, com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse.Builder.class); } public static final int COMMITS_AHEAD_FIELD_NUMBER = 1; private int commitsAhead_; /** - * - * *
    * The number of commits in the remote branch that are not in the workspace.
    * 
* * int32 commits_ahead = 1; - * * @return The commitsAhead. */ @java.lang.Override @@ -135,14 +114,11 @@ public int getCommitsAhead() { public static final int COMMITS_BEHIND_FIELD_NUMBER = 2; private int commitsBehind_; /** - * - * *
    * The number of commits in the workspace that are not in the remote branch.
    * 
* * int32 commits_behind = 2; - * * @return The commitsBehind. */ @java.lang.Override @@ -151,7 +127,6 @@ public int getCommitsBehind() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -163,7 +138,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (commitsAhead_ != 0) { output.writeInt32(1, commitsAhead_); } @@ -180,10 +156,12 @@ public int getSerializedSize() { size = 0; if (commitsAhead_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, commitsAhead_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, commitsAhead_); } if (commitsBehind_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, commitsBehind_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, commitsBehind_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -193,16 +171,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse other = - (com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse) obj; + com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse other = (com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse) obj; - if (getCommitsAhead() != other.getCommitsAhead()) return false; - if (getCommitsBehind() != other.getCommitsBehind()) return false; + if (getCommitsAhead() + != other.getCommitsAhead()) return false; + if (getCommitsBehind() + != other.getCommitsBehind()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -224,127 +203,117 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `FetchGitAheadBehind` response message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse) com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse.class, - com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse.class, com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse.newBuilder() @@ -352,15 +321,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -372,14 +342,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindResponse_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse - getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse getDefaultInstanceForType() { return com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse.getDefaultInstance(); } @@ -394,8 +363,7 @@ public com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse buildPartial() { - com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse result = - new com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse(this); + com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse result = new com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse(this); result.commitsAhead_ = commitsAhead_; result.commitsBehind_ = commitsBehind_; onBuilt(); @@ -406,39 +374,38 @@ public com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse)other); } else { super.mergeFrom(other); return this; @@ -446,9 +413,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse other) { - if (other - == com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse.getDefaultInstance()) return this; if (other.getCommitsAhead() != 0) { setCommitsAhead(other.getCommitsAhead()); } @@ -474,9 +439,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -486,16 +449,13 @@ public Builder mergeFrom( return this; } - private int commitsAhead_; + private int commitsAhead_ ; /** - * - * *
      * The number of commits in the remote branch that are not in the workspace.
      * 
* * int32 commits_ahead = 1; - * * @return The commitsAhead. */ @java.lang.Override @@ -503,51 +463,42 @@ public int getCommitsAhead() { return commitsAhead_; } /** - * - * *
      * The number of commits in the remote branch that are not in the workspace.
      * 
* * int32 commits_ahead = 1; - * * @param value The commitsAhead to set. * @return This builder for chaining. */ public Builder setCommitsAhead(int value) { - + commitsAhead_ = value; onChanged(); return this; } /** - * - * *
      * The number of commits in the remote branch that are not in the workspace.
      * 
* * int32 commits_ahead = 1; - * * @return This builder for chaining. */ public Builder clearCommitsAhead() { - + commitsAhead_ = 0; onChanged(); return this; } - private int commitsBehind_; + private int commitsBehind_ ; /** - * - * *
      * The number of commits in the workspace that are not in the remote branch.
      * 
* * int32 commits_behind = 2; - * * @return The commitsBehind. */ @java.lang.Override @@ -555,43 +506,37 @@ public int getCommitsBehind() { return commitsBehind_; } /** - * - * *
      * The number of commits in the workspace that are not in the remote branch.
      * 
* * int32 commits_behind = 2; - * * @param value The commitsBehind to set. * @return This builder for chaining. */ public Builder setCommitsBehind(int value) { - + commitsBehind_ = value; onChanged(); return this; } /** - * - * *
      * The number of commits in the workspace that are not in the remote branch.
      * 
* * int32 commits_behind = 2; - * * @return This builder for chaining. */ public Builder clearCommitsBehind() { - + commitsBehind_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -601,32 +546,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse) - private static final com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse(); } - public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse - getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FetchGitAheadBehindResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FetchGitAheadBehindResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FetchGitAheadBehindResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FetchGitAheadBehindResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -638,8 +581,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse - getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindResponseOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindResponseOrBuilder.java similarity index 52% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindResponseOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindResponseOrBuilder.java index 1dccdb2..8fd4119 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindResponseOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindResponseOrBuilder.java @@ -1,50 +1,28 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface FetchGitAheadBehindResponseOrBuilder - extends +public interface FetchGitAheadBehindResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The number of commits in the remote branch that are not in the workspace.
    * 
* * int32 commits_ahead = 1; - * * @return The commitsAhead. */ int getCommitsAhead(); /** - * - * *
    * The number of commits in the workspace that are not in the remote branch.
    * 
* * int32 commits_behind = 2; - * * @return The commitsBehind. */ int getCommitsBehind(); diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesRequest.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesRequest.java similarity index 63% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesRequest.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesRequest.java index 7bb8057..2385ee9 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesRequest.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * `FetchRemoteBranches` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest} */ -public final class FetchRemoteBranchesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class FetchRemoteBranchesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest) FetchRemoteBranchesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FetchRemoteBranchesRequest.newBuilder() to construct. private FetchRemoteBranchesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FetchRemoteBranchesRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FetchRemoteBranchesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private FetchRemoteBranchesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private FetchRemoteBranchesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private FetchRemoteBranchesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest.class, - com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest.class, com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The repository's name.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -134,31 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The repository's name.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest other = - (com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest) obj; + com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest other = (com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `FetchRemoteBranches` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest) com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest.class, - com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest.class, com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest.newBuilder() @@ -359,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,14 +341,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest - getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest getDefaultInstanceForType() { return com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest.getDefaultInstance(); } @@ -399,8 +362,7 @@ public com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest result = - new com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest(this); + com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest result = new com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +372,38 @@ public com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest)other); } else { super.mergeFrom(other); return this; @@ -450,9 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest other) { - if (other - == com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -476,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -490,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The repository's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -514,23 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The repository's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -538,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The repository's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The repository's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The repository's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -615,13 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest) - private static final com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest(); } @@ -630,16 +566,16 @@ public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FetchRemoteBranchesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FetchRemoteBranchesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FetchRemoteBranchesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FetchRemoteBranchesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -654,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesRequestOrBuilder.java new file mode 100644 index 0000000..bb595d9 --- /dev/null +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1alpha2/dataform.proto + +package com.google.cloud.dataform.v1alpha2; + +public interface FetchRemoteBranchesRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The repository's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The repository's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesResponse.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesResponse.java similarity index 67% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesResponse.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesResponse.java index e042ba5..f32fb14 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesResponse.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesResponse.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * `FetchRemoteBranches` response message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse} */ -public final class FetchRemoteBranchesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class FetchRemoteBranchesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse) FetchRemoteBranchesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FetchRemoteBranchesResponse.newBuilder() to construct. private FetchRemoteBranchesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FetchRemoteBranchesResponse() { branches_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FetchRemoteBranchesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private FetchRemoteBranchesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,23 +54,22 @@ private FetchRemoteBranchesResponse( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - branches_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - branches_.add(s); - break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + branches_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + branches_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -95,7 +77,8 @@ private FetchRemoteBranchesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { branches_ = branches_.getUnmodifiableView(); @@ -104,61 +87,50 @@ private FetchRemoteBranchesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse.class, - com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse.class, com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse.Builder.class); } public static final int BRANCHES_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList branches_; /** - * - * *
    * The remote repository's branch names.
    * 
* * repeated string branches = 1; - * * @return A list containing the branches. */ - public com.google.protobuf.ProtocolStringList getBranchesList() { + public com.google.protobuf.ProtocolStringList + getBranchesList() { return branches_; } /** - * - * *
    * The remote repository's branch names.
    * 
* * repeated string branches = 1; - * * @return The count of branches. */ public int getBranchesCount() { return branches_.size(); } /** - * - * *
    * The remote repository's branch names.
    * 
* * repeated string branches = 1; - * * @param index The index of the element to return. * @return The branches at the given index. */ @@ -166,23 +138,20 @@ public java.lang.String getBranches(int index) { return branches_.get(index); } /** - * - * *
    * The remote repository's branch names.
    * 
* * repeated string branches = 1; - * * @param index The index of the value to return. * @return The bytes of the branches at the given index. */ - public com.google.protobuf.ByteString getBranchesBytes(int index) { + public com.google.protobuf.ByteString + getBranchesBytes(int index) { return branches_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -194,7 +163,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < branches_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, branches_.getRaw(i)); } @@ -223,15 +193,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse other = - (com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse) obj; + com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse other = (com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse) obj; - if (!getBranchesList().equals(other.getBranchesList())) return false; + if (!getBranchesList() + .equals(other.getBranchesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -253,127 +223,117 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `FetchRemoteBranches` response message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse) com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse.class, - com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse.class, com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse.newBuilder() @@ -381,15 +341,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -399,14 +360,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesResponse_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse - getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse getDefaultInstanceForType() { return com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse.getDefaultInstance(); } @@ -421,8 +381,7 @@ public com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse buildPartial() { - com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse result = - new com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse(this); + com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse result = new com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { branches_ = branches_.getUnmodifiableView(); @@ -437,39 +396,38 @@ public com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse)other); } else { super.mergeFrom(other); return this; @@ -477,9 +435,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse other) { - if (other - == com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse.getDefaultInstance()) return this; if (!other.branches_.isEmpty()) { if (branches_.isEmpty()) { branches_ = other.branches_; @@ -509,9 +465,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -520,55 +474,44 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList branches_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList branches_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureBranchesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { branches_ = new com.google.protobuf.LazyStringArrayList(branches_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * The remote repository's branch names.
      * 
* * repeated string branches = 1; - * * @return A list containing the branches. */ - public com.google.protobuf.ProtocolStringList getBranchesList() { + public com.google.protobuf.ProtocolStringList + getBranchesList() { return branches_.getUnmodifiableView(); } /** - * - * *
      * The remote repository's branch names.
      * 
* * repeated string branches = 1; - * * @return The count of branches. */ public int getBranchesCount() { return branches_.size(); } /** - * - * *
      * The remote repository's branch names.
      * 
* * repeated string branches = 1; - * * @param index The index of the element to return. * @return The branches at the given index. */ @@ -576,90 +519,80 @@ public java.lang.String getBranches(int index) { return branches_.get(index); } /** - * - * *
      * The remote repository's branch names.
      * 
* * repeated string branches = 1; - * * @param index The index of the value to return. * @return The bytes of the branches at the given index. */ - public com.google.protobuf.ByteString getBranchesBytes(int index) { + public com.google.protobuf.ByteString + getBranchesBytes(int index) { return branches_.getByteString(index); } /** - * - * *
      * The remote repository's branch names.
      * 
* * repeated string branches = 1; - * * @param index The index to set the value at. * @param value The branches to set. * @return This builder for chaining. */ - public Builder setBranches(int index, java.lang.String value) { + public Builder setBranches( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureBranchesIsMutable(); + throw new NullPointerException(); + } + ensureBranchesIsMutable(); branches_.set(index, value); onChanged(); return this; } /** - * - * *
      * The remote repository's branch names.
      * 
* * repeated string branches = 1; - * * @param value The branches to add. * @return This builder for chaining. */ - public Builder addBranches(java.lang.String value) { + public Builder addBranches( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureBranchesIsMutable(); + throw new NullPointerException(); + } + ensureBranchesIsMutable(); branches_.add(value); onChanged(); return this; } /** - * - * *
      * The remote repository's branch names.
      * 
* * repeated string branches = 1; - * * @param values The branches to add. * @return This builder for chaining. */ - public Builder addAllBranches(java.lang.Iterable values) { + public Builder addAllBranches( + java.lang.Iterable values) { ensureBranchesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, branches_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, branches_); onChanged(); return this; } /** - * - * *
      * The remote repository's branch names.
      * 
* * repeated string branches = 1; - * * @return This builder for chaining. */ public Builder clearBranches() { @@ -669,30 +602,28 @@ public Builder clearBranches() { return this; } /** - * - * *
      * The remote repository's branch names.
      * 
* * repeated string branches = 1; - * * @param value The bytes of the branches to add. * @return This builder for chaining. */ - public Builder addBranchesBytes(com.google.protobuf.ByteString value) { + public Builder addBranchesBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureBranchesIsMutable(); branches_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -702,32 +633,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse) - private static final com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse(); } - public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse - getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FetchRemoteBranchesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FetchRemoteBranchesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FetchRemoteBranchesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FetchRemoteBranchesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -739,8 +668,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse - getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesResponseOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesResponseOrBuilder.java similarity index 58% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesResponseOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesResponseOrBuilder.java index 2f78696..919ea11 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesResponseOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesResponseOrBuilder.java @@ -1,76 +1,50 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface FetchRemoteBranchesResponseOrBuilder - extends +public interface FetchRemoteBranchesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The remote repository's branch names.
    * 
* * repeated string branches = 1; - * * @return A list containing the branches. */ - java.util.List getBranchesList(); + java.util.List + getBranchesList(); /** - * - * *
    * The remote repository's branch names.
    * 
* * repeated string branches = 1; - * * @return The count of branches. */ int getBranchesCount(); /** - * - * *
    * The remote repository's branch names.
    * 
* * repeated string branches = 1; - * * @param index The index of the element to return. * @return The branches at the given index. */ java.lang.String getBranches(int index); /** - * - * *
    * The remote repository's branch names.
    * 
* * repeated string branches = 1; - * * @param index The index of the value to return. * @return The bytes of the branches at the given index. */ - com.google.protobuf.ByteString getBranchesBytes(int index); + com.google.protobuf.ByteString + getBranchesBytes(int index); } diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetCompilationResultRequest.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetCompilationResultRequest.java similarity index 62% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetCompilationResultRequest.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetCompilationResultRequest.java index 4927cf9..e738e61 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetCompilationResultRequest.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetCompilationResultRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * `GetCompilationResult` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.GetCompilationResultRequest} */ -public final class GetCompilationResultRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetCompilationResultRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.GetCompilationResultRequest) GetCompilationResultRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetCompilationResultRequest.newBuilder() to construct. private GetCompilationResultRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetCompilationResultRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetCompilationResultRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetCompilationResultRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetCompilationResultRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private GetCompilationResultRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_GetCompilationResultRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_GetCompilationResultRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_GetCompilationResultRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_GetCompilationResultRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest.class, - com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest.class, com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The compilation result's name.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -134,31 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The compilation result's name.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest other = - (com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest) obj; + com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest other = (com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `GetCompilationResult` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.GetCompilationResultRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.GetCompilationResultRequest) com.google.cloud.dataform.v1alpha2.GetCompilationResultRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_GetCompilationResultRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_GetCompilationResultRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_GetCompilationResultRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_GetCompilationResultRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest.class, - com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest.class, com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest.newBuilder() @@ -359,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,14 +341,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_GetCompilationResultRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_GetCompilationResultRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest - getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest getDefaultInstanceForType() { return com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest.getDefaultInstance(); } @@ -399,8 +362,7 @@ public com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest result = - new com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest(this); + com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest result = new com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +372,38 @@ public com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest)other); } else { super.mergeFrom(other); return this; @@ -450,9 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest other) { - if (other - == com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -476,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -490,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The compilation result's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -514,23 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The compilation result's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -538,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The compilation result's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The compilation result's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The compilation result's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -615,32 +552,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.GetCompilationResultRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.GetCompilationResultRequest) - private static final com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest(); } - public static com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest - getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetCompilationResultRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetCompilationResultRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetCompilationResultRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetCompilationResultRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -652,8 +587,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest - getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetCompilationResultRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetCompilationResultRequestOrBuilder.java new file mode 100644 index 0000000..6dff935 --- /dev/null +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetCompilationResultRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1alpha2/dataform.proto + +package com.google.cloud.dataform.v1alpha2; + +public interface GetCompilationResultRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.GetCompilationResultRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The compilation result's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The compilation result's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetRepositoryRequest.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetRepositoryRequest.java similarity index 64% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetRepositoryRequest.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetRepositoryRequest.java index f896637..3d47535 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetRepositoryRequest.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetRepositoryRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * `GetRepository` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.GetRepositoryRequest} */ -public final class GetRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetRepositoryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.GetRepositoryRequest) GetRepositoryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetRepositoryRequest.newBuilder() to construct. private GetRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetRepositoryRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetRepositoryRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private GetRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_GetRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_GetRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_GetRepositoryRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_GetRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.GetRepositoryRequest.class, - com.google.cloud.dataform.v1alpha2.GetRepositoryRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.GetRepositoryRequest.class, com.google.cloud.dataform.v1alpha2.GetRepositoryRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The repository's name.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -134,31 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The repository's name.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.GetRepositoryRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.GetRepositoryRequest other = - (com.google.cloud.dataform.v1alpha2.GetRepositoryRequest) obj; + com.google.cloud.dataform.v1alpha2.GetRepositoryRequest other = (com.google.cloud.dataform.v1alpha2.GetRepositoryRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.GetRepositoryRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.GetRepositoryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.GetRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.GetRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.GetRepositoryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.GetRepositoryRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.GetRepositoryRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.GetRepositoryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.GetRepositoryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.GetRepositoryRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.GetRepositoryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.GetRepositoryRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.GetRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.GetRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.GetRepositoryRequest prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.GetRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `GetRepository` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.GetRepositoryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.GetRepositoryRequest) com.google.cloud.dataform.v1alpha2.GetRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_GetRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_GetRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_GetRepositoryRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_GetRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.GetRepositoryRequest.class, - com.google.cloud.dataform.v1alpha2.GetRepositoryRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.GetRepositoryRequest.class, com.google.cloud.dataform.v1alpha2.GetRepositoryRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.GetRepositoryRequest.newBuilder() @@ -359,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_GetRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_GetRepositoryRequest_descriptor; } @java.lang.Override @@ -398,8 +362,7 @@ public com.google.cloud.dataform.v1alpha2.GetRepositoryRequest build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.GetRepositoryRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.GetRepositoryRequest result = - new com.google.cloud.dataform.v1alpha2.GetRepositoryRequest(this); + com.google.cloud.dataform.v1alpha2.GetRepositoryRequest result = new com.google.cloud.dataform.v1alpha2.GetRepositoryRequest(this); result.name_ = name_; onBuilt(); return result; @@ -409,39 +372,38 @@ public com.google.cloud.dataform.v1alpha2.GetRepositoryRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.GetRepositoryRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.GetRepositoryRequest) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.GetRepositoryRequest)other); } else { super.mergeFrom(other); return this; @@ -449,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.GetRepositoryRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.GetRepositoryRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataform.v1alpha2.GetRepositoryRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -474,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.GetRepositoryRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.GetRepositoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -487,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The repository's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -511,23 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The repository's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -535,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The repository's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The repository's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The repository's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -612,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.GetRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.GetRepositoryRequest) private static final com.google.cloud.dataform.v1alpha2.GetRepositoryRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.GetRepositoryRequest(); } @@ -626,16 +566,16 @@ public static com.google.cloud.dataform.v1alpha2.GetRepositoryRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -650,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.GetRepositoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetRepositoryRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetRepositoryRequestOrBuilder.java new file mode 100644 index 0000000..c1d7617 --- /dev/null +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetRepositoryRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1alpha2/dataform.proto + +package com.google.cloud.dataform.v1alpha2; + +public interface GetRepositoryRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.GetRepositoryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The repository's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The repository's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkflowInvocationRequest.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkflowInvocationRequest.java similarity index 62% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkflowInvocationRequest.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkflowInvocationRequest.java index 7d4f25b..0a37eaf 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkflowInvocationRequest.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkflowInvocationRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * `GetWorkflowInvocation` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest} */ -public final class GetWorkflowInvocationRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetWorkflowInvocationRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest) GetWorkflowInvocationRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetWorkflowInvocationRequest.newBuilder() to construct. private GetWorkflowInvocationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetWorkflowInvocationRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetWorkflowInvocationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetWorkflowInvocationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetWorkflowInvocationRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private GetWorkflowInvocationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_GetWorkflowInvocationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_GetWorkflowInvocationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_GetWorkflowInvocationRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_GetWorkflowInvocationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest.class, - com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest.class, com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The workflow invocation resource's name.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -134,31 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The workflow invocation resource's name.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest other = - (com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest) obj; + com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest other = (com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `GetWorkflowInvocation` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest) com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_GetWorkflowInvocationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_GetWorkflowInvocationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_GetWorkflowInvocationRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_GetWorkflowInvocationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest.class, - com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest.class, com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest.newBuilder() @@ -359,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,14 +341,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_GetWorkflowInvocationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_GetWorkflowInvocationRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest - getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest getDefaultInstanceForType() { return com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest.getDefaultInstance(); } @@ -399,8 +362,7 @@ public com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest result = - new com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest(this); + com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest result = new com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,50 +372,46 @@ public com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest buildPart public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest other) { - if (other - == com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest other) { + if (other == com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -477,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -491,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The workflow invocation resource's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -515,23 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The workflow invocation resource's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -539,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The workflow invocation resource's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The workflow invocation resource's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The workflow invocation resource's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -616,32 +552,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest) - private static final com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest(); } - public static com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest - getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetWorkflowInvocationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetWorkflowInvocationRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetWorkflowInvocationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetWorkflowInvocationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -653,8 +587,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest - getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkflowInvocationRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkflowInvocationRequestOrBuilder.java new file mode 100644 index 0000000..3a748f7 --- /dev/null +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkflowInvocationRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1alpha2/dataform.proto + +package com.google.cloud.dataform.v1alpha2; + +public interface GetWorkflowInvocationRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The workflow invocation resource's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The workflow invocation resource's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkspaceRequest.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkspaceRequest.java similarity index 64% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkspaceRequest.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkspaceRequest.java index 32cad82..3485abb 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkspaceRequest.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkspaceRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * `GetWorkspace` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.GetWorkspaceRequest} */ -public final class GetWorkspaceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetWorkspaceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.GetWorkspaceRequest) GetWorkspaceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetWorkspaceRequest.newBuilder() to construct. private GetWorkspaceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetWorkspaceRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetWorkspaceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetWorkspaceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetWorkspaceRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private GetWorkspaceRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_GetWorkspaceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_GetWorkspaceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_GetWorkspaceRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_GetWorkspaceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest.class, - com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest.class, com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -134,31 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest other = - (com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest) obj; + com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest other = (com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `GetWorkspace` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.GetWorkspaceRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.GetWorkspaceRequest) com.google.cloud.dataform.v1alpha2.GetWorkspaceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_GetWorkspaceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_GetWorkspaceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_GetWorkspaceRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_GetWorkspaceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest.class, - com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest.class, com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest.newBuilder() @@ -359,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_GetWorkspaceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_GetWorkspaceRequest_descriptor; } @java.lang.Override @@ -398,8 +362,7 @@ public com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest result = - new com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest(this); + com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest result = new com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest(this); result.name_ = name_; onBuilt(); return result; @@ -409,39 +372,38 @@ public com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest)other); } else { super.mergeFrom(other); return this; @@ -449,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -474,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -487,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -511,23 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -535,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -612,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.GetWorkspaceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.GetWorkspaceRequest) private static final com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest(); } @@ -626,16 +566,16 @@ public static com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetWorkspaceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetWorkspaceRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetWorkspaceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetWorkspaceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -650,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkspaceRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkspaceRequestOrBuilder.java new file mode 100644 index 0000000..9be1f97 --- /dev/null +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkspaceRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1alpha2/dataform.proto + +package com.google.cloud.dataform.v1alpha2; + +public interface GetWorkspaceRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.GetWorkspaceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesRequest.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesRequest.java similarity index 63% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesRequest.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesRequest.java index afde081..9f70e23 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesRequest.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * `InstallNpmPackages` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest} */ -public final class InstallNpmPackagesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class InstallNpmPackagesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest) InstallNpmPackagesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use InstallNpmPackagesRequest.newBuilder() to construct. private InstallNpmPackagesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private InstallNpmPackagesRequest() { workspace_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new InstallNpmPackagesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private InstallNpmPackagesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private InstallNpmPackagesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - workspace_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + workspace_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private InstallNpmPackagesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest.class, - com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest.class, com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest.Builder.class); } public static final int WORKSPACE_FIELD_NUMBER = 1; private volatile java.lang.Object workspace_; /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The workspace. */ @java.lang.Override @@ -134,31 +109,29 @@ public java.lang.String getWorkspace() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; } } /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for workspace. */ @java.lang.Override - public com.google.protobuf.ByteString getWorkspaceBytes() { + public com.google.protobuf.ByteString + getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); workspace_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getWorkspaceBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workspace_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest other = - (com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest) obj; + com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest other = (com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest) obj; - if (!getWorkspace().equals(other.getWorkspace())) return false; + if (!getWorkspace() + .equals(other.getWorkspace())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `InstallNpmPackages` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest) com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest.class, - com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest.class, com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest.newBuilder() @@ -359,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,14 +341,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest - getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest getDefaultInstanceForType() { return com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest.getDefaultInstance(); } @@ -399,8 +362,7 @@ public com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest result = - new com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest(this); + com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest result = new com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest(this); result.workspace_ = workspace_; onBuilt(); return result; @@ -410,39 +372,38 @@ public com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest)other); } else { super.mergeFrom(other); return this; @@ -450,9 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest other) { - if (other - == com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest.getDefaultInstance()) return this; if (!other.getWorkspace().isEmpty()) { workspace_ = other.workspace_; onChanged(); @@ -476,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -489,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object workspace_ = ""; /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The workspace. */ public java.lang.String getWorkspace() { java.lang.Object ref = workspace_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; @@ -513,23 +467,20 @@ public java.lang.String getWorkspace() { } } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for workspace. */ - public com.google.protobuf.ByteString getWorkspaceBytes() { + public com.google.protobuf.ByteString + getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); workspace_ = b; return b; } else { @@ -537,74 +488,61 @@ public com.google.protobuf.ByteString getWorkspaceBytes() { } } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The workspace to set. * @return This builder for chaining. */ - public Builder setWorkspace(java.lang.String value) { + public Builder setWorkspace( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + workspace_ = value; onChanged(); return this; } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearWorkspace() { - + workspace_ = getDefaultInstance().getWorkspace(); onChanged(); return this; } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for workspace to set. * @return This builder for chaining. */ - public Builder setWorkspaceBytes(com.google.protobuf.ByteString value) { + public Builder setWorkspaceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workspace_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -614,13 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest) - private static final com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest(); } @@ -629,16 +566,16 @@ public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InstallNpmPackagesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InstallNpmPackagesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InstallNpmPackagesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InstallNpmPackagesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -653,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesRequestOrBuilder.java new file mode 100644 index 0000000..b0bb54b --- /dev/null +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1alpha2/dataform.proto + +package com.google.cloud.dataform.v1alpha2; + +public interface InstallNpmPackagesRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The workspace. + */ + java.lang.String getWorkspace(); + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for workspace. + */ + com.google.protobuf.ByteString + getWorkspaceBytes(); +} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesResponse.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesResponse.java similarity index 64% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesResponse.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesResponse.java index 3ae848c..d39130d 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesResponse.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesResponse.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * `InstallNpmPackages` response message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse} */ -public final class InstallNpmPackagesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class InstallNpmPackagesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse) InstallNpmPackagesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use InstallNpmPackagesResponse.newBuilder() to construct. private InstallNpmPackagesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private InstallNpmPackagesResponse() {} + private InstallNpmPackagesResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new InstallNpmPackagesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private InstallNpmPackagesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private InstallNpmPackagesResponse( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private InstallNpmPackagesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse.class, - com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse.class, com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse other = - (com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse) obj; + com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse other = (com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,127 +141,117 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `InstallNpmPackages` response message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse) com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse.class, - com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse.class, com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse.newBuilder() @@ -288,15 +259,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -304,14 +276,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesResponse_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse - getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse getDefaultInstanceForType() { return com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse.getDefaultInstance(); } @@ -326,8 +297,7 @@ public com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse buildPartial() { - com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse result = - new com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse(this); + com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse result = new com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse(this); onBuilt(); return result; } @@ -336,39 +306,38 @@ public com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse)other); } else { super.mergeFrom(other); return this; @@ -376,9 +345,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse other) { - if (other - == com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -398,9 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -409,9 +374,9 @@ public Builder mergeFrom( } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -421,13 +386,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse) - private static final com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse(); } @@ -436,16 +400,16 @@ public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InstallNpmPackagesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InstallNpmPackagesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InstallNpmPackagesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InstallNpmPackagesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -460,4 +424,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesResponseOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesResponseOrBuilder.java new file mode 100644 index 0000000..6d29bd6 --- /dev/null +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesResponseOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1alpha2/dataform.proto + +package com.google.cloud.dataform.v1alpha2; + +public interface InstallNpmPackagesResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsRequest.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsRequest.java similarity index 68% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsRequest.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsRequest.java index 9179936..15220a9 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsRequest.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * `ListCompilationResults` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.ListCompilationResultsRequest} */ -public final class ListCompilationResultsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListCompilationResultsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.ListCompilationResultsRequest) ListCompilationResultsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListCompilationResultsRequest.newBuilder() to construct. private ListCompilationResultsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListCompilationResultsRequest() { parent_ = ""; pageToken_ = ""; @@ -44,15 +26,16 @@ private ListCompilationResultsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListCompilationResultsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListCompilationResultsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,32 +54,30 @@ private ListCompilationResultsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,42 +85,35 @@ private ListCompilationResultsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest.class, - com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest.class, com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The repository in which to list compilation results. Must be in the
    * format `projects/*/locations/*/repositories/*`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -148,32 +122,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The repository in which to list compilation results. Must be in the
    * format `projects/*/locations/*/repositories/*`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -184,8 +156,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * Optional. Maximum number of compilation results to return. The server may return
    * fewer items than requested. If unspecified, the server will pick an
@@ -193,7 +163,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -204,8 +173,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * Optional. Page token received from a previous `ListCompilationResults` call.
    * Provide this to retrieve the subsequent page.
@@ -214,7 +181,6 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -223,15 +189,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Optional. Page token received from a previous `ListCompilationResults` call.
    * Provide this to retrieve the subsequent page.
@@ -240,15 +205,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -257,7 +223,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -269,7 +234,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -292,7 +258,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -305,17 +272,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest other = - (com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest) obj; + com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest other = (com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -339,127 +308,117 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `ListCompilationResults` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.ListCompilationResultsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.ListCompilationResultsRequest) com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest.class, - com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest.class, com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest.newBuilder() @@ -467,15 +426,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -489,14 +449,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest - getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest getDefaultInstanceForType() { return com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest.getDefaultInstance(); } @@ -511,8 +470,7 @@ public com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest build() @java.lang.Override public com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest result = - new com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest(this); + com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest result = new com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -524,50 +482,46 @@ public com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest buildPar public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest other) { - if (other - == com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest other) { + if (other == com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -598,9 +552,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -612,23 +564,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The repository in which to list compilation results. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -637,24 +585,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The repository in which to list compilation results. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -662,79 +607,64 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The repository in which to list compilation results. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The repository in which to list compilation results. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The repository in which to list compilation results. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Optional. Maximum number of compilation results to return. The server may return
      * fewer items than requested. If unspecified, the server will pick an
@@ -742,7 +672,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -750,8 +679,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Optional. Maximum number of compilation results to return. The server may return
      * fewer items than requested. If unspecified, the server will pick an
@@ -759,19 +686,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Maximum number of compilation results to return. The server may return
      * fewer items than requested. If unspecified, the server will pick an
@@ -779,11 +703,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -791,8 +714,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. Page token received from a previous `ListCompilationResults` call.
      * Provide this to retrieve the subsequent page.
@@ -801,13 +722,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -816,8 +737,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. Page token received from a previous `ListCompilationResults` call.
      * Provide this to retrieve the subsequent page.
@@ -826,14 +745,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -841,8 +761,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. Page token received from a previous `ListCompilationResults` call.
      * Provide this to retrieve the subsequent page.
@@ -851,22 +769,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Page token received from a previous `ListCompilationResults` call.
      * Provide this to retrieve the subsequent page.
@@ -875,18 +791,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * Optional. Page token received from a previous `ListCompilationResults` call.
      * Provide this to retrieve the subsequent page.
@@ -895,23 +808,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -921,32 +834,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.ListCompilationResultsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.ListCompilationResultsRequest) - private static final com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest(); } - public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest - getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCompilationResultsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListCompilationResultsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCompilationResultsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListCompilationResultsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -958,8 +869,9 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest - getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsRequestOrBuilder.java similarity index 64% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsRequestOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsRequestOrBuilder.java index 0151e2b..81295ef 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface ListCompilationResultsRequestOrBuilder - extends +public interface ListCompilationResultsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.ListCompilationResultsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The repository in which to list compilation results. Must be in the
    * format `projects/*/locations/*/repositories/*`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The repository in which to list compilation results. Must be in the
    * format `projects/*/locations/*/repositories/*`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Optional. Maximum number of compilation results to return. The server may return
    * fewer items than requested. If unspecified, the server will pick an
@@ -64,14 +37,11 @@ public interface ListCompilationResultsRequestOrBuilder
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. Page token received from a previous `ListCompilationResults` call.
    * Provide this to retrieve the subsequent page.
@@ -80,13 +50,10 @@ public interface ListCompilationResultsRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Optional. Page token received from a previous `ListCompilationResults` call.
    * Provide this to retrieve the subsequent page.
@@ -95,8 +62,8 @@ public interface ListCompilationResultsRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsResponse.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsResponse.java similarity index 70% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsResponse.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsResponse.java index 0767d5c..18d7075 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsResponse.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsResponse.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * `ListCompilationResults` response message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.ListCompilationResultsResponse} */ -public final class ListCompilationResultsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListCompilationResultsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.ListCompilationResultsResponse) ListCompilationResultsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListCompilationResultsResponse.newBuilder() to construct. - private ListCompilationResultsResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListCompilationResultsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListCompilationResultsResponse() { compilationResults_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -46,15 +27,16 @@ private ListCompilationResultsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListCompilationResultsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListCompilationResultsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,43 +56,37 @@ private ListCompilationResultsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - compilationResults_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - compilationResults_.add( - input.readMessage( - com.google.cloud.dataform.v1alpha2.CompilationResult.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + compilationResults_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + compilationResults_.add( + input.readMessage(com.google.cloud.dataform.v1alpha2.CompilationResult.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - unreachable_.add(s); - break; + nextPageToken_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + unreachable_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -118,7 +94,8 @@ private ListCompilationResultsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { compilationResults_ = java.util.Collections.unmodifiableList(compilationResults_); @@ -130,110 +107,88 @@ private ListCompilationResultsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse.class, - com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse.class, com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse.Builder.class); } public static final int COMPILATION_RESULTS_FIELD_NUMBER = 1; private java.util.List compilationResults_; /** - * - * *
    * List of compilation results.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; */ @java.lang.Override - public java.util.List - getCompilationResultsList() { + public java.util.List getCompilationResultsList() { return compilationResults_; } /** - * - * *
    * List of compilation results.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; */ @java.lang.Override - public java.util.List + public java.util.List getCompilationResultsOrBuilderList() { return compilationResults_; } /** - * - * *
    * List of compilation results.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; */ @java.lang.Override public int getCompilationResultsCount() { return compilationResults_.size(); } /** - * - * *
    * List of compilation results.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.CompilationResult getCompilationResults(int index) { return compilationResults_.get(index); } /** - * - * *
    * List of compilation results.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResultOrBuilder - getCompilationResultsOrBuilder(int index) { + public com.google.cloud.dataform.v1alpha2.CompilationResultOrBuilder getCompilationResultsOrBuilder( + int index) { return compilationResults_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -242,30 +197,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -276,42 +231,34 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** - * - * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_; } /** - * - * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -319,23 +266,20 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -347,7 +291,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < compilationResults_.size(); i++) { output.writeMessage(1, compilationResults_.get(i)); } @@ -367,8 +312,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < compilationResults_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, compilationResults_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, compilationResults_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -389,17 +334,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse other = - (com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse) obj; + com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse other = (com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse) obj; - if (!getCompilationResultsList().equals(other.getCompilationResultsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnreachableList().equals(other.getUnreachableList())) return false; + if (!getCompilationResultsList() + .equals(other.getCompilationResultsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getUnreachableList() + .equals(other.getUnreachableList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -427,147 +374,135 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `ListCompilationResults` response message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.ListCompilationResultsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.ListCompilationResultsResponse) com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse.class, - com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse.class, com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse.Builder.class); } - // Construct using - // com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse.newBuilder() + // Construct using com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getCompilationResultsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -585,14 +520,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsResponse_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse - getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse getDefaultInstanceForType() { return com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse.getDefaultInstance(); } @@ -607,8 +541,7 @@ public com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse build() @java.lang.Override public com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse buildPartial() { - com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse result = - new com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse(this); + com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse result = new com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse(this); int from_bitField0_ = bitField0_; if (compilationResultsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -633,50 +566,46 @@ public com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse other) { - if (other - == com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse other) { + if (other == com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse.getDefaultInstance()) return this; if (compilationResultsBuilder_ == null) { if (!other.compilationResults_.isEmpty()) { if (compilationResults_.isEmpty()) { @@ -695,10 +624,9 @@ public Builder mergeFrom( compilationResultsBuilder_ = null; compilationResults_ = other.compilationResults_; bitField0_ = (bitField0_ & ~0x00000001); - compilationResultsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getCompilationResultsFieldBuilder() - : null; + compilationResultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getCompilationResultsFieldBuilder() : null; } else { compilationResultsBuilder_.addAllMessages(other.compilationResults_); } @@ -737,9 +665,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -748,39 +674,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private java.util.List - compilationResults_ = java.util.Collections.emptyList(); - + private java.util.List compilationResults_ = + java.util.Collections.emptyList(); private void ensureCompilationResultsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - compilationResults_ = - new java.util.ArrayList( - compilationResults_); + compilationResults_ = new java.util.ArrayList(compilationResults_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResult, - com.google.cloud.dataform.v1alpha2.CompilationResult.Builder, - com.google.cloud.dataform.v1alpha2.CompilationResultOrBuilder> - compilationResultsBuilder_; + com.google.cloud.dataform.v1alpha2.CompilationResult, com.google.cloud.dataform.v1alpha2.CompilationResult.Builder, com.google.cloud.dataform.v1alpha2.CompilationResultOrBuilder> compilationResultsBuilder_; /** - * - * *
      * List of compilation results.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; */ - public java.util.List - getCompilationResultsList() { + public java.util.List getCompilationResultsList() { if (compilationResultsBuilder_ == null) { return java.util.Collections.unmodifiableList(compilationResults_); } else { @@ -788,14 +703,11 @@ private void ensureCompilationResultsIsMutable() { } } /** - * - * *
      * List of compilation results.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; */ public int getCompilationResultsCount() { if (compilationResultsBuilder_ == null) { @@ -805,14 +717,11 @@ public int getCompilationResultsCount() { } } /** - * - * *
      * List of compilation results.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; */ public com.google.cloud.dataform.v1alpha2.CompilationResult getCompilationResults(int index) { if (compilationResultsBuilder_ == null) { @@ -822,14 +731,11 @@ public com.google.cloud.dataform.v1alpha2.CompilationResult getCompilationResult } } /** - * - * *
      * List of compilation results.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; */ public Builder setCompilationResults( int index, com.google.cloud.dataform.v1alpha2.CompilationResult value) { @@ -846,14 +752,11 @@ public Builder setCompilationResults( return this; } /** - * - * *
      * List of compilation results.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; */ public Builder setCompilationResults( int index, com.google.cloud.dataform.v1alpha2.CompilationResult.Builder builderForValue) { @@ -867,17 +770,13 @@ public Builder setCompilationResults( return this; } /** - * - * *
      * List of compilation results.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; */ - public Builder addCompilationResults( - com.google.cloud.dataform.v1alpha2.CompilationResult value) { + public Builder addCompilationResults(com.google.cloud.dataform.v1alpha2.CompilationResult value) { if (compilationResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -891,14 +790,11 @@ public Builder addCompilationResults( return this; } /** - * - * *
      * List of compilation results.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; */ public Builder addCompilationResults( int index, com.google.cloud.dataform.v1alpha2.CompilationResult value) { @@ -915,14 +811,11 @@ public Builder addCompilationResults( return this; } /** - * - * *
      * List of compilation results.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; */ public Builder addCompilationResults( com.google.cloud.dataform.v1alpha2.CompilationResult.Builder builderForValue) { @@ -936,14 +829,11 @@ public Builder addCompilationResults( return this; } /** - * - * *
      * List of compilation results.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; */ public Builder addCompilationResults( int index, com.google.cloud.dataform.v1alpha2.CompilationResult.Builder builderForValue) { @@ -957,20 +847,18 @@ public Builder addCompilationResults( return this; } /** - * - * *
      * List of compilation results.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; */ public Builder addAllCompilationResults( java.lang.Iterable values) { if (compilationResultsBuilder_ == null) { ensureCompilationResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, compilationResults_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, compilationResults_); onChanged(); } else { compilationResultsBuilder_.addAllMessages(values); @@ -978,14 +866,11 @@ public Builder addAllCompilationResults( return this; } /** - * - * *
      * List of compilation results.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; */ public Builder clearCompilationResults() { if (compilationResultsBuilder_ == null) { @@ -998,14 +883,11 @@ public Builder clearCompilationResults() { return this; } /** - * - * *
      * List of compilation results.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; */ public Builder removeCompilationResults(int index) { if (compilationResultsBuilder_ == null) { @@ -1018,49 +900,39 @@ public Builder removeCompilationResults(int index) { return this; } /** - * - * *
      * List of compilation results.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; */ - public com.google.cloud.dataform.v1alpha2.CompilationResult.Builder - getCompilationResultsBuilder(int index) { + public com.google.cloud.dataform.v1alpha2.CompilationResult.Builder getCompilationResultsBuilder( + int index) { return getCompilationResultsFieldBuilder().getBuilder(index); } /** - * - * *
      * List of compilation results.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; */ - public com.google.cloud.dataform.v1alpha2.CompilationResultOrBuilder - getCompilationResultsOrBuilder(int index) { + public com.google.cloud.dataform.v1alpha2.CompilationResultOrBuilder getCompilationResultsOrBuilder( + int index) { if (compilationResultsBuilder_ == null) { - return compilationResults_.get(index); - } else { + return compilationResults_.get(index); } else { return compilationResultsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of compilation results.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; */ - public java.util.List - getCompilationResultsOrBuilderList() { + public java.util.List + getCompilationResultsOrBuilderList() { if (compilationResultsBuilder_ != null) { return compilationResultsBuilder_.getMessageOrBuilderList(); } else { @@ -1068,62 +940,45 @@ public Builder removeCompilationResults(int index) { } } /** - * - * *
      * List of compilation results.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; */ - public com.google.cloud.dataform.v1alpha2.CompilationResult.Builder - addCompilationResultsBuilder() { - return getCompilationResultsFieldBuilder() - .addBuilder(com.google.cloud.dataform.v1alpha2.CompilationResult.getDefaultInstance()); + public com.google.cloud.dataform.v1alpha2.CompilationResult.Builder addCompilationResultsBuilder() { + return getCompilationResultsFieldBuilder().addBuilder( + com.google.cloud.dataform.v1alpha2.CompilationResult.getDefaultInstance()); } /** - * - * *
      * List of compilation results.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; */ - public com.google.cloud.dataform.v1alpha2.CompilationResult.Builder - addCompilationResultsBuilder(int index) { - return getCompilationResultsFieldBuilder() - .addBuilder( - index, com.google.cloud.dataform.v1alpha2.CompilationResult.getDefaultInstance()); + public com.google.cloud.dataform.v1alpha2.CompilationResult.Builder addCompilationResultsBuilder( + int index) { + return getCompilationResultsFieldBuilder().addBuilder( + index, com.google.cloud.dataform.v1alpha2.CompilationResult.getDefaultInstance()); } /** - * - * *
      * List of compilation results.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; */ - public java.util.List - getCompilationResultsBuilderList() { + public java.util.List + getCompilationResultsBuilderList() { return getCompilationResultsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResult, - com.google.cloud.dataform.v1alpha2.CompilationResult.Builder, - com.google.cloud.dataform.v1alpha2.CompilationResultOrBuilder> + com.google.cloud.dataform.v1alpha2.CompilationResult, com.google.cloud.dataform.v1alpha2.CompilationResult.Builder, com.google.cloud.dataform.v1alpha2.CompilationResultOrBuilder> getCompilationResultsFieldBuilder() { if (compilationResultsBuilder_ == null) { - compilationResultsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResult, - com.google.cloud.dataform.v1alpha2.CompilationResult.Builder, - com.google.cloud.dataform.v1alpha2.CompilationResultOrBuilder>( + compilationResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.CompilationResult, com.google.cloud.dataform.v1alpha2.CompilationResult.Builder, com.google.cloud.dataform.v1alpha2.CompilationResultOrBuilder>( compilationResults_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1135,21 +990,19 @@ public Builder removeCompilationResults(int index) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1158,22 +1011,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1181,115 +1033,98 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** - * - * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1297,90 +1132,80 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** - * - * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable(int index, java.lang.String value) { + public Builder setUnreachable( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** - * - * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable(java.lang.String value) { + public Builder addUnreachable( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** - * - * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable(java.lang.Iterable values) { + public Builder addAllUnreachable( + java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachable_); onChanged(); return this; } /** - * - * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1390,30 +1215,28 @@ public Builder clearUnreachable() { return this; } /** - * - * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + public Builder addUnreachableBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1423,32 +1246,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.ListCompilationResultsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.ListCompilationResultsResponse) - private static final com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse(); } - public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse - getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCompilationResultsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListCompilationResultsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCompilationResultsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListCompilationResultsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1460,8 +1281,9 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse - getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsResponseOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsResponseOrBuilder.java similarity index 69% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsResponseOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsResponseOrBuilder.java index 60be13b..056a9f1 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsResponseOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsResponseOrBuilder.java @@ -1,161 +1,116 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface ListCompilationResultsResponseOrBuilder - extends +public interface ListCompilationResultsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.ListCompilationResultsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of compilation results.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; */ - java.util.List getCompilationResultsList(); + java.util.List + getCompilationResultsList(); /** - * - * *
    * List of compilation results.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; */ com.google.cloud.dataform.v1alpha2.CompilationResult getCompilationResults(int index); /** - * - * *
    * List of compilation results.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; */ int getCompilationResultsCount(); /** - * - * *
    * List of compilation results.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; */ - java.util.List + java.util.List getCompilationResultsOrBuilderList(); /** - * - * *
    * List of compilation results.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; */ com.google.cloud.dataform.v1alpha2.CompilationResultOrBuilder getCompilationResultsOrBuilder( int index); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - java.util.List getUnreachableList(); + java.util.List + getUnreachableList(); /** - * - * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ int getUnreachableCount(); /** - * - * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** - * - * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString getUnreachableBytes(int index); + com.google.protobuf.ByteString + getUnreachableBytes(int index); } diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesRequest.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesRequest.java similarity index 72% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesRequest.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesRequest.java index e5dc430..f42ce25 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesRequest.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * `ListRepositories` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.ListRepositoriesRequest} */ -public final class ListRepositoriesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListRepositoriesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.ListRepositoriesRequest) ListRepositoriesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListRepositoriesRequest.newBuilder() to construct. private ListRepositoriesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListRepositoriesRequest() { parent_ = ""; pageToken_ = ""; @@ -46,15 +28,16 @@ private ListRepositoriesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListRepositoriesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListRepositoriesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,46 +56,42 @@ private ListRepositoriesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + orderBy_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + filter_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,42 +99,35 @@ private ListRepositoriesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest.class, - com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest.class, com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The location in which to list repositories. Must be in the format
    * `projects/*/locations/*`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -164,32 +136,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The location in which to list repositories. Must be in the format
    * `projects/*/locations/*`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -200,8 +170,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * Optional. Maximum number of repositories to return. The server may return fewer
    * items than requested. If unspecified, the server will pick an appropriate
@@ -209,7 +177,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -220,8 +187,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * Optional. Page token received from a previous `ListRepositories` call.
    * Provide this to retrieve the subsequent page.
@@ -230,7 +195,6 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -239,15 +203,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Optional. Page token received from a previous `ListRepositories` call.
    * Provide this to retrieve the subsequent page.
@@ -256,15 +219,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -275,8 +239,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int ORDER_BY_FIELD_NUMBER = 4; private volatile java.lang.Object orderBy_; /** - * - * *
    * Optional. This field only supports ordering by `name`. If unspecified, the server
    * will choose the ordering. If specified, the default order is ascending for
@@ -284,7 +246,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ @java.lang.Override @@ -293,15 +254,14 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** - * - * *
    * Optional. This field only supports ordering by `name`. If unspecified, the server
    * will choose the ordering. If specified, the default order is ascending for
@@ -309,15 +269,16 @@ public java.lang.String getOrderBy() {
    * 
* * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -328,14 +289,11 @@ public com.google.protobuf.ByteString getOrderByBytes() { public static final int FILTER_FIELD_NUMBER = 5; private volatile java.lang.Object filter_; /** - * - * *
    * Optional. Filter for the returned list.
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ @java.lang.Override @@ -344,29 +302,29 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * Optional. Filter for the returned list.
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -375,7 +333,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -387,7 +344,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -416,7 +374,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -435,19 +394,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest other = - (com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; - if (!getFilter().equals(other.getFilter())) return false; + com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest other = (com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -475,127 +438,117 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `ListRepositories` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.ListRepositoriesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.ListRepositoriesRequest) com.google.cloud.dataform.v1alpha2.ListRepositoriesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest.class, - com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest.class, com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest.newBuilder() @@ -603,15 +556,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -629,9 +583,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesRequest_descriptor; } @java.lang.Override @@ -650,8 +604,7 @@ public com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest result = - new com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest(this); + com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest result = new com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -665,39 +618,38 @@ public com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest)other); } else { super.mergeFrom(other); return this; @@ -705,8 +657,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -745,8 +696,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -758,23 +708,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The location in which to list repositories. Must be in the format
      * `projects/*/locations/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -783,24 +729,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The location in which to list repositories. Must be in the format
      * `projects/*/locations/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -808,79 +751,64 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The location in which to list repositories. Must be in the format
      * `projects/*/locations/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The location in which to list repositories. Must be in the format
      * `projects/*/locations/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The location in which to list repositories. Must be in the format
      * `projects/*/locations/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Optional. Maximum number of repositories to return. The server may return fewer
      * items than requested. If unspecified, the server will pick an appropriate
@@ -888,7 +816,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -896,8 +823,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Optional. Maximum number of repositories to return. The server may return fewer
      * items than requested. If unspecified, the server will pick an appropriate
@@ -905,19 +830,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Maximum number of repositories to return. The server may return fewer
      * items than requested. If unspecified, the server will pick an appropriate
@@ -925,11 +847,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -937,8 +858,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. Page token received from a previous `ListRepositories` call.
      * Provide this to retrieve the subsequent page.
@@ -947,13 +866,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -962,8 +881,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. Page token received from a previous `ListRepositories` call.
      * Provide this to retrieve the subsequent page.
@@ -972,14 +889,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -987,8 +905,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. Page token received from a previous `ListRepositories` call.
      * Provide this to retrieve the subsequent page.
@@ -997,22 +913,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Page token received from a previous `ListRepositories` call.
      * Provide this to retrieve the subsequent page.
@@ -1021,18 +935,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * Optional. Page token received from a previous `ListRepositories` call.
      * Provide this to retrieve the subsequent page.
@@ -1041,16 +952,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1058,8 +969,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Optional. This field only supports ordering by `name`. If unspecified, the server
      * will choose the ordering. If specified, the default order is ascending for
@@ -1067,13 +976,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1082,8 +991,6 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Optional. This field only supports ordering by `name`. If unspecified, the server
      * will choose the ordering. If specified, the default order is ascending for
@@ -1091,14 +998,15 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1106,8 +1014,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Optional. This field only supports ordering by `name`. If unspecified, the server
      * will choose the ordering. If specified, the default order is ascending for
@@ -1115,22 +1021,20 @@ public com.google.protobuf.ByteString getOrderByBytes() {
      * 
* * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * Optional. This field only supports ordering by `name`. If unspecified, the server
      * will choose the ordering. If specified, the default order is ascending for
@@ -1138,18 +1042,15 @@ public Builder setOrderBy(java.lang.String value) {
      * 
* * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * Optional. This field only supports ordering by `name`. If unspecified, the server
      * will choose the ordering. If specified, the default order is ascending for
@@ -1157,16 +1058,16 @@ public Builder clearOrderBy() {
      * 
* * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; @@ -1174,20 +1075,18 @@ public Builder setOrderByBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Optional. Filter for the returned list.
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1196,21 +1095,20 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Optional. Filter for the returned list.
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1218,68 +1116,61 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Optional. Filter for the returned list.
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Filter for the returned list.
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * Optional. Filter for the returned list.
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1289,12 +1180,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.ListRepositoriesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.ListRepositoriesRequest) private static final com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest(); } @@ -1303,16 +1194,16 @@ public static com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRepositoriesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListRepositoriesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRepositoriesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRepositoriesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1327,4 +1218,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesRequestOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesRequestOrBuilder.java index 298dd3f..1fc638c 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface ListRepositoriesRequestOrBuilder - extends +public interface ListRepositoriesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.ListRepositoriesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The location in which to list repositories. Must be in the format
    * `projects/*/locations/*`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The location in which to list repositories. Must be in the format
    * `projects/*/locations/*`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Optional. Maximum number of repositories to return. The server may return fewer
    * items than requested. If unspecified, the server will pick an appropriate
@@ -64,14 +37,11 @@ public interface ListRepositoriesRequestOrBuilder
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. Page token received from a previous `ListRepositories` call.
    * Provide this to retrieve the subsequent page.
@@ -80,13 +50,10 @@ public interface ListRepositoriesRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Optional. Page token received from a previous `ListRepositories` call.
    * Provide this to retrieve the subsequent page.
@@ -95,14 +62,12 @@ public interface ListRepositoriesRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. This field only supports ordering by `name`. If unspecified, the server
    * will choose the ordering. If specified, the default order is ascending for
@@ -110,13 +75,10 @@ public interface ListRepositoriesRequestOrBuilder
    * 
* * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Optional. This field only supports ordering by `name`. If unspecified, the server
    * will choose the ordering. If specified, the default order is ascending for
@@ -124,33 +86,28 @@ public interface ListRepositoriesRequestOrBuilder
    * 
* * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); /** - * - * *
    * Optional. Filter for the returned list.
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Optional. Filter for the returned list.
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); } diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesResponse.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesResponse.java similarity index 74% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesResponse.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesResponse.java index 35e257f..67792b7 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesResponse.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * `ListRepositories` response message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.ListRepositoriesResponse} */ -public final class ListRepositoriesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListRepositoriesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.ListRepositoriesResponse) ListRepositoriesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListRepositoriesResponse.newBuilder() to construct. private ListRepositoriesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListRepositoriesResponse() { repositories_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,15 +27,16 @@ private ListRepositoriesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListRepositoriesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListRepositoriesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,42 +56,37 @@ private ListRepositoriesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - repositories_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - repositories_.add( - input.readMessage( - com.google.cloud.dataform.v1alpha2.Repository.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + repositories_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + repositories_.add( + input.readMessage(com.google.cloud.dataform.v1alpha2.Repository.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - unreachable_.add(s); - break; + nextPageToken_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + unreachable_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -116,7 +94,8 @@ private ListRepositoriesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { repositories_ = java.util.Collections.unmodifiableList(repositories_); @@ -128,27 +107,22 @@ private ListRepositoriesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse.class, - com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse.class, com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse.Builder.class); } public static final int REPOSITORIES_FIELD_NUMBER = 1; private java.util.List repositories_; /** - * - * *
    * List of repositories.
    * 
@@ -160,8 +134,6 @@ public java.util.List getReposito return repositories_; } /** - * - * *
    * List of repositories.
    * 
@@ -169,13 +141,11 @@ public java.util.List getReposito * repeated .google.cloud.dataform.v1alpha2.Repository repositories = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRepositoriesOrBuilderList() { return repositories_; } /** - * - * *
    * List of repositories.
    * 
@@ -187,8 +157,6 @@ public int getRepositoriesCount() { return repositories_.size(); } /** - * - * *
    * List of repositories.
    * 
@@ -200,8 +168,6 @@ public com.google.cloud.dataform.v1alpha2.Repository getRepositories(int index) return repositories_.get(index); } /** - * - * *
    * List of repositories.
    * 
@@ -217,15 +183,12 @@ public com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder getRepositoriesOrB public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -234,30 +197,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -268,42 +231,34 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** - * - * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_; } /** - * - * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -311,23 +266,20 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -339,7 +291,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < repositories_.size(); i++) { output.writeMessage(1, repositories_.get(i)); } @@ -359,7 +312,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < repositories_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, repositories_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, repositories_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -380,17 +334,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse other = - (com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse) obj; + com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse other = (com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse) obj; - if (!getRepositoriesList().equals(other.getRepositoriesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnreachableList().equals(other.getUnreachableList())) return false; + if (!getRepositoriesList() + .equals(other.getRepositoriesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getUnreachableList() + .equals(other.getUnreachableList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -418,127 +374,117 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `ListRepositories` response message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.ListRepositoriesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.ListRepositoriesResponse) com.google.cloud.dataform.v1alpha2.ListRepositoriesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse.class, - com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse.class, com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse.newBuilder() @@ -546,17 +492,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getRepositoriesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -574,9 +520,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesResponse_descriptor; } @java.lang.Override @@ -595,8 +541,7 @@ public com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse buildPartial() { - com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse result = - new com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse(this); + com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse result = new com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse(this); int from_bitField0_ = bitField0_; if (repositoriesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -621,39 +566,38 @@ public com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse buildPartial( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse)other); } else { super.mergeFrom(other); return this; @@ -661,8 +605,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse other) { - if (other == com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse.getDefaultInstance()) return this; if (repositoriesBuilder_ == null) { if (!other.repositories_.isEmpty()) { if (repositories_.isEmpty()) { @@ -681,10 +624,9 @@ public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.ListRepositoriesResp repositoriesBuilder_ = null; repositories_ = other.repositories_; bitField0_ = (bitField0_ & ~0x00000001); - repositoriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRepositoriesFieldBuilder() - : null; + repositoriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRepositoriesFieldBuilder() : null; } else { repositoriesBuilder_.addAllMessages(other.repositories_); } @@ -723,8 +665,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -733,29 +674,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List repositories_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRepositoriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - repositories_ = - new java.util.ArrayList(repositories_); + repositories_ = new java.util.ArrayList(repositories_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Repository, - com.google.cloud.dataform.v1alpha2.Repository.Builder, - com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder> - repositoriesBuilder_; + com.google.cloud.dataform.v1alpha2.Repository, com.google.cloud.dataform.v1alpha2.Repository.Builder, com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder> repositoriesBuilder_; /** - * - * *
      * List of repositories.
      * 
@@ -770,8 +703,6 @@ public java.util.List getReposito } } /** - * - * *
      * List of repositories.
      * 
@@ -786,8 +717,6 @@ public int getRepositoriesCount() { } } /** - * - * *
      * List of repositories.
      * 
@@ -802,15 +731,14 @@ public com.google.cloud.dataform.v1alpha2.Repository getRepositories(int index) } } /** - * - * *
      * List of repositories.
      * 
* * repeated .google.cloud.dataform.v1alpha2.Repository repositories = 1; */ - public Builder setRepositories(int index, com.google.cloud.dataform.v1alpha2.Repository value) { + public Builder setRepositories( + int index, com.google.cloud.dataform.v1alpha2.Repository value) { if (repositoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -824,8 +752,6 @@ public Builder setRepositories(int index, com.google.cloud.dataform.v1alpha2.Rep return this; } /** - * - * *
      * List of repositories.
      * 
@@ -844,8 +770,6 @@ public Builder setRepositories( return this; } /** - * - * *
      * List of repositories.
      * 
@@ -866,15 +790,14 @@ public Builder addRepositories(com.google.cloud.dataform.v1alpha2.Repository val return this; } /** - * - * *
      * List of repositories.
      * 
* * repeated .google.cloud.dataform.v1alpha2.Repository repositories = 1; */ - public Builder addRepositories(int index, com.google.cloud.dataform.v1alpha2.Repository value) { + public Builder addRepositories( + int index, com.google.cloud.dataform.v1alpha2.Repository value) { if (repositoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -888,8 +811,6 @@ public Builder addRepositories(int index, com.google.cloud.dataform.v1alpha2.Rep return this; } /** - * - * *
      * List of repositories.
      * 
@@ -908,8 +829,6 @@ public Builder addRepositories( return this; } /** - * - * *
      * List of repositories.
      * 
@@ -928,8 +847,6 @@ public Builder addRepositories( return this; } /** - * - * *
      * List of repositories.
      * 
@@ -940,7 +857,8 @@ public Builder addAllRepositories( java.lang.Iterable values) { if (repositoriesBuilder_ == null) { ensureRepositoriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repositories_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, repositories_); onChanged(); } else { repositoriesBuilder_.addAllMessages(values); @@ -948,8 +866,6 @@ public Builder addAllRepositories( return this; } /** - * - * *
      * List of repositories.
      * 
@@ -967,8 +883,6 @@ public Builder clearRepositories() { return this; } /** - * - * *
      * List of repositories.
      * 
@@ -986,20 +900,17 @@ public Builder removeRepositories(int index) { return this; } /** - * - * *
      * List of repositories.
      * 
* * repeated .google.cloud.dataform.v1alpha2.Repository repositories = 1; */ - public com.google.cloud.dataform.v1alpha2.Repository.Builder getRepositoriesBuilder(int index) { + public com.google.cloud.dataform.v1alpha2.Repository.Builder getRepositoriesBuilder( + int index) { return getRepositoriesFieldBuilder().getBuilder(index); } /** - * - * *
      * List of repositories.
      * 
@@ -1009,22 +920,19 @@ public com.google.cloud.dataform.v1alpha2.Repository.Builder getRepositoriesBuil public com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder getRepositoriesOrBuilder( int index) { if (repositoriesBuilder_ == null) { - return repositories_.get(index); - } else { + return repositories_.get(index); } else { return repositoriesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of repositories.
      * 
* * repeated .google.cloud.dataform.v1alpha2.Repository repositories = 1; */ - public java.util.List - getRepositoriesOrBuilderList() { + public java.util.List + getRepositoriesOrBuilderList() { if (repositoriesBuilder_ != null) { return repositoriesBuilder_.getMessageOrBuilderList(); } else { @@ -1032,8 +940,6 @@ public com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder getRepositoriesOrB } } /** - * - * *
      * List of repositories.
      * 
@@ -1041,48 +947,42 @@ public com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder getRepositoriesOrB * repeated .google.cloud.dataform.v1alpha2.Repository repositories = 1; */ public com.google.cloud.dataform.v1alpha2.Repository.Builder addRepositoriesBuilder() { - return getRepositoriesFieldBuilder() - .addBuilder(com.google.cloud.dataform.v1alpha2.Repository.getDefaultInstance()); + return getRepositoriesFieldBuilder().addBuilder( + com.google.cloud.dataform.v1alpha2.Repository.getDefaultInstance()); } /** - * - * *
      * List of repositories.
      * 
* * repeated .google.cloud.dataform.v1alpha2.Repository repositories = 1; */ - public com.google.cloud.dataform.v1alpha2.Repository.Builder addRepositoriesBuilder(int index) { - return getRepositoriesFieldBuilder() - .addBuilder(index, com.google.cloud.dataform.v1alpha2.Repository.getDefaultInstance()); + public com.google.cloud.dataform.v1alpha2.Repository.Builder addRepositoriesBuilder( + int index) { + return getRepositoriesFieldBuilder().addBuilder( + index, com.google.cloud.dataform.v1alpha2.Repository.getDefaultInstance()); } /** - * - * *
      * List of repositories.
      * 
* * repeated .google.cloud.dataform.v1alpha2.Repository repositories = 1; */ - public java.util.List - getRepositoriesBuilderList() { + public java.util.List + getRepositoriesBuilderList() { return getRepositoriesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Repository, - com.google.cloud.dataform.v1alpha2.Repository.Builder, - com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder> + com.google.cloud.dataform.v1alpha2.Repository, com.google.cloud.dataform.v1alpha2.Repository.Builder, com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder> getRepositoriesFieldBuilder() { if (repositoriesBuilder_ == null) { - repositoriesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Repository, - com.google.cloud.dataform.v1alpha2.Repository.Builder, - com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder>( - repositories_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + repositoriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.Repository, com.google.cloud.dataform.v1alpha2.Repository.Builder, com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder>( + repositories_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); repositories_ = null; } return repositoriesBuilder_; @@ -1090,21 +990,19 @@ public com.google.cloud.dataform.v1alpha2.Repository.Builder addRepositoriesBuil private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1113,22 +1011,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1136,115 +1033,98 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** - * - * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1252,90 +1132,80 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** - * - * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable(int index, java.lang.String value) { + public Builder setUnreachable( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** - * - * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable(java.lang.String value) { + public Builder addUnreachable( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** - * - * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable(java.lang.Iterable values) { + public Builder addAllUnreachable( + java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachable_); onChanged(); return this; } /** - * - * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1345,30 +1215,28 @@ public Builder clearUnreachable() { return this; } /** - * - * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + public Builder addUnreachableBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1378,12 +1246,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.ListRepositoriesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.ListRepositoriesResponse) private static final com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse(); } @@ -1392,16 +1260,16 @@ public static com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRepositoriesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListRepositoriesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRepositoriesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRepositoriesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1416,4 +1284,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesResponseOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesResponseOrBuilder.java similarity index 73% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesResponseOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesResponseOrBuilder.java index 2c5eaa5..ec20c2c 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesResponseOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface ListRepositoriesResponseOrBuilder - extends +public interface ListRepositoriesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.ListRepositoriesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of repositories.
    * 
* * repeated .google.cloud.dataform.v1alpha2.Repository repositories = 1; */ - java.util.List getRepositoriesList(); + java.util.List + getRepositoriesList(); /** - * - * *
    * List of repositories.
    * 
@@ -44,8 +25,6 @@ public interface ListRepositoriesResponseOrBuilder */ com.google.cloud.dataform.v1alpha2.Repository getRepositories(int index); /** - * - * *
    * List of repositories.
    * 
@@ -54,102 +33,84 @@ public interface ListRepositoriesResponseOrBuilder */ int getRepositoriesCount(); /** - * - * *
    * List of repositories.
    * 
* * repeated .google.cloud.dataform.v1alpha2.Repository repositories = 1; */ - java.util.List + java.util.List getRepositoriesOrBuilderList(); /** - * - * *
    * List of repositories.
    * 
* * repeated .google.cloud.dataform.v1alpha2.Repository repositories = 1; */ - com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder getRepositoriesOrBuilder(int index); + com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder getRepositoriesOrBuilder( + int index); /** - * - * *
    * A token which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - java.util.List getUnreachableList(); + java.util.List + getUnreachableList(); /** - * - * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ int getUnreachableCount(); /** - * - * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** - * - * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString getUnreachableBytes(int index); + com.google.protobuf.ByteString + getUnreachableBytes(int index); } diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsRequest.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsRequest.java similarity index 68% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsRequest.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsRequest.java index d767ada..40cf91e 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsRequest.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsRequest.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * `ListWorkflowInvocations` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest} */ -public final class ListWorkflowInvocationsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListWorkflowInvocationsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest) ListWorkflowInvocationsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListWorkflowInvocationsRequest.newBuilder() to construct. - private ListWorkflowInvocationsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListWorkflowInvocationsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListWorkflowInvocationsRequest() { parent_ = ""; pageToken_ = ""; @@ -45,15 +26,16 @@ private ListWorkflowInvocationsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListWorkflowInvocationsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListWorkflowInvocationsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,32 +54,30 @@ private ListWorkflowInvocationsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,42 +85,35 @@ private ListWorkflowInvocationsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest.class, - com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest.class, com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The parent resource of the WorkflowInvocation type. Must be in the
    * format `projects/*/locations/*/repositories/*`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -149,32 +122,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent resource of the WorkflowInvocation type. Must be in the
    * format `projects/*/locations/*/repositories/*`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -185,8 +156,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * Optional. Maximum number of workflow invocations to return. The server may return
    * fewer items than requested. If unspecified, the server will pick an
@@ -194,7 +163,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -205,8 +173,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * Optional. Page token received from a previous `ListWorkflowInvocations` call.
    * Provide this to retrieve the subsequent page.
@@ -215,7 +181,6 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -224,15 +189,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Optional. Page token received from a previous `ListWorkflowInvocations` call.
    * Provide this to retrieve the subsequent page.
@@ -241,15 +205,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -258,7 +223,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -270,7 +234,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -293,7 +258,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -306,17 +272,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest other = - (com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest) obj; + com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest other = (com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -340,145 +308,134 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `ListWorkflowInvocations` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest) com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest.class, - com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest.class, com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest.Builder.class); } - // Construct using - // com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest.newBuilder() + // Construct using com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -492,14 +449,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest - getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest getDefaultInstanceForType() { return com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest.getDefaultInstance(); } @@ -514,8 +470,7 @@ public com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest build() @java.lang.Override public com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest result = - new com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest(this); + com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest result = new com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -527,50 +482,46 @@ public com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest other) { - if (other - == com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest other) { + if (other == com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -601,9 +552,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -615,23 +564,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The parent resource of the WorkflowInvocation type. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -640,24 +585,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The parent resource of the WorkflowInvocation type. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -665,79 +607,64 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The parent resource of the WorkflowInvocation type. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The parent resource of the WorkflowInvocation type. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The parent resource of the WorkflowInvocation type. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Optional. Maximum number of workflow invocations to return. The server may return
      * fewer items than requested. If unspecified, the server will pick an
@@ -745,7 +672,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -753,8 +679,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Optional. Maximum number of workflow invocations to return. The server may return
      * fewer items than requested. If unspecified, the server will pick an
@@ -762,19 +686,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Maximum number of workflow invocations to return. The server may return
      * fewer items than requested. If unspecified, the server will pick an
@@ -782,11 +703,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -794,8 +714,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. Page token received from a previous `ListWorkflowInvocations` call.
      * Provide this to retrieve the subsequent page.
@@ -804,13 +722,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -819,8 +737,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. Page token received from a previous `ListWorkflowInvocations` call.
      * Provide this to retrieve the subsequent page.
@@ -829,14 +745,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -844,8 +761,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. Page token received from a previous `ListWorkflowInvocations` call.
      * Provide this to retrieve the subsequent page.
@@ -854,22 +769,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Page token received from a previous `ListWorkflowInvocations` call.
      * Provide this to retrieve the subsequent page.
@@ -878,18 +791,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * Optional. Page token received from a previous `ListWorkflowInvocations` call.
      * Provide this to retrieve the subsequent page.
@@ -898,23 +808,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -924,32 +834,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest) - private static final com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest(); } - public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest - getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListWorkflowInvocationsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListWorkflowInvocationsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListWorkflowInvocationsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListWorkflowInvocationsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -961,8 +869,9 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest - getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsRequestOrBuilder.java similarity index 64% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsRequestOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsRequestOrBuilder.java index 8677487..772ae36 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface ListWorkflowInvocationsRequestOrBuilder - extends +public interface ListWorkflowInvocationsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The parent resource of the WorkflowInvocation type. Must be in the
    * format `projects/*/locations/*/repositories/*`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The parent resource of the WorkflowInvocation type. Must be in the
    * format `projects/*/locations/*/repositories/*`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Optional. Maximum number of workflow invocations to return. The server may return
    * fewer items than requested. If unspecified, the server will pick an
@@ -64,14 +37,11 @@ public interface ListWorkflowInvocationsRequestOrBuilder
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. Page token received from a previous `ListWorkflowInvocations` call.
    * Provide this to retrieve the subsequent page.
@@ -80,13 +50,10 @@ public interface ListWorkflowInvocationsRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Optional. Page token received from a previous `ListWorkflowInvocations` call.
    * Provide this to retrieve the subsequent page.
@@ -95,8 +62,8 @@ public interface ListWorkflowInvocationsRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsResponse.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsResponse.java similarity index 69% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsResponse.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsResponse.java index ac50089..a942c69 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsResponse.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsResponse.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * `ListWorkflowInvocations` response message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse} */ -public final class ListWorkflowInvocationsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListWorkflowInvocationsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse) ListWorkflowInvocationsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListWorkflowInvocationsResponse.newBuilder() to construct. - private ListWorkflowInvocationsResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListWorkflowInvocationsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListWorkflowInvocationsResponse() { workflowInvocations_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -46,15 +27,16 @@ private ListWorkflowInvocationsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListWorkflowInvocationsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListWorkflowInvocationsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,44 +56,37 @@ private ListWorkflowInvocationsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - workflowInvocations_ = - new java.util.ArrayList< - com.google.cloud.dataform.v1alpha2.WorkflowInvocation>(); - mutable_bitField0_ |= 0x00000001; - } - workflowInvocations_.add( - input.readMessage( - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + workflowInvocations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + workflowInvocations_.add( + input.readMessage(com.google.cloud.dataform.v1alpha2.WorkflowInvocation.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - unreachable_.add(s); - break; + nextPageToken_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + unreachable_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -119,7 +94,8 @@ private ListWorkflowInvocationsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { workflowInvocations_ = java.util.Collections.unmodifiableList(workflowInvocations_); @@ -131,111 +107,88 @@ private ListWorkflowInvocationsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse.class, - com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse.class, com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse.Builder.class); } public static final int WORKFLOW_INVOCATIONS_FIELD_NUMBER = 1; - private java.util.List - workflowInvocations_; + private java.util.List workflowInvocations_; /** - * - * *
    * List of workflow invocations.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; */ @java.lang.Override - public java.util.List - getWorkflowInvocationsList() { + public java.util.List getWorkflowInvocationsList() { return workflowInvocations_; } /** - * - * *
    * List of workflow invocations.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; */ @java.lang.Override - public java.util.List + public java.util.List getWorkflowInvocationsOrBuilderList() { return workflowInvocations_; } /** - * - * *
    * List of workflow invocations.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; */ @java.lang.Override public int getWorkflowInvocationsCount() { return workflowInvocations_.size(); } /** - * - * *
    * List of workflow invocations.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.WorkflowInvocation getWorkflowInvocations(int index) { return workflowInvocations_.get(index); } /** - * - * *
    * List of workflow invocations.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.WorkflowInvocationOrBuilder - getWorkflowInvocationsOrBuilder(int index) { + public com.google.cloud.dataform.v1alpha2.WorkflowInvocationOrBuilder getWorkflowInvocationsOrBuilder( + int index) { return workflowInvocations_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -244,30 +197,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -278,42 +231,34 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** - * - * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_; } /** - * - * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -321,23 +266,20 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -349,7 +291,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < workflowInvocations_.size(); i++) { output.writeMessage(1, workflowInvocations_.get(i)); } @@ -369,8 +312,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < workflowInvocations_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, workflowInvocations_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, workflowInvocations_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -391,17 +334,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse other = - (com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse) obj; + com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse other = (com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse) obj; - if (!getWorkflowInvocationsList().equals(other.getWorkflowInvocationsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnreachableList().equals(other.getUnreachableList())) return false; + if (!getWorkflowInvocationsList() + .equals(other.getWorkflowInvocationsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getUnreachableList() + .equals(other.getUnreachableList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -429,147 +374,135 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `ListWorkflowInvocations` response message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse) com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse.class, - com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse.class, com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse.Builder.class); } - // Construct using - // com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse.newBuilder() + // Construct using com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getWorkflowInvocationsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -587,16 +520,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsResponse_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse - getDefaultInstanceForType() { - return com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse - .getDefaultInstance(); + public com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse getDefaultInstanceForType() { + return com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse.getDefaultInstance(); } @java.lang.Override @@ -610,8 +541,7 @@ public com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse build( @java.lang.Override public com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse buildPartial() { - com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse result = - new com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse(this); + com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse result = new com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse(this); int from_bitField0_ = bitField0_; if (workflowInvocationsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -636,51 +566,46 @@ public com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse buildP public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse) { - return mergeFrom( - (com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse other) { - if (other - == com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse other) { + if (other == com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse.getDefaultInstance()) return this; if (workflowInvocationsBuilder_ == null) { if (!other.workflowInvocations_.isEmpty()) { if (workflowInvocations_.isEmpty()) { @@ -699,10 +624,9 @@ public Builder mergeFrom( workflowInvocationsBuilder_ = null; workflowInvocations_ = other.workflowInvocations_; bitField0_ = (bitField0_ & ~0x00000001); - workflowInvocationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getWorkflowInvocationsFieldBuilder() - : null; + workflowInvocationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getWorkflowInvocationsFieldBuilder() : null; } else { workflowInvocationsBuilder_.addAllMessages(other.workflowInvocations_); } @@ -741,9 +665,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -752,39 +674,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private java.util.List - workflowInvocations_ = java.util.Collections.emptyList(); - + private java.util.List workflowInvocations_ = + java.util.Collections.emptyList(); private void ensureWorkflowInvocationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - workflowInvocations_ = - new java.util.ArrayList( - workflowInvocations_); + workflowInvocations_ = new java.util.ArrayList(workflowInvocations_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.WorkflowInvocation, - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder, - com.google.cloud.dataform.v1alpha2.WorkflowInvocationOrBuilder> - workflowInvocationsBuilder_; + com.google.cloud.dataform.v1alpha2.WorkflowInvocation, com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder, com.google.cloud.dataform.v1alpha2.WorkflowInvocationOrBuilder> workflowInvocationsBuilder_; /** - * - * *
      * List of workflow invocations.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; */ - public java.util.List - getWorkflowInvocationsList() { + public java.util.List getWorkflowInvocationsList() { if (workflowInvocationsBuilder_ == null) { return java.util.Collections.unmodifiableList(workflowInvocations_); } else { @@ -792,14 +703,11 @@ private void ensureWorkflowInvocationsIsMutable() { } } /** - * - * *
      * List of workflow invocations.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; */ public int getWorkflowInvocationsCount() { if (workflowInvocationsBuilder_ == null) { @@ -809,14 +717,11 @@ public int getWorkflowInvocationsCount() { } } /** - * - * *
      * List of workflow invocations.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; */ public com.google.cloud.dataform.v1alpha2.WorkflowInvocation getWorkflowInvocations(int index) { if (workflowInvocationsBuilder_ == null) { @@ -826,14 +731,11 @@ public com.google.cloud.dataform.v1alpha2.WorkflowInvocation getWorkflowInvocati } } /** - * - * *
      * List of workflow invocations.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; */ public Builder setWorkflowInvocations( int index, com.google.cloud.dataform.v1alpha2.WorkflowInvocation value) { @@ -850,14 +752,11 @@ public Builder setWorkflowInvocations( return this; } /** - * - * *
      * List of workflow invocations.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; */ public Builder setWorkflowInvocations( int index, com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder builderForValue) { @@ -871,17 +770,13 @@ public Builder setWorkflowInvocations( return this; } /** - * - * *
      * List of workflow invocations.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; */ - public Builder addWorkflowInvocations( - com.google.cloud.dataform.v1alpha2.WorkflowInvocation value) { + public Builder addWorkflowInvocations(com.google.cloud.dataform.v1alpha2.WorkflowInvocation value) { if (workflowInvocationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -895,14 +790,11 @@ public Builder addWorkflowInvocations( return this; } /** - * - * *
      * List of workflow invocations.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; */ public Builder addWorkflowInvocations( int index, com.google.cloud.dataform.v1alpha2.WorkflowInvocation value) { @@ -919,14 +811,11 @@ public Builder addWorkflowInvocations( return this; } /** - * - * *
      * List of workflow invocations.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; */ public Builder addWorkflowInvocations( com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder builderForValue) { @@ -940,14 +829,11 @@ public Builder addWorkflowInvocations( return this; } /** - * - * *
      * List of workflow invocations.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; */ public Builder addWorkflowInvocations( int index, com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder builderForValue) { @@ -961,21 +847,18 @@ public Builder addWorkflowInvocations( return this; } /** - * - * *
      * List of workflow invocations.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; */ public Builder addAllWorkflowInvocations( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (workflowInvocationsBuilder_ == null) { ensureWorkflowInvocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, workflowInvocations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, workflowInvocations_); onChanged(); } else { workflowInvocationsBuilder_.addAllMessages(values); @@ -983,14 +866,11 @@ public Builder addAllWorkflowInvocations( return this; } /** - * - * *
      * List of workflow invocations.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; */ public Builder clearWorkflowInvocations() { if (workflowInvocationsBuilder_ == null) { @@ -1003,14 +883,11 @@ public Builder clearWorkflowInvocations() { return this; } /** - * - * *
      * List of workflow invocations.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; */ public Builder removeWorkflowInvocations(int index) { if (workflowInvocationsBuilder_ == null) { @@ -1023,49 +900,39 @@ public Builder removeWorkflowInvocations(int index) { return this; } /** - * - * *
      * List of workflow invocations.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; */ - public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder - getWorkflowInvocationsBuilder(int index) { + public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder getWorkflowInvocationsBuilder( + int index) { return getWorkflowInvocationsFieldBuilder().getBuilder(index); } /** - * - * *
      * List of workflow invocations.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; */ - public com.google.cloud.dataform.v1alpha2.WorkflowInvocationOrBuilder - getWorkflowInvocationsOrBuilder(int index) { + public com.google.cloud.dataform.v1alpha2.WorkflowInvocationOrBuilder getWorkflowInvocationsOrBuilder( + int index) { if (workflowInvocationsBuilder_ == null) { - return workflowInvocations_.get(index); - } else { + return workflowInvocations_.get(index); } else { return workflowInvocationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of workflow invocations.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; */ - public java.util.List - getWorkflowInvocationsOrBuilderList() { + public java.util.List + getWorkflowInvocationsOrBuilderList() { if (workflowInvocationsBuilder_ != null) { return workflowInvocationsBuilder_.getMessageOrBuilderList(); } else { @@ -1073,62 +940,45 @@ public Builder removeWorkflowInvocations(int index) { } } /** - * - * *
      * List of workflow invocations.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; */ - public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder - addWorkflowInvocationsBuilder() { - return getWorkflowInvocationsFieldBuilder() - .addBuilder(com.google.cloud.dataform.v1alpha2.WorkflowInvocation.getDefaultInstance()); + public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder addWorkflowInvocationsBuilder() { + return getWorkflowInvocationsFieldBuilder().addBuilder( + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.getDefaultInstance()); } /** - * - * *
      * List of workflow invocations.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; */ - public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder - addWorkflowInvocationsBuilder(int index) { - return getWorkflowInvocationsFieldBuilder() - .addBuilder( - index, com.google.cloud.dataform.v1alpha2.WorkflowInvocation.getDefaultInstance()); + public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder addWorkflowInvocationsBuilder( + int index) { + return getWorkflowInvocationsFieldBuilder().addBuilder( + index, com.google.cloud.dataform.v1alpha2.WorkflowInvocation.getDefaultInstance()); } /** - * - * *
      * List of workflow invocations.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; */ - public java.util.List - getWorkflowInvocationsBuilderList() { + public java.util.List + getWorkflowInvocationsBuilderList() { return getWorkflowInvocationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.WorkflowInvocation, - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder, - com.google.cloud.dataform.v1alpha2.WorkflowInvocationOrBuilder> + com.google.cloud.dataform.v1alpha2.WorkflowInvocation, com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder, com.google.cloud.dataform.v1alpha2.WorkflowInvocationOrBuilder> getWorkflowInvocationsFieldBuilder() { if (workflowInvocationsBuilder_ == null) { - workflowInvocationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.WorkflowInvocation, - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder, - com.google.cloud.dataform.v1alpha2.WorkflowInvocationOrBuilder>( + workflowInvocationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.WorkflowInvocation, com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder, com.google.cloud.dataform.v1alpha2.WorkflowInvocationOrBuilder>( workflowInvocations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1140,21 +990,19 @@ public Builder removeWorkflowInvocations(int index) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1163,22 +1011,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1186,115 +1033,98 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** - * - * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1302,90 +1132,80 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** - * - * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable(int index, java.lang.String value) { + public Builder setUnreachable( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** - * - * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable(java.lang.String value) { + public Builder addUnreachable( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** - * - * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable(java.lang.Iterable values) { + public Builder addAllUnreachable( + java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachable_); onChanged(); return this; } /** - * - * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1395,30 +1215,28 @@ public Builder clearUnreachable() { return this; } /** - * - * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + public Builder addUnreachableBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1428,32 +1246,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse) - private static final com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse(); } - public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse - getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListWorkflowInvocationsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListWorkflowInvocationsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListWorkflowInvocationsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListWorkflowInvocationsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1465,8 +1281,9 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse - getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsResponseOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsResponseOrBuilder.java similarity index 70% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsResponseOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsResponseOrBuilder.java index 0313b99..f8a7a86 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsResponseOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsResponseOrBuilder.java @@ -1,162 +1,116 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface ListWorkflowInvocationsResponseOrBuilder - extends +public interface ListWorkflowInvocationsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of workflow invocations.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; */ - java.util.List + java.util.List getWorkflowInvocationsList(); /** - * - * *
    * List of workflow invocations.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; */ com.google.cloud.dataform.v1alpha2.WorkflowInvocation getWorkflowInvocations(int index); /** - * - * *
    * List of workflow invocations.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; */ int getWorkflowInvocationsCount(); /** - * - * *
    * List of workflow invocations.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; */ - java.util.List + java.util.List getWorkflowInvocationsOrBuilderList(); /** - * - * *
    * List of workflow invocations.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; */ com.google.cloud.dataform.v1alpha2.WorkflowInvocationOrBuilder getWorkflowInvocationsOrBuilder( int index); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - java.util.List getUnreachableList(); + java.util.List + getUnreachableList(); /** - * - * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ int getUnreachableCount(); /** - * - * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** - * - * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString getUnreachableBytes(int index); + com.google.protobuf.ByteString + getUnreachableBytes(int index); } diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesRequest.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesRequest.java similarity index 72% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesRequest.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesRequest.java index 4249a81..bfff6c7 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesRequest.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * `ListWorkspaces` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.ListWorkspacesRequest} */ -public final class ListWorkspacesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListWorkspacesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.ListWorkspacesRequest) ListWorkspacesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListWorkspacesRequest.newBuilder() to construct. private ListWorkspacesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListWorkspacesRequest() { parent_ = ""; pageToken_ = ""; @@ -46,15 +28,16 @@ private ListWorkspacesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListWorkspacesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListWorkspacesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,46 +56,42 @@ private ListWorkspacesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + orderBy_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + filter_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,42 +99,35 @@ private ListWorkspacesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest.class, - com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest.class, com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The repository in which to list workspaces. Must be in the
    * format `projects/*/locations/*/repositories/*`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -164,32 +136,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The repository in which to list workspaces. Must be in the
    * format `projects/*/locations/*/repositories/*`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -200,8 +170,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * Optional. Maximum number of workspaces to return. The server may return fewer
    * items than requested. If unspecified, the server will pick an appropriate
@@ -209,7 +177,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -220,8 +187,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * Optional. Page token received from a previous `ListWorkspaces` call.
    * Provide this to retrieve the subsequent page.
@@ -230,7 +195,6 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -239,15 +203,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Optional. Page token received from a previous `ListWorkspaces` call.
    * Provide this to retrieve the subsequent page.
@@ -256,15 +219,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -275,8 +239,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int ORDER_BY_FIELD_NUMBER = 4; private volatile java.lang.Object orderBy_; /** - * - * *
    * Optional. This field only supports ordering by `name`. If unspecified, the server
    * will choose the ordering. If specified, the default order is ascending for
@@ -284,7 +246,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ @java.lang.Override @@ -293,15 +254,14 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** - * - * *
    * Optional. This field only supports ordering by `name`. If unspecified, the server
    * will choose the ordering. If specified, the default order is ascending for
@@ -309,15 +269,16 @@ public java.lang.String getOrderBy() {
    * 
* * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -328,14 +289,11 @@ public com.google.protobuf.ByteString getOrderByBytes() { public static final int FILTER_FIELD_NUMBER = 5; private volatile java.lang.Object filter_; /** - * - * *
    * Optional. Filter for the returned list.
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ @java.lang.Override @@ -344,29 +302,29 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * Optional. Filter for the returned list.
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -375,7 +333,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -387,7 +344,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -416,7 +374,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -435,19 +394,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest other = - (com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; - if (!getFilter().equals(other.getFilter())) return false; + com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest other = (com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -475,127 +438,117 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `ListWorkspaces` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.ListWorkspacesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.ListWorkspacesRequest) com.google.cloud.dataform.v1alpha2.ListWorkspacesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest.class, - com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest.class, com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest.newBuilder() @@ -603,15 +556,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -629,9 +583,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesRequest_descriptor; } @java.lang.Override @@ -650,8 +604,7 @@ public com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest result = - new com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest(this); + com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest result = new com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -665,39 +618,38 @@ public com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest)other); } else { super.mergeFrom(other); return this; @@ -705,8 +657,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -745,8 +696,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -758,23 +708,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The repository in which to list workspaces. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -783,24 +729,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The repository in which to list workspaces. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -808,79 +751,64 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The repository in which to list workspaces. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The repository in which to list workspaces. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The repository in which to list workspaces. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Optional. Maximum number of workspaces to return. The server may return fewer
      * items than requested. If unspecified, the server will pick an appropriate
@@ -888,7 +816,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -896,8 +823,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Optional. Maximum number of workspaces to return. The server may return fewer
      * items than requested. If unspecified, the server will pick an appropriate
@@ -905,19 +830,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Maximum number of workspaces to return. The server may return fewer
      * items than requested. If unspecified, the server will pick an appropriate
@@ -925,11 +847,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -937,8 +858,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. Page token received from a previous `ListWorkspaces` call.
      * Provide this to retrieve the subsequent page.
@@ -947,13 +866,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -962,8 +881,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. Page token received from a previous `ListWorkspaces` call.
      * Provide this to retrieve the subsequent page.
@@ -972,14 +889,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -987,8 +905,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. Page token received from a previous `ListWorkspaces` call.
      * Provide this to retrieve the subsequent page.
@@ -997,22 +913,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Page token received from a previous `ListWorkspaces` call.
      * Provide this to retrieve the subsequent page.
@@ -1021,18 +935,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * Optional. Page token received from a previous `ListWorkspaces` call.
      * Provide this to retrieve the subsequent page.
@@ -1041,16 +952,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1058,8 +969,6 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Optional. This field only supports ordering by `name`. If unspecified, the server
      * will choose the ordering. If specified, the default order is ascending for
@@ -1067,13 +976,13 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
      * 
* * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1082,8 +991,6 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Optional. This field only supports ordering by `name`. If unspecified, the server
      * will choose the ordering. If specified, the default order is ascending for
@@ -1091,14 +998,15 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1106,8 +1014,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Optional. This field only supports ordering by `name`. If unspecified, the server
      * will choose the ordering. If specified, the default order is ascending for
@@ -1115,22 +1021,20 @@ public com.google.protobuf.ByteString getOrderByBytes() {
      * 
* * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * Optional. This field only supports ordering by `name`. If unspecified, the server
      * will choose the ordering. If specified, the default order is ascending for
@@ -1138,18 +1042,15 @@ public Builder setOrderBy(java.lang.String value) {
      * 
* * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * Optional. This field only supports ordering by `name`. If unspecified, the server
      * will choose the ordering. If specified, the default order is ascending for
@@ -1157,16 +1058,16 @@ public Builder clearOrderBy() {
      * 
* * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; @@ -1174,20 +1075,18 @@ public Builder setOrderByBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Optional. Filter for the returned list.
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1196,21 +1095,20 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Optional. Filter for the returned list.
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1218,68 +1116,61 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Optional. Filter for the returned list.
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Filter for the returned list.
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * Optional. Filter for the returned list.
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1289,12 +1180,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.ListWorkspacesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.ListWorkspacesRequest) private static final com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest(); } @@ -1303,16 +1194,16 @@ public static com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListWorkspacesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListWorkspacesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListWorkspacesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListWorkspacesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1327,4 +1218,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesRequestOrBuilder.java similarity index 71% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesRequestOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesRequestOrBuilder.java index 805b200..6016e01 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface ListWorkspacesRequestOrBuilder - extends +public interface ListWorkspacesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.ListWorkspacesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The repository in which to list workspaces. Must be in the
    * format `projects/*/locations/*/repositories/*`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The repository in which to list workspaces. Must be in the
    * format `projects/*/locations/*/repositories/*`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Optional. Maximum number of workspaces to return. The server may return fewer
    * items than requested. If unspecified, the server will pick an appropriate
@@ -64,14 +37,11 @@ public interface ListWorkspacesRequestOrBuilder
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. Page token received from a previous `ListWorkspaces` call.
    * Provide this to retrieve the subsequent page.
@@ -80,13 +50,10 @@ public interface ListWorkspacesRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Optional. Page token received from a previous `ListWorkspaces` call.
    * Provide this to retrieve the subsequent page.
@@ -95,14 +62,12 @@ public interface ListWorkspacesRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. This field only supports ordering by `name`. If unspecified, the server
    * will choose the ordering. If specified, the default order is ascending for
@@ -110,13 +75,10 @@ public interface ListWorkspacesRequestOrBuilder
    * 
* * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Optional. This field only supports ordering by `name`. If unspecified, the server
    * will choose the ordering. If specified, the default order is ascending for
@@ -124,33 +86,28 @@ public interface ListWorkspacesRequestOrBuilder
    * 
* * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); /** - * - * *
    * Optional. Filter for the returned list.
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Optional. Filter for the returned list.
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); } diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesResponse.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesResponse.java similarity index 73% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesResponse.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesResponse.java index c342be0..e3fcb63 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesResponse.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * `ListWorkspaces` response message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.ListWorkspacesResponse} */ -public final class ListWorkspacesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListWorkspacesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.ListWorkspacesResponse) ListWorkspacesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListWorkspacesResponse.newBuilder() to construct. private ListWorkspacesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListWorkspacesResponse() { workspaces_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,15 +27,16 @@ private ListWorkspacesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListWorkspacesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListWorkspacesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,42 +56,37 @@ private ListWorkspacesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - workspaces_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - workspaces_.add( - input.readMessage( - com.google.cloud.dataform.v1alpha2.Workspace.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + workspaces_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + workspaces_.add( + input.readMessage(com.google.cloud.dataform.v1alpha2.Workspace.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - unreachable_.add(s); - break; + nextPageToken_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + unreachable_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -116,7 +94,8 @@ private ListWorkspacesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { workspaces_ = java.util.Collections.unmodifiableList(workspaces_); @@ -128,27 +107,22 @@ private ListWorkspacesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse.class, - com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse.class, com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse.Builder.class); } public static final int WORKSPACES_FIELD_NUMBER = 1; private java.util.List workspaces_; /** - * - * *
    * List of workspaces.
    * 
@@ -160,8 +134,6 @@ public java.util.List getWorkspace return workspaces_; } /** - * - * *
    * List of workspaces.
    * 
@@ -169,13 +141,11 @@ public java.util.List getWorkspace * repeated .google.cloud.dataform.v1alpha2.Workspace workspaces = 1; */ @java.lang.Override - public java.util.List + public java.util.List getWorkspacesOrBuilderList() { return workspaces_; } /** - * - * *
    * List of workspaces.
    * 
@@ -187,8 +157,6 @@ public int getWorkspacesCount() { return workspaces_.size(); } /** - * - * *
    * List of workspaces.
    * 
@@ -200,8 +168,6 @@ public com.google.cloud.dataform.v1alpha2.Workspace getWorkspaces(int index) { return workspaces_.get(index); } /** - * - * *
    * List of workspaces.
    * 
@@ -209,22 +175,20 @@ public com.google.cloud.dataform.v1alpha2.Workspace getWorkspaces(int index) { * repeated .google.cloud.dataform.v1alpha2.Workspace workspaces = 1; */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.WorkspaceOrBuilder getWorkspacesOrBuilder(int index) { + public com.google.cloud.dataform.v1alpha2.WorkspaceOrBuilder getWorkspacesOrBuilder( + int index) { return workspaces_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -233,30 +197,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -267,42 +231,34 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** - * - * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_; } /** - * - * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -310,23 +266,20 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -338,7 +291,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < workspaces_.size(); i++) { output.writeMessage(1, workspaces_.get(i)); } @@ -358,7 +312,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < workspaces_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, workspaces_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, workspaces_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -379,17 +334,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse other = - (com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse) obj; + com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse other = (com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse) obj; - if (!getWorkspacesList().equals(other.getWorkspacesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getUnreachableList().equals(other.getUnreachableList())) return false; + if (!getWorkspacesList() + .equals(other.getWorkspacesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getUnreachableList() + .equals(other.getUnreachableList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -417,127 +374,117 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `ListWorkspaces` response message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.ListWorkspacesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.ListWorkspacesResponse) com.google.cloud.dataform.v1alpha2.ListWorkspacesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse.class, - com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse.class, com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse.newBuilder() @@ -545,17 +492,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getWorkspacesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -573,9 +520,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesResponse_descriptor; } @java.lang.Override @@ -594,8 +541,7 @@ public com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse buildPartial() { - com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse result = - new com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse(this); + com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse result = new com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse(this); int from_bitField0_ = bitField0_; if (workspacesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -620,39 +566,38 @@ public com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse)other); } else { super.mergeFrom(other); return this; @@ -660,8 +605,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse other) { - if (other == com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse.getDefaultInstance()) return this; if (workspacesBuilder_ == null) { if (!other.workspaces_.isEmpty()) { if (workspaces_.isEmpty()) { @@ -680,10 +624,9 @@ public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.ListWorkspacesRespon workspacesBuilder_ = null; workspaces_ = other.workspaces_; bitField0_ = (bitField0_ & ~0x00000001); - workspacesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getWorkspacesFieldBuilder() - : null; + workspacesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getWorkspacesFieldBuilder() : null; } else { workspacesBuilder_.addAllMessages(other.workspaces_); } @@ -722,8 +665,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -732,29 +674,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List workspaces_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureWorkspacesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - workspaces_ = - new java.util.ArrayList(workspaces_); + workspaces_ = new java.util.ArrayList(workspaces_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Workspace, - com.google.cloud.dataform.v1alpha2.Workspace.Builder, - com.google.cloud.dataform.v1alpha2.WorkspaceOrBuilder> - workspacesBuilder_; + com.google.cloud.dataform.v1alpha2.Workspace, com.google.cloud.dataform.v1alpha2.Workspace.Builder, com.google.cloud.dataform.v1alpha2.WorkspaceOrBuilder> workspacesBuilder_; /** - * - * *
      * List of workspaces.
      * 
@@ -769,8 +703,6 @@ public java.util.List getWorkspace } } /** - * - * *
      * List of workspaces.
      * 
@@ -785,8 +717,6 @@ public int getWorkspacesCount() { } } /** - * - * *
      * List of workspaces.
      * 
@@ -801,15 +731,14 @@ public com.google.cloud.dataform.v1alpha2.Workspace getWorkspaces(int index) { } } /** - * - * *
      * List of workspaces.
      * 
* * repeated .google.cloud.dataform.v1alpha2.Workspace workspaces = 1; */ - public Builder setWorkspaces(int index, com.google.cloud.dataform.v1alpha2.Workspace value) { + public Builder setWorkspaces( + int index, com.google.cloud.dataform.v1alpha2.Workspace value) { if (workspacesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -823,8 +752,6 @@ public Builder setWorkspaces(int index, com.google.cloud.dataform.v1alpha2.Works return this; } /** - * - * *
      * List of workspaces.
      * 
@@ -843,8 +770,6 @@ public Builder setWorkspaces( return this; } /** - * - * *
      * List of workspaces.
      * 
@@ -865,15 +790,14 @@ public Builder addWorkspaces(com.google.cloud.dataform.v1alpha2.Workspace value) return this; } /** - * - * *
      * List of workspaces.
      * 
* * repeated .google.cloud.dataform.v1alpha2.Workspace workspaces = 1; */ - public Builder addWorkspaces(int index, com.google.cloud.dataform.v1alpha2.Workspace value) { + public Builder addWorkspaces( + int index, com.google.cloud.dataform.v1alpha2.Workspace value) { if (workspacesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -887,8 +811,6 @@ public Builder addWorkspaces(int index, com.google.cloud.dataform.v1alpha2.Works return this; } /** - * - * *
      * List of workspaces.
      * 
@@ -907,8 +829,6 @@ public Builder addWorkspaces( return this; } /** - * - * *
      * List of workspaces.
      * 
@@ -927,8 +847,6 @@ public Builder addWorkspaces( return this; } /** - * - * *
      * List of workspaces.
      * 
@@ -939,7 +857,8 @@ public Builder addAllWorkspaces( java.lang.Iterable values) { if (workspacesBuilder_ == null) { ensureWorkspacesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, workspaces_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, workspaces_); onChanged(); } else { workspacesBuilder_.addAllMessages(values); @@ -947,8 +866,6 @@ public Builder addAllWorkspaces( return this; } /** - * - * *
      * List of workspaces.
      * 
@@ -966,8 +883,6 @@ public Builder clearWorkspaces() { return this; } /** - * - * *
      * List of workspaces.
      * 
@@ -985,44 +900,39 @@ public Builder removeWorkspaces(int index) { return this; } /** - * - * *
      * List of workspaces.
      * 
* * repeated .google.cloud.dataform.v1alpha2.Workspace workspaces = 1; */ - public com.google.cloud.dataform.v1alpha2.Workspace.Builder getWorkspacesBuilder(int index) { + public com.google.cloud.dataform.v1alpha2.Workspace.Builder getWorkspacesBuilder( + int index) { return getWorkspacesFieldBuilder().getBuilder(index); } /** - * - * *
      * List of workspaces.
      * 
* * repeated .google.cloud.dataform.v1alpha2.Workspace workspaces = 1; */ - public com.google.cloud.dataform.v1alpha2.WorkspaceOrBuilder getWorkspacesOrBuilder(int index) { + public com.google.cloud.dataform.v1alpha2.WorkspaceOrBuilder getWorkspacesOrBuilder( + int index) { if (workspacesBuilder_ == null) { - return workspaces_.get(index); - } else { + return workspaces_.get(index); } else { return workspacesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of workspaces.
      * 
* * repeated .google.cloud.dataform.v1alpha2.Workspace workspaces = 1; */ - public java.util.List - getWorkspacesOrBuilderList() { + public java.util.List + getWorkspacesOrBuilderList() { if (workspacesBuilder_ != null) { return workspacesBuilder_.getMessageOrBuilderList(); } else { @@ -1030,8 +940,6 @@ public com.google.cloud.dataform.v1alpha2.WorkspaceOrBuilder getWorkspacesOrBuil } } /** - * - * *
      * List of workspaces.
      * 
@@ -1039,48 +947,42 @@ public com.google.cloud.dataform.v1alpha2.WorkspaceOrBuilder getWorkspacesOrBuil * repeated .google.cloud.dataform.v1alpha2.Workspace workspaces = 1; */ public com.google.cloud.dataform.v1alpha2.Workspace.Builder addWorkspacesBuilder() { - return getWorkspacesFieldBuilder() - .addBuilder(com.google.cloud.dataform.v1alpha2.Workspace.getDefaultInstance()); + return getWorkspacesFieldBuilder().addBuilder( + com.google.cloud.dataform.v1alpha2.Workspace.getDefaultInstance()); } /** - * - * *
      * List of workspaces.
      * 
* * repeated .google.cloud.dataform.v1alpha2.Workspace workspaces = 1; */ - public com.google.cloud.dataform.v1alpha2.Workspace.Builder addWorkspacesBuilder(int index) { - return getWorkspacesFieldBuilder() - .addBuilder(index, com.google.cloud.dataform.v1alpha2.Workspace.getDefaultInstance()); + public com.google.cloud.dataform.v1alpha2.Workspace.Builder addWorkspacesBuilder( + int index) { + return getWorkspacesFieldBuilder().addBuilder( + index, com.google.cloud.dataform.v1alpha2.Workspace.getDefaultInstance()); } /** - * - * *
      * List of workspaces.
      * 
* * repeated .google.cloud.dataform.v1alpha2.Workspace workspaces = 1; */ - public java.util.List - getWorkspacesBuilderList() { + public java.util.List + getWorkspacesBuilderList() { return getWorkspacesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Workspace, - com.google.cloud.dataform.v1alpha2.Workspace.Builder, - com.google.cloud.dataform.v1alpha2.WorkspaceOrBuilder> + com.google.cloud.dataform.v1alpha2.Workspace, com.google.cloud.dataform.v1alpha2.Workspace.Builder, com.google.cloud.dataform.v1alpha2.WorkspaceOrBuilder> getWorkspacesFieldBuilder() { if (workspacesBuilder_ == null) { - workspacesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Workspace, - com.google.cloud.dataform.v1alpha2.Workspace.Builder, - com.google.cloud.dataform.v1alpha2.WorkspaceOrBuilder>( - workspaces_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + workspacesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.Workspace, com.google.cloud.dataform.v1alpha2.Workspace.Builder, com.google.cloud.dataform.v1alpha2.WorkspaceOrBuilder>( + workspaces_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); workspaces_ = null; } return workspacesBuilder_; @@ -1088,21 +990,19 @@ public com.google.cloud.dataform.v1alpha2.Workspace.Builder addWorkspacesBuilder private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1111,22 +1011,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1134,115 +1033,98 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList getUnreachableList() { + public com.google.protobuf.ProtocolStringList + getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** - * - * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** - * - * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1250,90 +1132,80 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** - * - * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable(int index, java.lang.String value) { + public Builder setUnreachable( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** - * - * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable(java.lang.String value) { + public Builder addUnreachable( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** - * - * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable(java.lang.Iterable values) { + public Builder addAllUnreachable( + java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachable_); onChanged(); return this; } /** - * - * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; - * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1343,30 +1215,28 @@ public Builder clearUnreachable() { return this; } /** - * - * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; - * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { + public Builder addUnreachableBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1376,12 +1246,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.ListWorkspacesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.ListWorkspacesResponse) private static final com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse(); } @@ -1390,16 +1260,16 @@ public static com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListWorkspacesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListWorkspacesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListWorkspacesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListWorkspacesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1414,4 +1284,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesResponseOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesResponseOrBuilder.java similarity index 71% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesResponseOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesResponseOrBuilder.java index 3589dc0..5e6ff7e 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesResponseOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface ListWorkspacesResponseOrBuilder - extends +public interface ListWorkspacesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.ListWorkspacesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of workspaces.
    * 
* * repeated .google.cloud.dataform.v1alpha2.Workspace workspaces = 1; */ - java.util.List getWorkspacesList(); + java.util.List + getWorkspacesList(); /** - * - * *
    * List of workspaces.
    * 
@@ -44,8 +25,6 @@ public interface ListWorkspacesResponseOrBuilder */ com.google.cloud.dataform.v1alpha2.Workspace getWorkspaces(int index); /** - * - * *
    * List of workspaces.
    * 
@@ -54,102 +33,84 @@ public interface ListWorkspacesResponseOrBuilder */ int getWorkspacesCount(); /** - * - * *
    * List of workspaces.
    * 
* * repeated .google.cloud.dataform.v1alpha2.Workspace workspaces = 1; */ - java.util.List + java.util.List getWorkspacesOrBuilderList(); /** - * - * *
    * List of workspaces.
    * 
* * repeated .google.cloud.dataform.v1alpha2.Workspace workspaces = 1; */ - com.google.cloud.dataform.v1alpha2.WorkspaceOrBuilder getWorkspacesOrBuilder(int index); + com.google.cloud.dataform.v1alpha2.WorkspaceOrBuilder getWorkspacesOrBuilder( + int index); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return A list containing the unreachable. */ - java.util.List getUnreachableList(); + java.util.List + getUnreachableList(); /** - * - * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; - * * @return The count of unreachable. */ int getUnreachableCount(); /** - * - * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** - * - * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString getUnreachableBytes(int index); + com.google.protobuf.ByteString + getUnreachableBytes(int index); } diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/LocationName.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/LocationName.java similarity index 100% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/LocationName.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/LocationName.java diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryRequest.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryRequest.java similarity index 66% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryRequest.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryRequest.java index 8fe78ac..6900fa4 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryRequest.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * `MakeDirectory` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.MakeDirectoryRequest} */ -public final class MakeDirectoryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MakeDirectoryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.MakeDirectoryRequest) MakeDirectoryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MakeDirectoryRequest.newBuilder() to construct. private MakeDirectoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MakeDirectoryRequest() { workspace_ = ""; path_ = ""; @@ -44,15 +26,16 @@ private MakeDirectoryRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MakeDirectoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private MakeDirectoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private MakeDirectoryRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - workspace_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + workspace_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - path_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + path_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,41 +80,34 @@ private MakeDirectoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest.class, - com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest.class, com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest.Builder.class); } public static final int WORKSPACE_FIELD_NUMBER = 1; private volatile java.lang.Object workspace_; /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The workspace. */ @java.lang.Override @@ -142,31 +116,29 @@ public java.lang.String getWorkspace() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; } } /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for workspace. */ @java.lang.Override - public com.google.protobuf.ByteString getWorkspaceBytes() { + public com.google.protobuf.ByteString + getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); workspace_ = b; return b; } else { @@ -177,15 +149,12 @@ public com.google.protobuf.ByteString getWorkspaceBytes() { public static final int PATH_FIELD_NUMBER = 2; private volatile java.lang.Object path_; /** - * - * *
    * Required. The directory's full path including directory name, relative to the
    * workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The path. */ @java.lang.Override @@ -194,30 +163,30 @@ public java.lang.String getPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } } /** - * - * *
    * Required. The directory's full path including directory name, relative to the
    * workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for path. */ @java.lang.Override - public com.google.protobuf.ByteString getPathBytes() { + public com.google.protobuf.ByteString + getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); path_ = b; return b; } else { @@ -226,7 +195,6 @@ public com.google.protobuf.ByteString getPathBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -238,7 +206,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workspace_); } @@ -268,16 +237,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest other = - (com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest) obj; + com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest other = (com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest) obj; - if (!getWorkspace().equals(other.getWorkspace())) return false; - if (!getPath().equals(other.getPath())) return false; + if (!getWorkspace() + .equals(other.getWorkspace())) return false; + if (!getPath() + .equals(other.getPath())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -299,127 +269,117 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `MakeDirectory` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.MakeDirectoryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.MakeDirectoryRequest) com.google.cloud.dataform.v1alpha2.MakeDirectoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest.class, - com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest.class, com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest.newBuilder() @@ -427,15 +387,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -447,9 +408,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryRequest_descriptor; } @java.lang.Override @@ -468,8 +429,7 @@ public com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest result = - new com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest(this); + com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest result = new com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest(this); result.workspace_ = workspace_; result.path_ = path_; onBuilt(); @@ -480,39 +440,38 @@ public com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest)other); } else { super.mergeFrom(other); return this; @@ -520,8 +479,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest.getDefaultInstance()) return this; if (!other.getWorkspace().isEmpty()) { workspace_ = other.workspace_; onChanged(); @@ -549,8 +507,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -562,22 +519,18 @@ public Builder mergeFrom( private java.lang.Object workspace_ = ""; /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The workspace. */ public java.lang.String getWorkspace() { java.lang.Object ref = workspace_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; @@ -586,23 +539,20 @@ public java.lang.String getWorkspace() { } } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for workspace. */ - public com.google.protobuf.ByteString getWorkspaceBytes() { + public com.google.protobuf.ByteString + getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); workspace_ = b; return b; } else { @@ -610,67 +560,54 @@ public com.google.protobuf.ByteString getWorkspaceBytes() { } } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The workspace to set. * @return This builder for chaining. */ - public Builder setWorkspace(java.lang.String value) { + public Builder setWorkspace( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + workspace_ = value; onChanged(); return this; } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearWorkspace() { - + workspace_ = getDefaultInstance().getWorkspace(); onChanged(); return this; } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for workspace to set. * @return This builder for chaining. */ - public Builder setWorkspaceBytes(com.google.protobuf.ByteString value) { + public Builder setWorkspaceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workspace_ = value; onChanged(); return this; @@ -678,21 +615,19 @@ public Builder setWorkspaceBytes(com.google.protobuf.ByteString value) { private java.lang.Object path_ = ""; /** - * - * *
      * Required. The directory's full path including directory name, relative to the
      * workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; @@ -701,22 +636,21 @@ public java.lang.String getPath() { } } /** - * - * *
      * Required. The directory's full path including directory name, relative to the
      * workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for path. */ - public com.google.protobuf.ByteString getPathBytes() { + public com.google.protobuf.ByteString + getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); path_ = b; return b; } else { @@ -724,71 +658,64 @@ public com.google.protobuf.ByteString getPathBytes() { } } /** - * - * *
      * Required. The directory's full path including directory name, relative to the
      * workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath(java.lang.String value) { + public Builder setPath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + path_ = value; onChanged(); return this; } /** - * - * *
      * Required. The directory's full path including directory name, relative to the
      * workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearPath() { - + path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** - * - * *
      * Required. The directory's full path including directory name, relative to the
      * workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes(com.google.protobuf.ByteString value) { + public Builder setPathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -798,12 +725,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.MakeDirectoryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.MakeDirectoryRequest) private static final com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest(); } @@ -812,16 +739,16 @@ public static com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MakeDirectoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MakeDirectoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MakeDirectoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MakeDirectoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -836,4 +763,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryRequestOrBuilder.java similarity index 50% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryRequestOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryRequestOrBuilder.java index c462f16..8ec4c52 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryRequestOrBuilder.java @@ -1,81 +1,51 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface MakeDirectoryRequestOrBuilder - extends +public interface MakeDirectoryRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.MakeDirectoryRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The workspace. */ java.lang.String getWorkspace(); /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for workspace. */ - com.google.protobuf.ByteString getWorkspaceBytes(); + com.google.protobuf.ByteString + getWorkspaceBytes(); /** - * - * *
    * Required. The directory's full path including directory name, relative to the
    * workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The path. */ java.lang.String getPath(); /** - * - * *
    * Required. The directory's full path including directory name, relative to the
    * workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for path. */ - com.google.protobuf.ByteString getPathBytes(); + com.google.protobuf.ByteString + getPathBytes(); } diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryResponse.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryResponse.java similarity index 65% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryResponse.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryResponse.java index 8f50781..5e4bd54 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryResponse.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryResponse.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * `MakeDirectory` response message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.MakeDirectoryResponse} */ -public final class MakeDirectoryResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MakeDirectoryResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.MakeDirectoryResponse) MakeDirectoryResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MakeDirectoryResponse.newBuilder() to construct. private MakeDirectoryResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private MakeDirectoryResponse() {} + private MakeDirectoryResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MakeDirectoryResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private MakeDirectoryResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private MakeDirectoryResponse( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private MakeDirectoryResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse.class, - com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse.class, com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse other = - (com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse) obj; + com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse other = (com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,127 +141,117 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `MakeDirectory` response message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.MakeDirectoryResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.MakeDirectoryResponse) com.google.cloud.dataform.v1alpha2.MakeDirectoryResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse.class, - com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse.class, com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse.newBuilder() @@ -288,15 +259,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -304,9 +276,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryResponse_descriptor; } @java.lang.Override @@ -325,8 +297,7 @@ public com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse buildPartial() { - com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse result = - new com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse(this); + com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse result = new com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse(this); onBuilt(); return result; } @@ -335,39 +306,38 @@ public com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse)other); } else { super.mergeFrom(other); return this; @@ -375,8 +345,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse other) { - if (other == com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -396,8 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -406,9 +374,9 @@ public Builder mergeFrom( } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -418,12 +386,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.MakeDirectoryResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.MakeDirectoryResponse) private static final com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse(); } @@ -432,16 +400,16 @@ public static com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MakeDirectoryResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MakeDirectoryResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MakeDirectoryResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MakeDirectoryResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -456,4 +424,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryResponseOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryResponseOrBuilder.java new file mode 100644 index 0000000..89028c6 --- /dev/null +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryResponseOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1alpha2/dataform.proto + +package com.google.cloud.dataform.v1alpha2; + +public interface MakeDirectoryResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.MakeDirectoryResponse) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryRequest.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryRequest.java similarity index 68% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryRequest.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryRequest.java index eaf1720..07df2bf 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryRequest.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * `MoveDirectory` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.MoveDirectoryRequest} */ -public final class MoveDirectoryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MoveDirectoryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.MoveDirectoryRequest) MoveDirectoryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MoveDirectoryRequest.newBuilder() to construct. private MoveDirectoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MoveDirectoryRequest() { workspace_ = ""; path_ = ""; @@ -45,15 +27,16 @@ private MoveDirectoryRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MoveDirectoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private MoveDirectoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,34 +55,31 @@ private MoveDirectoryRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - workspace_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + workspace_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - path_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + path_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - newPath_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + newPath_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -107,41 +87,34 @@ private MoveDirectoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest.class, - com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest.class, com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest.Builder.class); } public static final int WORKSPACE_FIELD_NUMBER = 1; private volatile java.lang.Object workspace_; /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The workspace. */ @java.lang.Override @@ -150,31 +123,29 @@ public java.lang.String getWorkspace() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; } } /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for workspace. */ @java.lang.Override - public com.google.protobuf.ByteString getWorkspaceBytes() { + public com.google.protobuf.ByteString + getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); workspace_ = b; return b; } else { @@ -185,15 +156,12 @@ public com.google.protobuf.ByteString getWorkspaceBytes() { public static final int PATH_FIELD_NUMBER = 2; private volatile java.lang.Object path_; /** - * - * *
    * Required. The directory's full path including directory name, relative to the
    * workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The path. */ @java.lang.Override @@ -202,30 +170,30 @@ public java.lang.String getPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } } /** - * - * *
    * Required. The directory's full path including directory name, relative to the
    * workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for path. */ @java.lang.Override - public com.google.protobuf.ByteString getPathBytes() { + public com.google.protobuf.ByteString + getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); path_ = b; return b; } else { @@ -236,15 +204,12 @@ public com.google.protobuf.ByteString getPathBytes() { public static final int NEW_PATH_FIELD_NUMBER = 3; private volatile java.lang.Object newPath_; /** - * - * *
    * Required. The new path for the directory including directory name, rooted at
    * workspace root.
    * 
* * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The newPath. */ @java.lang.Override @@ -253,30 +218,30 @@ public java.lang.String getNewPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); newPath_ = s; return s; } } /** - * - * *
    * Required. The new path for the directory including directory name, rooted at
    * workspace root.
    * 
* * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for newPath. */ @java.lang.Override - public com.google.protobuf.ByteString getNewPathBytes() { + public com.google.protobuf.ByteString + getNewPathBytes() { java.lang.Object ref = newPath_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); newPath_ = b; return b; } else { @@ -285,7 +250,6 @@ public com.google.protobuf.ByteString getNewPathBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -297,7 +261,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workspace_); } @@ -333,17 +298,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest other = - (com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest) obj; + com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest other = (com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest) obj; - if (!getWorkspace().equals(other.getWorkspace())) return false; - if (!getPath().equals(other.getPath())) return false; - if (!getNewPath().equals(other.getNewPath())) return false; + if (!getWorkspace() + .equals(other.getWorkspace())) return false; + if (!getPath() + .equals(other.getPath())) return false; + if (!getNewPath() + .equals(other.getNewPath())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -367,127 +334,117 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `MoveDirectory` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.MoveDirectoryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.MoveDirectoryRequest) com.google.cloud.dataform.v1alpha2.MoveDirectoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest.class, - com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest.class, com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest.newBuilder() @@ -495,15 +452,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -517,9 +475,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryRequest_descriptor; } @java.lang.Override @@ -538,8 +496,7 @@ public com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest result = - new com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest(this); + com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest result = new com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest(this); result.workspace_ = workspace_; result.path_ = path_; result.newPath_ = newPath_; @@ -551,39 +508,38 @@ public com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest)other); } else { super.mergeFrom(other); return this; @@ -591,8 +547,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest.getDefaultInstance()) return this; if (!other.getWorkspace().isEmpty()) { workspace_ = other.workspace_; onChanged(); @@ -624,8 +579,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -637,22 +591,18 @@ public Builder mergeFrom( private java.lang.Object workspace_ = ""; /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The workspace. */ public java.lang.String getWorkspace() { java.lang.Object ref = workspace_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; @@ -661,23 +611,20 @@ public java.lang.String getWorkspace() { } } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for workspace. */ - public com.google.protobuf.ByteString getWorkspaceBytes() { + public com.google.protobuf.ByteString + getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); workspace_ = b; return b; } else { @@ -685,67 +632,54 @@ public com.google.protobuf.ByteString getWorkspaceBytes() { } } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The workspace to set. * @return This builder for chaining. */ - public Builder setWorkspace(java.lang.String value) { + public Builder setWorkspace( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + workspace_ = value; onChanged(); return this; } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearWorkspace() { - + workspace_ = getDefaultInstance().getWorkspace(); onChanged(); return this; } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for workspace to set. * @return This builder for chaining. */ - public Builder setWorkspaceBytes(com.google.protobuf.ByteString value) { + public Builder setWorkspaceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workspace_ = value; onChanged(); return this; @@ -753,21 +687,19 @@ public Builder setWorkspaceBytes(com.google.protobuf.ByteString value) { private java.lang.Object path_ = ""; /** - * - * *
      * Required. The directory's full path including directory name, relative to the
      * workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; @@ -776,22 +708,21 @@ public java.lang.String getPath() { } } /** - * - * *
      * Required. The directory's full path including directory name, relative to the
      * workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for path. */ - public com.google.protobuf.ByteString getPathBytes() { + public com.google.protobuf.ByteString + getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); path_ = b; return b; } else { @@ -799,64 +730,57 @@ public com.google.protobuf.ByteString getPathBytes() { } } /** - * - * *
      * Required. The directory's full path including directory name, relative to the
      * workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath(java.lang.String value) { + public Builder setPath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + path_ = value; onChanged(); return this; } /** - * - * *
      * Required. The directory's full path including directory name, relative to the
      * workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearPath() { - + path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** - * - * *
      * Required. The directory's full path including directory name, relative to the
      * workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes(com.google.protobuf.ByteString value) { + public Builder setPathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; onChanged(); return this; @@ -864,21 +788,19 @@ public Builder setPathBytes(com.google.protobuf.ByteString value) { private java.lang.Object newPath_ = ""; /** - * - * *
      * Required. The new path for the directory including directory name, rooted at
      * workspace root.
      * 
* * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The newPath. */ public java.lang.String getNewPath() { java.lang.Object ref = newPath_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); newPath_ = s; return s; @@ -887,22 +809,21 @@ public java.lang.String getNewPath() { } } /** - * - * *
      * Required. The new path for the directory including directory name, rooted at
      * workspace root.
      * 
* * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for newPath. */ - public com.google.protobuf.ByteString getNewPathBytes() { + public com.google.protobuf.ByteString + getNewPathBytes() { java.lang.Object ref = newPath_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); newPath_ = b; return b; } else { @@ -910,71 +831,64 @@ public com.google.protobuf.ByteString getNewPathBytes() { } } /** - * - * *
      * Required. The new path for the directory including directory name, rooted at
      * workspace root.
      * 
* * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The newPath to set. * @return This builder for chaining. */ - public Builder setNewPath(java.lang.String value) { + public Builder setNewPath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + newPath_ = value; onChanged(); return this; } /** - * - * *
      * Required. The new path for the directory including directory name, rooted at
      * workspace root.
      * 
* * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearNewPath() { - + newPath_ = getDefaultInstance().getNewPath(); onChanged(); return this; } /** - * - * *
      * Required. The new path for the directory including directory name, rooted at
      * workspace root.
      * 
* * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for newPath to set. * @return This builder for chaining. */ - public Builder setNewPathBytes(com.google.protobuf.ByteString value) { + public Builder setNewPathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + newPath_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -984,12 +898,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.MoveDirectoryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.MoveDirectoryRequest) private static final com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest(); } @@ -998,16 +912,16 @@ public static com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MoveDirectoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MoveDirectoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MoveDirectoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MoveDirectoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1022,4 +936,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryRequestOrBuilder.java similarity index 58% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryRequestOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryRequestOrBuilder.java index f56b68e..bc768f1 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryRequestOrBuilder.java @@ -1,108 +1,73 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface MoveDirectoryRequestOrBuilder - extends +public interface MoveDirectoryRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.MoveDirectoryRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The workspace. */ java.lang.String getWorkspace(); /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for workspace. */ - com.google.protobuf.ByteString getWorkspaceBytes(); + com.google.protobuf.ByteString + getWorkspaceBytes(); /** - * - * *
    * Required. The directory's full path including directory name, relative to the
    * workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The path. */ java.lang.String getPath(); /** - * - * *
    * Required. The directory's full path including directory name, relative to the
    * workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for path. */ - com.google.protobuf.ByteString getPathBytes(); + com.google.protobuf.ByteString + getPathBytes(); /** - * - * *
    * Required. The new path for the directory including directory name, rooted at
    * workspace root.
    * 
* * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The newPath. */ java.lang.String getNewPath(); /** - * - * *
    * Required. The new path for the directory including directory name, rooted at
    * workspace root.
    * 
* * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for newPath. */ - com.google.protobuf.ByteString getNewPathBytes(); + com.google.protobuf.ByteString + getNewPathBytes(); } diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryResponse.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryResponse.java similarity index 65% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryResponse.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryResponse.java index fb09d54..08768bc 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryResponse.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryResponse.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * `MoveDirectory` response message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.MoveDirectoryResponse} */ -public final class MoveDirectoryResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MoveDirectoryResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.MoveDirectoryResponse) MoveDirectoryResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MoveDirectoryResponse.newBuilder() to construct. private MoveDirectoryResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private MoveDirectoryResponse() {} + private MoveDirectoryResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MoveDirectoryResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private MoveDirectoryResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private MoveDirectoryResponse( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private MoveDirectoryResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse.class, - com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse.class, com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse other = - (com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse) obj; + com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse other = (com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,127 +141,117 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `MoveDirectory` response message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.MoveDirectoryResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.MoveDirectoryResponse) com.google.cloud.dataform.v1alpha2.MoveDirectoryResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse.class, - com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse.class, com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse.newBuilder() @@ -288,15 +259,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -304,9 +276,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryResponse_descriptor; } @java.lang.Override @@ -325,8 +297,7 @@ public com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse buildPartial() { - com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse result = - new com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse(this); + com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse result = new com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse(this); onBuilt(); return result; } @@ -335,39 +306,38 @@ public com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse)other); } else { super.mergeFrom(other); return this; @@ -375,8 +345,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse other) { - if (other == com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -396,8 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -406,9 +374,9 @@ public Builder mergeFrom( } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -418,12 +386,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.MoveDirectoryResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.MoveDirectoryResponse) private static final com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse(); } @@ -432,16 +400,16 @@ public static com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MoveDirectoryResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MoveDirectoryResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MoveDirectoryResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MoveDirectoryResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -456,4 +424,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryResponseOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryResponseOrBuilder.java new file mode 100644 index 0000000..e945182 --- /dev/null +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryResponseOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1alpha2/dataform.proto + +package com.google.cloud.dataform.v1alpha2; + +public interface MoveDirectoryResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.MoveDirectoryResponse) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileRequest.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileRequest.java similarity index 68% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileRequest.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileRequest.java index 7c9916f..bbd6001 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileRequest.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * `MoveFile` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.MoveFileRequest} */ -public final class MoveFileRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MoveFileRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.MoveFileRequest) MoveFileRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MoveFileRequest.newBuilder() to construct. private MoveFileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MoveFileRequest() { workspace_ = ""; path_ = ""; @@ -45,15 +27,16 @@ private MoveFileRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MoveFileRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private MoveFileRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,34 +55,31 @@ private MoveFileRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - workspace_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + workspace_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - path_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + path_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - newPath_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + newPath_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -107,41 +87,34 @@ private MoveFileRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_MoveFileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MoveFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_MoveFileRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MoveFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.MoveFileRequest.class, - com.google.cloud.dataform.v1alpha2.MoveFileRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.MoveFileRequest.class, com.google.cloud.dataform.v1alpha2.MoveFileRequest.Builder.class); } public static final int WORKSPACE_FIELD_NUMBER = 1; private volatile java.lang.Object workspace_; /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The workspace. */ @java.lang.Override @@ -150,31 +123,29 @@ public java.lang.String getWorkspace() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; } } /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for workspace. */ @java.lang.Override - public com.google.protobuf.ByteString getWorkspaceBytes() { + public com.google.protobuf.ByteString + getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); workspace_ = b; return b; } else { @@ -185,14 +156,11 @@ public com.google.protobuf.ByteString getWorkspaceBytes() { public static final int PATH_FIELD_NUMBER = 2; private volatile java.lang.Object path_; /** - * - * *
    * Required. The file's full path including filename, relative to the workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The path. */ @java.lang.Override @@ -201,29 +169,29 @@ public java.lang.String getPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } } /** - * - * *
    * Required. The file's full path including filename, relative to the workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for path. */ @java.lang.Override - public com.google.protobuf.ByteString getPathBytes() { + public com.google.protobuf.ByteString + getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); path_ = b; return b; } else { @@ -234,14 +202,11 @@ public com.google.protobuf.ByteString getPathBytes() { public static final int NEW_PATH_FIELD_NUMBER = 3; private volatile java.lang.Object newPath_; /** - * - * *
    * Required. The file's new path including filename, relative to the workspace root.
    * 
* * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The newPath. */ @java.lang.Override @@ -250,29 +215,29 @@ public java.lang.String getNewPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); newPath_ = s; return s; } } /** - * - * *
    * Required. The file's new path including filename, relative to the workspace root.
    * 
* * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for newPath. */ @java.lang.Override - public com.google.protobuf.ByteString getNewPathBytes() { + public com.google.protobuf.ByteString + getNewPathBytes() { java.lang.Object ref = newPath_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); newPath_ = b; return b; } else { @@ -281,7 +246,6 @@ public com.google.protobuf.ByteString getNewPathBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -293,7 +257,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workspace_); } @@ -329,17 +294,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.MoveFileRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.MoveFileRequest other = - (com.google.cloud.dataform.v1alpha2.MoveFileRequest) obj; + com.google.cloud.dataform.v1alpha2.MoveFileRequest other = (com.google.cloud.dataform.v1alpha2.MoveFileRequest) obj; - if (!getWorkspace().equals(other.getWorkspace())) return false; - if (!getPath().equals(other.getPath())) return false; - if (!getNewPath().equals(other.getNewPath())) return false; + if (!getWorkspace() + .equals(other.getWorkspace())) return false; + if (!getPath() + .equals(other.getPath())) return false; + if (!getNewPath() + .equals(other.getNewPath())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -363,126 +330,117 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.MoveFileRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.MoveFileRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.MoveFileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.MoveFileRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.MoveFileRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.MoveFileRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.MoveFileRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.MoveFileRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.MoveFileRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.MoveFileRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.MoveFileRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.MoveFileRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.MoveFileRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.MoveFileRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.MoveFileRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `MoveFile` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.MoveFileRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.MoveFileRequest) com.google.cloud.dataform.v1alpha2.MoveFileRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_MoveFileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MoveFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_MoveFileRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MoveFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.MoveFileRequest.class, - com.google.cloud.dataform.v1alpha2.MoveFileRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.MoveFileRequest.class, com.google.cloud.dataform.v1alpha2.MoveFileRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.MoveFileRequest.newBuilder() @@ -490,15 +448,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -512,9 +471,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_MoveFileRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MoveFileRequest_descriptor; } @java.lang.Override @@ -533,8 +492,7 @@ public com.google.cloud.dataform.v1alpha2.MoveFileRequest build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.MoveFileRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.MoveFileRequest result = - new com.google.cloud.dataform.v1alpha2.MoveFileRequest(this); + com.google.cloud.dataform.v1alpha2.MoveFileRequest result = new com.google.cloud.dataform.v1alpha2.MoveFileRequest(this); result.workspace_ = workspace_; result.path_ = path_; result.newPath_ = newPath_; @@ -546,39 +504,38 @@ public com.google.cloud.dataform.v1alpha2.MoveFileRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.MoveFileRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.MoveFileRequest) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.MoveFileRequest)other); } else { super.mergeFrom(other); return this; @@ -586,8 +543,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.MoveFileRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.MoveFileRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataform.v1alpha2.MoveFileRequest.getDefaultInstance()) return this; if (!other.getWorkspace().isEmpty()) { workspace_ = other.workspace_; onChanged(); @@ -619,8 +575,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.MoveFileRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.MoveFileRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -632,22 +587,18 @@ public Builder mergeFrom( private java.lang.Object workspace_ = ""; /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The workspace. */ public java.lang.String getWorkspace() { java.lang.Object ref = workspace_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; @@ -656,23 +607,20 @@ public java.lang.String getWorkspace() { } } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for workspace. */ - public com.google.protobuf.ByteString getWorkspaceBytes() { + public com.google.protobuf.ByteString + getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); workspace_ = b; return b; } else { @@ -680,67 +628,54 @@ public com.google.protobuf.ByteString getWorkspaceBytes() { } } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The workspace to set. * @return This builder for chaining. */ - public Builder setWorkspace(java.lang.String value) { + public Builder setWorkspace( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + workspace_ = value; onChanged(); return this; } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearWorkspace() { - + workspace_ = getDefaultInstance().getWorkspace(); onChanged(); return this; } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for workspace to set. * @return This builder for chaining. */ - public Builder setWorkspaceBytes(com.google.protobuf.ByteString value) { + public Builder setWorkspaceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workspace_ = value; onChanged(); return this; @@ -748,20 +683,18 @@ public Builder setWorkspaceBytes(com.google.protobuf.ByteString value) { private java.lang.Object path_ = ""; /** - * - * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; @@ -770,21 +703,20 @@ public java.lang.String getPath() { } } /** - * - * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for path. */ - public com.google.protobuf.ByteString getPathBytes() { + public com.google.protobuf.ByteString + getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); path_ = b; return b; } else { @@ -792,61 +724,54 @@ public com.google.protobuf.ByteString getPathBytes() { } } /** - * - * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath(java.lang.String value) { + public Builder setPath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + path_ = value; onChanged(); return this; } /** - * - * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearPath() { - + path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** - * - * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes(com.google.protobuf.ByteString value) { + public Builder setPathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; onChanged(); return this; @@ -854,20 +779,18 @@ public Builder setPathBytes(com.google.protobuf.ByteString value) { private java.lang.Object newPath_ = ""; /** - * - * *
      * Required. The file's new path including filename, relative to the workspace root.
      * 
* * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The newPath. */ public java.lang.String getNewPath() { java.lang.Object ref = newPath_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); newPath_ = s; return s; @@ -876,21 +799,20 @@ public java.lang.String getNewPath() { } } /** - * - * *
      * Required. The file's new path including filename, relative to the workspace root.
      * 
* * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for newPath. */ - public com.google.protobuf.ByteString getNewPathBytes() { + public com.google.protobuf.ByteString + getNewPathBytes() { java.lang.Object ref = newPath_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); newPath_ = b; return b; } else { @@ -898,68 +820,61 @@ public com.google.protobuf.ByteString getNewPathBytes() { } } /** - * - * *
      * Required. The file's new path including filename, relative to the workspace root.
      * 
* * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The newPath to set. * @return This builder for chaining. */ - public Builder setNewPath(java.lang.String value) { + public Builder setNewPath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + newPath_ = value; onChanged(); return this; } /** - * - * *
      * Required. The file's new path including filename, relative to the workspace root.
      * 
* * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearNewPath() { - + newPath_ = getDefaultInstance().getNewPath(); onChanged(); return this; } /** - * - * *
      * Required. The file's new path including filename, relative to the workspace root.
      * 
* * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for newPath to set. * @return This builder for chaining. */ - public Builder setNewPathBytes(com.google.protobuf.ByteString value) { + public Builder setNewPathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + newPath_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -969,12 +884,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.MoveFileRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.MoveFileRequest) private static final com.google.cloud.dataform.v1alpha2.MoveFileRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.MoveFileRequest(); } @@ -983,16 +898,16 @@ public static com.google.cloud.dataform.v1alpha2.MoveFileRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MoveFileRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MoveFileRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MoveFileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MoveFileRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1007,4 +922,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.MoveFileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileRequestOrBuilder.java similarity index 57% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileRequestOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileRequestOrBuilder.java index 767be77..fff4aa1 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileRequestOrBuilder.java @@ -1,104 +1,69 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface MoveFileRequestOrBuilder - extends +public interface MoveFileRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.MoveFileRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The workspace. */ java.lang.String getWorkspace(); /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for workspace. */ - com.google.protobuf.ByteString getWorkspaceBytes(); + com.google.protobuf.ByteString + getWorkspaceBytes(); /** - * - * *
    * Required. The file's full path including filename, relative to the workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The path. */ java.lang.String getPath(); /** - * - * *
    * Required. The file's full path including filename, relative to the workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for path. */ - com.google.protobuf.ByteString getPathBytes(); + com.google.protobuf.ByteString + getPathBytes(); /** - * - * *
    * Required. The file's new path including filename, relative to the workspace root.
    * 
* * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The newPath. */ java.lang.String getNewPath(); /** - * - * *
    * Required. The file's new path including filename, relative to the workspace root.
    * 
* * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for newPath. */ - com.google.protobuf.ByteString getNewPathBytes(); + com.google.protobuf.ByteString + getNewPathBytes(); } diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileResponse.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileResponse.java similarity index 65% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileResponse.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileResponse.java index 71f2ae8..95d0ce3 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileResponse.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileResponse.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * `MoveFile` response message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.MoveFileResponse} */ -public final class MoveFileResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MoveFileResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.MoveFileResponse) MoveFileResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MoveFileResponse.newBuilder() to construct. private MoveFileResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private MoveFileResponse() {} + private MoveFileResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MoveFileResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private MoveFileResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private MoveFileResponse( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private MoveFileResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_MoveFileResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MoveFileResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_MoveFileResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MoveFileResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.MoveFileResponse.class, - com.google.cloud.dataform.v1alpha2.MoveFileResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.MoveFileResponse.class, com.google.cloud.dataform.v1alpha2.MoveFileResponse.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.MoveFileResponse)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.MoveFileResponse other = - (com.google.cloud.dataform.v1alpha2.MoveFileResponse) obj; + com.google.cloud.dataform.v1alpha2.MoveFileResponse other = (com.google.cloud.dataform.v1alpha2.MoveFileResponse) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,126 +141,117 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.MoveFileResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.MoveFileResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.MoveFileResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.MoveFileResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.MoveFileResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.MoveFileResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.MoveFileResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.MoveFileResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.MoveFileResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.MoveFileResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.MoveFileResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.MoveFileResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.MoveFileResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.MoveFileResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.MoveFileResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `MoveFile` response message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.MoveFileResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.MoveFileResponse) com.google.cloud.dataform.v1alpha2.MoveFileResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_MoveFileResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MoveFileResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_MoveFileResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MoveFileResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.MoveFileResponse.class, - com.google.cloud.dataform.v1alpha2.MoveFileResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.MoveFileResponse.class, com.google.cloud.dataform.v1alpha2.MoveFileResponse.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.MoveFileResponse.newBuilder() @@ -287,15 +259,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -303,9 +276,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_MoveFileResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MoveFileResponse_descriptor; } @java.lang.Override @@ -324,8 +297,7 @@ public com.google.cloud.dataform.v1alpha2.MoveFileResponse build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.MoveFileResponse buildPartial() { - com.google.cloud.dataform.v1alpha2.MoveFileResponse result = - new com.google.cloud.dataform.v1alpha2.MoveFileResponse(this); + com.google.cloud.dataform.v1alpha2.MoveFileResponse result = new com.google.cloud.dataform.v1alpha2.MoveFileResponse(this); onBuilt(); return result; } @@ -334,39 +306,38 @@ public com.google.cloud.dataform.v1alpha2.MoveFileResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.MoveFileResponse) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.MoveFileResponse) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.MoveFileResponse)other); } else { super.mergeFrom(other); return this; @@ -374,8 +345,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.MoveFileResponse other) { - if (other == com.google.cloud.dataform.v1alpha2.MoveFileResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataform.v1alpha2.MoveFileResponse.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -395,8 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.MoveFileResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.MoveFileResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -405,9 +374,9 @@ public Builder mergeFrom( } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -417,12 +386,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.MoveFileResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.MoveFileResponse) private static final com.google.cloud.dataform.v1alpha2.MoveFileResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.MoveFileResponse(); } @@ -431,16 +400,16 @@ public static com.google.cloud.dataform.v1alpha2.MoveFileResponse getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MoveFileResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MoveFileResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MoveFileResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MoveFileResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -455,4 +424,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.MoveFileResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileResponseOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileResponseOrBuilder.java new file mode 100644 index 0000000..fd10a62 --- /dev/null +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileResponseOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1alpha2/dataform.proto + +package com.google.cloud.dataform.v1alpha2; + +public interface MoveFileResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.MoveFileResponse) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/PullGitCommitsRequest.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/PullGitCommitsRequest.java similarity index 65% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/PullGitCommitsRequest.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/PullGitCommitsRequest.java index 04031a4..ba71352 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/PullGitCommitsRequest.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/PullGitCommitsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * `PullGitCommits` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.PullGitCommitsRequest} */ -public final class PullGitCommitsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PullGitCommitsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.PullGitCommitsRequest) PullGitCommitsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PullGitCommitsRequest.newBuilder() to construct. private PullGitCommitsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PullGitCommitsRequest() { name_ = ""; remoteBranch_ = ""; @@ -44,15 +26,16 @@ private PullGitCommitsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PullGitCommitsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PullGitCommitsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,43 +54,38 @@ private PullGitCommitsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - remoteBranch_ = s; - break; + remoteBranch_ = s; + break; + } + case 26: { + com.google.cloud.dataform.v1alpha2.CommitAuthor.Builder subBuilder = null; + if (author_ != null) { + subBuilder = author_.toBuilder(); } - case 26: - { - com.google.cloud.dataform.v1alpha2.CommitAuthor.Builder subBuilder = null; - if (author_ != null) { - subBuilder = author_.toBuilder(); - } - author_ = - input.readMessage( - com.google.cloud.dataform.v1alpha2.CommitAuthor.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(author_); - author_ = subBuilder.buildPartial(); - } - - break; + author_ = input.readMessage(com.google.cloud.dataform.v1alpha2.CommitAuthor.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(author_); + author_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,41 +93,34 @@ private PullGitCommitsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_PullGitCommitsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_PullGitCommitsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_PullGitCommitsRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_PullGitCommitsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest.class, - com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest.class, com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -158,31 +129,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -193,15 +162,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int REMOTE_BRANCH_FIELD_NUMBER = 2; private volatile java.lang.Object remoteBranch_; /** - * - * *
    * Optional. The name of the branch in the Git remote from which to pull commits.
    * If left unset, the repository's default branch name will be used.
    * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The remoteBranch. */ @java.lang.Override @@ -210,30 +176,30 @@ public java.lang.String getRemoteBranch() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); remoteBranch_ = s; return s; } } /** - * - * *
    * Optional. The name of the branch in the Git remote from which to pull commits.
    * If left unset, the repository's default branch name will be used.
    * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for remoteBranch. */ @java.lang.Override - public com.google.protobuf.ByteString getRemoteBranchBytes() { + public com.google.protobuf.ByteString + getRemoteBranchBytes() { java.lang.Object ref = remoteBranch_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); remoteBranch_ = b; return b; } else { @@ -244,17 +210,12 @@ public com.google.protobuf.ByteString getRemoteBranchBytes() { public static final int AUTHOR_FIELD_NUMBER = 3; private com.google.cloud.dataform.v1alpha2.CommitAuthor author_; /** - * - * *
    * Required. The author of any merge commit which may be created as a result of merging
    * fetched Git commits into this workspace.
    * 
* - * - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the author field is set. */ @java.lang.Override @@ -262,36 +223,25 @@ public boolean hasAuthor() { return author_ != null; } /** - * - * *
    * Required. The author of any merge commit which may be created as a result of merging
    * fetched Git commits into this workspace.
    * 
* - * - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The author. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.CommitAuthor getAuthor() { - return author_ == null - ? com.google.cloud.dataform.v1alpha2.CommitAuthor.getDefaultInstance() - : author_; + return author_ == null ? com.google.cloud.dataform.v1alpha2.CommitAuthor.getDefaultInstance() : author_; } /** - * - * *
    * Required. The author of any merge commit which may be created as a result of merging
    * fetched Git commits into this workspace.
    * 
* - * - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.CommitAuthorOrBuilder getAuthorOrBuilder() { @@ -299,7 +249,6 @@ public com.google.cloud.dataform.v1alpha2.CommitAuthorOrBuilder getAuthorOrBuild } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -311,7 +260,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -337,7 +287,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, remoteBranch_); } if (author_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getAuthor()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getAuthor()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -347,19 +298,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest other = - (com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest) obj; + com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest other = (com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getRemoteBranch().equals(other.getRemoteBranch())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getRemoteBranch() + .equals(other.getRemoteBranch())) return false; if (hasAuthor() != other.hasAuthor()) return false; if (hasAuthor()) { - if (!getAuthor().equals(other.getAuthor())) return false; + if (!getAuthor() + .equals(other.getAuthor())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -386,127 +339,117 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `PullGitCommits` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.PullGitCommitsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.PullGitCommitsRequest) com.google.cloud.dataform.v1alpha2.PullGitCommitsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_PullGitCommitsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_PullGitCommitsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_PullGitCommitsRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_PullGitCommitsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest.class, - com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest.class, com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest.newBuilder() @@ -514,15 +457,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -540,9 +484,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_PullGitCommitsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_PullGitCommitsRequest_descriptor; } @java.lang.Override @@ -561,8 +505,7 @@ public com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest result = - new com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest(this); + com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest result = new com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest(this); result.name_ = name_; result.remoteBranch_ = remoteBranch_; if (authorBuilder_ == null) { @@ -578,39 +521,38 @@ public com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest)other); } else { super.mergeFrom(other); return this; @@ -618,8 +560,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -650,8 +591,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -663,22 +603,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -687,23 +623,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -711,67 +644,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -779,21 +699,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object remoteBranch_ = ""; /** - * - * *
      * Optional. The name of the branch in the Git remote from which to pull commits.
      * If left unset, the repository's default branch name will be used.
      * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The remoteBranch. */ public java.lang.String getRemoteBranch() { java.lang.Object ref = remoteBranch_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); remoteBranch_ = s; return s; @@ -802,22 +720,21 @@ public java.lang.String getRemoteBranch() { } } /** - * - * *
      * Optional. The name of the branch in the Git remote from which to pull commits.
      * If left unset, the repository's default branch name will be used.
      * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for remoteBranch. */ - public com.google.protobuf.ByteString getRemoteBranchBytes() { + public com.google.protobuf.ByteString + getRemoteBranchBytes() { java.lang.Object ref = remoteBranch_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); remoteBranch_ = b; return b; } else { @@ -825,64 +742,57 @@ public com.google.protobuf.ByteString getRemoteBranchBytes() { } } /** - * - * *
      * Optional. The name of the branch in the Git remote from which to pull commits.
      * If left unset, the repository's default branch name will be used.
      * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The remoteBranch to set. * @return This builder for chaining. */ - public Builder setRemoteBranch(java.lang.String value) { + public Builder setRemoteBranch( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + remoteBranch_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The name of the branch in the Git remote from which to pull commits.
      * If left unset, the repository's default branch name will be used.
      * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRemoteBranch() { - + remoteBranch_ = getDefaultInstance().getRemoteBranch(); onChanged(); return this; } /** - * - * *
      * Optional. The name of the branch in the Git remote from which to pull commits.
      * If left unset, the repository's default branch name will be used.
      * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for remoteBranch to set. * @return This builder for chaining. */ - public Builder setRemoteBranchBytes(com.google.protobuf.ByteString value) { + public Builder setRemoteBranchBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + remoteBranch_ = value; onChanged(); return this; @@ -890,61 +800,42 @@ public Builder setRemoteBranchBytes(com.google.protobuf.ByteString value) { private com.google.cloud.dataform.v1alpha2.CommitAuthor author_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CommitAuthor, - com.google.cloud.dataform.v1alpha2.CommitAuthor.Builder, - com.google.cloud.dataform.v1alpha2.CommitAuthorOrBuilder> - authorBuilder_; + com.google.cloud.dataform.v1alpha2.CommitAuthor, com.google.cloud.dataform.v1alpha2.CommitAuthor.Builder, com.google.cloud.dataform.v1alpha2.CommitAuthorOrBuilder> authorBuilder_; /** - * - * *
      * Required. The author of any merge commit which may be created as a result of merging
      * fetched Git commits into this workspace.
      * 
* - * - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the author field is set. */ public boolean hasAuthor() { return authorBuilder_ != null || author_ != null; } /** - * - * *
      * Required. The author of any merge commit which may be created as a result of merging
      * fetched Git commits into this workspace.
      * 
* - * - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The author. */ public com.google.cloud.dataform.v1alpha2.CommitAuthor getAuthor() { if (authorBuilder_ == null) { - return author_ == null - ? com.google.cloud.dataform.v1alpha2.CommitAuthor.getDefaultInstance() - : author_; + return author_ == null ? com.google.cloud.dataform.v1alpha2.CommitAuthor.getDefaultInstance() : author_; } else { return authorBuilder_.getMessage(); } } /** - * - * *
      * Required. The author of any merge commit which may be created as a result of merging
      * fetched Git commits into this workspace.
      * 
* - * - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAuthor(com.google.cloud.dataform.v1alpha2.CommitAuthor value) { if (authorBuilder_ == null) { @@ -960,16 +851,12 @@ public Builder setAuthor(com.google.cloud.dataform.v1alpha2.CommitAuthor value) return this; } /** - * - * *
      * Required. The author of any merge commit which may be created as a result of merging
      * fetched Git commits into this workspace.
      * 
* - * - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAuthor( com.google.cloud.dataform.v1alpha2.CommitAuthor.Builder builderForValue) { @@ -983,24 +870,18 @@ public Builder setAuthor( return this; } /** - * - * *
      * Required. The author of any merge commit which may be created as a result of merging
      * fetched Git commits into this workspace.
      * 
* - * - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeAuthor(com.google.cloud.dataform.v1alpha2.CommitAuthor value) { if (authorBuilder_ == null) { if (author_ != null) { author_ = - com.google.cloud.dataform.v1alpha2.CommitAuthor.newBuilder(author_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.dataform.v1alpha2.CommitAuthor.newBuilder(author_).mergeFrom(value).buildPartial(); } else { author_ = value; } @@ -1012,16 +893,12 @@ public Builder mergeAuthor(com.google.cloud.dataform.v1alpha2.CommitAuthor value return this; } /** - * - * *
      * Required. The author of any merge commit which may be created as a result of merging
      * fetched Git commits into this workspace.
      * 
* - * - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAuthor() { if (authorBuilder_ == null) { @@ -1035,74 +912,58 @@ public Builder clearAuthor() { return this; } /** - * - * *
      * Required. The author of any merge commit which may be created as a result of merging
      * fetched Git commits into this workspace.
      * 
* - * - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataform.v1alpha2.CommitAuthor.Builder getAuthorBuilder() { - + onChanged(); return getAuthorFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The author of any merge commit which may be created as a result of merging
      * fetched Git commits into this workspace.
      * 
* - * - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataform.v1alpha2.CommitAuthorOrBuilder getAuthorOrBuilder() { if (authorBuilder_ != null) { return authorBuilder_.getMessageOrBuilder(); } else { - return author_ == null - ? com.google.cloud.dataform.v1alpha2.CommitAuthor.getDefaultInstance() - : author_; + return author_ == null ? + com.google.cloud.dataform.v1alpha2.CommitAuthor.getDefaultInstance() : author_; } } /** - * - * *
      * Required. The author of any merge commit which may be created as a result of merging
      * fetched Git commits into this workspace.
      * 
* - * - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CommitAuthor, - com.google.cloud.dataform.v1alpha2.CommitAuthor.Builder, - com.google.cloud.dataform.v1alpha2.CommitAuthorOrBuilder> + com.google.cloud.dataform.v1alpha2.CommitAuthor, com.google.cloud.dataform.v1alpha2.CommitAuthor.Builder, com.google.cloud.dataform.v1alpha2.CommitAuthorOrBuilder> getAuthorFieldBuilder() { if (authorBuilder_ == null) { - authorBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CommitAuthor, - com.google.cloud.dataform.v1alpha2.CommitAuthor.Builder, - com.google.cloud.dataform.v1alpha2.CommitAuthorOrBuilder>( - getAuthor(), getParentForChildren(), isClean()); + authorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.CommitAuthor, com.google.cloud.dataform.v1alpha2.CommitAuthor.Builder, com.google.cloud.dataform.v1alpha2.CommitAuthorOrBuilder>( + getAuthor(), + getParentForChildren(), + isClean()); author_ = null; } return authorBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1112,12 +973,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.PullGitCommitsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.PullGitCommitsRequest) private static final com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest(); } @@ -1126,16 +987,16 @@ public static com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PullGitCommitsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PullGitCommitsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PullGitCommitsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PullGitCommitsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1150,4 +1011,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/PullGitCommitsRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/PullGitCommitsRequestOrBuilder.java similarity index 56% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/PullGitCommitsRequestOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/PullGitCommitsRequestOrBuilder.java index dd87bf1..6a0c581 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/PullGitCommitsRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/PullGitCommitsRequestOrBuilder.java @@ -1,125 +1,81 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface PullGitCommitsRequestOrBuilder - extends +public interface PullGitCommitsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.PullGitCommitsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Optional. The name of the branch in the Git remote from which to pull commits.
    * If left unset, the repository's default branch name will be used.
    * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The remoteBranch. */ java.lang.String getRemoteBranch(); /** - * - * *
    * Optional. The name of the branch in the Git remote from which to pull commits.
    * If left unset, the repository's default branch name will be used.
    * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for remoteBranch. */ - com.google.protobuf.ByteString getRemoteBranchBytes(); + com.google.protobuf.ByteString + getRemoteBranchBytes(); /** - * - * *
    * Required. The author of any merge commit which may be created as a result of merging
    * fetched Git commits into this workspace.
    * 
* - * - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the author field is set. */ boolean hasAuthor(); /** - * - * *
    * Required. The author of any merge commit which may be created as a result of merging
    * fetched Git commits into this workspace.
    * 
* - * - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The author. */ com.google.cloud.dataform.v1alpha2.CommitAuthor getAuthor(); /** - * - * *
    * Required. The author of any merge commit which may be created as a result of merging
    * fetched Git commits into this workspace.
    * 
* - * - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.dataform.v1alpha2.CommitAuthorOrBuilder getAuthorOrBuilder(); } diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/PushGitCommitsRequest.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/PushGitCommitsRequest.java similarity index 67% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/PushGitCommitsRequest.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/PushGitCommitsRequest.java index 5bba410..d03bbd8 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/PushGitCommitsRequest.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/PushGitCommitsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * `PushGitCommits` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.PushGitCommitsRequest} */ -public final class PushGitCommitsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PushGitCommitsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.PushGitCommitsRequest) PushGitCommitsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PushGitCommitsRequest.newBuilder() to construct. private PushGitCommitsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PushGitCommitsRequest() { name_ = ""; remoteBranch_ = ""; @@ -44,15 +26,16 @@ private PushGitCommitsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PushGitCommitsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private PushGitCommitsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private PushGitCommitsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - remoteBranch_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + remoteBranch_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,41 +80,34 @@ private PushGitCommitsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_PushGitCommitsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_PushGitCommitsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_PushGitCommitsRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_PushGitCommitsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest.class, - com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest.class, com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -142,31 +116,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -177,15 +149,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int REMOTE_BRANCH_FIELD_NUMBER = 2; private volatile java.lang.Object remoteBranch_; /** - * - * *
    * Optional. The name of the branch in the Git remote to which commits should be pushed.
    * If left unset, the repository's default branch name will be used.
    * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The remoteBranch. */ @java.lang.Override @@ -194,30 +163,30 @@ public java.lang.String getRemoteBranch() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); remoteBranch_ = s; return s; } } /** - * - * *
    * Optional. The name of the branch in the Git remote to which commits should be pushed.
    * If left unset, the repository's default branch name will be used.
    * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for remoteBranch. */ @java.lang.Override - public com.google.protobuf.ByteString getRemoteBranchBytes() { + public com.google.protobuf.ByteString + getRemoteBranchBytes() { java.lang.Object ref = remoteBranch_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); remoteBranch_ = b; return b; } else { @@ -226,7 +195,6 @@ public com.google.protobuf.ByteString getRemoteBranchBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -238,7 +206,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -268,16 +237,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest other = - (com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest) obj; + com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest other = (com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getRemoteBranch().equals(other.getRemoteBranch())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getRemoteBranch() + .equals(other.getRemoteBranch())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -299,127 +269,117 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `PushGitCommits` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.PushGitCommitsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.PushGitCommitsRequest) com.google.cloud.dataform.v1alpha2.PushGitCommitsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_PushGitCommitsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_PushGitCommitsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_PushGitCommitsRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_PushGitCommitsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest.class, - com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest.class, com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest.newBuilder() @@ -427,15 +387,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -447,9 +408,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_PushGitCommitsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_PushGitCommitsRequest_descriptor; } @java.lang.Override @@ -468,8 +429,7 @@ public com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest result = - new com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest(this); + com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest result = new com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest(this); result.name_ = name_; result.remoteBranch_ = remoteBranch_; onBuilt(); @@ -480,39 +440,38 @@ public com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest)other); } else { super.mergeFrom(other); return this; @@ -520,8 +479,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -549,8 +507,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -562,22 +519,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -586,23 +539,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -610,67 +560,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -678,21 +615,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object remoteBranch_ = ""; /** - * - * *
      * Optional. The name of the branch in the Git remote to which commits should be pushed.
      * If left unset, the repository's default branch name will be used.
      * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The remoteBranch. */ public java.lang.String getRemoteBranch() { java.lang.Object ref = remoteBranch_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); remoteBranch_ = s; return s; @@ -701,22 +636,21 @@ public java.lang.String getRemoteBranch() { } } /** - * - * *
      * Optional. The name of the branch in the Git remote to which commits should be pushed.
      * If left unset, the repository's default branch name will be used.
      * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for remoteBranch. */ - public com.google.protobuf.ByteString getRemoteBranchBytes() { + public com.google.protobuf.ByteString + getRemoteBranchBytes() { java.lang.Object ref = remoteBranch_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); remoteBranch_ = b; return b; } else { @@ -724,71 +658,64 @@ public com.google.protobuf.ByteString getRemoteBranchBytes() { } } /** - * - * *
      * Optional. The name of the branch in the Git remote to which commits should be pushed.
      * If left unset, the repository's default branch name will be used.
      * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The remoteBranch to set. * @return This builder for chaining. */ - public Builder setRemoteBranch(java.lang.String value) { + public Builder setRemoteBranch( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + remoteBranch_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The name of the branch in the Git remote to which commits should be pushed.
      * If left unset, the repository's default branch name will be used.
      * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearRemoteBranch() { - + remoteBranch_ = getDefaultInstance().getRemoteBranch(); onChanged(); return this; } /** - * - * *
      * Optional. The name of the branch in the Git remote to which commits should be pushed.
      * If left unset, the repository's default branch name will be used.
      * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for remoteBranch to set. * @return This builder for chaining. */ - public Builder setRemoteBranchBytes(com.google.protobuf.ByteString value) { + public Builder setRemoteBranchBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + remoteBranch_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -798,12 +725,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.PushGitCommitsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.PushGitCommitsRequest) private static final com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest(); } @@ -812,16 +739,16 @@ public static com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PushGitCommitsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PushGitCommitsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PushGitCommitsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PushGitCommitsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -836,4 +763,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/PushGitCommitsRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/PushGitCommitsRequestOrBuilder.java similarity index 53% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/PushGitCommitsRequestOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/PushGitCommitsRequestOrBuilder.java index 3ed5c6e..76ca7cd 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/PushGitCommitsRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/PushGitCommitsRequestOrBuilder.java @@ -1,81 +1,51 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface PushGitCommitsRequestOrBuilder - extends +public interface PushGitCommitsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.PushGitCommitsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Optional. The name of the branch in the Git remote to which commits should be pushed.
    * If left unset, the repository's default branch name will be used.
    * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The remoteBranch. */ java.lang.String getRemoteBranch(); /** - * - * *
    * Optional. The name of the branch in the Git remote to which commits should be pushed.
    * If left unset, the repository's default branch name will be used.
    * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for remoteBranch. */ - com.google.protobuf.ByteString getRemoteBranchBytes(); + com.google.protobuf.ByteString + getRemoteBranchBytes(); } diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsRequest.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsRequest.java similarity index 67% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsRequest.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsRequest.java index a26a3a5..b032ad1 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsRequest.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsRequest.java @@ -1,44 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * `QueryCompilationResultActions` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest} */ -public final class QueryCompilationResultActionsRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class QueryCompilationResultActionsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest) QueryCompilationResultActionsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use QueryCompilationResultActionsRequest.newBuilder() to construct. - private QueryCompilationResultActionsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private QueryCompilationResultActionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private QueryCompilationResultActionsRequest() { name_ = ""; pageToken_ = ""; @@ -47,15 +27,16 @@ private QueryCompilationResultActionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new QueryCompilationResultActionsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private QueryCompilationResultActionsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,39 +55,36 @@ private QueryCompilationResultActionsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + filter_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -114,41 +92,34 @@ private QueryCompilationResultActionsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest.class, - com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest.class, com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The compilation result's name.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -157,31 +128,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The compilation result's name.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -192,8 +161,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * Optional. Maximum number of compilation results to return. The server may return
    * fewer items than requested. If unspecified, the server will pick an
@@ -201,7 +168,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -212,8 +178,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * Optional. Page token received from a previous `QueryCompilationResultActions` call.
    * Provide this to retrieve the subsequent page.
@@ -223,7 +187,6 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -232,15 +195,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Optional. Page token received from a previous `QueryCompilationResultActions` call.
    * Provide this to retrieve the subsequent page.
@@ -250,15 +212,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -269,15 +232,12 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * Optional. Optional filter for the returned list. Filtering is only currently
    * supported on the `file_path` field.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ @java.lang.Override @@ -286,30 +246,30 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * Optional. Optional filter for the returned list. Filtering is only currently
    * supported on the `file_path` field.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -318,7 +278,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -330,7 +289,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -356,7 +316,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -372,18 +333,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest other = - (com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest) obj; - - if (!getName().equals(other.getName())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getFilter().equals(other.getFilter())) return false; + com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest other = (com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest) obj; + + if (!getName() + .equals(other.getName())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -409,146 +373,134 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `QueryCompilationResultActions` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest) com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest.class, - com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest.Builder - .class); + com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest.class, com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest.Builder.class); } - // Construct using - // com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest.newBuilder() + // Construct using com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -564,22 +516,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest - getDefaultInstanceForType() { - return com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest - .getDefaultInstance(); + public com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest getDefaultInstanceForType() { + return com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest build() { - com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest result = - buildPartial(); + com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -588,8 +537,7 @@ public com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest b @java.lang.Override public com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest result = - new com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest(this); + com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest result = new com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest(this); result.name_ = name_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -602,52 +550,46 @@ public com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest b public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest) { - return mergeFrom( - (com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest) other); + if (other instanceof com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest) { + return mergeFrom((com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest other) { - if (other - == com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest other) { + if (other == com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -682,9 +624,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -696,22 +636,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The compilation result's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -720,23 +656,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The compilation result's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -744,76 +677,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The compilation result's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The compilation result's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The compilation result's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Optional. Maximum number of compilation results to return. The server may return
      * fewer items than requested. If unspecified, the server will pick an
@@ -821,7 +739,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -829,8 +746,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Optional. Maximum number of compilation results to return. The server may return
      * fewer items than requested. If unspecified, the server will pick an
@@ -838,19 +753,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Maximum number of compilation results to return. The server may return
      * fewer items than requested. If unspecified, the server will pick an
@@ -858,11 +770,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -870,8 +781,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. Page token received from a previous `QueryCompilationResultActions` call.
      * Provide this to retrieve the subsequent page.
@@ -881,13 +790,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -896,8 +805,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. Page token received from a previous `QueryCompilationResultActions` call.
      * Provide this to retrieve the subsequent page.
@@ -907,14 +814,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -922,8 +830,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. Page token received from a previous `QueryCompilationResultActions` call.
      * Provide this to retrieve the subsequent page.
@@ -933,22 +839,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Page token received from a previous `QueryCompilationResultActions` call.
      * Provide this to retrieve the subsequent page.
@@ -958,18 +862,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * Optional. Page token received from a previous `QueryCompilationResultActions` call.
      * Provide this to retrieve the subsequent page.
@@ -979,16 +880,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -996,21 +897,19 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * Optional. Optional filter for the returned list. Filtering is only currently
      * supported on the `file_path` field.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1019,22 +918,21 @@ public java.lang.String getFilter() { } } /** - * - * *
      * Optional. Optional filter for the returned list. Filtering is only currently
      * supported on the `file_path` field.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1042,71 +940,64 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * Optional. Optional filter for the returned list. Filtering is only currently
      * supported on the `file_path` field.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Optional filter for the returned list. Filtering is only currently
      * supported on the `file_path` field.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * Optional. Optional filter for the returned list. Filtering is only currently
      * supported on the `file_path` field.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1116,33 +1007,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest) - private static final com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest(); + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest(); } - public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest - getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueryCompilationResultActionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new QueryCompilationResultActionsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryCompilationResultActionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new QueryCompilationResultActionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1154,8 +1042,9 @@ public com.google.protobuf.Parser getParse } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest - getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsRequestOrBuilder.java similarity index 67% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsRequestOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsRequestOrBuilder.java index 5eaea4f..1b72a02 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface QueryCompilationResultActionsRequestOrBuilder - extends +public interface QueryCompilationResultActionsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The compilation result's name.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The compilation result's name.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Optional. Maximum number of compilation results to return. The server may return
    * fewer items than requested. If unspecified, the server will pick an
@@ -62,14 +35,11 @@ public interface QueryCompilationResultActionsRequestOrBuilder
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. Page token received from a previous `QueryCompilationResultActions` call.
    * Provide this to retrieve the subsequent page.
@@ -79,13 +49,10 @@ public interface QueryCompilationResultActionsRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Optional. Page token received from a previous `QueryCompilationResultActions` call.
    * Provide this to retrieve the subsequent page.
@@ -95,35 +62,30 @@ public interface QueryCompilationResultActionsRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. Optional filter for the returned list. Filtering is only currently
    * supported on the `file_path` field.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * Optional. Optional filter for the returned list. Filtering is only currently
    * supported on the `file_path` field.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); } diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsResponse.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsResponse.java similarity index 61% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsResponse.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsResponse.java index 6832986..3d729b8 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsResponse.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsResponse.java @@ -1,44 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * `QueryCompilationResultActions` response message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse} */ -public final class QueryCompilationResultActionsResponse - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class QueryCompilationResultActionsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse) QueryCompilationResultActionsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use QueryCompilationResultActionsResponse.newBuilder() to construct. - private QueryCompilationResultActionsResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private QueryCompilationResultActionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private QueryCompilationResultActionsResponse() { compilationResultActions_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -46,15 +26,16 @@ private QueryCompilationResultActionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new QueryCompilationResultActionsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private QueryCompilationResultActionsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,34 +55,28 @@ private QueryCompilationResultActionsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - compilationResultActions_ = - new java.util.ArrayList< - com.google.cloud.dataform.v1alpha2.CompilationResultAction>(); - mutable_bitField0_ |= 0x00000001; - } - compilationResultActions_.add( - input.readMessage( - com.google.cloud.dataform.v1alpha2.CompilationResultAction.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + compilationResultActions_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + compilationResultActions_.add( + input.readMessage(com.google.cloud.dataform.v1alpha2.CompilationResultAction.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -109,128 +84,98 @@ private QueryCompilationResultActionsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { - compilationResultActions_ = - java.util.Collections.unmodifiableList(compilationResultActions_); + compilationResultActions_ = java.util.Collections.unmodifiableList(compilationResultActions_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse.class, - com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse.class, com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse.Builder.class); } public static final int COMPILATION_RESULT_ACTIONS_FIELD_NUMBER = 1; - private java.util.List - compilationResultActions_; + private java.util.List compilationResultActions_; /** - * - * *
    * List of compilation result actions.
    * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; */ @java.lang.Override - public java.util.List - getCompilationResultActionsList() { + public java.util.List getCompilationResultActionsList() { return compilationResultActions_; } /** - * - * *
    * List of compilation result actions.
    * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.dataform.v1alpha2.CompilationResultActionOrBuilder> + public java.util.List getCompilationResultActionsOrBuilderList() { return compilationResultActions_; } /** - * - * *
    * List of compilation result actions.
    * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; */ @java.lang.Override public int getCompilationResultActionsCount() { return compilationResultActions_.size(); } /** - * - * *
    * List of compilation result actions.
    * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResultAction getCompilationResultActions( - int index) { + public com.google.cloud.dataform.v1alpha2.CompilationResultAction getCompilationResultActions(int index) { return compilationResultActions_.get(index); } /** - * - * *
    * List of compilation result actions.
    * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResultActionOrBuilder - getCompilationResultActionsOrBuilder(int index) { + public com.google.cloud.dataform.v1alpha2.CompilationResultActionOrBuilder getCompilationResultActionsOrBuilder( + int index) { return compilationResultActions_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -239,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -271,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -283,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < compilationResultActions_.size(); i++) { output.writeMessage(1, compilationResultActions_.get(i)); } @@ -300,9 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < compilationResultActions_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, compilationResultActions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, compilationResultActions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -315,18 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse)) { + if (!(obj instanceof com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse other = - (com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse) obj; + com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse other = (com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse) obj; - if (!getCompilationResultActionsList().equals(other.getCompilationResultActionsList())) - return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getCompilationResultActionsList() + .equals(other.getCompilationResultActionsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -350,148 +293,135 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `QueryCompilationResultActions` response message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse) com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse.class, - com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse.Builder - .class); + com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse.class, com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse.Builder.class); } - // Construct using - // com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse.newBuilder() + // Construct using com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getCompilationResultActionsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -507,22 +437,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsResponse_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse - getDefaultInstanceForType() { - return com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse - .getDefaultInstance(); + public com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse getDefaultInstanceForType() { + return com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse.getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse build() { - com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse result = - buildPartial(); + com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -531,13 +458,11 @@ public com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse @java.lang.Override public com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse buildPartial() { - com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse result = - new com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse(this); + com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse result = new com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse(this); int from_bitField0_ = bitField0_; if (compilationResultActionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - compilationResultActions_ = - java.util.Collections.unmodifiableList(compilationResultActions_); + compilationResultActions_ = java.util.Collections.unmodifiableList(compilationResultActions_); bitField0_ = (bitField0_ & ~0x00000001); } result.compilationResultActions_ = compilationResultActions_; @@ -553,52 +478,46 @@ public com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse) { - return mergeFrom( - (com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse) other); + if (other instanceof com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse) { + return mergeFrom((com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse other) { - if (other - == com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse other) { + if (other == com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse.getDefaultInstance()) return this; if (compilationResultActionsBuilder_ == null) { if (!other.compilationResultActions_.isEmpty()) { if (compilationResultActions_.isEmpty()) { @@ -617,10 +536,9 @@ public Builder mergeFrom( compilationResultActionsBuilder_ = null; compilationResultActions_ = other.compilationResultActions_; bitField0_ = (bitField0_ & ~0x00000001); - compilationResultActionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getCompilationResultActionsFieldBuilder() - : null; + compilationResultActionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getCompilationResultActionsFieldBuilder() : null; } else { compilationResultActionsBuilder_.addAllMessages(other.compilationResultActions_); } @@ -649,9 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -660,40 +576,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private java.util.List - compilationResultActions_ = java.util.Collections.emptyList(); - + private java.util.List compilationResultActions_ = + java.util.Collections.emptyList(); private void ensureCompilationResultActionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - compilationResultActions_ = - new java.util.ArrayList( - compilationResultActions_); + compilationResultActions_ = new java.util.ArrayList(compilationResultActions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResultAction, - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Builder, - com.google.cloud.dataform.v1alpha2.CompilationResultActionOrBuilder> - compilationResultActionsBuilder_; + com.google.cloud.dataform.v1alpha2.CompilationResultAction, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Builder, com.google.cloud.dataform.v1alpha2.CompilationResultActionOrBuilder> compilationResultActionsBuilder_; /** - * - * *
      * List of compilation result actions.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; */ - public java.util.List - getCompilationResultActionsList() { + public java.util.List getCompilationResultActionsList() { if (compilationResultActionsBuilder_ == null) { return java.util.Collections.unmodifiableList(compilationResultActions_); } else { @@ -701,15 +605,11 @@ private void ensureCompilationResultActionsIsMutable() { } } /** - * - * *
      * List of compilation result actions.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; */ public int getCompilationResultActionsCount() { if (compilationResultActionsBuilder_ == null) { @@ -719,18 +619,13 @@ public int getCompilationResultActionsCount() { } } /** - * - * *
      * List of compilation result actions.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; */ - public com.google.cloud.dataform.v1alpha2.CompilationResultAction getCompilationResultActions( - int index) { + public com.google.cloud.dataform.v1alpha2.CompilationResultAction getCompilationResultActions(int index) { if (compilationResultActionsBuilder_ == null) { return compilationResultActions_.get(index); } else { @@ -738,15 +633,11 @@ public com.google.cloud.dataform.v1alpha2.CompilationResultAction getCompilation } } /** - * - * *
      * List of compilation result actions.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; */ public Builder setCompilationResultActions( int index, com.google.cloud.dataform.v1alpha2.CompilationResultAction value) { @@ -763,19 +654,14 @@ public Builder setCompilationResultActions( return this; } /** - * - * *
      * List of compilation result actions.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; */ public Builder setCompilationResultActions( - int index, - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Builder builderForValue) { + int index, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Builder builderForValue) { if (compilationResultActionsBuilder_ == null) { ensureCompilationResultActionsIsMutable(); compilationResultActions_.set(index, builderForValue.build()); @@ -786,18 +672,13 @@ public Builder setCompilationResultActions( return this; } /** - * - * *
      * List of compilation result actions.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; */ - public Builder addCompilationResultActions( - com.google.cloud.dataform.v1alpha2.CompilationResultAction value) { + public Builder addCompilationResultActions(com.google.cloud.dataform.v1alpha2.CompilationResultAction value) { if (compilationResultActionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -811,15 +692,11 @@ public Builder addCompilationResultActions( return this; } /** - * - * *
      * List of compilation result actions.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; */ public Builder addCompilationResultActions( int index, com.google.cloud.dataform.v1alpha2.CompilationResultAction value) { @@ -836,15 +713,11 @@ public Builder addCompilationResultActions( return this; } /** - * - * *
      * List of compilation result actions.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; */ public Builder addCompilationResultActions( com.google.cloud.dataform.v1alpha2.CompilationResultAction.Builder builderForValue) { @@ -858,19 +731,14 @@ public Builder addCompilationResultActions( return this; } /** - * - * *
      * List of compilation result actions.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; */ public Builder addCompilationResultActions( - int index, - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Builder builderForValue) { + int index, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Builder builderForValue) { if (compilationResultActionsBuilder_ == null) { ensureCompilationResultActionsIsMutable(); compilationResultActions_.add(index, builderForValue.build()); @@ -881,22 +749,18 @@ public Builder addCompilationResultActions( return this; } /** - * - * *
      * List of compilation result actions.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; */ public Builder addAllCompilationResultActions( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (compilationResultActionsBuilder_ == null) { ensureCompilationResultActionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, compilationResultActions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, compilationResultActions_); onChanged(); } else { compilationResultActionsBuilder_.addAllMessages(values); @@ -904,15 +768,11 @@ public Builder addAllCompilationResultActions( return this; } /** - * - * *
      * List of compilation result actions.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; */ public Builder clearCompilationResultActions() { if (compilationResultActionsBuilder_ == null) { @@ -925,15 +785,11 @@ public Builder clearCompilationResultActions() { return this; } /** - * - * *
      * List of compilation result actions.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; */ public Builder removeCompilationResultActions(int index) { if (compilationResultActionsBuilder_ == null) { @@ -946,53 +802,39 @@ public Builder removeCompilationResultActions(int index) { return this; } /** - * - * *
      * List of compilation result actions.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; */ - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Builder - getCompilationResultActionsBuilder(int index) { + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Builder getCompilationResultActionsBuilder( + int index) { return getCompilationResultActionsFieldBuilder().getBuilder(index); } /** - * - * *
      * List of compilation result actions.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; */ - public com.google.cloud.dataform.v1alpha2.CompilationResultActionOrBuilder - getCompilationResultActionsOrBuilder(int index) { + public com.google.cloud.dataform.v1alpha2.CompilationResultActionOrBuilder getCompilationResultActionsOrBuilder( + int index) { if (compilationResultActionsBuilder_ == null) { - return compilationResultActions_.get(index); - } else { + return compilationResultActions_.get(index); } else { return compilationResultActionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of compilation result actions.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; */ - public java.util.List< - ? extends com.google.cloud.dataform.v1alpha2.CompilationResultActionOrBuilder> - getCompilationResultActionsOrBuilderList() { + public java.util.List + getCompilationResultActionsOrBuilderList() { if (compilationResultActionsBuilder_ != null) { return compilationResultActionsBuilder_.getMessageOrBuilderList(); } else { @@ -1000,67 +842,45 @@ public Builder removeCompilationResultActions(int index) { } } /** - * - * *
      * List of compilation result actions.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; */ - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Builder - addCompilationResultActionsBuilder() { - return getCompilationResultActionsFieldBuilder() - .addBuilder( - com.google.cloud.dataform.v1alpha2.CompilationResultAction.getDefaultInstance()); + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Builder addCompilationResultActionsBuilder() { + return getCompilationResultActionsFieldBuilder().addBuilder( + com.google.cloud.dataform.v1alpha2.CompilationResultAction.getDefaultInstance()); } /** - * - * *
      * List of compilation result actions.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; */ - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Builder - addCompilationResultActionsBuilder(int index) { - return getCompilationResultActionsFieldBuilder() - .addBuilder( - index, - com.google.cloud.dataform.v1alpha2.CompilationResultAction.getDefaultInstance()); + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Builder addCompilationResultActionsBuilder( + int index) { + return getCompilationResultActionsFieldBuilder().addBuilder( + index, com.google.cloud.dataform.v1alpha2.CompilationResultAction.getDefaultInstance()); } /** - * - * *
      * List of compilation result actions.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; */ - public java.util.List - getCompilationResultActionsBuilderList() { + public java.util.List + getCompilationResultActionsBuilderList() { return getCompilationResultActionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResultAction, - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Builder, - com.google.cloud.dataform.v1alpha2.CompilationResultActionOrBuilder> + com.google.cloud.dataform.v1alpha2.CompilationResultAction, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Builder, com.google.cloud.dataform.v1alpha2.CompilationResultActionOrBuilder> getCompilationResultActionsFieldBuilder() { if (compilationResultActionsBuilder_ == null) { - compilationResultActionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResultAction, - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Builder, - com.google.cloud.dataform.v1alpha2.CompilationResultActionOrBuilder>( + compilationResultActionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.CompilationResultAction, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Builder, com.google.cloud.dataform.v1alpha2.CompilationResultActionOrBuilder>( compilationResultActions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1072,21 +892,19 @@ public Builder removeCompilationResultActions(int index) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1095,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1118,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1192,33 +1002,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse) - private static final com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse(); + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse(); } - public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse - getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueryCompilationResultActionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new QueryCompilationResultActionsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryCompilationResultActionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new QueryCompilationResultActionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1230,8 +1037,9 @@ public com.google.protobuf.Parser getPars } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse - getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsResponseOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsResponseOrBuilder.java similarity index 52% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsResponseOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsResponseOrBuilder.java index e33f9ef..2097af9 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsResponseOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsResponseOrBuilder.java @@ -1,116 +1,75 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface QueryCompilationResultActionsResponseOrBuilder - extends +public interface QueryCompilationResultActionsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of compilation result actions.
    * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; */ - java.util.List + java.util.List getCompilationResultActionsList(); /** - * - * *
    * List of compilation result actions.
    * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; */ com.google.cloud.dataform.v1alpha2.CompilationResultAction getCompilationResultActions(int index); /** - * - * *
    * List of compilation result actions.
    * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; */ int getCompilationResultActionsCount(); /** - * - * *
    * List of compilation result actions.
    * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; */ - java.util.List + java.util.List getCompilationResultActionsOrBuilderList(); /** - * - * *
    * List of compilation result actions.
    * 
* - * - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; */ - com.google.cloud.dataform.v1alpha2.CompilationResultActionOrBuilder - getCompilationResultActionsOrBuilder(int index); + com.google.cloud.dataform.v1alpha2.CompilationResultActionOrBuilder getCompilationResultActionsOrBuilder( + int index); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsRequest.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsRequest.java similarity index 69% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsRequest.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsRequest.java index d69745e..6dc6c7f 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsRequest.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * `QueryDirectoryContents` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest} */ -public final class QueryDirectoryContentsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class QueryDirectoryContentsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest) QueryDirectoryContentsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use QueryDirectoryContentsRequest.newBuilder() to construct. private QueryDirectoryContentsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private QueryDirectoryContentsRequest() { workspace_ = ""; path_ = ""; @@ -45,15 +27,16 @@ private QueryDirectoryContentsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new QueryDirectoryContentsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private QueryDirectoryContentsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,39 +55,36 @@ private QueryDirectoryContentsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - workspace_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + workspace_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - path_ = s; - break; - } - case 24: - { - pageSize_ = input.readInt32(); - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + path_ = s; + break; + } + case 24: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,41 +92,34 @@ private QueryDirectoryContentsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest.class, - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest.class, com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest.Builder.class); } public static final int WORKSPACE_FIELD_NUMBER = 1; private volatile java.lang.Object workspace_; /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The workspace. */ @java.lang.Override @@ -155,31 +128,29 @@ public java.lang.String getWorkspace() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; } } /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for workspace. */ @java.lang.Override - public com.google.protobuf.ByteString getWorkspaceBytes() { + public com.google.protobuf.ByteString + getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); workspace_ = b; return b; } else { @@ -190,15 +161,12 @@ public com.google.protobuf.ByteString getWorkspaceBytes() { public static final int PATH_FIELD_NUMBER = 2; private volatile java.lang.Object path_; /** - * - * *
    * Optional. The directory's full path including directory name, relative to the
    * workspace root. If left unset, the workspace root is used.
    * 
* * string path = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The path. */ @java.lang.Override @@ -207,30 +175,30 @@ public java.lang.String getPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } } /** - * - * *
    * Optional. The directory's full path including directory name, relative to the
    * workspace root. If left unset, the workspace root is used.
    * 
* * string path = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for path. */ @java.lang.Override - public com.google.protobuf.ByteString getPathBytes() { + public com.google.protobuf.ByteString + getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); path_ = b; return b; } else { @@ -241,8 +209,6 @@ public com.google.protobuf.ByteString getPathBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
    * Optional. Maximum number of paths to return. The server may return fewer
    * items than requested. If unspecified, the server will pick an appropriate
@@ -250,7 +216,6 @@ public com.google.protobuf.ByteString getPathBytes() {
    * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -261,8 +226,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** - * - * *
    * Optional. Page token received from a previous `QueryDirectoryContents` call.
    * Provide this to retrieve the subsequent page.
@@ -272,7 +235,6 @@ public int getPageSize() {
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -281,15 +243,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Optional. Page token received from a previous `QueryDirectoryContents` call.
    * Provide this to retrieve the subsequent page.
@@ -299,15 +260,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -316,7 +278,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -328,7 +289,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workspace_); } @@ -357,7 +319,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, path_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -370,18 +333,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest other = - (com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest) obj; - - if (!getWorkspace().equals(other.getWorkspace())) return false; - if (!getPath().equals(other.getPath())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest other = (com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest) obj; + + if (!getWorkspace() + .equals(other.getWorkspace())) return false; + if (!getPath() + .equals(other.getPath())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -407,127 +373,117 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `QueryDirectoryContents` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest) com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest.class, - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest.class, com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest.newBuilder() @@ -535,15 +491,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -559,14 +516,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest - getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest getDefaultInstanceForType() { return com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest.getDefaultInstance(); } @@ -581,8 +537,7 @@ public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest build() @java.lang.Override public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest result = - new com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest(this); + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest result = new com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest(this); result.workspace_ = workspace_; result.path_ = path_; result.pageSize_ = pageSize_; @@ -595,50 +550,46 @@ public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest buildPar public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest other) { - if (other - == com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest other) { + if (other == com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest.getDefaultInstance()) return this; if (!other.getWorkspace().isEmpty()) { workspace_ = other.workspace_; onChanged(); @@ -673,9 +624,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -687,22 +636,18 @@ public Builder mergeFrom( private java.lang.Object workspace_ = ""; /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The workspace. */ public java.lang.String getWorkspace() { java.lang.Object ref = workspace_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; @@ -711,23 +656,20 @@ public java.lang.String getWorkspace() { } } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for workspace. */ - public com.google.protobuf.ByteString getWorkspaceBytes() { + public com.google.protobuf.ByteString + getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); workspace_ = b; return b; } else { @@ -735,67 +677,54 @@ public com.google.protobuf.ByteString getWorkspaceBytes() { } } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The workspace to set. * @return This builder for chaining. */ - public Builder setWorkspace(java.lang.String value) { + public Builder setWorkspace( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + workspace_ = value; onChanged(); return this; } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearWorkspace() { - + workspace_ = getDefaultInstance().getWorkspace(); onChanged(); return this; } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for workspace to set. * @return This builder for chaining. */ - public Builder setWorkspaceBytes(com.google.protobuf.ByteString value) { + public Builder setWorkspaceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workspace_ = value; onChanged(); return this; @@ -803,21 +732,19 @@ public Builder setWorkspaceBytes(com.google.protobuf.ByteString value) { private java.lang.Object path_ = ""; /** - * - * *
      * Optional. The directory's full path including directory name, relative to the
      * workspace root. If left unset, the workspace root is used.
      * 
* * string path = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; @@ -826,22 +753,21 @@ public java.lang.String getPath() { } } /** - * - * *
      * Optional. The directory's full path including directory name, relative to the
      * workspace root. If left unset, the workspace root is used.
      * 
* * string path = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for path. */ - public com.google.protobuf.ByteString getPathBytes() { + public com.google.protobuf.ByteString + getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); path_ = b; return b; } else { @@ -849,73 +775,64 @@ public com.google.protobuf.ByteString getPathBytes() { } } /** - * - * *
      * Optional. The directory's full path including directory name, relative to the
      * workspace root. If left unset, the workspace root is used.
      * 
* * string path = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath(java.lang.String value) { + public Builder setPath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + path_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The directory's full path including directory name, relative to the
      * workspace root. If left unset, the workspace root is used.
      * 
* * string path = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPath() { - + path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** - * - * *
      * Optional. The directory's full path including directory name, relative to the
      * workspace root. If left unset, the workspace root is used.
      * 
* * string path = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes(com.google.protobuf.ByteString value) { + public Builder setPathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Optional. Maximum number of paths to return. The server may return fewer
      * items than requested. If unspecified, the server will pick an appropriate
@@ -923,7 +840,6 @@ public Builder setPathBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -931,8 +847,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Optional. Maximum number of paths to return. The server may return fewer
      * items than requested. If unspecified, the server will pick an appropriate
@@ -940,19 +854,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Maximum number of paths to return. The server may return fewer
      * items than requested. If unspecified, the server will pick an appropriate
@@ -960,11 +871,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -972,8 +882,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. Page token received from a previous `QueryDirectoryContents` call.
      * Provide this to retrieve the subsequent page.
@@ -983,13 +891,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -998,8 +906,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. Page token received from a previous `QueryDirectoryContents` call.
      * Provide this to retrieve the subsequent page.
@@ -1009,14 +915,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1024,8 +931,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. Page token received from a previous `QueryDirectoryContents` call.
      * Provide this to retrieve the subsequent page.
@@ -1035,22 +940,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Page token received from a previous `QueryDirectoryContents` call.
      * Provide this to retrieve the subsequent page.
@@ -1060,18 +963,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * Optional. Page token received from a previous `QueryDirectoryContents` call.
      * Provide this to retrieve the subsequent page.
@@ -1081,23 +981,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1107,32 +1007,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest) - private static final com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest(); } - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest - getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueryDirectoryContentsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new QueryDirectoryContentsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryDirectoryContentsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new QueryDirectoryContentsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1144,8 +1042,9 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest - getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsRequestOrBuilder.java similarity index 66% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsRequestOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsRequestOrBuilder.java index 41bcbfb..c33d21f 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsRequestOrBuilder.java @@ -1,87 +1,55 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface QueryDirectoryContentsRequestOrBuilder - extends +public interface QueryDirectoryContentsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The workspace. */ java.lang.String getWorkspace(); /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for workspace. */ - com.google.protobuf.ByteString getWorkspaceBytes(); + com.google.protobuf.ByteString + getWorkspaceBytes(); /** - * - * *
    * Optional. The directory's full path including directory name, relative to the
    * workspace root. If left unset, the workspace root is used.
    * 
* * string path = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The path. */ java.lang.String getPath(); /** - * - * *
    * Optional. The directory's full path including directory name, relative to the
    * workspace root. If left unset, the workspace root is used.
    * 
* * string path = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for path. */ - com.google.protobuf.ByteString getPathBytes(); + com.google.protobuf.ByteString + getPathBytes(); /** - * - * *
    * Optional. Maximum number of paths to return. The server may return fewer
    * items than requested. If unspecified, the server will pick an appropriate
@@ -89,14 +57,11 @@ public interface QueryDirectoryContentsRequestOrBuilder
    * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. Page token received from a previous `QueryDirectoryContents` call.
    * Provide this to retrieve the subsequent page.
@@ -106,13 +71,10 @@ public interface QueryDirectoryContentsRequestOrBuilder
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Optional. Page token received from a previous `QueryDirectoryContents` call.
    * Provide this to retrieve the subsequent page.
@@ -122,8 +84,8 @@ public interface QueryDirectoryContentsRequestOrBuilder
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsResponse.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsResponse.java similarity index 61% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsResponse.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsResponse.java index 32555ff..0f8c943 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsResponse.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsResponse.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * `QueryDirectoryContents` response message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse} */ -public final class QueryDirectoryContentsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class QueryDirectoryContentsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse) QueryDirectoryContentsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use QueryDirectoryContentsResponse.newBuilder() to construct. - private QueryDirectoryContentsResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private QueryDirectoryContentsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private QueryDirectoryContentsResponse() { directoryEntries_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -45,15 +26,16 @@ private QueryDirectoryContentsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new QueryDirectoryContentsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private QueryDirectoryContentsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,36 +55,28 @@ private QueryDirectoryContentsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - directoryEntries_ = - new java.util.ArrayList< - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse - .DirectoryEntry>(); - mutable_bitField0_ |= 0x00000001; - } - directoryEntries_.add( - input.readMessage( - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse - .DirectoryEntry.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + directoryEntries_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + directoryEntries_.add( + input.readMessage(com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -110,7 +84,8 @@ private QueryDirectoryContentsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { directoryEntries_ = java.util.Collections.unmodifiableList(directoryEntries_); @@ -119,138 +94,114 @@ private QueryDirectoryContentsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.class, - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.class, com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.Builder.class); } - public interface DirectoryEntryOrBuilder - extends + public interface DirectoryEntryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * A file in the directory.
      * 
* * string file = 1; - * * @return Whether the file field is set. */ boolean hasFile(); /** - * - * *
      * A file in the directory.
      * 
* * string file = 1; - * * @return The file. */ java.lang.String getFile(); /** - * - * *
      * A file in the directory.
      * 
* * string file = 1; - * * @return The bytes for file. */ - com.google.protobuf.ByteString getFileBytes(); + com.google.protobuf.ByteString + getFileBytes(); /** - * - * *
      * A child directory in the directory.
      * 
* * string directory = 2; - * * @return Whether the directory field is set. */ boolean hasDirectory(); /** - * - * *
      * A child directory in the directory.
      * 
* * string directory = 2; - * * @return The directory. */ java.lang.String getDirectory(); /** - * - * *
      * A child directory in the directory.
      * 
* * string directory = 2; - * * @return The bytes for directory. */ - com.google.protobuf.ByteString getDirectoryBytes(); + com.google.protobuf.ByteString + getDirectoryBytes(); - public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry - .EntryCase - getEntryCase(); + public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry.EntryCase getEntryCase(); } /** - * - * *
    * Represents a single entry in a workspace directory.
    * 
* - * Protobuf type {@code - * google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry} + * Protobuf type {@code google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry} */ - public static final class DirectoryEntry extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class DirectoryEntry extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry) DirectoryEntryOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DirectoryEntry.newBuilder() to construct. private DirectoryEntry(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private DirectoryEntry() {} + private DirectoryEntry() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DirectoryEntry(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DirectoryEntry( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -269,27 +220,25 @@ private DirectoryEntry( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - entryCase_ = 1; - entry_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - entryCase_ = 2; - entry_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + entryCase_ = 1; + entry_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + entryCase_ = 2; + entry_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -297,42 +246,35 @@ private DirectoryEntry( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_DirectoryEntry_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_DirectoryEntry_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_DirectoryEntry_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_DirectoryEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry - .class, - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry - .Builder.class); + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry.class, com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry.Builder.class); } private int entryCase_ = 0; private java.lang.Object entry_; - public enum EntryCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { FILE(1), DIRECTORY(2), ENTRY_NOT_SET(0); private final int value; - private EntryCase(int value) { this.value = value; } @@ -348,50 +290,41 @@ public static EntryCase valueOf(int value) { public static EntryCase forNumber(int value) { switch (value) { - case 1: - return FILE; - case 2: - return DIRECTORY; - case 0: - return ENTRY_NOT_SET; - default: - return null; + case 1: return FILE; + case 2: return DIRECTORY; + case 0: return ENTRY_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public EntryCase getEntryCase() { - return EntryCase.forNumber(entryCase_); + public EntryCase + getEntryCase() { + return EntryCase.forNumber( + entryCase_); } public static final int FILE_FIELD_NUMBER = 1; /** - * - * *
      * A file in the directory.
      * 
* * string file = 1; - * * @return Whether the file field is set. */ public boolean hasFile() { return entryCase_ == 1; } /** - * - * *
      * A file in the directory.
      * 
* * string file = 1; - * * @return The file. */ public java.lang.String getFile() { @@ -402,7 +335,8 @@ public java.lang.String getFile() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (entryCase_ == 1) { entry_ = s; @@ -411,24 +345,23 @@ public java.lang.String getFile() { } } /** - * - * *
      * A file in the directory.
      * 
* * string file = 1; - * * @return The bytes for file. */ - public com.google.protobuf.ByteString getFileBytes() { + public com.google.protobuf.ByteString + getFileBytes() { java.lang.Object ref = ""; if (entryCase_ == 1) { ref = entry_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (entryCase_ == 1) { entry_ = b; } @@ -440,28 +373,22 @@ public com.google.protobuf.ByteString getFileBytes() { public static final int DIRECTORY_FIELD_NUMBER = 2; /** - * - * *
      * A child directory in the directory.
      * 
* * string directory = 2; - * * @return Whether the directory field is set. */ public boolean hasDirectory() { return entryCase_ == 2; } /** - * - * *
      * A child directory in the directory.
      * 
* * string directory = 2; - * * @return The directory. */ public java.lang.String getDirectory() { @@ -472,7 +399,8 @@ public java.lang.String getDirectory() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (entryCase_ == 2) { entry_ = s; @@ -481,24 +409,23 @@ public java.lang.String getDirectory() { } } /** - * - * *
      * A child directory in the directory.
      * 
* * string directory = 2; - * * @return The bytes for directory. */ - public com.google.protobuf.ByteString getDirectoryBytes() { + public com.google.protobuf.ByteString + getDirectoryBytes() { java.lang.Object ref = ""; if (entryCase_ == 2) { ref = entry_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (entryCase_ == 2) { entry_ = b; } @@ -509,7 +436,6 @@ public com.google.protobuf.ByteString getDirectoryBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -521,7 +447,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (entryCase_ == 1) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, entry_); } @@ -551,23 +478,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry)) { + if (!(obj instanceof com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry other = - (com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry) obj; + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry other = (com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry) obj; if (!getEntryCase().equals(other.getEntryCase())) return false; switch (entryCase_) { case 1: - if (!getFile().equals(other.getFile())) return false; + if (!getFile() + .equals(other.getFile())) return false; break; case 2: - if (!getDirectory().equals(other.getDirectory())) return false; + if (!getDirectory() + .equals(other.getDirectory())) return false; break; case 0: default: @@ -600,102 +526,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry - prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -705,52 +617,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Represents a single entry in a workspace directory.
      * 
* - * Protobuf type {@code - * google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry} + * Protobuf type {@code google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry) com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_DirectoryEntry_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_DirectoryEntry_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_DirectoryEntry_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_DirectoryEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry - .class, - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry - .Builder.class); + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry.class, com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry.Builder.class); } - // Construct using - // com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry.newBuilder() + // Construct using com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -760,23 +664,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_DirectoryEntry_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_DirectoryEntry_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry - getDefaultInstanceForType() { - return com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry - .getDefaultInstance(); + public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry getDefaultInstanceForType() { + return com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry - build() { - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry result = - buildPartial(); + public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry build() { + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -784,11 +684,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry - buildPartial() { - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry result = - new com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry( - this); + public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry buildPartial() { + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry result = new com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry(this); if (entryCase_ == 1) { result.entry_ = entry_; } @@ -804,75 +701,62 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry) { - return mergeFrom( - (com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry) - other); + if (other instanceof com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry) { + return mergeFrom((com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry other) { - if (other - == com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry other) { + if (other == com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry.getDefaultInstance()) return this; switch (other.getEntryCase()) { - case FILE: - { - entryCase_ = 1; - entry_ = other.entry_; - onChanged(); - break; - } - case DIRECTORY: - { - entryCase_ = 2; - entry_ = other.entry_; - onChanged(); - break; - } - case ENTRY_NOT_SET: - { - break; - } + case FILE: { + entryCase_ = 1; + entry_ = other.entry_; + onChanged(); + break; + } + case DIRECTORY: { + entryCase_ = 2; + entry_ = other.entry_; + onChanged(); + break; + } + case ENTRY_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -889,14 +773,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry - parsedMessage = null; + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -905,12 +786,12 @@ public Builder mergeFrom( } return this; } - private int entryCase_ = 0; private java.lang.Object entry_; - - public EntryCase getEntryCase() { - return EntryCase.forNumber(entryCase_); + public EntryCase + getEntryCase() { + return EntryCase.forNumber( + entryCase_); } public Builder clearEntry() { @@ -920,15 +801,13 @@ public Builder clearEntry() { return this; } + /** - * - * *
        * A file in the directory.
        * 
* * string file = 1; - * * @return Whether the file field is set. */ @java.lang.Override @@ -936,14 +815,11 @@ public boolean hasFile() { return entryCase_ == 1; } /** - * - * *
        * A file in the directory.
        * 
* * string file = 1; - * * @return The file. */ @java.lang.Override @@ -953,7 +829,8 @@ public java.lang.String getFile() { ref = entry_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (entryCase_ == 1) { entry_ = s; @@ -964,25 +841,24 @@ public java.lang.String getFile() { } } /** - * - * *
        * A file in the directory.
        * 
* * string file = 1; - * * @return The bytes for file. */ @java.lang.Override - public com.google.protobuf.ByteString getFileBytes() { + public com.google.protobuf.ByteString + getFileBytes() { java.lang.Object ref = ""; if (entryCase_ == 1) { ref = entry_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (entryCase_ == 1) { entry_ = b; } @@ -992,35 +868,30 @@ public com.google.protobuf.ByteString getFileBytes() { } } /** - * - * *
        * A file in the directory.
        * 
* * string file = 1; - * * @param value The file to set. * @return This builder for chaining. */ - public Builder setFile(java.lang.String value) { + public Builder setFile( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - entryCase_ = 1; + throw new NullPointerException(); + } + entryCase_ = 1; entry_ = value; onChanged(); return this; } /** - * - * *
        * A file in the directory.
        * 
* * string file = 1; - * * @return This builder for chaining. */ public Builder clearFile() { @@ -1032,22 +903,20 @@ public Builder clearFile() { return this; } /** - * - * *
        * A file in the directory.
        * 
* * string file = 1; - * * @param value The bytes for file to set. * @return This builder for chaining. */ - public Builder setFileBytes(com.google.protobuf.ByteString value) { + public Builder setFileBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); entryCase_ = 1; entry_ = value; onChanged(); @@ -1055,14 +924,11 @@ public Builder setFileBytes(com.google.protobuf.ByteString value) { } /** - * - * *
        * A child directory in the directory.
        * 
* * string directory = 2; - * * @return Whether the directory field is set. */ @java.lang.Override @@ -1070,14 +936,11 @@ public boolean hasDirectory() { return entryCase_ == 2; } /** - * - * *
        * A child directory in the directory.
        * 
* * string directory = 2; - * * @return The directory. */ @java.lang.Override @@ -1087,7 +950,8 @@ public java.lang.String getDirectory() { ref = entry_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (entryCase_ == 2) { entry_ = s; @@ -1098,25 +962,24 @@ public java.lang.String getDirectory() { } } /** - * - * *
        * A child directory in the directory.
        * 
* * string directory = 2; - * * @return The bytes for directory. */ @java.lang.Override - public com.google.protobuf.ByteString getDirectoryBytes() { + public com.google.protobuf.ByteString + getDirectoryBytes() { java.lang.Object ref = ""; if (entryCase_ == 2) { ref = entry_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (entryCase_ == 2) { entry_ = b; } @@ -1126,35 +989,30 @@ public com.google.protobuf.ByteString getDirectoryBytes() { } } /** - * - * *
        * A child directory in the directory.
        * 
* * string directory = 2; - * * @param value The directory to set. * @return This builder for chaining. */ - public Builder setDirectory(java.lang.String value) { + public Builder setDirectory( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - entryCase_ = 2; + throw new NullPointerException(); + } + entryCase_ = 2; entry_ = value; onChanged(); return this; } /** - * - * *
        * A child directory in the directory.
        * 
* * string directory = 2; - * * @return This builder for chaining. */ public Builder clearDirectory() { @@ -1166,28 +1024,25 @@ public Builder clearDirectory() { return this; } /** - * - * *
        * A child directory in the directory.
        * 
* * string directory = 2; - * * @param value The bytes for directory to set. * @return This builder for chaining. */ - public Builder setDirectoryBytes(com.google.protobuf.ByteString value) { + public Builder setDirectoryBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); entryCase_ = 2; entry_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1200,34 +1055,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry) - private static final com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse - .DirectoryEntry - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry(); + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry(); } - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry - getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DirectoryEntry parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DirectoryEntry(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DirectoryEntry parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DirectoryEntry(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1239,112 +1090,81 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry - getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int DIRECTORY_ENTRIES_FIELD_NUMBER = 1; - private java.util.List< - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry> - directoryEntries_; + private java.util.List directoryEntries_; /** - * - * *
    * List of entries in the directory.
    * 
* - * - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; - * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; */ @java.lang.Override - public java.util.List< - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry> - getDirectoryEntriesList() { + public java.util.List getDirectoryEntriesList() { return directoryEntries_; } /** - * - * *
    * List of entries in the directory.
    * 
* - * - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; - * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; */ @java.lang.Override - public java.util.List< - ? extends - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse - .DirectoryEntryOrBuilder> + public java.util.List getDirectoryEntriesOrBuilderList() { return directoryEntries_; } /** - * - * *
    * List of entries in the directory.
    * 
* - * - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; - * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; */ @java.lang.Override public int getDirectoryEntriesCount() { return directoryEntries_.size(); } /** - * - * *
    * List of entries in the directory.
    * 
* - * - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; - * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry - getDirectoryEntries(int index) { + public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry getDirectoryEntries(int index) { return directoryEntries_.get(index); } /** - * - * *
    * List of entries in the directory.
    * 
* - * - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; - * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntryOrBuilder - getDirectoryEntriesOrBuilder(int index) { + public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntryOrBuilder getDirectoryEntriesOrBuilder( + int index) { return directoryEntries_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -1353,30 +1173,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1385,7 +1205,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1397,7 +1216,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < directoryEntries_.size(); i++) { output.writeMessage(1, directoryEntries_.get(i)); } @@ -1414,7 +1234,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < directoryEntries_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, directoryEntries_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, directoryEntries_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -1427,16 +1248,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse other = - (com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse) obj; + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse other = (com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse) obj; - if (!getDirectoryEntriesList().equals(other.getDirectoryEntriesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getDirectoryEntriesList() + .equals(other.getDirectoryEntriesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1460,147 +1282,135 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `QueryDirectoryContents` response message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse) com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.class, - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.class, com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.Builder.class); } - // Construct using - // com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.newBuilder() + // Construct using com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getDirectoryEntriesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1616,14 +1426,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse - getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse getDefaultInstanceForType() { return com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.getDefaultInstance(); } @@ -1638,8 +1447,7 @@ public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse build() @java.lang.Override public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse buildPartial() { - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse result = - new com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse(this); + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse result = new com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse(this); int from_bitField0_ = bitField0_; if (directoryEntriesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -1659,50 +1467,46 @@ public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse other) { - if (other - == com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse other) { + if (other == com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.getDefaultInstance()) return this; if (directoryEntriesBuilder_ == null) { if (!other.directoryEntries_.isEmpty()) { if (directoryEntries_.isEmpty()) { @@ -1721,10 +1525,9 @@ public Builder mergeFrom( directoryEntriesBuilder_ = null; directoryEntries_ = other.directoryEntries_; bitField0_ = (bitField0_ & ~0x00000001); - directoryEntriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDirectoryEntriesFieldBuilder() - : null; + directoryEntriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDirectoryEntriesFieldBuilder() : null; } else { directoryEntriesBuilder_.addAllMessages(other.directoryEntries_); } @@ -1753,9 +1556,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1764,45 +1565,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private java.util.List< - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry> - directoryEntries_ = java.util.Collections.emptyList(); - + private java.util.List directoryEntries_ = + java.util.Collections.emptyList(); private void ensureDirectoryEntriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - directoryEntries_ = - new java.util.ArrayList< - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry>( - directoryEntries_); + directoryEntries_ = new java.util.ArrayList(directoryEntries_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry, - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry - .Builder, - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse - .DirectoryEntryOrBuilder> - directoryEntriesBuilder_; + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry, com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry.Builder, com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntryOrBuilder> directoryEntriesBuilder_; /** - * - * *
      * List of entries in the directory.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; - * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; */ - public java.util.List< - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry> - getDirectoryEntriesList() { + public java.util.List getDirectoryEntriesList() { if (directoryEntriesBuilder_ == null) { return java.util.Collections.unmodifiableList(directoryEntries_); } else { @@ -1810,15 +1594,11 @@ private void ensureDirectoryEntriesIsMutable() { } } /** - * - * *
      * List of entries in the directory.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; - * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; */ public int getDirectoryEntriesCount() { if (directoryEntriesBuilder_ == null) { @@ -1828,18 +1608,13 @@ public int getDirectoryEntriesCount() { } } /** - * - * *
      * List of entries in the directory.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; - * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; */ - public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry - getDirectoryEntries(int index) { + public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry getDirectoryEntries(int index) { if (directoryEntriesBuilder_ == null) { return directoryEntries_.get(index); } else { @@ -1847,19 +1622,14 @@ public int getDirectoryEntriesCount() { } } /** - * - * *
      * List of entries in the directory.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; - * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; */ public Builder setDirectoryEntries( - int index, - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry value) { + int index, com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry value) { if (directoryEntriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1873,20 +1643,14 @@ public Builder setDirectoryEntries( return this; } /** - * - * *
      * List of entries in the directory.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; - * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; */ public Builder setDirectoryEntries( - int index, - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry.Builder - builderForValue) { + int index, com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry.Builder builderForValue) { if (directoryEntriesBuilder_ == null) { ensureDirectoryEntriesIsMutable(); directoryEntries_.set(index, builderForValue.build()); @@ -1897,18 +1661,13 @@ public Builder setDirectoryEntries( return this; } /** - * - * *
      * List of entries in the directory.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; - * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; */ - public Builder addDirectoryEntries( - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry value) { + public Builder addDirectoryEntries(com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry value) { if (directoryEntriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1922,19 +1681,14 @@ public Builder addDirectoryEntries( return this; } /** - * - * *
      * List of entries in the directory.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; - * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; */ public Builder addDirectoryEntries( - int index, - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry value) { + int index, com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry value) { if (directoryEntriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1948,19 +1702,14 @@ public Builder addDirectoryEntries( return this; } /** - * - * *
      * List of entries in the directory.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; - * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; */ public Builder addDirectoryEntries( - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry.Builder - builderForValue) { + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry.Builder builderForValue) { if (directoryEntriesBuilder_ == null) { ensureDirectoryEntriesIsMutable(); directoryEntries_.add(builderForValue.build()); @@ -1971,20 +1720,14 @@ public Builder addDirectoryEntries( return this; } /** - * - * *
      * List of entries in the directory.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; - * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; */ public Builder addDirectoryEntries( - int index, - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry.Builder - builderForValue) { + int index, com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry.Builder builderForValue) { if (directoryEntriesBuilder_ == null) { ensureDirectoryEntriesIsMutable(); directoryEntries_.add(index, builderForValue.build()); @@ -1995,25 +1738,18 @@ public Builder addDirectoryEntries( return this; } /** - * - * *
      * List of entries in the directory.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; - * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; */ public Builder addAllDirectoryEntries( - java.lang.Iterable< - ? extends - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse - .DirectoryEntry> - values) { + java.lang.Iterable values) { if (directoryEntriesBuilder_ == null) { ensureDirectoryEntriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, directoryEntries_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, directoryEntries_); onChanged(); } else { directoryEntriesBuilder_.addAllMessages(values); @@ -2021,15 +1757,11 @@ public Builder addAllDirectoryEntries( return this; } /** - * - * *
      * List of entries in the directory.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; - * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; */ public Builder clearDirectoryEntries() { if (directoryEntriesBuilder_ == null) { @@ -2042,15 +1774,11 @@ public Builder clearDirectoryEntries() { return this; } /** - * - * *
      * List of entries in the directory.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; - * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; */ public Builder removeDirectoryEntries(int index) { if (directoryEntriesBuilder_ == null) { @@ -2063,55 +1791,39 @@ public Builder removeDirectoryEntries(int index) { return this; } /** - * - * *
      * List of entries in the directory.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; - * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; */ - public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry.Builder - getDirectoryEntriesBuilder(int index) { + public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry.Builder getDirectoryEntriesBuilder( + int index) { return getDirectoryEntriesFieldBuilder().getBuilder(index); } /** - * - * *
      * List of entries in the directory.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; - * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; */ - public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntryOrBuilder - getDirectoryEntriesOrBuilder(int index) { + public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntryOrBuilder getDirectoryEntriesOrBuilder( + int index) { if (directoryEntriesBuilder_ == null) { - return directoryEntries_.get(index); - } else { + return directoryEntries_.get(index); } else { return directoryEntriesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of entries in the directory.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; - * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; */ - public java.util.List< - ? extends - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse - .DirectoryEntryOrBuilder> - getDirectoryEntriesOrBuilderList() { + public java.util.List + getDirectoryEntriesOrBuilderList() { if (directoryEntriesBuilder_ != null) { return directoryEntriesBuilder_.getMessageOrBuilderList(); } else { @@ -2119,75 +1831,45 @@ public Builder removeDirectoryEntries(int index) { } } /** - * - * *
      * List of entries in the directory.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; - * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; */ - public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry.Builder - addDirectoryEntriesBuilder() { - return getDirectoryEntriesFieldBuilder() - .addBuilder( - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry - .getDefaultInstance()); + public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry.Builder addDirectoryEntriesBuilder() { + return getDirectoryEntriesFieldBuilder().addBuilder( + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry.getDefaultInstance()); } /** - * - * *
      * List of entries in the directory.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; - * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; */ - public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry.Builder - addDirectoryEntriesBuilder(int index) { - return getDirectoryEntriesFieldBuilder() - .addBuilder( - index, - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry - .getDefaultInstance()); + public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry.Builder addDirectoryEntriesBuilder( + int index) { + return getDirectoryEntriesFieldBuilder().addBuilder( + index, com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry.getDefaultInstance()); } /** - * - * *
      * List of entries in the directory.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; - * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; */ - public java.util.List< - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry - .Builder> - getDirectoryEntriesBuilderList() { + public java.util.List + getDirectoryEntriesBuilderList() { return getDirectoryEntriesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry, - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry - .Builder, - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse - .DirectoryEntryOrBuilder> + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry, com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry.Builder, com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntryOrBuilder> getDirectoryEntriesFieldBuilder() { if (directoryEntriesBuilder_ == null) { - directoryEntriesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry, - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry - .Builder, - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse - .DirectoryEntryOrBuilder>( + directoryEntriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry, com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry.Builder, com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntryOrBuilder>( directoryEntries_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -2199,21 +1881,19 @@ public Builder removeDirectoryEntries(int index) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -2222,22 +1902,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -2245,71 +1924,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2319,32 +1991,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse) - private static final com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse(); } - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse - getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueryDirectoryContentsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new QueryDirectoryContentsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryDirectoryContentsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new QueryDirectoryContentsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2356,8 +2026,9 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse - getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsResponseOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsResponseOrBuilder.java new file mode 100644 index 0000000..ed6d6ea --- /dev/null +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsResponseOrBuilder.java @@ -0,0 +1,75 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1alpha2/dataform.proto + +package com.google.cloud.dataform.v1alpha2; + +public interface QueryDirectoryContentsResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * List of entries in the directory.
+   * 
+ * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + */ + java.util.List + getDirectoryEntriesList(); + /** + *
+   * List of entries in the directory.
+   * 
+ * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + */ + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry getDirectoryEntries(int index); + /** + *
+   * List of entries in the directory.
+   * 
+ * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + */ + int getDirectoryEntriesCount(); + /** + *
+   * List of entries in the directory.
+   * 
+ * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + */ + java.util.List + getDirectoryEntriesOrBuilderList(); + /** + *
+   * List of entries in the directory.
+   * 
+ * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + */ + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntryOrBuilder getDirectoryEntriesOrBuilder( + int index); + + /** + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * @return The nextPageToken. + */ + java.lang.String getNextPageToken(); + /** + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * @return The bytes for nextPageToken. + */ + com.google.protobuf.ByteString + getNextPageTokenBytes(); +} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsRequest.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsRequest.java similarity index 65% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsRequest.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsRequest.java index e5c3132..909414f 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsRequest.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsRequest.java @@ -1,44 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * `QueryWorkflowInvocationActions` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest} */ -public final class QueryWorkflowInvocationActionsRequest - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class QueryWorkflowInvocationActionsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest) QueryWorkflowInvocationActionsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use QueryWorkflowInvocationActionsRequest.newBuilder() to construct. - private QueryWorkflowInvocationActionsRequest( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private QueryWorkflowInvocationActionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private QueryWorkflowInvocationActionsRequest() { name_ = ""; pageToken_ = ""; @@ -46,15 +26,16 @@ private QueryWorkflowInvocationActionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new QueryWorkflowInvocationActionsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private QueryWorkflowInvocationActionsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,32 +54,30 @@ private QueryWorkflowInvocationActionsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,41 +85,34 @@ private QueryWorkflowInvocationActionsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest.class, - com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest.class, com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The workflow invocation's name.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -149,31 +121,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The workflow invocation's name.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -184,8 +154,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * Optional. Maximum number of workflow invocations to return. The server may return
    * fewer items than requested. If unspecified, the server will pick an
@@ -193,7 +161,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -204,8 +171,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * Optional. Page token received from a previous `QueryWorkflowInvocationActions` call.
    * Provide this to retrieve the subsequent page.
@@ -215,7 +180,6 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ @java.lang.Override @@ -224,15 +188,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * Optional. Page token received from a previous `QueryWorkflowInvocationActions` call.
    * Provide this to retrieve the subsequent page.
@@ -242,15 +205,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -259,7 +223,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -271,7 +234,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -294,7 +258,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -307,18 +272,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest)) { + if (!(obj instanceof com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest other = - (com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest) obj; + com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest other = (com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest) obj; - if (!getName().equals(other.getName())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getName() + .equals(other.getName())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -342,146 +308,134 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `QueryWorkflowInvocationActions` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest) com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest.class, - com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest.Builder - .class); + com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest.class, com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest.Builder.class); } - // Construct using - // com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest.newBuilder() + // Construct using com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -495,22 +449,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest - getDefaultInstanceForType() { - return com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest - .getDefaultInstance(); + public com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest getDefaultInstanceForType() { + return com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest.getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest build() { - com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest result = - buildPartial(); + com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -519,8 +470,7 @@ public com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest @java.lang.Override public com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest result = - new com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest(this); + com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest result = new com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest(this); result.name_ = name_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -532,52 +482,46 @@ public com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest) { - return mergeFrom( - (com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest) other); + if (other instanceof com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest) { + return mergeFrom((com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest other) { - if (other - == com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest other) { + if (other == com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -608,9 +552,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -622,22 +564,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The workflow invocation's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -646,23 +584,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The workflow invocation's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -670,76 +605,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The workflow invocation's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The workflow invocation's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The workflow invocation's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Optional. Maximum number of workflow invocations to return. The server may return
      * fewer items than requested. If unspecified, the server will pick an
@@ -747,7 +667,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -755,8 +674,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Optional. Maximum number of workflow invocations to return. The server may return
      * fewer items than requested. If unspecified, the server will pick an
@@ -764,19 +681,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Maximum number of workflow invocations to return. The server may return
      * fewer items than requested. If unspecified, the server will pick an
@@ -784,11 +698,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -796,8 +709,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * Optional. Page token received from a previous `QueryWorkflowInvocationActions` call.
      * Provide this to retrieve the subsequent page.
@@ -807,13 +718,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -822,8 +733,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Optional. Page token received from a previous `QueryWorkflowInvocationActions` call.
      * Provide this to retrieve the subsequent page.
@@ -833,14 +742,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -848,8 +758,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Optional. Page token received from a previous `QueryWorkflowInvocationActions` call.
      * Provide this to retrieve the subsequent page.
@@ -859,22 +767,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Page token received from a previous `QueryWorkflowInvocationActions` call.
      * Provide this to retrieve the subsequent page.
@@ -884,18 +790,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * Optional. Page token received from a previous `QueryWorkflowInvocationActions` call.
      * Provide this to retrieve the subsequent page.
@@ -905,23 +808,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -931,33 +834,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest) - private static final com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest(); + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest(); } - public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest - getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueryWorkflowInvocationActionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new QueryWorkflowInvocationActionsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryWorkflowInvocationActionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new QueryWorkflowInvocationActionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -969,8 +869,9 @@ public com.google.protobuf.Parser getPars } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest - getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsRequestOrBuilder.java similarity index 62% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsRequestOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsRequestOrBuilder.java index 8cba9c9..a827ee8 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsRequestOrBuilder.java @@ -1,60 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface QueryWorkflowInvocationActionsRequestOrBuilder - extends +public interface QueryWorkflowInvocationActionsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The workflow invocation's name.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The workflow invocation's name.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Optional. Maximum number of workflow invocations to return. The server may return
    * fewer items than requested. If unspecified, the server will pick an
@@ -62,14 +35,11 @@ public interface QueryWorkflowInvocationActionsRequestOrBuilder
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * Optional. Page token received from a previous `QueryWorkflowInvocationActions` call.
    * Provide this to retrieve the subsequent page.
@@ -79,13 +49,10 @@ public interface QueryWorkflowInvocationActionsRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * Optional. Page token received from a previous `QueryWorkflowInvocationActions` call.
    * Provide this to retrieve the subsequent page.
@@ -95,8 +62,8 @@ public interface QueryWorkflowInvocationActionsRequestOrBuilder
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsResponse.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsResponse.java similarity index 61% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsResponse.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsResponse.java index a71ed77..9d21e9a 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsResponse.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsResponse.java @@ -1,44 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * `QueryWorkflowInvocationActions` response message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse} */ -public final class QueryWorkflowInvocationActionsResponse - extends com.google.protobuf.GeneratedMessageV3 - implements +public final class QueryWorkflowInvocationActionsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse) QueryWorkflowInvocationActionsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use QueryWorkflowInvocationActionsResponse.newBuilder() to construct. - private QueryWorkflowInvocationActionsResponse( - com.google.protobuf.GeneratedMessageV3.Builder builder) { + private QueryWorkflowInvocationActionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private QueryWorkflowInvocationActionsResponse() { workflowInvocationActions_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -46,15 +26,16 @@ private QueryWorkflowInvocationActionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new QueryWorkflowInvocationActionsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private QueryWorkflowInvocationActionsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,34 +55,28 @@ private QueryWorkflowInvocationActionsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - workflowInvocationActions_ = - new java.util.ArrayList< - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction>(); - mutable_bitField0_ |= 0x00000001; - } - workflowInvocationActions_.add( - input.readMessage( - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + workflowInvocationActions_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + workflowInvocationActions_.add( + input.readMessage(com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -109,129 +84,98 @@ private QueryWorkflowInvocationActionsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { - workflowInvocationActions_ = - java.util.Collections.unmodifiableList(workflowInvocationActions_); + workflowInvocationActions_ = java.util.Collections.unmodifiableList(workflowInvocationActions_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse.class, - com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse.Builder - .class); + com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse.class, com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse.Builder.class); } public static final int WORKFLOW_INVOCATION_ACTIONS_FIELD_NUMBER = 1; - private java.util.List - workflowInvocationActions_; + private java.util.List workflowInvocationActions_; /** - * - * *
    * List of workflow invocation actions.
    * 
* - * - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; */ @java.lang.Override - public java.util.List - getWorkflowInvocationActionsList() { + public java.util.List getWorkflowInvocationActionsList() { return workflowInvocationActions_; } /** - * - * *
    * List of workflow invocation actions.
    * 
* - * - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.dataform.v1alpha2.WorkflowInvocationActionOrBuilder> + public java.util.List getWorkflowInvocationActionsOrBuilderList() { return workflowInvocationActions_; } /** - * - * *
    * List of workflow invocation actions.
    * 
* - * - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; */ @java.lang.Override public int getWorkflowInvocationActionsCount() { return workflowInvocationActions_.size(); } /** - * - * *
    * List of workflow invocation actions.
    * 
* - * - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction getWorkflowInvocationActions( - int index) { + public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction getWorkflowInvocationActions(int index) { return workflowInvocationActions_.get(index); } /** - * - * *
    * List of workflow invocation actions.
    * 
* - * - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.WorkflowInvocationActionOrBuilder - getWorkflowInvocationActionsOrBuilder(int index) { + public com.google.cloud.dataform.v1alpha2.WorkflowInvocationActionOrBuilder getWorkflowInvocationActionsOrBuilder( + int index) { return workflowInvocationActions_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -240,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -272,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -284,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < workflowInvocationActions_.size(); i++) { output.writeMessage(1, workflowInvocationActions_.get(i)); } @@ -301,9 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < workflowInvocationActions_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, workflowInvocationActions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, workflowInvocationActions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -316,18 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse)) { + if (!(obj instanceof com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse other = - (com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse) obj; + com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse other = (com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse) obj; - if (!getWorkflowInvocationActionsList().equals(other.getWorkflowInvocationActionsList())) - return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getWorkflowInvocationActionsList() + .equals(other.getWorkflowInvocationActionsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -351,148 +293,135 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `QueryWorkflowInvocationActions` response message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse) com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse.class, - com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse.Builder - .class); + com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse.class, com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse.Builder.class); } - // Construct using - // com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse.newBuilder() + // Construct using com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getWorkflowInvocationActionsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -508,22 +437,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsResponse_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse - getDefaultInstanceForType() { - return com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse - .getDefaultInstance(); + public com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse getDefaultInstanceForType() { + return com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse.getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse build() { - com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse result = - buildPartial(); + com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -531,15 +457,12 @@ public com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse - buildPartial() { - com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse result = - new com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse(this); + public com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse buildPartial() { + com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse result = new com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse(this); int from_bitField0_ = bitField0_; if (workflowInvocationActionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - workflowInvocationActions_ = - java.util.Collections.unmodifiableList(workflowInvocationActions_); + workflowInvocationActions_ = java.util.Collections.unmodifiableList(workflowInvocationActions_); bitField0_ = (bitField0_ & ~0x00000001); } result.workflowInvocationActions_ = workflowInvocationActions_; @@ -555,52 +478,46 @@ public com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse) { - return mergeFrom( - (com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse) other); + if (other instanceof com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse) { + return mergeFrom((com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse other) { - if (other - == com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse other) { + if (other == com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse.getDefaultInstance()) return this; if (workflowInvocationActionsBuilder_ == null) { if (!other.workflowInvocationActions_.isEmpty()) { if (workflowInvocationActions_.isEmpty()) { @@ -619,10 +536,9 @@ public Builder mergeFrom( workflowInvocationActionsBuilder_ = null; workflowInvocationActions_ = other.workflowInvocationActions_; bitField0_ = (bitField0_ & ~0x00000001); - workflowInvocationActionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getWorkflowInvocationActionsFieldBuilder() - : null; + workflowInvocationActionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getWorkflowInvocationActionsFieldBuilder() : null; } else { workflowInvocationActionsBuilder_.addAllMessages(other.workflowInvocationActions_); } @@ -647,14 +563,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse parsedMessage = - null; + com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -663,40 +576,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private java.util.List - workflowInvocationActions_ = java.util.Collections.emptyList(); - + private java.util.List workflowInvocationActions_ = + java.util.Collections.emptyList(); private void ensureWorkflowInvocationActionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - workflowInvocationActions_ = - new java.util.ArrayList( - workflowInvocationActions_); + workflowInvocationActions_ = new java.util.ArrayList(workflowInvocationActions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction, - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.Builder, - com.google.cloud.dataform.v1alpha2.WorkflowInvocationActionOrBuilder> - workflowInvocationActionsBuilder_; + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction, com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.Builder, com.google.cloud.dataform.v1alpha2.WorkflowInvocationActionOrBuilder> workflowInvocationActionsBuilder_; /** - * - * *
      * List of workflow invocation actions.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; */ - public java.util.List - getWorkflowInvocationActionsList() { + public java.util.List getWorkflowInvocationActionsList() { if (workflowInvocationActionsBuilder_ == null) { return java.util.Collections.unmodifiableList(workflowInvocationActions_); } else { @@ -704,15 +605,11 @@ private void ensureWorkflowInvocationActionsIsMutable() { } } /** - * - * *
      * List of workflow invocation actions.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; */ public int getWorkflowInvocationActionsCount() { if (workflowInvocationActionsBuilder_ == null) { @@ -722,18 +619,13 @@ public int getWorkflowInvocationActionsCount() { } } /** - * - * *
      * List of workflow invocation actions.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; */ - public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction getWorkflowInvocationActions( - int index) { + public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction getWorkflowInvocationActions(int index) { if (workflowInvocationActionsBuilder_ == null) { return workflowInvocationActions_.get(index); } else { @@ -741,15 +633,11 @@ public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction getWorkflowIn } } /** - * - * *
      * List of workflow invocation actions.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; */ public Builder setWorkflowInvocationActions( int index, com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction value) { @@ -766,19 +654,14 @@ public Builder setWorkflowInvocationActions( return this; } /** - * - * *
      * List of workflow invocation actions.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; */ public Builder setWorkflowInvocationActions( - int index, - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.Builder builderForValue) { + int index, com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.Builder builderForValue) { if (workflowInvocationActionsBuilder_ == null) { ensureWorkflowInvocationActionsIsMutable(); workflowInvocationActions_.set(index, builderForValue.build()); @@ -789,18 +672,13 @@ public Builder setWorkflowInvocationActions( return this; } /** - * - * *
      * List of workflow invocation actions.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; */ - public Builder addWorkflowInvocationActions( - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction value) { + public Builder addWorkflowInvocationActions(com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction value) { if (workflowInvocationActionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -814,15 +692,11 @@ public Builder addWorkflowInvocationActions( return this; } /** - * - * *
      * List of workflow invocation actions.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; */ public Builder addWorkflowInvocationActions( int index, com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction value) { @@ -839,15 +713,11 @@ public Builder addWorkflowInvocationActions( return this; } /** - * - * *
      * List of workflow invocation actions.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; */ public Builder addWorkflowInvocationActions( com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.Builder builderForValue) { @@ -861,19 +731,14 @@ public Builder addWorkflowInvocationActions( return this; } /** - * - * *
      * List of workflow invocation actions.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; */ public Builder addWorkflowInvocationActions( - int index, - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.Builder builderForValue) { + int index, com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.Builder builderForValue) { if (workflowInvocationActionsBuilder_ == null) { ensureWorkflowInvocationActionsIsMutable(); workflowInvocationActions_.add(index, builderForValue.build()); @@ -884,22 +749,18 @@ public Builder addWorkflowInvocationActions( return this; } /** - * - * *
      * List of workflow invocation actions.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; */ public Builder addAllWorkflowInvocationActions( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (workflowInvocationActionsBuilder_ == null) { ensureWorkflowInvocationActionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, workflowInvocationActions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, workflowInvocationActions_); onChanged(); } else { workflowInvocationActionsBuilder_.addAllMessages(values); @@ -907,15 +768,11 @@ public Builder addAllWorkflowInvocationActions( return this; } /** - * - * *
      * List of workflow invocation actions.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; */ public Builder clearWorkflowInvocationActions() { if (workflowInvocationActionsBuilder_ == null) { @@ -928,15 +785,11 @@ public Builder clearWorkflowInvocationActions() { return this; } /** - * - * *
      * List of workflow invocation actions.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; */ public Builder removeWorkflowInvocationActions(int index) { if (workflowInvocationActionsBuilder_ == null) { @@ -949,53 +802,39 @@ public Builder removeWorkflowInvocationActions(int index) { return this; } /** - * - * *
      * List of workflow invocation actions.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; */ - public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.Builder - getWorkflowInvocationActionsBuilder(int index) { + public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.Builder getWorkflowInvocationActionsBuilder( + int index) { return getWorkflowInvocationActionsFieldBuilder().getBuilder(index); } /** - * - * *
      * List of workflow invocation actions.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; */ - public com.google.cloud.dataform.v1alpha2.WorkflowInvocationActionOrBuilder - getWorkflowInvocationActionsOrBuilder(int index) { + public com.google.cloud.dataform.v1alpha2.WorkflowInvocationActionOrBuilder getWorkflowInvocationActionsOrBuilder( + int index) { if (workflowInvocationActionsBuilder_ == null) { - return workflowInvocationActions_.get(index); - } else { + return workflowInvocationActions_.get(index); } else { return workflowInvocationActionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of workflow invocation actions.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; */ - public java.util.List< - ? extends com.google.cloud.dataform.v1alpha2.WorkflowInvocationActionOrBuilder> - getWorkflowInvocationActionsOrBuilderList() { + public java.util.List + getWorkflowInvocationActionsOrBuilderList() { if (workflowInvocationActionsBuilder_ != null) { return workflowInvocationActionsBuilder_.getMessageOrBuilderList(); } else { @@ -1003,67 +842,45 @@ public Builder removeWorkflowInvocationActions(int index) { } } /** - * - * *
      * List of workflow invocation actions.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; */ - public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.Builder - addWorkflowInvocationActionsBuilder() { - return getWorkflowInvocationActionsFieldBuilder() - .addBuilder( - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.getDefaultInstance()); + public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.Builder addWorkflowInvocationActionsBuilder() { + return getWorkflowInvocationActionsFieldBuilder().addBuilder( + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.getDefaultInstance()); } /** - * - * *
      * List of workflow invocation actions.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; */ - public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.Builder - addWorkflowInvocationActionsBuilder(int index) { - return getWorkflowInvocationActionsFieldBuilder() - .addBuilder( - index, - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.getDefaultInstance()); + public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.Builder addWorkflowInvocationActionsBuilder( + int index) { + return getWorkflowInvocationActionsFieldBuilder().addBuilder( + index, com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.getDefaultInstance()); } /** - * - * *
      * List of workflow invocation actions.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; */ - public java.util.List - getWorkflowInvocationActionsBuilderList() { + public java.util.List + getWorkflowInvocationActionsBuilderList() { return getWorkflowInvocationActionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction, - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.Builder, - com.google.cloud.dataform.v1alpha2.WorkflowInvocationActionOrBuilder> + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction, com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.Builder, com.google.cloud.dataform.v1alpha2.WorkflowInvocationActionOrBuilder> getWorkflowInvocationActionsFieldBuilder() { if (workflowInvocationActionsBuilder_ == null) { - workflowInvocationActionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction, - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.Builder, - com.google.cloud.dataform.v1alpha2.WorkflowInvocationActionOrBuilder>( + workflowInvocationActionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction, com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.Builder, com.google.cloud.dataform.v1alpha2.WorkflowInvocationActionOrBuilder>( workflowInvocationActions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1075,21 +892,19 @@ public Builder removeWorkflowInvocationActions(int index) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1098,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1121,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1195,33 +1002,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse) - private static final com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse(); + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse(); } - public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse - getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueryWorkflowInvocationActionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new QueryWorkflowInvocationActionsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryWorkflowInvocationActionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new QueryWorkflowInvocationActionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1233,8 +1037,9 @@ public com.google.protobuf.Parser getPar } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse - getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsResponseOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsResponseOrBuilder.java similarity index 53% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsResponseOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsResponseOrBuilder.java index 192a08e..fe6c6d6 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsResponseOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsResponseOrBuilder.java @@ -1,117 +1,75 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface QueryWorkflowInvocationActionsResponseOrBuilder - extends +public interface QueryWorkflowInvocationActionsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of workflow invocation actions.
    * 
* - * - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; */ - java.util.List + java.util.List getWorkflowInvocationActionsList(); /** - * - * *
    * List of workflow invocation actions.
    * 
* - * - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; */ - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction getWorkflowInvocationActions( - int index); + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction getWorkflowInvocationActions(int index); /** - * - * *
    * List of workflow invocation actions.
    * 
* - * - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; */ int getWorkflowInvocationActionsCount(); /** - * - * *
    * List of workflow invocation actions.
    * 
* - * - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; */ - java.util.List + java.util.List getWorkflowInvocationActionsOrBuilderList(); /** - * - * *
    * List of workflow invocation actions.
    * 
* - * - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; - * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; */ - com.google.cloud.dataform.v1alpha2.WorkflowInvocationActionOrBuilder - getWorkflowInvocationActionsOrBuilder(int index); + com.google.cloud.dataform.v1alpha2.WorkflowInvocationActionOrBuilder getWorkflowInvocationActionsOrBuilder( + int index); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileRequest.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileRequest.java similarity index 66% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileRequest.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileRequest.java index da5a516..4fac15c 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileRequest.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * `ReadFile` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.ReadFileRequest} */ -public final class ReadFileRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ReadFileRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.ReadFileRequest) ReadFileRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ReadFileRequest.newBuilder() to construct. private ReadFileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ReadFileRequest() { workspace_ = ""; path_ = ""; @@ -44,15 +26,16 @@ private ReadFileRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReadFileRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ReadFileRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private ReadFileRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - workspace_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + workspace_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - path_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + path_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,41 +80,34 @@ private ReadFileRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ReadFileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ReadFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ReadFileRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ReadFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.ReadFileRequest.class, - com.google.cloud.dataform.v1alpha2.ReadFileRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.ReadFileRequest.class, com.google.cloud.dataform.v1alpha2.ReadFileRequest.Builder.class); } public static final int WORKSPACE_FIELD_NUMBER = 1; private volatile java.lang.Object workspace_; /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The workspace. */ @java.lang.Override @@ -142,31 +116,29 @@ public java.lang.String getWorkspace() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; } } /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for workspace. */ @java.lang.Override - public com.google.protobuf.ByteString getWorkspaceBytes() { + public com.google.protobuf.ByteString + getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); workspace_ = b; return b; } else { @@ -177,14 +149,11 @@ public com.google.protobuf.ByteString getWorkspaceBytes() { public static final int PATH_FIELD_NUMBER = 2; private volatile java.lang.Object path_; /** - * - * *
    * Required. The file's full path including filename, relative to the workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The path. */ @java.lang.Override @@ -193,29 +162,29 @@ public java.lang.String getPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } } /** - * - * *
    * Required. The file's full path including filename, relative to the workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for path. */ @java.lang.Override - public com.google.protobuf.ByteString getPathBytes() { + public com.google.protobuf.ByteString + getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); path_ = b; return b; } else { @@ -224,7 +193,6 @@ public com.google.protobuf.ByteString getPathBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -236,7 +204,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workspace_); } @@ -266,16 +235,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.ReadFileRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.ReadFileRequest other = - (com.google.cloud.dataform.v1alpha2.ReadFileRequest) obj; + com.google.cloud.dataform.v1alpha2.ReadFileRequest other = (com.google.cloud.dataform.v1alpha2.ReadFileRequest) obj; - if (!getWorkspace().equals(other.getWorkspace())) return false; - if (!getPath().equals(other.getPath())) return false; + if (!getWorkspace() + .equals(other.getWorkspace())) return false; + if (!getPath() + .equals(other.getPath())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -297,126 +267,117 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.ReadFileRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.ReadFileRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ReadFileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.ReadFileRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ReadFileRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.ReadFileRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.ReadFileRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.ReadFileRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.ReadFileRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.ReadFileRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.ReadFileRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.ReadFileRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ReadFileRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.ReadFileRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.ReadFileRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `ReadFile` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.ReadFileRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.ReadFileRequest) com.google.cloud.dataform.v1alpha2.ReadFileRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ReadFileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ReadFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ReadFileRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ReadFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.ReadFileRequest.class, - com.google.cloud.dataform.v1alpha2.ReadFileRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.ReadFileRequest.class, com.google.cloud.dataform.v1alpha2.ReadFileRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.ReadFileRequest.newBuilder() @@ -424,15 +385,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -444,9 +406,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ReadFileRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ReadFileRequest_descriptor; } @java.lang.Override @@ -465,8 +427,7 @@ public com.google.cloud.dataform.v1alpha2.ReadFileRequest build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.ReadFileRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.ReadFileRequest result = - new com.google.cloud.dataform.v1alpha2.ReadFileRequest(this); + com.google.cloud.dataform.v1alpha2.ReadFileRequest result = new com.google.cloud.dataform.v1alpha2.ReadFileRequest(this); result.workspace_ = workspace_; result.path_ = path_; onBuilt(); @@ -477,39 +438,38 @@ public com.google.cloud.dataform.v1alpha2.ReadFileRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.ReadFileRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.ReadFileRequest) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.ReadFileRequest)other); } else { super.mergeFrom(other); return this; @@ -517,8 +477,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.ReadFileRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.ReadFileRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataform.v1alpha2.ReadFileRequest.getDefaultInstance()) return this; if (!other.getWorkspace().isEmpty()) { workspace_ = other.workspace_; onChanged(); @@ -546,8 +505,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.ReadFileRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.ReadFileRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -559,22 +517,18 @@ public Builder mergeFrom( private java.lang.Object workspace_ = ""; /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The workspace. */ public java.lang.String getWorkspace() { java.lang.Object ref = workspace_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; @@ -583,23 +537,20 @@ public java.lang.String getWorkspace() { } } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for workspace. */ - public com.google.protobuf.ByteString getWorkspaceBytes() { + public com.google.protobuf.ByteString + getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); workspace_ = b; return b; } else { @@ -607,67 +558,54 @@ public com.google.protobuf.ByteString getWorkspaceBytes() { } } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The workspace to set. * @return This builder for chaining. */ - public Builder setWorkspace(java.lang.String value) { + public Builder setWorkspace( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + workspace_ = value; onChanged(); return this; } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearWorkspace() { - + workspace_ = getDefaultInstance().getWorkspace(); onChanged(); return this; } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for workspace to set. * @return This builder for chaining. */ - public Builder setWorkspaceBytes(com.google.protobuf.ByteString value) { + public Builder setWorkspaceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workspace_ = value; onChanged(); return this; @@ -675,20 +613,18 @@ public Builder setWorkspaceBytes(com.google.protobuf.ByteString value) { private java.lang.Object path_ = ""; /** - * - * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; @@ -697,21 +633,20 @@ public java.lang.String getPath() { } } /** - * - * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for path. */ - public com.google.protobuf.ByteString getPathBytes() { + public com.google.protobuf.ByteString + getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); path_ = b; return b; } else { @@ -719,68 +654,61 @@ public com.google.protobuf.ByteString getPathBytes() { } } /** - * - * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath(java.lang.String value) { + public Builder setPath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + path_ = value; onChanged(); return this; } /** - * - * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearPath() { - + path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** - * - * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes(com.google.protobuf.ByteString value) { + public Builder setPathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -790,12 +718,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.ReadFileRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.ReadFileRequest) private static final com.google.cloud.dataform.v1alpha2.ReadFileRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.ReadFileRequest(); } @@ -804,16 +732,16 @@ public static com.google.cloud.dataform.v1alpha2.ReadFileRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadFileRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ReadFileRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadFileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ReadFileRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -828,4 +756,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.ReadFileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileRequestOrBuilder.java new file mode 100644 index 0000000..d6f8ef3 --- /dev/null +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileRequestOrBuilder.java @@ -0,0 +1,49 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1alpha2/dataform.proto + +package com.google.cloud.dataform.v1alpha2; + +public interface ReadFileRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.ReadFileRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The workspace. + */ + java.lang.String getWorkspace(); + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for workspace. + */ + com.google.protobuf.ByteString + getWorkspaceBytes(); + + /** + *
+   * Required. The file's full path including filename, relative to the workspace root.
+   * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The path. + */ + java.lang.String getPath(); + /** + *
+   * Required. The file's full path including filename, relative to the workspace root.
+   * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for path. + */ + com.google.protobuf.ByteString + getPathBytes(); +} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileResponse.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileResponse.java similarity index 68% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileResponse.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileResponse.java index f1ca18c..d3cd2b3 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileResponse.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileResponse.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * `ReadFile` response message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.ReadFileResponse} */ -public final class ReadFileResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ReadFileResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.ReadFileResponse) ReadFileResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ReadFileResponse.newBuilder() to construct. private ReadFileResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ReadFileResponse() { fileContents_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReadFileResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ReadFileResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,18 +53,18 @@ private ReadFileResponse( case 0: done = true; break; - case 10: - { - fileContents_ = input.readBytes(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 10: { + + fileContents_ = input.readBytes(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -89,39 +72,34 @@ private ReadFileResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ReadFileResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ReadFileResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ReadFileResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ReadFileResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.ReadFileResponse.class, - com.google.cloud.dataform.v1alpha2.ReadFileResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.ReadFileResponse.class, com.google.cloud.dataform.v1alpha2.ReadFileResponse.Builder.class); } public static final int FILE_CONTENTS_FIELD_NUMBER = 1; private com.google.protobuf.ByteString fileContents_; /** - * - * *
    * The file's contents.
    * 
* * bytes file_contents = 1; - * * @return The fileContents. */ @java.lang.Override @@ -130,7 +108,6 @@ public com.google.protobuf.ByteString getFileContents() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -142,7 +119,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!fileContents_.isEmpty()) { output.writeBytes(1, fileContents_); } @@ -156,7 +134,8 @@ public int getSerializedSize() { size = 0; if (!fileContents_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, fileContents_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, fileContents_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -166,15 +145,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.ReadFileResponse)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.ReadFileResponse other = - (com.google.cloud.dataform.v1alpha2.ReadFileResponse) obj; + com.google.cloud.dataform.v1alpha2.ReadFileResponse other = (com.google.cloud.dataform.v1alpha2.ReadFileResponse) obj; - if (!getFileContents().equals(other.getFileContents())) return false; + if (!getFileContents() + .equals(other.getFileContents())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -194,126 +173,117 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.ReadFileResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.ReadFileResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ReadFileResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.ReadFileResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ReadFileResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.ReadFileResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.ReadFileResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.ReadFileResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.ReadFileResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.ReadFileResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.ReadFileResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.ReadFileResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ReadFileResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.ReadFileResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.ReadFileResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `ReadFile` response message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.ReadFileResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.ReadFileResponse) com.google.cloud.dataform.v1alpha2.ReadFileResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ReadFileResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ReadFileResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ReadFileResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ReadFileResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.ReadFileResponse.class, - com.google.cloud.dataform.v1alpha2.ReadFileResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.ReadFileResponse.class, com.google.cloud.dataform.v1alpha2.ReadFileResponse.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.ReadFileResponse.newBuilder() @@ -321,15 +291,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -339,9 +310,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ReadFileResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ReadFileResponse_descriptor; } @java.lang.Override @@ -360,8 +331,7 @@ public com.google.cloud.dataform.v1alpha2.ReadFileResponse build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.ReadFileResponse buildPartial() { - com.google.cloud.dataform.v1alpha2.ReadFileResponse result = - new com.google.cloud.dataform.v1alpha2.ReadFileResponse(this); + com.google.cloud.dataform.v1alpha2.ReadFileResponse result = new com.google.cloud.dataform.v1alpha2.ReadFileResponse(this); result.fileContents_ = fileContents_; onBuilt(); return result; @@ -371,39 +341,38 @@ public com.google.cloud.dataform.v1alpha2.ReadFileResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.ReadFileResponse) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.ReadFileResponse) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.ReadFileResponse)other); } else { super.mergeFrom(other); return this; @@ -411,8 +380,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.ReadFileResponse other) { - if (other == com.google.cloud.dataform.v1alpha2.ReadFileResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataform.v1alpha2.ReadFileResponse.getDefaultInstance()) return this; if (other.getFileContents() != com.google.protobuf.ByteString.EMPTY) { setFileContents(other.getFileContents()); } @@ -435,8 +403,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.ReadFileResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.ReadFileResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -448,14 +415,11 @@ public Builder mergeFrom( private com.google.protobuf.ByteString fileContents_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * The file's contents.
      * 
* * bytes file_contents = 1; - * * @return The fileContents. */ @java.lang.Override @@ -463,46 +427,40 @@ public com.google.protobuf.ByteString getFileContents() { return fileContents_; } /** - * - * *
      * The file's contents.
      * 
* * bytes file_contents = 1; - * * @param value The fileContents to set. * @return This builder for chaining. */ public Builder setFileContents(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + fileContents_ = value; onChanged(); return this; } /** - * - * *
      * The file's contents.
      * 
* * bytes file_contents = 1; - * * @return This builder for chaining. */ public Builder clearFileContents() { - + fileContents_ = getDefaultInstance().getFileContents(); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -512,12 +470,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.ReadFileResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.ReadFileResponse) private static final com.google.cloud.dataform.v1alpha2.ReadFileResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.ReadFileResponse(); } @@ -526,16 +484,16 @@ public static com.google.cloud.dataform.v1alpha2.ReadFileResponse getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadFileResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ReadFileResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadFileResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ReadFileResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -550,4 +508,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.ReadFileResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileResponseOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileResponseOrBuilder.java new file mode 100644 index 0000000..eb8e5ed --- /dev/null +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileResponseOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1alpha2/dataform.proto + +package com.google.cloud.dataform.v1alpha2; + +public interface ReadFileResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.ReadFileResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The file's contents.
+   * 
+ * + * bytes file_contents = 1; + * @return The fileContents. + */ + com.google.protobuf.ByteString getFileContents(); +} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RelationDescriptor.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RelationDescriptor.java similarity index 67% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RelationDescriptor.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RelationDescriptor.java index cff44bb..640e7f5 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RelationDescriptor.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RelationDescriptor.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * Describes a relation and its columns.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.RelationDescriptor} */ -public final class RelationDescriptor extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RelationDescriptor extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.RelationDescriptor) RelationDescriptorOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RelationDescriptor.newBuilder() to construct. private RelationDescriptor(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RelationDescriptor() { description_ = ""; columns_ = java.util.Collections.emptyList(); @@ -44,15 +26,16 @@ private RelationDescriptor() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RelationDescriptor(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RelationDescriptor( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,52 +55,41 @@ private RelationDescriptor( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - columns_ = - new java.util.ArrayList< - com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor>(); - mutable_bitField0_ |= 0x00000001; - } - columns_.add( - input.readMessage( - com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor - .parser(), - extensionRegistry)); - break; + description_ = s; + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + columns_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 26: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - bigqueryLabels_ = - com.google.protobuf.MapField.newMapField( - BigqueryLabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000002; - } - com.google.protobuf.MapEntry bigqueryLabels__ = - input.readMessage( - BigqueryLabelsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - bigqueryLabels_ - .getMutableMap() - .put(bigqueryLabels__.getKey(), bigqueryLabels__.getValue()); - break; + columns_.add( + input.readMessage(com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.parser(), extensionRegistry)); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + bigqueryLabels_ = com.google.protobuf.MapField.newMapField( + BigqueryLabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + com.google.protobuf.MapEntry + bigqueryLabels__ = input.readMessage( + BigqueryLabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + bigqueryLabels_.getMutableMap().put( + bigqueryLabels__.getKey(), bigqueryLabels__.getValue()); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -125,7 +97,8 @@ private RelationDescriptor( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { columns_ = java.util.Collections.unmodifiableList(columns_); @@ -134,188 +107,157 @@ private RelationDescriptor( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 3: return internalGetBigqueryLabels(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.RelationDescriptor.class, - com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder.class); + com.google.cloud.dataform.v1alpha2.RelationDescriptor.class, com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder.class); } - public interface ColumnDescriptorOrBuilder - extends + public interface ColumnDescriptorOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The identifier for the column. Each entry in `path` represents one level
      * of nesting.
      * 
* * repeated string path = 1; - * * @return A list containing the path. */ - java.util.List getPathList(); + java.util.List + getPathList(); /** - * - * *
      * The identifier for the column. Each entry in `path` represents one level
      * of nesting.
      * 
* * repeated string path = 1; - * * @return The count of path. */ int getPathCount(); /** - * - * *
      * The identifier for the column. Each entry in `path` represents one level
      * of nesting.
      * 
* * repeated string path = 1; - * * @param index The index of the element to return. * @return The path at the given index. */ java.lang.String getPath(int index); /** - * - * *
      * The identifier for the column. Each entry in `path` represents one level
      * of nesting.
      * 
* * repeated string path = 1; - * * @param index The index of the value to return. * @return The bytes of the path at the given index. */ - com.google.protobuf.ByteString getPathBytes(int index); + com.google.protobuf.ByteString + getPathBytes(int index); /** - * - * *
      * A textual description of the column.
      * 
* * string description = 2; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
      * A textual description of the column.
      * 
* * string description = 2; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
      * A list of BigQuery policy tags that will be applied to the column.
      * 
* * repeated string bigquery_policy_tags = 3; - * * @return A list containing the bigqueryPolicyTags. */ - java.util.List getBigqueryPolicyTagsList(); + java.util.List + getBigqueryPolicyTagsList(); /** - * - * *
      * A list of BigQuery policy tags that will be applied to the column.
      * 
* * repeated string bigquery_policy_tags = 3; - * * @return The count of bigqueryPolicyTags. */ int getBigqueryPolicyTagsCount(); /** - * - * *
      * A list of BigQuery policy tags that will be applied to the column.
      * 
* * repeated string bigquery_policy_tags = 3; - * * @param index The index of the element to return. * @return The bigqueryPolicyTags at the given index. */ java.lang.String getBigqueryPolicyTags(int index); /** - * - * *
      * A list of BigQuery policy tags that will be applied to the column.
      * 
* * repeated string bigquery_policy_tags = 3; - * * @param index The index of the value to return. * @return The bytes of the bigqueryPolicyTags at the given index. */ - com.google.protobuf.ByteString getBigqueryPolicyTagsBytes(int index); + com.google.protobuf.ByteString + getBigqueryPolicyTagsBytes(int index); } /** - * - * *
    * Describes a column.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor} */ - public static final class ColumnDescriptor extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ColumnDescriptor extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor) ColumnDescriptorOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ColumnDescriptor.newBuilder() to construct. private ColumnDescriptor(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ColumnDescriptor() { path_ = com.google.protobuf.LazyStringArrayList.EMPTY; description_ = ""; @@ -324,15 +266,16 @@ private ColumnDescriptor() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ColumnDescriptor(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ColumnDescriptor( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -352,40 +295,37 @@ private ColumnDescriptor( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - path_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - path_.add(s); - break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + path_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + path_.add(s); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - bigqueryPolicyTags_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - bigqueryPolicyTags_.add(s); - break; + description_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + bigqueryPolicyTags_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + bigqueryPolicyTags_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -393,7 +333,8 @@ private ColumnDescriptor( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { path_ = path_.getUnmodifiableView(); @@ -405,64 +346,53 @@ private ColumnDescriptor( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_ColumnDescriptor_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_ColumnDescriptor_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_ColumnDescriptor_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_ColumnDescriptor_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.class, - com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.Builder.class); + com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.class, com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.Builder.class); } public static final int PATH_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList path_; /** - * - * *
      * The identifier for the column. Each entry in `path` represents one level
      * of nesting.
      * 
* * repeated string path = 1; - * * @return A list containing the path. */ - public com.google.protobuf.ProtocolStringList getPathList() { + public com.google.protobuf.ProtocolStringList + getPathList() { return path_; } /** - * - * *
      * The identifier for the column. Each entry in `path` represents one level
      * of nesting.
      * 
* * repeated string path = 1; - * * @return The count of path. */ public int getPathCount() { return path_.size(); } /** - * - * *
      * The identifier for the column. Each entry in `path` represents one level
      * of nesting.
      * 
* * repeated string path = 1; - * * @param index The index of the element to return. * @return The path at the given index. */ @@ -470,33 +400,28 @@ public java.lang.String getPath(int index) { return path_.get(index); } /** - * - * *
      * The identifier for the column. Each entry in `path` represents one level
      * of nesting.
      * 
* * repeated string path = 1; - * * @param index The index of the value to return. * @return The bytes of the path at the given index. */ - public com.google.protobuf.ByteString getPathBytes(int index) { + public com.google.protobuf.ByteString + getPathBytes(int index) { return path_.getByteString(index); } public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** - * - * *
      * A textual description of the column.
      * 
* * string description = 2; - * * @return The description. */ @java.lang.Override @@ -505,29 +430,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
      * A textual description of the column.
      * 
* * string description = 2; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -538,42 +463,34 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int BIGQUERY_POLICY_TAGS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList bigqueryPolicyTags_; /** - * - * *
      * A list of BigQuery policy tags that will be applied to the column.
      * 
* * repeated string bigquery_policy_tags = 3; - * * @return A list containing the bigqueryPolicyTags. */ - public com.google.protobuf.ProtocolStringList getBigqueryPolicyTagsList() { + public com.google.protobuf.ProtocolStringList + getBigqueryPolicyTagsList() { return bigqueryPolicyTags_; } /** - * - * *
      * A list of BigQuery policy tags that will be applied to the column.
      * 
* * repeated string bigquery_policy_tags = 3; - * * @return The count of bigqueryPolicyTags. */ public int getBigqueryPolicyTagsCount() { return bigqueryPolicyTags_.size(); } /** - * - * *
      * A list of BigQuery policy tags that will be applied to the column.
      * 
* * repeated string bigquery_policy_tags = 3; - * * @param index The index of the element to return. * @return The bigqueryPolicyTags at the given index. */ @@ -581,23 +498,20 @@ public java.lang.String getBigqueryPolicyTags(int index) { return bigqueryPolicyTags_.get(index); } /** - * - * *
      * A list of BigQuery policy tags that will be applied to the column.
      * 
* * repeated string bigquery_policy_tags = 3; - * * @param index The index of the value to return. * @return The bytes of the bigqueryPolicyTags at the given index. */ - public com.google.protobuf.ByteString getBigqueryPolicyTagsBytes(int index) { + public com.google.protobuf.ByteString + getBigqueryPolicyTagsBytes(int index) { return bigqueryPolicyTags_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -609,7 +523,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < path_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, path_.getRaw(i)); } @@ -617,8 +532,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io com.google.protobuf.GeneratedMessageV3.writeString(output, 2, description_); } for (int i = 0; i < bigqueryPolicyTags_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 3, bigqueryPolicyTags_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, bigqueryPolicyTags_.getRaw(i)); } unknownFields.writeTo(output); } @@ -656,18 +570,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor)) { + if (!(obj instanceof com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor other = - (com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor) obj; + com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor other = (com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor) obj; - if (!getPathList().equals(other.getPathList())) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!getBigqueryPolicyTagsList().equals(other.getBigqueryPolicyTagsList())) return false; + if (!getPathList() + .equals(other.getPathList())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getBigqueryPolicyTagsList() + .equals(other.getBigqueryPolicyTagsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -695,95 +610,87 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -793,50 +700,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Describes a column.
      * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor) com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_ColumnDescriptor_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_ColumnDescriptor_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_ColumnDescriptor_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_ColumnDescriptor_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.class, - com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.Builder - .class); + com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.class, com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.Builder.class); } - // Construct using - // com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.newBuilder() + // Construct using com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -850,22 +751,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_ColumnDescriptor_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_ColumnDescriptor_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor - getDefaultInstanceForType() { - return com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor - .getDefaultInstance(); + public com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor getDefaultInstanceForType() { + return com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor build() { - com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor result = - buildPartial(); + com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -874,8 +772,7 @@ public com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor bu @java.lang.Override public com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor buildPartial() { - com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor result = - new com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor(this); + com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor result = new com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { path_ = path_.getUnmodifiableView(); @@ -896,54 +793,46 @@ public com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor bu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor) { - return mergeFrom( - (com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor) other); + if (other instanceof com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor) { + return mergeFrom((com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor other) { - if (other - == com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor other) { + if (other == com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.getDefaultInstance()) return this; if (!other.path_.isEmpty()) { if (path_.isEmpty()) { path_ = other.path_; @@ -987,9 +876,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -998,58 +885,47 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList path_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList path_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensurePathIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { path_ = new com.google.protobuf.LazyStringArrayList(path_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
        * The identifier for the column. Each entry in `path` represents one level
        * of nesting.
        * 
* * repeated string path = 1; - * * @return A list containing the path. */ - public com.google.protobuf.ProtocolStringList getPathList() { + public com.google.protobuf.ProtocolStringList + getPathList() { return path_.getUnmodifiableView(); } /** - * - * *
        * The identifier for the column. Each entry in `path` represents one level
        * of nesting.
        * 
* * repeated string path = 1; - * * @return The count of path. */ public int getPathCount() { return path_.size(); } /** - * - * *
        * The identifier for the column. Each entry in `path` represents one level
        * of nesting.
        * 
* * repeated string path = 1; - * * @param index The index of the element to return. * @return The path at the given index. */ @@ -1057,95 +933,85 @@ public java.lang.String getPath(int index) { return path_.get(index); } /** - * - * *
        * The identifier for the column. Each entry in `path` represents one level
        * of nesting.
        * 
* * repeated string path = 1; - * * @param index The index of the value to return. * @return The bytes of the path at the given index. */ - public com.google.protobuf.ByteString getPathBytes(int index) { + public com.google.protobuf.ByteString + getPathBytes(int index) { return path_.getByteString(index); } /** - * - * *
        * The identifier for the column. Each entry in `path` represents one level
        * of nesting.
        * 
* * repeated string path = 1; - * * @param index The index to set the value at. * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath(int index, java.lang.String value) { + public Builder setPath( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePathIsMutable(); + throw new NullPointerException(); + } + ensurePathIsMutable(); path_.set(index, value); onChanged(); return this; } /** - * - * *
        * The identifier for the column. Each entry in `path` represents one level
        * of nesting.
        * 
* * repeated string path = 1; - * * @param value The path to add. * @return This builder for chaining. */ - public Builder addPath(java.lang.String value) { + public Builder addPath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePathIsMutable(); + throw new NullPointerException(); + } + ensurePathIsMutable(); path_.add(value); onChanged(); return this; } /** - * - * *
        * The identifier for the column. Each entry in `path` represents one level
        * of nesting.
        * 
* * repeated string path = 1; - * * @param values The path to add. * @return This builder for chaining. */ - public Builder addAllPath(java.lang.Iterable values) { + public Builder addAllPath( + java.lang.Iterable values) { ensurePathIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, path_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, path_); onChanged(); return this; } /** - * - * *
        * The identifier for the column. Each entry in `path` represents one level
        * of nesting.
        * 
* * repeated string path = 1; - * * @return This builder for chaining. */ public Builder clearPath() { @@ -1155,23 +1021,21 @@ public Builder clearPath() { return this; } /** - * - * *
        * The identifier for the column. Each entry in `path` represents one level
        * of nesting.
        * 
* * repeated string path = 1; - * * @param value The bytes of the path to add. * @return This builder for chaining. */ - public Builder addPathBytes(com.google.protobuf.ByteString value) { + public Builder addPathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensurePathIsMutable(); path_.add(value); onChanged(); @@ -1180,20 +1044,18 @@ public Builder addPathBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
        * A textual description of the column.
        * 
* * string description = 2; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1202,21 +1064,20 @@ public java.lang.String getDescription() { } } /** - * - * *
        * A textual description of the column.
        * 
* * string description = 2; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -1224,112 +1085,95 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
        * A textual description of the column.
        * 
* * string description = 2; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
        * A textual description of the column.
        * 
* * string description = 2; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
        * A textual description of the column.
        * 
* * string description = 2; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList bigqueryPolicyTags_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList bigqueryPolicyTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureBigqueryPolicyTagsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { bigqueryPolicyTags_ = new com.google.protobuf.LazyStringArrayList(bigqueryPolicyTags_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
        * A list of BigQuery policy tags that will be applied to the column.
        * 
* * repeated string bigquery_policy_tags = 3; - * * @return A list containing the bigqueryPolicyTags. */ - public com.google.protobuf.ProtocolStringList getBigqueryPolicyTagsList() { + public com.google.protobuf.ProtocolStringList + getBigqueryPolicyTagsList() { return bigqueryPolicyTags_.getUnmodifiableView(); } /** - * - * *
        * A list of BigQuery policy tags that will be applied to the column.
        * 
* * repeated string bigquery_policy_tags = 3; - * * @return The count of bigqueryPolicyTags. */ public int getBigqueryPolicyTagsCount() { return bigqueryPolicyTags_.size(); } /** - * - * *
        * A list of BigQuery policy tags that will be applied to the column.
        * 
* * repeated string bigquery_policy_tags = 3; - * * @param index The index of the element to return. * @return The bigqueryPolicyTags at the given index. */ @@ -1337,90 +1181,80 @@ public java.lang.String getBigqueryPolicyTags(int index) { return bigqueryPolicyTags_.get(index); } /** - * - * *
        * A list of BigQuery policy tags that will be applied to the column.
        * 
* * repeated string bigquery_policy_tags = 3; - * * @param index The index of the value to return. * @return The bytes of the bigqueryPolicyTags at the given index. */ - public com.google.protobuf.ByteString getBigqueryPolicyTagsBytes(int index) { + public com.google.protobuf.ByteString + getBigqueryPolicyTagsBytes(int index) { return bigqueryPolicyTags_.getByteString(index); } /** - * - * *
        * A list of BigQuery policy tags that will be applied to the column.
        * 
* * repeated string bigquery_policy_tags = 3; - * * @param index The index to set the value at. * @param value The bigqueryPolicyTags to set. * @return This builder for chaining. */ - public Builder setBigqueryPolicyTags(int index, java.lang.String value) { + public Builder setBigqueryPolicyTags( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureBigqueryPolicyTagsIsMutable(); + throw new NullPointerException(); + } + ensureBigqueryPolicyTagsIsMutable(); bigqueryPolicyTags_.set(index, value); onChanged(); return this; } /** - * - * *
        * A list of BigQuery policy tags that will be applied to the column.
        * 
* * repeated string bigquery_policy_tags = 3; - * * @param value The bigqueryPolicyTags to add. * @return This builder for chaining. */ - public Builder addBigqueryPolicyTags(java.lang.String value) { + public Builder addBigqueryPolicyTags( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureBigqueryPolicyTagsIsMutable(); + throw new NullPointerException(); + } + ensureBigqueryPolicyTagsIsMutable(); bigqueryPolicyTags_.add(value); onChanged(); return this; } /** - * - * *
        * A list of BigQuery policy tags that will be applied to the column.
        * 
* * repeated string bigquery_policy_tags = 3; - * * @param values The bigqueryPolicyTags to add. * @return This builder for chaining. */ - public Builder addAllBigqueryPolicyTags(java.lang.Iterable values) { + public Builder addAllBigqueryPolicyTags( + java.lang.Iterable values) { ensureBigqueryPolicyTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, bigqueryPolicyTags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, bigqueryPolicyTags_); onChanged(); return this; } /** - * - * *
        * A list of BigQuery policy tags that will be applied to the column.
        * 
* * repeated string bigquery_policy_tags = 3; - * * @return This builder for chaining. */ public Builder clearBigqueryPolicyTags() { @@ -1430,28 +1264,25 @@ public Builder clearBigqueryPolicyTags() { return this; } /** - * - * *
        * A list of BigQuery policy tags that will be applied to the column.
        * 
* * repeated string bigquery_policy_tags = 3; - * * @param value The bytes of the bigqueryPolicyTags to add. * @return This builder for chaining. */ - public Builder addBigqueryPolicyTagsBytes(com.google.protobuf.ByteString value) { + public Builder addBigqueryPolicyTagsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureBigqueryPolicyTagsIsMutable(); bigqueryPolicyTags_.add(value); onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1464,33 +1295,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor) - private static final com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor(); + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor(); } - public static com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor - getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ColumnDescriptor parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ColumnDescriptor(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ColumnDescriptor parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ColumnDescriptor(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1502,23 +1330,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor - getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int DESCRIPTION_FIELD_NUMBER = 1; private volatile java.lang.Object description_; /** - * - * *
    * A text description of the relation.
    * 
* * string description = 1; - * * @return The description. */ @java.lang.Override @@ -1527,29 +1352,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * A text description of the relation.
    * 
* * string description = 1; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -1558,101 +1383,81 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } public static final int COLUMNS_FIELD_NUMBER = 2; - private java.util.List - columns_; + private java.util.List columns_; /** - * - * *
    * A list of descriptions of columns within the relation.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; - * + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; */ @java.lang.Override - public java.util.List - getColumnsList() { + public java.util.List getColumnsList() { return columns_; } /** - * - * *
    * A list of descriptions of columns within the relation.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; - * + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; */ @java.lang.Override - public java.util.List< - ? extends com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptorOrBuilder> + public java.util.List getColumnsOrBuilderList() { return columns_; } /** - * - * *
    * A list of descriptions of columns within the relation.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; - * + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; */ @java.lang.Override public int getColumnsCount() { return columns_.size(); } /** - * - * *
    * A list of descriptions of columns within the relation.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; - * + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor getColumns( - int index) { + public com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor getColumns(int index) { return columns_.get(index); } /** - * - * *
    * A list of descriptions of columns within the relation.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; - * + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptorOrBuilder - getColumnsOrBuilder(int index) { + public com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptorOrBuilder getColumnsOrBuilder( + int index) { return columns_.get(index); } public static final int BIGQUERY_LABELS_FIELD_NUMBER = 3; - private static final class BigqueryLabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_BigqueryLabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_BigqueryLabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - - private com.google.protobuf.MapField bigqueryLabels_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> bigqueryLabels_; private com.google.protobuf.MapField - internalGetBigqueryLabels() { + internalGetBigqueryLabels() { if (bigqueryLabels_ == null) { return com.google.protobuf.MapField.emptyMapField( BigqueryLabelsDefaultEntryHolder.defaultEntry); @@ -1664,30 +1469,28 @@ public int getBigqueryLabelsCount() { return internalGetBigqueryLabels().getMap().size(); } /** - * - * *
    * A set of BigQuery labels that should be applied to the relation.
    * 
* * map<string, string> bigquery_labels = 3; */ + @java.lang.Override - public boolean containsBigqueryLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsBigqueryLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetBigqueryLabels().getMap().containsKey(key); } - /** Use {@link #getBigqueryLabelsMap()} instead. */ + /** + * Use {@link #getBigqueryLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getBigqueryLabels() { return getBigqueryLabelsMap(); } /** - * - * *
    * A set of BigQuery labels that should be applied to the relation.
    * 
@@ -1695,12 +1498,11 @@ public java.util.Map getBigqueryLabels() { * map<string, string> bigquery_labels = 3; */ @java.lang.Override + public java.util.Map getBigqueryLabelsMap() { return internalGetBigqueryLabels().getMap(); } /** - * - * *
    * A set of BigQuery labels that should be applied to the relation.
    * 
@@ -1708,17 +1510,16 @@ public java.util.Map getBigqueryLabelsMap() * map<string, string> bigquery_labels = 3; */ @java.lang.Override + public java.lang.String getBigqueryLabelsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetBigqueryLabels().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetBigqueryLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * A set of BigQuery labels that should be applied to the relation.
    * 
@@ -1726,11 +1527,12 @@ public java.lang.String getBigqueryLabelsOrDefault( * map<string, string> bigquery_labels = 3; */ @java.lang.Override - public java.lang.String getBigqueryLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetBigqueryLabels().getMap(); + + public java.lang.String getBigqueryLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetBigqueryLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1738,7 +1540,6 @@ public java.lang.String getBigqueryLabelsOrThrow(java.lang.String key) { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1750,15 +1551,20 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, description_); } for (int i = 0; i < columns_.size(); i++) { output.writeMessage(2, columns_.get(i)); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetBigqueryLabels(), BigqueryLabelsDefaultEntryHolder.defaultEntry, 3); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetBigqueryLabels(), + BigqueryLabelsDefaultEntryHolder.defaultEntry, + 3); unknownFields.writeTo(output); } @@ -1772,17 +1578,18 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, description_); } for (int i = 0; i < columns_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, columns_.get(i)); - } - for (java.util.Map.Entry entry : - internalGetBigqueryLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry bigqueryLabels__ = - BigqueryLabelsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, bigqueryLabels__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, columns_.get(i)); + } + for (java.util.Map.Entry entry + : internalGetBigqueryLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + bigqueryLabels__ = BigqueryLabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, bigqueryLabels__); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1792,17 +1599,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.RelationDescriptor)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.RelationDescriptor other = - (com.google.cloud.dataform.v1alpha2.RelationDescriptor) obj; + com.google.cloud.dataform.v1alpha2.RelationDescriptor other = (com.google.cloud.dataform.v1alpha2.RelationDescriptor) obj; - if (!getDescription().equals(other.getDescription())) return false; - if (!getColumnsList().equals(other.getColumnsList())) return false; - if (!internalGetBigqueryLabels().equals(other.internalGetBigqueryLabels())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getColumnsList() + .equals(other.getColumnsList())) return false; + if (!internalGetBigqueryLabels().equals( + other.internalGetBigqueryLabels())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1830,147 +1639,139 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.RelationDescriptor parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.RelationDescriptor parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.RelationDescriptor parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.RelationDescriptor parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.RelationDescriptor parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.RelationDescriptor parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.RelationDescriptor parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.RelationDescriptor parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.RelationDescriptor parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.RelationDescriptor parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.RelationDescriptor parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.RelationDescriptor parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.RelationDescriptor parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.RelationDescriptor parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.RelationDescriptor prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.RelationDescriptor prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Describes a relation and its columns.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.RelationDescriptor} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.RelationDescriptor) com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 3: return internalGetBigqueryLabels(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 3: return internalGetMutableBigqueryLabels(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.RelationDescriptor.class, - com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder.class); + com.google.cloud.dataform.v1alpha2.RelationDescriptor.class, com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.RelationDescriptor.newBuilder() @@ -1978,17 +1779,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getColumnsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2005,9 +1806,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_descriptor; } @java.lang.Override @@ -2026,8 +1827,7 @@ public com.google.cloud.dataform.v1alpha2.RelationDescriptor build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.RelationDescriptor buildPartial() { - com.google.cloud.dataform.v1alpha2.RelationDescriptor result = - new com.google.cloud.dataform.v1alpha2.RelationDescriptor(this); + com.google.cloud.dataform.v1alpha2.RelationDescriptor result = new com.google.cloud.dataform.v1alpha2.RelationDescriptor(this); int from_bitField0_ = bitField0_; result.description_ = description_; if (columnsBuilder_ == null) { @@ -2049,39 +1849,38 @@ public com.google.cloud.dataform.v1alpha2.RelationDescriptor buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.RelationDescriptor) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.RelationDescriptor) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.RelationDescriptor)other); } else { super.mergeFrom(other); return this; @@ -2089,8 +1888,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.RelationDescriptor other) { - if (other == com.google.cloud.dataform.v1alpha2.RelationDescriptor.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataform.v1alpha2.RelationDescriptor.getDefaultInstance()) return this; if (!other.getDescription().isEmpty()) { description_ = other.description_; onChanged(); @@ -2113,16 +1911,16 @@ public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.RelationDescriptor o columnsBuilder_ = null; columns_ = other.columns_; bitField0_ = (bitField0_ & ~0x00000001); - columnsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getColumnsFieldBuilder() - : null; + columnsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getColumnsFieldBuilder() : null; } else { columnsBuilder_.addAllMessages(other.columns_); } } } - internalGetMutableBigqueryLabels().mergeFrom(other.internalGetBigqueryLabels()); + internalGetMutableBigqueryLabels().mergeFrom( + other.internalGetBigqueryLabels()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -2142,8 +1940,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.RelationDescriptor) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.RelationDescriptor) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2152,25 +1949,22 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object description_ = ""; /** - * - * *
      * A text description of the relation.
      * 
* * string description = 1; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2179,21 +1973,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * A text description of the relation.
      * 
* * string description = 1; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -2201,97 +1994,79 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * A text description of the relation.
      * 
* * string description = 1; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * A text description of the relation.
      * 
* * string description = 1; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * A text description of the relation.
      * 
* * string description = 1; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private java.util.List - columns_ = java.util.Collections.emptyList(); - + private java.util.List columns_ = + java.util.Collections.emptyList(); private void ensureColumnsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - columns_ = - new java.util.ArrayList< - com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor>(columns_); + columns_ = new java.util.ArrayList(columns_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor, - com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.Builder, - com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptorOrBuilder> - columnsBuilder_; + com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor, com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.Builder, com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptorOrBuilder> columnsBuilder_; /** - * - * *
      * A list of descriptions of columns within the relation.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; - * + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; */ - public java.util.List - getColumnsList() { + public java.util.List getColumnsList() { if (columnsBuilder_ == null) { return java.util.Collections.unmodifiableList(columns_); } else { @@ -2299,15 +2074,11 @@ private void ensureColumnsIsMutable() { } } /** - * - * *
      * A list of descriptions of columns within the relation.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; - * + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; */ public int getColumnsCount() { if (columnsBuilder_ == null) { @@ -2317,18 +2088,13 @@ public int getColumnsCount() { } } /** - * - * *
      * A list of descriptions of columns within the relation.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; - * + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; */ - public com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor getColumns( - int index) { + public com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor getColumns(int index) { if (columnsBuilder_ == null) { return columns_.get(index); } else { @@ -2336,15 +2102,11 @@ public com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor ge } } /** - * - * *
      * A list of descriptions of columns within the relation.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; - * + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; */ public Builder setColumns( int index, com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor value) { @@ -2361,20 +2123,14 @@ public Builder setColumns( return this; } /** - * - * *
      * A list of descriptions of columns within the relation.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; - * + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; */ public Builder setColumns( - int index, - com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.Builder - builderForValue) { + int index, com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.Builder builderForValue) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); columns_.set(index, builderForValue.build()); @@ -2385,18 +2141,13 @@ public Builder setColumns( return this; } /** - * - * *
      * A list of descriptions of columns within the relation.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; - * + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; */ - public Builder addColumns( - com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor value) { + public Builder addColumns(com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor value) { if (columnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2410,15 +2161,11 @@ public Builder addColumns( return this; } /** - * - * *
      * A list of descriptions of columns within the relation.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; - * + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; */ public Builder addColumns( int index, com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor value) { @@ -2435,19 +2182,14 @@ public Builder addColumns( return this; } /** - * - * *
      * A list of descriptions of columns within the relation.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; - * + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; */ public Builder addColumns( - com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.Builder - builderForValue) { + com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.Builder builderForValue) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); columns_.add(builderForValue.build()); @@ -2458,20 +2200,14 @@ public Builder addColumns( return this; } /** - * - * *
      * A list of descriptions of columns within the relation.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; - * + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; */ public Builder addColumns( - int index, - com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.Builder - builderForValue) { + int index, com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.Builder builderForValue) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); columns_.add(index, builderForValue.build()); @@ -2482,23 +2218,18 @@ public Builder addColumns( return this; } /** - * - * *
      * A list of descriptions of columns within the relation.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; - * + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; */ public Builder addAllColumns( - java.lang.Iterable< - ? extends com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor> - values) { + java.lang.Iterable values) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, columns_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, columns_); onChanged(); } else { columnsBuilder_.addAllMessages(values); @@ -2506,15 +2237,11 @@ public Builder addAllColumns( return this; } /** - * - * *
      * A list of descriptions of columns within the relation.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; - * + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; */ public Builder clearColumns() { if (columnsBuilder_ == null) { @@ -2527,15 +2254,11 @@ public Builder clearColumns() { return this; } /** - * - * *
      * A list of descriptions of columns within the relation.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; - * + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; */ public Builder removeColumns(int index) { if (columnsBuilder_ == null) { @@ -2548,54 +2271,39 @@ public Builder removeColumns(int index) { return this; } /** - * - * *
      * A list of descriptions of columns within the relation.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; - * + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; */ - public com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.Builder - getColumnsBuilder(int index) { + public com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.Builder getColumnsBuilder( + int index) { return getColumnsFieldBuilder().getBuilder(index); } /** - * - * *
      * A list of descriptions of columns within the relation.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; - * + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; */ - public com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptorOrBuilder - getColumnsOrBuilder(int index) { + public com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptorOrBuilder getColumnsOrBuilder( + int index) { if (columnsBuilder_ == null) { - return columns_.get(index); - } else { + return columns_.get(index); } else { return columnsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * A list of descriptions of columns within the relation.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; - * + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; */ - public java.util.List< - ? extends - com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptorOrBuilder> - getColumnsOrBuilderList() { + public java.util.List + getColumnsOrBuilderList() { if (columnsBuilder_ != null) { return columnsBuilder_.getMessageOrBuilderList(); } else { @@ -2603,94 +2311,70 @@ public Builder removeColumns(int index) { } } /** - * - * *
      * A list of descriptions of columns within the relation.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; - * + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; */ - public com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.Builder - addColumnsBuilder() { - return getColumnsFieldBuilder() - .addBuilder( - com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor - .getDefaultInstance()); + public com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.Builder addColumnsBuilder() { + return getColumnsFieldBuilder().addBuilder( + com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.getDefaultInstance()); } /** - * - * *
      * A list of descriptions of columns within the relation.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; - * + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; */ - public com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.Builder - addColumnsBuilder(int index) { - return getColumnsFieldBuilder() - .addBuilder( - index, - com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor - .getDefaultInstance()); + public com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.Builder addColumnsBuilder( + int index) { + return getColumnsFieldBuilder().addBuilder( + index, com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.getDefaultInstance()); } /** - * - * *
      * A list of descriptions of columns within the relation.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; - * + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; */ - public java.util.List< - com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.Builder> - getColumnsBuilderList() { + public java.util.List + getColumnsBuilderList() { return getColumnsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor, - com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.Builder, - com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptorOrBuilder> + com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor, com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.Builder, com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptorOrBuilder> getColumnsFieldBuilder() { if (columnsBuilder_ == null) { - columnsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor, - com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.Builder, - com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptorOrBuilder>( - columns_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + columnsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor, com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.Builder, com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptorOrBuilder>( + columns_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); columns_ = null; } return columnsBuilder_; } - private com.google.protobuf.MapField bigqueryLabels_; - + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> bigqueryLabels_; private com.google.protobuf.MapField - internalGetBigqueryLabels() { + internalGetBigqueryLabels() { if (bigqueryLabels_ == null) { return com.google.protobuf.MapField.emptyMapField( BigqueryLabelsDefaultEntryHolder.defaultEntry); } return bigqueryLabels_; } - private com.google.protobuf.MapField - internalGetMutableBigqueryLabels() { - onChanged(); - ; + internalGetMutableBigqueryLabels() { + onChanged();; if (bigqueryLabels_ == null) { - bigqueryLabels_ = - com.google.protobuf.MapField.newMapField(BigqueryLabelsDefaultEntryHolder.defaultEntry); + bigqueryLabels_ = com.google.protobuf.MapField.newMapField( + BigqueryLabelsDefaultEntryHolder.defaultEntry); } if (!bigqueryLabels_.isMutable()) { bigqueryLabels_ = bigqueryLabels_.copy(); @@ -2702,30 +2386,28 @@ public int getBigqueryLabelsCount() { return internalGetBigqueryLabels().getMap().size(); } /** - * - * *
      * A set of BigQuery labels that should be applied to the relation.
      * 
* * map<string, string> bigquery_labels = 3; */ + @java.lang.Override - public boolean containsBigqueryLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsBigqueryLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetBigqueryLabels().getMap().containsKey(key); } - /** Use {@link #getBigqueryLabelsMap()} instead. */ + /** + * Use {@link #getBigqueryLabelsMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getBigqueryLabels() { return getBigqueryLabelsMap(); } /** - * - * *
      * A set of BigQuery labels that should be applied to the relation.
      * 
@@ -2733,12 +2415,11 @@ public java.util.Map getBigqueryLabels() { * map<string, string> bigquery_labels = 3; */ @java.lang.Override + public java.util.Map getBigqueryLabelsMap() { return internalGetBigqueryLabels().getMap(); } /** - * - * *
      * A set of BigQuery labels that should be applied to the relation.
      * 
@@ -2746,17 +2427,16 @@ public java.util.Map getBigqueryLabelsMap() * map<string, string> bigquery_labels = 3; */ @java.lang.Override + public java.lang.String getBigqueryLabelsOrDefault( - java.lang.String key, java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetBigqueryLabels().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetBigqueryLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * A set of BigQuery labels that should be applied to the relation.
      * 
@@ -2764,11 +2444,12 @@ public java.lang.String getBigqueryLabelsOrDefault( * map<string, string> bigquery_labels = 3; */ @java.lang.Override - public java.lang.String getBigqueryLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetBigqueryLabels().getMap(); + + public java.lang.String getBigqueryLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetBigqueryLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -2776,66 +2457,69 @@ public java.lang.String getBigqueryLabelsOrThrow(java.lang.String key) { } public Builder clearBigqueryLabels() { - internalGetMutableBigqueryLabels().getMutableMap().clear(); + internalGetMutableBigqueryLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * A set of BigQuery labels that should be applied to the relation.
      * 
* * map<string, string> bigquery_labels = 3; */ - public Builder removeBigqueryLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableBigqueryLabels().getMutableMap().remove(key); + + public Builder removeBigqueryLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableBigqueryLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableBigqueryLabels() { + public java.util.Map + getMutableBigqueryLabels() { return internalGetMutableBigqueryLabels().getMutableMap(); } /** - * - * *
      * A set of BigQuery labels that should be applied to the relation.
      * 
* * map<string, string> bigquery_labels = 3; */ - public Builder putBigqueryLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } + public Builder putBigqueryLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } if (value == null) { - throw new NullPointerException("map value"); - } + throw new NullPointerException("map value"); +} - internalGetMutableBigqueryLabels().getMutableMap().put(key, value); + internalGetMutableBigqueryLabels().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * A set of BigQuery labels that should be applied to the relation.
      * 
* * map<string, string> bigquery_labels = 3; */ - public Builder putAllBigqueryLabels(java.util.Map values) { - internalGetMutableBigqueryLabels().getMutableMap().putAll(values); + + public Builder putAllBigqueryLabels( + java.util.Map values) { + internalGetMutableBigqueryLabels().getMutableMap() + .putAll(values); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2845,12 +2529,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.RelationDescriptor) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.RelationDescriptor) private static final com.google.cloud.dataform.v1alpha2.RelationDescriptor DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.RelationDescriptor(); } @@ -2859,16 +2543,16 @@ public static com.google.cloud.dataform.v1alpha2.RelationDescriptor getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RelationDescriptor parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RelationDescriptor(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RelationDescriptor parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RelationDescriptor(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2883,4 +2567,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.RelationDescriptor getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RelationDescriptorOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RelationDescriptorOrBuilder.java similarity index 62% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RelationDescriptorOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RelationDescriptorOrBuilder.java index 866bac0..e3735b1 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RelationDescriptorOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RelationDescriptorOrBuilder.java @@ -1,116 +1,77 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface RelationDescriptorOrBuilder - extends +public interface RelationDescriptorOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.RelationDescriptor) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A text description of the relation.
    * 
* * string description = 1; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * A text description of the relation.
    * 
* * string description = 1; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * A list of descriptions of columns within the relation.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; - * + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; */ - java.util.List + java.util.List getColumnsList(); /** - * - * *
    * A list of descriptions of columns within the relation.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; - * + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; */ com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor getColumns(int index); /** - * - * *
    * A list of descriptions of columns within the relation.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; - * + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; */ int getColumnsCount(); /** - * - * *
    * A list of descriptions of columns within the relation.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; - * + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; */ - java.util.List< - ? extends com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptorOrBuilder> + java.util.List getColumnsOrBuilderList(); /** - * - * *
    * A list of descriptions of columns within the relation.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; - * + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; */ - com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptorOrBuilder - getColumnsOrBuilder(int index); + com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptorOrBuilder getColumnsOrBuilder( + int index); /** - * - * *
    * A set of BigQuery labels that should be applied to the relation.
    * 
@@ -119,31 +80,30 @@ public interface RelationDescriptorOrBuilder */ int getBigqueryLabelsCount(); /** - * - * *
    * A set of BigQuery labels that should be applied to the relation.
    * 
* * map<string, string> bigquery_labels = 3; */ - boolean containsBigqueryLabels(java.lang.String key); - /** Use {@link #getBigqueryLabelsMap()} instead. */ + boolean containsBigqueryLabels( + java.lang.String key); + /** + * Use {@link #getBigqueryLabelsMap()} instead. + */ @java.lang.Deprecated - java.util.Map getBigqueryLabels(); + java.util.Map + getBigqueryLabels(); /** - * - * *
    * A set of BigQuery labels that should be applied to the relation.
    * 
* * map<string, string> bigquery_labels = 3; */ - java.util.Map getBigqueryLabelsMap(); + java.util.Map + getBigqueryLabelsMap(); /** - * - * *
    * A set of BigQuery labels that should be applied to the relation.
    * 
@@ -152,18 +112,18 @@ public interface RelationDescriptorOrBuilder */ /* nullable */ - java.lang.String getBigqueryLabelsOrDefault( +java.lang.String getBigqueryLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * A set of BigQuery labels that should be applied to the relation.
    * 
* * map<string, string> bigquery_labels = 3; */ - java.lang.String getBigqueryLabelsOrThrow(java.lang.String key); + + java.lang.String getBigqueryLabelsOrThrow( + java.lang.String key); } diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveDirectoryRequest.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveDirectoryRequest.java similarity index 66% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveDirectoryRequest.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveDirectoryRequest.java index d466b60..2c2aa11 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveDirectoryRequest.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveDirectoryRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * `RemoveDirectory` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.RemoveDirectoryRequest} */ -public final class RemoveDirectoryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RemoveDirectoryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.RemoveDirectoryRequest) RemoveDirectoryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RemoveDirectoryRequest.newBuilder() to construct. private RemoveDirectoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RemoveDirectoryRequest() { workspace_ = ""; path_ = ""; @@ -44,15 +26,16 @@ private RemoveDirectoryRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RemoveDirectoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RemoveDirectoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private RemoveDirectoryRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - workspace_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + workspace_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - path_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + path_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,41 +80,34 @@ private RemoveDirectoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_RemoveDirectoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_RemoveDirectoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_RemoveDirectoryRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_RemoveDirectoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest.class, - com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest.class, com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest.Builder.class); } public static final int WORKSPACE_FIELD_NUMBER = 1; private volatile java.lang.Object workspace_; /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The workspace. */ @java.lang.Override @@ -142,31 +116,29 @@ public java.lang.String getWorkspace() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; } } /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for workspace. */ @java.lang.Override - public com.google.protobuf.ByteString getWorkspaceBytes() { + public com.google.protobuf.ByteString + getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); workspace_ = b; return b; } else { @@ -177,15 +149,12 @@ public com.google.protobuf.ByteString getWorkspaceBytes() { public static final int PATH_FIELD_NUMBER = 2; private volatile java.lang.Object path_; /** - * - * *
    * Required. The directory's full path including directory name, relative to the
    * workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The path. */ @java.lang.Override @@ -194,30 +163,30 @@ public java.lang.String getPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } } /** - * - * *
    * Required. The directory's full path including directory name, relative to the
    * workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for path. */ @java.lang.Override - public com.google.protobuf.ByteString getPathBytes() { + public com.google.protobuf.ByteString + getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); path_ = b; return b; } else { @@ -226,7 +195,6 @@ public com.google.protobuf.ByteString getPathBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -238,7 +206,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workspace_); } @@ -268,16 +237,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest other = - (com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest) obj; + com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest other = (com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest) obj; - if (!getWorkspace().equals(other.getWorkspace())) return false; - if (!getPath().equals(other.getPath())) return false; + if (!getWorkspace() + .equals(other.getWorkspace())) return false; + if (!getPath() + .equals(other.getPath())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -299,127 +269,117 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `RemoveDirectory` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.RemoveDirectoryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.RemoveDirectoryRequest) com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_RemoveDirectoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_RemoveDirectoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_RemoveDirectoryRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_RemoveDirectoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest.class, - com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest.class, com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest.newBuilder() @@ -427,15 +387,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -447,9 +408,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_RemoveDirectoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_RemoveDirectoryRequest_descriptor; } @java.lang.Override @@ -468,8 +429,7 @@ public com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest result = - new com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest(this); + com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest result = new com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest(this); result.workspace_ = workspace_; result.path_ = path_; onBuilt(); @@ -480,39 +440,38 @@ public com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest)other); } else { super.mergeFrom(other); return this; @@ -520,8 +479,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest.getDefaultInstance()) return this; if (!other.getWorkspace().isEmpty()) { workspace_ = other.workspace_; onChanged(); @@ -549,8 +507,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -562,22 +519,18 @@ public Builder mergeFrom( private java.lang.Object workspace_ = ""; /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The workspace. */ public java.lang.String getWorkspace() { java.lang.Object ref = workspace_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; @@ -586,23 +539,20 @@ public java.lang.String getWorkspace() { } } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for workspace. */ - public com.google.protobuf.ByteString getWorkspaceBytes() { + public com.google.protobuf.ByteString + getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); workspace_ = b; return b; } else { @@ -610,67 +560,54 @@ public com.google.protobuf.ByteString getWorkspaceBytes() { } } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The workspace to set. * @return This builder for chaining. */ - public Builder setWorkspace(java.lang.String value) { + public Builder setWorkspace( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + workspace_ = value; onChanged(); return this; } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearWorkspace() { - + workspace_ = getDefaultInstance().getWorkspace(); onChanged(); return this; } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for workspace to set. * @return This builder for chaining. */ - public Builder setWorkspaceBytes(com.google.protobuf.ByteString value) { + public Builder setWorkspaceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workspace_ = value; onChanged(); return this; @@ -678,21 +615,19 @@ public Builder setWorkspaceBytes(com.google.protobuf.ByteString value) { private java.lang.Object path_ = ""; /** - * - * *
      * Required. The directory's full path including directory name, relative to the
      * workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; @@ -701,22 +636,21 @@ public java.lang.String getPath() { } } /** - * - * *
      * Required. The directory's full path including directory name, relative to the
      * workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for path. */ - public com.google.protobuf.ByteString getPathBytes() { + public com.google.protobuf.ByteString + getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); path_ = b; return b; } else { @@ -724,71 +658,64 @@ public com.google.protobuf.ByteString getPathBytes() { } } /** - * - * *
      * Required. The directory's full path including directory name, relative to the
      * workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath(java.lang.String value) { + public Builder setPath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + path_ = value; onChanged(); return this; } /** - * - * *
      * Required. The directory's full path including directory name, relative to the
      * workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearPath() { - + path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** - * - * *
      * Required. The directory's full path including directory name, relative to the
      * workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes(com.google.protobuf.ByteString value) { + public Builder setPathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -798,12 +725,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.RemoveDirectoryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.RemoveDirectoryRequest) private static final com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest(); } @@ -812,16 +739,16 @@ public static com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RemoveDirectoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RemoveDirectoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RemoveDirectoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RemoveDirectoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -836,4 +763,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveDirectoryRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveDirectoryRequestOrBuilder.java similarity index 50% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveDirectoryRequestOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveDirectoryRequestOrBuilder.java index de79ad8..c401712 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveDirectoryRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveDirectoryRequestOrBuilder.java @@ -1,81 +1,51 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface RemoveDirectoryRequestOrBuilder - extends +public interface RemoveDirectoryRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.RemoveDirectoryRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The workspace. */ java.lang.String getWorkspace(); /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for workspace. */ - com.google.protobuf.ByteString getWorkspaceBytes(); + com.google.protobuf.ByteString + getWorkspaceBytes(); /** - * - * *
    * Required. The directory's full path including directory name, relative to the
    * workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The path. */ java.lang.String getPath(); /** - * - * *
    * Required. The directory's full path including directory name, relative to the
    * workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for path. */ - com.google.protobuf.ByteString getPathBytes(); + com.google.protobuf.ByteString + getPathBytes(); } diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveFileRequest.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveFileRequest.java similarity index 66% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveFileRequest.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveFileRequest.java index 49d542d..fb309ba 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveFileRequest.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveFileRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * `RemoveFile` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.RemoveFileRequest} */ -public final class RemoveFileRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RemoveFileRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.RemoveFileRequest) RemoveFileRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RemoveFileRequest.newBuilder() to construct. private RemoveFileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RemoveFileRequest() { workspace_ = ""; path_ = ""; @@ -44,15 +26,16 @@ private RemoveFileRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RemoveFileRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private RemoveFileRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private RemoveFileRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - workspace_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + workspace_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - path_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + path_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,41 +80,34 @@ private RemoveFileRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_RemoveFileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_RemoveFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_RemoveFileRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_RemoveFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.RemoveFileRequest.class, - com.google.cloud.dataform.v1alpha2.RemoveFileRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.RemoveFileRequest.class, com.google.cloud.dataform.v1alpha2.RemoveFileRequest.Builder.class); } public static final int WORKSPACE_FIELD_NUMBER = 1; private volatile java.lang.Object workspace_; /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The workspace. */ @java.lang.Override @@ -142,31 +116,29 @@ public java.lang.String getWorkspace() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; } } /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for workspace. */ @java.lang.Override - public com.google.protobuf.ByteString getWorkspaceBytes() { + public com.google.protobuf.ByteString + getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); workspace_ = b; return b; } else { @@ -177,14 +149,11 @@ public com.google.protobuf.ByteString getWorkspaceBytes() { public static final int PATH_FIELD_NUMBER = 2; private volatile java.lang.Object path_; /** - * - * *
    * Required. The file's full path including filename, relative to the workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The path. */ @java.lang.Override @@ -193,29 +162,29 @@ public java.lang.String getPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } } /** - * - * *
    * Required. The file's full path including filename, relative to the workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for path. */ @java.lang.Override - public com.google.protobuf.ByteString getPathBytes() { + public com.google.protobuf.ByteString + getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); path_ = b; return b; } else { @@ -224,7 +193,6 @@ public com.google.protobuf.ByteString getPathBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -236,7 +204,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workspace_); } @@ -266,16 +235,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.RemoveFileRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.RemoveFileRequest other = - (com.google.cloud.dataform.v1alpha2.RemoveFileRequest) obj; + com.google.cloud.dataform.v1alpha2.RemoveFileRequest other = (com.google.cloud.dataform.v1alpha2.RemoveFileRequest) obj; - if (!getWorkspace().equals(other.getWorkspace())) return false; - if (!getPath().equals(other.getPath())) return false; + if (!getWorkspace() + .equals(other.getWorkspace())) return false; + if (!getPath() + .equals(other.getPath())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -297,126 +267,117 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.RemoveFileRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.RemoveFileRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.RemoveFileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.RemoveFileRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.RemoveFileRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.RemoveFileRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.RemoveFileRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.RemoveFileRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.RemoveFileRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.RemoveFileRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.RemoveFileRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.RemoveFileRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.RemoveFileRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.RemoveFileRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.RemoveFileRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `RemoveFile` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.RemoveFileRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.RemoveFileRequest) com.google.cloud.dataform.v1alpha2.RemoveFileRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_RemoveFileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_RemoveFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_RemoveFileRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_RemoveFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.RemoveFileRequest.class, - com.google.cloud.dataform.v1alpha2.RemoveFileRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.RemoveFileRequest.class, com.google.cloud.dataform.v1alpha2.RemoveFileRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.RemoveFileRequest.newBuilder() @@ -424,15 +385,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -444,9 +406,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_RemoveFileRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_RemoveFileRequest_descriptor; } @java.lang.Override @@ -465,8 +427,7 @@ public com.google.cloud.dataform.v1alpha2.RemoveFileRequest build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.RemoveFileRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.RemoveFileRequest result = - new com.google.cloud.dataform.v1alpha2.RemoveFileRequest(this); + com.google.cloud.dataform.v1alpha2.RemoveFileRequest result = new com.google.cloud.dataform.v1alpha2.RemoveFileRequest(this); result.workspace_ = workspace_; result.path_ = path_; onBuilt(); @@ -477,39 +438,38 @@ public com.google.cloud.dataform.v1alpha2.RemoveFileRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.RemoveFileRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.RemoveFileRequest) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.RemoveFileRequest)other); } else { super.mergeFrom(other); return this; @@ -517,8 +477,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.RemoveFileRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.RemoveFileRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataform.v1alpha2.RemoveFileRequest.getDefaultInstance()) return this; if (!other.getWorkspace().isEmpty()) { workspace_ = other.workspace_; onChanged(); @@ -546,8 +505,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.RemoveFileRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.RemoveFileRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -559,22 +517,18 @@ public Builder mergeFrom( private java.lang.Object workspace_ = ""; /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The workspace. */ public java.lang.String getWorkspace() { java.lang.Object ref = workspace_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; @@ -583,23 +537,20 @@ public java.lang.String getWorkspace() { } } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for workspace. */ - public com.google.protobuf.ByteString getWorkspaceBytes() { + public com.google.protobuf.ByteString + getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); workspace_ = b; return b; } else { @@ -607,67 +558,54 @@ public com.google.protobuf.ByteString getWorkspaceBytes() { } } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The workspace to set. * @return This builder for chaining. */ - public Builder setWorkspace(java.lang.String value) { + public Builder setWorkspace( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + workspace_ = value; onChanged(); return this; } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearWorkspace() { - + workspace_ = getDefaultInstance().getWorkspace(); onChanged(); return this; } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for workspace to set. * @return This builder for chaining. */ - public Builder setWorkspaceBytes(com.google.protobuf.ByteString value) { + public Builder setWorkspaceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workspace_ = value; onChanged(); return this; @@ -675,20 +613,18 @@ public Builder setWorkspaceBytes(com.google.protobuf.ByteString value) { private java.lang.Object path_ = ""; /** - * - * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; @@ -697,21 +633,20 @@ public java.lang.String getPath() { } } /** - * - * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for path. */ - public com.google.protobuf.ByteString getPathBytes() { + public com.google.protobuf.ByteString + getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); path_ = b; return b; } else { @@ -719,68 +654,61 @@ public com.google.protobuf.ByteString getPathBytes() { } } /** - * - * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath(java.lang.String value) { + public Builder setPath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + path_ = value; onChanged(); return this; } /** - * - * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearPath() { - + path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** - * - * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes(com.google.protobuf.ByteString value) { + public Builder setPathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -790,12 +718,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.RemoveFileRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.RemoveFileRequest) private static final com.google.cloud.dataform.v1alpha2.RemoveFileRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.RemoveFileRequest(); } @@ -804,16 +732,16 @@ public static com.google.cloud.dataform.v1alpha2.RemoveFileRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RemoveFileRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RemoveFileRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RemoveFileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RemoveFileRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -828,4 +756,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.RemoveFileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveFileRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveFileRequestOrBuilder.java new file mode 100644 index 0000000..d254469 --- /dev/null +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveFileRequestOrBuilder.java @@ -0,0 +1,49 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1alpha2/dataform.proto + +package com.google.cloud.dataform.v1alpha2; + +public interface RemoveFileRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.RemoveFileRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The workspace. + */ + java.lang.String getWorkspace(); + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for workspace. + */ + com.google.protobuf.ByteString + getWorkspaceBytes(); + + /** + *
+   * Required. The file's full path including filename, relative to the workspace root.
+   * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The path. + */ + java.lang.String getPath(); + /** + *
+   * Required. The file's full path including filename, relative to the workspace root.
+   * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for path. + */ + com.google.protobuf.ByteString + getPathBytes(); +} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/Repository.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/Repository.java similarity index 66% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/Repository.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/Repository.java index c1cf7dd..e6c8c02 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/Repository.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/Repository.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * Represents a Dataform Git repository.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.Repository} */ -public final class Repository extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Repository extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.Repository) RepositoryOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Repository.newBuilder() to construct. private Repository(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Repository() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Repository(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Repository( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,38 +53,32 @@ private Repository( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 18: { + com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.Builder subBuilder = null; + if (gitRemoteSettings_ != null) { + subBuilder = gitRemoteSettings_.toBuilder(); } - case 18: - { - com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.Builder subBuilder = - null; - if (gitRemoteSettings_ != null) { - subBuilder = gitRemoteSettings_.toBuilder(); - } - gitRemoteSettings_ = - input.readMessage( - com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(gitRemoteSettings_); - gitRemoteSettings_ = subBuilder.buildPartial(); - } - - break; + gitRemoteSettings_ = input.readMessage(com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(gitRemoteSettings_); + gitRemoteSettings_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -109,164 +86,129 @@ private Repository( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_Repository_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_Repository_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_Repository_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_Repository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.Repository.class, - com.google.cloud.dataform.v1alpha2.Repository.Builder.class); + com.google.cloud.dataform.v1alpha2.Repository.class, com.google.cloud.dataform.v1alpha2.Repository.Builder.class); } - public interface GitRemoteSettingsOrBuilder - extends + public interface GitRemoteSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Required. The Git remote's URL.
      * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The url. */ java.lang.String getUrl(); /** - * - * *
      * Required. The Git remote's URL.
      * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for url. */ - com.google.protobuf.ByteString getUrlBytes(); + com.google.protobuf.ByteString + getUrlBytes(); /** - * - * *
      * Required. The Git remote's default branch name.
      * 
* * string default_branch = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The defaultBranch. */ java.lang.String getDefaultBranch(); /** - * - * *
      * Required. The Git remote's default branch name.
      * 
* * string default_branch = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for defaultBranch. */ - com.google.protobuf.ByteString getDefaultBranchBytes(); + com.google.protobuf.ByteString + getDefaultBranchBytes(); /** - * - * *
      * Required. The name of the Secret Manager secret version to use as an
      * authentication token for Git operations. Must be in the format
      * `projects/*/secrets/*/versions/*`.
      * 
* - * - * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The authenticationTokenSecretVersion. */ java.lang.String getAuthenticationTokenSecretVersion(); /** - * - * *
      * Required. The name of the Secret Manager secret version to use as an
      * authentication token for Git operations. Must be in the format
      * `projects/*/secrets/*/versions/*`.
      * 
* - * - * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for authenticationTokenSecretVersion. */ - com.google.protobuf.ByteString getAuthenticationTokenSecretVersionBytes(); + com.google.protobuf.ByteString + getAuthenticationTokenSecretVersionBytes(); /** - * - * *
      * Output only. Indicates the status of the Git access token.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for tokenStatus. */ int getTokenStatusValue(); /** - * - * *
      * Output only. Indicates the status of the Git access token.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The tokenStatus. */ com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus getTokenStatus(); } /** - * - * *
    * Controls Git remote configuration for a repository.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings} */ - public static final class GitRemoteSettings extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class GitRemoteSettings extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings) GitRemoteSettingsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GitRemoteSettings.newBuilder() to construct. private GitRemoteSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GitRemoteSettings() { url_ = ""; defaultBranch_ = ""; @@ -276,15 +218,16 @@ private GitRemoteSettings() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GitRemoteSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GitRemoteSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -303,41 +246,37 @@ private GitRemoteSettings( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - url_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + url_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - defaultBranch_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + defaultBranch_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - authenticationTokenSecretVersion_ = s; - break; - } - case 32: - { - int rawValue = input.readEnum(); + authenticationTokenSecretVersion_ = s; + break; + } + case 32: { + int rawValue = input.readEnum(); - tokenStatus_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + tokenStatus_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -345,41 +284,36 @@ private GitRemoteSettings( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_Repository_GitRemoteSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_Repository_GitRemoteSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_Repository_GitRemoteSettings_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_Repository_GitRemoteSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.class, - com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.Builder.class); + com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.class, com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.Builder.class); } /** - * - * *
      * Indicates the status of a Git authentication token.
      * 
* * Protobuf enum {@code google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus} */ - public enum TokenStatus implements com.google.protobuf.ProtocolMessageEnum { + public enum TokenStatus + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * Default value. This value is unused.
        * 
@@ -388,8 +322,6 @@ public enum TokenStatus implements com.google.protobuf.ProtocolMessageEnum { */ TOKEN_STATUS_UNSPECIFIED(0), /** - * - * *
        * The token could not be found in Secret Manager (or the Dataform
        * Service Account did not have permission to access it).
@@ -399,8 +331,6 @@ public enum TokenStatus implements com.google.protobuf.ProtocolMessageEnum {
        */
       NOT_FOUND(1),
       /**
-       *
-       *
        * 
        * The token could not be used to authenticate against the Git remote.
        * 
@@ -409,8 +339,6 @@ public enum TokenStatus implements com.google.protobuf.ProtocolMessageEnum { */ INVALID(2), /** - * - * *
        * The token was used successfully to authenticate against the Git remote.
        * 
@@ -422,8 +350,6 @@ public enum TokenStatus implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * Default value. This value is unused.
        * 
@@ -432,8 +358,6 @@ public enum TokenStatus implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TOKEN_STATUS_UNSPECIFIED_VALUE = 0; /** - * - * *
        * The token could not be found in Secret Manager (or the Dataform
        * Service Account did not have permission to access it).
@@ -443,8 +367,6 @@ public enum TokenStatus implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int NOT_FOUND_VALUE = 1;
       /**
-       *
-       *
        * 
        * The token could not be used to authenticate against the Git remote.
        * 
@@ -453,8 +375,6 @@ public enum TokenStatus implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INVALID_VALUE = 2; /** - * - * *
        * The token was used successfully to authenticate against the Git remote.
        * 
@@ -463,6 +383,7 @@ public enum TokenStatus implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VALID_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -487,53 +408,50 @@ public static TokenStatus valueOf(int value) { */ public static TokenStatus forNumber(int value) { switch (value) { - case 0: - return TOKEN_STATUS_UNSPECIFIED; - case 1: - return NOT_FOUND; - case 2: - return INVALID; - case 3: - return VALID; - default: - return null; + case 0: return TOKEN_STATUS_UNSPECIFIED; + case 1: return NOT_FOUND; + case 2: return INVALID; + case 3: return VALID; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + TokenStatus> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public TokenStatus findValueByNumber(int number) { + return TokenStatus.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public TokenStatus findValueByNumber(int number) { - return TokenStatus.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.getDescriptor().getEnumTypes().get(0); } private static final TokenStatus[] VALUES = values(); - public static TokenStatus valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static TokenStatus valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -553,14 +471,11 @@ private TokenStatus(int value) { public static final int URL_FIELD_NUMBER = 1; private volatile java.lang.Object url_; /** - * - * *
      * Required. The Git remote's URL.
      * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The url. */ @java.lang.Override @@ -569,29 +484,29 @@ public java.lang.String getUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); url_ = s; return s; } } /** - * - * *
      * Required. The Git remote's URL.
      * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for url. */ @java.lang.Override - public com.google.protobuf.ByteString getUrlBytes() { + public com.google.protobuf.ByteString + getUrlBytes() { java.lang.Object ref = url_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); url_ = b; return b; } else { @@ -602,14 +517,11 @@ public com.google.protobuf.ByteString getUrlBytes() { public static final int DEFAULT_BRANCH_FIELD_NUMBER = 2; private volatile java.lang.Object defaultBranch_; /** - * - * *
      * Required. The Git remote's default branch name.
      * 
* * string default_branch = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The defaultBranch. */ @java.lang.Override @@ -618,29 +530,29 @@ public java.lang.String getDefaultBranch() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultBranch_ = s; return s; } } /** - * - * *
      * Required. The Git remote's default branch name.
      * 
* * string default_branch = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for defaultBranch. */ @java.lang.Override - public com.google.protobuf.ByteString getDefaultBranchBytes() { + public com.google.protobuf.ByteString + getDefaultBranchBytes() { java.lang.Object ref = defaultBranch_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); defaultBranch_ = b; return b; } else { @@ -651,18 +563,13 @@ public com.google.protobuf.ByteString getDefaultBranchBytes() { public static final int AUTHENTICATION_TOKEN_SECRET_VERSION_FIELD_NUMBER = 3; private volatile java.lang.Object authenticationTokenSecretVersion_; /** - * - * *
      * Required. The name of the Secret Manager secret version to use as an
      * authentication token for Git operations. Must be in the format
      * `projects/*/secrets/*/versions/*`.
      * 
* - * - * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The authenticationTokenSecretVersion. */ @java.lang.Override @@ -671,33 +578,31 @@ public java.lang.String getAuthenticationTokenSecretVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); authenticationTokenSecretVersion_ = s; return s; } } /** - * - * *
      * Required. The name of the Secret Manager secret version to use as an
      * authentication token for Git operations. Must be in the format
      * `projects/*/secrets/*/versions/*`.
      * 
* - * - * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for authenticationTokenSecretVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getAuthenticationTokenSecretVersionBytes() { + public com.google.protobuf.ByteString + getAuthenticationTokenSecretVersionBytes() { java.lang.Object ref = authenticationTokenSecretVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); authenticationTokenSecretVersion_ = b; return b; } else { @@ -708,49 +613,31 @@ public com.google.protobuf.ByteString getAuthenticationTokenSecretVersionBytes() public static final int TOKEN_STATUS_FIELD_NUMBER = 4; private int tokenStatus_; /** - * - * *
      * Output only. Indicates the status of the Git access token.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for tokenStatus. */ - @java.lang.Override - public int getTokenStatusValue() { + @java.lang.Override public int getTokenStatusValue() { return tokenStatus_; } /** - * - * *
      * Output only. Indicates the status of the Git access token.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The tokenStatus. */ - @java.lang.Override - public com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus - getTokenStatus() { + @java.lang.Override public com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus getTokenStatus() { @SuppressWarnings("deprecation") - com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus result = - com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus.valueOf( - tokenStatus_); - return result == null - ? com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus.UNRECOGNIZED - : result; + com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus result = com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus.valueOf(tokenStatus_); + return result == null ? com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -762,22 +649,18 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, url_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultBranch_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, defaultBranch_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty( - authenticationTokenSecretVersion_)) { - com.google.protobuf.GeneratedMessageV3.writeString( - output, 3, authenticationTokenSecretVersion_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(authenticationTokenSecretVersion_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, authenticationTokenSecretVersion_); } - if (tokenStatus_ - != com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus - .TOKEN_STATUS_UNSPECIFIED - .getNumber()) { + if (tokenStatus_ != com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus.TOKEN_STATUS_UNSPECIFIED.getNumber()) { output.writeEnum(4, tokenStatus_); } unknownFields.writeTo(output); @@ -795,17 +678,12 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultBranch_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, defaultBranch_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty( - authenticationTokenSecretVersion_)) { - size += - com.google.protobuf.GeneratedMessageV3.computeStringSize( - 3, authenticationTokenSecretVersion_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(authenticationTokenSecretVersion_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, authenticationTokenSecretVersion_); } - if (tokenStatus_ - != com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus - .TOKEN_STATUS_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, tokenStatus_); + if (tokenStatus_ != com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus.TOKEN_STATUS_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, tokenStatus_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -815,16 +693,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings other = - (com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings) obj; + com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings other = (com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings) obj; - if (!getUrl().equals(other.getUrl())) return false; - if (!getDefaultBranch().equals(other.getDefaultBranch())) return false; + if (!getUrl() + .equals(other.getUrl())) return false; + if (!getDefaultBranch() + .equals(other.getDefaultBranch())) return false; if (!getAuthenticationTokenSecretVersion() .equals(other.getAuthenticationTokenSecretVersion())) return false; if (tokenStatus_ != other.tokenStatus_) return false; @@ -853,95 +732,87 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -951,49 +822,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Controls Git remote configuration for a repository.
      * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings) com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_Repository_GitRemoteSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_Repository_GitRemoteSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_Repository_GitRemoteSettings_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_Repository_GitRemoteSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.class, - com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.Builder.class); + com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.class, com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.Builder.class); } - // Construct using - // com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.newBuilder() + // Construct using com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1009,14 +875,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_Repository_GitRemoteSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_Repository_GitRemoteSettings_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings - getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings getDefaultInstanceForType() { return com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.getDefaultInstance(); } @@ -1031,8 +896,7 @@ public com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings buildPartial() { - com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings result = - new com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings(this); + com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings result = new com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings(this); result.url_ = url_; result.defaultBranch_ = defaultBranch_; result.authenticationTokenSecretVersion_ = authenticationTokenSecretVersion_; @@ -1045,52 +909,46 @@ public com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings buildPart public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings other) { - if (other - == com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings other) { + if (other == com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.getDefaultInstance()) return this; if (!other.getUrl().isEmpty()) { url_ = other.url_; onChanged(); @@ -1125,9 +983,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1139,20 +995,18 @@ public Builder mergeFrom( private java.lang.Object url_ = ""; /** - * - * *
        * Required. The Git remote's URL.
        * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The url. */ public java.lang.String getUrl() { java.lang.Object ref = url_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); url_ = s; return s; @@ -1161,21 +1015,20 @@ public java.lang.String getUrl() { } } /** - * - * *
        * Required. The Git remote's URL.
        * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for url. */ - public com.google.protobuf.ByteString getUrlBytes() { + public com.google.protobuf.ByteString + getUrlBytes() { java.lang.Object ref = url_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); url_ = b; return b; } else { @@ -1183,61 +1036,54 @@ public com.google.protobuf.ByteString getUrlBytes() { } } /** - * - * *
        * Required. The Git remote's URL.
        * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The url to set. * @return This builder for chaining. */ - public Builder setUrl(java.lang.String value) { + public Builder setUrl( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + url_ = value; onChanged(); return this; } /** - * - * *
        * Required. The Git remote's URL.
        * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearUrl() { - + url_ = getDefaultInstance().getUrl(); onChanged(); return this; } /** - * - * *
        * Required. The Git remote's URL.
        * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for url to set. * @return This builder for chaining. */ - public Builder setUrlBytes(com.google.protobuf.ByteString value) { + public Builder setUrlBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + url_ = value; onChanged(); return this; @@ -1245,20 +1091,18 @@ public Builder setUrlBytes(com.google.protobuf.ByteString value) { private java.lang.Object defaultBranch_ = ""; /** - * - * *
        * Required. The Git remote's default branch name.
        * 
* * string default_branch = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The defaultBranch. */ public java.lang.String getDefaultBranch() { java.lang.Object ref = defaultBranch_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultBranch_ = s; return s; @@ -1267,21 +1111,20 @@ public java.lang.String getDefaultBranch() { } } /** - * - * *
        * Required. The Git remote's default branch name.
        * 
* * string default_branch = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for defaultBranch. */ - public com.google.protobuf.ByteString getDefaultBranchBytes() { + public com.google.protobuf.ByteString + getDefaultBranchBytes() { java.lang.Object ref = defaultBranch_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); defaultBranch_ = b; return b; } else { @@ -1289,61 +1132,54 @@ public com.google.protobuf.ByteString getDefaultBranchBytes() { } } /** - * - * *
        * Required. The Git remote's default branch name.
        * 
* * string default_branch = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The defaultBranch to set. * @return This builder for chaining. */ - public Builder setDefaultBranch(java.lang.String value) { + public Builder setDefaultBranch( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + defaultBranch_ = value; onChanged(); return this; } /** - * - * *
        * Required. The Git remote's default branch name.
        * 
* * string default_branch = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDefaultBranch() { - + defaultBranch_ = getDefaultInstance().getDefaultBranch(); onChanged(); return this; } /** - * - * *
        * Required. The Git remote's default branch name.
        * 
* * string default_branch = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for defaultBranch to set. * @return This builder for chaining. */ - public Builder setDefaultBranchBytes(com.google.protobuf.ByteString value) { + public Builder setDefaultBranchBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + defaultBranch_ = value; onChanged(); return this; @@ -1351,24 +1187,20 @@ public Builder setDefaultBranchBytes(com.google.protobuf.ByteString value) { private java.lang.Object authenticationTokenSecretVersion_ = ""; /** - * - * *
        * Required. The name of the Secret Manager secret version to use as an
        * authentication token for Git operations. Must be in the format
        * `projects/*/secrets/*/versions/*`.
        * 
* - * - * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The authenticationTokenSecretVersion. */ public java.lang.String getAuthenticationTokenSecretVersion() { java.lang.Object ref = authenticationTokenSecretVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); authenticationTokenSecretVersion_ = s; return s; @@ -1377,25 +1209,22 @@ public java.lang.String getAuthenticationTokenSecretVersion() { } } /** - * - * *
        * Required. The name of the Secret Manager secret version to use as an
        * authentication token for Git operations. Must be in the format
        * `projects/*/secrets/*/versions/*`.
        * 
* - * - * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for authenticationTokenSecretVersion. */ - public com.google.protobuf.ByteString getAuthenticationTokenSecretVersionBytes() { + public com.google.protobuf.ByteString + getAuthenticationTokenSecretVersionBytes() { java.lang.Object ref = authenticationTokenSecretVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); authenticationTokenSecretVersion_ = b; return b; } else { @@ -1403,75 +1232,60 @@ public com.google.protobuf.ByteString getAuthenticationTokenSecretVersionBytes() } } /** - * - * *
        * Required. The name of the Secret Manager secret version to use as an
        * authentication token for Git operations. Must be in the format
        * `projects/*/secrets/*/versions/*`.
        * 
* - * - * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The authenticationTokenSecretVersion to set. * @return This builder for chaining. */ - public Builder setAuthenticationTokenSecretVersion(java.lang.String value) { + public Builder setAuthenticationTokenSecretVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + authenticationTokenSecretVersion_ = value; onChanged(); return this; } /** - * - * *
        * Required. The name of the Secret Manager secret version to use as an
        * authentication token for Git operations. Must be in the format
        * `projects/*/secrets/*/versions/*`.
        * 
* - * - * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearAuthenticationTokenSecretVersion() { - - authenticationTokenSecretVersion_ = - getDefaultInstance().getAuthenticationTokenSecretVersion(); + + authenticationTokenSecretVersion_ = getDefaultInstance().getAuthenticationTokenSecretVersion(); onChanged(); return this; } /** - * - * *
        * Required. The name of the Secret Manager secret version to use as an
        * authentication token for Git operations. Must be in the format
        * `projects/*/secrets/*/versions/*`.
        * 
* - * - * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for authenticationTokenSecretVersion to set. * @return This builder for chaining. */ public Builder setAuthenticationTokenSecretVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + authenticationTokenSecretVersion_ = value; onChanged(); return this; @@ -1479,111 +1293,77 @@ public Builder setAuthenticationTokenSecretVersionBytes( private int tokenStatus_ = 0; /** - * - * *
        * Output only. Indicates the status of the Git access token.
        * 
* - * - * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for tokenStatus. */ - @java.lang.Override - public int getTokenStatusValue() { + @java.lang.Override public int getTokenStatusValue() { return tokenStatus_; } /** - * - * *
        * Output only. Indicates the status of the Git access token.
        * 
* - * - * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for tokenStatus to set. * @return This builder for chaining. */ public Builder setTokenStatusValue(int value) { - + tokenStatus_ = value; onChanged(); return this; } /** - * - * *
        * Output only. Indicates the status of the Git access token.
        * 
* - * - * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The tokenStatus. */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus - getTokenStatus() { + public com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus getTokenStatus() { @SuppressWarnings("deprecation") - com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus result = - com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus.valueOf( - tokenStatus_); - return result == null - ? com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus - .UNRECOGNIZED - : result; + com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus result = com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus.valueOf(tokenStatus_); + return result == null ? com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus.UNRECOGNIZED : result; } /** - * - * *
        * Output only. Indicates the status of the Git access token.
        * 
* - * - * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The tokenStatus to set. * @return This builder for chaining. */ - public Builder setTokenStatus( - com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus value) { + public Builder setTokenStatus(com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus value) { if (value == null) { throw new NullPointerException(); } - + tokenStatus_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Output only. Indicates the status of the Git access token.
        * 
* - * - * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearTokenStatus() { - + tokenStatus_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1596,32 +1376,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings) - private static final com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings(); } - public static com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings - getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GitRemoteSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GitRemoteSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GitRemoteSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GitRemoteSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1633,23 +1411,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings - getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Output only. The repository's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -1658,29 +1433,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The repository's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1691,16 +1466,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int GIT_REMOTE_SETTINGS_FIELD_NUMBER = 2; private com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings gitRemoteSettings_; /** - * - * *
    * Optional. If set, configures this repository to be linked to a Git remote.
    * 
* - * - * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the gitRemoteSettings field is set. */ @java.lang.Override @@ -1708,43 +1478,30 @@ public boolean hasGitRemoteSettings() { return gitRemoteSettings_ != null; } /** - * - * *
    * Optional. If set, configures this repository to be linked to a Git remote.
    * 
* - * - * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The gitRemoteSettings. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings getGitRemoteSettings() { - return gitRemoteSettings_ == null - ? com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.getDefaultInstance() - : gitRemoteSettings_; + return gitRemoteSettings_ == null ? com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.getDefaultInstance() : gitRemoteSettings_; } /** - * - * *
    * Optional. If set, configures this repository to be linked to a Git remote.
    * 
* - * - * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettingsOrBuilder - getGitRemoteSettingsOrBuilder() { + public com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettingsOrBuilder getGitRemoteSettingsOrBuilder() { return getGitRemoteSettings(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1756,7 +1513,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1776,7 +1534,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (gitRemoteSettings_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getGitRemoteSettings()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getGitRemoteSettings()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1786,18 +1545,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.Repository)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.Repository other = - (com.google.cloud.dataform.v1alpha2.Repository) obj; + com.google.cloud.dataform.v1alpha2.Repository other = (com.google.cloud.dataform.v1alpha2.Repository) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasGitRemoteSettings() != other.hasGitRemoteSettings()) return false; if (hasGitRemoteSettings()) { - if (!getGitRemoteSettings().equals(other.getGitRemoteSettings())) return false; + if (!getGitRemoteSettings() + .equals(other.getGitRemoteSettings())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1821,127 +1581,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataform.v1alpha2.Repository parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataform.v1alpha2.Repository parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.Repository parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.Repository parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.Repository parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.Repository parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.Repository parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.Repository parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.Repository parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.Repository parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.Repository parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.Repository parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.Repository parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.Repository parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.Repository prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents a Dataform Git repository.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.Repository} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.Repository) com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_Repository_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_Repository_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_Repository_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_Repository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.Repository.class, - com.google.cloud.dataform.v1alpha2.Repository.Builder.class); + com.google.cloud.dataform.v1alpha2.Repository.class, com.google.cloud.dataform.v1alpha2.Repository.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.Repository.newBuilder() @@ -1949,15 +1700,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1973,9 +1725,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_Repository_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_Repository_descriptor; } @java.lang.Override @@ -1994,8 +1746,7 @@ public com.google.cloud.dataform.v1alpha2.Repository build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.Repository buildPartial() { - com.google.cloud.dataform.v1alpha2.Repository result = - new com.google.cloud.dataform.v1alpha2.Repository(this); + com.google.cloud.dataform.v1alpha2.Repository result = new com.google.cloud.dataform.v1alpha2.Repository(this); result.name_ = name_; if (gitRemoteSettingsBuilder_ == null) { result.gitRemoteSettings_ = gitRemoteSettings_; @@ -2010,39 +1761,38 @@ public com.google.cloud.dataform.v1alpha2.Repository buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.Repository) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.Repository) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.Repository)other); } else { super.mergeFrom(other); return this; @@ -2089,20 +1839,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Output only. The repository's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -2111,21 +1859,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The repository's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -2133,61 +1880,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The repository's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The repository's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The repository's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2195,61 +1935,41 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings gitRemoteSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings, - com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.Builder, - com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettingsOrBuilder> - gitRemoteSettingsBuilder_; + com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings, com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.Builder, com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettingsOrBuilder> gitRemoteSettingsBuilder_; /** - * - * *
      * Optional. If set, configures this repository to be linked to a Git remote.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the gitRemoteSettings field is set. */ public boolean hasGitRemoteSettings() { return gitRemoteSettingsBuilder_ != null || gitRemoteSettings_ != null; } /** - * - * *
      * Optional. If set, configures this repository to be linked to a Git remote.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The gitRemoteSettings. */ public com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings getGitRemoteSettings() { if (gitRemoteSettingsBuilder_ == null) { - return gitRemoteSettings_ == null - ? com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.getDefaultInstance() - : gitRemoteSettings_; + return gitRemoteSettings_ == null ? com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.getDefaultInstance() : gitRemoteSettings_; } else { return gitRemoteSettingsBuilder_.getMessage(); } } /** - * - * *
      * Optional. If set, configures this repository to be linked to a Git remote.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setGitRemoteSettings( - com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings value) { + public Builder setGitRemoteSettings(com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings value) { if (gitRemoteSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2263,15 +1983,11 @@ public Builder setGitRemoteSettings( return this; } /** - * - * *
      * Optional. If set, configures this repository to be linked to a Git remote.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setGitRemoteSettings( com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.Builder builderForValue) { @@ -2285,25 +2001,17 @@ public Builder setGitRemoteSettings( return this; } /** - * - * *
      * Optional. If set, configures this repository to be linked to a Git remote.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder mergeGitRemoteSettings( - com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings value) { + public Builder mergeGitRemoteSettings(com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings value) { if (gitRemoteSettingsBuilder_ == null) { if (gitRemoteSettings_ != null) { gitRemoteSettings_ = - com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.newBuilder( - gitRemoteSettings_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.newBuilder(gitRemoteSettings_).mergeFrom(value).buildPartial(); } else { gitRemoteSettings_ = value; } @@ -2315,15 +2023,11 @@ public Builder mergeGitRemoteSettings( return this; } /** - * - * *
      * Optional. If set, configures this repository to be linked to a Git remote.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearGitRemoteSettings() { if (gitRemoteSettingsBuilder_ == null) { @@ -2337,73 +2041,55 @@ public Builder clearGitRemoteSettings() { return this; } /** - * - * *
      * Optional. If set, configures this repository to be linked to a Git remote.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.Builder - getGitRemoteSettingsBuilder() { - + public com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.Builder getGitRemoteSettingsBuilder() { + onChanged(); return getGitRemoteSettingsFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. If set, configures this repository to be linked to a Git remote.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - public com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettingsOrBuilder - getGitRemoteSettingsOrBuilder() { + public com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettingsOrBuilder getGitRemoteSettingsOrBuilder() { if (gitRemoteSettingsBuilder_ != null) { return gitRemoteSettingsBuilder_.getMessageOrBuilder(); } else { - return gitRemoteSettings_ == null - ? com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.getDefaultInstance() - : gitRemoteSettings_; + return gitRemoteSettings_ == null ? + com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.getDefaultInstance() : gitRemoteSettings_; } } /** - * - * *
      * Optional. If set, configures this repository to be linked to a Git remote.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings, - com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.Builder, - com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettingsOrBuilder> + com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings, com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.Builder, com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettingsOrBuilder> getGitRemoteSettingsFieldBuilder() { if (gitRemoteSettingsBuilder_ == null) { - gitRemoteSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings, - com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.Builder, - com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettingsOrBuilder>( - getGitRemoteSettings(), getParentForChildren(), isClean()); + gitRemoteSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings, com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.Builder, com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettingsOrBuilder>( + getGitRemoteSettings(), + getParentForChildren(), + isClean()); gitRemoteSettings_ = null; } return gitRemoteSettingsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2413,12 +2099,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.Repository) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.Repository) private static final com.google.cloud.dataform.v1alpha2.Repository DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.Repository(); } @@ -2427,16 +2113,16 @@ public static com.google.cloud.dataform.v1alpha2.Repository getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Repository parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Repository(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Repository parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Repository(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2451,4 +2137,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.Repository getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RepositoryName.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RepositoryName.java similarity index 100% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RepositoryName.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RepositoryName.java diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RepositoryOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RepositoryOrBuilder.java similarity index 51% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RepositoryOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RepositoryOrBuilder.java index 985d262..bb234ad 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RepositoryOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RepositoryOrBuilder.java @@ -1,92 +1,56 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface RepositoryOrBuilder - extends +public interface RepositoryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.Repository) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The repository's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The repository's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Optional. If set, configures this repository to be linked to a Git remote.
    * 
* - * - * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the gitRemoteSettings field is set. */ boolean hasGitRemoteSettings(); /** - * - * *
    * Optional. If set, configures this repository to be linked to a Git remote.
    * 
* - * - * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The gitRemoteSettings. */ com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings getGitRemoteSettings(); /** - * - * *
    * Optional. If set, configures this repository to be linked to a Git remote.
    * 
* - * - * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettingsOrBuilder - getGitRemoteSettingsOrBuilder(); + com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettingsOrBuilder getGitRemoteSettingsOrBuilder(); } diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ResetWorkspaceChangesRequest.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ResetWorkspaceChangesRequest.java similarity index 68% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ResetWorkspaceChangesRequest.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ResetWorkspaceChangesRequest.java index 359f22d..f452143 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ResetWorkspaceChangesRequest.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ResetWorkspaceChangesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * `ResetWorkspaceChanges` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest} */ -public final class ResetWorkspaceChangesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ResetWorkspaceChangesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest) ResetWorkspaceChangesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ResetWorkspaceChangesRequest.newBuilder() to construct. private ResetWorkspaceChangesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ResetWorkspaceChangesRequest() { name_ = ""; paths_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -44,15 +26,16 @@ private ResetWorkspaceChangesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ResetWorkspaceChangesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ResetWorkspaceChangesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,35 +55,33 @@ private ResetWorkspaceChangesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - paths_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - paths_.add(s); - break; - } - case 24: - { - clean_ = input.readBool(); - break; + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + paths_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + paths_.add(s); + break; + } + case 24: { + + clean_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -108,7 +89,8 @@ private ResetWorkspaceChangesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { paths_ = paths_.getUnmodifiableView(); @@ -117,35 +99,27 @@ private ResetWorkspaceChangesRequest( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ResetWorkspaceChangesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ResetWorkspaceChangesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ResetWorkspaceChangesRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ResetWorkspaceChangesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest.class, - com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest.class, com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -154,31 +128,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -189,45 +161,37 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int PATHS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList paths_; /** - * - * *
    * Optional. Full file paths to reset back to their committed state including filename,
    * rooted at workspace root. If left empty, all files will be reset.
    * 
* * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the paths. */ - public com.google.protobuf.ProtocolStringList getPathsList() { + public com.google.protobuf.ProtocolStringList + getPathsList() { return paths_; } /** - * - * *
    * Optional. Full file paths to reset back to their committed state including filename,
    * rooted at workspace root. If left empty, all files will be reset.
    * 
* * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of paths. */ public int getPathsCount() { return paths_.size(); } /** - * - * *
    * Optional. Full file paths to reset back to their committed state including filename,
    * rooted at workspace root. If left empty, all files will be reset.
    * 
* * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The paths at the given index. */ @@ -235,33 +199,28 @@ public java.lang.String getPaths(int index) { return paths_.get(index); } /** - * - * *
    * Optional. Full file paths to reset back to their committed state including filename,
    * rooted at workspace root. If left empty, all files will be reset.
    * 
* * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the paths at the given index. */ - public com.google.protobuf.ByteString getPathsBytes(int index) { + public com.google.protobuf.ByteString + getPathsBytes(int index) { return paths_.getByteString(index); } public static final int CLEAN_FIELD_NUMBER = 3; private boolean clean_; /** - * - * *
    * Optional. If set to true, untracked files will be deleted.
    * 
* * bool clean = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The clean. */ @java.lang.Override @@ -270,7 +229,6 @@ public boolean getClean() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -282,7 +240,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -313,7 +272,8 @@ public int getSerializedSize() { size += 1 * getPathsList().size(); } if (clean_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, clean_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, clean_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -323,17 +283,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest other = - (com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest) obj; + com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest other = (com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getPathsList().equals(other.getPathsList())) return false; - if (getClean() != other.getClean()) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getPathsList() + .equals(other.getPathsList())) return false; + if (getClean() + != other.getClean()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -352,134 +314,125 @@ public int hashCode() { hash = (53 * hash) + getPathsList().hashCode(); } hash = (37 * hash) + CLEAN_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getClean()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getClean()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `ResetWorkspaceChanges` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest) com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ResetWorkspaceChangesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ResetWorkspaceChangesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ResetWorkspaceChangesRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ResetWorkspaceChangesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest.class, - com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest.class, com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest.newBuilder() @@ -487,15 +440,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -509,14 +463,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_ResetWorkspaceChangesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ResetWorkspaceChangesRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest - getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest getDefaultInstanceForType() { return com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest.getDefaultInstance(); } @@ -531,8 +484,7 @@ public com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest result = - new com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest(this); + com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest result = new com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest(this); int from_bitField0_ = bitField0_; result.name_ = name_; if (((bitField0_ & 0x00000001) != 0)) { @@ -549,50 +501,46 @@ public com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest buildPart public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest other) { - if (other - == com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest other) { + if (other == com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -629,9 +577,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -640,27 +586,22 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -669,23 +610,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -693,121 +631,98 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList paths_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList paths_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensurePathsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { paths_ = new com.google.protobuf.LazyStringArrayList(paths_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Optional. Full file paths to reset back to their committed state including filename,
      * rooted at workspace root. If left empty, all files will be reset.
      * 
* * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the paths. */ - public com.google.protobuf.ProtocolStringList getPathsList() { + public com.google.protobuf.ProtocolStringList + getPathsList() { return paths_.getUnmodifiableView(); } /** - * - * *
      * Optional. Full file paths to reset back to their committed state including filename,
      * rooted at workspace root. If left empty, all files will be reset.
      * 
* * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of paths. */ public int getPathsCount() { return paths_.size(); } /** - * - * *
      * Optional. Full file paths to reset back to their committed state including filename,
      * rooted at workspace root. If left empty, all files will be reset.
      * 
* * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The paths at the given index. */ @@ -815,95 +730,85 @@ public java.lang.String getPaths(int index) { return paths_.get(index); } /** - * - * *
      * Optional. Full file paths to reset back to their committed state including filename,
      * rooted at workspace root. If left empty, all files will be reset.
      * 
* * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the paths at the given index. */ - public com.google.protobuf.ByteString getPathsBytes(int index) { + public com.google.protobuf.ByteString + getPathsBytes(int index) { return paths_.getByteString(index); } /** - * - * *
      * Optional. Full file paths to reset back to their committed state including filename,
      * rooted at workspace root. If left empty, all files will be reset.
      * 
* * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index to set the value at. * @param value The paths to set. * @return This builder for chaining. */ - public Builder setPaths(int index, java.lang.String value) { + public Builder setPaths( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePathsIsMutable(); + throw new NullPointerException(); + } + ensurePathsIsMutable(); paths_.set(index, value); onChanged(); return this; } /** - * - * *
      * Optional. Full file paths to reset back to their committed state including filename,
      * rooted at workspace root. If left empty, all files will be reset.
      * 
* * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The paths to add. * @return This builder for chaining. */ - public Builder addPaths(java.lang.String value) { + public Builder addPaths( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePathsIsMutable(); + throw new NullPointerException(); + } + ensurePathsIsMutable(); paths_.add(value); onChanged(); return this; } /** - * - * *
      * Optional. Full file paths to reset back to their committed state including filename,
      * rooted at workspace root. If left empty, all files will be reset.
      * 
* * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param values The paths to add. * @return This builder for chaining. */ - public Builder addAllPaths(java.lang.Iterable values) { + public Builder addAllPaths( + java.lang.Iterable values) { ensurePathsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, paths_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, paths_); onChanged(); return this; } /** - * - * *
      * Optional. Full file paths to reset back to their committed state including filename,
      * rooted at workspace root. If left empty, all files will be reset.
      * 
* * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearPaths() { @@ -913,39 +818,34 @@ public Builder clearPaths() { return this; } /** - * - * *
      * Optional. Full file paths to reset back to their committed state including filename,
      * rooted at workspace root. If left empty, all files will be reset.
      * 
* * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes of the paths to add. * @return This builder for chaining. */ - public Builder addPathsBytes(com.google.protobuf.ByteString value) { + public Builder addPathsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensurePathsIsMutable(); paths_.add(value); onChanged(); return this; } - private boolean clean_; + private boolean clean_ ; /** - * - * *
      * Optional. If set to true, untracked files will be deleted.
      * 
* * bool clean = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The clean. */ @java.lang.Override @@ -953,43 +853,37 @@ public boolean getClean() { return clean_; } /** - * - * *
      * Optional. If set to true, untracked files will be deleted.
      * 
* * bool clean = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The clean to set. * @return This builder for chaining. */ public Builder setClean(boolean value) { - + clean_ = value; onChanged(); return this; } /** - * - * *
      * Optional. If set to true, untracked files will be deleted.
      * 
* * bool clean = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearClean() { - + clean_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -999,32 +893,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest) - private static final com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest(); } - public static com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest - getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResetWorkspaceChangesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResetWorkspaceChangesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResetWorkspaceChangesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResetWorkspaceChangesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1036,8 +928,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest - getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ResetWorkspaceChangesRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ResetWorkspaceChangesRequestOrBuilder.java similarity index 65% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ResetWorkspaceChangesRequestOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ResetWorkspaceChangesRequestOrBuilder.java index 5694ec6..403eec4 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ResetWorkspaceChangesRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ResetWorkspaceChangesRequestOrBuilder.java @@ -1,121 +1,83 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface ResetWorkspaceChangesRequestOrBuilder - extends +public interface ResetWorkspaceChangesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Optional. Full file paths to reset back to their committed state including filename,
    * rooted at workspace root. If left empty, all files will be reset.
    * 
* * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return A list containing the paths. */ - java.util.List getPathsList(); + java.util.List + getPathsList(); /** - * - * *
    * Optional. Full file paths to reset back to their committed state including filename,
    * rooted at workspace root. If left empty, all files will be reset.
    * 
* * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The count of paths. */ int getPathsCount(); /** - * - * *
    * Optional. Full file paths to reset back to their committed state including filename,
    * rooted at workspace root. If left empty, all files will be reset.
    * 
* * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the element to return. * @return The paths at the given index. */ java.lang.String getPaths(int index); /** - * - * *
    * Optional. Full file paths to reset back to their committed state including filename,
    * rooted at workspace root. If left empty, all files will be reset.
    * 
* * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @param index The index of the value to return. * @return The bytes of the paths at the given index. */ - com.google.protobuf.ByteString getPathsBytes(int index); + com.google.protobuf.ByteString + getPathsBytes(int index); /** - * - * *
    * Optional. If set to true, untracked files will be deleted.
    * 
* * bool clean = 3 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The clean. */ boolean getClean(); diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/Target.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/Target.java similarity index 70% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/Target.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/Target.java index 36f3f3d..653e64e 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/Target.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/Target.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * Represents an action identifier. If the action writes output, the output
  * will be written to the referenced database object.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.cloud.dataform.v1alpha2.Target}
  */
-public final class Target extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Target extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.Target)
     TargetOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Target.newBuilder() to construct.
   private Target(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Target() {
     database_ = "";
     schema_ = "";
@@ -46,15 +28,16 @@ private Target() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Target();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Target(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -73,34 +56,31 @@ private Target(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              database_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            database_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              schema_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            schema_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            name_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -108,39 +88,34 @@ private Target(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.dataform.v1alpha2.DataformProto
-        .internal_static_google_cloud_dataform_v1alpha2_Target_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_Target_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.dataform.v1alpha2.DataformProto
-        .internal_static_google_cloud_dataform_v1alpha2_Target_fieldAccessorTable
+    return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_Target_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.dataform.v1alpha2.Target.class,
-            com.google.cloud.dataform.v1alpha2.Target.Builder.class);
+            com.google.cloud.dataform.v1alpha2.Target.class, com.google.cloud.dataform.v1alpha2.Target.Builder.class);
   }
 
   public static final int DATABASE_FIELD_NUMBER = 1;
   private volatile java.lang.Object database_;
   /**
-   *
-   *
    * 
    * The action's database (Google Cloud project ID) .
    * 
* * string database = 1; - * * @return The database. */ @java.lang.Override @@ -149,29 +124,29 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** - * - * *
    * The action's database (Google Cloud project ID) .
    * 
* * string database = 1; - * * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -182,14 +157,11 @@ public com.google.protobuf.ByteString getDatabaseBytes() { public static final int SCHEMA_FIELD_NUMBER = 2; private volatile java.lang.Object schema_; /** - * - * *
    * The action's schema (BigQuery dataset ID), within `database`.
    * 
* * string schema = 2; - * * @return The schema. */ @java.lang.Override @@ -198,29 +170,29 @@ public java.lang.String getSchema() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schema_ = s; return s; } } /** - * - * *
    * The action's schema (BigQuery dataset ID), within `database`.
    * 
* * string schema = 2; - * * @return The bytes for schema. */ @java.lang.Override - public com.google.protobuf.ByteString getSchemaBytes() { + public com.google.protobuf.ByteString + getSchemaBytes() { java.lang.Object ref = schema_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); schema_ = b; return b; } else { @@ -231,14 +203,11 @@ public com.google.protobuf.ByteString getSchemaBytes() { public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** - * - * *
    * The action's name, within `database` and `schema`.
    * 
* * string name = 3; - * * @return The name. */ @java.lang.Override @@ -247,29 +216,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The action's name, within `database` and `schema`.
    * 
* * string name = 3; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -278,7 +247,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -290,7 +258,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); } @@ -326,17 +295,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.Target)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.Target other = - (com.google.cloud.dataform.v1alpha2.Target) obj; + com.google.cloud.dataform.v1alpha2.Target other = (com.google.cloud.dataform.v1alpha2.Target) obj; - if (!getDatabase().equals(other.getDatabase())) return false; - if (!getSchema().equals(other.getSchema())) return false; - if (!getName().equals(other.getName())) return false; + if (!getDatabase() + .equals(other.getDatabase())) return false; + if (!getSchema() + .equals(other.getSchema())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -359,104 +330,97 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataform.v1alpha2.Target parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataform.v1alpha2.Target parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.Target parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.Target parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.Target parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.Target parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.Target parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.Target parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.Target parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.Target parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.Target parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.Target parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.Target parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.Target parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.Target prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents an action identifier. If the action writes output, the output
    * will be written to the referenced database object.
@@ -464,23 +428,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.dataform.v1alpha2.Target}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.Target)
       com.google.cloud.dataform.v1alpha2.TargetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.dataform.v1alpha2.DataformProto
-          .internal_static_google_cloud_dataform_v1alpha2_Target_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_Target_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataform.v1alpha2.DataformProto
-          .internal_static_google_cloud_dataform_v1alpha2_Target_fieldAccessorTable
+      return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_Target_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataform.v1alpha2.Target.class,
-              com.google.cloud.dataform.v1alpha2.Target.Builder.class);
+              com.google.cloud.dataform.v1alpha2.Target.class, com.google.cloud.dataform.v1alpha2.Target.Builder.class);
     }
 
     // Construct using com.google.cloud.dataform.v1alpha2.Target.newBuilder()
@@ -488,15 +450,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -510,9 +473,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.dataform.v1alpha2.DataformProto
-          .internal_static_google_cloud_dataform_v1alpha2_Target_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_Target_descriptor;
     }
 
     @java.lang.Override
@@ -531,8 +494,7 @@ public com.google.cloud.dataform.v1alpha2.Target build() {
 
     @java.lang.Override
     public com.google.cloud.dataform.v1alpha2.Target buildPartial() {
-      com.google.cloud.dataform.v1alpha2.Target result =
-          new com.google.cloud.dataform.v1alpha2.Target(this);
+      com.google.cloud.dataform.v1alpha2.Target result = new com.google.cloud.dataform.v1alpha2.Target(this);
       result.database_ = database_;
       result.schema_ = schema_;
       result.name_ = name_;
@@ -544,39 +506,38 @@ public com.google.cloud.dataform.v1alpha2.Target buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.dataform.v1alpha2.Target) {
-        return mergeFrom((com.google.cloud.dataform.v1alpha2.Target) other);
+        return mergeFrom((com.google.cloud.dataform.v1alpha2.Target)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -628,20 +589,18 @@ public Builder mergeFrom(
 
     private java.lang.Object database_ = "";
     /**
-     *
-     *
      * 
      * The action's database (Google Cloud project ID) .
      * 
* * string database = 1; - * * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -650,21 +609,20 @@ public java.lang.String getDatabase() { } } /** - * - * *
      * The action's database (Google Cloud project ID) .
      * 
* * string database = 1; - * * @return The bytes for database. */ - public com.google.protobuf.ByteString getDatabaseBytes() { + public com.google.protobuf.ByteString + getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); database_ = b; return b; } else { @@ -672,61 +630,54 @@ public com.google.protobuf.ByteString getDatabaseBytes() { } } /** - * - * *
      * The action's database (Google Cloud project ID) .
      * 
* * string database = 1; - * * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase(java.lang.String value) { + public Builder setDatabase( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + database_ = value; onChanged(); return this; } /** - * - * *
      * The action's database (Google Cloud project ID) .
      * 
* * string database = 1; - * * @return This builder for chaining. */ public Builder clearDatabase() { - + database_ = getDefaultInstance().getDatabase(); onChanged(); return this; } /** - * - * *
      * The action's database (Google Cloud project ID) .
      * 
* * string database = 1; - * * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { + public Builder setDatabaseBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + database_ = value; onChanged(); return this; @@ -734,20 +685,18 @@ public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { private java.lang.Object schema_ = ""; /** - * - * *
      * The action's schema (BigQuery dataset ID), within `database`.
      * 
* * string schema = 2; - * * @return The schema. */ public java.lang.String getSchema() { java.lang.Object ref = schema_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schema_ = s; return s; @@ -756,21 +705,20 @@ public java.lang.String getSchema() { } } /** - * - * *
      * The action's schema (BigQuery dataset ID), within `database`.
      * 
* * string schema = 2; - * * @return The bytes for schema. */ - public com.google.protobuf.ByteString getSchemaBytes() { + public com.google.protobuf.ByteString + getSchemaBytes() { java.lang.Object ref = schema_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); schema_ = b; return b; } else { @@ -778,61 +726,54 @@ public com.google.protobuf.ByteString getSchemaBytes() { } } /** - * - * *
      * The action's schema (BigQuery dataset ID), within `database`.
      * 
* * string schema = 2; - * * @param value The schema to set. * @return This builder for chaining. */ - public Builder setSchema(java.lang.String value) { + public Builder setSchema( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + schema_ = value; onChanged(); return this; } /** - * - * *
      * The action's schema (BigQuery dataset ID), within `database`.
      * 
* * string schema = 2; - * * @return This builder for chaining. */ public Builder clearSchema() { - + schema_ = getDefaultInstance().getSchema(); onChanged(); return this; } /** - * - * *
      * The action's schema (BigQuery dataset ID), within `database`.
      * 
* * string schema = 2; - * * @param value The bytes for schema to set. * @return This builder for chaining. */ - public Builder setSchemaBytes(com.google.protobuf.ByteString value) { + public Builder setSchemaBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + schema_ = value; onChanged(); return this; @@ -840,20 +781,18 @@ public Builder setSchemaBytes(com.google.protobuf.ByteString value) { private java.lang.Object name_ = ""; /** - * - * *
      * The action's name, within `database` and `schema`.
      * 
* * string name = 3; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -862,21 +801,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The action's name, within `database` and `schema`.
      * 
* * string name = 3; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -884,68 +822,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The action's name, within `database` and `schema`.
      * 
* * string name = 3; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The action's name, within `database` and `schema`.
      * 
* * string name = 3; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The action's name, within `database` and `schema`.
      * 
* * string name = 3; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -955,12 +886,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.Target) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.Target) private static final com.google.cloud.dataform.v1alpha2.Target DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.Target(); } @@ -969,16 +900,16 @@ public static com.google.cloud.dataform.v1alpha2.Target getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Target parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Target(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Target parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Target(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -993,4 +924,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.Target getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/TargetOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/TargetOrBuilder.java similarity index 61% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/TargetOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/TargetOrBuilder.java index 8505159..d853373 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/TargetOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/TargetOrBuilder.java @@ -1,100 +1,69 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface TargetOrBuilder - extends +public interface TargetOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.Target) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The action's database (Google Cloud project ID) .
    * 
* * string database = 1; - * * @return The database. */ java.lang.String getDatabase(); /** - * - * *
    * The action's database (Google Cloud project ID) .
    * 
* * string database = 1; - * * @return The bytes for database. */ - com.google.protobuf.ByteString getDatabaseBytes(); + com.google.protobuf.ByteString + getDatabaseBytes(); /** - * - * *
    * The action's schema (BigQuery dataset ID), within `database`.
    * 
* * string schema = 2; - * * @return The schema. */ java.lang.String getSchema(); /** - * - * *
    * The action's schema (BigQuery dataset ID), within `database`.
    * 
* * string schema = 2; - * * @return The bytes for schema. */ - com.google.protobuf.ByteString getSchemaBytes(); + com.google.protobuf.ByteString + getSchemaBytes(); /** - * - * *
    * The action's name, within `database` and `schema`.
    * 
* * string name = 3; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The action's name, within `database` and `schema`.
    * 
* * string name = 3; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/UpdateRepositoryRequest.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/UpdateRepositoryRequest.java similarity index 64% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/UpdateRepositoryRequest.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/UpdateRepositoryRequest.java index 8737d3b..df4d39a 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/UpdateRepositoryRequest.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/UpdateRepositoryRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * `UpdateRepository` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.UpdateRepositoryRequest} */ -public final class UpdateRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateRepositoryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.UpdateRepositoryRequest) UpdateRepositoryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateRepositoryRequest.newBuilder() to construct. private UpdateRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateRepositoryRequest() {} + private UpdateRepositoryRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,44 +52,39 @@ private UpdateRepositoryRequest( case 0: done = true; break; - case 10: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } - case 18: - { - com.google.cloud.dataform.v1alpha2.Repository.Builder subBuilder = null; - if (repository_ != null) { - subBuilder = repository_.toBuilder(); - } - repository_ = - input.readMessage( - com.google.cloud.dataform.v1alpha2.Repository.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(repository_); - repository_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.cloud.dataform.v1alpha2.Repository.Builder subBuilder = null; + if (repository_ != null) { + subBuilder = repository_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + repository_ = input.readMessage(com.google.cloud.dataform.v1alpha2.Repository.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(repository_); + repository_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -113,41 +92,35 @@ private UpdateRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_UpdateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_UpdateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_UpdateRepositoryRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_UpdateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest.class, - com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest.class, com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Optional. Specifies the fields to be updated in the repository. If left unset,
    * all fields will be updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -155,16 +128,12 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Optional. Specifies the fields to be updated in the repository. If left unset,
    * all fields will be updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The updateMask. */ @java.lang.Override @@ -172,15 +141,12 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Optional. Specifies the fields to be updated in the repository. If left unset,
    * all fields will be updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -190,16 +156,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int REPOSITORY_FIELD_NUMBER = 2; private com.google.cloud.dataform.v1alpha2.Repository repository_; /** - * - * *
    * Required. The repository to update.
    * 
* - * - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the repository field is set. */ @java.lang.Override @@ -207,34 +168,23 @@ public boolean hasRepository() { return repository_ != null; } /** - * - * *
    * Required. The repository to update.
    * 
* - * - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The repository. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.Repository getRepository() { - return repository_ == null - ? com.google.cloud.dataform.v1alpha2.Repository.getDefaultInstance() - : repository_; + return repository_ == null ? com.google.cloud.dataform.v1alpha2.Repository.getDefaultInstance() : repository_; } /** - * - * *
    * Required. The repository to update.
    * 
* - * - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder getRepositoryOrBuilder() { @@ -242,7 +192,6 @@ public com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder getRepositoryOrBui } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -254,7 +203,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -271,10 +221,12 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getUpdateMask()); } if (repository_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRepository()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRepository()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -284,21 +236,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest other = - (com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest) obj; + com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest other = (com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (hasRepository() != other.hasRepository()) return false; if (hasRepository()) { - if (!getRepository().equals(other.getRepository())) return false; + if (!getRepository() + .equals(other.getRepository())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -325,127 +278,117 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `UpdateRepository` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.UpdateRepositoryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.UpdateRepositoryRequest) com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_UpdateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_UpdateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_UpdateRepositoryRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_UpdateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest.class, - com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest.class, com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest.newBuilder() @@ -453,15 +396,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -481,9 +425,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_UpdateRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_UpdateRepositoryRequest_descriptor; } @java.lang.Override @@ -502,8 +446,7 @@ public com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest result = - new com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest(this); + com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest result = new com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest(this); if (updateMaskBuilder_ == null) { result.updateMask_ = updateMask_; } else { @@ -522,39 +465,38 @@ public com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest)other); } else { super.mergeFrom(other); return this; @@ -562,8 +504,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest.getDefaultInstance()) return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -589,8 +530,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -602,58 +542,42 @@ public Builder mergeFrom( private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Optional. Specifies the fields to be updated in the repository. If left unset,
      * all fields will be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Optional. Specifies the fields to be updated in the repository. If left unset,
      * all fields will be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Optional. Specifies the fields to be updated in the repository. If left unset,
      * all fields will be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -669,17 +593,15 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Specifies the fields to be updated in the repository. If left unset,
      * all fields will be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -690,21 +612,18 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Optional. Specifies the fields to be updated in the repository. If left unset,
      * all fields will be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -716,15 +635,12 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Optional. Specifies the fields to be updated in the repository. If left unset,
      * all fields will be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -738,64 +654,51 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Optional. Specifies the fields to be updated in the repository. If left unset,
      * all fields will be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Specifies the fields to be updated in the repository. If left unset,
      * all fields will be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Optional. Specifies the fields to be updated in the repository. If left unset,
      * all fields will be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; @@ -803,58 +706,39 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.dataform.v1alpha2.Repository repository_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Repository, - com.google.cloud.dataform.v1alpha2.Repository.Builder, - com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder> - repositoryBuilder_; + com.google.cloud.dataform.v1alpha2.Repository, com.google.cloud.dataform.v1alpha2.Repository.Builder, com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder> repositoryBuilder_; /** - * - * *
      * Required. The repository to update.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the repository field is set. */ public boolean hasRepository() { return repositoryBuilder_ != null || repository_ != null; } /** - * - * *
      * Required. The repository to update.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The repository. */ public com.google.cloud.dataform.v1alpha2.Repository getRepository() { if (repositoryBuilder_ == null) { - return repository_ == null - ? com.google.cloud.dataform.v1alpha2.Repository.getDefaultInstance() - : repository_; + return repository_ == null ? com.google.cloud.dataform.v1alpha2.Repository.getDefaultInstance() : repository_; } else { return repositoryBuilder_.getMessage(); } } /** - * - * *
      * Required. The repository to update.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRepository(com.google.cloud.dataform.v1alpha2.Repository value) { if (repositoryBuilder_ == null) { @@ -870,15 +754,11 @@ public Builder setRepository(com.google.cloud.dataform.v1alpha2.Repository value return this; } /** - * - * *
      * Required. The repository to update.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRepository( com.google.cloud.dataform.v1alpha2.Repository.Builder builderForValue) { @@ -892,23 +772,17 @@ public Builder setRepository( return this; } /** - * - * *
      * Required. The repository to update.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeRepository(com.google.cloud.dataform.v1alpha2.Repository value) { if (repositoryBuilder_ == null) { if (repository_ != null) { repository_ = - com.google.cloud.dataform.v1alpha2.Repository.newBuilder(repository_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.dataform.v1alpha2.Repository.newBuilder(repository_).mergeFrom(value).buildPartial(); } else { repository_ = value; } @@ -920,15 +794,11 @@ public Builder mergeRepository(com.google.cloud.dataform.v1alpha2.Repository val return this; } /** - * - * *
      * Required. The repository to update.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearRepository() { if (repositoryBuilder_ == null) { @@ -942,71 +812,55 @@ public Builder clearRepository() { return this; } /** - * - * *
      * Required. The repository to update.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataform.v1alpha2.Repository.Builder getRepositoryBuilder() { - + onChanged(); return getRepositoryFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The repository to update.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder getRepositoryOrBuilder() { if (repositoryBuilder_ != null) { return repositoryBuilder_.getMessageOrBuilder(); } else { - return repository_ == null - ? com.google.cloud.dataform.v1alpha2.Repository.getDefaultInstance() - : repository_; + return repository_ == null ? + com.google.cloud.dataform.v1alpha2.Repository.getDefaultInstance() : repository_; } } /** - * - * *
      * Required. The repository to update.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Repository, - com.google.cloud.dataform.v1alpha2.Repository.Builder, - com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder> + com.google.cloud.dataform.v1alpha2.Repository, com.google.cloud.dataform.v1alpha2.Repository.Builder, com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder> getRepositoryFieldBuilder() { if (repositoryBuilder_ == null) { - repositoryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Repository, - com.google.cloud.dataform.v1alpha2.Repository.Builder, - com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder>( - getRepository(), getParentForChildren(), isClean()); + repositoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.Repository, com.google.cloud.dataform.v1alpha2.Repository.Builder, com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder>( + getRepository(), + getParentForChildren(), + isClean()); repository_ = null; } return repositoryBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1016,12 +870,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.UpdateRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.UpdateRepositoryRequest) private static final com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest(); } @@ -1030,16 +884,16 @@ public static com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1054,4 +908,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/UpdateRepositoryRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/UpdateRepositoryRequestOrBuilder.java similarity index 57% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/UpdateRepositoryRequestOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/UpdateRepositoryRequestOrBuilder.java index 09c6eb2..a3654ba 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/UpdateRepositoryRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/UpdateRepositoryRequestOrBuilder.java @@ -1,107 +1,66 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface UpdateRepositoryRequestOrBuilder - extends +public interface UpdateRepositoryRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.UpdateRepositoryRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Optional. Specifies the fields to be updated in the repository. If left unset,
    * all fields will be updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Optional. Specifies the fields to be updated in the repository. If left unset,
    * all fields will be updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Optional. Specifies the fields to be updated in the repository. If left unset,
    * all fields will be updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** - * - * *
    * Required. The repository to update.
    * 
* - * - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the repository field is set. */ boolean hasRepository(); /** - * - * *
    * Required. The repository to update.
    * 
* - * - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The repository. */ com.google.cloud.dataform.v1alpha2.Repository getRepository(); /** - * - * *
    * Required. The repository to update.
    * 
* - * - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder getRepositoryOrBuilder(); } diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocation.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocation.java similarity index 66% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocation.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocation.java index cae374f..714d0a0 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocation.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocation.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * Represents a single invocation of a compilation result.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.WorkflowInvocation} */ -public final class WorkflowInvocation extends com.google.protobuf.GeneratedMessageV3 - implements +public final class WorkflowInvocation extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.WorkflowInvocation) WorkflowInvocationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use WorkflowInvocation.newBuilder() to construct. private WorkflowInvocation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private WorkflowInvocation() { name_ = ""; compilationResult_ = ""; @@ -45,15 +27,16 @@ private WorkflowInvocation() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new WorkflowInvocation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private WorkflowInvocation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,68 +55,57 @@ private WorkflowInvocation( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - compilationResult_ = s; - break; + compilationResult_ = s; + break; + } + case 26: { + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.Builder subBuilder = null; + if (invocationConfig_ != null) { + subBuilder = invocationConfig_.toBuilder(); } - case 26: - { - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.Builder - subBuilder = null; - if (invocationConfig_ != null) { - subBuilder = invocationConfig_.toBuilder(); - } - invocationConfig_ = - input.readMessage( - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(invocationConfig_); - invocationConfig_ = subBuilder.buildPartial(); - } - - break; + invocationConfig_ = input.readMessage(com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(invocationConfig_); + invocationConfig_ = subBuilder.buildPartial(); } - case 32: - { - int rawValue = input.readEnum(); - state_ = rawValue; - break; - } - case 42: - { - com.google.type.Interval.Builder subBuilder = null; - if (invocationTiming_ != null) { - subBuilder = invocationTiming_.toBuilder(); - } - invocationTiming_ = - input.readMessage(com.google.type.Interval.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(invocationTiming_); - invocationTiming_ = subBuilder.buildPartial(); - } + break; + } + case 32: { + int rawValue = input.readEnum(); - break; + state_ = rawValue; + break; + } + case 42: { + com.google.type.Interval.Builder subBuilder = null; + if (invocationTiming_ != null) { + subBuilder = invocationTiming_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + invocationTiming_ = input.readMessage(com.google.type.Interval.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(invocationTiming_); + invocationTiming_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -141,41 +113,36 @@ private WorkflowInvocation( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.class, - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder.class); + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.class, com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder.class); } /** - * - * *
    * Represents the current state of a workflow invocation.
    * 
* * Protobuf enum {@code google.cloud.dataform.v1alpha2.WorkflowInvocation.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Default value. This value is unused.
      * 
@@ -184,8 +151,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The workflow invocation is currently running.
      * 
@@ -194,8 +159,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ RUNNING(1), /** - * - * *
      * The workflow invocation succeeded. A terminal state.
      * 
@@ -204,8 +167,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ SUCCEEDED(2), /** - * - * *
      * The workflow invocation was cancelled. A terminal state.
      * 
@@ -214,8 +175,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CANCELLED(3), /** - * - * *
      * The workflow invocation failed. A terminal state.
      * 
@@ -224,8 +183,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(4), /** - * - * *
      * The workflow invocation is being cancelled, but some actions are still
      * running.
@@ -238,8 +195,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Default value. This value is unused.
      * 
@@ -248,8 +203,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The workflow invocation is currently running.
      * 
@@ -258,8 +211,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RUNNING_VALUE = 1; /** - * - * *
      * The workflow invocation succeeded. A terminal state.
      * 
@@ -268,8 +219,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCEEDED_VALUE = 2; /** - * - * *
      * The workflow invocation was cancelled. A terminal state.
      * 
@@ -278,8 +227,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CANCELLED_VALUE = 3; /** - * - * *
      * The workflow invocation failed. A terminal state.
      * 
@@ -288,8 +235,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 4; /** - * - * *
      * The workflow invocation is being cancelled, but some actions are still
      * running.
@@ -299,6 +244,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CANCELING_VALUE = 5;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -323,57 +269,52 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return STATE_UNSPECIFIED;
-        case 1:
-          return RUNNING;
-        case 2:
-          return SUCCEEDED;
-        case 3:
-          return CANCELLED;
-        case 4:
-          return FAILED;
-        case 5:
-          return CANCELING;
-        default:
-          return null;
-      }
-    }
-
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
-      return internalValueMap;
+        case 0: return STATE_UNSPECIFIED;
+        case 1: return RUNNING;
+        case 2: return SUCCEEDED;
+        case 3: return CANCELLED;
+        case 4: return FAILED;
+        case 5: return CANCELING;
+        default: return null;
+      }
     }
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public State findValueByNumber(int number) {
-            return State.forNumber(number);
-          }
-        };
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
+      return internalValueMap;
+    }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        State> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public State findValueByNumber(int number) {
+              return State.forNumber(number);
+            }
+          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-      return com.google.cloud.dataform.v1alpha2.WorkflowInvocation.getDescriptor()
-          .getEnumTypes()
-          .get(0);
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
+      return com.google.cloud.dataform.v1alpha2.WorkflowInvocation.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -390,172 +331,128 @@ private State(int value) {
     // @@protoc_insertion_point(enum_scope:google.cloud.dataform.v1alpha2.WorkflowInvocation.State)
   }
 
-  public interface InvocationConfigOrBuilder
-      extends
+  public interface InvocationConfigOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Immutable. The set of action identifiers to include.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; */ - java.util.List getIncludedTargetsList(); + java.util.List + getIncludedTargetsList(); /** - * - * *
      * Immutable. The set of action identifiers to include.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; */ com.google.cloud.dataform.v1alpha2.Target getIncludedTargets(int index); /** - * - * *
      * Immutable. The set of action identifiers to include.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; */ int getIncludedTargetsCount(); /** - * - * *
      * Immutable. The set of action identifiers to include.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; */ - java.util.List + java.util.List getIncludedTargetsOrBuilderList(); /** - * - * *
      * Immutable. The set of action identifiers to include.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; */ - com.google.cloud.dataform.v1alpha2.TargetOrBuilder getIncludedTargetsOrBuilder(int index); + com.google.cloud.dataform.v1alpha2.TargetOrBuilder getIncludedTargetsOrBuilder( + int index); /** - * - * *
      * Immutable. The set of tags to include.
      * 
* * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return A list containing the includedTags. */ - java.util.List getIncludedTagsList(); + java.util.List + getIncludedTagsList(); /** - * - * *
      * Immutable. The set of tags to include.
      * 
* * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The count of includedTags. */ int getIncludedTagsCount(); /** - * - * *
      * Immutable. The set of tags to include.
      * 
* * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param index The index of the element to return. * @return The includedTags at the given index. */ java.lang.String getIncludedTags(int index); /** - * - * *
      * Immutable. The set of tags to include.
      * 
* * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param index The index of the value to return. * @return The bytes of the includedTags at the given index. */ - com.google.protobuf.ByteString getIncludedTagsBytes(int index); + com.google.protobuf.ByteString + getIncludedTagsBytes(int index); /** - * - * *
      * Immutable. When set to true, transitive dependencies of included actions will be
      * executed.
      * 
* - * bool transitive_dependencies_included = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * bool transitive_dependencies_included = 3 [(.google.api.field_behavior) = IMMUTABLE]; * @return The transitiveDependenciesIncluded. */ boolean getTransitiveDependenciesIncluded(); /** - * - * *
      * Immutable. When set to true, transitive dependents of included actions will be
      * executed.
      * 
* - * bool transitive_dependents_included = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * bool transitive_dependents_included = 4 [(.google.api.field_behavior) = IMMUTABLE]; * @return The transitiveDependentsIncluded. */ boolean getTransitiveDependentsIncluded(); /** - * - * *
      * Immutable. When set to true, any incremental tables will be fully refreshed.
      * 
* - * - * bool fully_refresh_incremental_tables_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * bool fully_refresh_incremental_tables_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; * @return The fullyRefreshIncrementalTablesEnabled. */ boolean getFullyRefreshIncrementalTablesEnabled(); } /** - * - * *
    * Includes various configuration options for this workflow invocation.
    * If both `included_targets` and `included_tags` are unset, all actions
@@ -564,16 +461,15 @@ public interface InvocationConfigOrBuilder
    *
    * Protobuf type {@code google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig}
    */
-  public static final class InvocationConfig extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class InvocationConfig extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig)
       InvocationConfigOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use InvocationConfig.newBuilder() to construct.
     private InvocationConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private InvocationConfig() {
       includedTargets_ = java.util.Collections.emptyList();
       includedTags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -581,15 +477,16 @@ private InvocationConfig() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new InvocationConfig();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private InvocationConfig(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -609,50 +506,46 @@ private InvocationConfig(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  includedTargets_ =
-                      new java.util.ArrayList();
-                  mutable_bitField0_ |= 0x00000001;
-                }
-                includedTargets_.add(
-                    input.readMessage(
-                        com.google.cloud.dataform.v1alpha2.Target.parser(), extensionRegistry));
-                break;
+            case 10: {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                includedTargets_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
               }
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                  includedTags_ = new com.google.protobuf.LazyStringArrayList();
-                  mutable_bitField0_ |= 0x00000002;
-                }
-                includedTags_.add(s);
-                break;
-              }
-            case 24:
-              {
-                transitiveDependenciesIncluded_ = input.readBool();
-                break;
-              }
-            case 32:
-              {
-                transitiveDependentsIncluded_ = input.readBool();
-                break;
-              }
-            case 40:
-              {
-                fullyRefreshIncrementalTablesEnabled_ = input.readBool();
-                break;
+              includedTargets_.add(
+                  input.readMessage(com.google.cloud.dataform.v1alpha2.Target.parser(), extensionRegistry));
+              break;
+            }
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                includedTags_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000002;
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              includedTags_.add(s);
+              break;
+            }
+            case 24: {
+
+              transitiveDependenciesIncluded_ = input.readBool();
+              break;
+            }
+            case 32: {
+
+              transitiveDependentsIncluded_ = input.readBool();
+              break;
+            }
+            case 40: {
+
+              fullyRefreshIncrementalTablesEnabled_ = input.readBool();
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -660,7 +553,8 @@ private InvocationConfig(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           includedTargets_ = java.util.Collections.unmodifiableList(includedTargets_);
@@ -672,95 +566,72 @@ private InvocationConfig(
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.dataform.v1alpha2.DataformProto
-          .internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_InvocationConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_InvocationConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataform.v1alpha2.DataformProto
-          .internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_InvocationConfig_fieldAccessorTable
+      return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_InvocationConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.class,
-              com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.Builder.class);
+              com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.class, com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.Builder.class);
     }
 
     public static final int INCLUDED_TARGETS_FIELD_NUMBER = 1;
     private java.util.List includedTargets_;
     /**
-     *
-     *
      * 
      * Immutable. The set of action identifiers to include.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; */ @java.lang.Override public java.util.List getIncludedTargetsList() { return includedTargets_; } /** - * - * *
      * Immutable. The set of action identifiers to include.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; */ @java.lang.Override - public java.util.List + public java.util.List getIncludedTargetsOrBuilderList() { return includedTargets_; } /** - * - * *
      * Immutable. The set of action identifiers to include.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; */ @java.lang.Override public int getIncludedTargetsCount() { return includedTargets_.size(); } /** - * - * *
      * Immutable. The set of action identifiers to include.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.Target getIncludedTargets(int index) { return includedTargets_.get(index); } /** - * - * *
      * Immutable. The set of action identifiers to include.
      * 
* - * - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getIncludedTargetsOrBuilder( @@ -771,42 +642,34 @@ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getIncludedTargetsOrBu public static final int INCLUDED_TAGS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList includedTags_; /** - * - * *
      * Immutable. The set of tags to include.
      * 
* * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return A list containing the includedTags. */ - public com.google.protobuf.ProtocolStringList getIncludedTagsList() { + public com.google.protobuf.ProtocolStringList + getIncludedTagsList() { return includedTags_; } /** - * - * *
      * Immutable. The set of tags to include.
      * 
* * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The count of includedTags. */ public int getIncludedTagsCount() { return includedTags_.size(); } /** - * - * *
      * Immutable. The set of tags to include.
      * 
* * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param index The index of the element to return. * @return The includedTags at the given index. */ @@ -814,34 +677,28 @@ public java.lang.String getIncludedTags(int index) { return includedTags_.get(index); } /** - * - * *
      * Immutable. The set of tags to include.
      * 
* * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param index The index of the value to return. * @return The bytes of the includedTags at the given index. */ - public com.google.protobuf.ByteString getIncludedTagsBytes(int index) { + public com.google.protobuf.ByteString + getIncludedTagsBytes(int index) { return includedTags_.getByteString(index); } public static final int TRANSITIVE_DEPENDENCIES_INCLUDED_FIELD_NUMBER = 3; private boolean transitiveDependenciesIncluded_; /** - * - * *
      * Immutable. When set to true, transitive dependencies of included actions will be
      * executed.
      * 
* - * bool transitive_dependencies_included = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * bool transitive_dependencies_included = 3 [(.google.api.field_behavior) = IMMUTABLE]; * @return The transitiveDependenciesIncluded. */ @java.lang.Override @@ -852,16 +709,12 @@ public boolean getTransitiveDependenciesIncluded() { public static final int TRANSITIVE_DEPENDENTS_INCLUDED_FIELD_NUMBER = 4; private boolean transitiveDependentsIncluded_; /** - * - * *
      * Immutable. When set to true, transitive dependents of included actions will be
      * executed.
      * 
* - * bool transitive_dependents_included = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * bool transitive_dependents_included = 4 [(.google.api.field_behavior) = IMMUTABLE]; * @return The transitiveDependentsIncluded. */ @java.lang.Override @@ -872,16 +725,11 @@ public boolean getTransitiveDependentsIncluded() { public static final int FULLY_REFRESH_INCREMENTAL_TABLES_ENABLED_FIELD_NUMBER = 5; private boolean fullyRefreshIncrementalTablesEnabled_; /** - * - * *
      * Immutable. When set to true, any incremental tables will be fully refreshed.
      * 
* - * - * bool fully_refresh_incremental_tables_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * bool fully_refresh_incremental_tables_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; * @return The fullyRefreshIncrementalTablesEnabled. */ @java.lang.Override @@ -890,7 +738,6 @@ public boolean getFullyRefreshIncrementalTablesEnabled() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -902,7 +749,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < includedTargets_.size(); i++) { output.writeMessage(1, includedTargets_.get(i)); } @@ -928,8 +776,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < includedTargets_.size(); i++) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(1, includedTargets_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, includedTargets_.get(i)); } { int dataSize = 0; @@ -940,18 +788,16 @@ public int getSerializedSize() { size += 1 * getIncludedTagsList().size(); } if (transitiveDependenciesIncluded_ != false) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 3, transitiveDependenciesIncluded_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, transitiveDependenciesIncluded_); } if (transitiveDependentsIncluded_ != false) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize(4, transitiveDependentsIncluded_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, transitiveDependentsIncluded_); } if (fullyRefreshIncrementalTablesEnabled_ != false) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 5, fullyRefreshIncrementalTablesEnabled_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, fullyRefreshIncrementalTablesEnabled_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -961,21 +807,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig)) { + if (!(obj instanceof com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig other = - (com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig) obj; + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig other = (com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig) obj; - if (!getIncludedTargetsList().equals(other.getIncludedTargetsList())) return false; - if (!getIncludedTagsList().equals(other.getIncludedTagsList())) return false; - if (getTransitiveDependenciesIncluded() != other.getTransitiveDependenciesIncluded()) - return false; - if (getTransitiveDependentsIncluded() != other.getTransitiveDependentsIncluded()) - return false; + if (!getIncludedTargetsList() + .equals(other.getIncludedTargetsList())) return false; + if (!getIncludedTagsList() + .equals(other.getIncludedTagsList())) return false; + if (getTransitiveDependenciesIncluded() + != other.getTransitiveDependenciesIncluded()) return false; + if (getTransitiveDependentsIncluded() + != other.getTransitiveDependentsIncluded()) return false; if (getFullyRefreshIncrementalTablesEnabled() != other.getFullyRefreshIncrementalTablesEnabled()) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -998,111 +844,101 @@ public int hashCode() { hash = (53 * hash) + getIncludedTagsList().hashCode(); } hash = (37 * hash) + TRANSITIVE_DEPENDENCIES_INCLUDED_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashBoolean(getTransitiveDependenciesIncluded()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getTransitiveDependenciesIncluded()); hash = (37 * hash) + TRANSITIVE_DEPENDENTS_INCLUDED_FIELD_NUMBER; - hash = - (53 * hash) + com.google.protobuf.Internal.hashBoolean(getTransitiveDependentsIncluded()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getTransitiveDependentsIncluded()); hash = (37 * hash) + FULLY_REFRESH_INCREMENTAL_TABLES_ENABLED_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashBoolean(getFullyRefreshIncrementalTablesEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getFullyRefreshIncrementalTablesEnabled()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1112,8 +948,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Includes various configuration options for this workflow invocation.
      * If both `included_targets` and `included_tags` are unset, all actions
@@ -1122,44 +956,39 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig)
         com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfigOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.cloud.dataform.v1alpha2.DataformProto
-            .internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_InvocationConfig_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_InvocationConfig_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.dataform.v1alpha2.DataformProto
-            .internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_InvocationConfig_fieldAccessorTable
+        return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_InvocationConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.class,
-                com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.Builder
-                    .class);
+                com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.class, com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.Builder.class);
       }
 
-      // Construct using
-      // com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.newBuilder()
+      // Construct using com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
           getIncludedTargetsFieldBuilder();
         }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1181,22 +1010,19 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.cloud.dataform.v1alpha2.DataformProto
-            .internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_InvocationConfig_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_InvocationConfig_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig
-          getDefaultInstanceForType() {
-        return com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig
-            .getDefaultInstance();
+      public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig getDefaultInstanceForType() {
+        return com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig build() {
-        com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig result =
-            buildPartial();
+        com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -1205,8 +1031,7 @@ public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig bu
 
       @java.lang.Override
       public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig buildPartial() {
-        com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig result =
-            new com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig(this);
+        com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig result = new com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig(this);
         int from_bitField0_ = bitField0_;
         if (includedTargetsBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0)) {
@@ -1233,54 +1058,46 @@ public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig bu
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other
-            instanceof com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig) {
-          return mergeFrom(
-              (com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig) other);
+        if (other instanceof com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig) {
+          return mergeFrom((com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig other) {
-        if (other
-            == com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig other) {
+        if (other == com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.getDefaultInstance()) return this;
         if (includedTargetsBuilder_ == null) {
           if (!other.includedTargets_.isEmpty()) {
             if (includedTargets_.isEmpty()) {
@@ -1299,10 +1116,9 @@ public Builder mergeFrom(
               includedTargetsBuilder_ = null;
               includedTargets_ = other.includedTargets_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              includedTargetsBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getIncludedTargetsFieldBuilder()
-                      : null;
+              includedTargetsBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getIncludedTargetsFieldBuilder() : null;
             } else {
               includedTargetsBuilder_.addAllMessages(other.includedTargets_);
             }
@@ -1346,9 +1162,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -1357,36 +1171,26 @@ public Builder mergeFrom(
         }
         return this;
       }
-
       private int bitField0_;
 
       private java.util.List includedTargets_ =
-          java.util.Collections.emptyList();
-
+        java.util.Collections.emptyList();
       private void ensureIncludedTargetsIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
-          includedTargets_ =
-              new java.util.ArrayList(includedTargets_);
+          includedTargets_ = new java.util.ArrayList(includedTargets_);
           bitField0_ |= 0x00000001;
-        }
+         }
       }
 
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.cloud.dataform.v1alpha2.Target,
-              com.google.cloud.dataform.v1alpha2.Target.Builder,
-              com.google.cloud.dataform.v1alpha2.TargetOrBuilder>
-          includedTargetsBuilder_;
+          com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder> includedTargetsBuilder_;
 
       /**
-       *
-       *
        * 
        * Immutable. The set of action identifiers to include.
        * 
* - * - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; */ public java.util.List getIncludedTargetsList() { if (includedTargetsBuilder_ == null) { @@ -1396,15 +1200,11 @@ public java.util.List getIncludedTarg } } /** - * - * *
        * Immutable. The set of action identifiers to include.
        * 
* - * - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; */ public int getIncludedTargetsCount() { if (includedTargetsBuilder_ == null) { @@ -1414,15 +1214,11 @@ public int getIncludedTargetsCount() { } } /** - * - * *
        * Immutable. The set of action identifiers to include.
        * 
* - * - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; */ public com.google.cloud.dataform.v1alpha2.Target getIncludedTargets(int index) { if (includedTargetsBuilder_ == null) { @@ -1432,15 +1228,11 @@ public com.google.cloud.dataform.v1alpha2.Target getIncludedTargets(int index) { } } /** - * - * *
        * Immutable. The set of action identifiers to include.
        * 
* - * - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; */ public Builder setIncludedTargets( int index, com.google.cloud.dataform.v1alpha2.Target value) { @@ -1457,15 +1249,11 @@ public Builder setIncludedTargets( return this; } /** - * - * *
        * Immutable. The set of action identifiers to include.
        * 
* - * - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; */ public Builder setIncludedTargets( int index, com.google.cloud.dataform.v1alpha2.Target.Builder builderForValue) { @@ -1479,15 +1267,11 @@ public Builder setIncludedTargets( return this; } /** - * - * *
        * Immutable. The set of action identifiers to include.
        * 
* - * - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; */ public Builder addIncludedTargets(com.google.cloud.dataform.v1alpha2.Target value) { if (includedTargetsBuilder_ == null) { @@ -1503,15 +1287,11 @@ public Builder addIncludedTargets(com.google.cloud.dataform.v1alpha2.Target valu return this; } /** - * - * *
        * Immutable. The set of action identifiers to include.
        * 
* - * - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; */ public Builder addIncludedTargets( int index, com.google.cloud.dataform.v1alpha2.Target value) { @@ -1528,15 +1308,11 @@ public Builder addIncludedTargets( return this; } /** - * - * *
        * Immutable. The set of action identifiers to include.
        * 
* - * - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; */ public Builder addIncludedTargets( com.google.cloud.dataform.v1alpha2.Target.Builder builderForValue) { @@ -1550,15 +1326,11 @@ public Builder addIncludedTargets( return this; } /** - * - * *
        * Immutable. The set of action identifiers to include.
        * 
* - * - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; */ public Builder addIncludedTargets( int index, com.google.cloud.dataform.v1alpha2.Target.Builder builderForValue) { @@ -1572,21 +1344,18 @@ public Builder addIncludedTargets( return this; } /** - * - * *
        * Immutable. The set of action identifiers to include.
        * 
* - * - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; */ public Builder addAllIncludedTargets( java.lang.Iterable values) { if (includedTargetsBuilder_ == null) { ensureIncludedTargetsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, includedTargets_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, includedTargets_); onChanged(); } else { includedTargetsBuilder_.addAllMessages(values); @@ -1594,15 +1363,11 @@ public Builder addAllIncludedTargets( return this; } /** - * - * *
        * Immutable. The set of action identifiers to include.
        * 
* - * - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; */ public Builder clearIncludedTargets() { if (includedTargetsBuilder_ == null) { @@ -1615,15 +1380,11 @@ public Builder clearIncludedTargets() { return this; } /** - * - * *
        * Immutable. The set of action identifiers to include.
        * 
* - * - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; */ public Builder removeIncludedTargets(int index) { if (includedTargetsBuilder_ == null) { @@ -1636,52 +1397,39 @@ public Builder removeIncludedTargets(int index) { return this; } /** - * - * *
        * Immutable. The set of action identifiers to include.
        * 
* - * - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; */ public com.google.cloud.dataform.v1alpha2.Target.Builder getIncludedTargetsBuilder( int index) { return getIncludedTargetsFieldBuilder().getBuilder(index); } /** - * - * *
        * Immutable. The set of action identifiers to include.
        * 
* - * - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; */ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getIncludedTargetsOrBuilder( int index) { if (includedTargetsBuilder_ == null) { - return includedTargets_.get(index); - } else { + return includedTargets_.get(index); } else { return includedTargetsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * Immutable. The set of action identifiers to include.
        * 
* - * - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; */ - public java.util.List - getIncludedTargetsOrBuilderList() { + public java.util.List + getIncludedTargetsOrBuilderList() { if (includedTargetsBuilder_ != null) { return includedTargetsBuilder_.getMessageOrBuilderList(); } else { @@ -1689,63 +1437,45 @@ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getIncludedTargetsOrBu } } /** - * - * *
        * Immutable. The set of action identifiers to include.
        * 
* - * - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; */ public com.google.cloud.dataform.v1alpha2.Target.Builder addIncludedTargetsBuilder() { - return getIncludedTargetsFieldBuilder() - .addBuilder(com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance()); + return getIncludedTargetsFieldBuilder().addBuilder( + com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance()); } /** - * - * *
        * Immutable. The set of action identifiers to include.
        * 
* - * - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; */ public com.google.cloud.dataform.v1alpha2.Target.Builder addIncludedTargetsBuilder( int index) { - return getIncludedTargetsFieldBuilder() - .addBuilder(index, com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance()); + return getIncludedTargetsFieldBuilder().addBuilder( + index, com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance()); } /** - * - * *
        * Immutable. The set of action identifiers to include.
        * 
* - * - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; */ - public java.util.List - getIncludedTargetsBuilderList() { + public java.util.List + getIncludedTargetsBuilderList() { return getIncludedTargetsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Target, - com.google.cloud.dataform.v1alpha2.Target.Builder, - com.google.cloud.dataform.v1alpha2.TargetOrBuilder> + com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder> getIncludedTargetsFieldBuilder() { if (includedTargetsBuilder_ == null) { - includedTargetsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Target, - com.google.cloud.dataform.v1alpha2.Target.Builder, - com.google.cloud.dataform.v1alpha2.TargetOrBuilder>( + includedTargetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder>( includedTargets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1755,52 +1485,42 @@ public com.google.cloud.dataform.v1alpha2.Target.Builder addIncludedTargetsBuild return includedTargetsBuilder_; } - private com.google.protobuf.LazyStringList includedTags_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList includedTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureIncludedTagsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { includedTags_ = new com.google.protobuf.LazyStringArrayList(includedTags_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
        * Immutable. The set of tags to include.
        * 
* * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return A list containing the includedTags. */ - public com.google.protobuf.ProtocolStringList getIncludedTagsList() { + public com.google.protobuf.ProtocolStringList + getIncludedTagsList() { return includedTags_.getUnmodifiableView(); } /** - * - * *
        * Immutable. The set of tags to include.
        * 
* * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The count of includedTags. */ public int getIncludedTagsCount() { return includedTags_.size(); } /** - * - * *
        * Immutable. The set of tags to include.
        * 
* * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param index The index of the element to return. * @return The includedTags at the given index. */ @@ -1808,90 +1528,80 @@ public java.lang.String getIncludedTags(int index) { return includedTags_.get(index); } /** - * - * *
        * Immutable. The set of tags to include.
        * 
* * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param index The index of the value to return. * @return The bytes of the includedTags at the given index. */ - public com.google.protobuf.ByteString getIncludedTagsBytes(int index) { + public com.google.protobuf.ByteString + getIncludedTagsBytes(int index) { return includedTags_.getByteString(index); } /** - * - * *
        * Immutable. The set of tags to include.
        * 
* * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param index The index to set the value at. * @param value The includedTags to set. * @return This builder for chaining. */ - public Builder setIncludedTags(int index, java.lang.String value) { + public Builder setIncludedTags( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIncludedTagsIsMutable(); + throw new NullPointerException(); + } + ensureIncludedTagsIsMutable(); includedTags_.set(index, value); onChanged(); return this; } /** - * - * *
        * Immutable. The set of tags to include.
        * 
* * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The includedTags to add. * @return This builder for chaining. */ - public Builder addIncludedTags(java.lang.String value) { + public Builder addIncludedTags( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIncludedTagsIsMutable(); + throw new NullPointerException(); + } + ensureIncludedTagsIsMutable(); includedTags_.add(value); onChanged(); return this; } /** - * - * *
        * Immutable. The set of tags to include.
        * 
* * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param values The includedTags to add. * @return This builder for chaining. */ - public Builder addAllIncludedTags(java.lang.Iterable values) { + public Builder addAllIncludedTags( + java.lang.Iterable values) { ensureIncludedTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, includedTags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, includedTags_); onChanged(); return this; } /** - * - * *
        * Immutable. The set of tags to include.
        * 
* * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return This builder for chaining. */ public Builder clearIncludedTags() { @@ -1901,40 +1611,34 @@ public Builder clearIncludedTags() { return this; } /** - * - * *
        * Immutable. The set of tags to include.
        * 
* * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * * @param value The bytes of the includedTags to add. * @return This builder for chaining. */ - public Builder addIncludedTagsBytes(com.google.protobuf.ByteString value) { + public Builder addIncludedTagsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureIncludedTagsIsMutable(); includedTags_.add(value); onChanged(); return this; } - private boolean transitiveDependenciesIncluded_; + private boolean transitiveDependenciesIncluded_ ; /** - * - * *
        * Immutable. When set to true, transitive dependencies of included actions will be
        * executed.
        * 
* - * bool transitive_dependencies_included = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * bool transitive_dependencies_included = 3 [(.google.api.field_behavior) = IMMUTABLE]; * @return The transitiveDependenciesIncluded. */ @java.lang.Override @@ -1942,57 +1646,45 @@ public boolean getTransitiveDependenciesIncluded() { return transitiveDependenciesIncluded_; } /** - * - * *
        * Immutable. When set to true, transitive dependencies of included actions will be
        * executed.
        * 
* - * bool transitive_dependencies_included = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * bool transitive_dependencies_included = 3 [(.google.api.field_behavior) = IMMUTABLE]; * @param value The transitiveDependenciesIncluded to set. * @return This builder for chaining. */ public Builder setTransitiveDependenciesIncluded(boolean value) { - + transitiveDependenciesIncluded_ = value; onChanged(); return this; } /** - * - * *
        * Immutable. When set to true, transitive dependencies of included actions will be
        * executed.
        * 
* - * bool transitive_dependencies_included = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * bool transitive_dependencies_included = 3 [(.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearTransitiveDependenciesIncluded() { - + transitiveDependenciesIncluded_ = false; onChanged(); return this; } - private boolean transitiveDependentsIncluded_; + private boolean transitiveDependentsIncluded_ ; /** - * - * *
        * Immutable. When set to true, transitive dependents of included actions will be
        * executed.
        * 
* - * bool transitive_dependents_included = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * bool transitive_dependents_included = 4 [(.google.api.field_behavior) = IMMUTABLE]; * @return The transitiveDependentsIncluded. */ @java.lang.Override @@ -2000,57 +1692,44 @@ public boolean getTransitiveDependentsIncluded() { return transitiveDependentsIncluded_; } /** - * - * *
        * Immutable. When set to true, transitive dependents of included actions will be
        * executed.
        * 
* - * bool transitive_dependents_included = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * bool transitive_dependents_included = 4 [(.google.api.field_behavior) = IMMUTABLE]; * @param value The transitiveDependentsIncluded to set. * @return This builder for chaining. */ public Builder setTransitiveDependentsIncluded(boolean value) { - + transitiveDependentsIncluded_ = value; onChanged(); return this; } /** - * - * *
        * Immutable. When set to true, transitive dependents of included actions will be
        * executed.
        * 
* - * bool transitive_dependents_included = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * bool transitive_dependents_included = 4 [(.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearTransitiveDependentsIncluded() { - + transitiveDependentsIncluded_ = false; onChanged(); return this; } - private boolean fullyRefreshIncrementalTablesEnabled_; + private boolean fullyRefreshIncrementalTablesEnabled_ ; /** - * - * *
        * Immutable. When set to true, any incremental tables will be fully refreshed.
        * 
* - * - * bool fully_refresh_incremental_tables_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * bool fully_refresh_incremental_tables_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; * @return The fullyRefreshIncrementalTablesEnabled. */ @java.lang.Override @@ -2058,45 +1737,34 @@ public boolean getFullyRefreshIncrementalTablesEnabled() { return fullyRefreshIncrementalTablesEnabled_; } /** - * - * *
        * Immutable. When set to true, any incremental tables will be fully refreshed.
        * 
* - * - * bool fully_refresh_incremental_tables_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * bool fully_refresh_incremental_tables_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; * @param value The fullyRefreshIncrementalTablesEnabled to set. * @return This builder for chaining. */ public Builder setFullyRefreshIncrementalTablesEnabled(boolean value) { - + fullyRefreshIncrementalTablesEnabled_ = value; onChanged(); return this; } /** - * - * *
        * Immutable. When set to true, any incremental tables will be fully refreshed.
        * 
* - * - * bool fully_refresh_incremental_tables_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * bool fully_refresh_incremental_tables_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearFullyRefreshIncrementalTablesEnabled() { - + fullyRefreshIncrementalTablesEnabled_ = false; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2109,33 +1777,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig) - private static final com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig(); + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig(); } - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig - getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InvocationConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InvocationConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InvocationConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InvocationConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2147,23 +1812,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig - getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Output only. The workflow invocation's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -2172,29 +1834,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The workflow invocation's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -2205,17 +1867,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int COMPILATION_RESULT_FIELD_NUMBER = 2; private volatile java.lang.Object compilationResult_; /** - * - * *
    * Immutable. The name of the compilation result to compile. Must be in the format
    * `projects/*/locations/*/repositories/*/compilationResults/*`.
    * 
* - * - * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The compilationResult. */ @java.lang.Override @@ -2224,32 +1881,30 @@ public java.lang.String getCompilationResult() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); compilationResult_ = s; return s; } } /** - * - * *
    * Immutable. The name of the compilation result to compile. Must be in the format
    * `projects/*/locations/*/repositories/*/compilationResults/*`.
    * 
* - * - * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The bytes for compilationResult. */ @java.lang.Override - public com.google.protobuf.ByteString getCompilationResultBytes() { + public com.google.protobuf.ByteString + getCompilationResultBytes() { java.lang.Object ref = compilationResult_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); compilationResult_ = b; return b; } else { @@ -2260,16 +1915,11 @@ public com.google.protobuf.ByteString getCompilationResultBytes() { public static final int INVOCATION_CONFIG_FIELD_NUMBER = 3; private com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocationConfig_; /** - * - * *
    * Immutable. If left unset, a default InvocationConfig will be used.
    * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; * @return Whether the invocationConfig field is set. */ @java.lang.Override @@ -2277,97 +1927,64 @@ public boolean hasInvocationConfig() { return invocationConfig_ != null; } /** - * - * *
    * Immutable. If left unset, a default InvocationConfig will be used.
    * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; * @return The invocationConfig. */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig - getInvocationConfig() { - return invocationConfig_ == null - ? com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig - .getDefaultInstance() - : invocationConfig_; + public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig getInvocationConfig() { + return invocationConfig_ == null ? com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.getDefaultInstance() : invocationConfig_; } /** - * - * *
    * Immutable. If left unset, a default InvocationConfig will be used.
    * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfigOrBuilder - getInvocationConfigOrBuilder() { + public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfigOrBuilder getInvocationConfigOrBuilder() { return getInvocationConfig(); } public static final int STATE_FIELD_NUMBER = 4; private int state_; /** - * - * *
    * Output only. This workflow invocation's current state.
    * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. This workflow invocation's current state.
    * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.State getState() { + @java.lang.Override public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.State result = - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.State.valueOf(state_); - return result == null - ? com.google.cloud.dataform.v1alpha2.WorkflowInvocation.State.UNRECOGNIZED - : result; + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.State result = com.google.cloud.dataform.v1alpha2.WorkflowInvocation.State.valueOf(state_); + return result == null ? com.google.cloud.dataform.v1alpha2.WorkflowInvocation.State.UNRECOGNIZED : result; } public static final int INVOCATION_TIMING_FIELD_NUMBER = 5; private com.google.type.Interval invocationTiming_; /** - * - * *
    * Output only. This workflow invocation's timing details.
    * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the invocationTiming field is set. */ @java.lang.Override @@ -2375,32 +1992,23 @@ public boolean hasInvocationTiming() { return invocationTiming_ != null; } /** - * - * *
    * Output only. This workflow invocation's timing details.
    * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The invocationTiming. */ @java.lang.Override public com.google.type.Interval getInvocationTiming() { - return invocationTiming_ == null - ? com.google.type.Interval.getDefaultInstance() - : invocationTiming_; + return invocationTiming_ == null ? com.google.type.Interval.getDefaultInstance() : invocationTiming_; } /** - * - * *
    * Output only. This workflow invocation's timing details.
    * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.type.IntervalOrBuilder getInvocationTimingOrBuilder() { @@ -2408,7 +2016,6 @@ public com.google.type.IntervalOrBuilder getInvocationTimingOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2420,7 +2027,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -2430,9 +2038,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (invocationConfig_ != null) { output.writeMessage(3, getInvocationConfig()); } - if (state_ - != com.google.cloud.dataform.v1alpha2.WorkflowInvocation.State.STATE_UNSPECIFIED - .getNumber()) { + if (state_ != com.google.cloud.dataform.v1alpha2.WorkflowInvocation.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(4, state_); } if (invocationTiming_ != null) { @@ -2454,15 +2060,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, compilationResult_); } if (invocationConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getInvocationConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getInvocationConfig()); } - if (state_ - != com.google.cloud.dataform.v1alpha2.WorkflowInvocation.State.STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, state_); + if (state_ != com.google.cloud.dataform.v1alpha2.WorkflowInvocation.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, state_); } if (invocationTiming_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getInvocationTiming()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getInvocationTiming()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2472,24 +2079,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.WorkflowInvocation)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.WorkflowInvocation other = - (com.google.cloud.dataform.v1alpha2.WorkflowInvocation) obj; + com.google.cloud.dataform.v1alpha2.WorkflowInvocation other = (com.google.cloud.dataform.v1alpha2.WorkflowInvocation) obj; - if (!getName().equals(other.getName())) return false; - if (!getCompilationResult().equals(other.getCompilationResult())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getCompilationResult() + .equals(other.getCompilationResult())) return false; if (hasInvocationConfig() != other.hasInvocationConfig()) return false; if (hasInvocationConfig()) { - if (!getInvocationConfig().equals(other.getInvocationConfig())) return false; + if (!getInvocationConfig() + .equals(other.getInvocationConfig())) return false; } if (state_ != other.state_) return false; if (hasInvocationTiming() != other.hasInvocationTiming()) return false; if (hasInvocationTiming()) { - if (!getInvocationTiming().equals(other.getInvocationTiming())) return false; + if (!getInvocationTiming() + .equals(other.getInvocationTiming())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -2522,127 +2132,117 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.WorkflowInvocation prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.WorkflowInvocation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents a single invocation of a compilation result.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.WorkflowInvocation} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.WorkflowInvocation) com.google.cloud.dataform.v1alpha2.WorkflowInvocationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.class, - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder.class); + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.class, com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.WorkflowInvocation.newBuilder() @@ -2650,15 +2250,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2684,9 +2285,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_descriptor; } @java.lang.Override @@ -2705,8 +2306,7 @@ public com.google.cloud.dataform.v1alpha2.WorkflowInvocation build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.WorkflowInvocation buildPartial() { - com.google.cloud.dataform.v1alpha2.WorkflowInvocation result = - new com.google.cloud.dataform.v1alpha2.WorkflowInvocation(this); + com.google.cloud.dataform.v1alpha2.WorkflowInvocation result = new com.google.cloud.dataform.v1alpha2.WorkflowInvocation(this); result.name_ = name_; result.compilationResult_ = compilationResult_; if (invocationConfigBuilder_ == null) { @@ -2728,39 +2328,38 @@ public com.google.cloud.dataform.v1alpha2.WorkflowInvocation buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.WorkflowInvocation) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.WorkflowInvocation) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.WorkflowInvocation)other); } else { super.mergeFrom(other); return this; @@ -2768,8 +2367,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.WorkflowInvocation other) { - if (other == com.google.cloud.dataform.v1alpha2.WorkflowInvocation.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataform.v1alpha2.WorkflowInvocation.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -2806,8 +2404,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.WorkflowInvocation) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.WorkflowInvocation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2819,20 +2416,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Output only. The workflow invocation's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -2841,21 +2436,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The workflow invocation's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -2863,61 +2457,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The workflow invocation's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The workflow invocation's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The workflow invocation's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2925,23 +2512,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object compilationResult_ = ""; /** - * - * *
      * Immutable. The name of the compilation result to compile. Must be in the format
      * `projects/*/locations/*/repositories/*/compilationResults/*`.
      * 
* - * - * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The compilationResult. */ public java.lang.String getCompilationResult() { java.lang.Object ref = compilationResult_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); compilationResult_ = s; return s; @@ -2950,24 +2533,21 @@ public java.lang.String getCompilationResult() { } } /** - * - * *
      * Immutable. The name of the compilation result to compile. Must be in the format
      * `projects/*/locations/*/repositories/*/compilationResults/*`.
      * 
* - * - * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The bytes for compilationResult. */ - public com.google.protobuf.ByteString getCompilationResultBytes() { + public com.google.protobuf.ByteString + getCompilationResultBytes() { java.lang.Object ref = compilationResult_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); compilationResult_ = b; return b; } else { @@ -2975,135 +2555,99 @@ public com.google.protobuf.ByteString getCompilationResultBytes() { } } /** - * - * *
      * Immutable. The name of the compilation result to compile. Must be in the format
      * `projects/*/locations/*/repositories/*/compilationResults/*`.
      * 
* - * - * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @param value The compilationResult to set. * @return This builder for chaining. */ - public Builder setCompilationResult(java.lang.String value) { + public Builder setCompilationResult( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + compilationResult_ = value; onChanged(); return this; } /** - * - * *
      * Immutable. The name of the compilation result to compile. Must be in the format
      * `projects/*/locations/*/repositories/*/compilationResults/*`.
      * 
* - * - * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearCompilationResult() { - + compilationResult_ = getDefaultInstance().getCompilationResult(); onChanged(); return this; } /** - * - * *
      * Immutable. The name of the compilation result to compile. Must be in the format
      * `projects/*/locations/*/repositories/*/compilationResults/*`.
      * 
* - * - * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @param value The bytes for compilationResult to set. * @return This builder for chaining. */ - public Builder setCompilationResultBytes(com.google.protobuf.ByteString value) { + public Builder setCompilationResultBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + compilationResult_ = value; onChanged(); return this; } - private com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig - invocationConfig_; + private com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocationConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig, - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.Builder, - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfigOrBuilder> - invocationConfigBuilder_; + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig, com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.Builder, com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfigOrBuilder> invocationConfigBuilder_; /** - * - * *
      * Immutable. If left unset, a default InvocationConfig will be used.
      * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; * @return Whether the invocationConfig field is set. */ public boolean hasInvocationConfig() { return invocationConfigBuilder_ != null || invocationConfig_ != null; } /** - * - * *
      * Immutable. If left unset, a default InvocationConfig will be used.
      * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; * @return The invocationConfig. */ - public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig - getInvocationConfig() { + public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig getInvocationConfig() { if (invocationConfigBuilder_ == null) { - return invocationConfig_ == null - ? com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig - .getDefaultInstance() - : invocationConfig_; + return invocationConfig_ == null ? com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.getDefaultInstance() : invocationConfig_; } else { return invocationConfigBuilder_.getMessage(); } } /** - * - * *
      * Immutable. If left unset, a default InvocationConfig will be used.
      * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; */ - public Builder setInvocationConfig( - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig value) { + public Builder setInvocationConfig(com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig value) { if (invocationConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3117,19 +2661,14 @@ public Builder setInvocationConfig( return this; } /** - * - * *
      * Immutable. If left unset, a default InvocationConfig will be used.
      * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; */ public Builder setInvocationConfig( - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.Builder - builderForValue) { + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.Builder builderForValue) { if (invocationConfigBuilder_ == null) { invocationConfig_ = builderForValue.build(); onChanged(); @@ -3140,25 +2679,17 @@ public Builder setInvocationConfig( return this; } /** - * - * *
      * Immutable. If left unset, a default InvocationConfig will be used.
      * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; */ - public Builder mergeInvocationConfig( - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig value) { + public Builder mergeInvocationConfig(com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig value) { if (invocationConfigBuilder_ == null) { if (invocationConfig_ != null) { invocationConfig_ = - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.newBuilder( - invocationConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.newBuilder(invocationConfig_).mergeFrom(value).buildPartial(); } else { invocationConfig_ = value; } @@ -3170,15 +2701,11 @@ public Builder mergeInvocationConfig( return this; } /** - * - * *
      * Immutable. If left unset, a default InvocationConfig will be used.
      * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; */ public Builder clearInvocationConfig() { if (invocationConfigBuilder_ == null) { @@ -3192,67 +2719,48 @@ public Builder clearInvocationConfig() { return this; } /** - * - * *
      * Immutable. If left unset, a default InvocationConfig will be used.
      * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; */ - public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.Builder - getInvocationConfigBuilder() { - + public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.Builder getInvocationConfigBuilder() { + onChanged(); return getInvocationConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Immutable. If left unset, a default InvocationConfig will be used.
      * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; */ - public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfigOrBuilder - getInvocationConfigOrBuilder() { + public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfigOrBuilder getInvocationConfigOrBuilder() { if (invocationConfigBuilder_ != null) { return invocationConfigBuilder_.getMessageOrBuilder(); } else { - return invocationConfig_ == null - ? com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig - .getDefaultInstance() - : invocationConfig_; + return invocationConfig_ == null ? + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.getDefaultInstance() : invocationConfig_; } } /** - * - * *
      * Immutable. If left unset, a default InvocationConfig will be used.
      * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig, - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.Builder, - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfigOrBuilder> + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig, com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.Builder, com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfigOrBuilder> getInvocationConfigFieldBuilder() { if (invocationConfigBuilder_ == null) { - invocationConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig, - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.Builder, - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfigOrBuilder>( - getInvocationConfig(), getParentForChildren(), isClean()); + invocationConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig, com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.Builder, com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfigOrBuilder>( + getInvocationConfig(), + getParentForChildren(), + isClean()); invocationConfig_ = null; } return invocationConfigBuilder_; @@ -3260,75 +2768,51 @@ public Builder clearInvocationConfig() { private int state_ = 0; /** - * - * *
      * Output only. This workflow invocation's current state.
      * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. This workflow invocation's current state.
      * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
      * Output only. This workflow invocation's current state.
      * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.State result = - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.State.valueOf(state_); - return result == null - ? com.google.cloud.dataform.v1alpha2.WorkflowInvocation.State.UNRECOGNIZED - : result; + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.State result = com.google.cloud.dataform.v1alpha2.WorkflowInvocation.State.valueOf(state_); + return result == null ? com.google.cloud.dataform.v1alpha2.WorkflowInvocation.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. This workflow invocation's current state.
      * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -3336,26 +2820,21 @@ public Builder setState(com.google.cloud.dataform.v1alpha2.WorkflowInvocation.St if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. This workflow invocation's current state.
      * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -3363,58 +2842,39 @@ public Builder clearState() { private com.google.type.Interval invocationTiming_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Interval, - com.google.type.Interval.Builder, - com.google.type.IntervalOrBuilder> - invocationTimingBuilder_; + com.google.type.Interval, com.google.type.Interval.Builder, com.google.type.IntervalOrBuilder> invocationTimingBuilder_; /** - * - * *
      * Output only. This workflow invocation's timing details.
      * 
* - * - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the invocationTiming field is set. */ public boolean hasInvocationTiming() { return invocationTimingBuilder_ != null || invocationTiming_ != null; } /** - * - * *
      * Output only. This workflow invocation's timing details.
      * 
* - * - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The invocationTiming. */ public com.google.type.Interval getInvocationTiming() { if (invocationTimingBuilder_ == null) { - return invocationTiming_ == null - ? com.google.type.Interval.getDefaultInstance() - : invocationTiming_; + return invocationTiming_ == null ? com.google.type.Interval.getDefaultInstance() : invocationTiming_; } else { return invocationTimingBuilder_.getMessage(); } } /** - * - * *
      * Output only. This workflow invocation's timing details.
      * 
* - * - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setInvocationTiming(com.google.type.Interval value) { if (invocationTimingBuilder_ == null) { @@ -3430,17 +2890,14 @@ public Builder setInvocationTiming(com.google.type.Interval value) { return this; } /** - * - * *
      * Output only. This workflow invocation's timing details.
      * 
* - * - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setInvocationTiming(com.google.type.Interval.Builder builderForValue) { + public Builder setInvocationTiming( + com.google.type.Interval.Builder builderForValue) { if (invocationTimingBuilder_ == null) { invocationTiming_ = builderForValue.build(); onChanged(); @@ -3451,23 +2908,17 @@ public Builder setInvocationTiming(com.google.type.Interval.Builder builderForVa return this; } /** - * - * *
      * Output only. This workflow invocation's timing details.
      * 
* - * - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeInvocationTiming(com.google.type.Interval value) { if (invocationTimingBuilder_ == null) { if (invocationTiming_ != null) { invocationTiming_ = - com.google.type.Interval.newBuilder(invocationTiming_) - .mergeFrom(value) - .buildPartial(); + com.google.type.Interval.newBuilder(invocationTiming_).mergeFrom(value).buildPartial(); } else { invocationTiming_ = value; } @@ -3479,15 +2930,11 @@ public Builder mergeInvocationTiming(com.google.type.Interval value) { return this; } /** - * - * *
      * Output only. This workflow invocation's timing details.
      * 
* - * - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearInvocationTiming() { if (invocationTimingBuilder_ == null) { @@ -3501,71 +2948,55 @@ public Builder clearInvocationTiming() { return this; } /** - * - * *
      * Output only. This workflow invocation's timing details.
      * 
* - * - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.type.Interval.Builder getInvocationTimingBuilder() { - + onChanged(); return getInvocationTimingFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. This workflow invocation's timing details.
      * 
* - * - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.type.IntervalOrBuilder getInvocationTimingOrBuilder() { if (invocationTimingBuilder_ != null) { return invocationTimingBuilder_.getMessageOrBuilder(); } else { - return invocationTiming_ == null - ? com.google.type.Interval.getDefaultInstance() - : invocationTiming_; + return invocationTiming_ == null ? + com.google.type.Interval.getDefaultInstance() : invocationTiming_; } } /** - * - * *
      * Output only. This workflow invocation's timing details.
      * 
* - * - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Interval, - com.google.type.Interval.Builder, - com.google.type.IntervalOrBuilder> + com.google.type.Interval, com.google.type.Interval.Builder, com.google.type.IntervalOrBuilder> getInvocationTimingFieldBuilder() { if (invocationTimingBuilder_ == null) { - invocationTimingBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Interval, - com.google.type.Interval.Builder, - com.google.type.IntervalOrBuilder>( - getInvocationTiming(), getParentForChildren(), isClean()); + invocationTimingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Interval, com.google.type.Interval.Builder, com.google.type.IntervalOrBuilder>( + getInvocationTiming(), + getParentForChildren(), + isClean()); invocationTiming_ = null; } return invocationTimingBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3575,12 +3006,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.WorkflowInvocation) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.WorkflowInvocation) private static final com.google.cloud.dataform.v1alpha2.WorkflowInvocation DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.WorkflowInvocation(); } @@ -3589,16 +3020,16 @@ public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkflowInvocation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WorkflowInvocation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WorkflowInvocation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WorkflowInvocation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3613,4 +3044,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.WorkflowInvocation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocationAction.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocationAction.java similarity index 63% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocationAction.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocationAction.java index d85097c..d07460a 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocationAction.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocationAction.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * Represents a single action in a workflow invocation.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.WorkflowInvocationAction} */ -public final class WorkflowInvocationAction extends com.google.protobuf.GeneratedMessageV3 - implements +public final class WorkflowInvocationAction extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.WorkflowInvocationAction) WorkflowInvocationActionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use WorkflowInvocationAction.newBuilder() to construct. private WorkflowInvocationAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private WorkflowInvocationAction() { state_ = 0; failureReason_ = ""; @@ -44,15 +26,16 @@ private WorkflowInvocationAction() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new WorkflowInvocationAction(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private WorkflowInvocationAction( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,93 +54,77 @@ private WorkflowInvocationAction( case 0: done = true; break; - case 10: - { - com.google.cloud.dataform.v1alpha2.Target.Builder subBuilder = null; - if (target_ != null) { - subBuilder = target_.toBuilder(); - } - target_ = - input.readMessage( - com.google.cloud.dataform.v1alpha2.Target.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(target_); - target_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.dataform.v1alpha2.Target.Builder subBuilder = null; + if (target_ != null) { + subBuilder = target_.toBuilder(); } - case 18: - { - com.google.cloud.dataform.v1alpha2.Target.Builder subBuilder = null; - if (canonicalTarget_ != null) { - subBuilder = canonicalTarget_.toBuilder(); - } - canonicalTarget_ = - input.readMessage( - com.google.cloud.dataform.v1alpha2.Target.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(canonicalTarget_); - canonicalTarget_ = subBuilder.buildPartial(); - } - - break; + target_ = input.readMessage(com.google.cloud.dataform.v1alpha2.Target.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(target_); + target_ = subBuilder.buildPartial(); } - case 32: - { - int rawValue = input.readEnum(); - state_ = rawValue; - break; + break; + } + case 18: { + com.google.cloud.dataform.v1alpha2.Target.Builder subBuilder = null; + if (canonicalTarget_ != null) { + subBuilder = canonicalTarget_.toBuilder(); } - case 42: - { - com.google.type.Interval.Builder subBuilder = null; - if (invocationTiming_ != null) { - subBuilder = invocationTiming_.toBuilder(); - } - invocationTiming_ = - input.readMessage(com.google.type.Interval.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(invocationTiming_); - invocationTiming_ = subBuilder.buildPartial(); - } - - break; + canonicalTarget_ = input.readMessage(com.google.cloud.dataform.v1alpha2.Target.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(canonicalTarget_); + canonicalTarget_ = subBuilder.buildPartial(); } - case 50: - { - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.Builder - subBuilder = null; - if (bigqueryAction_ != null) { - subBuilder = bigqueryAction_.toBuilder(); - } - bigqueryAction_ = - input.readMessage( - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(bigqueryAction_); - bigqueryAction_ = subBuilder.buildPartial(); - } - break; + break; + } + case 32: { + int rawValue = input.readEnum(); + + state_ = rawValue; + break; + } + case 42: { + com.google.type.Interval.Builder subBuilder = null; + if (invocationTiming_ != null) { + subBuilder = invocationTiming_.toBuilder(); + } + invocationTiming_ = input.readMessage(com.google.type.Interval.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(invocationTiming_); + invocationTiming_ = subBuilder.buildPartial(); } - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); - failureReason_ = s; - break; + break; + } + case 50: { + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.Builder subBuilder = null; + if (bigqueryAction_ != null) { + subBuilder = bigqueryAction_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + bigqueryAction_ = input.readMessage(com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(bigqueryAction_); + bigqueryAction_ = subBuilder.buildPartial(); } + + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + + failureReason_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -165,41 +132,36 @@ private WorkflowInvocationAction( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.class, - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.Builder.class); + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.class, com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.Builder.class); } /** - * - * *
    * Represents the current state of an workflow invocation action.
    * 
* * Protobuf enum {@code google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The action has not yet been considered for invocation.
      * 
@@ -208,8 +170,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ PENDING(0), /** - * - * *
      * The action is currently running.
      * 
@@ -218,8 +178,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ RUNNING(1), /** - * - * *
      * Execution of the action was skipped because upstream dependencies did not
      * all complete successfully. A terminal state.
@@ -229,8 +187,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     SKIPPED(2),
     /**
-     *
-     *
      * 
      * Execution of the action was disabled as per the configuration of the
      * corresponding compilation result action. A terminal state.
@@ -240,8 +196,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     DISABLED(3),
     /**
-     *
-     *
      * 
      * The action succeeded. A terminal state.
      * 
@@ -250,8 +204,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ SUCCEEDED(4), /** - * - * *
      * The action was cancelled. A terminal state.
      * 
@@ -260,8 +212,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CANCELLED(5), /** - * - * *
      * The action failed. A terminal state.
      * 
@@ -273,8 +223,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * The action has not yet been considered for invocation.
      * 
@@ -283,8 +231,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PENDING_VALUE = 0; /** - * - * *
      * The action is currently running.
      * 
@@ -293,8 +239,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RUNNING_VALUE = 1; /** - * - * *
      * Execution of the action was skipped because upstream dependencies did not
      * all complete successfully. A terminal state.
@@ -304,8 +248,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int SKIPPED_VALUE = 2;
     /**
-     *
-     *
      * 
      * Execution of the action was disabled as per the configuration of the
      * corresponding compilation result action. A terminal state.
@@ -315,8 +257,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int DISABLED_VALUE = 3;
     /**
-     *
-     *
      * 
      * The action succeeded. A terminal state.
      * 
@@ -325,8 +265,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCEEDED_VALUE = 4; /** - * - * *
      * The action was cancelled. A terminal state.
      * 
@@ -335,8 +273,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CANCELLED_VALUE = 5; /** - * - * *
      * The action failed. A terminal state.
      * 
@@ -345,6 +281,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 6; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -369,59 +306,53 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: - return PENDING; - case 1: - return RUNNING; - case 2: - return SKIPPED; - case 3: - return DISABLED; - case 4: - return SUCCEEDED; - case 5: - return CANCELLED; - case 6: - return FAILED; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { - return internalValueMap; + case 0: return PENDING; + case 1: return RUNNING; + case 2: return SKIPPED; + case 3: return DISABLED; + case 4: return SUCCEEDED; + case 5: return CANCELLED; + case 6: return FAILED; + default: return null; + } } - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.forNumber(number); - } - }; + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + State> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.getDescriptor().getEnumTypes().get(0); } private static final State[] VALUES = values(); - public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static State valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -438,70 +369,62 @@ private State(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State) } - public interface BigQueryActionOrBuilder - extends + public interface BigQueryActionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Output only. The generated BigQuery SQL script that will be executed.
      * 
* * string sql_script = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sqlScript. */ java.lang.String getSqlScript(); /** - * - * *
      * Output only. The generated BigQuery SQL script that will be executed.
      * 
* * string sql_script = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for sqlScript. */ - com.google.protobuf.ByteString getSqlScriptBytes(); + com.google.protobuf.ByteString + getSqlScriptBytes(); } /** - * - * *
    * Represents a workflow action that will run against BigQuery.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction} */ - public static final class BigQueryAction extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class BigQueryAction extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction) BigQueryActionOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BigQueryAction.newBuilder() to construct. private BigQueryAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BigQueryAction() { sqlScript_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BigQueryAction(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private BigQueryAction( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -520,20 +443,19 @@ private BigQueryAction( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - sqlScript_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + sqlScript_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -541,40 +463,34 @@ private BigQueryAction( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_BigQueryAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_BigQueryAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_BigQueryAction_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_BigQueryAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.class, - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.Builder - .class); + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.class, com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.Builder.class); } public static final int SQL_SCRIPT_FIELD_NUMBER = 1; private volatile java.lang.Object sqlScript_; /** - * - * *
      * Output only. The generated BigQuery SQL script that will be executed.
      * 
* * string sql_script = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sqlScript. */ @java.lang.Override @@ -583,29 +499,29 @@ public java.lang.String getSqlScript() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sqlScript_ = s; return s; } } /** - * - * *
      * Output only. The generated BigQuery SQL script that will be executed.
      * 
* * string sql_script = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for sqlScript. */ @java.lang.Override - public com.google.protobuf.ByteString getSqlScriptBytes() { + public com.google.protobuf.ByteString + getSqlScriptBytes() { java.lang.Object ref = sqlScript_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sqlScript_ = b; return b; } else { @@ -614,7 +530,6 @@ public com.google.protobuf.ByteString getSqlScriptBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -626,7 +541,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sqlScript_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sqlScript_); } @@ -650,16 +566,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction)) { + if (!(obj instanceof com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction other = - (com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction) obj; + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction other = (com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction) obj; - if (!getSqlScript().equals(other.getSqlScript())) return false; + if (!getSqlScript() + .equals(other.getSqlScript())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -678,101 +593,88 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -782,50 +684,44 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Represents a workflow action that will run against BigQuery.
      * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction) com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryActionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_BigQueryAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_BigQueryAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_BigQueryAction_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_BigQueryAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.class, - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.Builder - .class); + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.class, com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.Builder.class); } - // Construct using - // com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.newBuilder() + // Construct using com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -835,22 +731,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_BigQueryAction_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_BigQueryAction_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction - getDefaultInstanceForType() { - return com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction - .getDefaultInstance(); + public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction getDefaultInstanceForType() { + return com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction build() { - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction result = - buildPartial(); + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -858,10 +751,8 @@ public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryActio } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction - buildPartial() { - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction result = - new com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction(this); + public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction buildPartial() { + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction result = new com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction(this); result.sqlScript_ = sqlScript_; onBuilt(); return result; @@ -871,54 +762,46 @@ public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryActio public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction) { - return mergeFrom( - (com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction) other); + if (other instanceof com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction) { + return mergeFrom((com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction other) { - if (other - == com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction other) { + if (other == com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.getDefaultInstance()) return this; if (!other.getSqlScript().isEmpty()) { sqlScript_ = other.sqlScript_; onChanged(); @@ -938,14 +821,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction parsedMessage = - null; + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -957,20 +837,18 @@ public Builder mergeFrom( private java.lang.Object sqlScript_ = ""; /** - * - * *
        * Output only. The generated BigQuery SQL script that will be executed.
        * 
* * string sql_script = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sqlScript. */ public java.lang.String getSqlScript() { java.lang.Object ref = sqlScript_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sqlScript_ = s; return s; @@ -979,21 +857,20 @@ public java.lang.String getSqlScript() { } } /** - * - * *
        * Output only. The generated BigQuery SQL script that will be executed.
        * 
* * string sql_script = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for sqlScript. */ - public com.google.protobuf.ByteString getSqlScriptBytes() { + public com.google.protobuf.ByteString + getSqlScriptBytes() { java.lang.Object ref = sqlScript_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sqlScript_ = b; return b; } else { @@ -1001,66 +878,58 @@ public com.google.protobuf.ByteString getSqlScriptBytes() { } } /** - * - * *
        * Output only. The generated BigQuery SQL script that will be executed.
        * 
* * string sql_script = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The sqlScript to set. * @return This builder for chaining. */ - public Builder setSqlScript(java.lang.String value) { + public Builder setSqlScript( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sqlScript_ = value; onChanged(); return this; } /** - * - * *
        * Output only. The generated BigQuery SQL script that will be executed.
        * 
* * string sql_script = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearSqlScript() { - + sqlScript_ = getDefaultInstance().getSqlScript(); onChanged(); return this; } /** - * - * *
        * Output only. The generated BigQuery SQL script that will be executed.
        * 
* * string sql_script = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for sqlScript to set. * @return This builder for chaining. */ - public Builder setSqlScriptBytes(com.google.protobuf.ByteString value) { + public Builder setSqlScriptBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sqlScript_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1073,33 +942,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction) - private static final com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction - DEFAULT_INSTANCE; - + private static final com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction(); + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction(); } - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction - getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BigQueryAction parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BigQueryAction(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryAction parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BigQueryAction(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1111,25 +977,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction - getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int TARGET_FIELD_NUMBER = 1; private com.google.cloud.dataform.v1alpha2.Target target_; /** - * - * *
    * Output only. This action's identifier. Unique within the workflow invocation.
    * 
* - * - * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the target field is set. */ @java.lang.Override @@ -1137,34 +998,23 @@ public boolean hasTarget() { return target_ != null; } /** - * - * *
    * Output only. This action's identifier. Unique within the workflow invocation.
    * 
* - * - * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The target. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.Target getTarget() { - return target_ == null - ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() - : target_; + return target_ == null ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() : target_; } /** - * - * *
    * Output only. This action's identifier. Unique within the workflow invocation.
    * 
* - * - * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getTargetOrBuilder() { @@ -1174,17 +1024,12 @@ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getTargetOrBuilder() { public static final int CANONICAL_TARGET_FIELD_NUMBER = 2; private com.google.cloud.dataform.v1alpha2.Target canonicalTarget_; /** - * - * *
    * Output only. The action's identifier if the project had been compiled without any
    * overrides configured. Unique within the compilation result.
    * 
* - * - * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the canonicalTarget field is set. */ @java.lang.Override @@ -1192,36 +1037,25 @@ public boolean hasCanonicalTarget() { return canonicalTarget_ != null; } /** - * - * *
    * Output only. The action's identifier if the project had been compiled without any
    * overrides configured. Unique within the compilation result.
    * 
* - * - * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The canonicalTarget. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.Target getCanonicalTarget() { - return canonicalTarget_ == null - ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() - : canonicalTarget_; + return canonicalTarget_ == null ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() : canonicalTarget_; } /** - * - * *
    * Output only. The action's identifier if the project had been compiled without any
    * overrides configured. Unique within the compilation result.
    * 
* - * - * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getCanonicalTargetOrBuilder() { @@ -1231,56 +1065,38 @@ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getCanonicalTargetOrBu public static final int STATE_FIELD_NUMBER = 4; private int state_; /** - * - * *
    * Output only. This action's current state.
    * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. This action's current state.
    * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State getState() { + @java.lang.Override public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State result = - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State.valueOf(state_); - return result == null - ? com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State.UNRECOGNIZED - : result; + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State result = com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State.valueOf(state_); + return result == null ? com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State.UNRECOGNIZED : result; } public static final int FAILURE_REASON_FIELD_NUMBER = 7; private volatile java.lang.Object failureReason_; /** - * - * *
    * Output only. If and only if action's state is FAILED a failure reason is set.
    * 
* * string failure_reason = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The failureReason. */ @java.lang.Override @@ -1289,29 +1105,29 @@ public java.lang.String getFailureReason() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); failureReason_ = s; return s; } } /** - * - * *
    * Output only. If and only if action's state is FAILED a failure reason is set.
    * 
* * string failure_reason = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for failureReason. */ @java.lang.Override - public com.google.protobuf.ByteString getFailureReasonBytes() { + public com.google.protobuf.ByteString + getFailureReasonBytes() { java.lang.Object ref = failureReason_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); failureReason_ = b; return b; } else { @@ -1322,8 +1138,6 @@ public com.google.protobuf.ByteString getFailureReasonBytes() { public static final int INVOCATION_TIMING_FIELD_NUMBER = 5; private com.google.type.Interval invocationTiming_; /** - * - * *
    * Output only. This action's timing details.
    * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
@@ -1332,9 +1146,7 @@ public com.google.protobuf.ByteString getFailureReasonBytes() {
    * state.
    * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the invocationTiming field is set. */ @java.lang.Override @@ -1342,8 +1154,6 @@ public boolean hasInvocationTiming() { return invocationTiming_ != null; } /** - * - * *
    * Output only. This action's timing details.
    * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
@@ -1352,20 +1162,14 @@ public boolean hasInvocationTiming() {
    * state.
    * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The invocationTiming. */ @java.lang.Override public com.google.type.Interval getInvocationTiming() { - return invocationTiming_ == null - ? com.google.type.Interval.getDefaultInstance() - : invocationTiming_; + return invocationTiming_ == null ? com.google.type.Interval.getDefaultInstance() : invocationTiming_; } /** - * - * *
    * Output only. This action's timing details.
    * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
@@ -1374,8 +1178,7 @@ public com.google.type.Interval getInvocationTiming() {
    * state.
    * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.type.IntervalOrBuilder getInvocationTimingOrBuilder() { @@ -1383,19 +1186,13 @@ public com.google.type.IntervalOrBuilder getInvocationTimingOrBuilder() { } public static final int BIGQUERY_ACTION_FIELD_NUMBER = 6; - private com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction - bigqueryAction_; + private com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigqueryAction_; /** - * - * *
    * Output only. The workflow action's bigquery action details.
    * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the bigqueryAction field is set. */ @java.lang.Override @@ -1403,45 +1200,30 @@ public boolean hasBigqueryAction() { return bigqueryAction_ != null; } /** - * - * *
    * Output only. The workflow action's bigquery action details.
    * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bigqueryAction. */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction - getBigqueryAction() { - return bigqueryAction_ == null - ? com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction - .getDefaultInstance() - : bigqueryAction_; + public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction getBigqueryAction() { + return bigqueryAction_ == null ? com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.getDefaultInstance() : bigqueryAction_; } /** - * - * *
    * Output only. The workflow action's bigquery action details.
    * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryActionOrBuilder - getBigqueryActionOrBuilder() { + public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryActionOrBuilder getBigqueryActionOrBuilder() { return getBigqueryAction(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1453,15 +1235,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (target_ != null) { output.writeMessage(1, getTarget()); } if (canonicalTarget_ != null) { output.writeMessage(2, getCanonicalTarget()); } - if (state_ - != com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State.PENDING.getNumber()) { + if (state_ != com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State.PENDING.getNumber()) { output.writeEnum(4, state_); } if (invocationTiming_ != null) { @@ -1483,20 +1265,24 @@ public int getSerializedSize() { size = 0; if (target_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTarget()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getTarget()); } if (canonicalTarget_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCanonicalTarget()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCanonicalTarget()); } - if (state_ - != com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State.PENDING.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, state_); + if (state_ != com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State.PENDING.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, state_); } if (invocationTiming_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getInvocationTiming()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getInvocationTiming()); } if (bigqueryAction_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getBigqueryAction()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getBigqueryAction()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(failureReason_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, failureReason_); @@ -1509,31 +1295,35 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction other = - (com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction) obj; + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction other = (com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction) obj; if (hasTarget() != other.hasTarget()) return false; if (hasTarget()) { - if (!getTarget().equals(other.getTarget())) return false; + if (!getTarget() + .equals(other.getTarget())) return false; } if (hasCanonicalTarget() != other.hasCanonicalTarget()) return false; if (hasCanonicalTarget()) { - if (!getCanonicalTarget().equals(other.getCanonicalTarget())) return false; + if (!getCanonicalTarget() + .equals(other.getCanonicalTarget())) return false; } if (state_ != other.state_) return false; - if (!getFailureReason().equals(other.getFailureReason())) return false; + if (!getFailureReason() + .equals(other.getFailureReason())) return false; if (hasInvocationTiming() != other.hasInvocationTiming()) return false; if (hasInvocationTiming()) { - if (!getInvocationTiming().equals(other.getInvocationTiming())) return false; + if (!getInvocationTiming() + .equals(other.getInvocationTiming())) return false; } if (hasBigqueryAction() != other.hasBigqueryAction()) return false; if (hasBigqueryAction()) { - if (!getBigqueryAction().equals(other.getBigqueryAction())) return false; + if (!getBigqueryAction() + .equals(other.getBigqueryAction())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1572,127 +1362,117 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction prototype) { + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents a single action in a workflow invocation.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.WorkflowInvocationAction} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.WorkflowInvocationAction) com.google.cloud.dataform.v1alpha2.WorkflowInvocationActionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.class, - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.Builder.class); + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.class, com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.newBuilder() @@ -1700,15 +1480,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1744,9 +1525,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_descriptor; } @java.lang.Override @@ -1765,8 +1546,7 @@ public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction buildPartial() { - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction result = - new com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction(this); + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction result = new com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction(this); if (targetBuilder_ == null) { result.target_ = target_; } else { @@ -1797,39 +1577,38 @@ public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction buildPartial( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction)other); } else { super.mergeFrom(other); return this; @@ -1837,8 +1616,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction other) { - if (other == com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.getDefaultInstance()) return this; if (other.hasTarget()) { mergeTarget(other.getTarget()); } @@ -1877,8 +1655,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1890,58 +1667,39 @@ public Builder mergeFrom( private com.google.cloud.dataform.v1alpha2.Target target_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Target, - com.google.cloud.dataform.v1alpha2.Target.Builder, - com.google.cloud.dataform.v1alpha2.TargetOrBuilder> - targetBuilder_; + com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder> targetBuilder_; /** - * - * *
      * Output only. This action's identifier. Unique within the workflow invocation.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the target field is set. */ public boolean hasTarget() { return targetBuilder_ != null || target_ != null; } /** - * - * *
      * Output only. This action's identifier. Unique within the workflow invocation.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The target. */ public com.google.cloud.dataform.v1alpha2.Target getTarget() { if (targetBuilder_ == null) { - return target_ == null - ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() - : target_; + return target_ == null ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() : target_; } else { return targetBuilder_.getMessage(); } } /** - * - * *
      * Output only. This action's identifier. Unique within the workflow invocation.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setTarget(com.google.cloud.dataform.v1alpha2.Target value) { if (targetBuilder_ == null) { @@ -1957,17 +1715,14 @@ public Builder setTarget(com.google.cloud.dataform.v1alpha2.Target value) { return this; } /** - * - * *
      * Output only. This action's identifier. Unique within the workflow invocation.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setTarget(com.google.cloud.dataform.v1alpha2.Target.Builder builderForValue) { + public Builder setTarget( + com.google.cloud.dataform.v1alpha2.Target.Builder builderForValue) { if (targetBuilder_ == null) { target_ = builderForValue.build(); onChanged(); @@ -1978,23 +1733,17 @@ public Builder setTarget(com.google.cloud.dataform.v1alpha2.Target.Builder build return this; } /** - * - * *
      * Output only. This action's identifier. Unique within the workflow invocation.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeTarget(com.google.cloud.dataform.v1alpha2.Target value) { if (targetBuilder_ == null) { if (target_ != null) { target_ = - com.google.cloud.dataform.v1alpha2.Target.newBuilder(target_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.dataform.v1alpha2.Target.newBuilder(target_).mergeFrom(value).buildPartial(); } else { target_ = value; } @@ -2006,15 +1755,11 @@ public Builder mergeTarget(com.google.cloud.dataform.v1alpha2.Target value) { return this; } /** - * - * *
      * Output only. This action's identifier. Unique within the workflow invocation.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearTarget() { if (targetBuilder_ == null) { @@ -2028,64 +1773,48 @@ public Builder clearTarget() { return this; } /** - * - * *
      * Output only. This action's identifier. Unique within the workflow invocation.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.dataform.v1alpha2.Target.Builder getTargetBuilder() { - + onChanged(); return getTargetFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. This action's identifier. Unique within the workflow invocation.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getTargetOrBuilder() { if (targetBuilder_ != null) { return targetBuilder_.getMessageOrBuilder(); } else { - return target_ == null - ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() - : target_; + return target_ == null ? + com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() : target_; } } /** - * - * *
      * Output only. This action's identifier. Unique within the workflow invocation.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Target, - com.google.cloud.dataform.v1alpha2.Target.Builder, - com.google.cloud.dataform.v1alpha2.TargetOrBuilder> + com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder> getTargetFieldBuilder() { if (targetBuilder_ == null) { - targetBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Target, - com.google.cloud.dataform.v1alpha2.Target.Builder, - com.google.cloud.dataform.v1alpha2.TargetOrBuilder>( - getTarget(), getParentForChildren(), isClean()); + targetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder>( + getTarget(), + getParentForChildren(), + isClean()); target_ = null; } return targetBuilder_; @@ -2093,61 +1822,42 @@ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getTargetOrBuilder() { private com.google.cloud.dataform.v1alpha2.Target canonicalTarget_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Target, - com.google.cloud.dataform.v1alpha2.Target.Builder, - com.google.cloud.dataform.v1alpha2.TargetOrBuilder> - canonicalTargetBuilder_; + com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder> canonicalTargetBuilder_; /** - * - * *
      * Output only. The action's identifier if the project had been compiled without any
      * overrides configured. Unique within the compilation result.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the canonicalTarget field is set. */ public boolean hasCanonicalTarget() { return canonicalTargetBuilder_ != null || canonicalTarget_ != null; } /** - * - * *
      * Output only. The action's identifier if the project had been compiled without any
      * overrides configured. Unique within the compilation result.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The canonicalTarget. */ public com.google.cloud.dataform.v1alpha2.Target getCanonicalTarget() { if (canonicalTargetBuilder_ == null) { - return canonicalTarget_ == null - ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() - : canonicalTarget_; + return canonicalTarget_ == null ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() : canonicalTarget_; } else { return canonicalTargetBuilder_.getMessage(); } } /** - * - * *
      * Output only. The action's identifier if the project had been compiled without any
      * overrides configured. Unique within the compilation result.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCanonicalTarget(com.google.cloud.dataform.v1alpha2.Target value) { if (canonicalTargetBuilder_ == null) { @@ -2163,16 +1873,12 @@ public Builder setCanonicalTarget(com.google.cloud.dataform.v1alpha2.Target valu return this; } /** - * - * *
      * Output only. The action's identifier if the project had been compiled without any
      * overrides configured. Unique within the compilation result.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCanonicalTarget( com.google.cloud.dataform.v1alpha2.Target.Builder builderForValue) { @@ -2186,24 +1892,18 @@ public Builder setCanonicalTarget( return this; } /** - * - * *
      * Output only. The action's identifier if the project had been compiled without any
      * overrides configured. Unique within the compilation result.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCanonicalTarget(com.google.cloud.dataform.v1alpha2.Target value) { if (canonicalTargetBuilder_ == null) { if (canonicalTarget_ != null) { canonicalTarget_ = - com.google.cloud.dataform.v1alpha2.Target.newBuilder(canonicalTarget_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.dataform.v1alpha2.Target.newBuilder(canonicalTarget_).mergeFrom(value).buildPartial(); } else { canonicalTarget_ = value; } @@ -2215,16 +1915,12 @@ public Builder mergeCanonicalTarget(com.google.cloud.dataform.v1alpha2.Target va return this; } /** - * - * *
      * Output only. The action's identifier if the project had been compiled without any
      * overrides configured. Unique within the compilation result.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCanonicalTarget() { if (canonicalTargetBuilder_ == null) { @@ -2238,67 +1934,51 @@ public Builder clearCanonicalTarget() { return this; } /** - * - * *
      * Output only. The action's identifier if the project had been compiled without any
      * overrides configured. Unique within the compilation result.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.dataform.v1alpha2.Target.Builder getCanonicalTargetBuilder() { - + onChanged(); return getCanonicalTargetFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The action's identifier if the project had been compiled without any
      * overrides configured. Unique within the compilation result.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getCanonicalTargetOrBuilder() { if (canonicalTargetBuilder_ != null) { return canonicalTargetBuilder_.getMessageOrBuilder(); } else { - return canonicalTarget_ == null - ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() - : canonicalTarget_; + return canonicalTarget_ == null ? + com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() : canonicalTarget_; } } /** - * - * *
      * Output only. The action's identifier if the project had been compiled without any
      * overrides configured. Unique within the compilation result.
      * 
* - * - * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Target, - com.google.cloud.dataform.v1alpha2.Target.Builder, - com.google.cloud.dataform.v1alpha2.TargetOrBuilder> + com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder> getCanonicalTargetFieldBuilder() { if (canonicalTargetBuilder_ == null) { - canonicalTargetBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Target, - com.google.cloud.dataform.v1alpha2.Target.Builder, - com.google.cloud.dataform.v1alpha2.TargetOrBuilder>( - getCanonicalTarget(), getParentForChildren(), isClean()); + canonicalTargetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder>( + getCanonicalTarget(), + getParentForChildren(), + isClean()); canonicalTarget_ = null; } return canonicalTargetBuilder_; @@ -2306,103 +1986,73 @@ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getCanonicalTargetOrBu private int state_ = 0; /** - * - * *
      * Output only. This action's current state.
      * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. This action's current state.
      * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
      * Output only. This action's current state.
      * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State result = - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State.valueOf(state_); - return result == null - ? com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State.UNRECOGNIZED - : result; + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State result = com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State.valueOf(state_); + return result == null ? com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. This action's current state.
      * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ - public Builder setState( - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State value) { + public Builder setState(com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. This action's current state.
      * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -2410,20 +2060,18 @@ public Builder clearState() { private java.lang.Object failureReason_ = ""; /** - * - * *
      * Output only. If and only if action's state is FAILED a failure reason is set.
      * 
* * string failure_reason = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The failureReason. */ public java.lang.String getFailureReason() { java.lang.Object ref = failureReason_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); failureReason_ = s; return s; @@ -2432,21 +2080,20 @@ public java.lang.String getFailureReason() { } } /** - * - * *
      * Output only. If and only if action's state is FAILED a failure reason is set.
      * 
* * string failure_reason = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for failureReason. */ - public com.google.protobuf.ByteString getFailureReasonBytes() { + public com.google.protobuf.ByteString + getFailureReasonBytes() { java.lang.Object ref = failureReason_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); failureReason_ = b; return b; } else { @@ -2454,61 +2101,54 @@ public com.google.protobuf.ByteString getFailureReasonBytes() { } } /** - * - * *
      * Output only. If and only if action's state is FAILED a failure reason is set.
      * 
* * string failure_reason = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The failureReason to set. * @return This builder for chaining. */ - public Builder setFailureReason(java.lang.String value) { + public Builder setFailureReason( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + failureReason_ = value; onChanged(); return this; } /** - * - * *
      * Output only. If and only if action's state is FAILED a failure reason is set.
      * 
* * string failure_reason = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearFailureReason() { - + failureReason_ = getDefaultInstance().getFailureReason(); onChanged(); return this; } /** - * - * *
      * Output only. If and only if action's state is FAILED a failure reason is set.
      * 
* * string failure_reason = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for failureReason to set. * @return This builder for chaining. */ - public Builder setFailureReasonBytes(com.google.protobuf.ByteString value) { + public Builder setFailureReasonBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + failureReason_ = value; onChanged(); return this; @@ -2516,13 +2156,8 @@ public Builder setFailureReasonBytes(com.google.protobuf.ByteString value) { private com.google.type.Interval invocationTiming_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Interval, - com.google.type.Interval.Builder, - com.google.type.IntervalOrBuilder> - invocationTimingBuilder_; + com.google.type.Interval, com.google.type.Interval.Builder, com.google.type.IntervalOrBuilder> invocationTimingBuilder_; /** - * - * *
      * Output only. This action's timing details.
      * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
@@ -2531,18 +2166,13 @@ public Builder setFailureReasonBytes(com.google.protobuf.ByteString value) {
      * state.
      * 
* - * - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the invocationTiming field is set. */ public boolean hasInvocationTiming() { return invocationTimingBuilder_ != null || invocationTiming_ != null; } /** - * - * *
      * Output only. This action's timing details.
      * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
@@ -2551,24 +2181,17 @@ public boolean hasInvocationTiming() {
      * state.
      * 
* - * - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The invocationTiming. */ public com.google.type.Interval getInvocationTiming() { if (invocationTimingBuilder_ == null) { - return invocationTiming_ == null - ? com.google.type.Interval.getDefaultInstance() - : invocationTiming_; + return invocationTiming_ == null ? com.google.type.Interval.getDefaultInstance() : invocationTiming_; } else { return invocationTimingBuilder_.getMessage(); } } /** - * - * *
      * Output only. This action's timing details.
      * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
@@ -2577,9 +2200,7 @@ public com.google.type.Interval getInvocationTiming() {
      * state.
      * 
* - * - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setInvocationTiming(com.google.type.Interval value) { if (invocationTimingBuilder_ == null) { @@ -2595,8 +2216,6 @@ public Builder setInvocationTiming(com.google.type.Interval value) { return this; } /** - * - * *
      * Output only. This action's timing details.
      * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
@@ -2605,11 +2224,10 @@ public Builder setInvocationTiming(com.google.type.Interval value) {
      * state.
      * 
* - * - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setInvocationTiming(com.google.type.Interval.Builder builderForValue) { + public Builder setInvocationTiming( + com.google.type.Interval.Builder builderForValue) { if (invocationTimingBuilder_ == null) { invocationTiming_ = builderForValue.build(); onChanged(); @@ -2620,8 +2238,6 @@ public Builder setInvocationTiming(com.google.type.Interval.Builder builderForVa return this; } /** - * - * *
      * Output only. This action's timing details.
      * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
@@ -2630,17 +2246,13 @@ public Builder setInvocationTiming(com.google.type.Interval.Builder builderForVa
      * state.
      * 
* - * - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeInvocationTiming(com.google.type.Interval value) { if (invocationTimingBuilder_ == null) { if (invocationTiming_ != null) { invocationTiming_ = - com.google.type.Interval.newBuilder(invocationTiming_) - .mergeFrom(value) - .buildPartial(); + com.google.type.Interval.newBuilder(invocationTiming_).mergeFrom(value).buildPartial(); } else { invocationTiming_ = value; } @@ -2652,8 +2264,6 @@ public Builder mergeInvocationTiming(com.google.type.Interval value) { return this; } /** - * - * *
      * Output only. This action's timing details.
      * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
@@ -2662,9 +2272,7 @@ public Builder mergeInvocationTiming(com.google.type.Interval value) {
      * state.
      * 
* - * - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearInvocationTiming() { if (invocationTimingBuilder_ == null) { @@ -2678,8 +2286,6 @@ public Builder clearInvocationTiming() { return this; } /** - * - * *
      * Output only. This action's timing details.
      * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
@@ -2688,18 +2294,14 @@ public Builder clearInvocationTiming() {
      * state.
      * 
* - * - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.type.Interval.Builder getInvocationTimingBuilder() { - + onChanged(); return getInvocationTimingFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. This action's timing details.
      * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
@@ -2708,22 +2310,17 @@ public com.google.type.Interval.Builder getInvocationTimingBuilder() {
      * state.
      * 
* - * - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.type.IntervalOrBuilder getInvocationTimingOrBuilder() { if (invocationTimingBuilder_ != null) { return invocationTimingBuilder_.getMessageOrBuilder(); } else { - return invocationTiming_ == null - ? com.google.type.Interval.getDefaultInstance() - : invocationTiming_; + return invocationTiming_ == null ? + com.google.type.Interval.getDefaultInstance() : invocationTiming_; } } /** - * - * *
      * Output only. This action's timing details.
      * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
@@ -2732,87 +2329,59 @@ public com.google.type.IntervalOrBuilder getInvocationTimingOrBuilder() {
      * state.
      * 
* - * - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Interval, - com.google.type.Interval.Builder, - com.google.type.IntervalOrBuilder> + com.google.type.Interval, com.google.type.Interval.Builder, com.google.type.IntervalOrBuilder> getInvocationTimingFieldBuilder() { if (invocationTimingBuilder_ == null) { - invocationTimingBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Interval, - com.google.type.Interval.Builder, - com.google.type.IntervalOrBuilder>( - getInvocationTiming(), getParentForChildren(), isClean()); + invocationTimingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Interval, com.google.type.Interval.Builder, com.google.type.IntervalOrBuilder>( + getInvocationTiming(), + getParentForChildren(), + isClean()); invocationTiming_ = null; } return invocationTimingBuilder_; } - private com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction - bigqueryAction_; + private com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigqueryAction_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction, - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.Builder, - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryActionOrBuilder> - bigqueryActionBuilder_; + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction, com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.Builder, com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryActionOrBuilder> bigqueryActionBuilder_; /** - * - * *
      * Output only. The workflow action's bigquery action details.
      * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the bigqueryAction field is set. */ public boolean hasBigqueryAction() { return bigqueryActionBuilder_ != null || bigqueryAction_ != null; } /** - * - * *
      * Output only. The workflow action's bigquery action details.
      * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bigqueryAction. */ - public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction - getBigqueryAction() { + public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction getBigqueryAction() { if (bigqueryActionBuilder_ == null) { - return bigqueryAction_ == null - ? com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction - .getDefaultInstance() - : bigqueryAction_; + return bigqueryAction_ == null ? com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.getDefaultInstance() : bigqueryAction_; } else { return bigqueryActionBuilder_.getMessage(); } } /** - * - * *
      * Output only. The workflow action's bigquery action details.
      * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setBigqueryAction( - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction value) { + public Builder setBigqueryAction(com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction value) { if (bigqueryActionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2826,19 +2395,14 @@ public Builder setBigqueryAction( return this; } /** - * - * *
      * Output only. The workflow action's bigquery action details.
      * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setBigqueryAction( - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.Builder - builderForValue) { + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.Builder builderForValue) { if (bigqueryActionBuilder_ == null) { bigqueryAction_ = builderForValue.build(); onChanged(); @@ -2849,25 +2413,17 @@ public Builder setBigqueryAction( return this; } /** - * - * *
      * Output only. The workflow action's bigquery action details.
      * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder mergeBigqueryAction( - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction value) { + public Builder mergeBigqueryAction(com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction value) { if (bigqueryActionBuilder_ == null) { if (bigqueryAction_ != null) { bigqueryAction_ = - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.newBuilder( - bigqueryAction_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.newBuilder(bigqueryAction_).mergeFrom(value).buildPartial(); } else { bigqueryAction_ = value; } @@ -2879,15 +2435,11 @@ public Builder mergeBigqueryAction( return this; } /** - * - * *
      * Output only. The workflow action's bigquery action details.
      * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearBigqueryAction() { if (bigqueryActionBuilder_ == null) { @@ -2901,75 +2453,55 @@ public Builder clearBigqueryAction() { return this; } /** - * - * *
      * Output only. The workflow action's bigquery action details.
      * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.Builder - getBigqueryActionBuilder() { - + public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.Builder getBigqueryActionBuilder() { + onChanged(); return getBigqueryActionFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The workflow action's bigquery action details.
      * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryActionOrBuilder - getBigqueryActionOrBuilder() { + public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryActionOrBuilder getBigqueryActionOrBuilder() { if (bigqueryActionBuilder_ != null) { return bigqueryActionBuilder_.getMessageOrBuilder(); } else { - return bigqueryAction_ == null - ? com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction - .getDefaultInstance() - : bigqueryAction_; + return bigqueryAction_ == null ? + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.getDefaultInstance() : bigqueryAction_; } } /** - * - * *
      * Output only. The workflow action's bigquery action details.
      * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction, - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.Builder, - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryActionOrBuilder> + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction, com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.Builder, com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryActionOrBuilder> getBigqueryActionFieldBuilder() { if (bigqueryActionBuilder_ == null) { - bigqueryActionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction, - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.Builder, - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction - .BigQueryActionOrBuilder>( - getBigqueryAction(), getParentForChildren(), isClean()); + bigqueryActionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction, com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.Builder, com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryActionOrBuilder>( + getBigqueryAction(), + getParentForChildren(), + isClean()); bigqueryAction_ = null; } return bigqueryActionBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2979,12 +2511,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.WorkflowInvocationAction) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.WorkflowInvocationAction) private static final com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction(); } @@ -2993,16 +2525,16 @@ public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkflowInvocationAction parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WorkflowInvocationAction(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WorkflowInvocationAction parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WorkflowInvocationAction(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3017,4 +2549,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocationActionOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocationActionOrBuilder.java similarity index 62% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocationActionOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocationActionOrBuilder.java index 7d71d2e..e9403af 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocationActionOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocationActionOrBuilder.java @@ -1,170 +1,109 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface WorkflowInvocationActionOrBuilder - extends +public interface WorkflowInvocationActionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.WorkflowInvocationAction) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. This action's identifier. Unique within the workflow invocation.
    * 
* - * - * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the target field is set. */ boolean hasTarget(); /** - * - * *
    * Output only. This action's identifier. Unique within the workflow invocation.
    * 
* - * - * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The target. */ com.google.cloud.dataform.v1alpha2.Target getTarget(); /** - * - * *
    * Output only. This action's identifier. Unique within the workflow invocation.
    * 
* - * - * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.dataform.v1alpha2.TargetOrBuilder getTargetOrBuilder(); /** - * - * *
    * Output only. The action's identifier if the project had been compiled without any
    * overrides configured. Unique within the compilation result.
    * 
* - * - * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the canonicalTarget field is set. */ boolean hasCanonicalTarget(); /** - * - * *
    * Output only. The action's identifier if the project had been compiled without any
    * overrides configured. Unique within the compilation result.
    * 
* - * - * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The canonicalTarget. */ com.google.cloud.dataform.v1alpha2.Target getCanonicalTarget(); /** - * - * *
    * Output only. The action's identifier if the project had been compiled without any
    * overrides configured. Unique within the compilation result.
    * 
* - * - * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.dataform.v1alpha2.TargetOrBuilder getCanonicalTargetOrBuilder(); /** - * - * *
    * Output only. This action's current state.
    * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. This action's current state.
    * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State getState(); /** - * - * *
    * Output only. If and only if action's state is FAILED a failure reason is set.
    * 
* * string failure_reason = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The failureReason. */ java.lang.String getFailureReason(); /** - * - * *
    * Output only. If and only if action's state is FAILED a failure reason is set.
    * 
* * string failure_reason = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for failureReason. */ - com.google.protobuf.ByteString getFailureReasonBytes(); + com.google.protobuf.ByteString + getFailureReasonBytes(); /** - * - * *
    * Output only. This action's timing details.
    * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
@@ -173,15 +112,11 @@ public interface WorkflowInvocationActionOrBuilder
    * state.
    * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the invocationTiming field is set. */ boolean hasInvocationTiming(); /** - * - * *
    * Output only. This action's timing details.
    * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
@@ -190,15 +125,11 @@ public interface WorkflowInvocationActionOrBuilder
    * state.
    * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The invocationTiming. */ com.google.type.Interval getInvocationTiming(); /** - * - * *
    * Output only. This action's timing details.
    * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
@@ -207,50 +138,34 @@ public interface WorkflowInvocationActionOrBuilder
    * state.
    * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.type.IntervalOrBuilder getInvocationTimingOrBuilder(); /** - * - * *
    * Output only. The workflow action's bigquery action details.
    * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the bigqueryAction field is set. */ boolean hasBigqueryAction(); /** - * - * *
    * Output only. The workflow action's bigquery action details.
    * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The bigqueryAction. */ com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction getBigqueryAction(); /** - * - * *
    * Output only. The workflow action's bigquery action details.
    * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryActionOrBuilder - getBigqueryActionOrBuilder(); + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryActionOrBuilder getBigqueryActionOrBuilder(); } diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocationName.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocationName.java similarity index 100% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocationName.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocationName.java diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocationOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocationOrBuilder.java similarity index 57% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocationOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocationOrBuilder.java index 7e7a944..6c64377 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocationOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocationOrBuilder.java @@ -1,190 +1,124 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface WorkflowInvocationOrBuilder - extends +public interface WorkflowInvocationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.WorkflowInvocation) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The workflow invocation's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The workflow invocation's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Immutable. The name of the compilation result to compile. Must be in the format
    * `projects/*/locations/*/repositories/*/compilationResults/*`.
    * 
* - * - * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The compilationResult. */ java.lang.String getCompilationResult(); /** - * - * *
    * Immutable. The name of the compilation result to compile. Must be in the format
    * `projects/*/locations/*/repositories/*/compilationResults/*`.
    * 
* - * - * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The bytes for compilationResult. */ - com.google.protobuf.ByteString getCompilationResultBytes(); + com.google.protobuf.ByteString + getCompilationResultBytes(); /** - * - * *
    * Immutable. If left unset, a default InvocationConfig will be used.
    * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; * @return Whether the invocationConfig field is set. */ boolean hasInvocationConfig(); /** - * - * *
    * Immutable. If left unset, a default InvocationConfig will be used.
    * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; * @return The invocationConfig. */ com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig getInvocationConfig(); /** - * - * *
    * Immutable. If left unset, a default InvocationConfig will be used.
    * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; */ - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfigOrBuilder - getInvocationConfigOrBuilder(); + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfigOrBuilder getInvocationConfigOrBuilder(); /** - * - * *
    * Output only. This workflow invocation's current state.
    * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. This workflow invocation's current state.
    * 
* - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.cloud.dataform.v1alpha2.WorkflowInvocation.State getState(); /** - * - * *
    * Output only. This workflow invocation's timing details.
    * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the invocationTiming field is set. */ boolean hasInvocationTiming(); /** - * - * *
    * Output only. This workflow invocation's timing details.
    * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The invocationTiming. */ com.google.type.Interval getInvocationTiming(); /** - * - * *
    * Output only. This workflow invocation's timing details.
    * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.type.IntervalOrBuilder getInvocationTimingOrBuilder(); } diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/Workspace.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/Workspace.java similarity index 68% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/Workspace.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/Workspace.java index ffd76ac..a8b0359 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/Workspace.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/Workspace.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * Represents a Dataform Git workspace.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.Workspace} */ -public final class Workspace extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Workspace extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.Workspace) WorkspaceOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Workspace.newBuilder() to construct. private Workspace(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Workspace() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Workspace(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Workspace( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private Workspace( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private Workspace( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_Workspace_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_Workspace_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_Workspace_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_Workspace_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.Workspace.class, - com.google.cloud.dataform.v1alpha2.Workspace.Builder.class); + com.google.cloud.dataform.v1alpha2.Workspace.class, com.google.cloud.dataform.v1alpha2.Workspace.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Output only. The workspace's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -132,29 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The workspace's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.Workspace)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.Workspace other = - (com.google.cloud.dataform.v1alpha2.Workspace) obj; + com.google.cloud.dataform.v1alpha2.Workspace other = (com.google.cloud.dataform.v1alpha2.Workspace) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -226,127 +203,118 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataform.v1alpha2.Workspace parseFrom(java.nio.ByteBuffer data) + public static com.google.cloud.dataform.v1alpha2.Workspace parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.Workspace parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.Workspace parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.Workspace parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.Workspace parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.Workspace parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.Workspace parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.Workspace parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.Workspace parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.Workspace parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.Workspace parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.Workspace parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.Workspace parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.Workspace prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Represents a Dataform Git workspace.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.Workspace} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.Workspace) com.google.cloud.dataform.v1alpha2.WorkspaceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_Workspace_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_Workspace_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_Workspace_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_Workspace_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.Workspace.class, - com.google.cloud.dataform.v1alpha2.Workspace.Builder.class); + com.google.cloud.dataform.v1alpha2.Workspace.class, com.google.cloud.dataform.v1alpha2.Workspace.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.Workspace.newBuilder() @@ -354,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -372,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_Workspace_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_Workspace_descriptor; } @java.lang.Override @@ -393,8 +362,7 @@ public com.google.cloud.dataform.v1alpha2.Workspace build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.Workspace buildPartial() { - com.google.cloud.dataform.v1alpha2.Workspace result = - new com.google.cloud.dataform.v1alpha2.Workspace(this); + com.google.cloud.dataform.v1alpha2.Workspace result = new com.google.cloud.dataform.v1alpha2.Workspace(this); result.name_ = name_; onBuilt(); return result; @@ -404,39 +372,38 @@ public com.google.cloud.dataform.v1alpha2.Workspace buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.Workspace) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.Workspace) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.Workspace)other); } else { super.mergeFrom(other); return this; @@ -480,20 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Output only. The workspace's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -502,21 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The workspace's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -524,68 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The workspace's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The workspace's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The workspace's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -595,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.Workspace) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.Workspace) private static final com.google.cloud.dataform.v1alpha2.Workspace DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.Workspace(); } @@ -609,16 +566,16 @@ public static com.google.cloud.dataform.v1alpha2.Workspace getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Workspace parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Workspace(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Workspace parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Workspace(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -633,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.Workspace getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkspaceName.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkspaceName.java similarity index 100% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkspaceName.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkspaceName.java diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkspaceOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkspaceOrBuilder.java new file mode 100644 index 0000000..fffe1bc --- /dev/null +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkspaceOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1alpha2/dataform.proto + +package com.google.cloud.dataform.v1alpha2; + +public interface WorkspaceOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.Workspace) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Output only. The workspace's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Output only. The workspace's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileRequest.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileRequest.java similarity index 67% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileRequest.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileRequest.java index 71a6e5c..59f00cb 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileRequest.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * `WriteFile` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.WriteFileRequest} */ -public final class WriteFileRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class WriteFileRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.WriteFileRequest) WriteFileRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use WriteFileRequest.newBuilder() to construct. private WriteFileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private WriteFileRequest() { workspace_ = ""; path_ = ""; @@ -45,15 +27,16 @@ private WriteFileRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new WriteFileRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private WriteFileRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,32 +55,30 @@ private WriteFileRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - workspace_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + workspace_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - path_ = s; - break; - } - case 26: - { - contents_ = input.readBytes(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + path_ = s; + break; + } + case 26: { + + contents_ = input.readBytes(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,41 +86,34 @@ private WriteFileRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_WriteFileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WriteFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_WriteFileRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WriteFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.WriteFileRequest.class, - com.google.cloud.dataform.v1alpha2.WriteFileRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.WriteFileRequest.class, com.google.cloud.dataform.v1alpha2.WriteFileRequest.Builder.class); } public static final int WORKSPACE_FIELD_NUMBER = 1; private volatile java.lang.Object workspace_; /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The workspace. */ @java.lang.Override @@ -148,31 +122,29 @@ public java.lang.String getWorkspace() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; } } /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for workspace. */ @java.lang.Override - public com.google.protobuf.ByteString getWorkspaceBytes() { + public com.google.protobuf.ByteString + getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); workspace_ = b; return b; } else { @@ -183,14 +155,11 @@ public com.google.protobuf.ByteString getWorkspaceBytes() { public static final int PATH_FIELD_NUMBER = 2; private volatile java.lang.Object path_; /** - * - * *
    * Required. The file.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The path. */ @java.lang.Override @@ -199,29 +168,29 @@ public java.lang.String getPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } } /** - * - * *
    * Required. The file.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for path. */ @java.lang.Override - public com.google.protobuf.ByteString getPathBytes() { + public com.google.protobuf.ByteString + getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); path_ = b; return b; } else { @@ -232,14 +201,11 @@ public com.google.protobuf.ByteString getPathBytes() { public static final int CONTENTS_FIELD_NUMBER = 3; private com.google.protobuf.ByteString contents_; /** - * - * *
    * Required. The file's contents.
    * 
* * bytes contents = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The contents. */ @java.lang.Override @@ -248,7 +214,6 @@ public com.google.protobuf.ByteString getContents() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -260,7 +225,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workspace_); } @@ -286,7 +252,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, path_); } if (!contents_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(3, contents_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(3, contents_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -296,17 +263,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.WriteFileRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.WriteFileRequest other = - (com.google.cloud.dataform.v1alpha2.WriteFileRequest) obj; + com.google.cloud.dataform.v1alpha2.WriteFileRequest other = (com.google.cloud.dataform.v1alpha2.WriteFileRequest) obj; - if (!getWorkspace().equals(other.getWorkspace())) return false; - if (!getPath().equals(other.getPath())) return false; - if (!getContents().equals(other.getContents())) return false; + if (!getWorkspace() + .equals(other.getWorkspace())) return false; + if (!getPath() + .equals(other.getPath())) return false; + if (!getContents() + .equals(other.getContents())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -330,126 +299,117 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.WriteFileRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.WriteFileRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.WriteFileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.WriteFileRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.WriteFileRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.WriteFileRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.WriteFileRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.WriteFileRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.WriteFileRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.WriteFileRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.WriteFileRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.WriteFileRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.WriteFileRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.WriteFileRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.WriteFileRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `WriteFile` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.WriteFileRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.WriteFileRequest) com.google.cloud.dataform.v1alpha2.WriteFileRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_WriteFileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WriteFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_WriteFileRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WriteFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.WriteFileRequest.class, - com.google.cloud.dataform.v1alpha2.WriteFileRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.WriteFileRequest.class, com.google.cloud.dataform.v1alpha2.WriteFileRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.WriteFileRequest.newBuilder() @@ -457,15 +417,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -479,9 +440,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_WriteFileRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WriteFileRequest_descriptor; } @java.lang.Override @@ -500,8 +461,7 @@ public com.google.cloud.dataform.v1alpha2.WriteFileRequest build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.WriteFileRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.WriteFileRequest result = - new com.google.cloud.dataform.v1alpha2.WriteFileRequest(this); + com.google.cloud.dataform.v1alpha2.WriteFileRequest result = new com.google.cloud.dataform.v1alpha2.WriteFileRequest(this); result.workspace_ = workspace_; result.path_ = path_; result.contents_ = contents_; @@ -513,39 +473,38 @@ public com.google.cloud.dataform.v1alpha2.WriteFileRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.WriteFileRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.WriteFileRequest) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.WriteFileRequest)other); } else { super.mergeFrom(other); return this; @@ -553,8 +512,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.WriteFileRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.WriteFileRequest.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataform.v1alpha2.WriteFileRequest.getDefaultInstance()) return this; if (!other.getWorkspace().isEmpty()) { workspace_ = other.workspace_; onChanged(); @@ -585,8 +543,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.WriteFileRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.WriteFileRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -598,22 +555,18 @@ public Builder mergeFrom( private java.lang.Object workspace_ = ""; /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The workspace. */ public java.lang.String getWorkspace() { java.lang.Object ref = workspace_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; @@ -622,23 +575,20 @@ public java.lang.String getWorkspace() { } } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for workspace. */ - public com.google.protobuf.ByteString getWorkspaceBytes() { + public com.google.protobuf.ByteString + getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); workspace_ = b; return b; } else { @@ -646,67 +596,54 @@ public com.google.protobuf.ByteString getWorkspaceBytes() { } } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The workspace to set. * @return This builder for chaining. */ - public Builder setWorkspace(java.lang.String value) { + public Builder setWorkspace( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + workspace_ = value; onChanged(); return this; } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearWorkspace() { - + workspace_ = getDefaultInstance().getWorkspace(); onChanged(); return this; } /** - * - * *
      * Required. The workspace's name.
      * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for workspace to set. * @return This builder for chaining. */ - public Builder setWorkspaceBytes(com.google.protobuf.ByteString value) { + public Builder setWorkspaceBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workspace_ = value; onChanged(); return this; @@ -714,20 +651,18 @@ public Builder setWorkspaceBytes(com.google.protobuf.ByteString value) { private java.lang.Object path_ = ""; /** - * - * *
      * Required. The file.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; @@ -736,21 +671,20 @@ public java.lang.String getPath() { } } /** - * - * *
      * Required. The file.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for path. */ - public com.google.protobuf.ByteString getPathBytes() { + public com.google.protobuf.ByteString + getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); path_ = b; return b; } else { @@ -758,61 +692,54 @@ public com.google.protobuf.ByteString getPathBytes() { } } /** - * - * *
      * Required. The file.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath(java.lang.String value) { + public Builder setPath( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + path_ = value; onChanged(); return this; } /** - * - * *
      * Required. The file.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearPath() { - + path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** - * - * *
      * Required. The file.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes(com.google.protobuf.ByteString value) { + public Builder setPathBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; onChanged(); return this; @@ -820,14 +747,11 @@ public Builder setPathBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.ByteString contents_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * Required. The file's contents.
      * 
* * bytes contents = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The contents. */ @java.lang.Override @@ -835,46 +759,40 @@ public com.google.protobuf.ByteString getContents() { return contents_; } /** - * - * *
      * Required. The file's contents.
      * 
* * bytes contents = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The contents to set. * @return This builder for chaining. */ public Builder setContents(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + contents_ = value; onChanged(); return this; } /** - * - * *
      * Required. The file's contents.
      * 
* * bytes contents = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearContents() { - + contents_ = getDefaultInstance().getContents(); onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -884,12 +802,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.WriteFileRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.WriteFileRequest) private static final com.google.cloud.dataform.v1alpha2.WriteFileRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.WriteFileRequest(); } @@ -898,16 +816,16 @@ public static com.google.cloud.dataform.v1alpha2.WriteFileRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WriteFileRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WriteFileRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WriteFileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WriteFileRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -922,4 +840,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.WriteFileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileRequestOrBuilder.java similarity index 51% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileRequestOrBuilder.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileRequestOrBuilder.java index d7fa3a6..e0f709a 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileRequestOrBuilder.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileRequestOrBuilder.java @@ -1,91 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface WriteFileRequestOrBuilder - extends +public interface WriteFileRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.WriteFileRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The workspace. */ java.lang.String getWorkspace(); /** - * - * *
    * Required. The workspace's name.
    * 
* - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for workspace. */ - com.google.protobuf.ByteString getWorkspaceBytes(); + com.google.protobuf.ByteString + getWorkspaceBytes(); /** - * - * *
    * Required. The file.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The path. */ java.lang.String getPath(); /** - * - * *
    * Required. The file.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for path. */ - com.google.protobuf.ByteString getPathBytes(); + com.google.protobuf.ByteString + getPathBytes(); /** - * - * *
    * Required. The file's contents.
    * 
* * bytes contents = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The contents. */ com.google.protobuf.ByteString getContents(); diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileResponse.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileResponse.java similarity index 66% rename from proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileResponse.java rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileResponse.java index d093112..bd49e85 100644 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileResponse.java +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileResponse.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** - * - * *
  * `WriteFile` response message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.WriteFileResponse} */ -public final class WriteFileResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class WriteFileResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.WriteFileResponse) WriteFileResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use WriteFileResponse.newBuilder() to construct. private WriteFileResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private WriteFileResponse() {} + private WriteFileResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new WriteFileResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private WriteFileResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private WriteFileResponse( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private WriteFileResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_WriteFileResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WriteFileResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_WriteFileResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WriteFileResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.WriteFileResponse.class, - com.google.cloud.dataform.v1alpha2.WriteFileResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.WriteFileResponse.class, com.google.cloud.dataform.v1alpha2.WriteFileResponse.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.WriteFileResponse)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.WriteFileResponse other = - (com.google.cloud.dataform.v1alpha2.WriteFileResponse) obj; + com.google.cloud.dataform.v1alpha2.WriteFileResponse other = (com.google.cloud.dataform.v1alpha2.WriteFileResponse) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,126 +141,117 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.WriteFileResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.WriteFileResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.WriteFileResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.WriteFileResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.WriteFileResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.WriteFileResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.WriteFileResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.WriteFileResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.WriteFileResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.cloud.dataform.v1alpha2.WriteFileResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.dataform.v1alpha2.WriteFileResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.WriteFileResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.WriteFileResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.WriteFileResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.WriteFileResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * `WriteFile` response message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.WriteFileResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.WriteFileResponse) com.google.cloud.dataform.v1alpha2.WriteFileResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_WriteFileResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WriteFileResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_WriteFileResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WriteFileResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.WriteFileResponse.class, - com.google.cloud.dataform.v1alpha2.WriteFileResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.WriteFileResponse.class, com.google.cloud.dataform.v1alpha2.WriteFileResponse.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.WriteFileResponse.newBuilder() @@ -287,15 +259,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -303,9 +276,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto - .internal_static_google_cloud_dataform_v1alpha2_WriteFileResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WriteFileResponse_descriptor; } @java.lang.Override @@ -324,8 +297,7 @@ public com.google.cloud.dataform.v1alpha2.WriteFileResponse build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.WriteFileResponse buildPartial() { - com.google.cloud.dataform.v1alpha2.WriteFileResponse result = - new com.google.cloud.dataform.v1alpha2.WriteFileResponse(this); + com.google.cloud.dataform.v1alpha2.WriteFileResponse result = new com.google.cloud.dataform.v1alpha2.WriteFileResponse(this); onBuilt(); return result; } @@ -334,39 +306,38 @@ public com.google.cloud.dataform.v1alpha2.WriteFileResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.WriteFileResponse) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.WriteFileResponse) other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.WriteFileResponse)other); } else { super.mergeFrom(other); return this; @@ -374,8 +345,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.WriteFileResponse other) { - if (other == com.google.cloud.dataform.v1alpha2.WriteFileResponse.getDefaultInstance()) - return this; + if (other == com.google.cloud.dataform.v1alpha2.WriteFileResponse.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -395,8 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.dataform.v1alpha2.WriteFileResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.dataform.v1alpha2.WriteFileResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -405,9 +374,9 @@ public Builder mergeFrom( } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -417,12 +386,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.WriteFileResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.WriteFileResponse) private static final com.google.cloud.dataform.v1alpha2.WriteFileResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.WriteFileResponse(); } @@ -431,16 +400,16 @@ public static com.google.cloud.dataform.v1alpha2.WriteFileResponse getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WriteFileResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WriteFileResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WriteFileResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WriteFileResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -455,4 +424,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.WriteFileResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileResponseOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileResponseOrBuilder.java new file mode 100644 index 0000000..1801969 --- /dev/null +++ b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileResponseOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1alpha2/dataform.proto + +package com.google.cloud.dataform.v1alpha2; + +public interface WriteFileResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.WriteFileResponse) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/proto/google/cloud/dataform/v1alpha2/dataform.proto b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/proto/google/cloud/dataform/v1alpha2/dataform.proto similarity index 100% rename from proto-google-cloud-dataform-v1alpha2/src/main/proto/google/cloud/dataform/v1alpha2/dataform.proto rename to owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/proto/google/cloud/dataform/v1alpha2/dataform.proto diff --git a/owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/DataformClient.java b/owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/DataformClient.java new file mode 100644 index 0000000..7bed55f --- /dev/null +++ b/owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/DataformClient.java @@ -0,0 +1,4172 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dataform.v1beta1; + +import com.google.api.core.ApiFuture; +import com.google.api.core.ApiFutures; +import com.google.api.core.BetaApi; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.paging.AbstractFixedSizeCollection; +import com.google.api.gax.paging.AbstractPage; +import com.google.api.gax.paging.AbstractPagedListResponse; +import com.google.api.gax.rpc.PageContext; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.dataform.v1beta1.stub.DataformStub; +import com.google.cloud.dataform.v1beta1.stub.DataformStubSettings; +import com.google.cloud.location.GetLocationRequest; +import com.google.cloud.location.ListLocationsRequest; +import com.google.cloud.location.ListLocationsResponse; +import com.google.cloud.location.Location; +import com.google.common.util.concurrent.MoreExecutors; +import com.google.protobuf.Empty; +import com.google.protobuf.FieldMask; +import java.io.IOException; +import java.util.List; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Service Description: Dataform is a service to develop, create, document, test, and update curated + * tables in BigQuery. + * + *

This class provides the ability to make remote calls to the backing service through method + * calls that map to API methods. Sample code to get started: + * + *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
+ * try (DataformClient dataformClient = DataformClient.create()) {
+ *   RepositoryName name = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
+ *   Repository response = dataformClient.getRepository(name);
+ * }
+ * }
+ * + *

Note: close() needs to be called on the DataformClient object to clean up resources such as + * threads. In the example above, try-with-resources is used, which automatically calls close(). + * + *

The surface of this class includes several types of Java methods for each of the API's + * methods: + * + *

    + *
  1. A "flattened" method. With this type of method, the fields of the request type have been + * converted into function parameters. It may be the case that not all fields are available as + * parameters, and not every API method will have a flattened method entry point. + *
  2. A "request object" method. This type of method only takes one parameter, a request object, + * which must be constructed before the call. Not every API method will have a request object + * method. + *
  3. A "callable" method. This type of method takes no parameters and returns an immutable API + * callable object, which can be used to initiate calls to the service. + *
+ * + *

See the individual methods for example code. + * + *

Many parameters require resource names to be formatted in a particular way. To assist with + * these names, this class includes a format method for each type of name, and additionally a parse + * method to extract the individual identifiers contained within names that are returned. + * + *

This class can be customized by passing in a custom instance of DataformSettings to create(). + * For example: + * + *

To customize credentials: + * + *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
+ * DataformSettings dataformSettings =
+ *     DataformSettings.newBuilder()
+ *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
+ *         .build();
+ * DataformClient dataformClient = DataformClient.create(dataformSettings);
+ * }
+ * + *

To customize the endpoint: + * + *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
+ * DataformSettings dataformSettings =
+ *     DataformSettings.newBuilder().setEndpoint(myEndpoint).build();
+ * DataformClient dataformClient = DataformClient.create(dataformSettings);
+ * }
+ * + *

To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over + * the wire: + * + *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
+ * DataformSettings dataformSettings =
+ *     DataformSettings.newBuilder()
+ *         .setTransportChannelProvider(
+ *             DataformSettings.defaultHttpJsonTransportProviderBuilder().build())
+ *         .build();
+ * DataformClient dataformClient = DataformClient.create(dataformSettings);
+ * }
+ * + *

Please refer to the GitHub repository's samples for more quickstart code snippets. + */ +@BetaApi +@Generated("by gapic-generator-java") +public class DataformClient implements BackgroundResource { + private final DataformSettings settings; + private final DataformStub stub; + + /** Constructs an instance of DataformClient with default settings. */ + public static final DataformClient create() throws IOException { + return create(DataformSettings.newBuilder().build()); + } + + /** + * Constructs an instance of DataformClient, using the given settings. The channels are created + * based on the settings passed in, or defaults for any settings that are not set. + */ + public static final DataformClient create(DataformSettings settings) throws IOException { + return new DataformClient(settings); + } + + /** + * Constructs an instance of DataformClient, using the given stub for making calls. This is for + * advanced usage - prefer using create(DataformSettings). + */ + public static final DataformClient create(DataformStub stub) { + return new DataformClient(stub); + } + + /** + * Constructs an instance of DataformClient, using the given settings. This is protected so that + * it is easy to make a subclass, but otherwise, the static factory methods should be preferred. + */ + protected DataformClient(DataformSettings settings) throws IOException { + this.settings = settings; + this.stub = ((DataformStubSettings) settings.getStubSettings()).createStub(); + } + + protected DataformClient(DataformStub stub) { + this.settings = null; + this.stub = stub; + } + + public final DataformSettings getSettings() { + return settings; + } + + public DataformStub getStub() { + return stub; + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists Repositories in a given project and location. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
+   *   for (Repository element : dataformClient.listRepositories(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The location in which to list repositories. Must be in the format + * `projects/*/locations/*`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListRepositoriesPagedResponse listRepositories(LocationName parent) { + ListRepositoriesRequest request = + ListRepositoriesRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .build(); + return listRepositories(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists Repositories in a given project and location. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
+   *   for (Repository element : dataformClient.listRepositories(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The location in which to list repositories. Must be in the format + * `projects/*/locations/*`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListRepositoriesPagedResponse listRepositories(String parent) { + ListRepositoriesRequest request = + ListRepositoriesRequest.newBuilder().setParent(parent).build(); + return listRepositories(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists Repositories in a given project and location. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   ListRepositoriesRequest request =
+   *       ListRepositoriesRequest.newBuilder()
+   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .setOrderBy("orderBy-1207110587")
+   *           .setFilter("filter-1274492040")
+   *           .build();
+   *   for (Repository element : dataformClient.listRepositories(request).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListRepositoriesPagedResponse listRepositories(ListRepositoriesRequest request) { + return listRepositoriesPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists Repositories in a given project and location. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   ListRepositoriesRequest request =
+   *       ListRepositoriesRequest.newBuilder()
+   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .setOrderBy("orderBy-1207110587")
+   *           .setFilter("filter-1274492040")
+   *           .build();
+   *   ApiFuture future =
+   *       dataformClient.listRepositoriesPagedCallable().futureCall(request);
+   *   // Do something.
+   *   for (Repository element : future.get().iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listRepositoriesPagedCallable() { + return stub.listRepositoriesPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists Repositories in a given project and location. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   ListRepositoriesRequest request =
+   *       ListRepositoriesRequest.newBuilder()
+   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .setOrderBy("orderBy-1207110587")
+   *           .setFilter("filter-1274492040")
+   *           .build();
+   *   while (true) {
+   *     ListRepositoriesResponse response = dataformClient.listRepositoriesCallable().call(request);
+   *     for (Repository element : response.getRepositoriesList()) {
+   *       // doThingsWith(element);
+   *     }
+   *     String nextPageToken = response.getNextPageToken();
+   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
+   *       request = request.toBuilder().setPageToken(nextPageToken).build();
+   *     } else {
+   *       break;
+   *     }
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listRepositoriesCallable() { + return stub.listRepositoriesCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Fetches a single Repository. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   RepositoryName name = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
+   *   Repository response = dataformClient.getRepository(name);
+   * }
+   * }
+ * + * @param name Required. The repository's name. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Repository getRepository(RepositoryName name) { + GetRepositoryRequest request = + GetRepositoryRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + return getRepository(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Fetches a single Repository. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   String name = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString();
+   *   Repository response = dataformClient.getRepository(name);
+   * }
+   * }
+ * + * @param name Required. The repository's name. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Repository getRepository(String name) { + GetRepositoryRequest request = GetRepositoryRequest.newBuilder().setName(name).build(); + return getRepository(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Fetches a single Repository. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   GetRepositoryRequest request =
+   *       GetRepositoryRequest.newBuilder()
+   *           .setName(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString())
+   *           .build();
+   *   Repository response = dataformClient.getRepository(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Repository getRepository(GetRepositoryRequest request) { + return getRepositoryCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Fetches a single Repository. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   GetRepositoryRequest request =
+   *       GetRepositoryRequest.newBuilder()
+   *           .setName(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString())
+   *           .build();
+   *   ApiFuture future = dataformClient.getRepositoryCallable().futureCall(request);
+   *   // Do something.
+   *   Repository response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable getRepositoryCallable() { + return stub.getRepositoryCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new Repository in a given project and location. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
+   *   Repository repository = Repository.newBuilder().build();
+   *   String repositoryId = "repositoryId2113747461";
+   *   Repository response = dataformClient.createRepository(parent, repository, repositoryId);
+   * }
+   * }
+ * + * @param parent Required. The location in which to create the repository. Must be in the format + * `projects/*/locations/*`. + * @param repository Required. The repository to create. + * @param repositoryId Required. The ID to use for the repository, which will become the final + * component of the repository's resource name. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Repository createRepository( + LocationName parent, Repository repository, String repositoryId) { + CreateRepositoryRequest request = + CreateRepositoryRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .setRepository(repository) + .setRepositoryId(repositoryId) + .build(); + return createRepository(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new Repository in a given project and location. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
+   *   Repository repository = Repository.newBuilder().build();
+   *   String repositoryId = "repositoryId2113747461";
+   *   Repository response = dataformClient.createRepository(parent, repository, repositoryId);
+   * }
+   * }
+ * + * @param parent Required. The location in which to create the repository. Must be in the format + * `projects/*/locations/*`. + * @param repository Required. The repository to create. + * @param repositoryId Required. The ID to use for the repository, which will become the final + * component of the repository's resource name. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Repository createRepository( + String parent, Repository repository, String repositoryId) { + CreateRepositoryRequest request = + CreateRepositoryRequest.newBuilder() + .setParent(parent) + .setRepository(repository) + .setRepositoryId(repositoryId) + .build(); + return createRepository(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new Repository in a given project and location. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   CreateRepositoryRequest request =
+   *       CreateRepositoryRequest.newBuilder()
+   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+   *           .setRepository(Repository.newBuilder().build())
+   *           .setRepositoryId("repositoryId2113747461")
+   *           .build();
+   *   Repository response = dataformClient.createRepository(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Repository createRepository(CreateRepositoryRequest request) { + return createRepositoryCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new Repository in a given project and location. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   CreateRepositoryRequest request =
+   *       CreateRepositoryRequest.newBuilder()
+   *           .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+   *           .setRepository(Repository.newBuilder().build())
+   *           .setRepositoryId("repositoryId2113747461")
+   *           .build();
+   *   ApiFuture future = dataformClient.createRepositoryCallable().futureCall(request);
+   *   // Do something.
+   *   Repository response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable createRepositoryCallable() { + return stub.createRepositoryCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates a single Repository. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   Repository repository = Repository.newBuilder().build();
+   *   FieldMask updateMask = FieldMask.newBuilder().build();
+   *   Repository response = dataformClient.updateRepository(repository, updateMask);
+   * }
+   * }
+ * + * @param repository Required. The repository to update. + * @param updateMask Optional. Specifies the fields to be updated in the repository. If left + * unset, all fields will be updated. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Repository updateRepository(Repository repository, FieldMask updateMask) { + UpdateRepositoryRequest request = + UpdateRepositoryRequest.newBuilder() + .setRepository(repository) + .setUpdateMask(updateMask) + .build(); + return updateRepository(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates a single Repository. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   UpdateRepositoryRequest request =
+   *       UpdateRepositoryRequest.newBuilder()
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .setRepository(Repository.newBuilder().build())
+   *           .build();
+   *   Repository response = dataformClient.updateRepository(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Repository updateRepository(UpdateRepositoryRequest request) { + return updateRepositoryCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates a single Repository. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   UpdateRepositoryRequest request =
+   *       UpdateRepositoryRequest.newBuilder()
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .setRepository(Repository.newBuilder().build())
+   *           .build();
+   *   ApiFuture future = dataformClient.updateRepositoryCallable().futureCall(request);
+   *   // Do something.
+   *   Repository response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable updateRepositoryCallable() { + return stub.updateRepositoryCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a single Repository. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   RepositoryName name = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
+   *   dataformClient.deleteRepository(name);
+   * }
+   * }
+ * + * @param name Required. The repository's name. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteRepository(RepositoryName name) { + DeleteRepositoryRequest request = + DeleteRepositoryRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + deleteRepository(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a single Repository. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   String name = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString();
+   *   dataformClient.deleteRepository(name);
+   * }
+   * }
+ * + * @param name Required. The repository's name. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteRepository(String name) { + DeleteRepositoryRequest request = DeleteRepositoryRequest.newBuilder().setName(name).build(); + deleteRepository(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a single Repository. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   DeleteRepositoryRequest request =
+   *       DeleteRepositoryRequest.newBuilder()
+   *           .setName(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString())
+   *           .setForce(true)
+   *           .build();
+   *   dataformClient.deleteRepository(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteRepository(DeleteRepositoryRequest request) { + deleteRepositoryCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a single Repository. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   DeleteRepositoryRequest request =
+   *       DeleteRepositoryRequest.newBuilder()
+   *           .setName(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString())
+   *           .setForce(true)
+   *           .build();
+   *   ApiFuture future = dataformClient.deleteRepositoryCallable().futureCall(request);
+   *   // Do something.
+   *   future.get();
+   * }
+   * }
+ */ + public final UnaryCallable deleteRepositoryCallable() { + return stub.deleteRepositoryCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Fetches a Repository's remote branches. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   FetchRemoteBranchesRequest request =
+   *       FetchRemoteBranchesRequest.newBuilder()
+   *           .setName(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString())
+   *           .build();
+   *   FetchRemoteBranchesResponse response = dataformClient.fetchRemoteBranches(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final FetchRemoteBranchesResponse fetchRemoteBranches(FetchRemoteBranchesRequest request) { + return fetchRemoteBranchesCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Fetches a Repository's remote branches. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   FetchRemoteBranchesRequest request =
+   *       FetchRemoteBranchesRequest.newBuilder()
+   *           .setName(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       dataformClient.fetchRemoteBranchesCallable().futureCall(request);
+   *   // Do something.
+   *   FetchRemoteBranchesResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + fetchRemoteBranchesCallable() { + return stub.fetchRemoteBranchesCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists Workspaces in a given Repository. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   RepositoryName parent = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
+   *   for (Workspace element : dataformClient.listWorkspaces(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The repository in which to list workspaces. Must be in the format + * `projects/*/locations/*/repositories/*`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListWorkspacesPagedResponse listWorkspaces(RepositoryName parent) { + ListWorkspacesRequest request = + ListWorkspacesRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .build(); + return listWorkspaces(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists Workspaces in a given Repository. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   String parent = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString();
+   *   for (Workspace element : dataformClient.listWorkspaces(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The repository in which to list workspaces. Must be in the format + * `projects/*/locations/*/repositories/*`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListWorkspacesPagedResponse listWorkspaces(String parent) { + ListWorkspacesRequest request = ListWorkspacesRequest.newBuilder().setParent(parent).build(); + return listWorkspaces(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists Workspaces in a given Repository. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   ListWorkspacesRequest request =
+   *       ListWorkspacesRequest.newBuilder()
+   *           .setParent(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .setOrderBy("orderBy-1207110587")
+   *           .setFilter("filter-1274492040")
+   *           .build();
+   *   for (Workspace element : dataformClient.listWorkspaces(request).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListWorkspacesPagedResponse listWorkspaces(ListWorkspacesRequest request) { + return listWorkspacesPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists Workspaces in a given Repository. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   ListWorkspacesRequest request =
+   *       ListWorkspacesRequest.newBuilder()
+   *           .setParent(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .setOrderBy("orderBy-1207110587")
+   *           .setFilter("filter-1274492040")
+   *           .build();
+   *   ApiFuture future =
+   *       dataformClient.listWorkspacesPagedCallable().futureCall(request);
+   *   // Do something.
+   *   for (Workspace element : future.get().iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listWorkspacesPagedCallable() { + return stub.listWorkspacesPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists Workspaces in a given Repository. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   ListWorkspacesRequest request =
+   *       ListWorkspacesRequest.newBuilder()
+   *           .setParent(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .setOrderBy("orderBy-1207110587")
+   *           .setFilter("filter-1274492040")
+   *           .build();
+   *   while (true) {
+   *     ListWorkspacesResponse response = dataformClient.listWorkspacesCallable().call(request);
+   *     for (Workspace element : response.getWorkspacesList()) {
+   *       // doThingsWith(element);
+   *     }
+   *     String nextPageToken = response.getNextPageToken();
+   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
+   *       request = request.toBuilder().setPageToken(nextPageToken).build();
+   *     } else {
+   *       break;
+   *     }
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listWorkspacesCallable() { + return stub.listWorkspacesCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Fetches a single Workspace. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   WorkspaceName name =
+   *       WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]");
+   *   Workspace response = dataformClient.getWorkspace(name);
+   * }
+   * }
+ * + * @param name Required. The workspace's name. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Workspace getWorkspace(WorkspaceName name) { + GetWorkspaceRequest request = + GetWorkspaceRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + return getWorkspace(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Fetches a single Workspace. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   String name =
+   *       WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]").toString();
+   *   Workspace response = dataformClient.getWorkspace(name);
+   * }
+   * }
+ * + * @param name Required. The workspace's name. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Workspace getWorkspace(String name) { + GetWorkspaceRequest request = GetWorkspaceRequest.newBuilder().setName(name).build(); + return getWorkspace(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Fetches a single Workspace. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   GetWorkspaceRequest request =
+   *       GetWorkspaceRequest.newBuilder()
+   *           .setName(
+   *               WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]")
+   *                   .toString())
+   *           .build();
+   *   Workspace response = dataformClient.getWorkspace(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Workspace getWorkspace(GetWorkspaceRequest request) { + return getWorkspaceCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Fetches a single Workspace. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   GetWorkspaceRequest request =
+   *       GetWorkspaceRequest.newBuilder()
+   *           .setName(
+   *               WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]")
+   *                   .toString())
+   *           .build();
+   *   ApiFuture future = dataformClient.getWorkspaceCallable().futureCall(request);
+   *   // Do something.
+   *   Workspace response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable getWorkspaceCallable() { + return stub.getWorkspaceCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new Workspace in a given Repository. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   RepositoryName parent = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
+   *   Workspace workspace = Workspace.newBuilder().build();
+   *   String workspaceId = "workspaceId466560144";
+   *   Workspace response = dataformClient.createWorkspace(parent, workspace, workspaceId);
+   * }
+   * }
+ * + * @param parent Required. The repository in which to create the workspace. Must be in the format + * `projects/*/locations/*/repositories/*`. + * @param workspace Required. The workspace to create. + * @param workspaceId Required. The ID to use for the workspace, which will become the final + * component of the workspace's resource name. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Workspace createWorkspace( + RepositoryName parent, Workspace workspace, String workspaceId) { + CreateWorkspaceRequest request = + CreateWorkspaceRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .setWorkspace(workspace) + .setWorkspaceId(workspaceId) + .build(); + return createWorkspace(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new Workspace in a given Repository. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   String parent = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString();
+   *   Workspace workspace = Workspace.newBuilder().build();
+   *   String workspaceId = "workspaceId466560144";
+   *   Workspace response = dataformClient.createWorkspace(parent, workspace, workspaceId);
+   * }
+   * }
+ * + * @param parent Required. The repository in which to create the workspace. Must be in the format + * `projects/*/locations/*/repositories/*`. + * @param workspace Required. The workspace to create. + * @param workspaceId Required. The ID to use for the workspace, which will become the final + * component of the workspace's resource name. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Workspace createWorkspace(String parent, Workspace workspace, String workspaceId) { + CreateWorkspaceRequest request = + CreateWorkspaceRequest.newBuilder() + .setParent(parent) + .setWorkspace(workspace) + .setWorkspaceId(workspaceId) + .build(); + return createWorkspace(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new Workspace in a given Repository. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   CreateWorkspaceRequest request =
+   *       CreateWorkspaceRequest.newBuilder()
+   *           .setParent(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString())
+   *           .setWorkspace(Workspace.newBuilder().build())
+   *           .setWorkspaceId("workspaceId466560144")
+   *           .build();
+   *   Workspace response = dataformClient.createWorkspace(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Workspace createWorkspace(CreateWorkspaceRequest request) { + return createWorkspaceCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new Workspace in a given Repository. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   CreateWorkspaceRequest request =
+   *       CreateWorkspaceRequest.newBuilder()
+   *           .setParent(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString())
+   *           .setWorkspace(Workspace.newBuilder().build())
+   *           .setWorkspaceId("workspaceId466560144")
+   *           .build();
+   *   ApiFuture future = dataformClient.createWorkspaceCallable().futureCall(request);
+   *   // Do something.
+   *   Workspace response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable createWorkspaceCallable() { + return stub.createWorkspaceCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a single Workspace. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   WorkspaceName name =
+   *       WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]");
+   *   dataformClient.deleteWorkspace(name);
+   * }
+   * }
+ * + * @param name Required. The workspace resource's name. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteWorkspace(WorkspaceName name) { + DeleteWorkspaceRequest request = + DeleteWorkspaceRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + deleteWorkspace(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a single Workspace. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   String name =
+   *       WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]").toString();
+   *   dataformClient.deleteWorkspace(name);
+   * }
+   * }
+ * + * @param name Required. The workspace resource's name. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteWorkspace(String name) { + DeleteWorkspaceRequest request = DeleteWorkspaceRequest.newBuilder().setName(name).build(); + deleteWorkspace(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a single Workspace. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   DeleteWorkspaceRequest request =
+   *       DeleteWorkspaceRequest.newBuilder()
+   *           .setName(
+   *               WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]")
+   *                   .toString())
+   *           .build();
+   *   dataformClient.deleteWorkspace(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteWorkspace(DeleteWorkspaceRequest request) { + deleteWorkspaceCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a single Workspace. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   DeleteWorkspaceRequest request =
+   *       DeleteWorkspaceRequest.newBuilder()
+   *           .setName(
+   *               WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]")
+   *                   .toString())
+   *           .build();
+   *   ApiFuture future = dataformClient.deleteWorkspaceCallable().futureCall(request);
+   *   // Do something.
+   *   future.get();
+   * }
+   * }
+ */ + public final UnaryCallable deleteWorkspaceCallable() { + return stub.deleteWorkspaceCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Installs dependency NPM packages (inside a Workspace). + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   InstallNpmPackagesRequest request =
+   *       InstallNpmPackagesRequest.newBuilder()
+   *           .setWorkspace(
+   *               WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]")
+   *                   .toString())
+   *           .build();
+   *   InstallNpmPackagesResponse response = dataformClient.installNpmPackages(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final InstallNpmPackagesResponse installNpmPackages(InstallNpmPackagesRequest request) { + return installNpmPackagesCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Installs dependency NPM packages (inside a Workspace). + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   InstallNpmPackagesRequest request =
+   *       InstallNpmPackagesRequest.newBuilder()
+   *           .setWorkspace(
+   *               WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]")
+   *                   .toString())
+   *           .build();
+   *   ApiFuture future =
+   *       dataformClient.installNpmPackagesCallable().futureCall(request);
+   *   // Do something.
+   *   InstallNpmPackagesResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + installNpmPackagesCallable() { + return stub.installNpmPackagesCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Pulls Git commits from the Repository's remote into a Workspace. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   PullGitCommitsRequest request =
+   *       PullGitCommitsRequest.newBuilder()
+   *           .setName(
+   *               WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]")
+   *                   .toString())
+   *           .setRemoteBranch("remoteBranch-533119608")
+   *           .setAuthor(CommitAuthor.newBuilder().build())
+   *           .build();
+   *   dataformClient.pullGitCommits(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void pullGitCommits(PullGitCommitsRequest request) { + pullGitCommitsCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Pulls Git commits from the Repository's remote into a Workspace. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   PullGitCommitsRequest request =
+   *       PullGitCommitsRequest.newBuilder()
+   *           .setName(
+   *               WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]")
+   *                   .toString())
+   *           .setRemoteBranch("remoteBranch-533119608")
+   *           .setAuthor(CommitAuthor.newBuilder().build())
+   *           .build();
+   *   ApiFuture future = dataformClient.pullGitCommitsCallable().futureCall(request);
+   *   // Do something.
+   *   future.get();
+   * }
+   * }
+ */ + public final UnaryCallable pullGitCommitsCallable() { + return stub.pullGitCommitsCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Pushes Git commits from a Workspace to the Repository's remote. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   PushGitCommitsRequest request =
+   *       PushGitCommitsRequest.newBuilder()
+   *           .setName(
+   *               WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]")
+   *                   .toString())
+   *           .setRemoteBranch("remoteBranch-533119608")
+   *           .build();
+   *   dataformClient.pushGitCommits(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void pushGitCommits(PushGitCommitsRequest request) { + pushGitCommitsCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Pushes Git commits from a Workspace to the Repository's remote. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   PushGitCommitsRequest request =
+   *       PushGitCommitsRequest.newBuilder()
+   *           .setName(
+   *               WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]")
+   *                   .toString())
+   *           .setRemoteBranch("remoteBranch-533119608")
+   *           .build();
+   *   ApiFuture future = dataformClient.pushGitCommitsCallable().futureCall(request);
+   *   // Do something.
+   *   future.get();
+   * }
+   * }
+ */ + public final UnaryCallable pushGitCommitsCallable() { + return stub.pushGitCommitsCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Fetches Git statuses for the files in a Workspace. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   FetchFileGitStatusesRequest request =
+   *       FetchFileGitStatusesRequest.newBuilder()
+   *           .setName(
+   *               WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]")
+   *                   .toString())
+   *           .build();
+   *   FetchFileGitStatusesResponse response = dataformClient.fetchFileGitStatuses(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final FetchFileGitStatusesResponse fetchFileGitStatuses( + FetchFileGitStatusesRequest request) { + return fetchFileGitStatusesCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Fetches Git statuses for the files in a Workspace. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   FetchFileGitStatusesRequest request =
+   *       FetchFileGitStatusesRequest.newBuilder()
+   *           .setName(
+   *               WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]")
+   *                   .toString())
+   *           .build();
+   *   ApiFuture future =
+   *       dataformClient.fetchFileGitStatusesCallable().futureCall(request);
+   *   // Do something.
+   *   FetchFileGitStatusesResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + fetchFileGitStatusesCallable() { + return stub.fetchFileGitStatusesCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Fetches Git ahead/behind against a remote branch. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   FetchGitAheadBehindRequest request =
+   *       FetchGitAheadBehindRequest.newBuilder()
+   *           .setName(
+   *               WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]")
+   *                   .toString())
+   *           .setRemoteBranch("remoteBranch-533119608")
+   *           .build();
+   *   FetchGitAheadBehindResponse response = dataformClient.fetchGitAheadBehind(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final FetchGitAheadBehindResponse fetchGitAheadBehind(FetchGitAheadBehindRequest request) { + return fetchGitAheadBehindCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Fetches Git ahead/behind against a remote branch. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   FetchGitAheadBehindRequest request =
+   *       FetchGitAheadBehindRequest.newBuilder()
+   *           .setName(
+   *               WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]")
+   *                   .toString())
+   *           .setRemoteBranch("remoteBranch-533119608")
+   *           .build();
+   *   ApiFuture future =
+   *       dataformClient.fetchGitAheadBehindCallable().futureCall(request);
+   *   // Do something.
+   *   FetchGitAheadBehindResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + fetchGitAheadBehindCallable() { + return stub.fetchGitAheadBehindCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Applies a Git commit for uncommitted files in a Workspace. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   CommitWorkspaceChangesRequest request =
+   *       CommitWorkspaceChangesRequest.newBuilder()
+   *           .setName(
+   *               WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]")
+   *                   .toString())
+   *           .setAuthor(CommitAuthor.newBuilder().build())
+   *           .setCommitMessage("commitMessage2039804624")
+   *           .addAllPaths(new ArrayList())
+   *           .build();
+   *   dataformClient.commitWorkspaceChanges(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void commitWorkspaceChanges(CommitWorkspaceChangesRequest request) { + commitWorkspaceChangesCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Applies a Git commit for uncommitted files in a Workspace. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   CommitWorkspaceChangesRequest request =
+   *       CommitWorkspaceChangesRequest.newBuilder()
+   *           .setName(
+   *               WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]")
+   *                   .toString())
+   *           .setAuthor(CommitAuthor.newBuilder().build())
+   *           .setCommitMessage("commitMessage2039804624")
+   *           .addAllPaths(new ArrayList())
+   *           .build();
+   *   ApiFuture future = dataformClient.commitWorkspaceChangesCallable().futureCall(request);
+   *   // Do something.
+   *   future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + commitWorkspaceChangesCallable() { + return stub.commitWorkspaceChangesCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Performs a Git reset for uncommitted files in a Workspace. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   ResetWorkspaceChangesRequest request =
+   *       ResetWorkspaceChangesRequest.newBuilder()
+   *           .setName(
+   *               WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]")
+   *                   .toString())
+   *           .addAllPaths(new ArrayList())
+   *           .setClean(true)
+   *           .build();
+   *   dataformClient.resetWorkspaceChanges(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void resetWorkspaceChanges(ResetWorkspaceChangesRequest request) { + resetWorkspaceChangesCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Performs a Git reset for uncommitted files in a Workspace. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   ResetWorkspaceChangesRequest request =
+   *       ResetWorkspaceChangesRequest.newBuilder()
+   *           .setName(
+   *               WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]")
+   *                   .toString())
+   *           .addAllPaths(new ArrayList())
+   *           .setClean(true)
+   *           .build();
+   *   ApiFuture future = dataformClient.resetWorkspaceChangesCallable().futureCall(request);
+   *   // Do something.
+   *   future.get();
+   * }
+   * }
+ */ + public final UnaryCallable resetWorkspaceChangesCallable() { + return stub.resetWorkspaceChangesCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Fetches Git diff for an uncommitted file in a Workspace. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   FetchFileDiffRequest request =
+   *       FetchFileDiffRequest.newBuilder()
+   *           .setWorkspace(
+   *               WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]")
+   *                   .toString())
+   *           .setPath("path3433509")
+   *           .build();
+   *   FetchFileDiffResponse response = dataformClient.fetchFileDiff(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final FetchFileDiffResponse fetchFileDiff(FetchFileDiffRequest request) { + return fetchFileDiffCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Fetches Git diff for an uncommitted file in a Workspace. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   FetchFileDiffRequest request =
+   *       FetchFileDiffRequest.newBuilder()
+   *           .setWorkspace(
+   *               WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]")
+   *                   .toString())
+   *           .setPath("path3433509")
+   *           .build();
+   *   ApiFuture future =
+   *       dataformClient.fetchFileDiffCallable().futureCall(request);
+   *   // Do something.
+   *   FetchFileDiffResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable fetchFileDiffCallable() { + return stub.fetchFileDiffCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns the contents of a given Workspace directory. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   QueryDirectoryContentsRequest request =
+   *       QueryDirectoryContentsRequest.newBuilder()
+   *           .setWorkspace(
+   *               WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]")
+   *                   .toString())
+   *           .setPath("path3433509")
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   for (QueryDirectoryContentsResponse.DirectoryEntry element :
+   *       dataformClient.queryDirectoryContents(request).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final QueryDirectoryContentsPagedResponse queryDirectoryContents( + QueryDirectoryContentsRequest request) { + return queryDirectoryContentsPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns the contents of a given Workspace directory. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   QueryDirectoryContentsRequest request =
+   *       QueryDirectoryContentsRequest.newBuilder()
+   *           .setWorkspace(
+   *               WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]")
+   *                   .toString())
+   *           .setPath("path3433509")
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   ApiFuture future =
+   *       dataformClient.queryDirectoryContentsPagedCallable().futureCall(request);
+   *   // Do something.
+   *   for (QueryDirectoryContentsResponse.DirectoryEntry element : future.get().iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + queryDirectoryContentsPagedCallable() { + return stub.queryDirectoryContentsPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns the contents of a given Workspace directory. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   QueryDirectoryContentsRequest request =
+   *       QueryDirectoryContentsRequest.newBuilder()
+   *           .setWorkspace(
+   *               WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]")
+   *                   .toString())
+   *           .setPath("path3433509")
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   while (true) {
+   *     QueryDirectoryContentsResponse response =
+   *         dataformClient.queryDirectoryContentsCallable().call(request);
+   *     for (QueryDirectoryContentsResponse.DirectoryEntry element :
+   *         response.getDirectoryEntriesList()) {
+   *       // doThingsWith(element);
+   *     }
+   *     String nextPageToken = response.getNextPageToken();
+   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
+   *       request = request.toBuilder().setPageToken(nextPageToken).build();
+   *     } else {
+   *       break;
+   *     }
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + queryDirectoryContentsCallable() { + return stub.queryDirectoryContentsCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a directory inside a Workspace. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   MakeDirectoryRequest request =
+   *       MakeDirectoryRequest.newBuilder()
+   *           .setWorkspace(
+   *               WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]")
+   *                   .toString())
+   *           .setPath("path3433509")
+   *           .build();
+   *   MakeDirectoryResponse response = dataformClient.makeDirectory(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final MakeDirectoryResponse makeDirectory(MakeDirectoryRequest request) { + return makeDirectoryCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a directory inside a Workspace. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   MakeDirectoryRequest request =
+   *       MakeDirectoryRequest.newBuilder()
+   *           .setWorkspace(
+   *               WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]")
+   *                   .toString())
+   *           .setPath("path3433509")
+   *           .build();
+   *   ApiFuture future =
+   *       dataformClient.makeDirectoryCallable().futureCall(request);
+   *   // Do something.
+   *   MakeDirectoryResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable makeDirectoryCallable() { + return stub.makeDirectoryCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a directory (inside a Workspace) and all of its contents. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   RemoveDirectoryRequest request =
+   *       RemoveDirectoryRequest.newBuilder()
+   *           .setWorkspace(
+   *               WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]")
+   *                   .toString())
+   *           .setPath("path3433509")
+   *           .build();
+   *   dataformClient.removeDirectory(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void removeDirectory(RemoveDirectoryRequest request) { + removeDirectoryCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a directory (inside a Workspace) and all of its contents. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   RemoveDirectoryRequest request =
+   *       RemoveDirectoryRequest.newBuilder()
+   *           .setWorkspace(
+   *               WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]")
+   *                   .toString())
+   *           .setPath("path3433509")
+   *           .build();
+   *   ApiFuture future = dataformClient.removeDirectoryCallable().futureCall(request);
+   *   // Do something.
+   *   future.get();
+   * }
+   * }
+ */ + public final UnaryCallable removeDirectoryCallable() { + return stub.removeDirectoryCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Moves a directory (inside a Workspace), and all of its contents, to a new location. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   MoveDirectoryRequest request =
+   *       MoveDirectoryRequest.newBuilder()
+   *           .setWorkspace(
+   *               WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]")
+   *                   .toString())
+   *           .setPath("path3433509")
+   *           .setNewPath("newPath1845080549")
+   *           .build();
+   *   MoveDirectoryResponse response = dataformClient.moveDirectory(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final MoveDirectoryResponse moveDirectory(MoveDirectoryRequest request) { + return moveDirectoryCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Moves a directory (inside a Workspace), and all of its contents, to a new location. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   MoveDirectoryRequest request =
+   *       MoveDirectoryRequest.newBuilder()
+   *           .setWorkspace(
+   *               WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]")
+   *                   .toString())
+   *           .setPath("path3433509")
+   *           .setNewPath("newPath1845080549")
+   *           .build();
+   *   ApiFuture future =
+   *       dataformClient.moveDirectoryCallable().futureCall(request);
+   *   // Do something.
+   *   MoveDirectoryResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable moveDirectoryCallable() { + return stub.moveDirectoryCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns the contents of a file (inside a Workspace). + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   ReadFileRequest request =
+   *       ReadFileRequest.newBuilder()
+   *           .setWorkspace(
+   *               WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]")
+   *                   .toString())
+   *           .setPath("path3433509")
+   *           .build();
+   *   ReadFileResponse response = dataformClient.readFile(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ReadFileResponse readFile(ReadFileRequest request) { + return readFileCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns the contents of a file (inside a Workspace). + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   ReadFileRequest request =
+   *       ReadFileRequest.newBuilder()
+   *           .setWorkspace(
+   *               WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]")
+   *                   .toString())
+   *           .setPath("path3433509")
+   *           .build();
+   *   ApiFuture future = dataformClient.readFileCallable().futureCall(request);
+   *   // Do something.
+   *   ReadFileResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable readFileCallable() { + return stub.readFileCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a file (inside a Workspace). + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   RemoveFileRequest request =
+   *       RemoveFileRequest.newBuilder()
+   *           .setWorkspace(
+   *               WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]")
+   *                   .toString())
+   *           .setPath("path3433509")
+   *           .build();
+   *   dataformClient.removeFile(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void removeFile(RemoveFileRequest request) { + removeFileCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a file (inside a Workspace). + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   RemoveFileRequest request =
+   *       RemoveFileRequest.newBuilder()
+   *           .setWorkspace(
+   *               WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]")
+   *                   .toString())
+   *           .setPath("path3433509")
+   *           .build();
+   *   ApiFuture future = dataformClient.removeFileCallable().futureCall(request);
+   *   // Do something.
+   *   future.get();
+   * }
+   * }
+ */ + public final UnaryCallable removeFileCallable() { + return stub.removeFileCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Moves a file (inside a Workspace) to a new location. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   MoveFileRequest request =
+   *       MoveFileRequest.newBuilder()
+   *           .setWorkspace(
+   *               WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]")
+   *                   .toString())
+   *           .setPath("path3433509")
+   *           .setNewPath("newPath1845080549")
+   *           .build();
+   *   MoveFileResponse response = dataformClient.moveFile(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final MoveFileResponse moveFile(MoveFileRequest request) { + return moveFileCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Moves a file (inside a Workspace) to a new location. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   MoveFileRequest request =
+   *       MoveFileRequest.newBuilder()
+   *           .setWorkspace(
+   *               WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]")
+   *                   .toString())
+   *           .setPath("path3433509")
+   *           .setNewPath("newPath1845080549")
+   *           .build();
+   *   ApiFuture future = dataformClient.moveFileCallable().futureCall(request);
+   *   // Do something.
+   *   MoveFileResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable moveFileCallable() { + return stub.moveFileCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Writes to a file (inside a Workspace). + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   WriteFileRequest request =
+   *       WriteFileRequest.newBuilder()
+   *           .setWorkspace(
+   *               WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]")
+   *                   .toString())
+   *           .setPath("path3433509")
+   *           .setContents(ByteString.EMPTY)
+   *           .build();
+   *   WriteFileResponse response = dataformClient.writeFile(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final WriteFileResponse writeFile(WriteFileRequest request) { + return writeFileCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Writes to a file (inside a Workspace). + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   WriteFileRequest request =
+   *       WriteFileRequest.newBuilder()
+   *           .setWorkspace(
+   *               WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]")
+   *                   .toString())
+   *           .setPath("path3433509")
+   *           .setContents(ByteString.EMPTY)
+   *           .build();
+   *   ApiFuture future = dataformClient.writeFileCallable().futureCall(request);
+   *   // Do something.
+   *   WriteFileResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable writeFileCallable() { + return stub.writeFileCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists CompilationResults in a given Repository. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   RepositoryName parent = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
+   *   for (CompilationResult element : dataformClient.listCompilationResults(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The repository in which to list compilation results. Must be in the + * format `projects/*/locations/*/repositories/*`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListCompilationResultsPagedResponse listCompilationResults(RepositoryName parent) { + ListCompilationResultsRequest request = + ListCompilationResultsRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .build(); + return listCompilationResults(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists CompilationResults in a given Repository. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   String parent = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString();
+   *   for (CompilationResult element : dataformClient.listCompilationResults(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The repository in which to list compilation results. Must be in the + * format `projects/*/locations/*/repositories/*`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListCompilationResultsPagedResponse listCompilationResults(String parent) { + ListCompilationResultsRequest request = + ListCompilationResultsRequest.newBuilder().setParent(parent).build(); + return listCompilationResults(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists CompilationResults in a given Repository. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   ListCompilationResultsRequest request =
+   *       ListCompilationResultsRequest.newBuilder()
+   *           .setParent(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   for (CompilationResult element :
+   *       dataformClient.listCompilationResults(request).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListCompilationResultsPagedResponse listCompilationResults( + ListCompilationResultsRequest request) { + return listCompilationResultsPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists CompilationResults in a given Repository. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   ListCompilationResultsRequest request =
+   *       ListCompilationResultsRequest.newBuilder()
+   *           .setParent(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   ApiFuture future =
+   *       dataformClient.listCompilationResultsPagedCallable().futureCall(request);
+   *   // Do something.
+   *   for (CompilationResult element : future.get().iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listCompilationResultsPagedCallable() { + return stub.listCompilationResultsPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists CompilationResults in a given Repository. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   ListCompilationResultsRequest request =
+   *       ListCompilationResultsRequest.newBuilder()
+   *           .setParent(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   while (true) {
+   *     ListCompilationResultsResponse response =
+   *         dataformClient.listCompilationResultsCallable().call(request);
+   *     for (CompilationResult element : response.getCompilationResultsList()) {
+   *       // doThingsWith(element);
+   *     }
+   *     String nextPageToken = response.getNextPageToken();
+   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
+   *       request = request.toBuilder().setPageToken(nextPageToken).build();
+   *     } else {
+   *       break;
+   *     }
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listCompilationResultsCallable() { + return stub.listCompilationResultsCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Fetches a single CompilationResult. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   CompilationResultName name =
+   *       CompilationResultName.of(
+   *           "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[COMPILATION_RESULT]");
+   *   CompilationResult response = dataformClient.getCompilationResult(name);
+   * }
+   * }
+ * + * @param name Required. The compilation result's name. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final CompilationResult getCompilationResult(CompilationResultName name) { + GetCompilationResultRequest request = + GetCompilationResultRequest.newBuilder() + .setName(name == null ? null : name.toString()) + .build(); + return getCompilationResult(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Fetches a single CompilationResult. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   String name =
+   *       CompilationResultName.of(
+   *               "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[COMPILATION_RESULT]")
+   *           .toString();
+   *   CompilationResult response = dataformClient.getCompilationResult(name);
+   * }
+   * }
+ * + * @param name Required. The compilation result's name. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final CompilationResult getCompilationResult(String name) { + GetCompilationResultRequest request = + GetCompilationResultRequest.newBuilder().setName(name).build(); + return getCompilationResult(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Fetches a single CompilationResult. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   GetCompilationResultRequest request =
+   *       GetCompilationResultRequest.newBuilder()
+   *           .setName(
+   *               CompilationResultName.of(
+   *                       "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[COMPILATION_RESULT]")
+   *                   .toString())
+   *           .build();
+   *   CompilationResult response = dataformClient.getCompilationResult(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final CompilationResult getCompilationResult(GetCompilationResultRequest request) { + return getCompilationResultCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Fetches a single CompilationResult. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   GetCompilationResultRequest request =
+   *       GetCompilationResultRequest.newBuilder()
+   *           .setName(
+   *               CompilationResultName.of(
+   *                       "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[COMPILATION_RESULT]")
+   *                   .toString())
+   *           .build();
+   *   ApiFuture future =
+   *       dataformClient.getCompilationResultCallable().futureCall(request);
+   *   // Do something.
+   *   CompilationResult response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + getCompilationResultCallable() { + return stub.getCompilationResultCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new CompilationResult in a given project and location. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   RepositoryName parent = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
+   *   CompilationResult compilationResult = CompilationResult.newBuilder().build();
+   *   CompilationResult response =
+   *       dataformClient.createCompilationResult(parent, compilationResult);
+   * }
+   * }
+ * + * @param parent Required. The repository in which to create the compilation result. Must be in + * the format `projects/*/locations/*/repositories/*`. + * @param compilationResult Required. The compilation result to create. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final CompilationResult createCompilationResult( + RepositoryName parent, CompilationResult compilationResult) { + CreateCompilationResultRequest request = + CreateCompilationResultRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .setCompilationResult(compilationResult) + .build(); + return createCompilationResult(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new CompilationResult in a given project and location. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   String parent = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString();
+   *   CompilationResult compilationResult = CompilationResult.newBuilder().build();
+   *   CompilationResult response =
+   *       dataformClient.createCompilationResult(parent, compilationResult);
+   * }
+   * }
+ * + * @param parent Required. The repository in which to create the compilation result. Must be in + * the format `projects/*/locations/*/repositories/*`. + * @param compilationResult Required. The compilation result to create. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final CompilationResult createCompilationResult( + String parent, CompilationResult compilationResult) { + CreateCompilationResultRequest request = + CreateCompilationResultRequest.newBuilder() + .setParent(parent) + .setCompilationResult(compilationResult) + .build(); + return createCompilationResult(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new CompilationResult in a given project and location. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   CreateCompilationResultRequest request =
+   *       CreateCompilationResultRequest.newBuilder()
+   *           .setParent(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString())
+   *           .setCompilationResult(CompilationResult.newBuilder().build())
+   *           .build();
+   *   CompilationResult response = dataformClient.createCompilationResult(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final CompilationResult createCompilationResult(CreateCompilationResultRequest request) { + return createCompilationResultCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new CompilationResult in a given project and location. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   CreateCompilationResultRequest request =
+   *       CreateCompilationResultRequest.newBuilder()
+   *           .setParent(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString())
+   *           .setCompilationResult(CompilationResult.newBuilder().build())
+   *           .build();
+   *   ApiFuture future =
+   *       dataformClient.createCompilationResultCallable().futureCall(request);
+   *   // Do something.
+   *   CompilationResult response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + createCompilationResultCallable() { + return stub.createCompilationResultCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns CompilationResultActions in a given CompilationResult. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   QueryCompilationResultActionsRequest request =
+   *       QueryCompilationResultActionsRequest.newBuilder()
+   *           .setName(
+   *               CompilationResultName.of(
+   *                       "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[COMPILATION_RESULT]")
+   *                   .toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .setFilter("filter-1274492040")
+   *           .build();
+   *   for (CompilationResultAction element :
+   *       dataformClient.queryCompilationResultActions(request).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final QueryCompilationResultActionsPagedResponse queryCompilationResultActions( + QueryCompilationResultActionsRequest request) { + return queryCompilationResultActionsPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns CompilationResultActions in a given CompilationResult. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   QueryCompilationResultActionsRequest request =
+   *       QueryCompilationResultActionsRequest.newBuilder()
+   *           .setName(
+   *               CompilationResultName.of(
+   *                       "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[COMPILATION_RESULT]")
+   *                   .toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .setFilter("filter-1274492040")
+   *           .build();
+   *   ApiFuture future =
+   *       dataformClient.queryCompilationResultActionsPagedCallable().futureCall(request);
+   *   // Do something.
+   *   for (CompilationResultAction element : future.get().iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable< + QueryCompilationResultActionsRequest, QueryCompilationResultActionsPagedResponse> + queryCompilationResultActionsPagedCallable() { + return stub.queryCompilationResultActionsPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns CompilationResultActions in a given CompilationResult. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   QueryCompilationResultActionsRequest request =
+   *       QueryCompilationResultActionsRequest.newBuilder()
+   *           .setName(
+   *               CompilationResultName.of(
+   *                       "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[COMPILATION_RESULT]")
+   *                   .toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .setFilter("filter-1274492040")
+   *           .build();
+   *   while (true) {
+   *     QueryCompilationResultActionsResponse response =
+   *         dataformClient.queryCompilationResultActionsCallable().call(request);
+   *     for (CompilationResultAction element : response.getCompilationResultActionsList()) {
+   *       // doThingsWith(element);
+   *     }
+   *     String nextPageToken = response.getNextPageToken();
+   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
+   *       request = request.toBuilder().setPageToken(nextPageToken).build();
+   *     } else {
+   *       break;
+   *     }
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable< + QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse> + queryCompilationResultActionsCallable() { + return stub.queryCompilationResultActionsCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists WorkflowInvocations in a given Repository. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   RepositoryName parent = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
+   *   for (WorkflowInvocation element :
+   *       dataformClient.listWorkflowInvocations(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The parent resource of the WorkflowInvocation type. Must be in the + * format `projects/*/locations/*/repositories/*`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListWorkflowInvocationsPagedResponse listWorkflowInvocations(RepositoryName parent) { + ListWorkflowInvocationsRequest request = + ListWorkflowInvocationsRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .build(); + return listWorkflowInvocations(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists WorkflowInvocations in a given Repository. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   String parent = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString();
+   *   for (WorkflowInvocation element :
+   *       dataformClient.listWorkflowInvocations(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The parent resource of the WorkflowInvocation type. Must be in the + * format `projects/*/locations/*/repositories/*`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListWorkflowInvocationsPagedResponse listWorkflowInvocations(String parent) { + ListWorkflowInvocationsRequest request = + ListWorkflowInvocationsRequest.newBuilder().setParent(parent).build(); + return listWorkflowInvocations(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists WorkflowInvocations in a given Repository. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   ListWorkflowInvocationsRequest request =
+   *       ListWorkflowInvocationsRequest.newBuilder()
+   *           .setParent(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   for (WorkflowInvocation element :
+   *       dataformClient.listWorkflowInvocations(request).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListWorkflowInvocationsPagedResponse listWorkflowInvocations( + ListWorkflowInvocationsRequest request) { + return listWorkflowInvocationsPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists WorkflowInvocations in a given Repository. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   ListWorkflowInvocationsRequest request =
+   *       ListWorkflowInvocationsRequest.newBuilder()
+   *           .setParent(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   ApiFuture future =
+   *       dataformClient.listWorkflowInvocationsPagedCallable().futureCall(request);
+   *   // Do something.
+   *   for (WorkflowInvocation element : future.get().iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listWorkflowInvocationsPagedCallable() { + return stub.listWorkflowInvocationsPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists WorkflowInvocations in a given Repository. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   ListWorkflowInvocationsRequest request =
+   *       ListWorkflowInvocationsRequest.newBuilder()
+   *           .setParent(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   while (true) {
+   *     ListWorkflowInvocationsResponse response =
+   *         dataformClient.listWorkflowInvocationsCallable().call(request);
+   *     for (WorkflowInvocation element : response.getWorkflowInvocationsList()) {
+   *       // doThingsWith(element);
+   *     }
+   *     String nextPageToken = response.getNextPageToken();
+   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
+   *       request = request.toBuilder().setPageToken(nextPageToken).build();
+   *     } else {
+   *       break;
+   *     }
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listWorkflowInvocationsCallable() { + return stub.listWorkflowInvocationsCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Fetches a single WorkflowInvocation. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   WorkflowInvocationName name =
+   *       WorkflowInvocationName.of(
+   *           "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]");
+   *   WorkflowInvocation response = dataformClient.getWorkflowInvocation(name);
+   * }
+   * }
+ * + * @param name Required. The workflow invocation resource's name. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final WorkflowInvocation getWorkflowInvocation(WorkflowInvocationName name) { + GetWorkflowInvocationRequest request = + GetWorkflowInvocationRequest.newBuilder() + .setName(name == null ? null : name.toString()) + .build(); + return getWorkflowInvocation(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Fetches a single WorkflowInvocation. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   String name =
+   *       WorkflowInvocationName.of(
+   *               "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]")
+   *           .toString();
+   *   WorkflowInvocation response = dataformClient.getWorkflowInvocation(name);
+   * }
+   * }
+ * + * @param name Required. The workflow invocation resource's name. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final WorkflowInvocation getWorkflowInvocation(String name) { + GetWorkflowInvocationRequest request = + GetWorkflowInvocationRequest.newBuilder().setName(name).build(); + return getWorkflowInvocation(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Fetches a single WorkflowInvocation. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   GetWorkflowInvocationRequest request =
+   *       GetWorkflowInvocationRequest.newBuilder()
+   *           .setName(
+   *               WorkflowInvocationName.of(
+   *                       "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]")
+   *                   .toString())
+   *           .build();
+   *   WorkflowInvocation response = dataformClient.getWorkflowInvocation(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final WorkflowInvocation getWorkflowInvocation(GetWorkflowInvocationRequest request) { + return getWorkflowInvocationCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Fetches a single WorkflowInvocation. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   GetWorkflowInvocationRequest request =
+   *       GetWorkflowInvocationRequest.newBuilder()
+   *           .setName(
+   *               WorkflowInvocationName.of(
+   *                       "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]")
+   *                   .toString())
+   *           .build();
+   *   ApiFuture future =
+   *       dataformClient.getWorkflowInvocationCallable().futureCall(request);
+   *   // Do something.
+   *   WorkflowInvocation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + getWorkflowInvocationCallable() { + return stub.getWorkflowInvocationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new WorkflowInvocation in a given Repository. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   RepositoryName parent = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
+   *   WorkflowInvocation workflowInvocation = WorkflowInvocation.newBuilder().build();
+   *   WorkflowInvocation response =
+   *       dataformClient.createWorkflowInvocation(parent, workflowInvocation);
+   * }
+   * }
+ * + * @param parent Required. The repository in which to create the workflow invocation. Must be in + * the format `projects/*/locations/*/repositories/*`. + * @param workflowInvocation Required. The workflow invocation resource to create. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final WorkflowInvocation createWorkflowInvocation( + RepositoryName parent, WorkflowInvocation workflowInvocation) { + CreateWorkflowInvocationRequest request = + CreateWorkflowInvocationRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .setWorkflowInvocation(workflowInvocation) + .build(); + return createWorkflowInvocation(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new WorkflowInvocation in a given Repository. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   String parent = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString();
+   *   WorkflowInvocation workflowInvocation = WorkflowInvocation.newBuilder().build();
+   *   WorkflowInvocation response =
+   *       dataformClient.createWorkflowInvocation(parent, workflowInvocation);
+   * }
+   * }
+ * + * @param parent Required. The repository in which to create the workflow invocation. Must be in + * the format `projects/*/locations/*/repositories/*`. + * @param workflowInvocation Required. The workflow invocation resource to create. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final WorkflowInvocation createWorkflowInvocation( + String parent, WorkflowInvocation workflowInvocation) { + CreateWorkflowInvocationRequest request = + CreateWorkflowInvocationRequest.newBuilder() + .setParent(parent) + .setWorkflowInvocation(workflowInvocation) + .build(); + return createWorkflowInvocation(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new WorkflowInvocation in a given Repository. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   CreateWorkflowInvocationRequest request =
+   *       CreateWorkflowInvocationRequest.newBuilder()
+   *           .setParent(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString())
+   *           .setWorkflowInvocation(WorkflowInvocation.newBuilder().build())
+   *           .build();
+   *   WorkflowInvocation response = dataformClient.createWorkflowInvocation(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final WorkflowInvocation createWorkflowInvocation( + CreateWorkflowInvocationRequest request) { + return createWorkflowInvocationCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new WorkflowInvocation in a given Repository. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   CreateWorkflowInvocationRequest request =
+   *       CreateWorkflowInvocationRequest.newBuilder()
+   *           .setParent(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString())
+   *           .setWorkflowInvocation(WorkflowInvocation.newBuilder().build())
+   *           .build();
+   *   ApiFuture future =
+   *       dataformClient.createWorkflowInvocationCallable().futureCall(request);
+   *   // Do something.
+   *   WorkflowInvocation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + createWorkflowInvocationCallable() { + return stub.createWorkflowInvocationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a single WorkflowInvocation. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   WorkflowInvocationName name =
+   *       WorkflowInvocationName.of(
+   *           "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]");
+   *   dataformClient.deleteWorkflowInvocation(name);
+   * }
+   * }
+ * + * @param name Required. The workflow invocation resource's name. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteWorkflowInvocation(WorkflowInvocationName name) { + DeleteWorkflowInvocationRequest request = + DeleteWorkflowInvocationRequest.newBuilder() + .setName(name == null ? null : name.toString()) + .build(); + deleteWorkflowInvocation(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a single WorkflowInvocation. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   String name =
+   *       WorkflowInvocationName.of(
+   *               "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]")
+   *           .toString();
+   *   dataformClient.deleteWorkflowInvocation(name);
+   * }
+   * }
+ * + * @param name Required. The workflow invocation resource's name. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteWorkflowInvocation(String name) { + DeleteWorkflowInvocationRequest request = + DeleteWorkflowInvocationRequest.newBuilder().setName(name).build(); + deleteWorkflowInvocation(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a single WorkflowInvocation. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   DeleteWorkflowInvocationRequest request =
+   *       DeleteWorkflowInvocationRequest.newBuilder()
+   *           .setName(
+   *               WorkflowInvocationName.of(
+   *                       "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]")
+   *                   .toString())
+   *           .build();
+   *   dataformClient.deleteWorkflowInvocation(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteWorkflowInvocation(DeleteWorkflowInvocationRequest request) { + deleteWorkflowInvocationCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a single WorkflowInvocation. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   DeleteWorkflowInvocationRequest request =
+   *       DeleteWorkflowInvocationRequest.newBuilder()
+   *           .setName(
+   *               WorkflowInvocationName.of(
+   *                       "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]")
+   *                   .toString())
+   *           .build();
+   *   ApiFuture future =
+   *       dataformClient.deleteWorkflowInvocationCallable().futureCall(request);
+   *   // Do something.
+   *   future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + deleteWorkflowInvocationCallable() { + return stub.deleteWorkflowInvocationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Requests cancellation of a running WorkflowInvocation. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   CancelWorkflowInvocationRequest request =
+   *       CancelWorkflowInvocationRequest.newBuilder()
+   *           .setName(
+   *               WorkflowInvocationName.of(
+   *                       "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]")
+   *                   .toString())
+   *           .build();
+   *   dataformClient.cancelWorkflowInvocation(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void cancelWorkflowInvocation(CancelWorkflowInvocationRequest request) { + cancelWorkflowInvocationCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Requests cancellation of a running WorkflowInvocation. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   CancelWorkflowInvocationRequest request =
+   *       CancelWorkflowInvocationRequest.newBuilder()
+   *           .setName(
+   *               WorkflowInvocationName.of(
+   *                       "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]")
+   *                   .toString())
+   *           .build();
+   *   ApiFuture future =
+   *       dataformClient.cancelWorkflowInvocationCallable().futureCall(request);
+   *   // Do something.
+   *   future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + cancelWorkflowInvocationCallable() { + return stub.cancelWorkflowInvocationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns WorkflowInvocationActions in a given WorkflowInvocation. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   QueryWorkflowInvocationActionsRequest request =
+   *       QueryWorkflowInvocationActionsRequest.newBuilder()
+   *           .setName(
+   *               WorkflowInvocationName.of(
+   *                       "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]")
+   *                   .toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   for (WorkflowInvocationAction element :
+   *       dataformClient.queryWorkflowInvocationActions(request).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final QueryWorkflowInvocationActionsPagedResponse queryWorkflowInvocationActions( + QueryWorkflowInvocationActionsRequest request) { + return queryWorkflowInvocationActionsPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns WorkflowInvocationActions in a given WorkflowInvocation. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   QueryWorkflowInvocationActionsRequest request =
+   *       QueryWorkflowInvocationActionsRequest.newBuilder()
+   *           .setName(
+   *               WorkflowInvocationName.of(
+   *                       "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]")
+   *                   .toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   ApiFuture future =
+   *       dataformClient.queryWorkflowInvocationActionsPagedCallable().futureCall(request);
+   *   // Do something.
+   *   for (WorkflowInvocationAction element : future.get().iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable< + QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsPagedResponse> + queryWorkflowInvocationActionsPagedCallable() { + return stub.queryWorkflowInvocationActionsPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns WorkflowInvocationActions in a given WorkflowInvocation. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   QueryWorkflowInvocationActionsRequest request =
+   *       QueryWorkflowInvocationActionsRequest.newBuilder()
+   *           .setName(
+   *               WorkflowInvocationName.of(
+   *                       "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]")
+   *                   .toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   while (true) {
+   *     QueryWorkflowInvocationActionsResponse response =
+   *         dataformClient.queryWorkflowInvocationActionsCallable().call(request);
+   *     for (WorkflowInvocationAction element : response.getWorkflowInvocationActionsList()) {
+   *       // doThingsWith(element);
+   *     }
+   *     String nextPageToken = response.getNextPageToken();
+   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
+   *       request = request.toBuilder().setPageToken(nextPageToken).build();
+   *     } else {
+   *       break;
+   *     }
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable< + QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse> + queryWorkflowInvocationActionsCallable() { + return stub.queryWorkflowInvocationActionsCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists information about the supported locations for this service. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   ListLocationsRequest request =
+   *       ListLocationsRequest.newBuilder()
+   *           .setName("name3373707")
+   *           .setFilter("filter-1274492040")
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   for (Location element : dataformClient.listLocations(request).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListLocationsPagedResponse listLocations(ListLocationsRequest request) { + return listLocationsPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists information about the supported locations for this service. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   ListLocationsRequest request =
+   *       ListLocationsRequest.newBuilder()
+   *           .setName("name3373707")
+   *           .setFilter("filter-1274492040")
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   ApiFuture future = dataformClient.listLocationsPagedCallable().futureCall(request);
+   *   // Do something.
+   *   for (Location element : future.get().iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listLocationsPagedCallable() { + return stub.listLocationsPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists information about the supported locations for this service. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   ListLocationsRequest request =
+   *       ListLocationsRequest.newBuilder()
+   *           .setName("name3373707")
+   *           .setFilter("filter-1274492040")
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   while (true) {
+   *     ListLocationsResponse response = dataformClient.listLocationsCallable().call(request);
+   *     for (Location element : response.getLocationsList()) {
+   *       // doThingsWith(element);
+   *     }
+   *     String nextPageToken = response.getNextPageToken();
+   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
+   *       request = request.toBuilder().setPageToken(nextPageToken).build();
+   *     } else {
+   *       break;
+   *     }
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable listLocationsCallable() { + return stub.listLocationsCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets information about a location. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
+   *   Location response = dataformClient.getLocation(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Location getLocation(GetLocationRequest request) { + return getLocationCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets information about a location. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
+   * try (DataformClient dataformClient = DataformClient.create()) {
+   *   GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build();
+   *   ApiFuture future = dataformClient.getLocationCallable().futureCall(request);
+   *   // Do something.
+   *   Location response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable getLocationCallable() { + return stub.getLocationCallable(); + } + + @Override + public final void close() { + stub.close(); + } + + @Override + public void shutdown() { + stub.shutdown(); + } + + @Override + public boolean isShutdown() { + return stub.isShutdown(); + } + + @Override + public boolean isTerminated() { + return stub.isTerminated(); + } + + @Override + public void shutdownNow() { + stub.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return stub.awaitTermination(duration, unit); + } + + public static class ListRepositoriesPagedResponse + extends AbstractPagedListResponse< + ListRepositoriesRequest, ListRepositoriesResponse, Repository, ListRepositoriesPage, + ListRepositoriesFixedSizeCollection> { + + public static ApiFuture createAsync( + PageContext context, + ApiFuture futureResponse) { + ApiFuture futurePage = + ListRepositoriesPage.createEmptyPage().createPageAsync(context, futureResponse); + return ApiFutures.transform( + futurePage, + input -> new ListRepositoriesPagedResponse(input), + MoreExecutors.directExecutor()); + } + + private ListRepositoriesPagedResponse(ListRepositoriesPage page) { + super(page, ListRepositoriesFixedSizeCollection.createEmptyCollection()); + } + } + + public static class ListRepositoriesPage + extends AbstractPage< + ListRepositoriesRequest, ListRepositoriesResponse, Repository, ListRepositoriesPage> { + + private ListRepositoriesPage( + PageContext context, + ListRepositoriesResponse response) { + super(context, response); + } + + private static ListRepositoriesPage createEmptyPage() { + return new ListRepositoriesPage(null, null); + } + + @Override + protected ListRepositoriesPage createPage( + PageContext context, + ListRepositoriesResponse response) { + return new ListRepositoriesPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + PageContext context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class ListRepositoriesFixedSizeCollection + extends AbstractFixedSizeCollection< + ListRepositoriesRequest, ListRepositoriesResponse, Repository, ListRepositoriesPage, + ListRepositoriesFixedSizeCollection> { + + private ListRepositoriesFixedSizeCollection( + List pages, int collectionSize) { + super(pages, collectionSize); + } + + private static ListRepositoriesFixedSizeCollection createEmptyCollection() { + return new ListRepositoriesFixedSizeCollection(null, 0); + } + + @Override + protected ListRepositoriesFixedSizeCollection createCollection( + List pages, int collectionSize) { + return new ListRepositoriesFixedSizeCollection(pages, collectionSize); + } + } + + public static class ListWorkspacesPagedResponse + extends AbstractPagedListResponse< + ListWorkspacesRequest, ListWorkspacesResponse, Workspace, ListWorkspacesPage, + ListWorkspacesFixedSizeCollection> { + + public static ApiFuture createAsync( + PageContext context, + ApiFuture futureResponse) { + ApiFuture futurePage = + ListWorkspacesPage.createEmptyPage().createPageAsync(context, futureResponse); + return ApiFutures.transform( + futurePage, + input -> new ListWorkspacesPagedResponse(input), + MoreExecutors.directExecutor()); + } + + private ListWorkspacesPagedResponse(ListWorkspacesPage page) { + super(page, ListWorkspacesFixedSizeCollection.createEmptyCollection()); + } + } + + public static class ListWorkspacesPage + extends AbstractPage< + ListWorkspacesRequest, ListWorkspacesResponse, Workspace, ListWorkspacesPage> { + + private ListWorkspacesPage( + PageContext context, + ListWorkspacesResponse response) { + super(context, response); + } + + private static ListWorkspacesPage createEmptyPage() { + return new ListWorkspacesPage(null, null); + } + + @Override + protected ListWorkspacesPage createPage( + PageContext context, + ListWorkspacesResponse response) { + return new ListWorkspacesPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + PageContext context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class ListWorkspacesFixedSizeCollection + extends AbstractFixedSizeCollection< + ListWorkspacesRequest, ListWorkspacesResponse, Workspace, ListWorkspacesPage, + ListWorkspacesFixedSizeCollection> { + + private ListWorkspacesFixedSizeCollection(List pages, int collectionSize) { + super(pages, collectionSize); + } + + private static ListWorkspacesFixedSizeCollection createEmptyCollection() { + return new ListWorkspacesFixedSizeCollection(null, 0); + } + + @Override + protected ListWorkspacesFixedSizeCollection createCollection( + List pages, int collectionSize) { + return new ListWorkspacesFixedSizeCollection(pages, collectionSize); + } + } + + public static class QueryDirectoryContentsPagedResponse + extends AbstractPagedListResponse< + QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, + QueryDirectoryContentsResponse.DirectoryEntry, QueryDirectoryContentsPage, + QueryDirectoryContentsFixedSizeCollection> { + + public static ApiFuture createAsync( + PageContext< + QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, + QueryDirectoryContentsResponse.DirectoryEntry> + context, + ApiFuture futureResponse) { + ApiFuture futurePage = + QueryDirectoryContentsPage.createEmptyPage().createPageAsync(context, futureResponse); + return ApiFutures.transform( + futurePage, + input -> new QueryDirectoryContentsPagedResponse(input), + MoreExecutors.directExecutor()); + } + + private QueryDirectoryContentsPagedResponse(QueryDirectoryContentsPage page) { + super(page, QueryDirectoryContentsFixedSizeCollection.createEmptyCollection()); + } + } + + public static class QueryDirectoryContentsPage + extends AbstractPage< + QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, + QueryDirectoryContentsResponse.DirectoryEntry, QueryDirectoryContentsPage> { + + private QueryDirectoryContentsPage( + PageContext< + QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, + QueryDirectoryContentsResponse.DirectoryEntry> + context, + QueryDirectoryContentsResponse response) { + super(context, response); + } + + private static QueryDirectoryContentsPage createEmptyPage() { + return new QueryDirectoryContentsPage(null, null); + } + + @Override + protected QueryDirectoryContentsPage createPage( + PageContext< + QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, + QueryDirectoryContentsResponse.DirectoryEntry> + context, + QueryDirectoryContentsResponse response) { + return new QueryDirectoryContentsPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + PageContext< + QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, + QueryDirectoryContentsResponse.DirectoryEntry> + context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class QueryDirectoryContentsFixedSizeCollection + extends AbstractFixedSizeCollection< + QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, + QueryDirectoryContentsResponse.DirectoryEntry, QueryDirectoryContentsPage, + QueryDirectoryContentsFixedSizeCollection> { + + private QueryDirectoryContentsFixedSizeCollection( + List pages, int collectionSize) { + super(pages, collectionSize); + } + + private static QueryDirectoryContentsFixedSizeCollection createEmptyCollection() { + return new QueryDirectoryContentsFixedSizeCollection(null, 0); + } + + @Override + protected QueryDirectoryContentsFixedSizeCollection createCollection( + List pages, int collectionSize) { + return new QueryDirectoryContentsFixedSizeCollection(pages, collectionSize); + } + } + + public static class ListCompilationResultsPagedResponse + extends AbstractPagedListResponse< + ListCompilationResultsRequest, ListCompilationResultsResponse, CompilationResult, + ListCompilationResultsPage, ListCompilationResultsFixedSizeCollection> { + + public static ApiFuture createAsync( + PageContext< + ListCompilationResultsRequest, ListCompilationResultsResponse, CompilationResult> + context, + ApiFuture futureResponse) { + ApiFuture futurePage = + ListCompilationResultsPage.createEmptyPage().createPageAsync(context, futureResponse); + return ApiFutures.transform( + futurePage, + input -> new ListCompilationResultsPagedResponse(input), + MoreExecutors.directExecutor()); + } + + private ListCompilationResultsPagedResponse(ListCompilationResultsPage page) { + super(page, ListCompilationResultsFixedSizeCollection.createEmptyCollection()); + } + } + + public static class ListCompilationResultsPage + extends AbstractPage< + ListCompilationResultsRequest, ListCompilationResultsResponse, CompilationResult, + ListCompilationResultsPage> { + + private ListCompilationResultsPage( + PageContext< + ListCompilationResultsRequest, ListCompilationResultsResponse, CompilationResult> + context, + ListCompilationResultsResponse response) { + super(context, response); + } + + private static ListCompilationResultsPage createEmptyPage() { + return new ListCompilationResultsPage(null, null); + } + + @Override + protected ListCompilationResultsPage createPage( + PageContext< + ListCompilationResultsRequest, ListCompilationResultsResponse, CompilationResult> + context, + ListCompilationResultsResponse response) { + return new ListCompilationResultsPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + PageContext< + ListCompilationResultsRequest, ListCompilationResultsResponse, CompilationResult> + context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class ListCompilationResultsFixedSizeCollection + extends AbstractFixedSizeCollection< + ListCompilationResultsRequest, ListCompilationResultsResponse, CompilationResult, + ListCompilationResultsPage, ListCompilationResultsFixedSizeCollection> { + + private ListCompilationResultsFixedSizeCollection( + List pages, int collectionSize) { + super(pages, collectionSize); + } + + private static ListCompilationResultsFixedSizeCollection createEmptyCollection() { + return new ListCompilationResultsFixedSizeCollection(null, 0); + } + + @Override + protected ListCompilationResultsFixedSizeCollection createCollection( + List pages, int collectionSize) { + return new ListCompilationResultsFixedSizeCollection(pages, collectionSize); + } + } + + public static class QueryCompilationResultActionsPagedResponse + extends AbstractPagedListResponse< + QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, + CompilationResultAction, QueryCompilationResultActionsPage, + QueryCompilationResultActionsFixedSizeCollection> { + + public static ApiFuture createAsync( + PageContext< + QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, + CompilationResultAction> + context, + ApiFuture futureResponse) { + ApiFuture futurePage = + QueryCompilationResultActionsPage.createEmptyPage() + .createPageAsync(context, futureResponse); + return ApiFutures.transform( + futurePage, + input -> new QueryCompilationResultActionsPagedResponse(input), + MoreExecutors.directExecutor()); + } + + private QueryCompilationResultActionsPagedResponse(QueryCompilationResultActionsPage page) { + super(page, QueryCompilationResultActionsFixedSizeCollection.createEmptyCollection()); + } + } + + public static class QueryCompilationResultActionsPage + extends AbstractPage< + QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, + CompilationResultAction, QueryCompilationResultActionsPage> { + + private QueryCompilationResultActionsPage( + PageContext< + QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, + CompilationResultAction> + context, + QueryCompilationResultActionsResponse response) { + super(context, response); + } + + private static QueryCompilationResultActionsPage createEmptyPage() { + return new QueryCompilationResultActionsPage(null, null); + } + + @Override + protected QueryCompilationResultActionsPage createPage( + PageContext< + QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, + CompilationResultAction> + context, + QueryCompilationResultActionsResponse response) { + return new QueryCompilationResultActionsPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + PageContext< + QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, + CompilationResultAction> + context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class QueryCompilationResultActionsFixedSizeCollection + extends AbstractFixedSizeCollection< + QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, + CompilationResultAction, QueryCompilationResultActionsPage, + QueryCompilationResultActionsFixedSizeCollection> { + + private QueryCompilationResultActionsFixedSizeCollection( + List pages, int collectionSize) { + super(pages, collectionSize); + } + + private static QueryCompilationResultActionsFixedSizeCollection createEmptyCollection() { + return new QueryCompilationResultActionsFixedSizeCollection(null, 0); + } + + @Override + protected QueryCompilationResultActionsFixedSizeCollection createCollection( + List pages, int collectionSize) { + return new QueryCompilationResultActionsFixedSizeCollection(pages, collectionSize); + } + } + + public static class ListWorkflowInvocationsPagedResponse + extends AbstractPagedListResponse< + ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, WorkflowInvocation, + ListWorkflowInvocationsPage, ListWorkflowInvocationsFixedSizeCollection> { + + public static ApiFuture createAsync( + PageContext< + ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, WorkflowInvocation> + context, + ApiFuture futureResponse) { + ApiFuture futurePage = + ListWorkflowInvocationsPage.createEmptyPage().createPageAsync(context, futureResponse); + return ApiFutures.transform( + futurePage, + input -> new ListWorkflowInvocationsPagedResponse(input), + MoreExecutors.directExecutor()); + } + + private ListWorkflowInvocationsPagedResponse(ListWorkflowInvocationsPage page) { + super(page, ListWorkflowInvocationsFixedSizeCollection.createEmptyCollection()); + } + } + + public static class ListWorkflowInvocationsPage + extends AbstractPage< + ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, WorkflowInvocation, + ListWorkflowInvocationsPage> { + + private ListWorkflowInvocationsPage( + PageContext< + ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, WorkflowInvocation> + context, + ListWorkflowInvocationsResponse response) { + super(context, response); + } + + private static ListWorkflowInvocationsPage createEmptyPage() { + return new ListWorkflowInvocationsPage(null, null); + } + + @Override + protected ListWorkflowInvocationsPage createPage( + PageContext< + ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, WorkflowInvocation> + context, + ListWorkflowInvocationsResponse response) { + return new ListWorkflowInvocationsPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + PageContext< + ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, WorkflowInvocation> + context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class ListWorkflowInvocationsFixedSizeCollection + extends AbstractFixedSizeCollection< + ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, WorkflowInvocation, + ListWorkflowInvocationsPage, ListWorkflowInvocationsFixedSizeCollection> { + + private ListWorkflowInvocationsFixedSizeCollection( + List pages, int collectionSize) { + super(pages, collectionSize); + } + + private static ListWorkflowInvocationsFixedSizeCollection createEmptyCollection() { + return new ListWorkflowInvocationsFixedSizeCollection(null, 0); + } + + @Override + protected ListWorkflowInvocationsFixedSizeCollection createCollection( + List pages, int collectionSize) { + return new ListWorkflowInvocationsFixedSizeCollection(pages, collectionSize); + } + } + + public static class QueryWorkflowInvocationActionsPagedResponse + extends AbstractPagedListResponse< + QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, + WorkflowInvocationAction, QueryWorkflowInvocationActionsPage, + QueryWorkflowInvocationActionsFixedSizeCollection> { + + public static ApiFuture createAsync( + PageContext< + QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, + WorkflowInvocationAction> + context, + ApiFuture futureResponse) { + ApiFuture futurePage = + QueryWorkflowInvocationActionsPage.createEmptyPage() + .createPageAsync(context, futureResponse); + return ApiFutures.transform( + futurePage, + input -> new QueryWorkflowInvocationActionsPagedResponse(input), + MoreExecutors.directExecutor()); + } + + private QueryWorkflowInvocationActionsPagedResponse(QueryWorkflowInvocationActionsPage page) { + super(page, QueryWorkflowInvocationActionsFixedSizeCollection.createEmptyCollection()); + } + } + + public static class QueryWorkflowInvocationActionsPage + extends AbstractPage< + QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, + WorkflowInvocationAction, QueryWorkflowInvocationActionsPage> { + + private QueryWorkflowInvocationActionsPage( + PageContext< + QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, + WorkflowInvocationAction> + context, + QueryWorkflowInvocationActionsResponse response) { + super(context, response); + } + + private static QueryWorkflowInvocationActionsPage createEmptyPage() { + return new QueryWorkflowInvocationActionsPage(null, null); + } + + @Override + protected QueryWorkflowInvocationActionsPage createPage( + PageContext< + QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, + WorkflowInvocationAction> + context, + QueryWorkflowInvocationActionsResponse response) { + return new QueryWorkflowInvocationActionsPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + PageContext< + QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, + WorkflowInvocationAction> + context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class QueryWorkflowInvocationActionsFixedSizeCollection + extends AbstractFixedSizeCollection< + QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, + WorkflowInvocationAction, QueryWorkflowInvocationActionsPage, + QueryWorkflowInvocationActionsFixedSizeCollection> { + + private QueryWorkflowInvocationActionsFixedSizeCollection( + List pages, int collectionSize) { + super(pages, collectionSize); + } + + private static QueryWorkflowInvocationActionsFixedSizeCollection createEmptyCollection() { + return new QueryWorkflowInvocationActionsFixedSizeCollection(null, 0); + } + + @Override + protected QueryWorkflowInvocationActionsFixedSizeCollection createCollection( + List pages, int collectionSize) { + return new QueryWorkflowInvocationActionsFixedSizeCollection(pages, collectionSize); + } + } + + public static class ListLocationsPagedResponse + extends AbstractPagedListResponse< + ListLocationsRequest, ListLocationsResponse, Location, ListLocationsPage, + ListLocationsFixedSizeCollection> { + + public static ApiFuture createAsync( + PageContext context, + ApiFuture futureResponse) { + ApiFuture futurePage = + ListLocationsPage.createEmptyPage().createPageAsync(context, futureResponse); + return ApiFutures.transform( + futurePage, + input -> new ListLocationsPagedResponse(input), + MoreExecutors.directExecutor()); + } + + private ListLocationsPagedResponse(ListLocationsPage page) { + super(page, ListLocationsFixedSizeCollection.createEmptyCollection()); + } + } + + public static class ListLocationsPage + extends AbstractPage< + ListLocationsRequest, ListLocationsResponse, Location, ListLocationsPage> { + + private ListLocationsPage( + PageContext context, + ListLocationsResponse response) { + super(context, response); + } + + private static ListLocationsPage createEmptyPage() { + return new ListLocationsPage(null, null); + } + + @Override + protected ListLocationsPage createPage( + PageContext context, + ListLocationsResponse response) { + return new ListLocationsPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + PageContext context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class ListLocationsFixedSizeCollection + extends AbstractFixedSizeCollection< + ListLocationsRequest, ListLocationsResponse, Location, ListLocationsPage, + ListLocationsFixedSizeCollection> { + + private ListLocationsFixedSizeCollection(List pages, int collectionSize) { + super(pages, collectionSize); + } + + private static ListLocationsFixedSizeCollection createEmptyCollection() { + return new ListLocationsFixedSizeCollection(null, 0); + } + + @Override + protected ListLocationsFixedSizeCollection createCollection( + List pages, int collectionSize) { + return new ListLocationsFixedSizeCollection(pages, collectionSize); + } + } +} diff --git a/owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/DataformSettings.java b/owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/DataformSettings.java new file mode 100644 index 0000000..163a01e --- /dev/null +++ b/owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/DataformSettings.java @@ -0,0 +1,655 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dataform.v1beta1; + +import static com.google.cloud.dataform.v1beta1.DataformClient.ListCompilationResultsPagedResponse; +import static com.google.cloud.dataform.v1beta1.DataformClient.ListLocationsPagedResponse; +import static com.google.cloud.dataform.v1beta1.DataformClient.ListRepositoriesPagedResponse; +import static com.google.cloud.dataform.v1beta1.DataformClient.ListWorkflowInvocationsPagedResponse; +import static com.google.cloud.dataform.v1beta1.DataformClient.ListWorkspacesPagedResponse; +import static com.google.cloud.dataform.v1beta1.DataformClient.QueryCompilationResultActionsPagedResponse; +import static com.google.cloud.dataform.v1beta1.DataformClient.QueryDirectoryContentsPagedResponse; +import static com.google.cloud.dataform.v1beta1.DataformClient.QueryWorkflowInvocationActionsPagedResponse; + +import com.google.api.core.ApiFunction; +import com.google.api.core.BetaApi; +import com.google.api.gax.core.GoogleCredentialsProvider; +import com.google.api.gax.core.InstantiatingExecutorProvider; +import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.ClientSettings; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; +import com.google.api.gax.rpc.TransportChannelProvider; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.cloud.dataform.v1beta1.stub.DataformStubSettings; +import com.google.cloud.location.GetLocationRequest; +import com.google.cloud.location.ListLocationsRequest; +import com.google.cloud.location.ListLocationsResponse; +import com.google.cloud.location.Location; +import com.google.protobuf.Empty; +import java.io.IOException; +import java.util.List; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Settings class to configure an instance of {@link DataformClient}. + * + *

The default instance has everything set to sensible defaults: + * + *

    + *
  • The default service address (dataform.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
+ * + *

The builder of this class is recursive, so contained classes are themselves builders. When + * build() is called, the tree of builders is called to create the complete settings object. + * + *

For example, to set the total timeout of getRepository to 30 seconds: + * + *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
+ * DataformSettings.Builder dataformSettingsBuilder = DataformSettings.newBuilder();
+ * dataformSettingsBuilder
+ *     .getRepositorySettings()
+ *     .setRetrySettings(
+ *         dataformSettingsBuilder
+ *             .getRepositorySettings()
+ *             .getRetrySettings()
+ *             .toBuilder()
+ *             .setTotalTimeout(Duration.ofSeconds(30))
+ *             .build());
+ * DataformSettings dataformSettings = dataformSettingsBuilder.build();
+ * }
+ */ +@BetaApi +@Generated("by gapic-generator-java") +public class DataformSettings extends ClientSettings { + + /** Returns the object with the settings used for calls to listRepositories. */ + public PagedCallSettings< + ListRepositoriesRequest, ListRepositoriesResponse, ListRepositoriesPagedResponse> + listRepositoriesSettings() { + return ((DataformStubSettings) getStubSettings()).listRepositoriesSettings(); + } + + /** Returns the object with the settings used for calls to getRepository. */ + public UnaryCallSettings getRepositorySettings() { + return ((DataformStubSettings) getStubSettings()).getRepositorySettings(); + } + + /** Returns the object with the settings used for calls to createRepository. */ + public UnaryCallSettings createRepositorySettings() { + return ((DataformStubSettings) getStubSettings()).createRepositorySettings(); + } + + /** Returns the object with the settings used for calls to updateRepository. */ + public UnaryCallSettings updateRepositorySettings() { + return ((DataformStubSettings) getStubSettings()).updateRepositorySettings(); + } + + /** Returns the object with the settings used for calls to deleteRepository. */ + public UnaryCallSettings deleteRepositorySettings() { + return ((DataformStubSettings) getStubSettings()).deleteRepositorySettings(); + } + + /** Returns the object with the settings used for calls to fetchRemoteBranches. */ + public UnaryCallSettings + fetchRemoteBranchesSettings() { + return ((DataformStubSettings) getStubSettings()).fetchRemoteBranchesSettings(); + } + + /** Returns the object with the settings used for calls to listWorkspaces. */ + public PagedCallSettings< + ListWorkspacesRequest, ListWorkspacesResponse, ListWorkspacesPagedResponse> + listWorkspacesSettings() { + return ((DataformStubSettings) getStubSettings()).listWorkspacesSettings(); + } + + /** Returns the object with the settings used for calls to getWorkspace. */ + public UnaryCallSettings getWorkspaceSettings() { + return ((DataformStubSettings) getStubSettings()).getWorkspaceSettings(); + } + + /** Returns the object with the settings used for calls to createWorkspace. */ + public UnaryCallSettings createWorkspaceSettings() { + return ((DataformStubSettings) getStubSettings()).createWorkspaceSettings(); + } + + /** Returns the object with the settings used for calls to deleteWorkspace. */ + public UnaryCallSettings deleteWorkspaceSettings() { + return ((DataformStubSettings) getStubSettings()).deleteWorkspaceSettings(); + } + + /** Returns the object with the settings used for calls to installNpmPackages. */ + public UnaryCallSettings + installNpmPackagesSettings() { + return ((DataformStubSettings) getStubSettings()).installNpmPackagesSettings(); + } + + /** Returns the object with the settings used for calls to pullGitCommits. */ + public UnaryCallSettings pullGitCommitsSettings() { + return ((DataformStubSettings) getStubSettings()).pullGitCommitsSettings(); + } + + /** Returns the object with the settings used for calls to pushGitCommits. */ + public UnaryCallSettings pushGitCommitsSettings() { + return ((DataformStubSettings) getStubSettings()).pushGitCommitsSettings(); + } + + /** Returns the object with the settings used for calls to fetchFileGitStatuses. */ + public UnaryCallSettings + fetchFileGitStatusesSettings() { + return ((DataformStubSettings) getStubSettings()).fetchFileGitStatusesSettings(); + } + + /** Returns the object with the settings used for calls to fetchGitAheadBehind. */ + public UnaryCallSettings + fetchGitAheadBehindSettings() { + return ((DataformStubSettings) getStubSettings()).fetchGitAheadBehindSettings(); + } + + /** Returns the object with the settings used for calls to commitWorkspaceChanges. */ + public UnaryCallSettings commitWorkspaceChangesSettings() { + return ((DataformStubSettings) getStubSettings()).commitWorkspaceChangesSettings(); + } + + /** Returns the object with the settings used for calls to resetWorkspaceChanges. */ + public UnaryCallSettings resetWorkspaceChangesSettings() { + return ((DataformStubSettings) getStubSettings()).resetWorkspaceChangesSettings(); + } + + /** Returns the object with the settings used for calls to fetchFileDiff. */ + public UnaryCallSettings fetchFileDiffSettings() { + return ((DataformStubSettings) getStubSettings()).fetchFileDiffSettings(); + } + + /** Returns the object with the settings used for calls to queryDirectoryContents. */ + public PagedCallSettings< + QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, + QueryDirectoryContentsPagedResponse> + queryDirectoryContentsSettings() { + return ((DataformStubSettings) getStubSettings()).queryDirectoryContentsSettings(); + } + + /** Returns the object with the settings used for calls to makeDirectory. */ + public UnaryCallSettings makeDirectorySettings() { + return ((DataformStubSettings) getStubSettings()).makeDirectorySettings(); + } + + /** Returns the object with the settings used for calls to removeDirectory. */ + public UnaryCallSettings removeDirectorySettings() { + return ((DataformStubSettings) getStubSettings()).removeDirectorySettings(); + } + + /** Returns the object with the settings used for calls to moveDirectory. */ + public UnaryCallSettings moveDirectorySettings() { + return ((DataformStubSettings) getStubSettings()).moveDirectorySettings(); + } + + /** Returns the object with the settings used for calls to readFile. */ + public UnaryCallSettings readFileSettings() { + return ((DataformStubSettings) getStubSettings()).readFileSettings(); + } + + /** Returns the object with the settings used for calls to removeFile. */ + public UnaryCallSettings removeFileSettings() { + return ((DataformStubSettings) getStubSettings()).removeFileSettings(); + } + + /** Returns the object with the settings used for calls to moveFile. */ + public UnaryCallSettings moveFileSettings() { + return ((DataformStubSettings) getStubSettings()).moveFileSettings(); + } + + /** Returns the object with the settings used for calls to writeFile. */ + public UnaryCallSettings writeFileSettings() { + return ((DataformStubSettings) getStubSettings()).writeFileSettings(); + } + + /** Returns the object with the settings used for calls to listCompilationResults. */ + public PagedCallSettings< + ListCompilationResultsRequest, ListCompilationResultsResponse, + ListCompilationResultsPagedResponse> + listCompilationResultsSettings() { + return ((DataformStubSettings) getStubSettings()).listCompilationResultsSettings(); + } + + /** Returns the object with the settings used for calls to getCompilationResult. */ + public UnaryCallSettings + getCompilationResultSettings() { + return ((DataformStubSettings) getStubSettings()).getCompilationResultSettings(); + } + + /** Returns the object with the settings used for calls to createCompilationResult. */ + public UnaryCallSettings + createCompilationResultSettings() { + return ((DataformStubSettings) getStubSettings()).createCompilationResultSettings(); + } + + /** Returns the object with the settings used for calls to queryCompilationResultActions. */ + public PagedCallSettings< + QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, + QueryCompilationResultActionsPagedResponse> + queryCompilationResultActionsSettings() { + return ((DataformStubSettings) getStubSettings()).queryCompilationResultActionsSettings(); + } + + /** Returns the object with the settings used for calls to listWorkflowInvocations. */ + public PagedCallSettings< + ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, + ListWorkflowInvocationsPagedResponse> + listWorkflowInvocationsSettings() { + return ((DataformStubSettings) getStubSettings()).listWorkflowInvocationsSettings(); + } + + /** Returns the object with the settings used for calls to getWorkflowInvocation. */ + public UnaryCallSettings + getWorkflowInvocationSettings() { + return ((DataformStubSettings) getStubSettings()).getWorkflowInvocationSettings(); + } + + /** Returns the object with the settings used for calls to createWorkflowInvocation. */ + public UnaryCallSettings + createWorkflowInvocationSettings() { + return ((DataformStubSettings) getStubSettings()).createWorkflowInvocationSettings(); + } + + /** Returns the object with the settings used for calls to deleteWorkflowInvocation. */ + public UnaryCallSettings + deleteWorkflowInvocationSettings() { + return ((DataformStubSettings) getStubSettings()).deleteWorkflowInvocationSettings(); + } + + /** Returns the object with the settings used for calls to cancelWorkflowInvocation. */ + public UnaryCallSettings + cancelWorkflowInvocationSettings() { + return ((DataformStubSettings) getStubSettings()).cancelWorkflowInvocationSettings(); + } + + /** Returns the object with the settings used for calls to queryWorkflowInvocationActions. */ + public PagedCallSettings< + QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, + QueryWorkflowInvocationActionsPagedResponse> + queryWorkflowInvocationActionsSettings() { + return ((DataformStubSettings) getStubSettings()).queryWorkflowInvocationActionsSettings(); + } + + /** Returns the object with the settings used for calls to listLocations. */ + public PagedCallSettings + listLocationsSettings() { + return ((DataformStubSettings) getStubSettings()).listLocationsSettings(); + } + + /** Returns the object with the settings used for calls to getLocation. */ + public UnaryCallSettings getLocationSettings() { + return ((DataformStubSettings) getStubSettings()).getLocationSettings(); + } + + public static final DataformSettings create(DataformStubSettings stub) throws IOException { + return new DataformSettings.Builder(stub.toBuilder()).build(); + } + + /** Returns a builder for the default ExecutorProvider for this service. */ + public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { + return DataformStubSettings.defaultExecutorProviderBuilder(); + } + + /** Returns the default service endpoint. */ + public static String getDefaultEndpoint() { + return DataformStubSettings.getDefaultEndpoint(); + } + + /** Returns the default service scopes. */ + public static List getDefaultServiceScopes() { + return DataformStubSettings.getDefaultServiceScopes(); + } + + /** Returns a builder for the default credentials for this service. */ + public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { + return DataformStubSettings.defaultCredentialsProviderBuilder(); + } + + /** Returns a builder for the default gRPC ChannelProvider for this service. */ + public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { + return DataformStubSettings.defaultGrpcTransportProviderBuilder(); + } + + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return DataformStubSettings.defaultHttpJsonTransportProviderBuilder(); + } + + public static TransportChannelProvider defaultTransportChannelProvider() { + return DataformStubSettings.defaultTransportChannelProvider(); + } + + @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return DataformStubSettings.defaultApiClientHeaderProviderBuilder(); + } + + /** Returns a new gRPC builder for this class. */ + public static Builder newBuilder() { + return Builder.createDefault(); + } + + /** Returns a new REST builder for this class. */ + @BetaApi + public static Builder newHttpJsonBuilder() { + return Builder.createHttpJsonDefault(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder(ClientContext clientContext) { + return new Builder(clientContext); + } + + /** Returns a builder containing all the values of this settings class. */ + public Builder toBuilder() { + return new Builder(this); + } + + protected DataformSettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + } + + /** Builder for DataformSettings. */ + public static class Builder extends ClientSettings.Builder { + + protected Builder() throws IOException { + this(((ClientContext) null)); + } + + protected Builder(ClientContext clientContext) { + super(DataformStubSettings.newBuilder(clientContext)); + } + + protected Builder(DataformSettings settings) { + super(settings.getStubSettings().toBuilder()); + } + + protected Builder(DataformStubSettings.Builder stubSettings) { + super(stubSettings); + } + + private static Builder createDefault() { + return new Builder(DataformStubSettings.newBuilder()); + } + + @BetaApi + private static Builder createHttpJsonDefault() { + return new Builder(DataformStubSettings.newHttpJsonBuilder()); + } + + public DataformStubSettings.Builder getStubSettingsBuilder() { + return ((DataformStubSettings.Builder) getStubSettings()); + } + + /** + * Applies the given settings updater function to all of the unary API methods in this service. + * + *

Note: This method does not support applying settings to streaming methods. + */ + public Builder applyToAllUnaryMethods( + ApiFunction, Void> settingsUpdater) { + super.applyToAllUnaryMethods( + getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater); + return this; + } + + /** Returns the builder for the settings used for calls to listRepositories. */ + public PagedCallSettings.Builder< + ListRepositoriesRequest, ListRepositoriesResponse, ListRepositoriesPagedResponse> + listRepositoriesSettings() { + return getStubSettingsBuilder().listRepositoriesSettings(); + } + + /** Returns the builder for the settings used for calls to getRepository. */ + public UnaryCallSettings.Builder getRepositorySettings() { + return getStubSettingsBuilder().getRepositorySettings(); + } + + /** Returns the builder for the settings used for calls to createRepository. */ + public UnaryCallSettings.Builder + createRepositorySettings() { + return getStubSettingsBuilder().createRepositorySettings(); + } + + /** Returns the builder for the settings used for calls to updateRepository. */ + public UnaryCallSettings.Builder + updateRepositorySettings() { + return getStubSettingsBuilder().updateRepositorySettings(); + } + + /** Returns the builder for the settings used for calls to deleteRepository. */ + public UnaryCallSettings.Builder deleteRepositorySettings() { + return getStubSettingsBuilder().deleteRepositorySettings(); + } + + /** Returns the builder for the settings used for calls to fetchRemoteBranches. */ + public UnaryCallSettings.Builder + fetchRemoteBranchesSettings() { + return getStubSettingsBuilder().fetchRemoteBranchesSettings(); + } + + /** Returns the builder for the settings used for calls to listWorkspaces. */ + public PagedCallSettings.Builder< + ListWorkspacesRequest, ListWorkspacesResponse, ListWorkspacesPagedResponse> + listWorkspacesSettings() { + return getStubSettingsBuilder().listWorkspacesSettings(); + } + + /** Returns the builder for the settings used for calls to getWorkspace. */ + public UnaryCallSettings.Builder getWorkspaceSettings() { + return getStubSettingsBuilder().getWorkspaceSettings(); + } + + /** Returns the builder for the settings used for calls to createWorkspace. */ + public UnaryCallSettings.Builder createWorkspaceSettings() { + return getStubSettingsBuilder().createWorkspaceSettings(); + } + + /** Returns the builder for the settings used for calls to deleteWorkspace. */ + public UnaryCallSettings.Builder deleteWorkspaceSettings() { + return getStubSettingsBuilder().deleteWorkspaceSettings(); + } + + /** Returns the builder for the settings used for calls to installNpmPackages. */ + public UnaryCallSettings.Builder + installNpmPackagesSettings() { + return getStubSettingsBuilder().installNpmPackagesSettings(); + } + + /** Returns the builder for the settings used for calls to pullGitCommits. */ + public UnaryCallSettings.Builder pullGitCommitsSettings() { + return getStubSettingsBuilder().pullGitCommitsSettings(); + } + + /** Returns the builder for the settings used for calls to pushGitCommits. */ + public UnaryCallSettings.Builder pushGitCommitsSettings() { + return getStubSettingsBuilder().pushGitCommitsSettings(); + } + + /** Returns the builder for the settings used for calls to fetchFileGitStatuses. */ + public UnaryCallSettings.Builder + fetchFileGitStatusesSettings() { + return getStubSettingsBuilder().fetchFileGitStatusesSettings(); + } + + /** Returns the builder for the settings used for calls to fetchGitAheadBehind. */ + public UnaryCallSettings.Builder + fetchGitAheadBehindSettings() { + return getStubSettingsBuilder().fetchGitAheadBehindSettings(); + } + + /** Returns the builder for the settings used for calls to commitWorkspaceChanges. */ + public UnaryCallSettings.Builder + commitWorkspaceChangesSettings() { + return getStubSettingsBuilder().commitWorkspaceChangesSettings(); + } + + /** Returns the builder for the settings used for calls to resetWorkspaceChanges. */ + public UnaryCallSettings.Builder + resetWorkspaceChangesSettings() { + return getStubSettingsBuilder().resetWorkspaceChangesSettings(); + } + + /** Returns the builder for the settings used for calls to fetchFileDiff. */ + public UnaryCallSettings.Builder + fetchFileDiffSettings() { + return getStubSettingsBuilder().fetchFileDiffSettings(); + } + + /** Returns the builder for the settings used for calls to queryDirectoryContents. */ + public PagedCallSettings.Builder< + QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, + QueryDirectoryContentsPagedResponse> + queryDirectoryContentsSettings() { + return getStubSettingsBuilder().queryDirectoryContentsSettings(); + } + + /** Returns the builder for the settings used for calls to makeDirectory. */ + public UnaryCallSettings.Builder + makeDirectorySettings() { + return getStubSettingsBuilder().makeDirectorySettings(); + } + + /** Returns the builder for the settings used for calls to removeDirectory. */ + public UnaryCallSettings.Builder removeDirectorySettings() { + return getStubSettingsBuilder().removeDirectorySettings(); + } + + /** Returns the builder for the settings used for calls to moveDirectory. */ + public UnaryCallSettings.Builder + moveDirectorySettings() { + return getStubSettingsBuilder().moveDirectorySettings(); + } + + /** Returns the builder for the settings used for calls to readFile. */ + public UnaryCallSettings.Builder readFileSettings() { + return getStubSettingsBuilder().readFileSettings(); + } + + /** Returns the builder for the settings used for calls to removeFile. */ + public UnaryCallSettings.Builder removeFileSettings() { + return getStubSettingsBuilder().removeFileSettings(); + } + + /** Returns the builder for the settings used for calls to moveFile. */ + public UnaryCallSettings.Builder moveFileSettings() { + return getStubSettingsBuilder().moveFileSettings(); + } + + /** Returns the builder for the settings used for calls to writeFile. */ + public UnaryCallSettings.Builder writeFileSettings() { + return getStubSettingsBuilder().writeFileSettings(); + } + + /** Returns the builder for the settings used for calls to listCompilationResults. */ + public PagedCallSettings.Builder< + ListCompilationResultsRequest, ListCompilationResultsResponse, + ListCompilationResultsPagedResponse> + listCompilationResultsSettings() { + return getStubSettingsBuilder().listCompilationResultsSettings(); + } + + /** Returns the builder for the settings used for calls to getCompilationResult. */ + public UnaryCallSettings.Builder + getCompilationResultSettings() { + return getStubSettingsBuilder().getCompilationResultSettings(); + } + + /** Returns the builder for the settings used for calls to createCompilationResult. */ + public UnaryCallSettings.Builder + createCompilationResultSettings() { + return getStubSettingsBuilder().createCompilationResultSettings(); + } + + /** Returns the builder for the settings used for calls to queryCompilationResultActions. */ + public PagedCallSettings.Builder< + QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, + QueryCompilationResultActionsPagedResponse> + queryCompilationResultActionsSettings() { + return getStubSettingsBuilder().queryCompilationResultActionsSettings(); + } + + /** Returns the builder for the settings used for calls to listWorkflowInvocations. */ + public PagedCallSettings.Builder< + ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, + ListWorkflowInvocationsPagedResponse> + listWorkflowInvocationsSettings() { + return getStubSettingsBuilder().listWorkflowInvocationsSettings(); + } + + /** Returns the builder for the settings used for calls to getWorkflowInvocation. */ + public UnaryCallSettings.Builder + getWorkflowInvocationSettings() { + return getStubSettingsBuilder().getWorkflowInvocationSettings(); + } + + /** Returns the builder for the settings used for calls to createWorkflowInvocation. */ + public UnaryCallSettings.Builder + createWorkflowInvocationSettings() { + return getStubSettingsBuilder().createWorkflowInvocationSettings(); + } + + /** Returns the builder for the settings used for calls to deleteWorkflowInvocation. */ + public UnaryCallSettings.Builder + deleteWorkflowInvocationSettings() { + return getStubSettingsBuilder().deleteWorkflowInvocationSettings(); + } + + /** Returns the builder for the settings used for calls to cancelWorkflowInvocation. */ + public UnaryCallSettings.Builder + cancelWorkflowInvocationSettings() { + return getStubSettingsBuilder().cancelWorkflowInvocationSettings(); + } + + /** Returns the builder for the settings used for calls to queryWorkflowInvocationActions. */ + public PagedCallSettings.Builder< + QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, + QueryWorkflowInvocationActionsPagedResponse> + queryWorkflowInvocationActionsSettings() { + return getStubSettingsBuilder().queryWorkflowInvocationActionsSettings(); + } + + /** Returns the builder for the settings used for calls to listLocations. */ + public PagedCallSettings.Builder< + ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> + listLocationsSettings() { + return getStubSettingsBuilder().listLocationsSettings(); + } + + /** Returns the builder for the settings used for calls to getLocation. */ + public UnaryCallSettings.Builder getLocationSettings() { + return getStubSettingsBuilder().getLocationSettings(); + } + + @Override + public DataformSettings build() throws IOException { + return new DataformSettings(this); + } + } +} diff --git a/owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/gapic_metadata.json b/owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/gapic_metadata.json new file mode 100644 index 0000000..b6506d0 --- /dev/null +++ b/owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/gapic_metadata.json @@ -0,0 +1,132 @@ +{ + "schema": "1.0", + "comment": "This file maps proto services/RPCs to the corresponding library clients/methods", + "language": "java", + "protoPackage": "google.cloud.dataform.v1beta1", + "libraryPackage": "com.google.cloud.dataform.v1beta1", + "services": { + "Dataform": { + "clients": { + "grpc": { + "libraryClient": "DataformClient", + "rpcs": { + "CancelWorkflowInvocation": { + "methods": ["cancelWorkflowInvocation", "cancelWorkflowInvocationCallable"] + }, + "CommitWorkspaceChanges": { + "methods": ["commitWorkspaceChanges", "commitWorkspaceChangesCallable"] + }, + "CreateCompilationResult": { + "methods": ["createCompilationResult", "createCompilationResult", "createCompilationResult", "createCompilationResultCallable"] + }, + "CreateRepository": { + "methods": ["createRepository", "createRepository", "createRepository", "createRepositoryCallable"] + }, + "CreateWorkflowInvocation": { + "methods": ["createWorkflowInvocation", "createWorkflowInvocation", "createWorkflowInvocation", "createWorkflowInvocationCallable"] + }, + "CreateWorkspace": { + "methods": ["createWorkspace", "createWorkspace", "createWorkspace", "createWorkspaceCallable"] + }, + "DeleteRepository": { + "methods": ["deleteRepository", "deleteRepository", "deleteRepository", "deleteRepositoryCallable"] + }, + "DeleteWorkflowInvocation": { + "methods": ["deleteWorkflowInvocation", "deleteWorkflowInvocation", "deleteWorkflowInvocation", "deleteWorkflowInvocationCallable"] + }, + "DeleteWorkspace": { + "methods": ["deleteWorkspace", "deleteWorkspace", "deleteWorkspace", "deleteWorkspaceCallable"] + }, + "FetchFileDiff": { + "methods": ["fetchFileDiff", "fetchFileDiffCallable"] + }, + "FetchFileGitStatuses": { + "methods": ["fetchFileGitStatuses", "fetchFileGitStatusesCallable"] + }, + "FetchGitAheadBehind": { + "methods": ["fetchGitAheadBehind", "fetchGitAheadBehindCallable"] + }, + "FetchRemoteBranches": { + "methods": ["fetchRemoteBranches", "fetchRemoteBranchesCallable"] + }, + "GetCompilationResult": { + "methods": ["getCompilationResult", "getCompilationResult", "getCompilationResult", "getCompilationResultCallable"] + }, + "GetLocation": { + "methods": ["getLocation", "getLocationCallable"] + }, + "GetRepository": { + "methods": ["getRepository", "getRepository", "getRepository", "getRepositoryCallable"] + }, + "GetWorkflowInvocation": { + "methods": ["getWorkflowInvocation", "getWorkflowInvocation", "getWorkflowInvocation", "getWorkflowInvocationCallable"] + }, + "GetWorkspace": { + "methods": ["getWorkspace", "getWorkspace", "getWorkspace", "getWorkspaceCallable"] + }, + "InstallNpmPackages": { + "methods": ["installNpmPackages", "installNpmPackagesCallable"] + }, + "ListCompilationResults": { + "methods": ["listCompilationResults", "listCompilationResults", "listCompilationResults", "listCompilationResultsPagedCallable", "listCompilationResultsCallable"] + }, + "ListLocations": { + "methods": ["listLocations", "listLocationsPagedCallable", "listLocationsCallable"] + }, + "ListRepositories": { + "methods": ["listRepositories", "listRepositories", "listRepositories", "listRepositoriesPagedCallable", "listRepositoriesCallable"] + }, + "ListWorkflowInvocations": { + "methods": ["listWorkflowInvocations", "listWorkflowInvocations", "listWorkflowInvocations", "listWorkflowInvocationsPagedCallable", "listWorkflowInvocationsCallable"] + }, + "ListWorkspaces": { + "methods": ["listWorkspaces", "listWorkspaces", "listWorkspaces", "listWorkspacesPagedCallable", "listWorkspacesCallable"] + }, + "MakeDirectory": { + "methods": ["makeDirectory", "makeDirectoryCallable"] + }, + "MoveDirectory": { + "methods": ["moveDirectory", "moveDirectoryCallable"] + }, + "MoveFile": { + "methods": ["moveFile", "moveFileCallable"] + }, + "PullGitCommits": { + "methods": ["pullGitCommits", "pullGitCommitsCallable"] + }, + "PushGitCommits": { + "methods": ["pushGitCommits", "pushGitCommitsCallable"] + }, + "QueryCompilationResultActions": { + "methods": ["queryCompilationResultActions", "queryCompilationResultActionsPagedCallable", "queryCompilationResultActionsCallable"] + }, + "QueryDirectoryContents": { + "methods": ["queryDirectoryContents", "queryDirectoryContentsPagedCallable", "queryDirectoryContentsCallable"] + }, + "QueryWorkflowInvocationActions": { + "methods": ["queryWorkflowInvocationActions", "queryWorkflowInvocationActionsPagedCallable", "queryWorkflowInvocationActionsCallable"] + }, + "ReadFile": { + "methods": ["readFile", "readFileCallable"] + }, + "RemoveDirectory": { + "methods": ["removeDirectory", "removeDirectoryCallable"] + }, + "RemoveFile": { + "methods": ["removeFile", "removeFileCallable"] + }, + "ResetWorkspaceChanges": { + "methods": ["resetWorkspaceChanges", "resetWorkspaceChangesCallable"] + }, + "UpdateRepository": { + "methods": ["updateRepository", "updateRepository", "updateRepositoryCallable"] + }, + "WriteFile": { + "methods": ["writeFile", "writeFileCallable"] + } + } + } + } + } + } +} \ No newline at end of file diff --git a/owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/package-info.java b/owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/package-info.java new file mode 100644 index 0000000..c98392b --- /dev/null +++ b/owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/package-info.java @@ -0,0 +1,41 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * A client to Dataform API + * + *

The interfaces provided are listed below, along with usage samples. + * + *

======================= DataformClient ======================= + * + *

Service Description: Dataform is a service to develop, create, document, test, and update + * curated tables in BigQuery. + * + *

Sample for DataformClient: + * + *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
+ * try (DataformClient dataformClient = DataformClient.create()) {
+ *   RepositoryName name = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
+ *   Repository response = dataformClient.getRepository(name);
+ * }
+ * }
+ */ +@Generated("by gapic-generator-java") +package com.google.cloud.dataform.v1beta1; + +import javax.annotation.Generated; diff --git a/owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/DataformStub.java b/owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/DataformStub.java new file mode 100644 index 0000000..d4d7994 --- /dev/null +++ b/owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/DataformStub.java @@ -0,0 +1,323 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dataform.v1beta1.stub; + +import static com.google.cloud.dataform.v1beta1.DataformClient.ListCompilationResultsPagedResponse; +import static com.google.cloud.dataform.v1beta1.DataformClient.ListLocationsPagedResponse; +import static com.google.cloud.dataform.v1beta1.DataformClient.ListRepositoriesPagedResponse; +import static com.google.cloud.dataform.v1beta1.DataformClient.ListWorkflowInvocationsPagedResponse; +import static com.google.cloud.dataform.v1beta1.DataformClient.ListWorkspacesPagedResponse; +import static com.google.cloud.dataform.v1beta1.DataformClient.QueryCompilationResultActionsPagedResponse; +import static com.google.cloud.dataform.v1beta1.DataformClient.QueryDirectoryContentsPagedResponse; +import static com.google.cloud.dataform.v1beta1.DataformClient.QueryWorkflowInvocationActionsPagedResponse; + +import com.google.api.core.BetaApi; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest; +import com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest; +import com.google.cloud.dataform.v1beta1.CompilationResult; +import com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest; +import com.google.cloud.dataform.v1beta1.CreateRepositoryRequest; +import com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest; +import com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest; +import com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest; +import com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest; +import com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest; +import com.google.cloud.dataform.v1beta1.FetchFileDiffRequest; +import com.google.cloud.dataform.v1beta1.FetchFileDiffResponse; +import com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest; +import com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse; +import com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest; +import com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse; +import com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest; +import com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse; +import com.google.cloud.dataform.v1beta1.GetCompilationResultRequest; +import com.google.cloud.dataform.v1beta1.GetRepositoryRequest; +import com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest; +import com.google.cloud.dataform.v1beta1.GetWorkspaceRequest; +import com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest; +import com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse; +import com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest; +import com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse; +import com.google.cloud.dataform.v1beta1.ListRepositoriesRequest; +import com.google.cloud.dataform.v1beta1.ListRepositoriesResponse; +import com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest; +import com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse; +import com.google.cloud.dataform.v1beta1.ListWorkspacesRequest; +import com.google.cloud.dataform.v1beta1.ListWorkspacesResponse; +import com.google.cloud.dataform.v1beta1.MakeDirectoryRequest; +import com.google.cloud.dataform.v1beta1.MakeDirectoryResponse; +import com.google.cloud.dataform.v1beta1.MoveDirectoryRequest; +import com.google.cloud.dataform.v1beta1.MoveDirectoryResponse; +import com.google.cloud.dataform.v1beta1.MoveFileRequest; +import com.google.cloud.dataform.v1beta1.MoveFileResponse; +import com.google.cloud.dataform.v1beta1.PullGitCommitsRequest; +import com.google.cloud.dataform.v1beta1.PushGitCommitsRequest; +import com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest; +import com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse; +import com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest; +import com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse; +import com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest; +import com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse; +import com.google.cloud.dataform.v1beta1.ReadFileRequest; +import com.google.cloud.dataform.v1beta1.ReadFileResponse; +import com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest; +import com.google.cloud.dataform.v1beta1.RemoveFileRequest; +import com.google.cloud.dataform.v1beta1.Repository; +import com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest; +import com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest; +import com.google.cloud.dataform.v1beta1.WorkflowInvocation; +import com.google.cloud.dataform.v1beta1.Workspace; +import com.google.cloud.dataform.v1beta1.WriteFileRequest; +import com.google.cloud.dataform.v1beta1.WriteFileResponse; +import com.google.cloud.location.GetLocationRequest; +import com.google.cloud.location.ListLocationsRequest; +import com.google.cloud.location.ListLocationsResponse; +import com.google.cloud.location.Location; +import com.google.protobuf.Empty; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Base stub class for the Dataform service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@BetaApi +@Generated("by gapic-generator-java") +public abstract class DataformStub implements BackgroundResource { + + public UnaryCallable + listRepositoriesPagedCallable() { + throw new UnsupportedOperationException("Not implemented: listRepositoriesPagedCallable()"); + } + + public UnaryCallable + listRepositoriesCallable() { + throw new UnsupportedOperationException("Not implemented: listRepositoriesCallable()"); + } + + public UnaryCallable getRepositoryCallable() { + throw new UnsupportedOperationException("Not implemented: getRepositoryCallable()"); + } + + public UnaryCallable createRepositoryCallable() { + throw new UnsupportedOperationException("Not implemented: createRepositoryCallable()"); + } + + public UnaryCallable updateRepositoryCallable() { + throw new UnsupportedOperationException("Not implemented: updateRepositoryCallable()"); + } + + public UnaryCallable deleteRepositoryCallable() { + throw new UnsupportedOperationException("Not implemented: deleteRepositoryCallable()"); + } + + public UnaryCallable + fetchRemoteBranchesCallable() { + throw new UnsupportedOperationException("Not implemented: fetchRemoteBranchesCallable()"); + } + + public UnaryCallable + listWorkspacesPagedCallable() { + throw new UnsupportedOperationException("Not implemented: listWorkspacesPagedCallable()"); + } + + public UnaryCallable listWorkspacesCallable() { + throw new UnsupportedOperationException("Not implemented: listWorkspacesCallable()"); + } + + public UnaryCallable getWorkspaceCallable() { + throw new UnsupportedOperationException("Not implemented: getWorkspaceCallable()"); + } + + public UnaryCallable createWorkspaceCallable() { + throw new UnsupportedOperationException("Not implemented: createWorkspaceCallable()"); + } + + public UnaryCallable deleteWorkspaceCallable() { + throw new UnsupportedOperationException("Not implemented: deleteWorkspaceCallable()"); + } + + public UnaryCallable + installNpmPackagesCallable() { + throw new UnsupportedOperationException("Not implemented: installNpmPackagesCallable()"); + } + + public UnaryCallable pullGitCommitsCallable() { + throw new UnsupportedOperationException("Not implemented: pullGitCommitsCallable()"); + } + + public UnaryCallable pushGitCommitsCallable() { + throw new UnsupportedOperationException("Not implemented: pushGitCommitsCallable()"); + } + + public UnaryCallable + fetchFileGitStatusesCallable() { + throw new UnsupportedOperationException("Not implemented: fetchFileGitStatusesCallable()"); + } + + public UnaryCallable + fetchGitAheadBehindCallable() { + throw new UnsupportedOperationException("Not implemented: fetchGitAheadBehindCallable()"); + } + + public UnaryCallable commitWorkspaceChangesCallable() { + throw new UnsupportedOperationException("Not implemented: commitWorkspaceChangesCallable()"); + } + + public UnaryCallable resetWorkspaceChangesCallable() { + throw new UnsupportedOperationException("Not implemented: resetWorkspaceChangesCallable()"); + } + + public UnaryCallable fetchFileDiffCallable() { + throw new UnsupportedOperationException("Not implemented: fetchFileDiffCallable()"); + } + + public UnaryCallable + queryDirectoryContentsPagedCallable() { + throw new UnsupportedOperationException( + "Not implemented: queryDirectoryContentsPagedCallable()"); + } + + public UnaryCallable + queryDirectoryContentsCallable() { + throw new UnsupportedOperationException("Not implemented: queryDirectoryContentsCallable()"); + } + + public UnaryCallable makeDirectoryCallable() { + throw new UnsupportedOperationException("Not implemented: makeDirectoryCallable()"); + } + + public UnaryCallable removeDirectoryCallable() { + throw new UnsupportedOperationException("Not implemented: removeDirectoryCallable()"); + } + + public UnaryCallable moveDirectoryCallable() { + throw new UnsupportedOperationException("Not implemented: moveDirectoryCallable()"); + } + + public UnaryCallable readFileCallable() { + throw new UnsupportedOperationException("Not implemented: readFileCallable()"); + } + + public UnaryCallable removeFileCallable() { + throw new UnsupportedOperationException("Not implemented: removeFileCallable()"); + } + + public UnaryCallable moveFileCallable() { + throw new UnsupportedOperationException("Not implemented: moveFileCallable()"); + } + + public UnaryCallable writeFileCallable() { + throw new UnsupportedOperationException("Not implemented: writeFileCallable()"); + } + + public UnaryCallable + listCompilationResultsPagedCallable() { + throw new UnsupportedOperationException( + "Not implemented: listCompilationResultsPagedCallable()"); + } + + public UnaryCallable + listCompilationResultsCallable() { + throw new UnsupportedOperationException("Not implemented: listCompilationResultsCallable()"); + } + + public UnaryCallable + getCompilationResultCallable() { + throw new UnsupportedOperationException("Not implemented: getCompilationResultCallable()"); + } + + public UnaryCallable + createCompilationResultCallable() { + throw new UnsupportedOperationException("Not implemented: createCompilationResultCallable()"); + } + + public UnaryCallable< + QueryCompilationResultActionsRequest, QueryCompilationResultActionsPagedResponse> + queryCompilationResultActionsPagedCallable() { + throw new UnsupportedOperationException( + "Not implemented: queryCompilationResultActionsPagedCallable()"); + } + + public UnaryCallable + queryCompilationResultActionsCallable() { + throw new UnsupportedOperationException( + "Not implemented: queryCompilationResultActionsCallable()"); + } + + public UnaryCallable + listWorkflowInvocationsPagedCallable() { + throw new UnsupportedOperationException( + "Not implemented: listWorkflowInvocationsPagedCallable()"); + } + + public UnaryCallable + listWorkflowInvocationsCallable() { + throw new UnsupportedOperationException("Not implemented: listWorkflowInvocationsCallable()"); + } + + public UnaryCallable + getWorkflowInvocationCallable() { + throw new UnsupportedOperationException("Not implemented: getWorkflowInvocationCallable()"); + } + + public UnaryCallable + createWorkflowInvocationCallable() { + throw new UnsupportedOperationException("Not implemented: createWorkflowInvocationCallable()"); + } + + public UnaryCallable deleteWorkflowInvocationCallable() { + throw new UnsupportedOperationException("Not implemented: deleteWorkflowInvocationCallable()"); + } + + public UnaryCallable cancelWorkflowInvocationCallable() { + throw new UnsupportedOperationException("Not implemented: cancelWorkflowInvocationCallable()"); + } + + public UnaryCallable< + QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsPagedResponse> + queryWorkflowInvocationActionsPagedCallable() { + throw new UnsupportedOperationException( + "Not implemented: queryWorkflowInvocationActionsPagedCallable()"); + } + + public UnaryCallable< + QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse> + queryWorkflowInvocationActionsCallable() { + throw new UnsupportedOperationException( + "Not implemented: queryWorkflowInvocationActionsCallable()"); + } + + public UnaryCallable + listLocationsPagedCallable() { + throw new UnsupportedOperationException("Not implemented: listLocationsPagedCallable()"); + } + + public UnaryCallable listLocationsCallable() { + throw new UnsupportedOperationException("Not implemented: listLocationsCallable()"); + } + + public UnaryCallable getLocationCallable() { + throw new UnsupportedOperationException("Not implemented: getLocationCallable()"); + } + + @Override + public abstract void close(); +} diff --git a/owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/DataformStubSettings.java b/owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/DataformStubSettings.java new file mode 100644 index 0000000..ebae867 --- /dev/null +++ b/owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/DataformStubSettings.java @@ -0,0 +1,1878 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dataform.v1beta1.stub; + +import static com.google.cloud.dataform.v1beta1.DataformClient.ListCompilationResultsPagedResponse; +import static com.google.cloud.dataform.v1beta1.DataformClient.ListLocationsPagedResponse; +import static com.google.cloud.dataform.v1beta1.DataformClient.ListRepositoriesPagedResponse; +import static com.google.cloud.dataform.v1beta1.DataformClient.ListWorkflowInvocationsPagedResponse; +import static com.google.cloud.dataform.v1beta1.DataformClient.ListWorkspacesPagedResponse; +import static com.google.cloud.dataform.v1beta1.DataformClient.QueryCompilationResultActionsPagedResponse; +import static com.google.cloud.dataform.v1beta1.DataformClient.QueryDirectoryContentsPagedResponse; +import static com.google.cloud.dataform.v1beta1.DataformClient.QueryWorkflowInvocationActionsPagedResponse; + +import com.google.api.core.ApiFunction; +import com.google.api.core.ApiFuture; +import com.google.api.core.BetaApi; +import com.google.api.gax.core.GaxProperties; +import com.google.api.gax.core.GoogleCredentialsProvider; +import com.google.api.gax.core.InstantiatingExecutorProvider; +import com.google.api.gax.grpc.GaxGrpcProperties; +import com.google.api.gax.grpc.GrpcTransportChannel; +import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.HttpJsonTransportChannel; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; +import com.google.api.gax.retrying.RetrySettings; +import com.google.api.gax.rpc.ApiCallContext; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.PageContext; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.PagedListDescriptor; +import com.google.api.gax.rpc.PagedListResponseFactory; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.StubSettings; +import com.google.api.gax.rpc.TransportChannelProvider; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest; +import com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest; +import com.google.cloud.dataform.v1beta1.CompilationResult; +import com.google.cloud.dataform.v1beta1.CompilationResultAction; +import com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest; +import com.google.cloud.dataform.v1beta1.CreateRepositoryRequest; +import com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest; +import com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest; +import com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest; +import com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest; +import com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest; +import com.google.cloud.dataform.v1beta1.FetchFileDiffRequest; +import com.google.cloud.dataform.v1beta1.FetchFileDiffResponse; +import com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest; +import com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse; +import com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest; +import com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse; +import com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest; +import com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse; +import com.google.cloud.dataform.v1beta1.GetCompilationResultRequest; +import com.google.cloud.dataform.v1beta1.GetRepositoryRequest; +import com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest; +import com.google.cloud.dataform.v1beta1.GetWorkspaceRequest; +import com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest; +import com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse; +import com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest; +import com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse; +import com.google.cloud.dataform.v1beta1.ListRepositoriesRequest; +import com.google.cloud.dataform.v1beta1.ListRepositoriesResponse; +import com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest; +import com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse; +import com.google.cloud.dataform.v1beta1.ListWorkspacesRequest; +import com.google.cloud.dataform.v1beta1.ListWorkspacesResponse; +import com.google.cloud.dataform.v1beta1.MakeDirectoryRequest; +import com.google.cloud.dataform.v1beta1.MakeDirectoryResponse; +import com.google.cloud.dataform.v1beta1.MoveDirectoryRequest; +import com.google.cloud.dataform.v1beta1.MoveDirectoryResponse; +import com.google.cloud.dataform.v1beta1.MoveFileRequest; +import com.google.cloud.dataform.v1beta1.MoveFileResponse; +import com.google.cloud.dataform.v1beta1.PullGitCommitsRequest; +import com.google.cloud.dataform.v1beta1.PushGitCommitsRequest; +import com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest; +import com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse; +import com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest; +import com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse; +import com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest; +import com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse; +import com.google.cloud.dataform.v1beta1.ReadFileRequest; +import com.google.cloud.dataform.v1beta1.ReadFileResponse; +import com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest; +import com.google.cloud.dataform.v1beta1.RemoveFileRequest; +import com.google.cloud.dataform.v1beta1.Repository; +import com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest; +import com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest; +import com.google.cloud.dataform.v1beta1.WorkflowInvocation; +import com.google.cloud.dataform.v1beta1.WorkflowInvocationAction; +import com.google.cloud.dataform.v1beta1.Workspace; +import com.google.cloud.dataform.v1beta1.WriteFileRequest; +import com.google.cloud.dataform.v1beta1.WriteFileResponse; +import com.google.cloud.location.GetLocationRequest; +import com.google.cloud.location.ListLocationsRequest; +import com.google.cloud.location.ListLocationsResponse; +import com.google.cloud.location.Location; +import com.google.common.collect.ImmutableList; +import com.google.common.collect.ImmutableMap; +import com.google.common.collect.ImmutableSet; +import com.google.common.collect.Lists; +import com.google.protobuf.Empty; +import java.io.IOException; +import java.util.List; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Settings class to configure an instance of {@link DataformStub}. + * + *

The default instance has everything set to sensible defaults: + * + *

    + *
  • The default service address (dataform.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
+ * + *

The builder of this class is recursive, so contained classes are themselves builders. When + * build() is called, the tree of builders is called to create the complete settings object. + * + *

For example, to set the total timeout of getRepository to 30 seconds: + * + *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
+ * DataformStubSettings.Builder dataformSettingsBuilder = DataformStubSettings.newBuilder();
+ * dataformSettingsBuilder
+ *     .getRepositorySettings()
+ *     .setRetrySettings(
+ *         dataformSettingsBuilder
+ *             .getRepositorySettings()
+ *             .getRetrySettings()
+ *             .toBuilder()
+ *             .setTotalTimeout(Duration.ofSeconds(30))
+ *             .build());
+ * DataformStubSettings dataformSettings = dataformSettingsBuilder.build();
+ * }
+ */ +@BetaApi +@Generated("by gapic-generator-java") +public class DataformStubSettings extends StubSettings { + /** The default scopes of the service. */ + private static final ImmutableList DEFAULT_SERVICE_SCOPES = + ImmutableList.builder().add("https://www.googleapis.com/auth/cloud-platform").build(); + + private final PagedCallSettings< + ListRepositoriesRequest, ListRepositoriesResponse, ListRepositoriesPagedResponse> + listRepositoriesSettings; + private final UnaryCallSettings getRepositorySettings; + private final UnaryCallSettings createRepositorySettings; + private final UnaryCallSettings updateRepositorySettings; + private final UnaryCallSettings deleteRepositorySettings; + private final UnaryCallSettings + fetchRemoteBranchesSettings; + private final PagedCallSettings< + ListWorkspacesRequest, ListWorkspacesResponse, ListWorkspacesPagedResponse> + listWorkspacesSettings; + private final UnaryCallSettings getWorkspaceSettings; + private final UnaryCallSettings createWorkspaceSettings; + private final UnaryCallSettings deleteWorkspaceSettings; + private final UnaryCallSettings + installNpmPackagesSettings; + private final UnaryCallSettings pullGitCommitsSettings; + private final UnaryCallSettings pushGitCommitsSettings; + private final UnaryCallSettings + fetchFileGitStatusesSettings; + private final UnaryCallSettings + fetchGitAheadBehindSettings; + private final UnaryCallSettings + commitWorkspaceChangesSettings; + private final UnaryCallSettings + resetWorkspaceChangesSettings; + private final UnaryCallSettings + fetchFileDiffSettings; + private final PagedCallSettings< + QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, + QueryDirectoryContentsPagedResponse> + queryDirectoryContentsSettings; + private final UnaryCallSettings + makeDirectorySettings; + private final UnaryCallSettings removeDirectorySettings; + private final UnaryCallSettings + moveDirectorySettings; + private final UnaryCallSettings readFileSettings; + private final UnaryCallSettings removeFileSettings; + private final UnaryCallSettings moveFileSettings; + private final UnaryCallSettings writeFileSettings; + private final PagedCallSettings< + ListCompilationResultsRequest, ListCompilationResultsResponse, + ListCompilationResultsPagedResponse> + listCompilationResultsSettings; + private final UnaryCallSettings + getCompilationResultSettings; + private final UnaryCallSettings + createCompilationResultSettings; + private final PagedCallSettings< + QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, + QueryCompilationResultActionsPagedResponse> + queryCompilationResultActionsSettings; + private final PagedCallSettings< + ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, + ListWorkflowInvocationsPagedResponse> + listWorkflowInvocationsSettings; + private final UnaryCallSettings + getWorkflowInvocationSettings; + private final UnaryCallSettings + createWorkflowInvocationSettings; + private final UnaryCallSettings + deleteWorkflowInvocationSettings; + private final UnaryCallSettings + cancelWorkflowInvocationSettings; + private final PagedCallSettings< + QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, + QueryWorkflowInvocationActionsPagedResponse> + queryWorkflowInvocationActionsSettings; + private final PagedCallSettings< + ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> + listLocationsSettings; + private final UnaryCallSettings getLocationSettings; + + private static final PagedListDescriptor< + ListRepositoriesRequest, ListRepositoriesResponse, Repository> + LIST_REPOSITORIES_PAGE_STR_DESC = + new PagedListDescriptor() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public ListRepositoriesRequest injectToken( + ListRepositoriesRequest payload, String token) { + return ListRepositoriesRequest.newBuilder(payload).setPageToken(token).build(); + } + + @Override + public ListRepositoriesRequest injectPageSize( + ListRepositoriesRequest payload, int pageSize) { + return ListRepositoriesRequest.newBuilder(payload).setPageSize(pageSize).build(); + } + + @Override + public Integer extractPageSize(ListRepositoriesRequest payload) { + return payload.getPageSize(); + } + + @Override + public String extractNextToken(ListRepositoriesResponse payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable extractResources(ListRepositoriesResponse payload) { + return payload.getRepositoriesList() == null + ? ImmutableList.of() + : payload.getRepositoriesList(); + } + }; + + private static final PagedListDescriptor + LIST_WORKSPACES_PAGE_STR_DESC = + new PagedListDescriptor() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public ListWorkspacesRequest injectToken(ListWorkspacesRequest payload, String token) { + return ListWorkspacesRequest.newBuilder(payload).setPageToken(token).build(); + } + + @Override + public ListWorkspacesRequest injectPageSize( + ListWorkspacesRequest payload, int pageSize) { + return ListWorkspacesRequest.newBuilder(payload).setPageSize(pageSize).build(); + } + + @Override + public Integer extractPageSize(ListWorkspacesRequest payload) { + return payload.getPageSize(); + } + + @Override + public String extractNextToken(ListWorkspacesResponse payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable extractResources(ListWorkspacesResponse payload) { + return payload.getWorkspacesList() == null + ? ImmutableList.of() + : payload.getWorkspacesList(); + } + }; + + private static final PagedListDescriptor< + QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, + QueryDirectoryContentsResponse.DirectoryEntry> + QUERY_DIRECTORY_CONTENTS_PAGE_STR_DESC = + new PagedListDescriptor< + QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, + QueryDirectoryContentsResponse.DirectoryEntry>() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public QueryDirectoryContentsRequest injectToken( + QueryDirectoryContentsRequest payload, String token) { + return QueryDirectoryContentsRequest.newBuilder(payload).setPageToken(token).build(); + } + + @Override + public QueryDirectoryContentsRequest injectPageSize( + QueryDirectoryContentsRequest payload, int pageSize) { + return QueryDirectoryContentsRequest.newBuilder(payload) + .setPageSize(pageSize) + .build(); + } + + @Override + public Integer extractPageSize(QueryDirectoryContentsRequest payload) { + return payload.getPageSize(); + } + + @Override + public String extractNextToken(QueryDirectoryContentsResponse payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable extractResources( + QueryDirectoryContentsResponse payload) { + return payload.getDirectoryEntriesList() == null + ? ImmutableList.of() + : payload.getDirectoryEntriesList(); + } + }; + + private static final PagedListDescriptor< + ListCompilationResultsRequest, ListCompilationResultsResponse, CompilationResult> + LIST_COMPILATION_RESULTS_PAGE_STR_DESC = + new PagedListDescriptor< + ListCompilationResultsRequest, ListCompilationResultsResponse, CompilationResult>() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public ListCompilationResultsRequest injectToken( + ListCompilationResultsRequest payload, String token) { + return ListCompilationResultsRequest.newBuilder(payload).setPageToken(token).build(); + } + + @Override + public ListCompilationResultsRequest injectPageSize( + ListCompilationResultsRequest payload, int pageSize) { + return ListCompilationResultsRequest.newBuilder(payload) + .setPageSize(pageSize) + .build(); + } + + @Override + public Integer extractPageSize(ListCompilationResultsRequest payload) { + return payload.getPageSize(); + } + + @Override + public String extractNextToken(ListCompilationResultsResponse payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable extractResources( + ListCompilationResultsResponse payload) { + return payload.getCompilationResultsList() == null + ? ImmutableList.of() + : payload.getCompilationResultsList(); + } + }; + + private static final PagedListDescriptor< + QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, + CompilationResultAction> + QUERY_COMPILATION_RESULT_ACTIONS_PAGE_STR_DESC = + new PagedListDescriptor< + QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, + CompilationResultAction>() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public QueryCompilationResultActionsRequest injectToken( + QueryCompilationResultActionsRequest payload, String token) { + return QueryCompilationResultActionsRequest.newBuilder(payload) + .setPageToken(token) + .build(); + } + + @Override + public QueryCompilationResultActionsRequest injectPageSize( + QueryCompilationResultActionsRequest payload, int pageSize) { + return QueryCompilationResultActionsRequest.newBuilder(payload) + .setPageSize(pageSize) + .build(); + } + + @Override + public Integer extractPageSize(QueryCompilationResultActionsRequest payload) { + return payload.getPageSize(); + } + + @Override + public String extractNextToken(QueryCompilationResultActionsResponse payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable extractResources( + QueryCompilationResultActionsResponse payload) { + return payload.getCompilationResultActionsList() == null + ? ImmutableList.of() + : payload.getCompilationResultActionsList(); + } + }; + + private static final PagedListDescriptor< + ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, WorkflowInvocation> + LIST_WORKFLOW_INVOCATIONS_PAGE_STR_DESC = + new PagedListDescriptor< + ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, + WorkflowInvocation>() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public ListWorkflowInvocationsRequest injectToken( + ListWorkflowInvocationsRequest payload, String token) { + return ListWorkflowInvocationsRequest.newBuilder(payload).setPageToken(token).build(); + } + + @Override + public ListWorkflowInvocationsRequest injectPageSize( + ListWorkflowInvocationsRequest payload, int pageSize) { + return ListWorkflowInvocationsRequest.newBuilder(payload) + .setPageSize(pageSize) + .build(); + } + + @Override + public Integer extractPageSize(ListWorkflowInvocationsRequest payload) { + return payload.getPageSize(); + } + + @Override + public String extractNextToken(ListWorkflowInvocationsResponse payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable extractResources( + ListWorkflowInvocationsResponse payload) { + return payload.getWorkflowInvocationsList() == null + ? ImmutableList.of() + : payload.getWorkflowInvocationsList(); + } + }; + + private static final PagedListDescriptor< + QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, + WorkflowInvocationAction> + QUERY_WORKFLOW_INVOCATION_ACTIONS_PAGE_STR_DESC = + new PagedListDescriptor< + QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, + WorkflowInvocationAction>() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public QueryWorkflowInvocationActionsRequest injectToken( + QueryWorkflowInvocationActionsRequest payload, String token) { + return QueryWorkflowInvocationActionsRequest.newBuilder(payload) + .setPageToken(token) + .build(); + } + + @Override + public QueryWorkflowInvocationActionsRequest injectPageSize( + QueryWorkflowInvocationActionsRequest payload, int pageSize) { + return QueryWorkflowInvocationActionsRequest.newBuilder(payload) + .setPageSize(pageSize) + .build(); + } + + @Override + public Integer extractPageSize(QueryWorkflowInvocationActionsRequest payload) { + return payload.getPageSize(); + } + + @Override + public String extractNextToken(QueryWorkflowInvocationActionsResponse payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable extractResources( + QueryWorkflowInvocationActionsResponse payload) { + return payload.getWorkflowInvocationActionsList() == null + ? ImmutableList.of() + : payload.getWorkflowInvocationActionsList(); + } + }; + + private static final PagedListDescriptor + LIST_LOCATIONS_PAGE_STR_DESC = + new PagedListDescriptor() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public ListLocationsRequest injectToken(ListLocationsRequest payload, String token) { + return ListLocationsRequest.newBuilder(payload).setPageToken(token).build(); + } + + @Override + public ListLocationsRequest injectPageSize(ListLocationsRequest payload, int pageSize) { + return ListLocationsRequest.newBuilder(payload).setPageSize(pageSize).build(); + } + + @Override + public Integer extractPageSize(ListLocationsRequest payload) { + return payload.getPageSize(); + } + + @Override + public String extractNextToken(ListLocationsResponse payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable extractResources(ListLocationsResponse payload) { + return payload.getLocationsList() == null + ? ImmutableList.of() + : payload.getLocationsList(); + } + }; + + private static final PagedListResponseFactory< + ListRepositoriesRequest, ListRepositoriesResponse, ListRepositoriesPagedResponse> + LIST_REPOSITORIES_PAGE_STR_FACT = + new PagedListResponseFactory< + ListRepositoriesRequest, ListRepositoriesResponse, ListRepositoriesPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable callable, + ListRepositoriesRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext + pageContext = + PageContext.create( + callable, LIST_REPOSITORIES_PAGE_STR_DESC, request, context); + return ListRepositoriesPagedResponse.createAsync(pageContext, futureResponse); + } + }; + + private static final PagedListResponseFactory< + ListWorkspacesRequest, ListWorkspacesResponse, ListWorkspacesPagedResponse> + LIST_WORKSPACES_PAGE_STR_FACT = + new PagedListResponseFactory< + ListWorkspacesRequest, ListWorkspacesResponse, ListWorkspacesPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable callable, + ListWorkspacesRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext pageContext = + PageContext.create(callable, LIST_WORKSPACES_PAGE_STR_DESC, request, context); + return ListWorkspacesPagedResponse.createAsync(pageContext, futureResponse); + } + }; + + private static final PagedListResponseFactory< + QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, + QueryDirectoryContentsPagedResponse> + QUERY_DIRECTORY_CONTENTS_PAGE_STR_FACT = + new PagedListResponseFactory< + QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, + QueryDirectoryContentsPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable + callable, + QueryDirectoryContentsRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext< + QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, + QueryDirectoryContentsResponse.DirectoryEntry> + pageContext = + PageContext.create( + callable, QUERY_DIRECTORY_CONTENTS_PAGE_STR_DESC, request, context); + return QueryDirectoryContentsPagedResponse.createAsync(pageContext, futureResponse); + } + }; + + private static final PagedListResponseFactory< + ListCompilationResultsRequest, ListCompilationResultsResponse, + ListCompilationResultsPagedResponse> + LIST_COMPILATION_RESULTS_PAGE_STR_FACT = + new PagedListResponseFactory< + ListCompilationResultsRequest, ListCompilationResultsResponse, + ListCompilationResultsPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable + callable, + ListCompilationResultsRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext< + ListCompilationResultsRequest, ListCompilationResultsResponse, + CompilationResult> + pageContext = + PageContext.create( + callable, LIST_COMPILATION_RESULTS_PAGE_STR_DESC, request, context); + return ListCompilationResultsPagedResponse.createAsync(pageContext, futureResponse); + } + }; + + private static final PagedListResponseFactory< + QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, + QueryCompilationResultActionsPagedResponse> + QUERY_COMPILATION_RESULT_ACTIONS_PAGE_STR_FACT = + new PagedListResponseFactory< + QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, + QueryCompilationResultActionsPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable< + QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse> + callable, + QueryCompilationResultActionsRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext< + QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, + CompilationResultAction> + pageContext = + PageContext.create( + callable, + QUERY_COMPILATION_RESULT_ACTIONS_PAGE_STR_DESC, + request, + context); + return QueryCompilationResultActionsPagedResponse.createAsync( + pageContext, futureResponse); + } + }; + + private static final PagedListResponseFactory< + ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, + ListWorkflowInvocationsPagedResponse> + LIST_WORKFLOW_INVOCATIONS_PAGE_STR_FACT = + new PagedListResponseFactory< + ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, + ListWorkflowInvocationsPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable + callable, + ListWorkflowInvocationsRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext< + ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, + WorkflowInvocation> + pageContext = + PageContext.create( + callable, LIST_WORKFLOW_INVOCATIONS_PAGE_STR_DESC, request, context); + return ListWorkflowInvocationsPagedResponse.createAsync(pageContext, futureResponse); + } + }; + + private static final PagedListResponseFactory< + QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, + QueryWorkflowInvocationActionsPagedResponse> + QUERY_WORKFLOW_INVOCATION_ACTIONS_PAGE_STR_FACT = + new PagedListResponseFactory< + QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, + QueryWorkflowInvocationActionsPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable< + QueryWorkflowInvocationActionsRequest, + QueryWorkflowInvocationActionsResponse> + callable, + QueryWorkflowInvocationActionsRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext< + QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, + WorkflowInvocationAction> + pageContext = + PageContext.create( + callable, + QUERY_WORKFLOW_INVOCATION_ACTIONS_PAGE_STR_DESC, + request, + context); + return QueryWorkflowInvocationActionsPagedResponse.createAsync( + pageContext, futureResponse); + } + }; + + private static final PagedListResponseFactory< + ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> + LIST_LOCATIONS_PAGE_STR_FACT = + new PagedListResponseFactory< + ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable callable, + ListLocationsRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext pageContext = + PageContext.create(callable, LIST_LOCATIONS_PAGE_STR_DESC, request, context); + return ListLocationsPagedResponse.createAsync(pageContext, futureResponse); + } + }; + + /** Returns the object with the settings used for calls to listRepositories. */ + public PagedCallSettings< + ListRepositoriesRequest, ListRepositoriesResponse, ListRepositoriesPagedResponse> + listRepositoriesSettings() { + return listRepositoriesSettings; + } + + /** Returns the object with the settings used for calls to getRepository. */ + public UnaryCallSettings getRepositorySettings() { + return getRepositorySettings; + } + + /** Returns the object with the settings used for calls to createRepository. */ + public UnaryCallSettings createRepositorySettings() { + return createRepositorySettings; + } + + /** Returns the object with the settings used for calls to updateRepository. */ + public UnaryCallSettings updateRepositorySettings() { + return updateRepositorySettings; + } + + /** Returns the object with the settings used for calls to deleteRepository. */ + public UnaryCallSettings deleteRepositorySettings() { + return deleteRepositorySettings; + } + + /** Returns the object with the settings used for calls to fetchRemoteBranches. */ + public UnaryCallSettings + fetchRemoteBranchesSettings() { + return fetchRemoteBranchesSettings; + } + + /** Returns the object with the settings used for calls to listWorkspaces. */ + public PagedCallSettings< + ListWorkspacesRequest, ListWorkspacesResponse, ListWorkspacesPagedResponse> + listWorkspacesSettings() { + return listWorkspacesSettings; + } + + /** Returns the object with the settings used for calls to getWorkspace. */ + public UnaryCallSettings getWorkspaceSettings() { + return getWorkspaceSettings; + } + + /** Returns the object with the settings used for calls to createWorkspace. */ + public UnaryCallSettings createWorkspaceSettings() { + return createWorkspaceSettings; + } + + /** Returns the object with the settings used for calls to deleteWorkspace. */ + public UnaryCallSettings deleteWorkspaceSettings() { + return deleteWorkspaceSettings; + } + + /** Returns the object with the settings used for calls to installNpmPackages. */ + public UnaryCallSettings + installNpmPackagesSettings() { + return installNpmPackagesSettings; + } + + /** Returns the object with the settings used for calls to pullGitCommits. */ + public UnaryCallSettings pullGitCommitsSettings() { + return pullGitCommitsSettings; + } + + /** Returns the object with the settings used for calls to pushGitCommits. */ + public UnaryCallSettings pushGitCommitsSettings() { + return pushGitCommitsSettings; + } + + /** Returns the object with the settings used for calls to fetchFileGitStatuses. */ + public UnaryCallSettings + fetchFileGitStatusesSettings() { + return fetchFileGitStatusesSettings; + } + + /** Returns the object with the settings used for calls to fetchGitAheadBehind. */ + public UnaryCallSettings + fetchGitAheadBehindSettings() { + return fetchGitAheadBehindSettings; + } + + /** Returns the object with the settings used for calls to commitWorkspaceChanges. */ + public UnaryCallSettings commitWorkspaceChangesSettings() { + return commitWorkspaceChangesSettings; + } + + /** Returns the object with the settings used for calls to resetWorkspaceChanges. */ + public UnaryCallSettings resetWorkspaceChangesSettings() { + return resetWorkspaceChangesSettings; + } + + /** Returns the object with the settings used for calls to fetchFileDiff. */ + public UnaryCallSettings fetchFileDiffSettings() { + return fetchFileDiffSettings; + } + + /** Returns the object with the settings used for calls to queryDirectoryContents. */ + public PagedCallSettings< + QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, + QueryDirectoryContentsPagedResponse> + queryDirectoryContentsSettings() { + return queryDirectoryContentsSettings; + } + + /** Returns the object with the settings used for calls to makeDirectory. */ + public UnaryCallSettings makeDirectorySettings() { + return makeDirectorySettings; + } + + /** Returns the object with the settings used for calls to removeDirectory. */ + public UnaryCallSettings removeDirectorySettings() { + return removeDirectorySettings; + } + + /** Returns the object with the settings used for calls to moveDirectory. */ + public UnaryCallSettings moveDirectorySettings() { + return moveDirectorySettings; + } + + /** Returns the object with the settings used for calls to readFile. */ + public UnaryCallSettings readFileSettings() { + return readFileSettings; + } + + /** Returns the object with the settings used for calls to removeFile. */ + public UnaryCallSettings removeFileSettings() { + return removeFileSettings; + } + + /** Returns the object with the settings used for calls to moveFile. */ + public UnaryCallSettings moveFileSettings() { + return moveFileSettings; + } + + /** Returns the object with the settings used for calls to writeFile. */ + public UnaryCallSettings writeFileSettings() { + return writeFileSettings; + } + + /** Returns the object with the settings used for calls to listCompilationResults. */ + public PagedCallSettings< + ListCompilationResultsRequest, ListCompilationResultsResponse, + ListCompilationResultsPagedResponse> + listCompilationResultsSettings() { + return listCompilationResultsSettings; + } + + /** Returns the object with the settings used for calls to getCompilationResult. */ + public UnaryCallSettings + getCompilationResultSettings() { + return getCompilationResultSettings; + } + + /** Returns the object with the settings used for calls to createCompilationResult. */ + public UnaryCallSettings + createCompilationResultSettings() { + return createCompilationResultSettings; + } + + /** Returns the object with the settings used for calls to queryCompilationResultActions. */ + public PagedCallSettings< + QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, + QueryCompilationResultActionsPagedResponse> + queryCompilationResultActionsSettings() { + return queryCompilationResultActionsSettings; + } + + /** Returns the object with the settings used for calls to listWorkflowInvocations. */ + public PagedCallSettings< + ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, + ListWorkflowInvocationsPagedResponse> + listWorkflowInvocationsSettings() { + return listWorkflowInvocationsSettings; + } + + /** Returns the object with the settings used for calls to getWorkflowInvocation. */ + public UnaryCallSettings + getWorkflowInvocationSettings() { + return getWorkflowInvocationSettings; + } + + /** Returns the object with the settings used for calls to createWorkflowInvocation. */ + public UnaryCallSettings + createWorkflowInvocationSettings() { + return createWorkflowInvocationSettings; + } + + /** Returns the object with the settings used for calls to deleteWorkflowInvocation. */ + public UnaryCallSettings + deleteWorkflowInvocationSettings() { + return deleteWorkflowInvocationSettings; + } + + /** Returns the object with the settings used for calls to cancelWorkflowInvocation. */ + public UnaryCallSettings + cancelWorkflowInvocationSettings() { + return cancelWorkflowInvocationSettings; + } + + /** Returns the object with the settings used for calls to queryWorkflowInvocationActions. */ + public PagedCallSettings< + QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, + QueryWorkflowInvocationActionsPagedResponse> + queryWorkflowInvocationActionsSettings() { + return queryWorkflowInvocationActionsSettings; + } + + /** Returns the object with the settings used for calls to listLocations. */ + public PagedCallSettings + listLocationsSettings() { + return listLocationsSettings; + } + + /** Returns the object with the settings used for calls to getLocation. */ + public UnaryCallSettings getLocationSettings() { + return getLocationSettings; + } + + public DataformStub createStub() throws IOException { + if (getTransportChannelProvider() + .getTransportName() + .equals(GrpcTransportChannel.getGrpcTransportName())) { + return GrpcDataformStub.create(this); + } + if (getTransportChannelProvider() + .getTransportName() + .equals(HttpJsonTransportChannel.getHttpJsonTransportName())) { + return HttpJsonDataformStub.create(this); + } + throw new UnsupportedOperationException( + String.format( + "Transport not supported: %s", getTransportChannelProvider().getTransportName())); + } + + /** Returns a builder for the default ExecutorProvider for this service. */ + public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { + return InstantiatingExecutorProvider.newBuilder(); + } + + /** Returns the default service endpoint. */ + public static String getDefaultEndpoint() { + return "dataform.googleapis.com:443"; + } + + /** Returns the default mTLS service endpoint. */ + public static String getDefaultMtlsEndpoint() { + return "dataform.mtls.googleapis.com:443"; + } + + /** Returns the default service scopes. */ + public static List getDefaultServiceScopes() { + return DEFAULT_SERVICE_SCOPES; + } + + /** Returns a builder for the default credentials for this service. */ + public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { + return GoogleCredentialsProvider.newBuilder() + .setScopesToApply(DEFAULT_SERVICE_SCOPES) + .setUseJwtAccessWithScope(true); + } + + /** Returns a builder for the default gRPC ChannelProvider for this service. */ + public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { + return InstantiatingGrpcChannelProvider.newBuilder() + .setMaxInboundMessageSize(Integer.MAX_VALUE); + } + + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return InstantiatingHttpJsonChannelProvider.newBuilder(); + } + + public static TransportChannelProvider defaultTransportChannelProvider() { + return defaultGrpcTransportProviderBuilder().build(); + } + + @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") + public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProviderBuilder() { + return ApiClientHeaderProvider.newBuilder() + .setGeneratedLibToken("gapic", GaxProperties.getLibraryVersion(DataformStubSettings.class)) + .setTransportToken( + GaxGrpcProperties.getGrpcTokenName(), GaxGrpcProperties.getGrpcVersion()); + } + + @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") + public static ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder() { + return ApiClientHeaderProvider.newBuilder() + .setGeneratedLibToken("gapic", GaxProperties.getLibraryVersion(DataformStubSettings.class)) + .setTransportToken( + GaxHttpJsonProperties.getHttpJsonTokenName(), + GaxHttpJsonProperties.getHttpJsonVersion()); + } + + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return DataformStubSettings.defaultGrpcApiClientHeaderProviderBuilder(); + } + + /** Returns a new gRPC builder for this class. */ + public static Builder newBuilder() { + return Builder.createDefault(); + } + + /** Returns a new REST builder for this class. */ + public static Builder newHttpJsonBuilder() { + return Builder.createHttpJsonDefault(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder(ClientContext clientContext) { + return new Builder(clientContext); + } + + /** Returns a builder containing all the values of this settings class. */ + public Builder toBuilder() { + return new Builder(this); + } + + protected DataformStubSettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + + listRepositoriesSettings = settingsBuilder.listRepositoriesSettings().build(); + getRepositorySettings = settingsBuilder.getRepositorySettings().build(); + createRepositorySettings = settingsBuilder.createRepositorySettings().build(); + updateRepositorySettings = settingsBuilder.updateRepositorySettings().build(); + deleteRepositorySettings = settingsBuilder.deleteRepositorySettings().build(); + fetchRemoteBranchesSettings = settingsBuilder.fetchRemoteBranchesSettings().build(); + listWorkspacesSettings = settingsBuilder.listWorkspacesSettings().build(); + getWorkspaceSettings = settingsBuilder.getWorkspaceSettings().build(); + createWorkspaceSettings = settingsBuilder.createWorkspaceSettings().build(); + deleteWorkspaceSettings = settingsBuilder.deleteWorkspaceSettings().build(); + installNpmPackagesSettings = settingsBuilder.installNpmPackagesSettings().build(); + pullGitCommitsSettings = settingsBuilder.pullGitCommitsSettings().build(); + pushGitCommitsSettings = settingsBuilder.pushGitCommitsSettings().build(); + fetchFileGitStatusesSettings = settingsBuilder.fetchFileGitStatusesSettings().build(); + fetchGitAheadBehindSettings = settingsBuilder.fetchGitAheadBehindSettings().build(); + commitWorkspaceChangesSettings = settingsBuilder.commitWorkspaceChangesSettings().build(); + resetWorkspaceChangesSettings = settingsBuilder.resetWorkspaceChangesSettings().build(); + fetchFileDiffSettings = settingsBuilder.fetchFileDiffSettings().build(); + queryDirectoryContentsSettings = settingsBuilder.queryDirectoryContentsSettings().build(); + makeDirectorySettings = settingsBuilder.makeDirectorySettings().build(); + removeDirectorySettings = settingsBuilder.removeDirectorySettings().build(); + moveDirectorySettings = settingsBuilder.moveDirectorySettings().build(); + readFileSettings = settingsBuilder.readFileSettings().build(); + removeFileSettings = settingsBuilder.removeFileSettings().build(); + moveFileSettings = settingsBuilder.moveFileSettings().build(); + writeFileSettings = settingsBuilder.writeFileSettings().build(); + listCompilationResultsSettings = settingsBuilder.listCompilationResultsSettings().build(); + getCompilationResultSettings = settingsBuilder.getCompilationResultSettings().build(); + createCompilationResultSettings = settingsBuilder.createCompilationResultSettings().build(); + queryCompilationResultActionsSettings = + settingsBuilder.queryCompilationResultActionsSettings().build(); + listWorkflowInvocationsSettings = settingsBuilder.listWorkflowInvocationsSettings().build(); + getWorkflowInvocationSettings = settingsBuilder.getWorkflowInvocationSettings().build(); + createWorkflowInvocationSettings = settingsBuilder.createWorkflowInvocationSettings().build(); + deleteWorkflowInvocationSettings = settingsBuilder.deleteWorkflowInvocationSettings().build(); + cancelWorkflowInvocationSettings = settingsBuilder.cancelWorkflowInvocationSettings().build(); + queryWorkflowInvocationActionsSettings = + settingsBuilder.queryWorkflowInvocationActionsSettings().build(); + listLocationsSettings = settingsBuilder.listLocationsSettings().build(); + getLocationSettings = settingsBuilder.getLocationSettings().build(); + } + + /** Builder for DataformStubSettings. */ + public static class Builder extends StubSettings.Builder { + private final ImmutableList> unaryMethodSettingsBuilders; + private final PagedCallSettings.Builder< + ListRepositoriesRequest, ListRepositoriesResponse, ListRepositoriesPagedResponse> + listRepositoriesSettings; + private final UnaryCallSettings.Builder getRepositorySettings; + private final UnaryCallSettings.Builder + createRepositorySettings; + private final UnaryCallSettings.Builder + updateRepositorySettings; + private final UnaryCallSettings.Builder + deleteRepositorySettings; + private final UnaryCallSettings.Builder + fetchRemoteBranchesSettings; + private final PagedCallSettings.Builder< + ListWorkspacesRequest, ListWorkspacesResponse, ListWorkspacesPagedResponse> + listWorkspacesSettings; + private final UnaryCallSettings.Builder getWorkspaceSettings; + private final UnaryCallSettings.Builder + createWorkspaceSettings; + private final UnaryCallSettings.Builder deleteWorkspaceSettings; + private final UnaryCallSettings.Builder + installNpmPackagesSettings; + private final UnaryCallSettings.Builder pullGitCommitsSettings; + private final UnaryCallSettings.Builder pushGitCommitsSettings; + private final UnaryCallSettings.Builder< + FetchFileGitStatusesRequest, FetchFileGitStatusesResponse> + fetchFileGitStatusesSettings; + private final UnaryCallSettings.Builder + fetchGitAheadBehindSettings; + private final UnaryCallSettings.Builder + commitWorkspaceChangesSettings; + private final UnaryCallSettings.Builder + resetWorkspaceChangesSettings; + private final UnaryCallSettings.Builder + fetchFileDiffSettings; + private final PagedCallSettings.Builder< + QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, + QueryDirectoryContentsPagedResponse> + queryDirectoryContentsSettings; + private final UnaryCallSettings.Builder + makeDirectorySettings; + private final UnaryCallSettings.Builder removeDirectorySettings; + private final UnaryCallSettings.Builder + moveDirectorySettings; + private final UnaryCallSettings.Builder readFileSettings; + private final UnaryCallSettings.Builder removeFileSettings; + private final UnaryCallSettings.Builder moveFileSettings; + private final UnaryCallSettings.Builder writeFileSettings; + private final PagedCallSettings.Builder< + ListCompilationResultsRequest, ListCompilationResultsResponse, + ListCompilationResultsPagedResponse> + listCompilationResultsSettings; + private final UnaryCallSettings.Builder + getCompilationResultSettings; + private final UnaryCallSettings.Builder + createCompilationResultSettings; + private final PagedCallSettings.Builder< + QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, + QueryCompilationResultActionsPagedResponse> + queryCompilationResultActionsSettings; + private final PagedCallSettings.Builder< + ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, + ListWorkflowInvocationsPagedResponse> + listWorkflowInvocationsSettings; + private final UnaryCallSettings.Builder + getWorkflowInvocationSettings; + private final UnaryCallSettings.Builder + createWorkflowInvocationSettings; + private final UnaryCallSettings.Builder + deleteWorkflowInvocationSettings; + private final UnaryCallSettings.Builder + cancelWorkflowInvocationSettings; + private final PagedCallSettings.Builder< + QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, + QueryWorkflowInvocationActionsPagedResponse> + queryWorkflowInvocationActionsSettings; + private final PagedCallSettings.Builder< + ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> + listLocationsSettings; + private final UnaryCallSettings.Builder getLocationSettings; + private static final ImmutableMap> + RETRYABLE_CODE_DEFINITIONS; + + static { + ImmutableMap.Builder> definitions = + ImmutableMap.builder(); + definitions.put("no_retry_codes", ImmutableSet.copyOf(Lists.newArrayList())); + RETRYABLE_CODE_DEFINITIONS = definitions.build(); + } + + private static final ImmutableMap RETRY_PARAM_DEFINITIONS; + + static { + ImmutableMap.Builder definitions = ImmutableMap.builder(); + RetrySettings settings = null; + settings = RetrySettings.newBuilder().setRpcTimeoutMultiplier(1.0).build(); + definitions.put("no_retry_params", settings); + RETRY_PARAM_DEFINITIONS = definitions.build(); + } + + protected Builder() { + this(((ClientContext) null)); + } + + protected Builder(ClientContext clientContext) { + super(clientContext); + + listRepositoriesSettings = PagedCallSettings.newBuilder(LIST_REPOSITORIES_PAGE_STR_FACT); + getRepositorySettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + createRepositorySettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + updateRepositorySettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + deleteRepositorySettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + fetchRemoteBranchesSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + listWorkspacesSettings = PagedCallSettings.newBuilder(LIST_WORKSPACES_PAGE_STR_FACT); + getWorkspaceSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + createWorkspaceSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + deleteWorkspaceSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + installNpmPackagesSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + pullGitCommitsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + pushGitCommitsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + fetchFileGitStatusesSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + fetchGitAheadBehindSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + commitWorkspaceChangesSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + resetWorkspaceChangesSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + fetchFileDiffSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + queryDirectoryContentsSettings = + PagedCallSettings.newBuilder(QUERY_DIRECTORY_CONTENTS_PAGE_STR_FACT); + makeDirectorySettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + removeDirectorySettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + moveDirectorySettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + readFileSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + removeFileSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + moveFileSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + writeFileSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + listCompilationResultsSettings = + PagedCallSettings.newBuilder(LIST_COMPILATION_RESULTS_PAGE_STR_FACT); + getCompilationResultSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + createCompilationResultSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + queryCompilationResultActionsSettings = + PagedCallSettings.newBuilder(QUERY_COMPILATION_RESULT_ACTIONS_PAGE_STR_FACT); + listWorkflowInvocationsSettings = + PagedCallSettings.newBuilder(LIST_WORKFLOW_INVOCATIONS_PAGE_STR_FACT); + getWorkflowInvocationSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + createWorkflowInvocationSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + deleteWorkflowInvocationSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + cancelWorkflowInvocationSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + queryWorkflowInvocationActionsSettings = + PagedCallSettings.newBuilder(QUERY_WORKFLOW_INVOCATION_ACTIONS_PAGE_STR_FACT); + listLocationsSettings = PagedCallSettings.newBuilder(LIST_LOCATIONS_PAGE_STR_FACT); + getLocationSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + + unaryMethodSettingsBuilders = + ImmutableList.>of( + listRepositoriesSettings, + getRepositorySettings, + createRepositorySettings, + updateRepositorySettings, + deleteRepositorySettings, + fetchRemoteBranchesSettings, + listWorkspacesSettings, + getWorkspaceSettings, + createWorkspaceSettings, + deleteWorkspaceSettings, + installNpmPackagesSettings, + pullGitCommitsSettings, + pushGitCommitsSettings, + fetchFileGitStatusesSettings, + fetchGitAheadBehindSettings, + commitWorkspaceChangesSettings, + resetWorkspaceChangesSettings, + fetchFileDiffSettings, + queryDirectoryContentsSettings, + makeDirectorySettings, + removeDirectorySettings, + moveDirectorySettings, + readFileSettings, + removeFileSettings, + moveFileSettings, + writeFileSettings, + listCompilationResultsSettings, + getCompilationResultSettings, + createCompilationResultSettings, + queryCompilationResultActionsSettings, + listWorkflowInvocationsSettings, + getWorkflowInvocationSettings, + createWorkflowInvocationSettings, + deleteWorkflowInvocationSettings, + cancelWorkflowInvocationSettings, + queryWorkflowInvocationActionsSettings, + listLocationsSettings, + getLocationSettings); + initDefaults(this); + } + + protected Builder(DataformStubSettings settings) { + super(settings); + + listRepositoriesSettings = settings.listRepositoriesSettings.toBuilder(); + getRepositorySettings = settings.getRepositorySettings.toBuilder(); + createRepositorySettings = settings.createRepositorySettings.toBuilder(); + updateRepositorySettings = settings.updateRepositorySettings.toBuilder(); + deleteRepositorySettings = settings.deleteRepositorySettings.toBuilder(); + fetchRemoteBranchesSettings = settings.fetchRemoteBranchesSettings.toBuilder(); + listWorkspacesSettings = settings.listWorkspacesSettings.toBuilder(); + getWorkspaceSettings = settings.getWorkspaceSettings.toBuilder(); + createWorkspaceSettings = settings.createWorkspaceSettings.toBuilder(); + deleteWorkspaceSettings = settings.deleteWorkspaceSettings.toBuilder(); + installNpmPackagesSettings = settings.installNpmPackagesSettings.toBuilder(); + pullGitCommitsSettings = settings.pullGitCommitsSettings.toBuilder(); + pushGitCommitsSettings = settings.pushGitCommitsSettings.toBuilder(); + fetchFileGitStatusesSettings = settings.fetchFileGitStatusesSettings.toBuilder(); + fetchGitAheadBehindSettings = settings.fetchGitAheadBehindSettings.toBuilder(); + commitWorkspaceChangesSettings = settings.commitWorkspaceChangesSettings.toBuilder(); + resetWorkspaceChangesSettings = settings.resetWorkspaceChangesSettings.toBuilder(); + fetchFileDiffSettings = settings.fetchFileDiffSettings.toBuilder(); + queryDirectoryContentsSettings = settings.queryDirectoryContentsSettings.toBuilder(); + makeDirectorySettings = settings.makeDirectorySettings.toBuilder(); + removeDirectorySettings = settings.removeDirectorySettings.toBuilder(); + moveDirectorySettings = settings.moveDirectorySettings.toBuilder(); + readFileSettings = settings.readFileSettings.toBuilder(); + removeFileSettings = settings.removeFileSettings.toBuilder(); + moveFileSettings = settings.moveFileSettings.toBuilder(); + writeFileSettings = settings.writeFileSettings.toBuilder(); + listCompilationResultsSettings = settings.listCompilationResultsSettings.toBuilder(); + getCompilationResultSettings = settings.getCompilationResultSettings.toBuilder(); + createCompilationResultSettings = settings.createCompilationResultSettings.toBuilder(); + queryCompilationResultActionsSettings = + settings.queryCompilationResultActionsSettings.toBuilder(); + listWorkflowInvocationsSettings = settings.listWorkflowInvocationsSettings.toBuilder(); + getWorkflowInvocationSettings = settings.getWorkflowInvocationSettings.toBuilder(); + createWorkflowInvocationSettings = settings.createWorkflowInvocationSettings.toBuilder(); + deleteWorkflowInvocationSettings = settings.deleteWorkflowInvocationSettings.toBuilder(); + cancelWorkflowInvocationSettings = settings.cancelWorkflowInvocationSettings.toBuilder(); + queryWorkflowInvocationActionsSettings = + settings.queryWorkflowInvocationActionsSettings.toBuilder(); + listLocationsSettings = settings.listLocationsSettings.toBuilder(); + getLocationSettings = settings.getLocationSettings.toBuilder(); + + unaryMethodSettingsBuilders = + ImmutableList.>of( + listRepositoriesSettings, + getRepositorySettings, + createRepositorySettings, + updateRepositorySettings, + deleteRepositorySettings, + fetchRemoteBranchesSettings, + listWorkspacesSettings, + getWorkspaceSettings, + createWorkspaceSettings, + deleteWorkspaceSettings, + installNpmPackagesSettings, + pullGitCommitsSettings, + pushGitCommitsSettings, + fetchFileGitStatusesSettings, + fetchGitAheadBehindSettings, + commitWorkspaceChangesSettings, + resetWorkspaceChangesSettings, + fetchFileDiffSettings, + queryDirectoryContentsSettings, + makeDirectorySettings, + removeDirectorySettings, + moveDirectorySettings, + readFileSettings, + removeFileSettings, + moveFileSettings, + writeFileSettings, + listCompilationResultsSettings, + getCompilationResultSettings, + createCompilationResultSettings, + queryCompilationResultActionsSettings, + listWorkflowInvocationsSettings, + getWorkflowInvocationSettings, + createWorkflowInvocationSettings, + deleteWorkflowInvocationSettings, + cancelWorkflowInvocationSettings, + queryWorkflowInvocationActionsSettings, + listLocationsSettings, + getLocationSettings); + } + + private static Builder createDefault() { + Builder builder = new Builder(((ClientContext) null)); + + builder.setTransportChannelProvider(defaultTransportChannelProvider()); + builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); + builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); + builder.setEndpoint(getDefaultEndpoint()); + builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); + builder.setSwitchToMtlsEndpointAllowed(true); + + return initDefaults(builder); + } + + private static Builder createHttpJsonDefault() { + Builder builder = new Builder(((ClientContext) null)); + + builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); + builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); + builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); + builder.setEndpoint(getDefaultEndpoint()); + builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); + builder.setSwitchToMtlsEndpointAllowed(true); + + return initDefaults(builder); + } + + private static Builder initDefaults(Builder builder) { + builder + .listRepositoriesSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .getRepositorySettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .createRepositorySettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .updateRepositorySettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .deleteRepositorySettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .fetchRemoteBranchesSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .listWorkspacesSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .getWorkspaceSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .createWorkspaceSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .deleteWorkspaceSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .installNpmPackagesSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .pullGitCommitsSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .pushGitCommitsSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .fetchFileGitStatusesSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .fetchGitAheadBehindSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .commitWorkspaceChangesSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .resetWorkspaceChangesSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .fetchFileDiffSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .queryDirectoryContentsSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .makeDirectorySettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .removeDirectorySettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .moveDirectorySettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .readFileSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .removeFileSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .moveFileSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .writeFileSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .listCompilationResultsSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .getCompilationResultSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .createCompilationResultSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .queryCompilationResultActionsSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .listWorkflowInvocationsSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .getWorkflowInvocationSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .createWorkflowInvocationSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .deleteWorkflowInvocationSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .cancelWorkflowInvocationSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .queryWorkflowInvocationActionsSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .listLocationsSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .getLocationSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + return builder; + } + + /** + * Applies the given settings updater function to all of the unary API methods in this service. + * + *

Note: This method does not support applying settings to streaming methods. + */ + public Builder applyToAllUnaryMethods( + ApiFunction, Void> settingsUpdater) { + super.applyToAllUnaryMethods(unaryMethodSettingsBuilders, settingsUpdater); + return this; + } + + public ImmutableList> unaryMethodSettingsBuilders() { + return unaryMethodSettingsBuilders; + } + + /** Returns the builder for the settings used for calls to listRepositories. */ + public PagedCallSettings.Builder< + ListRepositoriesRequest, ListRepositoriesResponse, ListRepositoriesPagedResponse> + listRepositoriesSettings() { + return listRepositoriesSettings; + } + + /** Returns the builder for the settings used for calls to getRepository. */ + public UnaryCallSettings.Builder getRepositorySettings() { + return getRepositorySettings; + } + + /** Returns the builder for the settings used for calls to createRepository. */ + public UnaryCallSettings.Builder + createRepositorySettings() { + return createRepositorySettings; + } + + /** Returns the builder for the settings used for calls to updateRepository. */ + public UnaryCallSettings.Builder + updateRepositorySettings() { + return updateRepositorySettings; + } + + /** Returns the builder for the settings used for calls to deleteRepository. */ + public UnaryCallSettings.Builder deleteRepositorySettings() { + return deleteRepositorySettings; + } + + /** Returns the builder for the settings used for calls to fetchRemoteBranches. */ + public UnaryCallSettings.Builder + fetchRemoteBranchesSettings() { + return fetchRemoteBranchesSettings; + } + + /** Returns the builder for the settings used for calls to listWorkspaces. */ + public PagedCallSettings.Builder< + ListWorkspacesRequest, ListWorkspacesResponse, ListWorkspacesPagedResponse> + listWorkspacesSettings() { + return listWorkspacesSettings; + } + + /** Returns the builder for the settings used for calls to getWorkspace. */ + public UnaryCallSettings.Builder getWorkspaceSettings() { + return getWorkspaceSettings; + } + + /** Returns the builder for the settings used for calls to createWorkspace. */ + public UnaryCallSettings.Builder createWorkspaceSettings() { + return createWorkspaceSettings; + } + + /** Returns the builder for the settings used for calls to deleteWorkspace. */ + public UnaryCallSettings.Builder deleteWorkspaceSettings() { + return deleteWorkspaceSettings; + } + + /** Returns the builder for the settings used for calls to installNpmPackages. */ + public UnaryCallSettings.Builder + installNpmPackagesSettings() { + return installNpmPackagesSettings; + } + + /** Returns the builder for the settings used for calls to pullGitCommits. */ + public UnaryCallSettings.Builder pullGitCommitsSettings() { + return pullGitCommitsSettings; + } + + /** Returns the builder for the settings used for calls to pushGitCommits. */ + public UnaryCallSettings.Builder pushGitCommitsSettings() { + return pushGitCommitsSettings; + } + + /** Returns the builder for the settings used for calls to fetchFileGitStatuses. */ + public UnaryCallSettings.Builder + fetchFileGitStatusesSettings() { + return fetchFileGitStatusesSettings; + } + + /** Returns the builder for the settings used for calls to fetchGitAheadBehind. */ + public UnaryCallSettings.Builder + fetchGitAheadBehindSettings() { + return fetchGitAheadBehindSettings; + } + + /** Returns the builder for the settings used for calls to commitWorkspaceChanges. */ + public UnaryCallSettings.Builder + commitWorkspaceChangesSettings() { + return commitWorkspaceChangesSettings; + } + + /** Returns the builder for the settings used for calls to resetWorkspaceChanges. */ + public UnaryCallSettings.Builder + resetWorkspaceChangesSettings() { + return resetWorkspaceChangesSettings; + } + + /** Returns the builder for the settings used for calls to fetchFileDiff. */ + public UnaryCallSettings.Builder + fetchFileDiffSettings() { + return fetchFileDiffSettings; + } + + /** Returns the builder for the settings used for calls to queryDirectoryContents. */ + public PagedCallSettings.Builder< + QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, + QueryDirectoryContentsPagedResponse> + queryDirectoryContentsSettings() { + return queryDirectoryContentsSettings; + } + + /** Returns the builder for the settings used for calls to makeDirectory. */ + public UnaryCallSettings.Builder + makeDirectorySettings() { + return makeDirectorySettings; + } + + /** Returns the builder for the settings used for calls to removeDirectory. */ + public UnaryCallSettings.Builder removeDirectorySettings() { + return removeDirectorySettings; + } + + /** Returns the builder for the settings used for calls to moveDirectory. */ + public UnaryCallSettings.Builder + moveDirectorySettings() { + return moveDirectorySettings; + } + + /** Returns the builder for the settings used for calls to readFile. */ + public UnaryCallSettings.Builder readFileSettings() { + return readFileSettings; + } + + /** Returns the builder for the settings used for calls to removeFile. */ + public UnaryCallSettings.Builder removeFileSettings() { + return removeFileSettings; + } + + /** Returns the builder for the settings used for calls to moveFile. */ + public UnaryCallSettings.Builder moveFileSettings() { + return moveFileSettings; + } + + /** Returns the builder for the settings used for calls to writeFile. */ + public UnaryCallSettings.Builder writeFileSettings() { + return writeFileSettings; + } + + /** Returns the builder for the settings used for calls to listCompilationResults. */ + public PagedCallSettings.Builder< + ListCompilationResultsRequest, ListCompilationResultsResponse, + ListCompilationResultsPagedResponse> + listCompilationResultsSettings() { + return listCompilationResultsSettings; + } + + /** Returns the builder for the settings used for calls to getCompilationResult. */ + public UnaryCallSettings.Builder + getCompilationResultSettings() { + return getCompilationResultSettings; + } + + /** Returns the builder for the settings used for calls to createCompilationResult. */ + public UnaryCallSettings.Builder + createCompilationResultSettings() { + return createCompilationResultSettings; + } + + /** Returns the builder for the settings used for calls to queryCompilationResultActions. */ + public PagedCallSettings.Builder< + QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, + QueryCompilationResultActionsPagedResponse> + queryCompilationResultActionsSettings() { + return queryCompilationResultActionsSettings; + } + + /** Returns the builder for the settings used for calls to listWorkflowInvocations. */ + public PagedCallSettings.Builder< + ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, + ListWorkflowInvocationsPagedResponse> + listWorkflowInvocationsSettings() { + return listWorkflowInvocationsSettings; + } + + /** Returns the builder for the settings used for calls to getWorkflowInvocation. */ + public UnaryCallSettings.Builder + getWorkflowInvocationSettings() { + return getWorkflowInvocationSettings; + } + + /** Returns the builder for the settings used for calls to createWorkflowInvocation. */ + public UnaryCallSettings.Builder + createWorkflowInvocationSettings() { + return createWorkflowInvocationSettings; + } + + /** Returns the builder for the settings used for calls to deleteWorkflowInvocation. */ + public UnaryCallSettings.Builder + deleteWorkflowInvocationSettings() { + return deleteWorkflowInvocationSettings; + } + + /** Returns the builder for the settings used for calls to cancelWorkflowInvocation. */ + public UnaryCallSettings.Builder + cancelWorkflowInvocationSettings() { + return cancelWorkflowInvocationSettings; + } + + /** Returns the builder for the settings used for calls to queryWorkflowInvocationActions. */ + public PagedCallSettings.Builder< + QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, + QueryWorkflowInvocationActionsPagedResponse> + queryWorkflowInvocationActionsSettings() { + return queryWorkflowInvocationActionsSettings; + } + + /** Returns the builder for the settings used for calls to listLocations. */ + public PagedCallSettings.Builder< + ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse> + listLocationsSettings() { + return listLocationsSettings; + } + + /** Returns the builder for the settings used for calls to getLocation. */ + public UnaryCallSettings.Builder getLocationSettings() { + return getLocationSettings; + } + + @Override + public DataformStubSettings build() throws IOException { + return new DataformStubSettings(this); + } + } +} diff --git a/owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/GrpcDataformCallableFactory.java b/owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/GrpcDataformCallableFactory.java new file mode 100644 index 0000000..b7e808c --- /dev/null +++ b/owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/GrpcDataformCallableFactory.java @@ -0,0 +1,115 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dataform.v1beta1.stub; + +import com.google.api.core.BetaApi; +import com.google.api.gax.grpc.GrpcCallSettings; +import com.google.api.gax.grpc.GrpcCallableFactory; +import com.google.api.gax.grpc.GrpcStubCallableFactory; +import com.google.api.gax.rpc.BatchingCallSettings; +import com.google.api.gax.rpc.BidiStreamingCallable; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.ClientStreamingCallable; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.StreamingCallSettings; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.longrunning.Operation; +import com.google.longrunning.stub.OperationsStub; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * gRPC callable factory implementation for the Dataform service API. + * + *

This class is for advanced usage. + */ +@BetaApi +@Generated("by gapic-generator-java") +public class GrpcDataformCallableFactory implements GrpcStubCallableFactory { + + @Override + public UnaryCallable createUnaryCallable( + GrpcCallSettings grpcCallSettings, + UnaryCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createUnaryCallable(grpcCallSettings, callSettings, clientContext); + } + + @Override + public + UnaryCallable createPagedCallable( + GrpcCallSettings grpcCallSettings, + PagedCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createPagedCallable(grpcCallSettings, callSettings, clientContext); + } + + @Override + public UnaryCallable createBatchingCallable( + GrpcCallSettings grpcCallSettings, + BatchingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createBatchingCallable( + grpcCallSettings, callSettings, clientContext); + } + + @Override + public + OperationCallable createOperationCallable( + GrpcCallSettings grpcCallSettings, + OperationCallSettings callSettings, + ClientContext clientContext, + OperationsStub operationsStub) { + return GrpcCallableFactory.createOperationCallable( + grpcCallSettings, callSettings, clientContext, operationsStub); + } + + @Override + public + BidiStreamingCallable createBidiStreamingCallable( + GrpcCallSettings grpcCallSettings, + StreamingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createBidiStreamingCallable( + grpcCallSettings, callSettings, clientContext); + } + + @Override + public + ServerStreamingCallable createServerStreamingCallable( + GrpcCallSettings grpcCallSettings, + ServerStreamingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createServerStreamingCallable( + grpcCallSettings, callSettings, clientContext); + } + + @Override + public + ClientStreamingCallable createClientStreamingCallable( + GrpcCallSettings grpcCallSettings, + StreamingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createClientStreamingCallable( + grpcCallSettings, callSettings, clientContext); + } +} diff --git a/owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/GrpcDataformStub.java b/owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/GrpcDataformStub.java new file mode 100644 index 0000000..3176270 --- /dev/null +++ b/owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/GrpcDataformStub.java @@ -0,0 +1,1517 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dataform.v1beta1.stub; + +import static com.google.cloud.dataform.v1beta1.DataformClient.ListCompilationResultsPagedResponse; +import static com.google.cloud.dataform.v1beta1.DataformClient.ListLocationsPagedResponse; +import static com.google.cloud.dataform.v1beta1.DataformClient.ListRepositoriesPagedResponse; +import static com.google.cloud.dataform.v1beta1.DataformClient.ListWorkflowInvocationsPagedResponse; +import static com.google.cloud.dataform.v1beta1.DataformClient.ListWorkspacesPagedResponse; +import static com.google.cloud.dataform.v1beta1.DataformClient.QueryCompilationResultActionsPagedResponse; +import static com.google.cloud.dataform.v1beta1.DataformClient.QueryDirectoryContentsPagedResponse; +import static com.google.cloud.dataform.v1beta1.DataformClient.QueryWorkflowInvocationActionsPagedResponse; + +import com.google.api.core.BetaApi; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.core.BackgroundResourceAggregation; +import com.google.api.gax.grpc.GrpcCallSettings; +import com.google.api.gax.grpc.GrpcStubCallableFactory; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest; +import com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest; +import com.google.cloud.dataform.v1beta1.CompilationResult; +import com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest; +import com.google.cloud.dataform.v1beta1.CreateRepositoryRequest; +import com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest; +import com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest; +import com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest; +import com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest; +import com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest; +import com.google.cloud.dataform.v1beta1.FetchFileDiffRequest; +import com.google.cloud.dataform.v1beta1.FetchFileDiffResponse; +import com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest; +import com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse; +import com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest; +import com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse; +import com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest; +import com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse; +import com.google.cloud.dataform.v1beta1.GetCompilationResultRequest; +import com.google.cloud.dataform.v1beta1.GetRepositoryRequest; +import com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest; +import com.google.cloud.dataform.v1beta1.GetWorkspaceRequest; +import com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest; +import com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse; +import com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest; +import com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse; +import com.google.cloud.dataform.v1beta1.ListRepositoriesRequest; +import com.google.cloud.dataform.v1beta1.ListRepositoriesResponse; +import com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest; +import com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse; +import com.google.cloud.dataform.v1beta1.ListWorkspacesRequest; +import com.google.cloud.dataform.v1beta1.ListWorkspacesResponse; +import com.google.cloud.dataform.v1beta1.MakeDirectoryRequest; +import com.google.cloud.dataform.v1beta1.MakeDirectoryResponse; +import com.google.cloud.dataform.v1beta1.MoveDirectoryRequest; +import com.google.cloud.dataform.v1beta1.MoveDirectoryResponse; +import com.google.cloud.dataform.v1beta1.MoveFileRequest; +import com.google.cloud.dataform.v1beta1.MoveFileResponse; +import com.google.cloud.dataform.v1beta1.PullGitCommitsRequest; +import com.google.cloud.dataform.v1beta1.PushGitCommitsRequest; +import com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest; +import com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse; +import com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest; +import com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse; +import com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest; +import com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse; +import com.google.cloud.dataform.v1beta1.ReadFileRequest; +import com.google.cloud.dataform.v1beta1.ReadFileResponse; +import com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest; +import com.google.cloud.dataform.v1beta1.RemoveFileRequest; +import com.google.cloud.dataform.v1beta1.Repository; +import com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest; +import com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest; +import com.google.cloud.dataform.v1beta1.WorkflowInvocation; +import com.google.cloud.dataform.v1beta1.Workspace; +import com.google.cloud.dataform.v1beta1.WriteFileRequest; +import com.google.cloud.dataform.v1beta1.WriteFileResponse; +import com.google.cloud.location.GetLocationRequest; +import com.google.cloud.location.ListLocationsRequest; +import com.google.cloud.location.ListLocationsResponse; +import com.google.cloud.location.Location; +import com.google.common.collect.ImmutableMap; +import com.google.longrunning.stub.GrpcOperationsStub; +import com.google.protobuf.Empty; +import io.grpc.MethodDescriptor; +import io.grpc.protobuf.ProtoUtils; +import java.io.IOException; +import java.util.Map; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * gRPC stub implementation for the Dataform service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@BetaApi +@Generated("by gapic-generator-java") +public class GrpcDataformStub extends DataformStub { + private static final MethodDescriptor + listRepositoriesMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/ListRepositories") + .setRequestMarshaller( + ProtoUtils.marshaller(ListRepositoriesRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(ListRepositoriesResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + getRepositoryMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/GetRepository") + .setRequestMarshaller( + ProtoUtils.marshaller(GetRepositoryRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Repository.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + createRepositoryMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/CreateRepository") + .setRequestMarshaller( + ProtoUtils.marshaller(CreateRepositoryRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Repository.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + updateRepositoryMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/UpdateRepository") + .setRequestMarshaller( + ProtoUtils.marshaller(UpdateRepositoryRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Repository.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + deleteRepositoryMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/DeleteRepository") + .setRequestMarshaller( + ProtoUtils.marshaller(DeleteRepositoryRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + fetchRemoteBranchesMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/FetchRemoteBranches") + .setRequestMarshaller( + ProtoUtils.marshaller(FetchRemoteBranchesRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(FetchRemoteBranchesResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + listWorkspacesMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/ListWorkspaces") + .setRequestMarshaller( + ProtoUtils.marshaller(ListWorkspacesRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(ListWorkspacesResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + getWorkspaceMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/GetWorkspace") + .setRequestMarshaller(ProtoUtils.marshaller(GetWorkspaceRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Workspace.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + createWorkspaceMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/CreateWorkspace") + .setRequestMarshaller( + ProtoUtils.marshaller(CreateWorkspaceRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Workspace.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + deleteWorkspaceMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/DeleteWorkspace") + .setRequestMarshaller( + ProtoUtils.marshaller(DeleteWorkspaceRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + installNpmPackagesMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/InstallNpmPackages") + .setRequestMarshaller( + ProtoUtils.marshaller(InstallNpmPackagesRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(InstallNpmPackagesResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + pullGitCommitsMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/PullGitCommits") + .setRequestMarshaller( + ProtoUtils.marshaller(PullGitCommitsRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + pushGitCommitsMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/PushGitCommits") + .setRequestMarshaller( + ProtoUtils.marshaller(PushGitCommitsRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + fetchFileGitStatusesMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/FetchFileGitStatuses") + .setRequestMarshaller( + ProtoUtils.marshaller(FetchFileGitStatusesRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(FetchFileGitStatusesResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + fetchGitAheadBehindMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/FetchGitAheadBehind") + .setRequestMarshaller( + ProtoUtils.marshaller(FetchGitAheadBehindRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(FetchGitAheadBehindResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + commitWorkspaceChangesMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/CommitWorkspaceChanges") + .setRequestMarshaller( + ProtoUtils.marshaller(CommitWorkspaceChangesRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + resetWorkspaceChangesMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/ResetWorkspaceChanges") + .setRequestMarshaller( + ProtoUtils.marshaller(ResetWorkspaceChangesRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + fetchFileDiffMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/FetchFileDiff") + .setRequestMarshaller( + ProtoUtils.marshaller(FetchFileDiffRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(FetchFileDiffResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor< + QueryDirectoryContentsRequest, QueryDirectoryContentsResponse> + queryDirectoryContentsMethodDescriptor = + MethodDescriptor + .newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/QueryDirectoryContents") + .setRequestMarshaller( + ProtoUtils.marshaller(QueryDirectoryContentsRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(QueryDirectoryContentsResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + makeDirectoryMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/MakeDirectory") + .setRequestMarshaller( + ProtoUtils.marshaller(MakeDirectoryRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(MakeDirectoryResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + removeDirectoryMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/RemoveDirectory") + .setRequestMarshaller( + ProtoUtils.marshaller(RemoveDirectoryRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + moveDirectoryMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/MoveDirectory") + .setRequestMarshaller( + ProtoUtils.marshaller(MoveDirectoryRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(MoveDirectoryResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + readFileMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/ReadFile") + .setRequestMarshaller(ProtoUtils.marshaller(ReadFileRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(ReadFileResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor removeFileMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/RemoveFile") + .setRequestMarshaller(ProtoUtils.marshaller(RemoveFileRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + moveFileMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/MoveFile") + .setRequestMarshaller(ProtoUtils.marshaller(MoveFileRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(MoveFileResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + writeFileMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/WriteFile") + .setRequestMarshaller(ProtoUtils.marshaller(WriteFileRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(WriteFileResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor< + ListCompilationResultsRequest, ListCompilationResultsResponse> + listCompilationResultsMethodDescriptor = + MethodDescriptor + .newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/ListCompilationResults") + .setRequestMarshaller( + ProtoUtils.marshaller(ListCompilationResultsRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(ListCompilationResultsResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + getCompilationResultMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/GetCompilationResult") + .setRequestMarshaller( + ProtoUtils.marshaller(GetCompilationResultRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(CompilationResult.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + createCompilationResultMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/CreateCompilationResult") + .setRequestMarshaller( + ProtoUtils.marshaller(CreateCompilationResultRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(CompilationResult.getDefaultInstance())) + .build(); + + private static final MethodDescriptor< + QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse> + queryCompilationResultActionsMethodDescriptor = + MethodDescriptor + . + newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.cloud.dataform.v1beta1.Dataform/QueryCompilationResultActions") + .setRequestMarshaller( + ProtoUtils.marshaller(QueryCompilationResultActionsRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(QueryCompilationResultActionsResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor< + ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse> + listWorkflowInvocationsMethodDescriptor = + MethodDescriptor + .newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/ListWorkflowInvocations") + .setRequestMarshaller( + ProtoUtils.marshaller(ListWorkflowInvocationsRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(ListWorkflowInvocationsResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + getWorkflowInvocationMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/GetWorkflowInvocation") + .setRequestMarshaller( + ProtoUtils.marshaller(GetWorkflowInvocationRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(WorkflowInvocation.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + createWorkflowInvocationMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/CreateWorkflowInvocation") + .setRequestMarshaller( + ProtoUtils.marshaller(CreateWorkflowInvocationRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(WorkflowInvocation.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + deleteWorkflowInvocationMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/DeleteWorkflowInvocation") + .setRequestMarshaller( + ProtoUtils.marshaller(DeleteWorkflowInvocationRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + cancelWorkflowInvocationMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/CancelWorkflowInvocation") + .setRequestMarshaller( + ProtoUtils.marshaller(CancelWorkflowInvocationRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) + .build(); + + private static final MethodDescriptor< + QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse> + queryWorkflowInvocationActionsMethodDescriptor = + MethodDescriptor + . + newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.cloud.dataform.v1beta1.Dataform/QueryWorkflowInvocationActions") + .setRequestMarshaller( + ProtoUtils.marshaller(QueryWorkflowInvocationActionsRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller( + QueryWorkflowInvocationActionsResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + listLocationsMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.location.Locations/ListLocations") + .setRequestMarshaller( + ProtoUtils.marshaller(ListLocationsRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(ListLocationsResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor getLocationMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.cloud.location.Locations/GetLocation") + .setRequestMarshaller(ProtoUtils.marshaller(GetLocationRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Location.getDefaultInstance())) + .build(); + + private final UnaryCallable + listRepositoriesCallable; + private final UnaryCallable + listRepositoriesPagedCallable; + private final UnaryCallable getRepositoryCallable; + private final UnaryCallable createRepositoryCallable; + private final UnaryCallable updateRepositoryCallable; + private final UnaryCallable deleteRepositoryCallable; + private final UnaryCallable + fetchRemoteBranchesCallable; + private final UnaryCallable listWorkspacesCallable; + private final UnaryCallable + listWorkspacesPagedCallable; + private final UnaryCallable getWorkspaceCallable; + private final UnaryCallable createWorkspaceCallable; + private final UnaryCallable deleteWorkspaceCallable; + private final UnaryCallable + installNpmPackagesCallable; + private final UnaryCallable pullGitCommitsCallable; + private final UnaryCallable pushGitCommitsCallable; + private final UnaryCallable + fetchFileGitStatusesCallable; + private final UnaryCallable + fetchGitAheadBehindCallable; + private final UnaryCallable commitWorkspaceChangesCallable; + private final UnaryCallable resetWorkspaceChangesCallable; + private final UnaryCallable fetchFileDiffCallable; + private final UnaryCallable + queryDirectoryContentsCallable; + private final UnaryCallable + queryDirectoryContentsPagedCallable; + private final UnaryCallable makeDirectoryCallable; + private final UnaryCallable removeDirectoryCallable; + private final UnaryCallable moveDirectoryCallable; + private final UnaryCallable readFileCallable; + private final UnaryCallable removeFileCallable; + private final UnaryCallable moveFileCallable; + private final UnaryCallable writeFileCallable; + private final UnaryCallable + listCompilationResultsCallable; + private final UnaryCallable + listCompilationResultsPagedCallable; + private final UnaryCallable + getCompilationResultCallable; + private final UnaryCallable + createCompilationResultCallable; + private final UnaryCallable< + QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse> + queryCompilationResultActionsCallable; + private final UnaryCallable< + QueryCompilationResultActionsRequest, QueryCompilationResultActionsPagedResponse> + queryCompilationResultActionsPagedCallable; + private final UnaryCallable + listWorkflowInvocationsCallable; + private final UnaryCallable + listWorkflowInvocationsPagedCallable; + private final UnaryCallable + getWorkflowInvocationCallable; + private final UnaryCallable + createWorkflowInvocationCallable; + private final UnaryCallable + deleteWorkflowInvocationCallable; + private final UnaryCallable + cancelWorkflowInvocationCallable; + private final UnaryCallable< + QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse> + queryWorkflowInvocationActionsCallable; + private final UnaryCallable< + QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsPagedResponse> + queryWorkflowInvocationActionsPagedCallable; + private final UnaryCallable listLocationsCallable; + private final UnaryCallable + listLocationsPagedCallable; + private final UnaryCallable getLocationCallable; + + private final BackgroundResource backgroundResources; + private final GrpcOperationsStub operationsStub; + private final GrpcStubCallableFactory callableFactory; + + public static final GrpcDataformStub create(DataformStubSettings settings) throws IOException { + return new GrpcDataformStub(settings, ClientContext.create(settings)); + } + + public static final GrpcDataformStub create(ClientContext clientContext) throws IOException { + return new GrpcDataformStub(DataformStubSettings.newBuilder().build(), clientContext); + } + + public static final GrpcDataformStub create( + ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException { + return new GrpcDataformStub( + DataformStubSettings.newBuilder().build(), clientContext, callableFactory); + } + + /** + * Constructs an instance of GrpcDataformStub, using the given settings. This is protected so that + * it is easy to make a subclass, but otherwise, the static factory methods should be preferred. + */ + protected GrpcDataformStub(DataformStubSettings settings, ClientContext clientContext) + throws IOException { + this(settings, clientContext, new GrpcDataformCallableFactory()); + } + + /** + * Constructs an instance of GrpcDataformStub, using the given settings. This is protected so that + * it is easy to make a subclass, but otherwise, the static factory methods should be preferred. + */ + protected GrpcDataformStub( + DataformStubSettings settings, + ClientContext clientContext, + GrpcStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory); + + GrpcCallSettings + listRepositoriesTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(listRepositoriesMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + }) + .build(); + GrpcCallSettings getRepositoryTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getRepositoryMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings createRepositoryTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(createRepositoryMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + }) + .build(); + GrpcCallSettings updateRepositoryTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(updateRepositoryMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("repository.name", String.valueOf(request.getRepository().getName())); + return params.build(); + }) + .build(); + GrpcCallSettings deleteRepositoryTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(deleteRepositoryMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings + fetchRemoteBranchesTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(fetchRemoteBranchesMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings + listWorkspacesTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(listWorkspacesMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + }) + .build(); + GrpcCallSettings getWorkspaceTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getWorkspaceMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings createWorkspaceTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(createWorkspaceMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + }) + .build(); + GrpcCallSettings deleteWorkspaceTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(deleteWorkspaceMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings + installNpmPackagesTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(installNpmPackagesMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("workspace", String.valueOf(request.getWorkspace())); + return params.build(); + }) + .build(); + GrpcCallSettings pullGitCommitsTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(pullGitCommitsMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings pushGitCommitsTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(pushGitCommitsMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings + fetchFileGitStatusesTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(fetchFileGitStatusesMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings + fetchGitAheadBehindTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(fetchGitAheadBehindMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings commitWorkspaceChangesTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(commitWorkspaceChangesMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings resetWorkspaceChangesTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(resetWorkspaceChangesMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings fetchFileDiffTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(fetchFileDiffMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("workspace", String.valueOf(request.getWorkspace())); + return params.build(); + }) + .build(); + GrpcCallSettings + queryDirectoryContentsTransportSettings = + GrpcCallSettings + .newBuilder() + .setMethodDescriptor(queryDirectoryContentsMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("workspace", String.valueOf(request.getWorkspace())); + return params.build(); + }) + .build(); + GrpcCallSettings makeDirectoryTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(makeDirectoryMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("workspace", String.valueOf(request.getWorkspace())); + return params.build(); + }) + .build(); + GrpcCallSettings removeDirectoryTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(removeDirectoryMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("workspace", String.valueOf(request.getWorkspace())); + return params.build(); + }) + .build(); + GrpcCallSettings moveDirectoryTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(moveDirectoryMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("workspace", String.valueOf(request.getWorkspace())); + return params.build(); + }) + .build(); + GrpcCallSettings readFileTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(readFileMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("workspace", String.valueOf(request.getWorkspace())); + return params.build(); + }) + .build(); + GrpcCallSettings removeFileTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(removeFileMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("workspace", String.valueOf(request.getWorkspace())); + return params.build(); + }) + .build(); + GrpcCallSettings moveFileTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(moveFileMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("workspace", String.valueOf(request.getWorkspace())); + return params.build(); + }) + .build(); + GrpcCallSettings writeFileTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(writeFileMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("workspace", String.valueOf(request.getWorkspace())); + return params.build(); + }) + .build(); + GrpcCallSettings + listCompilationResultsTransportSettings = + GrpcCallSettings + .newBuilder() + .setMethodDescriptor(listCompilationResultsMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + }) + .build(); + GrpcCallSettings + getCompilationResultTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getCompilationResultMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings + createCompilationResultTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(createCompilationResultMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + }) + .build(); + GrpcCallSettings + queryCompilationResultActionsTransportSettings = + GrpcCallSettings + . + newBuilder() + .setMethodDescriptor(queryCompilationResultActionsMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings + listWorkflowInvocationsTransportSettings = + GrpcCallSettings + .newBuilder() + .setMethodDescriptor(listWorkflowInvocationsMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + }) + .build(); + GrpcCallSettings + getWorkflowInvocationTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getWorkflowInvocationMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings + createWorkflowInvocationTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(createWorkflowInvocationMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + }) + .build(); + GrpcCallSettings + deleteWorkflowInvocationTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(deleteWorkflowInvocationMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings + cancelWorkflowInvocationTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(cancelWorkflowInvocationMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings + queryWorkflowInvocationActionsTransportSettings = + GrpcCallSettings + . + newBuilder() + .setMethodDescriptor(queryWorkflowInvocationActionsMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings listLocationsTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(listLocationsMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings getLocationTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getLocationMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + + this.listRepositoriesCallable = + callableFactory.createUnaryCallable( + listRepositoriesTransportSettings, settings.listRepositoriesSettings(), clientContext); + this.listRepositoriesPagedCallable = + callableFactory.createPagedCallable( + listRepositoriesTransportSettings, settings.listRepositoriesSettings(), clientContext); + this.getRepositoryCallable = + callableFactory.createUnaryCallable( + getRepositoryTransportSettings, settings.getRepositorySettings(), clientContext); + this.createRepositoryCallable = + callableFactory.createUnaryCallable( + createRepositoryTransportSettings, settings.createRepositorySettings(), clientContext); + this.updateRepositoryCallable = + callableFactory.createUnaryCallable( + updateRepositoryTransportSettings, settings.updateRepositorySettings(), clientContext); + this.deleteRepositoryCallable = + callableFactory.createUnaryCallable( + deleteRepositoryTransportSettings, settings.deleteRepositorySettings(), clientContext); + this.fetchRemoteBranchesCallable = + callableFactory.createUnaryCallable( + fetchRemoteBranchesTransportSettings, + settings.fetchRemoteBranchesSettings(), + clientContext); + this.listWorkspacesCallable = + callableFactory.createUnaryCallable( + listWorkspacesTransportSettings, settings.listWorkspacesSettings(), clientContext); + this.listWorkspacesPagedCallable = + callableFactory.createPagedCallable( + listWorkspacesTransportSettings, settings.listWorkspacesSettings(), clientContext); + this.getWorkspaceCallable = + callableFactory.createUnaryCallable( + getWorkspaceTransportSettings, settings.getWorkspaceSettings(), clientContext); + this.createWorkspaceCallable = + callableFactory.createUnaryCallable( + createWorkspaceTransportSettings, settings.createWorkspaceSettings(), clientContext); + this.deleteWorkspaceCallable = + callableFactory.createUnaryCallable( + deleteWorkspaceTransportSettings, settings.deleteWorkspaceSettings(), clientContext); + this.installNpmPackagesCallable = + callableFactory.createUnaryCallable( + installNpmPackagesTransportSettings, + settings.installNpmPackagesSettings(), + clientContext); + this.pullGitCommitsCallable = + callableFactory.createUnaryCallable( + pullGitCommitsTransportSettings, settings.pullGitCommitsSettings(), clientContext); + this.pushGitCommitsCallable = + callableFactory.createUnaryCallable( + pushGitCommitsTransportSettings, settings.pushGitCommitsSettings(), clientContext); + this.fetchFileGitStatusesCallable = + callableFactory.createUnaryCallable( + fetchFileGitStatusesTransportSettings, + settings.fetchFileGitStatusesSettings(), + clientContext); + this.fetchGitAheadBehindCallable = + callableFactory.createUnaryCallable( + fetchGitAheadBehindTransportSettings, + settings.fetchGitAheadBehindSettings(), + clientContext); + this.commitWorkspaceChangesCallable = + callableFactory.createUnaryCallable( + commitWorkspaceChangesTransportSettings, + settings.commitWorkspaceChangesSettings(), + clientContext); + this.resetWorkspaceChangesCallable = + callableFactory.createUnaryCallable( + resetWorkspaceChangesTransportSettings, + settings.resetWorkspaceChangesSettings(), + clientContext); + this.fetchFileDiffCallable = + callableFactory.createUnaryCallable( + fetchFileDiffTransportSettings, settings.fetchFileDiffSettings(), clientContext); + this.queryDirectoryContentsCallable = + callableFactory.createUnaryCallable( + queryDirectoryContentsTransportSettings, + settings.queryDirectoryContentsSettings(), + clientContext); + this.queryDirectoryContentsPagedCallable = + callableFactory.createPagedCallable( + queryDirectoryContentsTransportSettings, + settings.queryDirectoryContentsSettings(), + clientContext); + this.makeDirectoryCallable = + callableFactory.createUnaryCallable( + makeDirectoryTransportSettings, settings.makeDirectorySettings(), clientContext); + this.removeDirectoryCallable = + callableFactory.createUnaryCallable( + removeDirectoryTransportSettings, settings.removeDirectorySettings(), clientContext); + this.moveDirectoryCallable = + callableFactory.createUnaryCallable( + moveDirectoryTransportSettings, settings.moveDirectorySettings(), clientContext); + this.readFileCallable = + callableFactory.createUnaryCallable( + readFileTransportSettings, settings.readFileSettings(), clientContext); + this.removeFileCallable = + callableFactory.createUnaryCallable( + removeFileTransportSettings, settings.removeFileSettings(), clientContext); + this.moveFileCallable = + callableFactory.createUnaryCallable( + moveFileTransportSettings, settings.moveFileSettings(), clientContext); + this.writeFileCallable = + callableFactory.createUnaryCallable( + writeFileTransportSettings, settings.writeFileSettings(), clientContext); + this.listCompilationResultsCallable = + callableFactory.createUnaryCallable( + listCompilationResultsTransportSettings, + settings.listCompilationResultsSettings(), + clientContext); + this.listCompilationResultsPagedCallable = + callableFactory.createPagedCallable( + listCompilationResultsTransportSettings, + settings.listCompilationResultsSettings(), + clientContext); + this.getCompilationResultCallable = + callableFactory.createUnaryCallable( + getCompilationResultTransportSettings, + settings.getCompilationResultSettings(), + clientContext); + this.createCompilationResultCallable = + callableFactory.createUnaryCallable( + createCompilationResultTransportSettings, + settings.createCompilationResultSettings(), + clientContext); + this.queryCompilationResultActionsCallable = + callableFactory.createUnaryCallable( + queryCompilationResultActionsTransportSettings, + settings.queryCompilationResultActionsSettings(), + clientContext); + this.queryCompilationResultActionsPagedCallable = + callableFactory.createPagedCallable( + queryCompilationResultActionsTransportSettings, + settings.queryCompilationResultActionsSettings(), + clientContext); + this.listWorkflowInvocationsCallable = + callableFactory.createUnaryCallable( + listWorkflowInvocationsTransportSettings, + settings.listWorkflowInvocationsSettings(), + clientContext); + this.listWorkflowInvocationsPagedCallable = + callableFactory.createPagedCallable( + listWorkflowInvocationsTransportSettings, + settings.listWorkflowInvocationsSettings(), + clientContext); + this.getWorkflowInvocationCallable = + callableFactory.createUnaryCallable( + getWorkflowInvocationTransportSettings, + settings.getWorkflowInvocationSettings(), + clientContext); + this.createWorkflowInvocationCallable = + callableFactory.createUnaryCallable( + createWorkflowInvocationTransportSettings, + settings.createWorkflowInvocationSettings(), + clientContext); + this.deleteWorkflowInvocationCallable = + callableFactory.createUnaryCallable( + deleteWorkflowInvocationTransportSettings, + settings.deleteWorkflowInvocationSettings(), + clientContext); + this.cancelWorkflowInvocationCallable = + callableFactory.createUnaryCallable( + cancelWorkflowInvocationTransportSettings, + settings.cancelWorkflowInvocationSettings(), + clientContext); + this.queryWorkflowInvocationActionsCallable = + callableFactory.createUnaryCallable( + queryWorkflowInvocationActionsTransportSettings, + settings.queryWorkflowInvocationActionsSettings(), + clientContext); + this.queryWorkflowInvocationActionsPagedCallable = + callableFactory.createPagedCallable( + queryWorkflowInvocationActionsTransportSettings, + settings.queryWorkflowInvocationActionsSettings(), + clientContext); + this.listLocationsCallable = + callableFactory.createUnaryCallable( + listLocationsTransportSettings, settings.listLocationsSettings(), clientContext); + this.listLocationsPagedCallable = + callableFactory.createPagedCallable( + listLocationsTransportSettings, settings.listLocationsSettings(), clientContext); + this.getLocationCallable = + callableFactory.createUnaryCallable( + getLocationTransportSettings, settings.getLocationSettings(), clientContext); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + public GrpcOperationsStub getOperationsStub() { + return operationsStub; + } + + @Override + public UnaryCallable + listRepositoriesCallable() { + return listRepositoriesCallable; + } + + @Override + public UnaryCallable + listRepositoriesPagedCallable() { + return listRepositoriesPagedCallable; + } + + @Override + public UnaryCallable getRepositoryCallable() { + return getRepositoryCallable; + } + + @Override + public UnaryCallable createRepositoryCallable() { + return createRepositoryCallable; + } + + @Override + public UnaryCallable updateRepositoryCallable() { + return updateRepositoryCallable; + } + + @Override + public UnaryCallable deleteRepositoryCallable() { + return deleteRepositoryCallable; + } + + @Override + public UnaryCallable + fetchRemoteBranchesCallable() { + return fetchRemoteBranchesCallable; + } + + @Override + public UnaryCallable listWorkspacesCallable() { + return listWorkspacesCallable; + } + + @Override + public UnaryCallable + listWorkspacesPagedCallable() { + return listWorkspacesPagedCallable; + } + + @Override + public UnaryCallable getWorkspaceCallable() { + return getWorkspaceCallable; + } + + @Override + public UnaryCallable createWorkspaceCallable() { + return createWorkspaceCallable; + } + + @Override + public UnaryCallable deleteWorkspaceCallable() { + return deleteWorkspaceCallable; + } + + @Override + public UnaryCallable + installNpmPackagesCallable() { + return installNpmPackagesCallable; + } + + @Override + public UnaryCallable pullGitCommitsCallable() { + return pullGitCommitsCallable; + } + + @Override + public UnaryCallable pushGitCommitsCallable() { + return pushGitCommitsCallable; + } + + @Override + public UnaryCallable + fetchFileGitStatusesCallable() { + return fetchFileGitStatusesCallable; + } + + @Override + public UnaryCallable + fetchGitAheadBehindCallable() { + return fetchGitAheadBehindCallable; + } + + @Override + public UnaryCallable commitWorkspaceChangesCallable() { + return commitWorkspaceChangesCallable; + } + + @Override + public UnaryCallable resetWorkspaceChangesCallable() { + return resetWorkspaceChangesCallable; + } + + @Override + public UnaryCallable fetchFileDiffCallable() { + return fetchFileDiffCallable; + } + + @Override + public UnaryCallable + queryDirectoryContentsCallable() { + return queryDirectoryContentsCallable; + } + + @Override + public UnaryCallable + queryDirectoryContentsPagedCallable() { + return queryDirectoryContentsPagedCallable; + } + + @Override + public UnaryCallable makeDirectoryCallable() { + return makeDirectoryCallable; + } + + @Override + public UnaryCallable removeDirectoryCallable() { + return removeDirectoryCallable; + } + + @Override + public UnaryCallable moveDirectoryCallable() { + return moveDirectoryCallable; + } + + @Override + public UnaryCallable readFileCallable() { + return readFileCallable; + } + + @Override + public UnaryCallable removeFileCallable() { + return removeFileCallable; + } + + @Override + public UnaryCallable moveFileCallable() { + return moveFileCallable; + } + + @Override + public UnaryCallable writeFileCallable() { + return writeFileCallable; + } + + @Override + public UnaryCallable + listCompilationResultsCallable() { + return listCompilationResultsCallable; + } + + @Override + public UnaryCallable + listCompilationResultsPagedCallable() { + return listCompilationResultsPagedCallable; + } + + @Override + public UnaryCallable + getCompilationResultCallable() { + return getCompilationResultCallable; + } + + @Override + public UnaryCallable + createCompilationResultCallable() { + return createCompilationResultCallable; + } + + @Override + public UnaryCallable + queryCompilationResultActionsCallable() { + return queryCompilationResultActionsCallable; + } + + @Override + public UnaryCallable< + QueryCompilationResultActionsRequest, QueryCompilationResultActionsPagedResponse> + queryCompilationResultActionsPagedCallable() { + return queryCompilationResultActionsPagedCallable; + } + + @Override + public UnaryCallable + listWorkflowInvocationsCallable() { + return listWorkflowInvocationsCallable; + } + + @Override + public UnaryCallable + listWorkflowInvocationsPagedCallable() { + return listWorkflowInvocationsPagedCallable; + } + + @Override + public UnaryCallable + getWorkflowInvocationCallable() { + return getWorkflowInvocationCallable; + } + + @Override + public UnaryCallable + createWorkflowInvocationCallable() { + return createWorkflowInvocationCallable; + } + + @Override + public UnaryCallable deleteWorkflowInvocationCallable() { + return deleteWorkflowInvocationCallable; + } + + @Override + public UnaryCallable cancelWorkflowInvocationCallable() { + return cancelWorkflowInvocationCallable; + } + + @Override + public UnaryCallable< + QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse> + queryWorkflowInvocationActionsCallable() { + return queryWorkflowInvocationActionsCallable; + } + + @Override + public UnaryCallable< + QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsPagedResponse> + queryWorkflowInvocationActionsPagedCallable() { + return queryWorkflowInvocationActionsPagedCallable; + } + + @Override + public UnaryCallable listLocationsCallable() { + return listLocationsCallable; + } + + @Override + public UnaryCallable + listLocationsPagedCallable() { + return listLocationsPagedCallable; + } + + @Override + public UnaryCallable getLocationCallable() { + return getLocationCallable; + } + + @Override + public final void close() { + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } + } + + @Override + public void shutdown() { + backgroundResources.shutdown(); + } + + @Override + public boolean isShutdown() { + return backgroundResources.isShutdown(); + } + + @Override + public boolean isTerminated() { + return backgroundResources.isTerminated(); + } + + @Override + public void shutdownNow() { + backgroundResources.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return backgroundResources.awaitTermination(duration, unit); + } +} diff --git a/owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/HttpJsonDataformCallableFactory.java b/owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/HttpJsonDataformCallableFactory.java new file mode 100644 index 0000000..293dcdc --- /dev/null +++ b/owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/HttpJsonDataformCallableFactory.java @@ -0,0 +1,105 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dataform.v1beta1.stub; + +import com.google.api.core.BetaApi; +import com.google.api.gax.httpjson.HttpJsonCallSettings; +import com.google.api.gax.httpjson.HttpJsonCallableFactory; +import com.google.api.gax.httpjson.HttpJsonOperationSnapshotCallable; +import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; +import com.google.api.gax.httpjson.longrunning.stub.OperationsStub; +import com.google.api.gax.rpc.BatchingCallSettings; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.longrunning.Operation; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * REST callable factory implementation for the Dataform service API. + * + *

This class is for advanced usage. + */ +@BetaApi +@Generated("by gapic-generator-java") +public class HttpJsonDataformCallableFactory + implements HttpJsonStubCallableFactory { + + @Override + public UnaryCallable createUnaryCallable( + HttpJsonCallSettings httpJsonCallSettings, + UnaryCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createUnaryCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public + UnaryCallable createPagedCallable( + HttpJsonCallSettings httpJsonCallSettings, + PagedCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createPagedCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public UnaryCallable createBatchingCallable( + HttpJsonCallSettings httpJsonCallSettings, + BatchingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createBatchingCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + @Override + public + OperationCallable createOperationCallable( + HttpJsonCallSettings httpJsonCallSettings, + OperationCallSettings callSettings, + ClientContext clientContext, + OperationsStub operationsStub) { + UnaryCallable innerCallable = + HttpJsonCallableFactory.createBaseUnaryCallable( + httpJsonCallSettings, callSettings.getInitialCallSettings(), clientContext); + HttpJsonOperationSnapshotCallable initialCallable = + new HttpJsonOperationSnapshotCallable( + innerCallable, + httpJsonCallSettings.getMethodDescriptor().getOperationSnapshotFactory()); + return HttpJsonCallableFactory.createOperationCallable( + callSettings, clientContext, operationsStub.longRunningClient(), initialCallable); + } + + @Override + public + ServerStreamingCallable createServerStreamingCallable( + HttpJsonCallSettings httpJsonCallSettings, + ServerStreamingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createServerStreamingCallable( + httpJsonCallSettings, callSettings, clientContext); + } +} diff --git a/owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/HttpJsonDataformStub.java b/owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/HttpJsonDataformStub.java new file mode 100644 index 0000000..bb2ab61 --- /dev/null +++ b/owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/HttpJsonDataformStub.java @@ -0,0 +1,2338 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dataform.v1beta1.stub; + +import static com.google.cloud.dataform.v1beta1.DataformClient.ListCompilationResultsPagedResponse; +import static com.google.cloud.dataform.v1beta1.DataformClient.ListLocationsPagedResponse; +import static com.google.cloud.dataform.v1beta1.DataformClient.ListRepositoriesPagedResponse; +import static com.google.cloud.dataform.v1beta1.DataformClient.ListWorkflowInvocationsPagedResponse; +import static com.google.cloud.dataform.v1beta1.DataformClient.ListWorkspacesPagedResponse; +import static com.google.cloud.dataform.v1beta1.DataformClient.QueryCompilationResultActionsPagedResponse; +import static com.google.cloud.dataform.v1beta1.DataformClient.QueryDirectoryContentsPagedResponse; +import static com.google.cloud.dataform.v1beta1.DataformClient.QueryWorkflowInvocationActionsPagedResponse; + +import com.google.api.core.BetaApi; +import com.google.api.core.InternalApi; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.core.BackgroundResourceAggregation; +import com.google.api.gax.httpjson.ApiMethodDescriptor; +import com.google.api.gax.httpjson.HttpJsonCallSettings; +import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; +import com.google.api.gax.httpjson.ProtoMessageRequestFormatter; +import com.google.api.gax.httpjson.ProtoMessageResponseParser; +import com.google.api.gax.httpjson.ProtoRestSerializer; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest; +import com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest; +import com.google.cloud.dataform.v1beta1.CompilationResult; +import com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest; +import com.google.cloud.dataform.v1beta1.CreateRepositoryRequest; +import com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest; +import com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest; +import com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest; +import com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest; +import com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest; +import com.google.cloud.dataform.v1beta1.FetchFileDiffRequest; +import com.google.cloud.dataform.v1beta1.FetchFileDiffResponse; +import com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest; +import com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse; +import com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest; +import com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse; +import com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest; +import com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse; +import com.google.cloud.dataform.v1beta1.GetCompilationResultRequest; +import com.google.cloud.dataform.v1beta1.GetRepositoryRequest; +import com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest; +import com.google.cloud.dataform.v1beta1.GetWorkspaceRequest; +import com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest; +import com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse; +import com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest; +import com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse; +import com.google.cloud.dataform.v1beta1.ListRepositoriesRequest; +import com.google.cloud.dataform.v1beta1.ListRepositoriesResponse; +import com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest; +import com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse; +import com.google.cloud.dataform.v1beta1.ListWorkspacesRequest; +import com.google.cloud.dataform.v1beta1.ListWorkspacesResponse; +import com.google.cloud.dataform.v1beta1.MakeDirectoryRequest; +import com.google.cloud.dataform.v1beta1.MakeDirectoryResponse; +import com.google.cloud.dataform.v1beta1.MoveDirectoryRequest; +import com.google.cloud.dataform.v1beta1.MoveDirectoryResponse; +import com.google.cloud.dataform.v1beta1.MoveFileRequest; +import com.google.cloud.dataform.v1beta1.MoveFileResponse; +import com.google.cloud.dataform.v1beta1.PullGitCommitsRequest; +import com.google.cloud.dataform.v1beta1.PushGitCommitsRequest; +import com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest; +import com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse; +import com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest; +import com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse; +import com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest; +import com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse; +import com.google.cloud.dataform.v1beta1.ReadFileRequest; +import com.google.cloud.dataform.v1beta1.ReadFileResponse; +import com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest; +import com.google.cloud.dataform.v1beta1.RemoveFileRequest; +import com.google.cloud.dataform.v1beta1.Repository; +import com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest; +import com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest; +import com.google.cloud.dataform.v1beta1.WorkflowInvocation; +import com.google.cloud.dataform.v1beta1.Workspace; +import com.google.cloud.dataform.v1beta1.WriteFileRequest; +import com.google.cloud.dataform.v1beta1.WriteFileResponse; +import com.google.cloud.location.GetLocationRequest; +import com.google.cloud.location.ListLocationsRequest; +import com.google.cloud.location.ListLocationsResponse; +import com.google.cloud.location.Location; +import com.google.protobuf.Empty; +import com.google.protobuf.TypeRegistry; +import java.io.IOException; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * REST stub implementation for the Dataform service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@BetaApi +@Generated("by gapic-generator-java") +public class HttpJsonDataformStub extends DataformStub { + private static final TypeRegistry typeRegistry = TypeRegistry.newBuilder().build(); + + private static final ApiMethodDescriptor + listRepositoriesMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/ListRepositories") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{parent=projects/*/locations/*}/repositories", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "filter", request.getFilter()); + serializer.putQueryParam(fields, "orderBy", request.getOrderBy()); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListRepositoriesResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + getRepositoryMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/GetRepository") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{name=projects/*/locations/*/repositories/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Repository.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + createRepositoryMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/CreateRepository") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{parent=projects/*/locations/*}/repositories", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam( + fields, "repositoryId", request.getRepositoryId()); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("repository", request.getRepository())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Repository.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + updateRepositoryMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/UpdateRepository") + .setHttpMethod("PATCH") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{repository.name=projects/*/locations/*/repositories/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam( + fields, "repository.name", request.getRepository().getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "updateMask", request.getUpdateMask()); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("repository", request.getRepository())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Repository.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + deleteRepositoryMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/DeleteRepository") + .setHttpMethod("DELETE") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{name=projects/*/locations/*/repositories/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "force", request.getForce()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Empty.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + fetchRemoteBranchesMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/FetchRemoteBranches") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{name=projects/*/locations/*/repositories/*}:fetchRemoteBranches", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(FetchRemoteBranchesResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + listWorkspacesMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/ListWorkspaces") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{parent=projects/*/locations/*/repositories/*}/workspaces", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "filter", request.getFilter()); + serializer.putQueryParam(fields, "orderBy", request.getOrderBy()); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListWorkspacesResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + getWorkspaceMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/GetWorkspace") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{name=projects/*/locations/*/repositories/*/workspaces/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Workspace.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + createWorkspaceMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/CreateWorkspace") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{parent=projects/*/locations/*/repositories/*}/workspaces", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam( + fields, "workspaceId", request.getWorkspaceId()); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("workspace", request.getWorkspace())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Workspace.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + deleteWorkspaceMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/DeleteWorkspace") + .setHttpMethod("DELETE") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{name=projects/*/locations/*/repositories/*/workspaces/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Empty.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + installNpmPackagesMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/InstallNpmPackages") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{workspace=projects/*/locations/*/repositories/*/workspaces/*}:installNpmPackages", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "workspace", request.getWorkspace()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearWorkspace().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(InstallNpmPackagesResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + pullGitCommitsMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/PullGitCommits") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{name=projects/*/locations/*/repositories/*/workspaces/*}:pull", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearName().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Empty.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + pushGitCommitsMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/PushGitCommits") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{name=projects/*/locations/*/repositories/*/workspaces/*}:push", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearName().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Empty.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor< + FetchFileGitStatusesRequest, FetchFileGitStatusesResponse> + fetchFileGitStatusesMethodDescriptor = + ApiMethodDescriptor + .newBuilder() + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/FetchFileGitStatuses") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{name=projects/*/locations/*/repositories/*/workspaces/*}:fetchFileGitStatuses", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(FetchFileGitStatusesResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + fetchGitAheadBehindMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/FetchGitAheadBehind") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{name=projects/*/locations/*/repositories/*/workspaces/*}:fetchGitAheadBehind", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam( + fields, "remoteBranch", request.getRemoteBranch()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(FetchGitAheadBehindResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + commitWorkspaceChangesMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/CommitWorkspaceChanges") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{name=projects/*/locations/*/repositories/*/workspaces/*}:commit", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearName().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Empty.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + resetWorkspaceChangesMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/ResetWorkspaceChanges") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{name=projects/*/locations/*/repositories/*/workspaces/*}:reset", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearName().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Empty.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + fetchFileDiffMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/FetchFileDiff") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{workspace=projects/*/locations/*/repositories/*/workspaces/*}:fetchFileDiff", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "workspace", request.getWorkspace()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "path", request.getPath()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(FetchFileDiffResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor< + QueryDirectoryContentsRequest, QueryDirectoryContentsResponse> + queryDirectoryContentsMethodDescriptor = + ApiMethodDescriptor + .newBuilder() + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/QueryDirectoryContents") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{workspace=projects/*/locations/*/repositories/*/workspaces/*}:queryDirectoryContents", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "workspace", request.getWorkspace()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + serializer.putQueryParam(fields, "path", request.getPath()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(QueryDirectoryContentsResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + makeDirectoryMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/MakeDirectory") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{workspace=projects/*/locations/*/repositories/*/workspaces/*}:makeDirectory", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "workspace", request.getWorkspace()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearWorkspace().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(MakeDirectoryResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + removeDirectoryMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/RemoveDirectory") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{workspace=projects/*/locations/*/repositories/*/workspaces/*}:removeDirectory", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "workspace", request.getWorkspace()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearWorkspace().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Empty.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + moveDirectoryMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/MoveDirectory") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{workspace=projects/*/locations/*/repositories/*/workspaces/*}:moveDirectory", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "workspace", request.getWorkspace()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearWorkspace().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(MoveDirectoryResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + readFileMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/ReadFile") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{workspace=projects/*/locations/*/repositories/*/workspaces/*}:readFile", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "workspace", request.getWorkspace()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "path", request.getPath()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ReadFileResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor removeFileMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/RemoveFile") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{workspace=projects/*/locations/*/repositories/*/workspaces/*}:removeFile", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "workspace", request.getWorkspace()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearWorkspace().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Empty.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + moveFileMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/MoveFile") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{workspace=projects/*/locations/*/repositories/*/workspaces/*}:moveFile", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "workspace", request.getWorkspace()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearWorkspace().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(MoveFileResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + writeFileMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/WriteFile") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{workspace=projects/*/locations/*/repositories/*/workspaces/*}:writeFile", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "workspace", request.getWorkspace()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearWorkspace().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(WriteFileResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor< + ListCompilationResultsRequest, ListCompilationResultsResponse> + listCompilationResultsMethodDescriptor = + ApiMethodDescriptor + .newBuilder() + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/ListCompilationResults") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{parent=projects/*/locations/*/repositories/*}/compilationResults", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListCompilationResultsResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + getCompilationResultMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/GetCompilationResult") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{name=projects/*/locations/*/repositories/*/compilationResults/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(CompilationResult.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + createCompilationResultMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/CreateCompilationResult") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{parent=projects/*/locations/*/repositories/*}/compilationResults", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("compilationResult", request.getCompilationResult())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(CompilationResult.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor< + QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse> + queryCompilationResultActionsMethodDescriptor = + ApiMethodDescriptor + . + newBuilder() + .setFullMethodName( + "google.cloud.dataform.v1beta1.Dataform/QueryCompilationResultActions") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{name=projects/*/locations/*/repositories/*/compilationResults/*}:query", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "filter", request.getFilter()); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance( + QueryCompilationResultActionsResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor< + ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse> + listWorkflowInvocationsMethodDescriptor = + ApiMethodDescriptor + .newBuilder() + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/ListWorkflowInvocations") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{parent=projects/*/locations/*/repositories/*}/workflowInvocations", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListWorkflowInvocationsResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + getWorkflowInvocationMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/GetWorkflowInvocation") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{name=projects/*/locations/*/repositories/*/workflowInvocations/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(WorkflowInvocation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + createWorkflowInvocationMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/CreateWorkflowInvocation") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{parent=projects/*/locations/*/repositories/*}/workflowInvocations", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("workflowInvocation", request.getWorkflowInvocation())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(WorkflowInvocation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + deleteWorkflowInvocationMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/DeleteWorkflowInvocation") + .setHttpMethod("DELETE") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{name=projects/*/locations/*/repositories/*/workflowInvocations/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Empty.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + cancelWorkflowInvocationMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.dataform.v1beta1.Dataform/CancelWorkflowInvocation") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{name=projects/*/locations/*/repositories/*/workflowInvocations/*}:cancel", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearName().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Empty.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor< + QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse> + queryWorkflowInvocationActionsMethodDescriptor = + ApiMethodDescriptor + . + newBuilder() + .setFullMethodName( + "google.cloud.dataform.v1beta1.Dataform/QueryWorkflowInvocationActions") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{name=projects/*/locations/*/repositories/*/workflowInvocations/*}:query", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance( + QueryWorkflowInvocationActionsResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + listLocationsMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.location.Locations/ListLocations") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{name=projects/*}/locations", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListLocationsResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + getLocationMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.location.Locations/GetLocation") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta1/{name=projects/*/locations/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Location.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private final UnaryCallable + listRepositoriesCallable; + private final UnaryCallable + listRepositoriesPagedCallable; + private final UnaryCallable getRepositoryCallable; + private final UnaryCallable createRepositoryCallable; + private final UnaryCallable updateRepositoryCallable; + private final UnaryCallable deleteRepositoryCallable; + private final UnaryCallable + fetchRemoteBranchesCallable; + private final UnaryCallable listWorkspacesCallable; + private final UnaryCallable + listWorkspacesPagedCallable; + private final UnaryCallable getWorkspaceCallable; + private final UnaryCallable createWorkspaceCallable; + private final UnaryCallable deleteWorkspaceCallable; + private final UnaryCallable + installNpmPackagesCallable; + private final UnaryCallable pullGitCommitsCallable; + private final UnaryCallable pushGitCommitsCallable; + private final UnaryCallable + fetchFileGitStatusesCallable; + private final UnaryCallable + fetchGitAheadBehindCallable; + private final UnaryCallable commitWorkspaceChangesCallable; + private final UnaryCallable resetWorkspaceChangesCallable; + private final UnaryCallable fetchFileDiffCallable; + private final UnaryCallable + queryDirectoryContentsCallable; + private final UnaryCallable + queryDirectoryContentsPagedCallable; + private final UnaryCallable makeDirectoryCallable; + private final UnaryCallable removeDirectoryCallable; + private final UnaryCallable moveDirectoryCallable; + private final UnaryCallable readFileCallable; + private final UnaryCallable removeFileCallable; + private final UnaryCallable moveFileCallable; + private final UnaryCallable writeFileCallable; + private final UnaryCallable + listCompilationResultsCallable; + private final UnaryCallable + listCompilationResultsPagedCallable; + private final UnaryCallable + getCompilationResultCallable; + private final UnaryCallable + createCompilationResultCallable; + private final UnaryCallable< + QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse> + queryCompilationResultActionsCallable; + private final UnaryCallable< + QueryCompilationResultActionsRequest, QueryCompilationResultActionsPagedResponse> + queryCompilationResultActionsPagedCallable; + private final UnaryCallable + listWorkflowInvocationsCallable; + private final UnaryCallable + listWorkflowInvocationsPagedCallable; + private final UnaryCallable + getWorkflowInvocationCallable; + private final UnaryCallable + createWorkflowInvocationCallable; + private final UnaryCallable + deleteWorkflowInvocationCallable; + private final UnaryCallable + cancelWorkflowInvocationCallable; + private final UnaryCallable< + QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse> + queryWorkflowInvocationActionsCallable; + private final UnaryCallable< + QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsPagedResponse> + queryWorkflowInvocationActionsPagedCallable; + private final UnaryCallable listLocationsCallable; + private final UnaryCallable + listLocationsPagedCallable; + private final UnaryCallable getLocationCallable; + + private final BackgroundResource backgroundResources; + private final HttpJsonStubCallableFactory callableFactory; + + public static final HttpJsonDataformStub create(DataformStubSettings settings) + throws IOException { + return new HttpJsonDataformStub(settings, ClientContext.create(settings)); + } + + public static final HttpJsonDataformStub create(ClientContext clientContext) throws IOException { + return new HttpJsonDataformStub( + DataformStubSettings.newHttpJsonBuilder().build(), clientContext); + } + + public static final HttpJsonDataformStub create( + ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException { + return new HttpJsonDataformStub( + DataformStubSettings.newHttpJsonBuilder().build(), clientContext, callableFactory); + } + + /** + * Constructs an instance of HttpJsonDataformStub, using the given settings. This is protected so + * that it is easy to make a subclass, but otherwise, the static factory methods should be + * preferred. + */ + protected HttpJsonDataformStub(DataformStubSettings settings, ClientContext clientContext) + throws IOException { + this(settings, clientContext, new HttpJsonDataformCallableFactory()); + } + + /** + * Constructs an instance of HttpJsonDataformStub, using the given settings. This is protected so + * that it is easy to make a subclass, but otherwise, the static factory methods should be + * preferred. + */ + protected HttpJsonDataformStub( + DataformStubSettings settings, + ClientContext clientContext, + HttpJsonStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + + HttpJsonCallSettings + listRepositoriesTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listRepositoriesMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings getRepositoryTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getRepositoryMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings createRepositoryTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(createRepositoryMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings updateRepositoryTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(updateRepositoryMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings deleteRepositoryTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(deleteRepositoryMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + fetchRemoteBranchesTransportSettings = + HttpJsonCallSettings + .newBuilder() + .setMethodDescriptor(fetchRemoteBranchesMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + listWorkspacesTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listWorkspacesMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings getWorkspaceTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getWorkspaceMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings createWorkspaceTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(createWorkspaceMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings deleteWorkspaceTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(deleteWorkspaceMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + installNpmPackagesTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(installNpmPackagesMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings pullGitCommitsTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(pullGitCommitsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings pushGitCommitsTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(pushGitCommitsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + fetchFileGitStatusesTransportSettings = + HttpJsonCallSettings + .newBuilder() + .setMethodDescriptor(fetchFileGitStatusesMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + fetchGitAheadBehindTransportSettings = + HttpJsonCallSettings + .newBuilder() + .setMethodDescriptor(fetchGitAheadBehindMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + commitWorkspaceChangesTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(commitWorkspaceChangesMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + resetWorkspaceChangesTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(resetWorkspaceChangesMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + fetchFileDiffTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(fetchFileDiffMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + queryDirectoryContentsTransportSettings = + HttpJsonCallSettings + .newBuilder() + .setMethodDescriptor(queryDirectoryContentsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + makeDirectoryTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(makeDirectoryMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings removeDirectoryTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(removeDirectoryMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + moveDirectoryTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(moveDirectoryMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings readFileTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(readFileMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings removeFileTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(removeFileMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings moveFileTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(moveFileMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings writeFileTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(writeFileMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + listCompilationResultsTransportSettings = + HttpJsonCallSettings + .newBuilder() + .setMethodDescriptor(listCompilationResultsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + getCompilationResultTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getCompilationResultMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + createCompilationResultTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(createCompilationResultMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings< + QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse> + queryCompilationResultActionsTransportSettings = + HttpJsonCallSettings + . + newBuilder() + .setMethodDescriptor(queryCompilationResultActionsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + listWorkflowInvocationsTransportSettings = + HttpJsonCallSettings + .newBuilder() + .setMethodDescriptor(listWorkflowInvocationsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + getWorkflowInvocationTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getWorkflowInvocationMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + createWorkflowInvocationTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(createWorkflowInvocationMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + deleteWorkflowInvocationTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(deleteWorkflowInvocationMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + cancelWorkflowInvocationTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(cancelWorkflowInvocationMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings< + QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse> + queryWorkflowInvocationActionsTransportSettings = + HttpJsonCallSettings + . + newBuilder() + .setMethodDescriptor(queryWorkflowInvocationActionsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + listLocationsTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listLocationsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings getLocationTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getLocationMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + + this.listRepositoriesCallable = + callableFactory.createUnaryCallable( + listRepositoriesTransportSettings, settings.listRepositoriesSettings(), clientContext); + this.listRepositoriesPagedCallable = + callableFactory.createPagedCallable( + listRepositoriesTransportSettings, settings.listRepositoriesSettings(), clientContext); + this.getRepositoryCallable = + callableFactory.createUnaryCallable( + getRepositoryTransportSettings, settings.getRepositorySettings(), clientContext); + this.createRepositoryCallable = + callableFactory.createUnaryCallable( + createRepositoryTransportSettings, settings.createRepositorySettings(), clientContext); + this.updateRepositoryCallable = + callableFactory.createUnaryCallable( + updateRepositoryTransportSettings, settings.updateRepositorySettings(), clientContext); + this.deleteRepositoryCallable = + callableFactory.createUnaryCallable( + deleteRepositoryTransportSettings, settings.deleteRepositorySettings(), clientContext); + this.fetchRemoteBranchesCallable = + callableFactory.createUnaryCallable( + fetchRemoteBranchesTransportSettings, + settings.fetchRemoteBranchesSettings(), + clientContext); + this.listWorkspacesCallable = + callableFactory.createUnaryCallable( + listWorkspacesTransportSettings, settings.listWorkspacesSettings(), clientContext); + this.listWorkspacesPagedCallable = + callableFactory.createPagedCallable( + listWorkspacesTransportSettings, settings.listWorkspacesSettings(), clientContext); + this.getWorkspaceCallable = + callableFactory.createUnaryCallable( + getWorkspaceTransportSettings, settings.getWorkspaceSettings(), clientContext); + this.createWorkspaceCallable = + callableFactory.createUnaryCallable( + createWorkspaceTransportSettings, settings.createWorkspaceSettings(), clientContext); + this.deleteWorkspaceCallable = + callableFactory.createUnaryCallable( + deleteWorkspaceTransportSettings, settings.deleteWorkspaceSettings(), clientContext); + this.installNpmPackagesCallable = + callableFactory.createUnaryCallable( + installNpmPackagesTransportSettings, + settings.installNpmPackagesSettings(), + clientContext); + this.pullGitCommitsCallable = + callableFactory.createUnaryCallable( + pullGitCommitsTransportSettings, settings.pullGitCommitsSettings(), clientContext); + this.pushGitCommitsCallable = + callableFactory.createUnaryCallable( + pushGitCommitsTransportSettings, settings.pushGitCommitsSettings(), clientContext); + this.fetchFileGitStatusesCallable = + callableFactory.createUnaryCallable( + fetchFileGitStatusesTransportSettings, + settings.fetchFileGitStatusesSettings(), + clientContext); + this.fetchGitAheadBehindCallable = + callableFactory.createUnaryCallable( + fetchGitAheadBehindTransportSettings, + settings.fetchGitAheadBehindSettings(), + clientContext); + this.commitWorkspaceChangesCallable = + callableFactory.createUnaryCallable( + commitWorkspaceChangesTransportSettings, + settings.commitWorkspaceChangesSettings(), + clientContext); + this.resetWorkspaceChangesCallable = + callableFactory.createUnaryCallable( + resetWorkspaceChangesTransportSettings, + settings.resetWorkspaceChangesSettings(), + clientContext); + this.fetchFileDiffCallable = + callableFactory.createUnaryCallable( + fetchFileDiffTransportSettings, settings.fetchFileDiffSettings(), clientContext); + this.queryDirectoryContentsCallable = + callableFactory.createUnaryCallable( + queryDirectoryContentsTransportSettings, + settings.queryDirectoryContentsSettings(), + clientContext); + this.queryDirectoryContentsPagedCallable = + callableFactory.createPagedCallable( + queryDirectoryContentsTransportSettings, + settings.queryDirectoryContentsSettings(), + clientContext); + this.makeDirectoryCallable = + callableFactory.createUnaryCallable( + makeDirectoryTransportSettings, settings.makeDirectorySettings(), clientContext); + this.removeDirectoryCallable = + callableFactory.createUnaryCallable( + removeDirectoryTransportSettings, settings.removeDirectorySettings(), clientContext); + this.moveDirectoryCallable = + callableFactory.createUnaryCallable( + moveDirectoryTransportSettings, settings.moveDirectorySettings(), clientContext); + this.readFileCallable = + callableFactory.createUnaryCallable( + readFileTransportSettings, settings.readFileSettings(), clientContext); + this.removeFileCallable = + callableFactory.createUnaryCallable( + removeFileTransportSettings, settings.removeFileSettings(), clientContext); + this.moveFileCallable = + callableFactory.createUnaryCallable( + moveFileTransportSettings, settings.moveFileSettings(), clientContext); + this.writeFileCallable = + callableFactory.createUnaryCallable( + writeFileTransportSettings, settings.writeFileSettings(), clientContext); + this.listCompilationResultsCallable = + callableFactory.createUnaryCallable( + listCompilationResultsTransportSettings, + settings.listCompilationResultsSettings(), + clientContext); + this.listCompilationResultsPagedCallable = + callableFactory.createPagedCallable( + listCompilationResultsTransportSettings, + settings.listCompilationResultsSettings(), + clientContext); + this.getCompilationResultCallable = + callableFactory.createUnaryCallable( + getCompilationResultTransportSettings, + settings.getCompilationResultSettings(), + clientContext); + this.createCompilationResultCallable = + callableFactory.createUnaryCallable( + createCompilationResultTransportSettings, + settings.createCompilationResultSettings(), + clientContext); + this.queryCompilationResultActionsCallable = + callableFactory.createUnaryCallable( + queryCompilationResultActionsTransportSettings, + settings.queryCompilationResultActionsSettings(), + clientContext); + this.queryCompilationResultActionsPagedCallable = + callableFactory.createPagedCallable( + queryCompilationResultActionsTransportSettings, + settings.queryCompilationResultActionsSettings(), + clientContext); + this.listWorkflowInvocationsCallable = + callableFactory.createUnaryCallable( + listWorkflowInvocationsTransportSettings, + settings.listWorkflowInvocationsSettings(), + clientContext); + this.listWorkflowInvocationsPagedCallable = + callableFactory.createPagedCallable( + listWorkflowInvocationsTransportSettings, + settings.listWorkflowInvocationsSettings(), + clientContext); + this.getWorkflowInvocationCallable = + callableFactory.createUnaryCallable( + getWorkflowInvocationTransportSettings, + settings.getWorkflowInvocationSettings(), + clientContext); + this.createWorkflowInvocationCallable = + callableFactory.createUnaryCallable( + createWorkflowInvocationTransportSettings, + settings.createWorkflowInvocationSettings(), + clientContext); + this.deleteWorkflowInvocationCallable = + callableFactory.createUnaryCallable( + deleteWorkflowInvocationTransportSettings, + settings.deleteWorkflowInvocationSettings(), + clientContext); + this.cancelWorkflowInvocationCallable = + callableFactory.createUnaryCallable( + cancelWorkflowInvocationTransportSettings, + settings.cancelWorkflowInvocationSettings(), + clientContext); + this.queryWorkflowInvocationActionsCallable = + callableFactory.createUnaryCallable( + queryWorkflowInvocationActionsTransportSettings, + settings.queryWorkflowInvocationActionsSettings(), + clientContext); + this.queryWorkflowInvocationActionsPagedCallable = + callableFactory.createPagedCallable( + queryWorkflowInvocationActionsTransportSettings, + settings.queryWorkflowInvocationActionsSettings(), + clientContext); + this.listLocationsCallable = + callableFactory.createUnaryCallable( + listLocationsTransportSettings, settings.listLocationsSettings(), clientContext); + this.listLocationsPagedCallable = + callableFactory.createPagedCallable( + listLocationsTransportSettings, settings.listLocationsSettings(), clientContext); + this.getLocationCallable = + callableFactory.createUnaryCallable( + getLocationTransportSettings, settings.getLocationSettings(), clientContext); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + @InternalApi + public static List getMethodDescriptors() { + List methodDescriptors = new ArrayList<>(); + methodDescriptors.add(listRepositoriesMethodDescriptor); + methodDescriptors.add(getRepositoryMethodDescriptor); + methodDescriptors.add(createRepositoryMethodDescriptor); + methodDescriptors.add(updateRepositoryMethodDescriptor); + methodDescriptors.add(deleteRepositoryMethodDescriptor); + methodDescriptors.add(fetchRemoteBranchesMethodDescriptor); + methodDescriptors.add(listWorkspacesMethodDescriptor); + methodDescriptors.add(getWorkspaceMethodDescriptor); + methodDescriptors.add(createWorkspaceMethodDescriptor); + methodDescriptors.add(deleteWorkspaceMethodDescriptor); + methodDescriptors.add(installNpmPackagesMethodDescriptor); + methodDescriptors.add(pullGitCommitsMethodDescriptor); + methodDescriptors.add(pushGitCommitsMethodDescriptor); + methodDescriptors.add(fetchFileGitStatusesMethodDescriptor); + methodDescriptors.add(fetchGitAheadBehindMethodDescriptor); + methodDescriptors.add(commitWorkspaceChangesMethodDescriptor); + methodDescriptors.add(resetWorkspaceChangesMethodDescriptor); + methodDescriptors.add(fetchFileDiffMethodDescriptor); + methodDescriptors.add(queryDirectoryContentsMethodDescriptor); + methodDescriptors.add(makeDirectoryMethodDescriptor); + methodDescriptors.add(removeDirectoryMethodDescriptor); + methodDescriptors.add(moveDirectoryMethodDescriptor); + methodDescriptors.add(readFileMethodDescriptor); + methodDescriptors.add(removeFileMethodDescriptor); + methodDescriptors.add(moveFileMethodDescriptor); + methodDescriptors.add(writeFileMethodDescriptor); + methodDescriptors.add(listCompilationResultsMethodDescriptor); + methodDescriptors.add(getCompilationResultMethodDescriptor); + methodDescriptors.add(createCompilationResultMethodDescriptor); + methodDescriptors.add(queryCompilationResultActionsMethodDescriptor); + methodDescriptors.add(listWorkflowInvocationsMethodDescriptor); + methodDescriptors.add(getWorkflowInvocationMethodDescriptor); + methodDescriptors.add(createWorkflowInvocationMethodDescriptor); + methodDescriptors.add(deleteWorkflowInvocationMethodDescriptor); + methodDescriptors.add(cancelWorkflowInvocationMethodDescriptor); + methodDescriptors.add(queryWorkflowInvocationActionsMethodDescriptor); + methodDescriptors.add(listLocationsMethodDescriptor); + methodDescriptors.add(getLocationMethodDescriptor); + return methodDescriptors; + } + + @Override + public UnaryCallable + listRepositoriesCallable() { + return listRepositoriesCallable; + } + + @Override + public UnaryCallable + listRepositoriesPagedCallable() { + return listRepositoriesPagedCallable; + } + + @Override + public UnaryCallable getRepositoryCallable() { + return getRepositoryCallable; + } + + @Override + public UnaryCallable createRepositoryCallable() { + return createRepositoryCallable; + } + + @Override + public UnaryCallable updateRepositoryCallable() { + return updateRepositoryCallable; + } + + @Override + public UnaryCallable deleteRepositoryCallable() { + return deleteRepositoryCallable; + } + + @Override + public UnaryCallable + fetchRemoteBranchesCallable() { + return fetchRemoteBranchesCallable; + } + + @Override + public UnaryCallable listWorkspacesCallable() { + return listWorkspacesCallable; + } + + @Override + public UnaryCallable + listWorkspacesPagedCallable() { + return listWorkspacesPagedCallable; + } + + @Override + public UnaryCallable getWorkspaceCallable() { + return getWorkspaceCallable; + } + + @Override + public UnaryCallable createWorkspaceCallable() { + return createWorkspaceCallable; + } + + @Override + public UnaryCallable deleteWorkspaceCallable() { + return deleteWorkspaceCallable; + } + + @Override + public UnaryCallable + installNpmPackagesCallable() { + return installNpmPackagesCallable; + } + + @Override + public UnaryCallable pullGitCommitsCallable() { + return pullGitCommitsCallable; + } + + @Override + public UnaryCallable pushGitCommitsCallable() { + return pushGitCommitsCallable; + } + + @Override + public UnaryCallable + fetchFileGitStatusesCallable() { + return fetchFileGitStatusesCallable; + } + + @Override + public UnaryCallable + fetchGitAheadBehindCallable() { + return fetchGitAheadBehindCallable; + } + + @Override + public UnaryCallable commitWorkspaceChangesCallable() { + return commitWorkspaceChangesCallable; + } + + @Override + public UnaryCallable resetWorkspaceChangesCallable() { + return resetWorkspaceChangesCallable; + } + + @Override + public UnaryCallable fetchFileDiffCallable() { + return fetchFileDiffCallable; + } + + @Override + public UnaryCallable + queryDirectoryContentsCallable() { + return queryDirectoryContentsCallable; + } + + @Override + public UnaryCallable + queryDirectoryContentsPagedCallable() { + return queryDirectoryContentsPagedCallable; + } + + @Override + public UnaryCallable makeDirectoryCallable() { + return makeDirectoryCallable; + } + + @Override + public UnaryCallable removeDirectoryCallable() { + return removeDirectoryCallable; + } + + @Override + public UnaryCallable moveDirectoryCallable() { + return moveDirectoryCallable; + } + + @Override + public UnaryCallable readFileCallable() { + return readFileCallable; + } + + @Override + public UnaryCallable removeFileCallable() { + return removeFileCallable; + } + + @Override + public UnaryCallable moveFileCallable() { + return moveFileCallable; + } + + @Override + public UnaryCallable writeFileCallable() { + return writeFileCallable; + } + + @Override + public UnaryCallable + listCompilationResultsCallable() { + return listCompilationResultsCallable; + } + + @Override + public UnaryCallable + listCompilationResultsPagedCallable() { + return listCompilationResultsPagedCallable; + } + + @Override + public UnaryCallable + getCompilationResultCallable() { + return getCompilationResultCallable; + } + + @Override + public UnaryCallable + createCompilationResultCallable() { + return createCompilationResultCallable; + } + + @Override + public UnaryCallable + queryCompilationResultActionsCallable() { + return queryCompilationResultActionsCallable; + } + + @Override + public UnaryCallable< + QueryCompilationResultActionsRequest, QueryCompilationResultActionsPagedResponse> + queryCompilationResultActionsPagedCallable() { + return queryCompilationResultActionsPagedCallable; + } + + @Override + public UnaryCallable + listWorkflowInvocationsCallable() { + return listWorkflowInvocationsCallable; + } + + @Override + public UnaryCallable + listWorkflowInvocationsPagedCallable() { + return listWorkflowInvocationsPagedCallable; + } + + @Override + public UnaryCallable + getWorkflowInvocationCallable() { + return getWorkflowInvocationCallable; + } + + @Override + public UnaryCallable + createWorkflowInvocationCallable() { + return createWorkflowInvocationCallable; + } + + @Override + public UnaryCallable deleteWorkflowInvocationCallable() { + return deleteWorkflowInvocationCallable; + } + + @Override + public UnaryCallable cancelWorkflowInvocationCallable() { + return cancelWorkflowInvocationCallable; + } + + @Override + public UnaryCallable< + QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse> + queryWorkflowInvocationActionsCallable() { + return queryWorkflowInvocationActionsCallable; + } + + @Override + public UnaryCallable< + QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsPagedResponse> + queryWorkflowInvocationActionsPagedCallable() { + return queryWorkflowInvocationActionsPagedCallable; + } + + @Override + public UnaryCallable listLocationsCallable() { + return listLocationsCallable; + } + + @Override + public UnaryCallable + listLocationsPagedCallable() { + return listLocationsPagedCallable; + } + + @Override + public UnaryCallable getLocationCallable() { + return getLocationCallable; + } + + @Override + public final void close() { + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } + } + + @Override + public void shutdown() { + backgroundResources.shutdown(); + } + + @Override + public boolean isShutdown() { + return backgroundResources.isShutdown(); + } + + @Override + public boolean isTerminated() { + return backgroundResources.isTerminated(); + } + + @Override + public void shutdownNow() { + backgroundResources.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return backgroundResources.awaitTermination(duration, unit); + } +} diff --git a/owl-bot-staging/v1beta1/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/DataformClientHttpJsonTest.java b/owl-bot-staging/v1beta1/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/DataformClientHttpJsonTest.java new file mode 100644 index 0000000..daa3961 --- /dev/null +++ b/owl-bot-staging/v1beta1/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/DataformClientHttpJsonTest.java @@ -0,0 +1,2843 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dataform.v1beta1; + +import static com.google.cloud.dataform.v1beta1.DataformClient.ListCompilationResultsPagedResponse; +import static com.google.cloud.dataform.v1beta1.DataformClient.ListLocationsPagedResponse; +import static com.google.cloud.dataform.v1beta1.DataformClient.ListRepositoriesPagedResponse; +import static com.google.cloud.dataform.v1beta1.DataformClient.ListWorkflowInvocationsPagedResponse; +import static com.google.cloud.dataform.v1beta1.DataformClient.ListWorkspacesPagedResponse; +import static com.google.cloud.dataform.v1beta1.DataformClient.QueryCompilationResultActionsPagedResponse; +import static com.google.cloud.dataform.v1beta1.DataformClient.QueryDirectoryContentsPagedResponse; +import static com.google.cloud.dataform.v1beta1.DataformClient.QueryWorkflowInvocationActionsPagedResponse; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.testing.MockHttpService; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ApiException; +import com.google.api.gax.rpc.ApiExceptionFactory; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.testing.FakeStatusCode; +import com.google.cloud.dataform.v1beta1.stub.HttpJsonDataformStub; +import com.google.cloud.location.GetLocationRequest; +import com.google.cloud.location.ListLocationsRequest; +import com.google.cloud.location.ListLocationsResponse; +import com.google.cloud.location.Location; +import com.google.common.collect.Lists; +import com.google.protobuf.Any; +import com.google.protobuf.ByteString; +import com.google.protobuf.Empty; +import com.google.protobuf.FieldMask; +import com.google.type.Interval; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.HashMap; +import java.util.List; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class DataformClientHttpJsonTest { + private static MockHttpService mockService; + private static DataformClient client; + + @BeforeClass + public static void startStaticServer() throws IOException { + mockService = + new MockHttpService( + HttpJsonDataformStub.getMethodDescriptors(), DataformSettings.getDefaultEndpoint()); + DataformSettings settings = + DataformSettings.newHttpJsonBuilder() + .setTransportChannelProvider( + DataformSettings.defaultHttpJsonTransportProviderBuilder() + .setHttpTransport(mockService) + .build()) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = DataformClient.create(settings); + } + + @AfterClass + public static void stopServer() { + client.close(); + } + + @Before + public void setUp() {} + + @After + public void tearDown() throws Exception { + mockService.reset(); + } + + @Test + public void listRepositoriesTest() throws Exception { + Repository responsesElement = Repository.newBuilder().build(); + ListRepositoriesResponse expectedResponse = + ListRepositoriesResponse.newBuilder() + .setNextPageToken("") + .addAllRepositories(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + + ListRepositoriesPagedResponse pagedListResponse = client.listRepositories(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getRepositoriesList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listRepositoriesExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + client.listRepositories(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listRepositoriesTest2() throws Exception { + Repository responsesElement = Repository.newBuilder().build(); + ListRepositoriesResponse expectedResponse = + ListRepositoriesResponse.newBuilder() + .setNextPageToken("") + .addAllRepositories(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-5833/locations/location-5833"; + + ListRepositoriesPagedResponse pagedListResponse = client.listRepositories(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getRepositoriesList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listRepositoriesExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-5833/locations/location-5833"; + client.listRepositories(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getRepositoryTest() throws Exception { + Repository expectedResponse = + Repository.newBuilder() + .setName(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) + .setGitRemoteSettings(Repository.GitRemoteSettings.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + RepositoryName name = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]"); + + Repository actualResponse = client.getRepository(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getRepositoryExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + RepositoryName name = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]"); + client.getRepository(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getRepositoryTest2() throws Exception { + Repository expectedResponse = + Repository.newBuilder() + .setName(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) + .setGitRemoteSettings(Repository.GitRemoteSettings.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-4840/locations/location-4840/repositories/repositorie-4840"; + + Repository actualResponse = client.getRepository(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getRepositoryExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-4840/locations/location-4840/repositories/repositorie-4840"; + client.getRepository(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createRepositoryTest() throws Exception { + Repository expectedResponse = + Repository.newBuilder() + .setName(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) + .setGitRemoteSettings(Repository.GitRemoteSettings.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + Repository repository = Repository.newBuilder().build(); + String repositoryId = "repositoryId2113747461"; + + Repository actualResponse = client.createRepository(parent, repository, repositoryId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createRepositoryExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + Repository repository = Repository.newBuilder().build(); + String repositoryId = "repositoryId2113747461"; + client.createRepository(parent, repository, repositoryId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createRepositoryTest2() throws Exception { + Repository expectedResponse = + Repository.newBuilder() + .setName(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) + .setGitRemoteSettings(Repository.GitRemoteSettings.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-5833/locations/location-5833"; + Repository repository = Repository.newBuilder().build(); + String repositoryId = "repositoryId2113747461"; + + Repository actualResponse = client.createRepository(parent, repository, repositoryId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createRepositoryExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-5833/locations/location-5833"; + Repository repository = Repository.newBuilder().build(); + String repositoryId = "repositoryId2113747461"; + client.createRepository(parent, repository, repositoryId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void updateRepositoryTest() throws Exception { + Repository expectedResponse = + Repository.newBuilder() + .setName(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) + .setGitRemoteSettings(Repository.GitRemoteSettings.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + Repository repository = + Repository.newBuilder() + .setName(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) + .setGitRemoteSettings(Repository.GitRemoteSettings.newBuilder().build()) + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + Repository actualResponse = client.updateRepository(repository, updateMask); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void updateRepositoryExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + Repository repository = + Repository.newBuilder() + .setName(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) + .setGitRemoteSettings(Repository.GitRemoteSettings.newBuilder().build()) + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.updateRepository(repository, updateMask); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteRepositoryTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + RepositoryName name = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]"); + + client.deleteRepository(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteRepositoryExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + RepositoryName name = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]"); + client.deleteRepository(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteRepositoryTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-4840/locations/location-4840/repositories/repositorie-4840"; + + client.deleteRepository(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteRepositoryExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-4840/locations/location-4840/repositories/repositorie-4840"; + client.deleteRepository(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void fetchRemoteBranchesTest() throws Exception { + FetchRemoteBranchesResponse expectedResponse = + FetchRemoteBranchesResponse.newBuilder().addAllBranches(new ArrayList()).build(); + mockService.addResponse(expectedResponse); + + FetchRemoteBranchesRequest request = + FetchRemoteBranchesRequest.newBuilder() + .setName(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) + .build(); + + FetchRemoteBranchesResponse actualResponse = client.fetchRemoteBranches(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void fetchRemoteBranchesExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + FetchRemoteBranchesRequest request = + FetchRemoteBranchesRequest.newBuilder() + .setName(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) + .build(); + client.fetchRemoteBranches(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listWorkspacesTest() throws Exception { + Workspace responsesElement = Workspace.newBuilder().build(); + ListWorkspacesResponse expectedResponse = + ListWorkspacesResponse.newBuilder() + .setNextPageToken("") + .addAllWorkspaces(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + RepositoryName parent = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]"); + + ListWorkspacesPagedResponse pagedListResponse = client.listWorkspaces(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getWorkspacesList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listWorkspacesExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + RepositoryName parent = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]"); + client.listWorkspaces(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listWorkspacesTest2() throws Exception { + Workspace responsesElement = Workspace.newBuilder().build(); + ListWorkspacesResponse expectedResponse = + ListWorkspacesResponse.newBuilder() + .setNextPageToken("") + .addAllWorkspaces(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-9015/locations/location-9015/repositories/repositorie-9015"; + + ListWorkspacesPagedResponse pagedListResponse = client.listWorkspaces(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getWorkspacesList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listWorkspacesExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-9015/locations/location-9015/repositories/repositorie-9015"; + client.listWorkspaces(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getWorkspaceTest() throws Exception { + Workspace expectedResponse = + Workspace.newBuilder() + .setName( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .build(); + mockService.addResponse(expectedResponse); + + WorkspaceName name = WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"); + + Workspace actualResponse = client.getWorkspace(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getWorkspaceExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + WorkspaceName name = + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"); + client.getWorkspace(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getWorkspaceTest2() throws Exception { + Workspace expectedResponse = + Workspace.newBuilder() + .setName( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .build(); + mockService.addResponse(expectedResponse); + + String name = + "projects/project-2384/locations/location-2384/repositories/repositorie-2384/workspaces/workspace-2384"; + + Workspace actualResponse = client.getWorkspace(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getWorkspaceExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-2384/locations/location-2384/repositories/repositorie-2384/workspaces/workspace-2384"; + client.getWorkspace(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createWorkspaceTest() throws Exception { + Workspace expectedResponse = + Workspace.newBuilder() + .setName( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .build(); + mockService.addResponse(expectedResponse); + + RepositoryName parent = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]"); + Workspace workspace = Workspace.newBuilder().build(); + String workspaceId = "workspaceId466560144"; + + Workspace actualResponse = client.createWorkspace(parent, workspace, workspaceId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createWorkspaceExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + RepositoryName parent = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]"); + Workspace workspace = Workspace.newBuilder().build(); + String workspaceId = "workspaceId466560144"; + client.createWorkspace(parent, workspace, workspaceId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createWorkspaceTest2() throws Exception { + Workspace expectedResponse = + Workspace.newBuilder() + .setName( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-9015/locations/location-9015/repositories/repositorie-9015"; + Workspace workspace = Workspace.newBuilder().build(); + String workspaceId = "workspaceId466560144"; + + Workspace actualResponse = client.createWorkspace(parent, workspace, workspaceId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createWorkspaceExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-9015/locations/location-9015/repositories/repositorie-9015"; + Workspace workspace = Workspace.newBuilder().build(); + String workspaceId = "workspaceId466560144"; + client.createWorkspace(parent, workspace, workspaceId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteWorkspaceTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + WorkspaceName name = WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"); + + client.deleteWorkspace(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteWorkspaceExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + WorkspaceName name = + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"); + client.deleteWorkspace(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteWorkspaceTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + String name = + "projects/project-2384/locations/location-2384/repositories/repositorie-2384/workspaces/workspace-2384"; + + client.deleteWorkspace(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteWorkspaceExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-2384/locations/location-2384/repositories/repositorie-2384/workspaces/workspace-2384"; + client.deleteWorkspace(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void installNpmPackagesTest() throws Exception { + InstallNpmPackagesResponse expectedResponse = InstallNpmPackagesResponse.newBuilder().build(); + mockService.addResponse(expectedResponse); + + InstallNpmPackagesRequest request = + InstallNpmPackagesRequest.newBuilder() + .setWorkspace( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .build(); + + InstallNpmPackagesResponse actualResponse = client.installNpmPackages(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void installNpmPackagesExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + InstallNpmPackagesRequest request = + InstallNpmPackagesRequest.newBuilder() + .setWorkspace( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .build(); + client.installNpmPackages(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void pullGitCommitsTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + PullGitCommitsRequest request = + PullGitCommitsRequest.newBuilder() + .setName( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .setRemoteBranch("remoteBranch-533119608") + .setAuthor(CommitAuthor.newBuilder().build()) + .build(); + + client.pullGitCommits(request); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void pullGitCommitsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + PullGitCommitsRequest request = + PullGitCommitsRequest.newBuilder() + .setName( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .setRemoteBranch("remoteBranch-533119608") + .setAuthor(CommitAuthor.newBuilder().build()) + .build(); + client.pullGitCommits(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void pushGitCommitsTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + PushGitCommitsRequest request = + PushGitCommitsRequest.newBuilder() + .setName( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .setRemoteBranch("remoteBranch-533119608") + .build(); + + client.pushGitCommits(request); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void pushGitCommitsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + PushGitCommitsRequest request = + PushGitCommitsRequest.newBuilder() + .setName( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .setRemoteBranch("remoteBranch-533119608") + .build(); + client.pushGitCommits(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void fetchFileGitStatusesTest() throws Exception { + FetchFileGitStatusesResponse expectedResponse = + FetchFileGitStatusesResponse.newBuilder() + .addAllUncommittedFileChanges( + new ArrayList()) + .build(); + mockService.addResponse(expectedResponse); + + FetchFileGitStatusesRequest request = + FetchFileGitStatusesRequest.newBuilder() + .setName( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .build(); + + FetchFileGitStatusesResponse actualResponse = client.fetchFileGitStatuses(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void fetchFileGitStatusesExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + FetchFileGitStatusesRequest request = + FetchFileGitStatusesRequest.newBuilder() + .setName( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .build(); + client.fetchFileGitStatuses(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void fetchGitAheadBehindTest() throws Exception { + FetchGitAheadBehindResponse expectedResponse = + FetchGitAheadBehindResponse.newBuilder() + .setCommitsAhead(1216483806) + .setCommitsBehind(-917751619) + .build(); + mockService.addResponse(expectedResponse); + + FetchGitAheadBehindRequest request = + FetchGitAheadBehindRequest.newBuilder() + .setName( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .setRemoteBranch("remoteBranch-533119608") + .build(); + + FetchGitAheadBehindResponse actualResponse = client.fetchGitAheadBehind(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void fetchGitAheadBehindExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + FetchGitAheadBehindRequest request = + FetchGitAheadBehindRequest.newBuilder() + .setName( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .setRemoteBranch("remoteBranch-533119608") + .build(); + client.fetchGitAheadBehind(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void commitWorkspaceChangesTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + CommitWorkspaceChangesRequest request = + CommitWorkspaceChangesRequest.newBuilder() + .setName( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .setAuthor(CommitAuthor.newBuilder().build()) + .setCommitMessage("commitMessage2039804624") + .addAllPaths(new ArrayList()) + .build(); + + client.commitWorkspaceChanges(request); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void commitWorkspaceChangesExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + CommitWorkspaceChangesRequest request = + CommitWorkspaceChangesRequest.newBuilder() + .setName( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .setAuthor(CommitAuthor.newBuilder().build()) + .setCommitMessage("commitMessage2039804624") + .addAllPaths(new ArrayList()) + .build(); + client.commitWorkspaceChanges(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void resetWorkspaceChangesTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + ResetWorkspaceChangesRequest request = + ResetWorkspaceChangesRequest.newBuilder() + .setName( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .addAllPaths(new ArrayList()) + .setClean(true) + .build(); + + client.resetWorkspaceChanges(request); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void resetWorkspaceChangesExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ResetWorkspaceChangesRequest request = + ResetWorkspaceChangesRequest.newBuilder() + .setName( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .addAllPaths(new ArrayList()) + .setClean(true) + .build(); + client.resetWorkspaceChanges(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void fetchFileDiffTest() throws Exception { + FetchFileDiffResponse expectedResponse = + FetchFileDiffResponse.newBuilder().setFormattedDiff("formattedDiff-1717800223").build(); + mockService.addResponse(expectedResponse); + + FetchFileDiffRequest request = + FetchFileDiffRequest.newBuilder() + .setWorkspace( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .setPath("path3433509") + .build(); + + FetchFileDiffResponse actualResponse = client.fetchFileDiff(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void fetchFileDiffExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + FetchFileDiffRequest request = + FetchFileDiffRequest.newBuilder() + .setWorkspace( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .setPath("path3433509") + .build(); + client.fetchFileDiff(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void queryDirectoryContentsTest() throws Exception { + QueryDirectoryContentsResponse.DirectoryEntry responsesElement = + QueryDirectoryContentsResponse.DirectoryEntry.newBuilder().build(); + QueryDirectoryContentsResponse expectedResponse = + QueryDirectoryContentsResponse.newBuilder() + .setNextPageToken("") + .addAllDirectoryEntries(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + QueryDirectoryContentsRequest request = + QueryDirectoryContentsRequest.newBuilder() + .setWorkspace( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .setPath("path3433509") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + + QueryDirectoryContentsPagedResponse pagedListResponse = client.queryDirectoryContents(request); + + List resources = + Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getDirectoryEntriesList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void queryDirectoryContentsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + QueryDirectoryContentsRequest request = + QueryDirectoryContentsRequest.newBuilder() + .setWorkspace( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .setPath("path3433509") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + client.queryDirectoryContents(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void makeDirectoryTest() throws Exception { + MakeDirectoryResponse expectedResponse = MakeDirectoryResponse.newBuilder().build(); + mockService.addResponse(expectedResponse); + + MakeDirectoryRequest request = + MakeDirectoryRequest.newBuilder() + .setWorkspace( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .setPath("path3433509") + .build(); + + MakeDirectoryResponse actualResponse = client.makeDirectory(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void makeDirectoryExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + MakeDirectoryRequest request = + MakeDirectoryRequest.newBuilder() + .setWorkspace( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .setPath("path3433509") + .build(); + client.makeDirectory(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void removeDirectoryTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + RemoveDirectoryRequest request = + RemoveDirectoryRequest.newBuilder() + .setWorkspace( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .setPath("path3433509") + .build(); + + client.removeDirectory(request); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void removeDirectoryExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + RemoveDirectoryRequest request = + RemoveDirectoryRequest.newBuilder() + .setWorkspace( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .setPath("path3433509") + .build(); + client.removeDirectory(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void moveDirectoryTest() throws Exception { + MoveDirectoryResponse expectedResponse = MoveDirectoryResponse.newBuilder().build(); + mockService.addResponse(expectedResponse); + + MoveDirectoryRequest request = + MoveDirectoryRequest.newBuilder() + .setWorkspace( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .setPath("path3433509") + .setNewPath("newPath1845080549") + .build(); + + MoveDirectoryResponse actualResponse = client.moveDirectory(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void moveDirectoryExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + MoveDirectoryRequest request = + MoveDirectoryRequest.newBuilder() + .setWorkspace( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .setPath("path3433509") + .setNewPath("newPath1845080549") + .build(); + client.moveDirectory(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void readFileTest() throws Exception { + ReadFileResponse expectedResponse = + ReadFileResponse.newBuilder().setFileContents(ByteString.EMPTY).build(); + mockService.addResponse(expectedResponse); + + ReadFileRequest request = + ReadFileRequest.newBuilder() + .setWorkspace( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .setPath("path3433509") + .build(); + + ReadFileResponse actualResponse = client.readFile(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void readFileExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ReadFileRequest request = + ReadFileRequest.newBuilder() + .setWorkspace( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .setPath("path3433509") + .build(); + client.readFile(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void removeFileTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + RemoveFileRequest request = + RemoveFileRequest.newBuilder() + .setWorkspace( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .setPath("path3433509") + .build(); + + client.removeFile(request); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void removeFileExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + RemoveFileRequest request = + RemoveFileRequest.newBuilder() + .setWorkspace( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .setPath("path3433509") + .build(); + client.removeFile(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void moveFileTest() throws Exception { + MoveFileResponse expectedResponse = MoveFileResponse.newBuilder().build(); + mockService.addResponse(expectedResponse); + + MoveFileRequest request = + MoveFileRequest.newBuilder() + .setWorkspace( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .setPath("path3433509") + .setNewPath("newPath1845080549") + .build(); + + MoveFileResponse actualResponse = client.moveFile(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void moveFileExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + MoveFileRequest request = + MoveFileRequest.newBuilder() + .setWorkspace( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .setPath("path3433509") + .setNewPath("newPath1845080549") + .build(); + client.moveFile(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void writeFileTest() throws Exception { + WriteFileResponse expectedResponse = WriteFileResponse.newBuilder().build(); + mockService.addResponse(expectedResponse); + + WriteFileRequest request = + WriteFileRequest.newBuilder() + .setWorkspace( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .setPath("path3433509") + .setContents(ByteString.EMPTY) + .build(); + + WriteFileResponse actualResponse = client.writeFile(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void writeFileExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + WriteFileRequest request = + WriteFileRequest.newBuilder() + .setWorkspace( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .setPath("path3433509") + .setContents(ByteString.EMPTY) + .build(); + client.writeFile(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listCompilationResultsTest() throws Exception { + CompilationResult responsesElement = CompilationResult.newBuilder().build(); + ListCompilationResultsResponse expectedResponse = + ListCompilationResultsResponse.newBuilder() + .setNextPageToken("") + .addAllCompilationResults(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + RepositoryName parent = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]"); + + ListCompilationResultsPagedResponse pagedListResponse = client.listCompilationResults(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getCompilationResultsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listCompilationResultsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + RepositoryName parent = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]"); + client.listCompilationResults(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listCompilationResultsTest2() throws Exception { + CompilationResult responsesElement = CompilationResult.newBuilder().build(); + ListCompilationResultsResponse expectedResponse = + ListCompilationResultsResponse.newBuilder() + .setNextPageToken("") + .addAllCompilationResults(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-9015/locations/location-9015/repositories/repositorie-9015"; + + ListCompilationResultsPagedResponse pagedListResponse = client.listCompilationResults(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getCompilationResultsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listCompilationResultsExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-9015/locations/location-9015/repositories/repositorie-9015"; + client.listCompilationResults(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getCompilationResultTest() throws Exception { + CompilationResult expectedResponse = + CompilationResult.newBuilder() + .setName( + CompilationResultName.of( + "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[COMPILATION_RESULT]") + .toString()) + .setCodeCompilationConfig(CompilationResult.CodeCompilationConfig.newBuilder().build()) + .setDataformCoreVersion("dataformCoreVersion1859535851") + .addAllCompilationErrors(new ArrayList()) + .build(); + mockService.addResponse(expectedResponse); + + CompilationResultName name = + CompilationResultName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[COMPILATION_RESULT]"); + + CompilationResult actualResponse = client.getCompilationResult(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getCompilationResultExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + CompilationResultName name = + CompilationResultName.of( + "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[COMPILATION_RESULT]"); + client.getCompilationResult(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getCompilationResultTest2() throws Exception { + CompilationResult expectedResponse = + CompilationResult.newBuilder() + .setName( + CompilationResultName.of( + "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[COMPILATION_RESULT]") + .toString()) + .setCodeCompilationConfig(CompilationResult.CodeCompilationConfig.newBuilder().build()) + .setDataformCoreVersion("dataformCoreVersion1859535851") + .addAllCompilationErrors(new ArrayList()) + .build(); + mockService.addResponse(expectedResponse); + + String name = + "projects/project-7493/locations/location-7493/repositories/repositorie-7493/compilationResults/compilationResult-7493"; + + CompilationResult actualResponse = client.getCompilationResult(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getCompilationResultExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-7493/locations/location-7493/repositories/repositorie-7493/compilationResults/compilationResult-7493"; + client.getCompilationResult(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createCompilationResultTest() throws Exception { + CompilationResult expectedResponse = + CompilationResult.newBuilder() + .setName( + CompilationResultName.of( + "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[COMPILATION_RESULT]") + .toString()) + .setCodeCompilationConfig(CompilationResult.CodeCompilationConfig.newBuilder().build()) + .setDataformCoreVersion("dataformCoreVersion1859535851") + .addAllCompilationErrors(new ArrayList()) + .build(); + mockService.addResponse(expectedResponse); + + RepositoryName parent = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]"); + CompilationResult compilationResult = CompilationResult.newBuilder().build(); + + CompilationResult actualResponse = client.createCompilationResult(parent, compilationResult); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createCompilationResultExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + RepositoryName parent = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]"); + CompilationResult compilationResult = CompilationResult.newBuilder().build(); + client.createCompilationResult(parent, compilationResult); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createCompilationResultTest2() throws Exception { + CompilationResult expectedResponse = + CompilationResult.newBuilder() + .setName( + CompilationResultName.of( + "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[COMPILATION_RESULT]") + .toString()) + .setCodeCompilationConfig(CompilationResult.CodeCompilationConfig.newBuilder().build()) + .setDataformCoreVersion("dataformCoreVersion1859535851") + .addAllCompilationErrors(new ArrayList()) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-9015/locations/location-9015/repositories/repositorie-9015"; + CompilationResult compilationResult = CompilationResult.newBuilder().build(); + + CompilationResult actualResponse = client.createCompilationResult(parent, compilationResult); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createCompilationResultExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-9015/locations/location-9015/repositories/repositorie-9015"; + CompilationResult compilationResult = CompilationResult.newBuilder().build(); + client.createCompilationResult(parent, compilationResult); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void queryCompilationResultActionsTest() throws Exception { + CompilationResultAction responsesElement = CompilationResultAction.newBuilder().build(); + QueryCompilationResultActionsResponse expectedResponse = + QueryCompilationResultActionsResponse.newBuilder() + .setNextPageToken("") + .addAllCompilationResultActions(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + QueryCompilationResultActionsRequest request = + QueryCompilationResultActionsRequest.newBuilder() + .setName( + CompilationResultName.of( + "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[COMPILATION_RESULT]") + .toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .setFilter("filter-1274492040") + .build(); + + QueryCompilationResultActionsPagedResponse pagedListResponse = + client.queryCompilationResultActions(request); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals( + expectedResponse.getCompilationResultActionsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void queryCompilationResultActionsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + QueryCompilationResultActionsRequest request = + QueryCompilationResultActionsRequest.newBuilder() + .setName( + CompilationResultName.of( + "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[COMPILATION_RESULT]") + .toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .setFilter("filter-1274492040") + .build(); + client.queryCompilationResultActions(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listWorkflowInvocationsTest() throws Exception { + WorkflowInvocation responsesElement = WorkflowInvocation.newBuilder().build(); + ListWorkflowInvocationsResponse expectedResponse = + ListWorkflowInvocationsResponse.newBuilder() + .setNextPageToken("") + .addAllWorkflowInvocations(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + RepositoryName parent = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]"); + + ListWorkflowInvocationsPagedResponse pagedListResponse = client.listWorkflowInvocations(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getWorkflowInvocationsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listWorkflowInvocationsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + RepositoryName parent = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]"); + client.listWorkflowInvocations(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listWorkflowInvocationsTest2() throws Exception { + WorkflowInvocation responsesElement = WorkflowInvocation.newBuilder().build(); + ListWorkflowInvocationsResponse expectedResponse = + ListWorkflowInvocationsResponse.newBuilder() + .setNextPageToken("") + .addAllWorkflowInvocations(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-9015/locations/location-9015/repositories/repositorie-9015"; + + ListWorkflowInvocationsPagedResponse pagedListResponse = client.listWorkflowInvocations(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getWorkflowInvocationsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listWorkflowInvocationsExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-9015/locations/location-9015/repositories/repositorie-9015"; + client.listWorkflowInvocations(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getWorkflowInvocationTest() throws Exception { + WorkflowInvocation expectedResponse = + WorkflowInvocation.newBuilder() + .setName( + WorkflowInvocationName.of( + "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]") + .toString()) + .setCompilationResult( + CompilationResultName.of( + "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[COMPILATION_RESULT]") + .toString()) + .setInvocationConfig(WorkflowInvocation.InvocationConfig.newBuilder().build()) + .setInvocationTiming(Interval.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + WorkflowInvocationName name = + WorkflowInvocationName.of( + "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]"); + + WorkflowInvocation actualResponse = client.getWorkflowInvocation(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getWorkflowInvocationExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + WorkflowInvocationName name = + WorkflowInvocationName.of( + "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]"); + client.getWorkflowInvocation(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getWorkflowInvocationTest2() throws Exception { + WorkflowInvocation expectedResponse = + WorkflowInvocation.newBuilder() + .setName( + WorkflowInvocationName.of( + "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]") + .toString()) + .setCompilationResult( + CompilationResultName.of( + "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[COMPILATION_RESULT]") + .toString()) + .setInvocationConfig(WorkflowInvocation.InvocationConfig.newBuilder().build()) + .setInvocationTiming(Interval.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String name = + "projects/project-2248/locations/location-2248/repositories/repositorie-2248/workflowInvocations/workflowInvocation-2248"; + + WorkflowInvocation actualResponse = client.getWorkflowInvocation(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getWorkflowInvocationExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-2248/locations/location-2248/repositories/repositorie-2248/workflowInvocations/workflowInvocation-2248"; + client.getWorkflowInvocation(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createWorkflowInvocationTest() throws Exception { + WorkflowInvocation expectedResponse = + WorkflowInvocation.newBuilder() + .setName( + WorkflowInvocationName.of( + "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]") + .toString()) + .setCompilationResult( + CompilationResultName.of( + "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[COMPILATION_RESULT]") + .toString()) + .setInvocationConfig(WorkflowInvocation.InvocationConfig.newBuilder().build()) + .setInvocationTiming(Interval.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + RepositoryName parent = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]"); + WorkflowInvocation workflowInvocation = WorkflowInvocation.newBuilder().build(); + + WorkflowInvocation actualResponse = client.createWorkflowInvocation(parent, workflowInvocation); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createWorkflowInvocationExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + RepositoryName parent = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]"); + WorkflowInvocation workflowInvocation = WorkflowInvocation.newBuilder().build(); + client.createWorkflowInvocation(parent, workflowInvocation); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createWorkflowInvocationTest2() throws Exception { + WorkflowInvocation expectedResponse = + WorkflowInvocation.newBuilder() + .setName( + WorkflowInvocationName.of( + "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]") + .toString()) + .setCompilationResult( + CompilationResultName.of( + "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[COMPILATION_RESULT]") + .toString()) + .setInvocationConfig(WorkflowInvocation.InvocationConfig.newBuilder().build()) + .setInvocationTiming(Interval.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-9015/locations/location-9015/repositories/repositorie-9015"; + WorkflowInvocation workflowInvocation = WorkflowInvocation.newBuilder().build(); + + WorkflowInvocation actualResponse = client.createWorkflowInvocation(parent, workflowInvocation); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createWorkflowInvocationExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-9015/locations/location-9015/repositories/repositorie-9015"; + WorkflowInvocation workflowInvocation = WorkflowInvocation.newBuilder().build(); + client.createWorkflowInvocation(parent, workflowInvocation); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteWorkflowInvocationTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + WorkflowInvocationName name = + WorkflowInvocationName.of( + "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]"); + + client.deleteWorkflowInvocation(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteWorkflowInvocationExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + WorkflowInvocationName name = + WorkflowInvocationName.of( + "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]"); + client.deleteWorkflowInvocation(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteWorkflowInvocationTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + String name = + "projects/project-2248/locations/location-2248/repositories/repositorie-2248/workflowInvocations/workflowInvocation-2248"; + + client.deleteWorkflowInvocation(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteWorkflowInvocationExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-2248/locations/location-2248/repositories/repositorie-2248/workflowInvocations/workflowInvocation-2248"; + client.deleteWorkflowInvocation(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void cancelWorkflowInvocationTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + CancelWorkflowInvocationRequest request = + CancelWorkflowInvocationRequest.newBuilder() + .setName( + WorkflowInvocationName.of( + "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]") + .toString()) + .build(); + + client.cancelWorkflowInvocation(request); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void cancelWorkflowInvocationExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + CancelWorkflowInvocationRequest request = + CancelWorkflowInvocationRequest.newBuilder() + .setName( + WorkflowInvocationName.of( + "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]") + .toString()) + .build(); + client.cancelWorkflowInvocation(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void queryWorkflowInvocationActionsTest() throws Exception { + WorkflowInvocationAction responsesElement = WorkflowInvocationAction.newBuilder().build(); + QueryWorkflowInvocationActionsResponse expectedResponse = + QueryWorkflowInvocationActionsResponse.newBuilder() + .setNextPageToken("") + .addAllWorkflowInvocationActions(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + QueryWorkflowInvocationActionsRequest request = + QueryWorkflowInvocationActionsRequest.newBuilder() + .setName( + WorkflowInvocationName.of( + "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]") + .toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + + QueryWorkflowInvocationActionsPagedResponse pagedListResponse = + client.queryWorkflowInvocationActions(request); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals( + expectedResponse.getWorkflowInvocationActionsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void queryWorkflowInvocationActionsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + QueryWorkflowInvocationActionsRequest request = + QueryWorkflowInvocationActionsRequest.newBuilder() + .setName( + WorkflowInvocationName.of( + "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]") + .toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + client.queryWorkflowInvocationActions(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listLocationsTest() throws Exception { + Location responsesElement = Location.newBuilder().build(); + ListLocationsResponse expectedResponse = + ListLocationsResponse.newBuilder() + .setNextPageToken("") + .addAllLocations(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + ListLocationsRequest request = + ListLocationsRequest.newBuilder() + .setName("projects/project-3664") + .setFilter("filter-1274492040") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + + ListLocationsPagedResponse pagedListResponse = client.listLocations(request); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getLocationsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listLocationsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ListLocationsRequest request = + ListLocationsRequest.newBuilder() + .setName("projects/project-3664") + .setFilter("filter-1274492040") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + client.listLocations(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getLocationTest() throws Exception { + Location expectedResponse = + Location.newBuilder() + .setName("name3373707") + .setLocationId("locationId1541836720") + .setDisplayName("displayName1714148973") + .putAllLabels(new HashMap()) + .setMetadata(Any.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + GetLocationRequest request = + GetLocationRequest.newBuilder() + .setName("projects/project-9062/locations/location-9062") + .build(); + + Location actualResponse = client.getLocation(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getLocationExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + GetLocationRequest request = + GetLocationRequest.newBuilder() + .setName("projects/project-9062/locations/location-9062") + .build(); + client.getLocation(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } +} diff --git a/owl-bot-staging/v1beta1/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/DataformClientTest.java b/owl-bot-staging/v1beta1/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/DataformClientTest.java new file mode 100644 index 0000000..6fc77ca --- /dev/null +++ b/owl-bot-staging/v1beta1/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/DataformClientTest.java @@ -0,0 +1,2575 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dataform.v1beta1; + +import static com.google.cloud.dataform.v1beta1.DataformClient.ListCompilationResultsPagedResponse; +import static com.google.cloud.dataform.v1beta1.DataformClient.ListLocationsPagedResponse; +import static com.google.cloud.dataform.v1beta1.DataformClient.ListRepositoriesPagedResponse; +import static com.google.cloud.dataform.v1beta1.DataformClient.ListWorkflowInvocationsPagedResponse; +import static com.google.cloud.dataform.v1beta1.DataformClient.ListWorkspacesPagedResponse; +import static com.google.cloud.dataform.v1beta1.DataformClient.QueryCompilationResultActionsPagedResponse; +import static com.google.cloud.dataform.v1beta1.DataformClient.QueryDirectoryContentsPagedResponse; +import static com.google.cloud.dataform.v1beta1.DataformClient.QueryWorkflowInvocationActionsPagedResponse; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.grpc.GaxGrpcProperties; +import com.google.api.gax.grpc.testing.LocalChannelProvider; +import com.google.api.gax.grpc.testing.MockGrpcService; +import com.google.api.gax.grpc.testing.MockServiceHelper; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.cloud.location.GetLocationRequest; +import com.google.cloud.location.ListLocationsRequest; +import com.google.cloud.location.ListLocationsResponse; +import com.google.cloud.location.Location; +import com.google.common.collect.Lists; +import com.google.protobuf.AbstractMessage; +import com.google.protobuf.Any; +import com.google.protobuf.ByteString; +import com.google.protobuf.Empty; +import com.google.protobuf.FieldMask; +import com.google.type.Interval; +import io.grpc.StatusRuntimeException; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.HashMap; +import java.util.List; +import java.util.UUID; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class DataformClientTest { + private static MockDataform mockDataform; + private static MockIAMPolicy mockIAMPolicy; + private static MockLocations mockLocations; + private static MockServiceHelper mockServiceHelper; + private LocalChannelProvider channelProvider; + private DataformClient client; + + @BeforeClass + public static void startStaticServer() { + mockDataform = new MockDataform(); + mockLocations = new MockLocations(); + mockIAMPolicy = new MockIAMPolicy(); + mockServiceHelper = + new MockServiceHelper( + UUID.randomUUID().toString(), + Arrays.asList(mockDataform, mockLocations, mockIAMPolicy)); + mockServiceHelper.start(); + } + + @AfterClass + public static void stopServer() { + mockServiceHelper.stop(); + } + + @Before + public void setUp() throws IOException { + mockServiceHelper.reset(); + channelProvider = mockServiceHelper.createChannelProvider(); + DataformSettings settings = + DataformSettings.newBuilder() + .setTransportChannelProvider(channelProvider) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = DataformClient.create(settings); + } + + @After + public void tearDown() throws Exception { + client.close(); + } + + @Test + public void listRepositoriesTest() throws Exception { + Repository responsesElement = Repository.newBuilder().build(); + ListRepositoriesResponse expectedResponse = + ListRepositoriesResponse.newBuilder() + .setNextPageToken("") + .addAllRepositories(Arrays.asList(responsesElement)) + .build(); + mockDataform.addResponse(expectedResponse); + + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + + ListRepositoriesPagedResponse pagedListResponse = client.listRepositories(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getRepositoriesList().get(0), resources.get(0)); + + List actualRequests = mockDataform.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListRepositoriesRequest actualRequest = ((ListRepositoriesRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listRepositoriesExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataform.addException(exception); + + try { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + client.listRepositories(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listRepositoriesTest2() throws Exception { + Repository responsesElement = Repository.newBuilder().build(); + ListRepositoriesResponse expectedResponse = + ListRepositoriesResponse.newBuilder() + .setNextPageToken("") + .addAllRepositories(Arrays.asList(responsesElement)) + .build(); + mockDataform.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListRepositoriesPagedResponse pagedListResponse = client.listRepositories(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getRepositoriesList().get(0), resources.get(0)); + + List actualRequests = mockDataform.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListRepositoriesRequest actualRequest = ((ListRepositoriesRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listRepositoriesExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataform.addException(exception); + + try { + String parent = "parent-995424086"; + client.listRepositories(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getRepositoryTest() throws Exception { + Repository expectedResponse = + Repository.newBuilder() + .setName(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) + .setGitRemoteSettings(Repository.GitRemoteSettings.newBuilder().build()) + .build(); + mockDataform.addResponse(expectedResponse); + + RepositoryName name = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]"); + + Repository actualResponse = client.getRepository(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDataform.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetRepositoryRequest actualRequest = ((GetRepositoryRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getRepositoryExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataform.addException(exception); + + try { + RepositoryName name = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]"); + client.getRepository(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getRepositoryTest2() throws Exception { + Repository expectedResponse = + Repository.newBuilder() + .setName(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) + .setGitRemoteSettings(Repository.GitRemoteSettings.newBuilder().build()) + .build(); + mockDataform.addResponse(expectedResponse); + + String name = "name3373707"; + + Repository actualResponse = client.getRepository(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDataform.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetRepositoryRequest actualRequest = ((GetRepositoryRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getRepositoryExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataform.addException(exception); + + try { + String name = "name3373707"; + client.getRepository(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createRepositoryTest() throws Exception { + Repository expectedResponse = + Repository.newBuilder() + .setName(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) + .setGitRemoteSettings(Repository.GitRemoteSettings.newBuilder().build()) + .build(); + mockDataform.addResponse(expectedResponse); + + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + Repository repository = Repository.newBuilder().build(); + String repositoryId = "repositoryId2113747461"; + + Repository actualResponse = client.createRepository(parent, repository, repositoryId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDataform.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateRepositoryRequest actualRequest = ((CreateRepositoryRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(repository, actualRequest.getRepository()); + Assert.assertEquals(repositoryId, actualRequest.getRepositoryId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createRepositoryExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataform.addException(exception); + + try { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + Repository repository = Repository.newBuilder().build(); + String repositoryId = "repositoryId2113747461"; + client.createRepository(parent, repository, repositoryId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createRepositoryTest2() throws Exception { + Repository expectedResponse = + Repository.newBuilder() + .setName(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) + .setGitRemoteSettings(Repository.GitRemoteSettings.newBuilder().build()) + .build(); + mockDataform.addResponse(expectedResponse); + + String parent = "parent-995424086"; + Repository repository = Repository.newBuilder().build(); + String repositoryId = "repositoryId2113747461"; + + Repository actualResponse = client.createRepository(parent, repository, repositoryId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDataform.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateRepositoryRequest actualRequest = ((CreateRepositoryRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(repository, actualRequest.getRepository()); + Assert.assertEquals(repositoryId, actualRequest.getRepositoryId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createRepositoryExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataform.addException(exception); + + try { + String parent = "parent-995424086"; + Repository repository = Repository.newBuilder().build(); + String repositoryId = "repositoryId2113747461"; + client.createRepository(parent, repository, repositoryId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void updateRepositoryTest() throws Exception { + Repository expectedResponse = + Repository.newBuilder() + .setName(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) + .setGitRemoteSettings(Repository.GitRemoteSettings.newBuilder().build()) + .build(); + mockDataform.addResponse(expectedResponse); + + Repository repository = Repository.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + Repository actualResponse = client.updateRepository(repository, updateMask); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDataform.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + UpdateRepositoryRequest actualRequest = ((UpdateRepositoryRequest) actualRequests.get(0)); + + Assert.assertEquals(repository, actualRequest.getRepository()); + Assert.assertEquals(updateMask, actualRequest.getUpdateMask()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void updateRepositoryExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataform.addException(exception); + + try { + Repository repository = Repository.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.updateRepository(repository, updateMask); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteRepositoryTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockDataform.addResponse(expectedResponse); + + RepositoryName name = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]"); + + client.deleteRepository(name); + + List actualRequests = mockDataform.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteRepositoryRequest actualRequest = ((DeleteRepositoryRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteRepositoryExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataform.addException(exception); + + try { + RepositoryName name = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]"); + client.deleteRepository(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteRepositoryTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockDataform.addResponse(expectedResponse); + + String name = "name3373707"; + + client.deleteRepository(name); + + List actualRequests = mockDataform.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteRepositoryRequest actualRequest = ((DeleteRepositoryRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteRepositoryExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataform.addException(exception); + + try { + String name = "name3373707"; + client.deleteRepository(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void fetchRemoteBranchesTest() throws Exception { + FetchRemoteBranchesResponse expectedResponse = + FetchRemoteBranchesResponse.newBuilder().addAllBranches(new ArrayList()).build(); + mockDataform.addResponse(expectedResponse); + + FetchRemoteBranchesRequest request = + FetchRemoteBranchesRequest.newBuilder() + .setName(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) + .build(); + + FetchRemoteBranchesResponse actualResponse = client.fetchRemoteBranches(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDataform.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + FetchRemoteBranchesRequest actualRequest = ((FetchRemoteBranchesRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getName(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void fetchRemoteBranchesExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataform.addException(exception); + + try { + FetchRemoteBranchesRequest request = + FetchRemoteBranchesRequest.newBuilder() + .setName(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) + .build(); + client.fetchRemoteBranches(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listWorkspacesTest() throws Exception { + Workspace responsesElement = Workspace.newBuilder().build(); + ListWorkspacesResponse expectedResponse = + ListWorkspacesResponse.newBuilder() + .setNextPageToken("") + .addAllWorkspaces(Arrays.asList(responsesElement)) + .build(); + mockDataform.addResponse(expectedResponse); + + RepositoryName parent = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]"); + + ListWorkspacesPagedResponse pagedListResponse = client.listWorkspaces(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getWorkspacesList().get(0), resources.get(0)); + + List actualRequests = mockDataform.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListWorkspacesRequest actualRequest = ((ListWorkspacesRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listWorkspacesExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataform.addException(exception); + + try { + RepositoryName parent = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]"); + client.listWorkspaces(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listWorkspacesTest2() throws Exception { + Workspace responsesElement = Workspace.newBuilder().build(); + ListWorkspacesResponse expectedResponse = + ListWorkspacesResponse.newBuilder() + .setNextPageToken("") + .addAllWorkspaces(Arrays.asList(responsesElement)) + .build(); + mockDataform.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListWorkspacesPagedResponse pagedListResponse = client.listWorkspaces(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getWorkspacesList().get(0), resources.get(0)); + + List actualRequests = mockDataform.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListWorkspacesRequest actualRequest = ((ListWorkspacesRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listWorkspacesExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataform.addException(exception); + + try { + String parent = "parent-995424086"; + client.listWorkspaces(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getWorkspaceTest() throws Exception { + Workspace expectedResponse = + Workspace.newBuilder() + .setName( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .build(); + mockDataform.addResponse(expectedResponse); + + WorkspaceName name = WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"); + + Workspace actualResponse = client.getWorkspace(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDataform.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetWorkspaceRequest actualRequest = ((GetWorkspaceRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getWorkspaceExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataform.addException(exception); + + try { + WorkspaceName name = + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"); + client.getWorkspace(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getWorkspaceTest2() throws Exception { + Workspace expectedResponse = + Workspace.newBuilder() + .setName( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .build(); + mockDataform.addResponse(expectedResponse); + + String name = "name3373707"; + + Workspace actualResponse = client.getWorkspace(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDataform.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetWorkspaceRequest actualRequest = ((GetWorkspaceRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getWorkspaceExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataform.addException(exception); + + try { + String name = "name3373707"; + client.getWorkspace(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createWorkspaceTest() throws Exception { + Workspace expectedResponse = + Workspace.newBuilder() + .setName( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .build(); + mockDataform.addResponse(expectedResponse); + + RepositoryName parent = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]"); + Workspace workspace = Workspace.newBuilder().build(); + String workspaceId = "workspaceId466560144"; + + Workspace actualResponse = client.createWorkspace(parent, workspace, workspaceId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDataform.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateWorkspaceRequest actualRequest = ((CreateWorkspaceRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(workspace, actualRequest.getWorkspace()); + Assert.assertEquals(workspaceId, actualRequest.getWorkspaceId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createWorkspaceExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataform.addException(exception); + + try { + RepositoryName parent = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]"); + Workspace workspace = Workspace.newBuilder().build(); + String workspaceId = "workspaceId466560144"; + client.createWorkspace(parent, workspace, workspaceId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createWorkspaceTest2() throws Exception { + Workspace expectedResponse = + Workspace.newBuilder() + .setName( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .build(); + mockDataform.addResponse(expectedResponse); + + String parent = "parent-995424086"; + Workspace workspace = Workspace.newBuilder().build(); + String workspaceId = "workspaceId466560144"; + + Workspace actualResponse = client.createWorkspace(parent, workspace, workspaceId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDataform.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateWorkspaceRequest actualRequest = ((CreateWorkspaceRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(workspace, actualRequest.getWorkspace()); + Assert.assertEquals(workspaceId, actualRequest.getWorkspaceId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createWorkspaceExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataform.addException(exception); + + try { + String parent = "parent-995424086"; + Workspace workspace = Workspace.newBuilder().build(); + String workspaceId = "workspaceId466560144"; + client.createWorkspace(parent, workspace, workspaceId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteWorkspaceTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockDataform.addResponse(expectedResponse); + + WorkspaceName name = WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"); + + client.deleteWorkspace(name); + + List actualRequests = mockDataform.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteWorkspaceRequest actualRequest = ((DeleteWorkspaceRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteWorkspaceExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataform.addException(exception); + + try { + WorkspaceName name = + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"); + client.deleteWorkspace(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteWorkspaceTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockDataform.addResponse(expectedResponse); + + String name = "name3373707"; + + client.deleteWorkspace(name); + + List actualRequests = mockDataform.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteWorkspaceRequest actualRequest = ((DeleteWorkspaceRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteWorkspaceExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataform.addException(exception); + + try { + String name = "name3373707"; + client.deleteWorkspace(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void installNpmPackagesTest() throws Exception { + InstallNpmPackagesResponse expectedResponse = InstallNpmPackagesResponse.newBuilder().build(); + mockDataform.addResponse(expectedResponse); + + InstallNpmPackagesRequest request = + InstallNpmPackagesRequest.newBuilder() + .setWorkspace( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .build(); + + InstallNpmPackagesResponse actualResponse = client.installNpmPackages(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDataform.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + InstallNpmPackagesRequest actualRequest = ((InstallNpmPackagesRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getWorkspace(), actualRequest.getWorkspace()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void installNpmPackagesExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataform.addException(exception); + + try { + InstallNpmPackagesRequest request = + InstallNpmPackagesRequest.newBuilder() + .setWorkspace( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .build(); + client.installNpmPackages(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void pullGitCommitsTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockDataform.addResponse(expectedResponse); + + PullGitCommitsRequest request = + PullGitCommitsRequest.newBuilder() + .setName( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .setRemoteBranch("remoteBranch-533119608") + .setAuthor(CommitAuthor.newBuilder().build()) + .build(); + + client.pullGitCommits(request); + + List actualRequests = mockDataform.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + PullGitCommitsRequest actualRequest = ((PullGitCommitsRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getName(), actualRequest.getName()); + Assert.assertEquals(request.getRemoteBranch(), actualRequest.getRemoteBranch()); + Assert.assertEquals(request.getAuthor(), actualRequest.getAuthor()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void pullGitCommitsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataform.addException(exception); + + try { + PullGitCommitsRequest request = + PullGitCommitsRequest.newBuilder() + .setName( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .setRemoteBranch("remoteBranch-533119608") + .setAuthor(CommitAuthor.newBuilder().build()) + .build(); + client.pullGitCommits(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void pushGitCommitsTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockDataform.addResponse(expectedResponse); + + PushGitCommitsRequest request = + PushGitCommitsRequest.newBuilder() + .setName( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .setRemoteBranch("remoteBranch-533119608") + .build(); + + client.pushGitCommits(request); + + List actualRequests = mockDataform.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + PushGitCommitsRequest actualRequest = ((PushGitCommitsRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getName(), actualRequest.getName()); + Assert.assertEquals(request.getRemoteBranch(), actualRequest.getRemoteBranch()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void pushGitCommitsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataform.addException(exception); + + try { + PushGitCommitsRequest request = + PushGitCommitsRequest.newBuilder() + .setName( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .setRemoteBranch("remoteBranch-533119608") + .build(); + client.pushGitCommits(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void fetchFileGitStatusesTest() throws Exception { + FetchFileGitStatusesResponse expectedResponse = + FetchFileGitStatusesResponse.newBuilder() + .addAllUncommittedFileChanges( + new ArrayList()) + .build(); + mockDataform.addResponse(expectedResponse); + + FetchFileGitStatusesRequest request = + FetchFileGitStatusesRequest.newBuilder() + .setName( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .build(); + + FetchFileGitStatusesResponse actualResponse = client.fetchFileGitStatuses(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDataform.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + FetchFileGitStatusesRequest actualRequest = + ((FetchFileGitStatusesRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getName(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void fetchFileGitStatusesExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataform.addException(exception); + + try { + FetchFileGitStatusesRequest request = + FetchFileGitStatusesRequest.newBuilder() + .setName( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .build(); + client.fetchFileGitStatuses(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void fetchGitAheadBehindTest() throws Exception { + FetchGitAheadBehindResponse expectedResponse = + FetchGitAheadBehindResponse.newBuilder() + .setCommitsAhead(1216483806) + .setCommitsBehind(-917751619) + .build(); + mockDataform.addResponse(expectedResponse); + + FetchGitAheadBehindRequest request = + FetchGitAheadBehindRequest.newBuilder() + .setName( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .setRemoteBranch("remoteBranch-533119608") + .build(); + + FetchGitAheadBehindResponse actualResponse = client.fetchGitAheadBehind(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDataform.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + FetchGitAheadBehindRequest actualRequest = ((FetchGitAheadBehindRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getName(), actualRequest.getName()); + Assert.assertEquals(request.getRemoteBranch(), actualRequest.getRemoteBranch()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void fetchGitAheadBehindExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataform.addException(exception); + + try { + FetchGitAheadBehindRequest request = + FetchGitAheadBehindRequest.newBuilder() + .setName( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .setRemoteBranch("remoteBranch-533119608") + .build(); + client.fetchGitAheadBehind(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void commitWorkspaceChangesTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockDataform.addResponse(expectedResponse); + + CommitWorkspaceChangesRequest request = + CommitWorkspaceChangesRequest.newBuilder() + .setName( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .setAuthor(CommitAuthor.newBuilder().build()) + .setCommitMessage("commitMessage2039804624") + .addAllPaths(new ArrayList()) + .build(); + + client.commitWorkspaceChanges(request); + + List actualRequests = mockDataform.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CommitWorkspaceChangesRequest actualRequest = + ((CommitWorkspaceChangesRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getName(), actualRequest.getName()); + Assert.assertEquals(request.getAuthor(), actualRequest.getAuthor()); + Assert.assertEquals(request.getCommitMessage(), actualRequest.getCommitMessage()); + Assert.assertEquals(request.getPathsList(), actualRequest.getPathsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void commitWorkspaceChangesExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataform.addException(exception); + + try { + CommitWorkspaceChangesRequest request = + CommitWorkspaceChangesRequest.newBuilder() + .setName( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .setAuthor(CommitAuthor.newBuilder().build()) + .setCommitMessage("commitMessage2039804624") + .addAllPaths(new ArrayList()) + .build(); + client.commitWorkspaceChanges(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void resetWorkspaceChangesTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockDataform.addResponse(expectedResponse); + + ResetWorkspaceChangesRequest request = + ResetWorkspaceChangesRequest.newBuilder() + .setName( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .addAllPaths(new ArrayList()) + .setClean(true) + .build(); + + client.resetWorkspaceChanges(request); + + List actualRequests = mockDataform.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ResetWorkspaceChangesRequest actualRequest = + ((ResetWorkspaceChangesRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getName(), actualRequest.getName()); + Assert.assertEquals(request.getPathsList(), actualRequest.getPathsList()); + Assert.assertEquals(request.getClean(), actualRequest.getClean()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void resetWorkspaceChangesExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataform.addException(exception); + + try { + ResetWorkspaceChangesRequest request = + ResetWorkspaceChangesRequest.newBuilder() + .setName( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .addAllPaths(new ArrayList()) + .setClean(true) + .build(); + client.resetWorkspaceChanges(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void fetchFileDiffTest() throws Exception { + FetchFileDiffResponse expectedResponse = + FetchFileDiffResponse.newBuilder().setFormattedDiff("formattedDiff-1717800223").build(); + mockDataform.addResponse(expectedResponse); + + FetchFileDiffRequest request = + FetchFileDiffRequest.newBuilder() + .setWorkspace( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .setPath("path3433509") + .build(); + + FetchFileDiffResponse actualResponse = client.fetchFileDiff(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDataform.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + FetchFileDiffRequest actualRequest = ((FetchFileDiffRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getWorkspace(), actualRequest.getWorkspace()); + Assert.assertEquals(request.getPath(), actualRequest.getPath()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void fetchFileDiffExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataform.addException(exception); + + try { + FetchFileDiffRequest request = + FetchFileDiffRequest.newBuilder() + .setWorkspace( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .setPath("path3433509") + .build(); + client.fetchFileDiff(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void queryDirectoryContentsTest() throws Exception { + QueryDirectoryContentsResponse.DirectoryEntry responsesElement = + QueryDirectoryContentsResponse.DirectoryEntry.newBuilder().build(); + QueryDirectoryContentsResponse expectedResponse = + QueryDirectoryContentsResponse.newBuilder() + .setNextPageToken("") + .addAllDirectoryEntries(Arrays.asList(responsesElement)) + .build(); + mockDataform.addResponse(expectedResponse); + + QueryDirectoryContentsRequest request = + QueryDirectoryContentsRequest.newBuilder() + .setWorkspace( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .setPath("path3433509") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + + QueryDirectoryContentsPagedResponse pagedListResponse = client.queryDirectoryContents(request); + + List resources = + Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getDirectoryEntriesList().get(0), resources.get(0)); + + List actualRequests = mockDataform.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + QueryDirectoryContentsRequest actualRequest = + ((QueryDirectoryContentsRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getWorkspace(), actualRequest.getWorkspace()); + Assert.assertEquals(request.getPath(), actualRequest.getPath()); + Assert.assertEquals(request.getPageSize(), actualRequest.getPageSize()); + Assert.assertEquals(request.getPageToken(), actualRequest.getPageToken()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void queryDirectoryContentsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataform.addException(exception); + + try { + QueryDirectoryContentsRequest request = + QueryDirectoryContentsRequest.newBuilder() + .setWorkspace( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .setPath("path3433509") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + client.queryDirectoryContents(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void makeDirectoryTest() throws Exception { + MakeDirectoryResponse expectedResponse = MakeDirectoryResponse.newBuilder().build(); + mockDataform.addResponse(expectedResponse); + + MakeDirectoryRequest request = + MakeDirectoryRequest.newBuilder() + .setWorkspace( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .setPath("path3433509") + .build(); + + MakeDirectoryResponse actualResponse = client.makeDirectory(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDataform.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + MakeDirectoryRequest actualRequest = ((MakeDirectoryRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getWorkspace(), actualRequest.getWorkspace()); + Assert.assertEquals(request.getPath(), actualRequest.getPath()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void makeDirectoryExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataform.addException(exception); + + try { + MakeDirectoryRequest request = + MakeDirectoryRequest.newBuilder() + .setWorkspace( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .setPath("path3433509") + .build(); + client.makeDirectory(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void removeDirectoryTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockDataform.addResponse(expectedResponse); + + RemoveDirectoryRequest request = + RemoveDirectoryRequest.newBuilder() + .setWorkspace( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .setPath("path3433509") + .build(); + + client.removeDirectory(request); + + List actualRequests = mockDataform.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + RemoveDirectoryRequest actualRequest = ((RemoveDirectoryRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getWorkspace(), actualRequest.getWorkspace()); + Assert.assertEquals(request.getPath(), actualRequest.getPath()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void removeDirectoryExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataform.addException(exception); + + try { + RemoveDirectoryRequest request = + RemoveDirectoryRequest.newBuilder() + .setWorkspace( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .setPath("path3433509") + .build(); + client.removeDirectory(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void moveDirectoryTest() throws Exception { + MoveDirectoryResponse expectedResponse = MoveDirectoryResponse.newBuilder().build(); + mockDataform.addResponse(expectedResponse); + + MoveDirectoryRequest request = + MoveDirectoryRequest.newBuilder() + .setWorkspace( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .setPath("path3433509") + .setNewPath("newPath1845080549") + .build(); + + MoveDirectoryResponse actualResponse = client.moveDirectory(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDataform.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + MoveDirectoryRequest actualRequest = ((MoveDirectoryRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getWorkspace(), actualRequest.getWorkspace()); + Assert.assertEquals(request.getPath(), actualRequest.getPath()); + Assert.assertEquals(request.getNewPath(), actualRequest.getNewPath()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void moveDirectoryExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataform.addException(exception); + + try { + MoveDirectoryRequest request = + MoveDirectoryRequest.newBuilder() + .setWorkspace( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .setPath("path3433509") + .setNewPath("newPath1845080549") + .build(); + client.moveDirectory(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void readFileTest() throws Exception { + ReadFileResponse expectedResponse = + ReadFileResponse.newBuilder().setFileContents(ByteString.EMPTY).build(); + mockDataform.addResponse(expectedResponse); + + ReadFileRequest request = + ReadFileRequest.newBuilder() + .setWorkspace( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .setPath("path3433509") + .build(); + + ReadFileResponse actualResponse = client.readFile(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDataform.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ReadFileRequest actualRequest = ((ReadFileRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getWorkspace(), actualRequest.getWorkspace()); + Assert.assertEquals(request.getPath(), actualRequest.getPath()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void readFileExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataform.addException(exception); + + try { + ReadFileRequest request = + ReadFileRequest.newBuilder() + .setWorkspace( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .setPath("path3433509") + .build(); + client.readFile(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void removeFileTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockDataform.addResponse(expectedResponse); + + RemoveFileRequest request = + RemoveFileRequest.newBuilder() + .setWorkspace( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .setPath("path3433509") + .build(); + + client.removeFile(request); + + List actualRequests = mockDataform.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + RemoveFileRequest actualRequest = ((RemoveFileRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getWorkspace(), actualRequest.getWorkspace()); + Assert.assertEquals(request.getPath(), actualRequest.getPath()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void removeFileExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataform.addException(exception); + + try { + RemoveFileRequest request = + RemoveFileRequest.newBuilder() + .setWorkspace( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .setPath("path3433509") + .build(); + client.removeFile(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void moveFileTest() throws Exception { + MoveFileResponse expectedResponse = MoveFileResponse.newBuilder().build(); + mockDataform.addResponse(expectedResponse); + + MoveFileRequest request = + MoveFileRequest.newBuilder() + .setWorkspace( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .setPath("path3433509") + .setNewPath("newPath1845080549") + .build(); + + MoveFileResponse actualResponse = client.moveFile(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDataform.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + MoveFileRequest actualRequest = ((MoveFileRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getWorkspace(), actualRequest.getWorkspace()); + Assert.assertEquals(request.getPath(), actualRequest.getPath()); + Assert.assertEquals(request.getNewPath(), actualRequest.getNewPath()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void moveFileExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataform.addException(exception); + + try { + MoveFileRequest request = + MoveFileRequest.newBuilder() + .setWorkspace( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .setPath("path3433509") + .setNewPath("newPath1845080549") + .build(); + client.moveFile(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void writeFileTest() throws Exception { + WriteFileResponse expectedResponse = WriteFileResponse.newBuilder().build(); + mockDataform.addResponse(expectedResponse); + + WriteFileRequest request = + WriteFileRequest.newBuilder() + .setWorkspace( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .setPath("path3433509") + .setContents(ByteString.EMPTY) + .build(); + + WriteFileResponse actualResponse = client.writeFile(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDataform.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + WriteFileRequest actualRequest = ((WriteFileRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getWorkspace(), actualRequest.getWorkspace()); + Assert.assertEquals(request.getPath(), actualRequest.getPath()); + Assert.assertEquals(request.getContents(), actualRequest.getContents()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void writeFileExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataform.addException(exception); + + try { + WriteFileRequest request = + WriteFileRequest.newBuilder() + .setWorkspace( + WorkspaceName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]") + .toString()) + .setPath("path3433509") + .setContents(ByteString.EMPTY) + .build(); + client.writeFile(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listCompilationResultsTest() throws Exception { + CompilationResult responsesElement = CompilationResult.newBuilder().build(); + ListCompilationResultsResponse expectedResponse = + ListCompilationResultsResponse.newBuilder() + .setNextPageToken("") + .addAllCompilationResults(Arrays.asList(responsesElement)) + .build(); + mockDataform.addResponse(expectedResponse); + + RepositoryName parent = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]"); + + ListCompilationResultsPagedResponse pagedListResponse = client.listCompilationResults(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getCompilationResultsList().get(0), resources.get(0)); + + List actualRequests = mockDataform.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListCompilationResultsRequest actualRequest = + ((ListCompilationResultsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listCompilationResultsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataform.addException(exception); + + try { + RepositoryName parent = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]"); + client.listCompilationResults(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listCompilationResultsTest2() throws Exception { + CompilationResult responsesElement = CompilationResult.newBuilder().build(); + ListCompilationResultsResponse expectedResponse = + ListCompilationResultsResponse.newBuilder() + .setNextPageToken("") + .addAllCompilationResults(Arrays.asList(responsesElement)) + .build(); + mockDataform.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListCompilationResultsPagedResponse pagedListResponse = client.listCompilationResults(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getCompilationResultsList().get(0), resources.get(0)); + + List actualRequests = mockDataform.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListCompilationResultsRequest actualRequest = + ((ListCompilationResultsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listCompilationResultsExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataform.addException(exception); + + try { + String parent = "parent-995424086"; + client.listCompilationResults(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getCompilationResultTest() throws Exception { + CompilationResult expectedResponse = + CompilationResult.newBuilder() + .setName( + CompilationResultName.of( + "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[COMPILATION_RESULT]") + .toString()) + .setCodeCompilationConfig(CompilationResult.CodeCompilationConfig.newBuilder().build()) + .setDataformCoreVersion("dataformCoreVersion1859535851") + .addAllCompilationErrors(new ArrayList()) + .build(); + mockDataform.addResponse(expectedResponse); + + CompilationResultName name = + CompilationResultName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[COMPILATION_RESULT]"); + + CompilationResult actualResponse = client.getCompilationResult(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDataform.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetCompilationResultRequest actualRequest = + ((GetCompilationResultRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getCompilationResultExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataform.addException(exception); + + try { + CompilationResultName name = + CompilationResultName.of( + "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[COMPILATION_RESULT]"); + client.getCompilationResult(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getCompilationResultTest2() throws Exception { + CompilationResult expectedResponse = + CompilationResult.newBuilder() + .setName( + CompilationResultName.of( + "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[COMPILATION_RESULT]") + .toString()) + .setCodeCompilationConfig(CompilationResult.CodeCompilationConfig.newBuilder().build()) + .setDataformCoreVersion("dataformCoreVersion1859535851") + .addAllCompilationErrors(new ArrayList()) + .build(); + mockDataform.addResponse(expectedResponse); + + String name = "name3373707"; + + CompilationResult actualResponse = client.getCompilationResult(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDataform.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetCompilationResultRequest actualRequest = + ((GetCompilationResultRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getCompilationResultExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataform.addException(exception); + + try { + String name = "name3373707"; + client.getCompilationResult(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createCompilationResultTest() throws Exception { + CompilationResult expectedResponse = + CompilationResult.newBuilder() + .setName( + CompilationResultName.of( + "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[COMPILATION_RESULT]") + .toString()) + .setCodeCompilationConfig(CompilationResult.CodeCompilationConfig.newBuilder().build()) + .setDataformCoreVersion("dataformCoreVersion1859535851") + .addAllCompilationErrors(new ArrayList()) + .build(); + mockDataform.addResponse(expectedResponse); + + RepositoryName parent = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]"); + CompilationResult compilationResult = CompilationResult.newBuilder().build(); + + CompilationResult actualResponse = client.createCompilationResult(parent, compilationResult); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDataform.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateCompilationResultRequest actualRequest = + ((CreateCompilationResultRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(compilationResult, actualRequest.getCompilationResult()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createCompilationResultExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataform.addException(exception); + + try { + RepositoryName parent = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]"); + CompilationResult compilationResult = CompilationResult.newBuilder().build(); + client.createCompilationResult(parent, compilationResult); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createCompilationResultTest2() throws Exception { + CompilationResult expectedResponse = + CompilationResult.newBuilder() + .setName( + CompilationResultName.of( + "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[COMPILATION_RESULT]") + .toString()) + .setCodeCompilationConfig(CompilationResult.CodeCompilationConfig.newBuilder().build()) + .setDataformCoreVersion("dataformCoreVersion1859535851") + .addAllCompilationErrors(new ArrayList()) + .build(); + mockDataform.addResponse(expectedResponse); + + String parent = "parent-995424086"; + CompilationResult compilationResult = CompilationResult.newBuilder().build(); + + CompilationResult actualResponse = client.createCompilationResult(parent, compilationResult); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDataform.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateCompilationResultRequest actualRequest = + ((CreateCompilationResultRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(compilationResult, actualRequest.getCompilationResult()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createCompilationResultExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataform.addException(exception); + + try { + String parent = "parent-995424086"; + CompilationResult compilationResult = CompilationResult.newBuilder().build(); + client.createCompilationResult(parent, compilationResult); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void queryCompilationResultActionsTest() throws Exception { + CompilationResultAction responsesElement = CompilationResultAction.newBuilder().build(); + QueryCompilationResultActionsResponse expectedResponse = + QueryCompilationResultActionsResponse.newBuilder() + .setNextPageToken("") + .addAllCompilationResultActions(Arrays.asList(responsesElement)) + .build(); + mockDataform.addResponse(expectedResponse); + + QueryCompilationResultActionsRequest request = + QueryCompilationResultActionsRequest.newBuilder() + .setName( + CompilationResultName.of( + "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[COMPILATION_RESULT]") + .toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .setFilter("filter-1274492040") + .build(); + + QueryCompilationResultActionsPagedResponse pagedListResponse = + client.queryCompilationResultActions(request); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals( + expectedResponse.getCompilationResultActionsList().get(0), resources.get(0)); + + List actualRequests = mockDataform.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + QueryCompilationResultActionsRequest actualRequest = + ((QueryCompilationResultActionsRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getName(), actualRequest.getName()); + Assert.assertEquals(request.getPageSize(), actualRequest.getPageSize()); + Assert.assertEquals(request.getPageToken(), actualRequest.getPageToken()); + Assert.assertEquals(request.getFilter(), actualRequest.getFilter()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void queryCompilationResultActionsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataform.addException(exception); + + try { + QueryCompilationResultActionsRequest request = + QueryCompilationResultActionsRequest.newBuilder() + .setName( + CompilationResultName.of( + "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[COMPILATION_RESULT]") + .toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .setFilter("filter-1274492040") + .build(); + client.queryCompilationResultActions(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listWorkflowInvocationsTest() throws Exception { + WorkflowInvocation responsesElement = WorkflowInvocation.newBuilder().build(); + ListWorkflowInvocationsResponse expectedResponse = + ListWorkflowInvocationsResponse.newBuilder() + .setNextPageToken("") + .addAllWorkflowInvocations(Arrays.asList(responsesElement)) + .build(); + mockDataform.addResponse(expectedResponse); + + RepositoryName parent = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]"); + + ListWorkflowInvocationsPagedResponse pagedListResponse = client.listWorkflowInvocations(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getWorkflowInvocationsList().get(0), resources.get(0)); + + List actualRequests = mockDataform.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListWorkflowInvocationsRequest actualRequest = + ((ListWorkflowInvocationsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listWorkflowInvocationsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataform.addException(exception); + + try { + RepositoryName parent = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]"); + client.listWorkflowInvocations(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listWorkflowInvocationsTest2() throws Exception { + WorkflowInvocation responsesElement = WorkflowInvocation.newBuilder().build(); + ListWorkflowInvocationsResponse expectedResponse = + ListWorkflowInvocationsResponse.newBuilder() + .setNextPageToken("") + .addAllWorkflowInvocations(Arrays.asList(responsesElement)) + .build(); + mockDataform.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListWorkflowInvocationsPagedResponse pagedListResponse = client.listWorkflowInvocations(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getWorkflowInvocationsList().get(0), resources.get(0)); + + List actualRequests = mockDataform.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListWorkflowInvocationsRequest actualRequest = + ((ListWorkflowInvocationsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listWorkflowInvocationsExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataform.addException(exception); + + try { + String parent = "parent-995424086"; + client.listWorkflowInvocations(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getWorkflowInvocationTest() throws Exception { + WorkflowInvocation expectedResponse = + WorkflowInvocation.newBuilder() + .setName( + WorkflowInvocationName.of( + "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]") + .toString()) + .setCompilationResult( + CompilationResultName.of( + "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[COMPILATION_RESULT]") + .toString()) + .setInvocationConfig(WorkflowInvocation.InvocationConfig.newBuilder().build()) + .setInvocationTiming(Interval.newBuilder().build()) + .build(); + mockDataform.addResponse(expectedResponse); + + WorkflowInvocationName name = + WorkflowInvocationName.of( + "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]"); + + WorkflowInvocation actualResponse = client.getWorkflowInvocation(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDataform.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetWorkflowInvocationRequest actualRequest = + ((GetWorkflowInvocationRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getWorkflowInvocationExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataform.addException(exception); + + try { + WorkflowInvocationName name = + WorkflowInvocationName.of( + "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]"); + client.getWorkflowInvocation(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getWorkflowInvocationTest2() throws Exception { + WorkflowInvocation expectedResponse = + WorkflowInvocation.newBuilder() + .setName( + WorkflowInvocationName.of( + "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]") + .toString()) + .setCompilationResult( + CompilationResultName.of( + "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[COMPILATION_RESULT]") + .toString()) + .setInvocationConfig(WorkflowInvocation.InvocationConfig.newBuilder().build()) + .setInvocationTiming(Interval.newBuilder().build()) + .build(); + mockDataform.addResponse(expectedResponse); + + String name = "name3373707"; + + WorkflowInvocation actualResponse = client.getWorkflowInvocation(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDataform.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetWorkflowInvocationRequest actualRequest = + ((GetWorkflowInvocationRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getWorkflowInvocationExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataform.addException(exception); + + try { + String name = "name3373707"; + client.getWorkflowInvocation(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createWorkflowInvocationTest() throws Exception { + WorkflowInvocation expectedResponse = + WorkflowInvocation.newBuilder() + .setName( + WorkflowInvocationName.of( + "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]") + .toString()) + .setCompilationResult( + CompilationResultName.of( + "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[COMPILATION_RESULT]") + .toString()) + .setInvocationConfig(WorkflowInvocation.InvocationConfig.newBuilder().build()) + .setInvocationTiming(Interval.newBuilder().build()) + .build(); + mockDataform.addResponse(expectedResponse); + + RepositoryName parent = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]"); + WorkflowInvocation workflowInvocation = WorkflowInvocation.newBuilder().build(); + + WorkflowInvocation actualResponse = client.createWorkflowInvocation(parent, workflowInvocation); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDataform.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateWorkflowInvocationRequest actualRequest = + ((CreateWorkflowInvocationRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(workflowInvocation, actualRequest.getWorkflowInvocation()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createWorkflowInvocationExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataform.addException(exception); + + try { + RepositoryName parent = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]"); + WorkflowInvocation workflowInvocation = WorkflowInvocation.newBuilder().build(); + client.createWorkflowInvocation(parent, workflowInvocation); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createWorkflowInvocationTest2() throws Exception { + WorkflowInvocation expectedResponse = + WorkflowInvocation.newBuilder() + .setName( + WorkflowInvocationName.of( + "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]") + .toString()) + .setCompilationResult( + CompilationResultName.of( + "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[COMPILATION_RESULT]") + .toString()) + .setInvocationConfig(WorkflowInvocation.InvocationConfig.newBuilder().build()) + .setInvocationTiming(Interval.newBuilder().build()) + .build(); + mockDataform.addResponse(expectedResponse); + + String parent = "parent-995424086"; + WorkflowInvocation workflowInvocation = WorkflowInvocation.newBuilder().build(); + + WorkflowInvocation actualResponse = client.createWorkflowInvocation(parent, workflowInvocation); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDataform.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateWorkflowInvocationRequest actualRequest = + ((CreateWorkflowInvocationRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(workflowInvocation, actualRequest.getWorkflowInvocation()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createWorkflowInvocationExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataform.addException(exception); + + try { + String parent = "parent-995424086"; + WorkflowInvocation workflowInvocation = WorkflowInvocation.newBuilder().build(); + client.createWorkflowInvocation(parent, workflowInvocation); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteWorkflowInvocationTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockDataform.addResponse(expectedResponse); + + WorkflowInvocationName name = + WorkflowInvocationName.of( + "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]"); + + client.deleteWorkflowInvocation(name); + + List actualRequests = mockDataform.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteWorkflowInvocationRequest actualRequest = + ((DeleteWorkflowInvocationRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteWorkflowInvocationExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataform.addException(exception); + + try { + WorkflowInvocationName name = + WorkflowInvocationName.of( + "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]"); + client.deleteWorkflowInvocation(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteWorkflowInvocationTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockDataform.addResponse(expectedResponse); + + String name = "name3373707"; + + client.deleteWorkflowInvocation(name); + + List actualRequests = mockDataform.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteWorkflowInvocationRequest actualRequest = + ((DeleteWorkflowInvocationRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteWorkflowInvocationExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataform.addException(exception); + + try { + String name = "name3373707"; + client.deleteWorkflowInvocation(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void cancelWorkflowInvocationTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockDataform.addResponse(expectedResponse); + + CancelWorkflowInvocationRequest request = + CancelWorkflowInvocationRequest.newBuilder() + .setName( + WorkflowInvocationName.of( + "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]") + .toString()) + .build(); + + client.cancelWorkflowInvocation(request); + + List actualRequests = mockDataform.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CancelWorkflowInvocationRequest actualRequest = + ((CancelWorkflowInvocationRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getName(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void cancelWorkflowInvocationExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataform.addException(exception); + + try { + CancelWorkflowInvocationRequest request = + CancelWorkflowInvocationRequest.newBuilder() + .setName( + WorkflowInvocationName.of( + "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]") + .toString()) + .build(); + client.cancelWorkflowInvocation(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void queryWorkflowInvocationActionsTest() throws Exception { + WorkflowInvocationAction responsesElement = WorkflowInvocationAction.newBuilder().build(); + QueryWorkflowInvocationActionsResponse expectedResponse = + QueryWorkflowInvocationActionsResponse.newBuilder() + .setNextPageToken("") + .addAllWorkflowInvocationActions(Arrays.asList(responsesElement)) + .build(); + mockDataform.addResponse(expectedResponse); + + QueryWorkflowInvocationActionsRequest request = + QueryWorkflowInvocationActionsRequest.newBuilder() + .setName( + WorkflowInvocationName.of( + "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]") + .toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + + QueryWorkflowInvocationActionsPagedResponse pagedListResponse = + client.queryWorkflowInvocationActions(request); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals( + expectedResponse.getWorkflowInvocationActionsList().get(0), resources.get(0)); + + List actualRequests = mockDataform.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + QueryWorkflowInvocationActionsRequest actualRequest = + ((QueryWorkflowInvocationActionsRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getName(), actualRequest.getName()); + Assert.assertEquals(request.getPageSize(), actualRequest.getPageSize()); + Assert.assertEquals(request.getPageToken(), actualRequest.getPageToken()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void queryWorkflowInvocationActionsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDataform.addException(exception); + + try { + QueryWorkflowInvocationActionsRequest request = + QueryWorkflowInvocationActionsRequest.newBuilder() + .setName( + WorkflowInvocationName.of( + "[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]") + .toString()) + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + client.queryWorkflowInvocationActions(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listLocationsTest() throws Exception { + Location responsesElement = Location.newBuilder().build(); + ListLocationsResponse expectedResponse = + ListLocationsResponse.newBuilder() + .setNextPageToken("") + .addAllLocations(Arrays.asList(responsesElement)) + .build(); + mockLocations.addResponse(expectedResponse); + + ListLocationsRequest request = + ListLocationsRequest.newBuilder() + .setName("name3373707") + .setFilter("filter-1274492040") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + + ListLocationsPagedResponse pagedListResponse = client.listLocations(request); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getLocationsList().get(0), resources.get(0)); + + List actualRequests = mockLocations.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListLocationsRequest actualRequest = ((ListLocationsRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getName(), actualRequest.getName()); + Assert.assertEquals(request.getFilter(), actualRequest.getFilter()); + Assert.assertEquals(request.getPageSize(), actualRequest.getPageSize()); + Assert.assertEquals(request.getPageToken(), actualRequest.getPageToken()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listLocationsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockLocations.addException(exception); + + try { + ListLocationsRequest request = + ListLocationsRequest.newBuilder() + .setName("name3373707") + .setFilter("filter-1274492040") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + client.listLocations(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getLocationTest() throws Exception { + Location expectedResponse = + Location.newBuilder() + .setName("name3373707") + .setLocationId("locationId1541836720") + .setDisplayName("displayName1714148973") + .putAllLabels(new HashMap()) + .setMetadata(Any.newBuilder().build()) + .build(); + mockLocations.addResponse(expectedResponse); + + GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build(); + + Location actualResponse = client.getLocation(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockLocations.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetLocationRequest actualRequest = ((GetLocationRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getName(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getLocationExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockLocations.addException(exception); + + try { + GetLocationRequest request = GetLocationRequest.newBuilder().setName("name3373707").build(); + client.getLocation(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } +} diff --git a/owl-bot-staging/v1beta1/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/MockDataform.java b/owl-bot-staging/v1beta1/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/MockDataform.java new file mode 100644 index 0000000..d69e1d6 --- /dev/null +++ b/owl-bot-staging/v1beta1/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/MockDataform.java @@ -0,0 +1,59 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dataform.v1beta1; + +import com.google.api.core.BetaApi; +import com.google.api.gax.grpc.testing.MockGrpcService; +import com.google.protobuf.AbstractMessage; +import io.grpc.ServerServiceDefinition; +import java.util.List; +import javax.annotation.Generated; + +@BetaApi +@Generated("by gapic-generator-java") +public class MockDataform implements MockGrpcService { + private final MockDataformImpl serviceImpl; + + public MockDataform() { + serviceImpl = new MockDataformImpl(); + } + + @Override + public List getRequests() { + return serviceImpl.getRequests(); + } + + @Override + public void addResponse(AbstractMessage response) { + serviceImpl.addResponse(response); + } + + @Override + public void addException(Exception exception) { + serviceImpl.addException(exception); + } + + @Override + public ServerServiceDefinition getServiceDefinition() { + return serviceImpl.bindService(); + } + + @Override + public void reset() { + serviceImpl.reset(); + } +} diff --git a/owl-bot-staging/v1beta1/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/MockDataformImpl.java b/owl-bot-staging/v1beta1/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/MockDataformImpl.java new file mode 100644 index 0000000..e8066ef --- /dev/null +++ b/owl-bot-staging/v1beta1/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/MockDataformImpl.java @@ -0,0 +1,824 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dataform.v1beta1; + +import com.google.api.core.BetaApi; +import com.google.cloud.dataform.v1beta1.DataformGrpc.DataformImplBase; +import com.google.protobuf.AbstractMessage; +import com.google.protobuf.Empty; +import io.grpc.stub.StreamObserver; +import java.util.ArrayList; +import java.util.LinkedList; +import java.util.List; +import java.util.Queue; +import javax.annotation.Generated; + +@BetaApi +@Generated("by gapic-generator-java") +public class MockDataformImpl extends DataformImplBase { + private List requests; + private Queue responses; + + public MockDataformImpl() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } + + public List getRequests() { + return requests; + } + + public void addResponse(AbstractMessage response) { + responses.add(response); + } + + public void setResponses(List responses) { + this.responses = new LinkedList(responses); + } + + public void addException(Exception exception) { + responses.add(exception); + } + + public void reset() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } + + @Override + public void listRepositories( + ListRepositoriesRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListRepositoriesResponse) { + requests.add(request); + responseObserver.onNext(((ListRepositoriesResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ListRepositories, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListRepositoriesResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getRepository( + GetRepositoryRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Repository) { + requests.add(request); + responseObserver.onNext(((Repository) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GetRepository, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Repository.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void createRepository( + CreateRepositoryRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Repository) { + requests.add(request); + responseObserver.onNext(((Repository) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method CreateRepository, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Repository.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void updateRepository( + UpdateRepositoryRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Repository) { + requests.add(request); + responseObserver.onNext(((Repository) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method UpdateRepository, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Repository.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void deleteRepository( + DeleteRepositoryRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Empty) { + requests.add(request); + responseObserver.onNext(((Empty) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method DeleteRepository, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Empty.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void fetchRemoteBranches( + FetchRemoteBranchesRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof FetchRemoteBranchesResponse) { + requests.add(request); + responseObserver.onNext(((FetchRemoteBranchesResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method FetchRemoteBranches, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + FetchRemoteBranchesResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void listWorkspaces( + ListWorkspacesRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListWorkspacesResponse) { + requests.add(request); + responseObserver.onNext(((ListWorkspacesResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ListWorkspaces, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListWorkspacesResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getWorkspace( + GetWorkspaceRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Workspace) { + requests.add(request); + responseObserver.onNext(((Workspace) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GetWorkspace, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Workspace.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void createWorkspace( + CreateWorkspaceRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Workspace) { + requests.add(request); + responseObserver.onNext(((Workspace) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method CreateWorkspace, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Workspace.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void deleteWorkspace( + DeleteWorkspaceRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Empty) { + requests.add(request); + responseObserver.onNext(((Empty) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method DeleteWorkspace, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Empty.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void installNpmPackages( + InstallNpmPackagesRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof InstallNpmPackagesResponse) { + requests.add(request); + responseObserver.onNext(((InstallNpmPackagesResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method InstallNpmPackages, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + InstallNpmPackagesResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void pullGitCommits( + PullGitCommitsRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Empty) { + requests.add(request); + responseObserver.onNext(((Empty) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method PullGitCommits, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Empty.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void pushGitCommits( + PushGitCommitsRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Empty) { + requests.add(request); + responseObserver.onNext(((Empty) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method PushGitCommits, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Empty.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void fetchFileGitStatuses( + FetchFileGitStatusesRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof FetchFileGitStatusesResponse) { + requests.add(request); + responseObserver.onNext(((FetchFileGitStatusesResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method FetchFileGitStatuses, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + FetchFileGitStatusesResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void fetchGitAheadBehind( + FetchGitAheadBehindRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof FetchGitAheadBehindResponse) { + requests.add(request); + responseObserver.onNext(((FetchGitAheadBehindResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method FetchGitAheadBehind, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + FetchGitAheadBehindResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void commitWorkspaceChanges( + CommitWorkspaceChangesRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Empty) { + requests.add(request); + responseObserver.onNext(((Empty) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method CommitWorkspaceChanges, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Empty.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void resetWorkspaceChanges( + ResetWorkspaceChangesRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Empty) { + requests.add(request); + responseObserver.onNext(((Empty) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ResetWorkspaceChanges, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Empty.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void fetchFileDiff( + FetchFileDiffRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof FetchFileDiffResponse) { + requests.add(request); + responseObserver.onNext(((FetchFileDiffResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method FetchFileDiff, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + FetchFileDiffResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void queryDirectoryContents( + QueryDirectoryContentsRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof QueryDirectoryContentsResponse) { + requests.add(request); + responseObserver.onNext(((QueryDirectoryContentsResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method QueryDirectoryContents, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + QueryDirectoryContentsResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void makeDirectory( + MakeDirectoryRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof MakeDirectoryResponse) { + requests.add(request); + responseObserver.onNext(((MakeDirectoryResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method MakeDirectory, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + MakeDirectoryResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void removeDirectory( + RemoveDirectoryRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Empty) { + requests.add(request); + responseObserver.onNext(((Empty) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method RemoveDirectory, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Empty.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void moveDirectory( + MoveDirectoryRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof MoveDirectoryResponse) { + requests.add(request); + responseObserver.onNext(((MoveDirectoryResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method MoveDirectory, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + MoveDirectoryResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void readFile(ReadFileRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ReadFileResponse) { + requests.add(request); + responseObserver.onNext(((ReadFileResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ReadFile, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ReadFileResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void removeFile(RemoveFileRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Empty) { + requests.add(request); + responseObserver.onNext(((Empty) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method RemoveFile, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Empty.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void moveFile(MoveFileRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof MoveFileResponse) { + requests.add(request); + responseObserver.onNext(((MoveFileResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method MoveFile, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + MoveFileResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void writeFile( + WriteFileRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof WriteFileResponse) { + requests.add(request); + responseObserver.onNext(((WriteFileResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method WriteFile, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + WriteFileResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void listCompilationResults( + ListCompilationResultsRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListCompilationResultsResponse) { + requests.add(request); + responseObserver.onNext(((ListCompilationResultsResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ListCompilationResults, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListCompilationResultsResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getCompilationResult( + GetCompilationResultRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof CompilationResult) { + requests.add(request); + responseObserver.onNext(((CompilationResult) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GetCompilationResult, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + CompilationResult.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void createCompilationResult( + CreateCompilationResultRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof CompilationResult) { + requests.add(request); + responseObserver.onNext(((CompilationResult) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method CreateCompilationResult, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + CompilationResult.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void queryCompilationResultActions( + QueryCompilationResultActionsRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof QueryCompilationResultActionsResponse) { + requests.add(request); + responseObserver.onNext(((QueryCompilationResultActionsResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method QueryCompilationResultActions, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + QueryCompilationResultActionsResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void listWorkflowInvocations( + ListWorkflowInvocationsRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListWorkflowInvocationsResponse) { + requests.add(request); + responseObserver.onNext(((ListWorkflowInvocationsResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ListWorkflowInvocations, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListWorkflowInvocationsResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getWorkflowInvocation( + GetWorkflowInvocationRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof WorkflowInvocation) { + requests.add(request); + responseObserver.onNext(((WorkflowInvocation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GetWorkflowInvocation, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + WorkflowInvocation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void createWorkflowInvocation( + CreateWorkflowInvocationRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof WorkflowInvocation) { + requests.add(request); + responseObserver.onNext(((WorkflowInvocation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method CreateWorkflowInvocation, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + WorkflowInvocation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void deleteWorkflowInvocation( + DeleteWorkflowInvocationRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Empty) { + requests.add(request); + responseObserver.onNext(((Empty) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method DeleteWorkflowInvocation, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Empty.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void cancelWorkflowInvocation( + CancelWorkflowInvocationRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Empty) { + requests.add(request); + responseObserver.onNext(((Empty) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method CancelWorkflowInvocation, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Empty.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void queryWorkflowInvocationActions( + QueryWorkflowInvocationActionsRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof QueryWorkflowInvocationActionsResponse) { + requests.add(request); + responseObserver.onNext(((QueryWorkflowInvocationActionsResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method QueryWorkflowInvocationActions, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + QueryWorkflowInvocationActionsResponse.class.getName(), + Exception.class.getName()))); + } + } +} diff --git a/owl-bot-staging/v1beta1/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/MockIAMPolicy.java b/owl-bot-staging/v1beta1/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/MockIAMPolicy.java new file mode 100644 index 0000000..bb34dd5 --- /dev/null +++ b/owl-bot-staging/v1beta1/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/MockIAMPolicy.java @@ -0,0 +1,59 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dataform.v1beta1; + +import com.google.api.core.BetaApi; +import com.google.api.gax.grpc.testing.MockGrpcService; +import com.google.protobuf.AbstractMessage; +import io.grpc.ServerServiceDefinition; +import java.util.List; +import javax.annotation.Generated; + +@BetaApi +@Generated("by gapic-generator-java") +public class MockIAMPolicy implements MockGrpcService { + private final MockIAMPolicyImpl serviceImpl; + + public MockIAMPolicy() { + serviceImpl = new MockIAMPolicyImpl(); + } + + @Override + public List getRequests() { + return serviceImpl.getRequests(); + } + + @Override + public void addResponse(AbstractMessage response) { + serviceImpl.addResponse(response); + } + + @Override + public void addException(Exception exception) { + serviceImpl.addException(exception); + } + + @Override + public ServerServiceDefinition getServiceDefinition() { + return serviceImpl.bindService(); + } + + @Override + public void reset() { + serviceImpl.reset(); + } +} diff --git a/owl-bot-staging/v1beta1/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/MockIAMPolicyImpl.java b/owl-bot-staging/v1beta1/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/MockIAMPolicyImpl.java new file mode 100644 index 0000000..8d4fbce --- /dev/null +++ b/owl-bot-staging/v1beta1/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/MockIAMPolicyImpl.java @@ -0,0 +1,59 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dataform.v1beta1; + +import com.google.api.core.BetaApi; +import com.google.iam.v1.IAMPolicyGrpc.IAMPolicyImplBase; +import com.google.protobuf.AbstractMessage; +import java.util.ArrayList; +import java.util.LinkedList; +import java.util.List; +import java.util.Queue; +import javax.annotation.Generated; + +@BetaApi +@Generated("by gapic-generator-java") +public class MockIAMPolicyImpl extends IAMPolicyImplBase { + private List requests; + private Queue responses; + + public MockIAMPolicyImpl() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } + + public List getRequests() { + return requests; + } + + public void addResponse(AbstractMessage response) { + responses.add(response); + } + + public void setResponses(List responses) { + this.responses = new LinkedList(responses); + } + + public void addException(Exception exception) { + responses.add(exception); + } + + public void reset() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } +} diff --git a/owl-bot-staging/v1beta1/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/MockLocations.java b/owl-bot-staging/v1beta1/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/MockLocations.java new file mode 100644 index 0000000..46e95e6 --- /dev/null +++ b/owl-bot-staging/v1beta1/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/MockLocations.java @@ -0,0 +1,59 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dataform.v1beta1; + +import com.google.api.core.BetaApi; +import com.google.api.gax.grpc.testing.MockGrpcService; +import com.google.protobuf.AbstractMessage; +import io.grpc.ServerServiceDefinition; +import java.util.List; +import javax.annotation.Generated; + +@BetaApi +@Generated("by gapic-generator-java") +public class MockLocations implements MockGrpcService { + private final MockLocationsImpl serviceImpl; + + public MockLocations() { + serviceImpl = new MockLocationsImpl(); + } + + @Override + public List getRequests() { + return serviceImpl.getRequests(); + } + + @Override + public void addResponse(AbstractMessage response) { + serviceImpl.addResponse(response); + } + + @Override + public void addException(Exception exception) { + serviceImpl.addException(exception); + } + + @Override + public ServerServiceDefinition getServiceDefinition() { + return serviceImpl.bindService(); + } + + @Override + public void reset() { + serviceImpl.reset(); + } +} diff --git a/owl-bot-staging/v1beta1/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/MockLocationsImpl.java b/owl-bot-staging/v1beta1/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/MockLocationsImpl.java new file mode 100644 index 0000000..4092da7 --- /dev/null +++ b/owl-bot-staging/v1beta1/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/MockLocationsImpl.java @@ -0,0 +1,105 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dataform.v1beta1; + +import com.google.api.core.BetaApi; +import com.google.cloud.location.GetLocationRequest; +import com.google.cloud.location.ListLocationsRequest; +import com.google.cloud.location.ListLocationsResponse; +import com.google.cloud.location.Location; +import com.google.cloud.location.LocationsGrpc.LocationsImplBase; +import com.google.protobuf.AbstractMessage; +import io.grpc.stub.StreamObserver; +import java.util.ArrayList; +import java.util.LinkedList; +import java.util.List; +import java.util.Queue; +import javax.annotation.Generated; + +@BetaApi +@Generated("by gapic-generator-java") +public class MockLocationsImpl extends LocationsImplBase { + private List requests; + private Queue responses; + + public MockLocationsImpl() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } + + public List getRequests() { + return requests; + } + + public void addResponse(AbstractMessage response) { + responses.add(response); + } + + public void setResponses(List responses) { + this.responses = new LinkedList(responses); + } + + public void addException(Exception exception) { + responses.add(exception); + } + + public void reset() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } + + @Override + public void listLocations( + ListLocationsRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListLocationsResponse) { + requests.add(request); + responseObserver.onNext(((ListLocationsResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ListLocations, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListLocationsResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getLocation(GetLocationRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Location) { + requests.add(request); + responseObserver.onNext(((Location) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GetLocation, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Location.class.getName(), + Exception.class.getName()))); + } + } +} diff --git a/owl-bot-staging/v1beta1/grpc-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DataformGrpc.java b/owl-bot-staging/v1beta1/grpc-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DataformGrpc.java new file mode 100644 index 0000000..b7efc4c --- /dev/null +++ b/owl-bot-staging/v1beta1/grpc-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DataformGrpc.java @@ -0,0 +1,3322 @@ +package com.google.cloud.dataform.v1beta1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * Dataform is a service to develop, create, document, test, and update curated
+ * tables in BigQuery.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/dataform/v1beta1/dataform.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class DataformGrpc { + + private DataformGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.dataform.v1beta1.Dataform"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getListRepositoriesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListRepositories", + requestType = com.google.cloud.dataform.v1beta1.ListRepositoriesRequest.class, + responseType = com.google.cloud.dataform.v1beta1.ListRepositoriesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListRepositoriesMethod() { + io.grpc.MethodDescriptor getListRepositoriesMethod; + if ((getListRepositoriesMethod = DataformGrpc.getListRepositoriesMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getListRepositoriesMethod = DataformGrpc.getListRepositoriesMethod) == null) { + DataformGrpc.getListRepositoriesMethod = getListRepositoriesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRepositories")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.ListRepositoriesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.ListRepositoriesResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("ListRepositories")) + .build(); + } + } + } + return getListRepositoriesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetRepository", + requestType = com.google.cloud.dataform.v1beta1.GetRepositoryRequest.class, + responseType = com.google.cloud.dataform.v1beta1.Repository.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetRepositoryMethod() { + io.grpc.MethodDescriptor getGetRepositoryMethod; + if ((getGetRepositoryMethod = DataformGrpc.getGetRepositoryMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getGetRepositoryMethod = DataformGrpc.getGetRepositoryMethod) == null) { + DataformGrpc.getGetRepositoryMethod = getGetRepositoryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.GetRepositoryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.Repository.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("GetRepository")) + .build(); + } + } + } + return getGetRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateRepository", + requestType = com.google.cloud.dataform.v1beta1.CreateRepositoryRequest.class, + responseType = com.google.cloud.dataform.v1beta1.Repository.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateRepositoryMethod() { + io.grpc.MethodDescriptor getCreateRepositoryMethod; + if ((getCreateRepositoryMethod = DataformGrpc.getCreateRepositoryMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getCreateRepositoryMethod = DataformGrpc.getCreateRepositoryMethod) == null) { + DataformGrpc.getCreateRepositoryMethod = getCreateRepositoryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.CreateRepositoryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.Repository.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("CreateRepository")) + .build(); + } + } + } + return getCreateRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateRepository", + requestType = com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest.class, + responseType = com.google.cloud.dataform.v1beta1.Repository.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateRepositoryMethod() { + io.grpc.MethodDescriptor getUpdateRepositoryMethod; + if ((getUpdateRepositoryMethod = DataformGrpc.getUpdateRepositoryMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getUpdateRepositoryMethod = DataformGrpc.getUpdateRepositoryMethod) == null) { + DataformGrpc.getUpdateRepositoryMethod = getUpdateRepositoryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.Repository.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("UpdateRepository")) + .build(); + } + } + } + return getUpdateRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteRepository", + requestType = com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteRepositoryMethod() { + io.grpc.MethodDescriptor getDeleteRepositoryMethod; + if ((getDeleteRepositoryMethod = DataformGrpc.getDeleteRepositoryMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getDeleteRepositoryMethod = DataformGrpc.getDeleteRepositoryMethod) == null) { + DataformGrpc.getDeleteRepositoryMethod = getDeleteRepositoryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("DeleteRepository")) + .build(); + } + } + } + return getDeleteRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor getFetchRemoteBranchesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "FetchRemoteBranches", + requestType = com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest.class, + responseType = com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getFetchRemoteBranchesMethod() { + io.grpc.MethodDescriptor getFetchRemoteBranchesMethod; + if ((getFetchRemoteBranchesMethod = DataformGrpc.getFetchRemoteBranchesMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getFetchRemoteBranchesMethod = DataformGrpc.getFetchRemoteBranchesMethod) == null) { + DataformGrpc.getFetchRemoteBranchesMethod = getFetchRemoteBranchesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FetchRemoteBranches")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("FetchRemoteBranches")) + .build(); + } + } + } + return getFetchRemoteBranchesMethod; + } + + private static volatile io.grpc.MethodDescriptor getListWorkspacesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListWorkspaces", + requestType = com.google.cloud.dataform.v1beta1.ListWorkspacesRequest.class, + responseType = com.google.cloud.dataform.v1beta1.ListWorkspacesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListWorkspacesMethod() { + io.grpc.MethodDescriptor getListWorkspacesMethod; + if ((getListWorkspacesMethod = DataformGrpc.getListWorkspacesMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getListWorkspacesMethod = DataformGrpc.getListWorkspacesMethod) == null) { + DataformGrpc.getListWorkspacesMethod = getListWorkspacesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListWorkspaces")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.ListWorkspacesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.ListWorkspacesResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("ListWorkspaces")) + .build(); + } + } + } + return getListWorkspacesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetWorkspaceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetWorkspace", + requestType = com.google.cloud.dataform.v1beta1.GetWorkspaceRequest.class, + responseType = com.google.cloud.dataform.v1beta1.Workspace.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetWorkspaceMethod() { + io.grpc.MethodDescriptor getGetWorkspaceMethod; + if ((getGetWorkspaceMethod = DataformGrpc.getGetWorkspaceMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getGetWorkspaceMethod = DataformGrpc.getGetWorkspaceMethod) == null) { + DataformGrpc.getGetWorkspaceMethod = getGetWorkspaceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetWorkspace")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.GetWorkspaceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.Workspace.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("GetWorkspace")) + .build(); + } + } + } + return getGetWorkspaceMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateWorkspaceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateWorkspace", + requestType = com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest.class, + responseType = com.google.cloud.dataform.v1beta1.Workspace.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateWorkspaceMethod() { + io.grpc.MethodDescriptor getCreateWorkspaceMethod; + if ((getCreateWorkspaceMethod = DataformGrpc.getCreateWorkspaceMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getCreateWorkspaceMethod = DataformGrpc.getCreateWorkspaceMethod) == null) { + DataformGrpc.getCreateWorkspaceMethod = getCreateWorkspaceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateWorkspace")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.Workspace.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("CreateWorkspace")) + .build(); + } + } + } + return getCreateWorkspaceMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteWorkspaceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteWorkspace", + requestType = com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteWorkspaceMethod() { + io.grpc.MethodDescriptor getDeleteWorkspaceMethod; + if ((getDeleteWorkspaceMethod = DataformGrpc.getDeleteWorkspaceMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getDeleteWorkspaceMethod = DataformGrpc.getDeleteWorkspaceMethod) == null) { + DataformGrpc.getDeleteWorkspaceMethod = getDeleteWorkspaceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteWorkspace")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("DeleteWorkspace")) + .build(); + } + } + } + return getDeleteWorkspaceMethod; + } + + private static volatile io.grpc.MethodDescriptor getInstallNpmPackagesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "InstallNpmPackages", + requestType = com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest.class, + responseType = com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getInstallNpmPackagesMethod() { + io.grpc.MethodDescriptor getInstallNpmPackagesMethod; + if ((getInstallNpmPackagesMethod = DataformGrpc.getInstallNpmPackagesMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getInstallNpmPackagesMethod = DataformGrpc.getInstallNpmPackagesMethod) == null) { + DataformGrpc.getInstallNpmPackagesMethod = getInstallNpmPackagesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "InstallNpmPackages")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("InstallNpmPackages")) + .build(); + } + } + } + return getInstallNpmPackagesMethod; + } + + private static volatile io.grpc.MethodDescriptor getPullGitCommitsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "PullGitCommits", + requestType = com.google.cloud.dataform.v1beta1.PullGitCommitsRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getPullGitCommitsMethod() { + io.grpc.MethodDescriptor getPullGitCommitsMethod; + if ((getPullGitCommitsMethod = DataformGrpc.getPullGitCommitsMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getPullGitCommitsMethod = DataformGrpc.getPullGitCommitsMethod) == null) { + DataformGrpc.getPullGitCommitsMethod = getPullGitCommitsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PullGitCommits")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.PullGitCommitsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("PullGitCommits")) + .build(); + } + } + } + return getPullGitCommitsMethod; + } + + private static volatile io.grpc.MethodDescriptor getPushGitCommitsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "PushGitCommits", + requestType = com.google.cloud.dataform.v1beta1.PushGitCommitsRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getPushGitCommitsMethod() { + io.grpc.MethodDescriptor getPushGitCommitsMethod; + if ((getPushGitCommitsMethod = DataformGrpc.getPushGitCommitsMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getPushGitCommitsMethod = DataformGrpc.getPushGitCommitsMethod) == null) { + DataformGrpc.getPushGitCommitsMethod = getPushGitCommitsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PushGitCommits")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.PushGitCommitsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("PushGitCommits")) + .build(); + } + } + } + return getPushGitCommitsMethod; + } + + private static volatile io.grpc.MethodDescriptor getFetchFileGitStatusesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "FetchFileGitStatuses", + requestType = com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest.class, + responseType = com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getFetchFileGitStatusesMethod() { + io.grpc.MethodDescriptor getFetchFileGitStatusesMethod; + if ((getFetchFileGitStatusesMethod = DataformGrpc.getFetchFileGitStatusesMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getFetchFileGitStatusesMethod = DataformGrpc.getFetchFileGitStatusesMethod) == null) { + DataformGrpc.getFetchFileGitStatusesMethod = getFetchFileGitStatusesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FetchFileGitStatuses")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("FetchFileGitStatuses")) + .build(); + } + } + } + return getFetchFileGitStatusesMethod; + } + + private static volatile io.grpc.MethodDescriptor getFetchGitAheadBehindMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "FetchGitAheadBehind", + requestType = com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest.class, + responseType = com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getFetchGitAheadBehindMethod() { + io.grpc.MethodDescriptor getFetchGitAheadBehindMethod; + if ((getFetchGitAheadBehindMethod = DataformGrpc.getFetchGitAheadBehindMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getFetchGitAheadBehindMethod = DataformGrpc.getFetchGitAheadBehindMethod) == null) { + DataformGrpc.getFetchGitAheadBehindMethod = getFetchGitAheadBehindMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FetchGitAheadBehind")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("FetchGitAheadBehind")) + .build(); + } + } + } + return getFetchGitAheadBehindMethod; + } + + private static volatile io.grpc.MethodDescriptor getCommitWorkspaceChangesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CommitWorkspaceChanges", + requestType = com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCommitWorkspaceChangesMethod() { + io.grpc.MethodDescriptor getCommitWorkspaceChangesMethod; + if ((getCommitWorkspaceChangesMethod = DataformGrpc.getCommitWorkspaceChangesMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getCommitWorkspaceChangesMethod = DataformGrpc.getCommitWorkspaceChangesMethod) == null) { + DataformGrpc.getCommitWorkspaceChangesMethod = getCommitWorkspaceChangesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CommitWorkspaceChanges")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("CommitWorkspaceChanges")) + .build(); + } + } + } + return getCommitWorkspaceChangesMethod; + } + + private static volatile io.grpc.MethodDescriptor getResetWorkspaceChangesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ResetWorkspaceChanges", + requestType = com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getResetWorkspaceChangesMethod() { + io.grpc.MethodDescriptor getResetWorkspaceChangesMethod; + if ((getResetWorkspaceChangesMethod = DataformGrpc.getResetWorkspaceChangesMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getResetWorkspaceChangesMethod = DataformGrpc.getResetWorkspaceChangesMethod) == null) { + DataformGrpc.getResetWorkspaceChangesMethod = getResetWorkspaceChangesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResetWorkspaceChanges")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("ResetWorkspaceChanges")) + .build(); + } + } + } + return getResetWorkspaceChangesMethod; + } + + private static volatile io.grpc.MethodDescriptor getFetchFileDiffMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "FetchFileDiff", + requestType = com.google.cloud.dataform.v1beta1.FetchFileDiffRequest.class, + responseType = com.google.cloud.dataform.v1beta1.FetchFileDiffResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getFetchFileDiffMethod() { + io.grpc.MethodDescriptor getFetchFileDiffMethod; + if ((getFetchFileDiffMethod = DataformGrpc.getFetchFileDiffMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getFetchFileDiffMethod = DataformGrpc.getFetchFileDiffMethod) == null) { + DataformGrpc.getFetchFileDiffMethod = getFetchFileDiffMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FetchFileDiff")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.FetchFileDiffRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.FetchFileDiffResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("FetchFileDiff")) + .build(); + } + } + } + return getFetchFileDiffMethod; + } + + private static volatile io.grpc.MethodDescriptor getQueryDirectoryContentsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "QueryDirectoryContents", + requestType = com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest.class, + responseType = com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getQueryDirectoryContentsMethod() { + io.grpc.MethodDescriptor getQueryDirectoryContentsMethod; + if ((getQueryDirectoryContentsMethod = DataformGrpc.getQueryDirectoryContentsMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getQueryDirectoryContentsMethod = DataformGrpc.getQueryDirectoryContentsMethod) == null) { + DataformGrpc.getQueryDirectoryContentsMethod = getQueryDirectoryContentsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "QueryDirectoryContents")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("QueryDirectoryContents")) + .build(); + } + } + } + return getQueryDirectoryContentsMethod; + } + + private static volatile io.grpc.MethodDescriptor getMakeDirectoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "MakeDirectory", + requestType = com.google.cloud.dataform.v1beta1.MakeDirectoryRequest.class, + responseType = com.google.cloud.dataform.v1beta1.MakeDirectoryResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getMakeDirectoryMethod() { + io.grpc.MethodDescriptor getMakeDirectoryMethod; + if ((getMakeDirectoryMethod = DataformGrpc.getMakeDirectoryMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getMakeDirectoryMethod = DataformGrpc.getMakeDirectoryMethod) == null) { + DataformGrpc.getMakeDirectoryMethod = getMakeDirectoryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "MakeDirectory")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.MakeDirectoryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.MakeDirectoryResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("MakeDirectory")) + .build(); + } + } + } + return getMakeDirectoryMethod; + } + + private static volatile io.grpc.MethodDescriptor getRemoveDirectoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RemoveDirectory", + requestType = com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getRemoveDirectoryMethod() { + io.grpc.MethodDescriptor getRemoveDirectoryMethod; + if ((getRemoveDirectoryMethod = DataformGrpc.getRemoveDirectoryMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getRemoveDirectoryMethod = DataformGrpc.getRemoveDirectoryMethod) == null) { + DataformGrpc.getRemoveDirectoryMethod = getRemoveDirectoryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RemoveDirectory")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("RemoveDirectory")) + .build(); + } + } + } + return getRemoveDirectoryMethod; + } + + private static volatile io.grpc.MethodDescriptor getMoveDirectoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "MoveDirectory", + requestType = com.google.cloud.dataform.v1beta1.MoveDirectoryRequest.class, + responseType = com.google.cloud.dataform.v1beta1.MoveDirectoryResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getMoveDirectoryMethod() { + io.grpc.MethodDescriptor getMoveDirectoryMethod; + if ((getMoveDirectoryMethod = DataformGrpc.getMoveDirectoryMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getMoveDirectoryMethod = DataformGrpc.getMoveDirectoryMethod) == null) { + DataformGrpc.getMoveDirectoryMethod = getMoveDirectoryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "MoveDirectory")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.MoveDirectoryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.MoveDirectoryResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("MoveDirectory")) + .build(); + } + } + } + return getMoveDirectoryMethod; + } + + private static volatile io.grpc.MethodDescriptor getReadFileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ReadFile", + requestType = com.google.cloud.dataform.v1beta1.ReadFileRequest.class, + responseType = com.google.cloud.dataform.v1beta1.ReadFileResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getReadFileMethod() { + io.grpc.MethodDescriptor getReadFileMethod; + if ((getReadFileMethod = DataformGrpc.getReadFileMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getReadFileMethod = DataformGrpc.getReadFileMethod) == null) { + DataformGrpc.getReadFileMethod = getReadFileMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReadFile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.ReadFileRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.ReadFileResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("ReadFile")) + .build(); + } + } + } + return getReadFileMethod; + } + + private static volatile io.grpc.MethodDescriptor getRemoveFileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RemoveFile", + requestType = com.google.cloud.dataform.v1beta1.RemoveFileRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getRemoveFileMethod() { + io.grpc.MethodDescriptor getRemoveFileMethod; + if ((getRemoveFileMethod = DataformGrpc.getRemoveFileMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getRemoveFileMethod = DataformGrpc.getRemoveFileMethod) == null) { + DataformGrpc.getRemoveFileMethod = getRemoveFileMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RemoveFile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.RemoveFileRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("RemoveFile")) + .build(); + } + } + } + return getRemoveFileMethod; + } + + private static volatile io.grpc.MethodDescriptor getMoveFileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "MoveFile", + requestType = com.google.cloud.dataform.v1beta1.MoveFileRequest.class, + responseType = com.google.cloud.dataform.v1beta1.MoveFileResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getMoveFileMethod() { + io.grpc.MethodDescriptor getMoveFileMethod; + if ((getMoveFileMethod = DataformGrpc.getMoveFileMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getMoveFileMethod = DataformGrpc.getMoveFileMethod) == null) { + DataformGrpc.getMoveFileMethod = getMoveFileMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "MoveFile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.MoveFileRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.MoveFileResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("MoveFile")) + .build(); + } + } + } + return getMoveFileMethod; + } + + private static volatile io.grpc.MethodDescriptor getWriteFileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "WriteFile", + requestType = com.google.cloud.dataform.v1beta1.WriteFileRequest.class, + responseType = com.google.cloud.dataform.v1beta1.WriteFileResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getWriteFileMethod() { + io.grpc.MethodDescriptor getWriteFileMethod; + if ((getWriteFileMethod = DataformGrpc.getWriteFileMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getWriteFileMethod = DataformGrpc.getWriteFileMethod) == null) { + DataformGrpc.getWriteFileMethod = getWriteFileMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "WriteFile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.WriteFileRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.WriteFileResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("WriteFile")) + .build(); + } + } + } + return getWriteFileMethod; + } + + private static volatile io.grpc.MethodDescriptor getListCompilationResultsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListCompilationResults", + requestType = com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest.class, + responseType = com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListCompilationResultsMethod() { + io.grpc.MethodDescriptor getListCompilationResultsMethod; + if ((getListCompilationResultsMethod = DataformGrpc.getListCompilationResultsMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getListCompilationResultsMethod = DataformGrpc.getListCompilationResultsMethod) == null) { + DataformGrpc.getListCompilationResultsMethod = getListCompilationResultsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCompilationResults")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("ListCompilationResults")) + .build(); + } + } + } + return getListCompilationResultsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetCompilationResultMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetCompilationResult", + requestType = com.google.cloud.dataform.v1beta1.GetCompilationResultRequest.class, + responseType = com.google.cloud.dataform.v1beta1.CompilationResult.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetCompilationResultMethod() { + io.grpc.MethodDescriptor getGetCompilationResultMethod; + if ((getGetCompilationResultMethod = DataformGrpc.getGetCompilationResultMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getGetCompilationResultMethod = DataformGrpc.getGetCompilationResultMethod) == null) { + DataformGrpc.getGetCompilationResultMethod = getGetCompilationResultMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCompilationResult")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.GetCompilationResultRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.CompilationResult.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("GetCompilationResult")) + .build(); + } + } + } + return getGetCompilationResultMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateCompilationResultMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateCompilationResult", + requestType = com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest.class, + responseType = com.google.cloud.dataform.v1beta1.CompilationResult.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateCompilationResultMethod() { + io.grpc.MethodDescriptor getCreateCompilationResultMethod; + if ((getCreateCompilationResultMethod = DataformGrpc.getCreateCompilationResultMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getCreateCompilationResultMethod = DataformGrpc.getCreateCompilationResultMethod) == null) { + DataformGrpc.getCreateCompilationResultMethod = getCreateCompilationResultMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCompilationResult")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.CompilationResult.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("CreateCompilationResult")) + .build(); + } + } + } + return getCreateCompilationResultMethod; + } + + private static volatile io.grpc.MethodDescriptor getQueryCompilationResultActionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "QueryCompilationResultActions", + requestType = com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest.class, + responseType = com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getQueryCompilationResultActionsMethod() { + io.grpc.MethodDescriptor getQueryCompilationResultActionsMethod; + if ((getQueryCompilationResultActionsMethod = DataformGrpc.getQueryCompilationResultActionsMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getQueryCompilationResultActionsMethod = DataformGrpc.getQueryCompilationResultActionsMethod) == null) { + DataformGrpc.getQueryCompilationResultActionsMethod = getQueryCompilationResultActionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "QueryCompilationResultActions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("QueryCompilationResultActions")) + .build(); + } + } + } + return getQueryCompilationResultActionsMethod; + } + + private static volatile io.grpc.MethodDescriptor getListWorkflowInvocationsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListWorkflowInvocations", + requestType = com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest.class, + responseType = com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListWorkflowInvocationsMethod() { + io.grpc.MethodDescriptor getListWorkflowInvocationsMethod; + if ((getListWorkflowInvocationsMethod = DataformGrpc.getListWorkflowInvocationsMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getListWorkflowInvocationsMethod = DataformGrpc.getListWorkflowInvocationsMethod) == null) { + DataformGrpc.getListWorkflowInvocationsMethod = getListWorkflowInvocationsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListWorkflowInvocations")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("ListWorkflowInvocations")) + .build(); + } + } + } + return getListWorkflowInvocationsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetWorkflowInvocationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetWorkflowInvocation", + requestType = com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest.class, + responseType = com.google.cloud.dataform.v1beta1.WorkflowInvocation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetWorkflowInvocationMethod() { + io.grpc.MethodDescriptor getGetWorkflowInvocationMethod; + if ((getGetWorkflowInvocationMethod = DataformGrpc.getGetWorkflowInvocationMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getGetWorkflowInvocationMethod = DataformGrpc.getGetWorkflowInvocationMethod) == null) { + DataformGrpc.getGetWorkflowInvocationMethod = getGetWorkflowInvocationMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetWorkflowInvocation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.WorkflowInvocation.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("GetWorkflowInvocation")) + .build(); + } + } + } + return getGetWorkflowInvocationMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateWorkflowInvocationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateWorkflowInvocation", + requestType = com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest.class, + responseType = com.google.cloud.dataform.v1beta1.WorkflowInvocation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateWorkflowInvocationMethod() { + io.grpc.MethodDescriptor getCreateWorkflowInvocationMethod; + if ((getCreateWorkflowInvocationMethod = DataformGrpc.getCreateWorkflowInvocationMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getCreateWorkflowInvocationMethod = DataformGrpc.getCreateWorkflowInvocationMethod) == null) { + DataformGrpc.getCreateWorkflowInvocationMethod = getCreateWorkflowInvocationMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateWorkflowInvocation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.WorkflowInvocation.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("CreateWorkflowInvocation")) + .build(); + } + } + } + return getCreateWorkflowInvocationMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteWorkflowInvocationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteWorkflowInvocation", + requestType = com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteWorkflowInvocationMethod() { + io.grpc.MethodDescriptor getDeleteWorkflowInvocationMethod; + if ((getDeleteWorkflowInvocationMethod = DataformGrpc.getDeleteWorkflowInvocationMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getDeleteWorkflowInvocationMethod = DataformGrpc.getDeleteWorkflowInvocationMethod) == null) { + DataformGrpc.getDeleteWorkflowInvocationMethod = getDeleteWorkflowInvocationMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteWorkflowInvocation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("DeleteWorkflowInvocation")) + .build(); + } + } + } + return getDeleteWorkflowInvocationMethod; + } + + private static volatile io.grpc.MethodDescriptor getCancelWorkflowInvocationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CancelWorkflowInvocation", + requestType = com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCancelWorkflowInvocationMethod() { + io.grpc.MethodDescriptor getCancelWorkflowInvocationMethod; + if ((getCancelWorkflowInvocationMethod = DataformGrpc.getCancelWorkflowInvocationMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getCancelWorkflowInvocationMethod = DataformGrpc.getCancelWorkflowInvocationMethod) == null) { + DataformGrpc.getCancelWorkflowInvocationMethod = getCancelWorkflowInvocationMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelWorkflowInvocation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("CancelWorkflowInvocation")) + .build(); + } + } + } + return getCancelWorkflowInvocationMethod; + } + + private static volatile io.grpc.MethodDescriptor getQueryWorkflowInvocationActionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "QueryWorkflowInvocationActions", + requestType = com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest.class, + responseType = com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getQueryWorkflowInvocationActionsMethod() { + io.grpc.MethodDescriptor getQueryWorkflowInvocationActionsMethod; + if ((getQueryWorkflowInvocationActionsMethod = DataformGrpc.getQueryWorkflowInvocationActionsMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getQueryWorkflowInvocationActionsMethod = DataformGrpc.getQueryWorkflowInvocationActionsMethod) == null) { + DataformGrpc.getQueryWorkflowInvocationActionsMethod = getQueryWorkflowInvocationActionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "QueryWorkflowInvocationActions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("QueryWorkflowInvocationActions")) + .build(); + } + } + } + return getQueryWorkflowInvocationActionsMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static DataformStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataformStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataformStub(channel, callOptions); + } + }; + return DataformStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static DataformBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataformBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataformBlockingStub(channel, callOptions); + } + }; + return DataformBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static DataformFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataformFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataformFutureStub(channel, callOptions); + } + }; + return DataformFutureStub.newStub(factory, channel); + } + + /** + *
+   * Dataform is a service to develop, create, document, test, and update curated
+   * tables in BigQuery.
+   * 
+ */ + public static abstract class DataformImplBase implements io.grpc.BindableService { + + /** + *
+     * Lists Repositories in a given project and location.
+     * 
+ */ + public void listRepositories(com.google.cloud.dataform.v1beta1.ListRepositoriesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListRepositoriesMethod(), responseObserver); + } + + /** + *
+     * Fetches a single Repository.
+     * 
+ */ + public void getRepository(com.google.cloud.dataform.v1beta1.GetRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetRepositoryMethod(), responseObserver); + } + + /** + *
+     * Creates a new Repository in a given project and location.
+     * 
+ */ + public void createRepository(com.google.cloud.dataform.v1beta1.CreateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateRepositoryMethod(), responseObserver); + } + + /** + *
+     * Updates a single Repository.
+     * 
+ */ + public void updateRepository(com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateRepositoryMethod(), responseObserver); + } + + /** + *
+     * Deletes a single Repository.
+     * 
+ */ + public void deleteRepository(com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteRepositoryMethod(), responseObserver); + } + + /** + *
+     * Fetches a Repository's remote branches.
+     * 
+ */ + public void fetchRemoteBranches(com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFetchRemoteBranchesMethod(), responseObserver); + } + + /** + *
+     * Lists Workspaces in a given Repository.
+     * 
+ */ + public void listWorkspaces(com.google.cloud.dataform.v1beta1.ListWorkspacesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListWorkspacesMethod(), responseObserver); + } + + /** + *
+     * Fetches a single Workspace.
+     * 
+ */ + public void getWorkspace(com.google.cloud.dataform.v1beta1.GetWorkspaceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetWorkspaceMethod(), responseObserver); + } + + /** + *
+     * Creates a new Workspace in a given Repository.
+     * 
+ */ + public void createWorkspace(com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateWorkspaceMethod(), responseObserver); + } + + /** + *
+     * Deletes a single Workspace.
+     * 
+ */ + public void deleteWorkspace(com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteWorkspaceMethod(), responseObserver); + } + + /** + *
+     * Installs dependency NPM packages (inside a Workspace).
+     * 
+ */ + public void installNpmPackages(com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getInstallNpmPackagesMethod(), responseObserver); + } + + /** + *
+     * Pulls Git commits from the Repository's remote into a Workspace.
+     * 
+ */ + public void pullGitCommits(com.google.cloud.dataform.v1beta1.PullGitCommitsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPullGitCommitsMethod(), responseObserver); + } + + /** + *
+     * Pushes Git commits from a Workspace to the Repository's remote.
+     * 
+ */ + public void pushGitCommits(com.google.cloud.dataform.v1beta1.PushGitCommitsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPushGitCommitsMethod(), responseObserver); + } + + /** + *
+     * Fetches Git statuses for the files in a Workspace.
+     * 
+ */ + public void fetchFileGitStatuses(com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFetchFileGitStatusesMethod(), responseObserver); + } + + /** + *
+     * Fetches Git ahead/behind against a remote branch.
+     * 
+ */ + public void fetchGitAheadBehind(com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFetchGitAheadBehindMethod(), responseObserver); + } + + /** + *
+     * Applies a Git commit for uncommitted files in a Workspace.
+     * 
+ */ + public void commitWorkspaceChanges(com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCommitWorkspaceChangesMethod(), responseObserver); + } + + /** + *
+     * Performs a Git reset for uncommitted files in a Workspace.
+     * 
+ */ + public void resetWorkspaceChanges(com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getResetWorkspaceChangesMethod(), responseObserver); + } + + /** + *
+     * Fetches Git diff for an uncommitted file in a Workspace.
+     * 
+ */ + public void fetchFileDiff(com.google.cloud.dataform.v1beta1.FetchFileDiffRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFetchFileDiffMethod(), responseObserver); + } + + /** + *
+     * Returns the contents of a given Workspace directory.
+     * 
+ */ + public void queryDirectoryContents(com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getQueryDirectoryContentsMethod(), responseObserver); + } + + /** + *
+     * Creates a directory inside a Workspace.
+     * 
+ */ + public void makeDirectory(com.google.cloud.dataform.v1beta1.MakeDirectoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getMakeDirectoryMethod(), responseObserver); + } + + /** + *
+     * Deletes a directory (inside a Workspace) and all of its contents.
+     * 
+ */ + public void removeDirectory(com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRemoveDirectoryMethod(), responseObserver); + } + + /** + *
+     * Moves a directory (inside a Workspace), and all of its contents, to a new
+     * location.
+     * 
+ */ + public void moveDirectory(com.google.cloud.dataform.v1beta1.MoveDirectoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getMoveDirectoryMethod(), responseObserver); + } + + /** + *
+     * Returns the contents of a file (inside a Workspace).
+     * 
+ */ + public void readFile(com.google.cloud.dataform.v1beta1.ReadFileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getReadFileMethod(), responseObserver); + } + + /** + *
+     * Deletes a file (inside a Workspace).
+     * 
+ */ + public void removeFile(com.google.cloud.dataform.v1beta1.RemoveFileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRemoveFileMethod(), responseObserver); + } + + /** + *
+     * Moves a file (inside a Workspace) to a new location.
+     * 
+ */ + public void moveFile(com.google.cloud.dataform.v1beta1.MoveFileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getMoveFileMethod(), responseObserver); + } + + /** + *
+     * Writes to a file (inside a Workspace).
+     * 
+ */ + public void writeFile(com.google.cloud.dataform.v1beta1.WriteFileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getWriteFileMethod(), responseObserver); + } + + /** + *
+     * Lists CompilationResults in a given Repository.
+     * 
+ */ + public void listCompilationResults(com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListCompilationResultsMethod(), responseObserver); + } + + /** + *
+     * Fetches a single CompilationResult.
+     * 
+ */ + public void getCompilationResult(com.google.cloud.dataform.v1beta1.GetCompilationResultRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetCompilationResultMethod(), responseObserver); + } + + /** + *
+     * Creates a new CompilationResult in a given project and location.
+     * 
+ */ + public void createCompilationResult(com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateCompilationResultMethod(), responseObserver); + } + + /** + *
+     * Returns CompilationResultActions in a given CompilationResult.
+     * 
+ */ + public void queryCompilationResultActions(com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getQueryCompilationResultActionsMethod(), responseObserver); + } + + /** + *
+     * Lists WorkflowInvocations in a given Repository.
+     * 
+ */ + public void listWorkflowInvocations(com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListWorkflowInvocationsMethod(), responseObserver); + } + + /** + *
+     * Fetches a single WorkflowInvocation.
+     * 
+ */ + public void getWorkflowInvocation(com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetWorkflowInvocationMethod(), responseObserver); + } + + /** + *
+     * Creates a new WorkflowInvocation in a given Repository.
+     * 
+ */ + public void createWorkflowInvocation(com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateWorkflowInvocationMethod(), responseObserver); + } + + /** + *
+     * Deletes a single WorkflowInvocation.
+     * 
+ */ + public void deleteWorkflowInvocation(com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteWorkflowInvocationMethod(), responseObserver); + } + + /** + *
+     * Requests cancellation of a running WorkflowInvocation.
+     * 
+ */ + public void cancelWorkflowInvocation(com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCancelWorkflowInvocationMethod(), responseObserver); + } + + /** + *
+     * Returns WorkflowInvocationActions in a given WorkflowInvocation.
+     * 
+ */ + public void queryWorkflowInvocationActions(com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getQueryWorkflowInvocationActionsMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListRepositoriesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.ListRepositoriesRequest, + com.google.cloud.dataform.v1beta1.ListRepositoriesResponse>( + this, METHODID_LIST_REPOSITORIES))) + .addMethod( + getGetRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.GetRepositoryRequest, + com.google.cloud.dataform.v1beta1.Repository>( + this, METHODID_GET_REPOSITORY))) + .addMethod( + getCreateRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.CreateRepositoryRequest, + com.google.cloud.dataform.v1beta1.Repository>( + this, METHODID_CREATE_REPOSITORY))) + .addMethod( + getUpdateRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest, + com.google.cloud.dataform.v1beta1.Repository>( + this, METHODID_UPDATE_REPOSITORY))) + .addMethod( + getDeleteRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_REPOSITORY))) + .addMethod( + getFetchRemoteBranchesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest, + com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse>( + this, METHODID_FETCH_REMOTE_BRANCHES))) + .addMethod( + getListWorkspacesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.ListWorkspacesRequest, + com.google.cloud.dataform.v1beta1.ListWorkspacesResponse>( + this, METHODID_LIST_WORKSPACES))) + .addMethod( + getGetWorkspaceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.GetWorkspaceRequest, + com.google.cloud.dataform.v1beta1.Workspace>( + this, METHODID_GET_WORKSPACE))) + .addMethod( + getCreateWorkspaceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest, + com.google.cloud.dataform.v1beta1.Workspace>( + this, METHODID_CREATE_WORKSPACE))) + .addMethod( + getDeleteWorkspaceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_WORKSPACE))) + .addMethod( + getInstallNpmPackagesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest, + com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse>( + this, METHODID_INSTALL_NPM_PACKAGES))) + .addMethod( + getPullGitCommitsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.PullGitCommitsRequest, + com.google.protobuf.Empty>( + this, METHODID_PULL_GIT_COMMITS))) + .addMethod( + getPushGitCommitsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.PushGitCommitsRequest, + com.google.protobuf.Empty>( + this, METHODID_PUSH_GIT_COMMITS))) + .addMethod( + getFetchFileGitStatusesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest, + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse>( + this, METHODID_FETCH_FILE_GIT_STATUSES))) + .addMethod( + getFetchGitAheadBehindMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest, + com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse>( + this, METHODID_FETCH_GIT_AHEAD_BEHIND))) + .addMethod( + getCommitWorkspaceChangesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest, + com.google.protobuf.Empty>( + this, METHODID_COMMIT_WORKSPACE_CHANGES))) + .addMethod( + getResetWorkspaceChangesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest, + com.google.protobuf.Empty>( + this, METHODID_RESET_WORKSPACE_CHANGES))) + .addMethod( + getFetchFileDiffMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.FetchFileDiffRequest, + com.google.cloud.dataform.v1beta1.FetchFileDiffResponse>( + this, METHODID_FETCH_FILE_DIFF))) + .addMethod( + getQueryDirectoryContentsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest, + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse>( + this, METHODID_QUERY_DIRECTORY_CONTENTS))) + .addMethod( + getMakeDirectoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.MakeDirectoryRequest, + com.google.cloud.dataform.v1beta1.MakeDirectoryResponse>( + this, METHODID_MAKE_DIRECTORY))) + .addMethod( + getRemoveDirectoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest, + com.google.protobuf.Empty>( + this, METHODID_REMOVE_DIRECTORY))) + .addMethod( + getMoveDirectoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.MoveDirectoryRequest, + com.google.cloud.dataform.v1beta1.MoveDirectoryResponse>( + this, METHODID_MOVE_DIRECTORY))) + .addMethod( + getReadFileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.ReadFileRequest, + com.google.cloud.dataform.v1beta1.ReadFileResponse>( + this, METHODID_READ_FILE))) + .addMethod( + getRemoveFileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.RemoveFileRequest, + com.google.protobuf.Empty>( + this, METHODID_REMOVE_FILE))) + .addMethod( + getMoveFileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.MoveFileRequest, + com.google.cloud.dataform.v1beta1.MoveFileResponse>( + this, METHODID_MOVE_FILE))) + .addMethod( + getWriteFileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.WriteFileRequest, + com.google.cloud.dataform.v1beta1.WriteFileResponse>( + this, METHODID_WRITE_FILE))) + .addMethod( + getListCompilationResultsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest, + com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse>( + this, METHODID_LIST_COMPILATION_RESULTS))) + .addMethod( + getGetCompilationResultMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.GetCompilationResultRequest, + com.google.cloud.dataform.v1beta1.CompilationResult>( + this, METHODID_GET_COMPILATION_RESULT))) + .addMethod( + getCreateCompilationResultMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest, + com.google.cloud.dataform.v1beta1.CompilationResult>( + this, METHODID_CREATE_COMPILATION_RESULT))) + .addMethod( + getQueryCompilationResultActionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest, + com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse>( + this, METHODID_QUERY_COMPILATION_RESULT_ACTIONS))) + .addMethod( + getListWorkflowInvocationsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest, + com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse>( + this, METHODID_LIST_WORKFLOW_INVOCATIONS))) + .addMethod( + getGetWorkflowInvocationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest, + com.google.cloud.dataform.v1beta1.WorkflowInvocation>( + this, METHODID_GET_WORKFLOW_INVOCATION))) + .addMethod( + getCreateWorkflowInvocationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest, + com.google.cloud.dataform.v1beta1.WorkflowInvocation>( + this, METHODID_CREATE_WORKFLOW_INVOCATION))) + .addMethod( + getDeleteWorkflowInvocationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_WORKFLOW_INVOCATION))) + .addMethod( + getCancelWorkflowInvocationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest, + com.google.protobuf.Empty>( + this, METHODID_CANCEL_WORKFLOW_INVOCATION))) + .addMethod( + getQueryWorkflowInvocationActionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest, + com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse>( + this, METHODID_QUERY_WORKFLOW_INVOCATION_ACTIONS))) + .build(); + } + } + + /** + *
+   * Dataform is a service to develop, create, document, test, and update curated
+   * tables in BigQuery.
+   * 
+ */ + public static final class DataformStub extends io.grpc.stub.AbstractAsyncStub { + private DataformStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataformStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataformStub(channel, callOptions); + } + + /** + *
+     * Lists Repositories in a given project and location.
+     * 
+ */ + public void listRepositories(com.google.cloud.dataform.v1beta1.ListRepositoriesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Fetches a single Repository.
+     * 
+ */ + public void getRepository(com.google.cloud.dataform.v1beta1.GetRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a new Repository in a given project and location.
+     * 
+ */ + public void createRepository(com.google.cloud.dataform.v1beta1.CreateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a single Repository.
+     * 
+ */ + public void updateRepository(com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a single Repository.
+     * 
+ */ + public void deleteRepository(com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Fetches a Repository's remote branches.
+     * 
+ */ + public void fetchRemoteBranches(com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getFetchRemoteBranchesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists Workspaces in a given Repository.
+     * 
+ */ + public void listWorkspaces(com.google.cloud.dataform.v1beta1.ListWorkspacesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListWorkspacesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Fetches a single Workspace.
+     * 
+ */ + public void getWorkspace(com.google.cloud.dataform.v1beta1.GetWorkspaceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetWorkspaceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a new Workspace in a given Repository.
+     * 
+ */ + public void createWorkspace(com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateWorkspaceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a single Workspace.
+     * 
+ */ + public void deleteWorkspace(com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteWorkspaceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Installs dependency NPM packages (inside a Workspace).
+     * 
+ */ + public void installNpmPackages(com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getInstallNpmPackagesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Pulls Git commits from the Repository's remote into a Workspace.
+     * 
+ */ + public void pullGitCommits(com.google.cloud.dataform.v1beta1.PullGitCommitsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getPullGitCommitsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Pushes Git commits from a Workspace to the Repository's remote.
+     * 
+ */ + public void pushGitCommits(com.google.cloud.dataform.v1beta1.PushGitCommitsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getPushGitCommitsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Fetches Git statuses for the files in a Workspace.
+     * 
+ */ + public void fetchFileGitStatuses(com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getFetchFileGitStatusesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Fetches Git ahead/behind against a remote branch.
+     * 
+ */ + public void fetchGitAheadBehind(com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getFetchGitAheadBehindMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Applies a Git commit for uncommitted files in a Workspace.
+     * 
+ */ + public void commitWorkspaceChanges(com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCommitWorkspaceChangesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Performs a Git reset for uncommitted files in a Workspace.
+     * 
+ */ + public void resetWorkspaceChanges(com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getResetWorkspaceChangesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Fetches Git diff for an uncommitted file in a Workspace.
+     * 
+ */ + public void fetchFileDiff(com.google.cloud.dataform.v1beta1.FetchFileDiffRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getFetchFileDiffMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns the contents of a given Workspace directory.
+     * 
+ */ + public void queryDirectoryContents(com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getQueryDirectoryContentsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a directory inside a Workspace.
+     * 
+ */ + public void makeDirectory(com.google.cloud.dataform.v1beta1.MakeDirectoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getMakeDirectoryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a directory (inside a Workspace) and all of its contents.
+     * 
+ */ + public void removeDirectory(com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRemoveDirectoryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Moves a directory (inside a Workspace), and all of its contents, to a new
+     * location.
+     * 
+ */ + public void moveDirectory(com.google.cloud.dataform.v1beta1.MoveDirectoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getMoveDirectoryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns the contents of a file (inside a Workspace).
+     * 
+ */ + public void readFile(com.google.cloud.dataform.v1beta1.ReadFileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getReadFileMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a file (inside a Workspace).
+     * 
+ */ + public void removeFile(com.google.cloud.dataform.v1beta1.RemoveFileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRemoveFileMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Moves a file (inside a Workspace) to a new location.
+     * 
+ */ + public void moveFile(com.google.cloud.dataform.v1beta1.MoveFileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getMoveFileMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Writes to a file (inside a Workspace).
+     * 
+ */ + public void writeFile(com.google.cloud.dataform.v1beta1.WriteFileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getWriteFileMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists CompilationResults in a given Repository.
+     * 
+ */ + public void listCompilationResults(com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListCompilationResultsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Fetches a single CompilationResult.
+     * 
+ */ + public void getCompilationResult(com.google.cloud.dataform.v1beta1.GetCompilationResultRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetCompilationResultMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a new CompilationResult in a given project and location.
+     * 
+ */ + public void createCompilationResult(com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateCompilationResultMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns CompilationResultActions in a given CompilationResult.
+     * 
+ */ + public void queryCompilationResultActions(com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getQueryCompilationResultActionsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists WorkflowInvocations in a given Repository.
+     * 
+ */ + public void listWorkflowInvocations(com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListWorkflowInvocationsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Fetches a single WorkflowInvocation.
+     * 
+ */ + public void getWorkflowInvocation(com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetWorkflowInvocationMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a new WorkflowInvocation in a given Repository.
+     * 
+ */ + public void createWorkflowInvocation(com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateWorkflowInvocationMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a single WorkflowInvocation.
+     * 
+ */ + public void deleteWorkflowInvocation(com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteWorkflowInvocationMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Requests cancellation of a running WorkflowInvocation.
+     * 
+ */ + public void cancelWorkflowInvocation(com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCancelWorkflowInvocationMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns WorkflowInvocationActions in a given WorkflowInvocation.
+     * 
+ */ + public void queryWorkflowInvocationActions(com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getQueryWorkflowInvocationActionsMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * Dataform is a service to develop, create, document, test, and update curated
+   * tables in BigQuery.
+   * 
+ */ + public static final class DataformBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private DataformBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataformBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataformBlockingStub(channel, callOptions); + } + + /** + *
+     * Lists Repositories in a given project and location.
+     * 
+ */ + public com.google.cloud.dataform.v1beta1.ListRepositoriesResponse listRepositories(com.google.cloud.dataform.v1beta1.ListRepositoriesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListRepositoriesMethod(), getCallOptions(), request); + } + + /** + *
+     * Fetches a single Repository.
+     * 
+ */ + public com.google.cloud.dataform.v1beta1.Repository getRepository(com.google.cloud.dataform.v1beta1.GetRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetRepositoryMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a new Repository in a given project and location.
+     * 
+ */ + public com.google.cloud.dataform.v1beta1.Repository createRepository(com.google.cloud.dataform.v1beta1.CreateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateRepositoryMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a single Repository.
+     * 
+ */ + public com.google.cloud.dataform.v1beta1.Repository updateRepository(com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateRepositoryMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a single Repository.
+     * 
+ */ + public com.google.protobuf.Empty deleteRepository(com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteRepositoryMethod(), getCallOptions(), request); + } + + /** + *
+     * Fetches a Repository's remote branches.
+     * 
+ */ + public com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse fetchRemoteBranches(com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getFetchRemoteBranchesMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists Workspaces in a given Repository.
+     * 
+ */ + public com.google.cloud.dataform.v1beta1.ListWorkspacesResponse listWorkspaces(com.google.cloud.dataform.v1beta1.ListWorkspacesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListWorkspacesMethod(), getCallOptions(), request); + } + + /** + *
+     * Fetches a single Workspace.
+     * 
+ */ + public com.google.cloud.dataform.v1beta1.Workspace getWorkspace(com.google.cloud.dataform.v1beta1.GetWorkspaceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetWorkspaceMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a new Workspace in a given Repository.
+     * 
+ */ + public com.google.cloud.dataform.v1beta1.Workspace createWorkspace(com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateWorkspaceMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a single Workspace.
+     * 
+ */ + public com.google.protobuf.Empty deleteWorkspace(com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteWorkspaceMethod(), getCallOptions(), request); + } + + /** + *
+     * Installs dependency NPM packages (inside a Workspace).
+     * 
+ */ + public com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse installNpmPackages(com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getInstallNpmPackagesMethod(), getCallOptions(), request); + } + + /** + *
+     * Pulls Git commits from the Repository's remote into a Workspace.
+     * 
+ */ + public com.google.protobuf.Empty pullGitCommits(com.google.cloud.dataform.v1beta1.PullGitCommitsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getPullGitCommitsMethod(), getCallOptions(), request); + } + + /** + *
+     * Pushes Git commits from a Workspace to the Repository's remote.
+     * 
+ */ + public com.google.protobuf.Empty pushGitCommits(com.google.cloud.dataform.v1beta1.PushGitCommitsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getPushGitCommitsMethod(), getCallOptions(), request); + } + + /** + *
+     * Fetches Git statuses for the files in a Workspace.
+     * 
+ */ + public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse fetchFileGitStatuses(com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getFetchFileGitStatusesMethod(), getCallOptions(), request); + } + + /** + *
+     * Fetches Git ahead/behind against a remote branch.
+     * 
+ */ + public com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse fetchGitAheadBehind(com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getFetchGitAheadBehindMethod(), getCallOptions(), request); + } + + /** + *
+     * Applies a Git commit for uncommitted files in a Workspace.
+     * 
+ */ + public com.google.protobuf.Empty commitWorkspaceChanges(com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCommitWorkspaceChangesMethod(), getCallOptions(), request); + } + + /** + *
+     * Performs a Git reset for uncommitted files in a Workspace.
+     * 
+ */ + public com.google.protobuf.Empty resetWorkspaceChanges(com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getResetWorkspaceChangesMethod(), getCallOptions(), request); + } + + /** + *
+     * Fetches Git diff for an uncommitted file in a Workspace.
+     * 
+ */ + public com.google.cloud.dataform.v1beta1.FetchFileDiffResponse fetchFileDiff(com.google.cloud.dataform.v1beta1.FetchFileDiffRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getFetchFileDiffMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns the contents of a given Workspace directory.
+     * 
+ */ + public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse queryDirectoryContents(com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getQueryDirectoryContentsMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a directory inside a Workspace.
+     * 
+ */ + public com.google.cloud.dataform.v1beta1.MakeDirectoryResponse makeDirectory(com.google.cloud.dataform.v1beta1.MakeDirectoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getMakeDirectoryMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a directory (inside a Workspace) and all of its contents.
+     * 
+ */ + public com.google.protobuf.Empty removeDirectory(com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRemoveDirectoryMethod(), getCallOptions(), request); + } + + /** + *
+     * Moves a directory (inside a Workspace), and all of its contents, to a new
+     * location.
+     * 
+ */ + public com.google.cloud.dataform.v1beta1.MoveDirectoryResponse moveDirectory(com.google.cloud.dataform.v1beta1.MoveDirectoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getMoveDirectoryMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns the contents of a file (inside a Workspace).
+     * 
+ */ + public com.google.cloud.dataform.v1beta1.ReadFileResponse readFile(com.google.cloud.dataform.v1beta1.ReadFileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getReadFileMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a file (inside a Workspace).
+     * 
+ */ + public com.google.protobuf.Empty removeFile(com.google.cloud.dataform.v1beta1.RemoveFileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRemoveFileMethod(), getCallOptions(), request); + } + + /** + *
+     * Moves a file (inside a Workspace) to a new location.
+     * 
+ */ + public com.google.cloud.dataform.v1beta1.MoveFileResponse moveFile(com.google.cloud.dataform.v1beta1.MoveFileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getMoveFileMethod(), getCallOptions(), request); + } + + /** + *
+     * Writes to a file (inside a Workspace).
+     * 
+ */ + public com.google.cloud.dataform.v1beta1.WriteFileResponse writeFile(com.google.cloud.dataform.v1beta1.WriteFileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getWriteFileMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists CompilationResults in a given Repository.
+     * 
+ */ + public com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse listCompilationResults(com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListCompilationResultsMethod(), getCallOptions(), request); + } + + /** + *
+     * Fetches a single CompilationResult.
+     * 
+ */ + public com.google.cloud.dataform.v1beta1.CompilationResult getCompilationResult(com.google.cloud.dataform.v1beta1.GetCompilationResultRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetCompilationResultMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a new CompilationResult in a given project and location.
+     * 
+ */ + public com.google.cloud.dataform.v1beta1.CompilationResult createCompilationResult(com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateCompilationResultMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns CompilationResultActions in a given CompilationResult.
+     * 
+ */ + public com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse queryCompilationResultActions(com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getQueryCompilationResultActionsMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists WorkflowInvocations in a given Repository.
+     * 
+ */ + public com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse listWorkflowInvocations(com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListWorkflowInvocationsMethod(), getCallOptions(), request); + } + + /** + *
+     * Fetches a single WorkflowInvocation.
+     * 
+ */ + public com.google.cloud.dataform.v1beta1.WorkflowInvocation getWorkflowInvocation(com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetWorkflowInvocationMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a new WorkflowInvocation in a given Repository.
+     * 
+ */ + public com.google.cloud.dataform.v1beta1.WorkflowInvocation createWorkflowInvocation(com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateWorkflowInvocationMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a single WorkflowInvocation.
+     * 
+ */ + public com.google.protobuf.Empty deleteWorkflowInvocation(com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteWorkflowInvocationMethod(), getCallOptions(), request); + } + + /** + *
+     * Requests cancellation of a running WorkflowInvocation.
+     * 
+ */ + public com.google.protobuf.Empty cancelWorkflowInvocation(com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCancelWorkflowInvocationMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns WorkflowInvocationActions in a given WorkflowInvocation.
+     * 
+ */ + public com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse queryWorkflowInvocationActions(com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getQueryWorkflowInvocationActionsMethod(), getCallOptions(), request); + } + } + + /** + *
+   * Dataform is a service to develop, create, document, test, and update curated
+   * tables in BigQuery.
+   * 
+ */ + public static final class DataformFutureStub extends io.grpc.stub.AbstractFutureStub { + private DataformFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataformFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataformFutureStub(channel, callOptions); + } + + /** + *
+     * Lists Repositories in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listRepositories( + com.google.cloud.dataform.v1beta1.ListRepositoriesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request); + } + + /** + *
+     * Fetches a single Repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getRepository( + com.google.cloud.dataform.v1beta1.GetRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a new Repository in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createRepository( + com.google.cloud.dataform.v1beta1.CreateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a single Repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateRepository( + com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a single Repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteRepository( + com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request); + } + + /** + *
+     * Fetches a Repository's remote branches.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture fetchRemoteBranches( + com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getFetchRemoteBranchesMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists Workspaces in a given Repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listWorkspaces( + com.google.cloud.dataform.v1beta1.ListWorkspacesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListWorkspacesMethod(), getCallOptions()), request); + } + + /** + *
+     * Fetches a single Workspace.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getWorkspace( + com.google.cloud.dataform.v1beta1.GetWorkspaceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetWorkspaceMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a new Workspace in a given Repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createWorkspace( + com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateWorkspaceMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a single Workspace.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteWorkspace( + com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteWorkspaceMethod(), getCallOptions()), request); + } + + /** + *
+     * Installs dependency NPM packages (inside a Workspace).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture installNpmPackages( + com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getInstallNpmPackagesMethod(), getCallOptions()), request); + } + + /** + *
+     * Pulls Git commits from the Repository's remote into a Workspace.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture pullGitCommits( + com.google.cloud.dataform.v1beta1.PullGitCommitsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getPullGitCommitsMethod(), getCallOptions()), request); + } + + /** + *
+     * Pushes Git commits from a Workspace to the Repository's remote.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture pushGitCommits( + com.google.cloud.dataform.v1beta1.PushGitCommitsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getPushGitCommitsMethod(), getCallOptions()), request); + } + + /** + *
+     * Fetches Git statuses for the files in a Workspace.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture fetchFileGitStatuses( + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getFetchFileGitStatusesMethod(), getCallOptions()), request); + } + + /** + *
+     * Fetches Git ahead/behind against a remote branch.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture fetchGitAheadBehind( + com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getFetchGitAheadBehindMethod(), getCallOptions()), request); + } + + /** + *
+     * Applies a Git commit for uncommitted files in a Workspace.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture commitWorkspaceChanges( + com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCommitWorkspaceChangesMethod(), getCallOptions()), request); + } + + /** + *
+     * Performs a Git reset for uncommitted files in a Workspace.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture resetWorkspaceChanges( + com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getResetWorkspaceChangesMethod(), getCallOptions()), request); + } + + /** + *
+     * Fetches Git diff for an uncommitted file in a Workspace.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture fetchFileDiff( + com.google.cloud.dataform.v1beta1.FetchFileDiffRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getFetchFileDiffMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns the contents of a given Workspace directory.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture queryDirectoryContents( + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getQueryDirectoryContentsMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a directory inside a Workspace.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture makeDirectory( + com.google.cloud.dataform.v1beta1.MakeDirectoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getMakeDirectoryMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a directory (inside a Workspace) and all of its contents.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture removeDirectory( + com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRemoveDirectoryMethod(), getCallOptions()), request); + } + + /** + *
+     * Moves a directory (inside a Workspace), and all of its contents, to a new
+     * location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture moveDirectory( + com.google.cloud.dataform.v1beta1.MoveDirectoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getMoveDirectoryMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns the contents of a file (inside a Workspace).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture readFile( + com.google.cloud.dataform.v1beta1.ReadFileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getReadFileMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a file (inside a Workspace).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture removeFile( + com.google.cloud.dataform.v1beta1.RemoveFileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRemoveFileMethod(), getCallOptions()), request); + } + + /** + *
+     * Moves a file (inside a Workspace) to a new location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture moveFile( + com.google.cloud.dataform.v1beta1.MoveFileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getMoveFileMethod(), getCallOptions()), request); + } + + /** + *
+     * Writes to a file (inside a Workspace).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture writeFile( + com.google.cloud.dataform.v1beta1.WriteFileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getWriteFileMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists CompilationResults in a given Repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listCompilationResults( + com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListCompilationResultsMethod(), getCallOptions()), request); + } + + /** + *
+     * Fetches a single CompilationResult.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getCompilationResult( + com.google.cloud.dataform.v1beta1.GetCompilationResultRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetCompilationResultMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a new CompilationResult in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createCompilationResult( + com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateCompilationResultMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns CompilationResultActions in a given CompilationResult.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture queryCompilationResultActions( + com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getQueryCompilationResultActionsMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists WorkflowInvocations in a given Repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listWorkflowInvocations( + com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListWorkflowInvocationsMethod(), getCallOptions()), request); + } + + /** + *
+     * Fetches a single WorkflowInvocation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getWorkflowInvocation( + com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetWorkflowInvocationMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a new WorkflowInvocation in a given Repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createWorkflowInvocation( + com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateWorkflowInvocationMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a single WorkflowInvocation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteWorkflowInvocation( + com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteWorkflowInvocationMethod(), getCallOptions()), request); + } + + /** + *
+     * Requests cancellation of a running WorkflowInvocation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture cancelWorkflowInvocation( + com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCancelWorkflowInvocationMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns WorkflowInvocationActions in a given WorkflowInvocation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture queryWorkflowInvocationActions( + com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getQueryWorkflowInvocationActionsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_LIST_REPOSITORIES = 0; + private static final int METHODID_GET_REPOSITORY = 1; + private static final int METHODID_CREATE_REPOSITORY = 2; + private static final int METHODID_UPDATE_REPOSITORY = 3; + private static final int METHODID_DELETE_REPOSITORY = 4; + private static final int METHODID_FETCH_REMOTE_BRANCHES = 5; + private static final int METHODID_LIST_WORKSPACES = 6; + private static final int METHODID_GET_WORKSPACE = 7; + private static final int METHODID_CREATE_WORKSPACE = 8; + private static final int METHODID_DELETE_WORKSPACE = 9; + private static final int METHODID_INSTALL_NPM_PACKAGES = 10; + private static final int METHODID_PULL_GIT_COMMITS = 11; + private static final int METHODID_PUSH_GIT_COMMITS = 12; + private static final int METHODID_FETCH_FILE_GIT_STATUSES = 13; + private static final int METHODID_FETCH_GIT_AHEAD_BEHIND = 14; + private static final int METHODID_COMMIT_WORKSPACE_CHANGES = 15; + private static final int METHODID_RESET_WORKSPACE_CHANGES = 16; + private static final int METHODID_FETCH_FILE_DIFF = 17; + private static final int METHODID_QUERY_DIRECTORY_CONTENTS = 18; + private static final int METHODID_MAKE_DIRECTORY = 19; + private static final int METHODID_REMOVE_DIRECTORY = 20; + private static final int METHODID_MOVE_DIRECTORY = 21; + private static final int METHODID_READ_FILE = 22; + private static final int METHODID_REMOVE_FILE = 23; + private static final int METHODID_MOVE_FILE = 24; + private static final int METHODID_WRITE_FILE = 25; + private static final int METHODID_LIST_COMPILATION_RESULTS = 26; + private static final int METHODID_GET_COMPILATION_RESULT = 27; + private static final int METHODID_CREATE_COMPILATION_RESULT = 28; + private static final int METHODID_QUERY_COMPILATION_RESULT_ACTIONS = 29; + private static final int METHODID_LIST_WORKFLOW_INVOCATIONS = 30; + private static final int METHODID_GET_WORKFLOW_INVOCATION = 31; + private static final int METHODID_CREATE_WORKFLOW_INVOCATION = 32; + private static final int METHODID_DELETE_WORKFLOW_INVOCATION = 33; + private static final int METHODID_CANCEL_WORKFLOW_INVOCATION = 34; + private static final int METHODID_QUERY_WORKFLOW_INVOCATION_ACTIONS = 35; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final DataformImplBase serviceImpl; + private final int methodId; + + MethodHandlers(DataformImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_LIST_REPOSITORIES: + serviceImpl.listRepositories((com.google.cloud.dataform.v1beta1.ListRepositoriesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_REPOSITORY: + serviceImpl.getRepository((com.google.cloud.dataform.v1beta1.GetRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_REPOSITORY: + serviceImpl.createRepository((com.google.cloud.dataform.v1beta1.CreateRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_REPOSITORY: + serviceImpl.updateRepository((com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_REPOSITORY: + serviceImpl.deleteRepository((com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_FETCH_REMOTE_BRANCHES: + serviceImpl.fetchRemoteBranches((com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_WORKSPACES: + serviceImpl.listWorkspaces((com.google.cloud.dataform.v1beta1.ListWorkspacesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_WORKSPACE: + serviceImpl.getWorkspace((com.google.cloud.dataform.v1beta1.GetWorkspaceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_WORKSPACE: + serviceImpl.createWorkspace((com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_WORKSPACE: + serviceImpl.deleteWorkspace((com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_INSTALL_NPM_PACKAGES: + serviceImpl.installNpmPackages((com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_PULL_GIT_COMMITS: + serviceImpl.pullGitCommits((com.google.cloud.dataform.v1beta1.PullGitCommitsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_PUSH_GIT_COMMITS: + serviceImpl.pushGitCommits((com.google.cloud.dataform.v1beta1.PushGitCommitsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_FETCH_FILE_GIT_STATUSES: + serviceImpl.fetchFileGitStatuses((com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_FETCH_GIT_AHEAD_BEHIND: + serviceImpl.fetchGitAheadBehind((com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_COMMIT_WORKSPACE_CHANGES: + serviceImpl.commitWorkspaceChanges((com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RESET_WORKSPACE_CHANGES: + serviceImpl.resetWorkspaceChanges((com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_FETCH_FILE_DIFF: + serviceImpl.fetchFileDiff((com.google.cloud.dataform.v1beta1.FetchFileDiffRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_QUERY_DIRECTORY_CONTENTS: + serviceImpl.queryDirectoryContents((com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_MAKE_DIRECTORY: + serviceImpl.makeDirectory((com.google.cloud.dataform.v1beta1.MakeDirectoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_REMOVE_DIRECTORY: + serviceImpl.removeDirectory((com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_MOVE_DIRECTORY: + serviceImpl.moveDirectory((com.google.cloud.dataform.v1beta1.MoveDirectoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_READ_FILE: + serviceImpl.readFile((com.google.cloud.dataform.v1beta1.ReadFileRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_REMOVE_FILE: + serviceImpl.removeFile((com.google.cloud.dataform.v1beta1.RemoveFileRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_MOVE_FILE: + serviceImpl.moveFile((com.google.cloud.dataform.v1beta1.MoveFileRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_WRITE_FILE: + serviceImpl.writeFile((com.google.cloud.dataform.v1beta1.WriteFileRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_COMPILATION_RESULTS: + serviceImpl.listCompilationResults((com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_COMPILATION_RESULT: + serviceImpl.getCompilationResult((com.google.cloud.dataform.v1beta1.GetCompilationResultRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_COMPILATION_RESULT: + serviceImpl.createCompilationResult((com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_QUERY_COMPILATION_RESULT_ACTIONS: + serviceImpl.queryCompilationResultActions((com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_WORKFLOW_INVOCATIONS: + serviceImpl.listWorkflowInvocations((com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_WORKFLOW_INVOCATION: + serviceImpl.getWorkflowInvocation((com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_WORKFLOW_INVOCATION: + serviceImpl.createWorkflowInvocation((com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_WORKFLOW_INVOCATION: + serviceImpl.deleteWorkflowInvocation((com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CANCEL_WORKFLOW_INVOCATION: + serviceImpl.cancelWorkflowInvocation((com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_QUERY_WORKFLOW_INVOCATION_ACTIONS: + serviceImpl.queryWorkflowInvocationActions((com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class DataformBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + DataformBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("Dataform"); + } + } + + private static final class DataformFileDescriptorSupplier + extends DataformBaseDescriptorSupplier { + DataformFileDescriptorSupplier() {} + } + + private static final class DataformMethodDescriptorSupplier + extends DataformBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + DataformMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (DataformGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new DataformFileDescriptorSupplier()) + .addMethod(getListRepositoriesMethod()) + .addMethod(getGetRepositoryMethod()) + .addMethod(getCreateRepositoryMethod()) + .addMethod(getUpdateRepositoryMethod()) + .addMethod(getDeleteRepositoryMethod()) + .addMethod(getFetchRemoteBranchesMethod()) + .addMethod(getListWorkspacesMethod()) + .addMethod(getGetWorkspaceMethod()) + .addMethod(getCreateWorkspaceMethod()) + .addMethod(getDeleteWorkspaceMethod()) + .addMethod(getInstallNpmPackagesMethod()) + .addMethod(getPullGitCommitsMethod()) + .addMethod(getPushGitCommitsMethod()) + .addMethod(getFetchFileGitStatusesMethod()) + .addMethod(getFetchGitAheadBehindMethod()) + .addMethod(getCommitWorkspaceChangesMethod()) + .addMethod(getResetWorkspaceChangesMethod()) + .addMethod(getFetchFileDiffMethod()) + .addMethod(getQueryDirectoryContentsMethod()) + .addMethod(getMakeDirectoryMethod()) + .addMethod(getRemoveDirectoryMethod()) + .addMethod(getMoveDirectoryMethod()) + .addMethod(getReadFileMethod()) + .addMethod(getRemoveFileMethod()) + .addMethod(getMoveFileMethod()) + .addMethod(getWriteFileMethod()) + .addMethod(getListCompilationResultsMethod()) + .addMethod(getGetCompilationResultMethod()) + .addMethod(getCreateCompilationResultMethod()) + .addMethod(getQueryCompilationResultActionsMethod()) + .addMethod(getListWorkflowInvocationsMethod()) + .addMethod(getGetWorkflowInvocationMethod()) + .addMethod(getCreateWorkflowInvocationMethod()) + .addMethod(getDeleteWorkflowInvocationMethod()) + .addMethod(getCancelWorkflowInvocationMethod()) + .addMethod(getQueryWorkflowInvocationActionsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CancelWorkflowInvocationRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CancelWorkflowInvocationRequest.java new file mode 100644 index 0000000..d1d309d --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CancelWorkflowInvocationRequest.java @@ -0,0 +1,595 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * `CancelWorkflowInvocation` request message.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest} + */ +public final class CancelWorkflowInvocationRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest) + CancelWorkflowInvocationRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use CancelWorkflowInvocationRequest.newBuilder() to construct. + private CancelWorkflowInvocationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private CancelWorkflowInvocationRequest() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CancelWorkflowInvocationRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private CancelWorkflowInvocationRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CancelWorkflowInvocationRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CancelWorkflowInvocationRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest.class, com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + *
+   * Required. The workflow invocation resource's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + *
+   * Required. The workflow invocation resource's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest other = (com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * `CancelWorkflowInvocation` request message.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest) + com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CancelWorkflowInvocationRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CancelWorkflowInvocationRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest.class, com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CancelWorkflowInvocationRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest build() { + com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest buildPartial() { + com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest result = new com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest(this); + result.name_ = name_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest) { + return mergeFrom((com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest other) { + if (other == com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object name_ = ""; + /** + *
+     * Required. The workflow invocation resource's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The workflow invocation resource's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The workflow invocation resource's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. The workflow invocation resource's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + *
+     * Required. The workflow invocation resource's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest) + private static final com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest(); + } + + public static com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CancelWorkflowInvocationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CancelWorkflowInvocationRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CancelWorkflowInvocationRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CancelWorkflowInvocationRequestOrBuilder.java new file mode 100644 index 0000000..a79d35f --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CancelWorkflowInvocationRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface CancelWorkflowInvocationRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The workflow invocation resource's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The workflow invocation resource's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CommitAuthor.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CommitAuthor.java new file mode 100644 index 0000000..6b768c1 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CommitAuthor.java @@ -0,0 +1,761 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * Represents the author of a Git commit.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.CommitAuthor} + */ +public final class CommitAuthor extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.CommitAuthor) + CommitAuthorOrBuilder { +private static final long serialVersionUID = 0L; + // Use CommitAuthor.newBuilder() to construct. + private CommitAuthor(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private CommitAuthor() { + name_ = ""; + emailAddress_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CommitAuthor(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private CommitAuthor( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + emailAddress_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CommitAuthor_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CommitAuthor_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.CommitAuthor.class, com.google.cloud.dataform.v1beta1.CommitAuthor.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + *
+   * Required. The commit author's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + *
+   * Required. The commit author's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int EMAIL_ADDRESS_FIELD_NUMBER = 2; + private volatile java.lang.Object emailAddress_; + /** + *
+   * Required. The commit author's email address.
+   * 
+ * + * string email_address = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The emailAddress. + */ + @java.lang.Override + public java.lang.String getEmailAddress() { + java.lang.Object ref = emailAddress_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + emailAddress_ = s; + return s; + } + } + /** + *
+   * Required. The commit author's email address.
+   * 
+ * + * string email_address = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for emailAddress. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getEmailAddressBytes() { + java.lang.Object ref = emailAddress_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + emailAddress_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(emailAddress_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, emailAddress_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(emailAddress_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, emailAddress_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.CommitAuthor)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.CommitAuthor other = (com.google.cloud.dataform.v1beta1.CommitAuthor) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getEmailAddress() + .equals(other.getEmailAddress())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + EMAIL_ADDRESS_FIELD_NUMBER; + hash = (53 * hash) + getEmailAddress().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.CommitAuthor parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.CommitAuthor parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CommitAuthor parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.CommitAuthor parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CommitAuthor parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.CommitAuthor parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CommitAuthor parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.CommitAuthor parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CommitAuthor parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.CommitAuthor parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CommitAuthor parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.CommitAuthor parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.CommitAuthor prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * Represents the author of a Git commit.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.CommitAuthor} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.CommitAuthor) + com.google.cloud.dataform.v1beta1.CommitAuthorOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CommitAuthor_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CommitAuthor_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.CommitAuthor.class, com.google.cloud.dataform.v1beta1.CommitAuthor.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.CommitAuthor.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + + emailAddress_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CommitAuthor_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CommitAuthor getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.CommitAuthor.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CommitAuthor build() { + com.google.cloud.dataform.v1beta1.CommitAuthor result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CommitAuthor buildPartial() { + com.google.cloud.dataform.v1beta1.CommitAuthor result = new com.google.cloud.dataform.v1beta1.CommitAuthor(this); + result.name_ = name_; + result.emailAddress_ = emailAddress_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.CommitAuthor) { + return mergeFrom((com.google.cloud.dataform.v1beta1.CommitAuthor)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.CommitAuthor other) { + if (other == com.google.cloud.dataform.v1beta1.CommitAuthor.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + if (!other.getEmailAddress().isEmpty()) { + emailAddress_ = other.emailAddress_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.CommitAuthor parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.CommitAuthor) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object name_ = ""; + /** + *
+     * Required. The commit author's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The commit author's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The commit author's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. The commit author's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + *
+     * Required. The commit author's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + + private java.lang.Object emailAddress_ = ""; + /** + *
+     * Required. The commit author's email address.
+     * 
+ * + * string email_address = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The emailAddress. + */ + public java.lang.String getEmailAddress() { + java.lang.Object ref = emailAddress_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + emailAddress_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The commit author's email address.
+     * 
+ * + * string email_address = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for emailAddress. + */ + public com.google.protobuf.ByteString + getEmailAddressBytes() { + java.lang.Object ref = emailAddress_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + emailAddress_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The commit author's email address.
+     * 
+ * + * string email_address = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param value The emailAddress to set. + * @return This builder for chaining. + */ + public Builder setEmailAddress( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + emailAddress_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. The commit author's email address.
+     * 
+ * + * string email_address = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return This builder for chaining. + */ + public Builder clearEmailAddress() { + + emailAddress_ = getDefaultInstance().getEmailAddress(); + onChanged(); + return this; + } + /** + *
+     * Required. The commit author's email address.
+     * 
+ * + * string email_address = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param value The bytes for emailAddress to set. + * @return This builder for chaining. + */ + public Builder setEmailAddressBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + emailAddress_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.CommitAuthor) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.CommitAuthor) + private static final com.google.cloud.dataform.v1beta1.CommitAuthor DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.CommitAuthor(); + } + + public static com.google.cloud.dataform.v1beta1.CommitAuthor getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CommitAuthor parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CommitAuthor(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CommitAuthor getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CommitAuthorOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CommitAuthorOrBuilder.java new file mode 100644 index 0000000..1ee16f5 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CommitAuthorOrBuilder.java @@ -0,0 +1,49 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface CommitAuthorOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.CommitAuthor) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The commit author's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The commit author's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + *
+   * Required. The commit author's email address.
+   * 
+ * + * string email_address = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The emailAddress. + */ + java.lang.String getEmailAddress(); + /** + *
+   * Required. The commit author's email address.
+   * 
+ * + * string email_address = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for emailAddress. + */ + com.google.protobuf.ByteString + getEmailAddressBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CommitWorkspaceChangesRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CommitWorkspaceChangesRequest.java new file mode 100644 index 0000000..6db307c --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CommitWorkspaceChangesRequest.java @@ -0,0 +1,1257 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * `CommitWorkspaceChanges` request message.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest} + */ +public final class CommitWorkspaceChangesRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest) + CommitWorkspaceChangesRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use CommitWorkspaceChangesRequest.newBuilder() to construct. + private CommitWorkspaceChangesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private CommitWorkspaceChangesRequest() { + name_ = ""; + commitMessage_ = ""; + paths_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CommitWorkspaceChangesRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private CommitWorkspaceChangesRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + commitMessage_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + paths_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + paths_.add(s); + break; + } + case 34: { + com.google.cloud.dataform.v1beta1.CommitAuthor.Builder subBuilder = null; + if (author_ != null) { + subBuilder = author_.toBuilder(); + } + author_ = input.readMessage(com.google.cloud.dataform.v1beta1.CommitAuthor.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(author_); + author_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + paths_ = paths_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CommitWorkspaceChangesRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CommitWorkspaceChangesRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest.class, com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int AUTHOR_FIELD_NUMBER = 4; + private com.google.cloud.dataform.v1beta1.CommitAuthor author_; + /** + *
+   * Required. The commit's author.
+   * 
+ * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the author field is set. + */ + @java.lang.Override + public boolean hasAuthor() { + return author_ != null; + } + /** + *
+   * Required. The commit's author.
+   * 
+ * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return The author. + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CommitAuthor getAuthor() { + return author_ == null ? com.google.cloud.dataform.v1beta1.CommitAuthor.getDefaultInstance() : author_; + } + /** + *
+   * Required. The commit's author.
+   * 
+ * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CommitAuthorOrBuilder getAuthorOrBuilder() { + return getAuthor(); + } + + public static final int COMMIT_MESSAGE_FIELD_NUMBER = 2; + private volatile java.lang.Object commitMessage_; + /** + *
+   * Optional. The commit's message.
+   * 
+ * + * string commit_message = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The commitMessage. + */ + @java.lang.Override + public java.lang.String getCommitMessage() { + java.lang.Object ref = commitMessage_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + commitMessage_ = s; + return s; + } + } + /** + *
+   * Optional. The commit's message.
+   * 
+ * + * string commit_message = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for commitMessage. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getCommitMessageBytes() { + java.lang.Object ref = commitMessage_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + commitMessage_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PATHS_FIELD_NUMBER = 3; + private com.google.protobuf.LazyStringList paths_; + /** + *
+   * Optional. Full file paths to commit including filename, rooted at workspace root. If
+   * left empty, all files will be committed.
+   * 
+ * + * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return A list containing the paths. + */ + public com.google.protobuf.ProtocolStringList + getPathsList() { + return paths_; + } + /** + *
+   * Optional. Full file paths to commit including filename, rooted at workspace root. If
+   * left empty, all files will be committed.
+   * 
+ * + * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The count of paths. + */ + public int getPathsCount() { + return paths_.size(); + } + /** + *
+   * Optional. Full file paths to commit including filename, rooted at workspace root. If
+   * left empty, all files will be committed.
+   * 
+ * + * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param index The index of the element to return. + * @return The paths at the given index. + */ + public java.lang.String getPaths(int index) { + return paths_.get(index); + } + /** + *
+   * Optional. Full file paths to commit including filename, rooted at workspace root. If
+   * left empty, all files will be committed.
+   * 
+ * + * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param index The index of the value to return. + * @return The bytes of the paths at the given index. + */ + public com.google.protobuf.ByteString + getPathsBytes(int index) { + return paths_.getByteString(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(commitMessage_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, commitMessage_); + } + for (int i = 0; i < paths_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, paths_.getRaw(i)); + } + if (author_ != null) { + output.writeMessage(4, getAuthor()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(commitMessage_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, commitMessage_); + } + { + int dataSize = 0; + for (int i = 0; i < paths_.size(); i++) { + dataSize += computeStringSizeNoTag(paths_.getRaw(i)); + } + size += dataSize; + size += 1 * getPathsList().size(); + } + if (author_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getAuthor()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest other = (com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest) obj; + + if (!getName() + .equals(other.getName())) return false; + if (hasAuthor() != other.hasAuthor()) return false; + if (hasAuthor()) { + if (!getAuthor() + .equals(other.getAuthor())) return false; + } + if (!getCommitMessage() + .equals(other.getCommitMessage())) return false; + if (!getPathsList() + .equals(other.getPathsList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + if (hasAuthor()) { + hash = (37 * hash) + AUTHOR_FIELD_NUMBER; + hash = (53 * hash) + getAuthor().hashCode(); + } + hash = (37 * hash) + COMMIT_MESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getCommitMessage().hashCode(); + if (getPathsCount() > 0) { + hash = (37 * hash) + PATHS_FIELD_NUMBER; + hash = (53 * hash) + getPathsList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * `CommitWorkspaceChanges` request message.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest) + com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CommitWorkspaceChangesRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CommitWorkspaceChangesRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest.class, com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + + if (authorBuilder_ == null) { + author_ = null; + } else { + author_ = null; + authorBuilder_ = null; + } + commitMessage_ = ""; + + paths_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CommitWorkspaceChangesRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest build() { + com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest buildPartial() { + com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest result = new com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest(this); + int from_bitField0_ = bitField0_; + result.name_ = name_; + if (authorBuilder_ == null) { + result.author_ = author_; + } else { + result.author_ = authorBuilder_.build(); + } + result.commitMessage_ = commitMessage_; + if (((bitField0_ & 0x00000001) != 0)) { + paths_ = paths_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.paths_ = paths_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest) { + return mergeFrom((com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest other) { + if (other == com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + if (other.hasAuthor()) { + mergeAuthor(other.getAuthor()); + } + if (!other.getCommitMessage().isEmpty()) { + commitMessage_ = other.commitMessage_; + onChanged(); + } + if (!other.paths_.isEmpty()) { + if (paths_.isEmpty()) { + paths_ = other.paths_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensurePathsIsMutable(); + paths_.addAll(other.paths_); + } + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private java.lang.Object name_ = ""; + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + + private com.google.cloud.dataform.v1beta1.CommitAuthor author_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.CommitAuthor, com.google.cloud.dataform.v1beta1.CommitAuthor.Builder, com.google.cloud.dataform.v1beta1.CommitAuthorOrBuilder> authorBuilder_; + /** + *
+     * Required. The commit's author.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the author field is set. + */ + public boolean hasAuthor() { + return authorBuilder_ != null || author_ != null; + } + /** + *
+     * Required. The commit's author.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return The author. + */ + public com.google.cloud.dataform.v1beta1.CommitAuthor getAuthor() { + if (authorBuilder_ == null) { + return author_ == null ? com.google.cloud.dataform.v1beta1.CommitAuthor.getDefaultInstance() : author_; + } else { + return authorBuilder_.getMessage(); + } + } + /** + *
+     * Required. The commit's author.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder setAuthor(com.google.cloud.dataform.v1beta1.CommitAuthor value) { + if (authorBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + author_ = value; + onChanged(); + } else { + authorBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * Required. The commit's author.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder setAuthor( + com.google.cloud.dataform.v1beta1.CommitAuthor.Builder builderForValue) { + if (authorBuilder_ == null) { + author_ = builderForValue.build(); + onChanged(); + } else { + authorBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * Required. The commit's author.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder mergeAuthor(com.google.cloud.dataform.v1beta1.CommitAuthor value) { + if (authorBuilder_ == null) { + if (author_ != null) { + author_ = + com.google.cloud.dataform.v1beta1.CommitAuthor.newBuilder(author_).mergeFrom(value).buildPartial(); + } else { + author_ = value; + } + onChanged(); + } else { + authorBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * Required. The commit's author.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder clearAuthor() { + if (authorBuilder_ == null) { + author_ = null; + onChanged(); + } else { + author_ = null; + authorBuilder_ = null; + } + + return this; + } + /** + *
+     * Required. The commit's author.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + */ + public com.google.cloud.dataform.v1beta1.CommitAuthor.Builder getAuthorBuilder() { + + onChanged(); + return getAuthorFieldBuilder().getBuilder(); + } + /** + *
+     * Required. The commit's author.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + */ + public com.google.cloud.dataform.v1beta1.CommitAuthorOrBuilder getAuthorOrBuilder() { + if (authorBuilder_ != null) { + return authorBuilder_.getMessageOrBuilder(); + } else { + return author_ == null ? + com.google.cloud.dataform.v1beta1.CommitAuthor.getDefaultInstance() : author_; + } + } + /** + *
+     * Required. The commit's author.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.CommitAuthor, com.google.cloud.dataform.v1beta1.CommitAuthor.Builder, com.google.cloud.dataform.v1beta1.CommitAuthorOrBuilder> + getAuthorFieldBuilder() { + if (authorBuilder_ == null) { + authorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.CommitAuthor, com.google.cloud.dataform.v1beta1.CommitAuthor.Builder, com.google.cloud.dataform.v1beta1.CommitAuthorOrBuilder>( + getAuthor(), + getParentForChildren(), + isClean()); + author_ = null; + } + return authorBuilder_; + } + + private java.lang.Object commitMessage_ = ""; + /** + *
+     * Optional. The commit's message.
+     * 
+ * + * string commit_message = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The commitMessage. + */ + public java.lang.String getCommitMessage() { + java.lang.Object ref = commitMessage_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + commitMessage_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Optional. The commit's message.
+     * 
+ * + * string commit_message = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for commitMessage. + */ + public com.google.protobuf.ByteString + getCommitMessageBytes() { + java.lang.Object ref = commitMessage_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + commitMessage_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Optional. The commit's message.
+     * 
+ * + * string commit_message = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The commitMessage to set. + * @return This builder for chaining. + */ + public Builder setCommitMessage( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + commitMessage_ = value; + onChanged(); + return this; + } + /** + *
+     * Optional. The commit's message.
+     * 
+ * + * string commit_message = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearCommitMessage() { + + commitMessage_ = getDefaultInstance().getCommitMessage(); + onChanged(); + return this; + } + /** + *
+     * Optional. The commit's message.
+     * 
+ * + * string commit_message = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The bytes for commitMessage to set. + * @return This builder for chaining. + */ + public Builder setCommitMessageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + commitMessage_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList paths_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensurePathsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + paths_ = new com.google.protobuf.LazyStringArrayList(paths_); + bitField0_ |= 0x00000001; + } + } + /** + *
+     * Optional. Full file paths to commit including filename, rooted at workspace root. If
+     * left empty, all files will be committed.
+     * 
+ * + * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return A list containing the paths. + */ + public com.google.protobuf.ProtocolStringList + getPathsList() { + return paths_.getUnmodifiableView(); + } + /** + *
+     * Optional. Full file paths to commit including filename, rooted at workspace root. If
+     * left empty, all files will be committed.
+     * 
+ * + * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The count of paths. + */ + public int getPathsCount() { + return paths_.size(); + } + /** + *
+     * Optional. Full file paths to commit including filename, rooted at workspace root. If
+     * left empty, all files will be committed.
+     * 
+ * + * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param index The index of the element to return. + * @return The paths at the given index. + */ + public java.lang.String getPaths(int index) { + return paths_.get(index); + } + /** + *
+     * Optional. Full file paths to commit including filename, rooted at workspace root. If
+     * left empty, all files will be committed.
+     * 
+ * + * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param index The index of the value to return. + * @return The bytes of the paths at the given index. + */ + public com.google.protobuf.ByteString + getPathsBytes(int index) { + return paths_.getByteString(index); + } + /** + *
+     * Optional. Full file paths to commit including filename, rooted at workspace root. If
+     * left empty, all files will be committed.
+     * 
+ * + * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param index The index to set the value at. + * @param value The paths to set. + * @return This builder for chaining. + */ + public Builder setPaths( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensurePathsIsMutable(); + paths_.set(index, value); + onChanged(); + return this; + } + /** + *
+     * Optional. Full file paths to commit including filename, rooted at workspace root. If
+     * left empty, all files will be committed.
+     * 
+ * + * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The paths to add. + * @return This builder for chaining. + */ + public Builder addPaths( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensurePathsIsMutable(); + paths_.add(value); + onChanged(); + return this; + } + /** + *
+     * Optional. Full file paths to commit including filename, rooted at workspace root. If
+     * left empty, all files will be committed.
+     * 
+ * + * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param values The paths to add. + * @return This builder for chaining. + */ + public Builder addAllPaths( + java.lang.Iterable values) { + ensurePathsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, paths_); + onChanged(); + return this; + } + /** + *
+     * Optional. Full file paths to commit including filename, rooted at workspace root. If
+     * left empty, all files will be committed.
+     * 
+ * + * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearPaths() { + paths_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+     * Optional. Full file paths to commit including filename, rooted at workspace root. If
+     * left empty, all files will be committed.
+     * 
+ * + * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The bytes of the paths to add. + * @return This builder for chaining. + */ + public Builder addPathsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensurePathsIsMutable(); + paths_.add(value); + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest) + private static final com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest(); + } + + public static com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CommitWorkspaceChangesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CommitWorkspaceChangesRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CommitWorkspaceChangesRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CommitWorkspaceChangesRequestOrBuilder.java new file mode 100644 index 0000000..875b77f --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CommitWorkspaceChangesRequestOrBuilder.java @@ -0,0 +1,121 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface CommitWorkspaceChangesRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + *
+   * Required. The commit's author.
+   * 
+ * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the author field is set. + */ + boolean hasAuthor(); + /** + *
+   * Required. The commit's author.
+   * 
+ * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return The author. + */ + com.google.cloud.dataform.v1beta1.CommitAuthor getAuthor(); + /** + *
+   * Required. The commit's author.
+   * 
+ * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.cloud.dataform.v1beta1.CommitAuthorOrBuilder getAuthorOrBuilder(); + + /** + *
+   * Optional. The commit's message.
+   * 
+ * + * string commit_message = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The commitMessage. + */ + java.lang.String getCommitMessage(); + /** + *
+   * Optional. The commit's message.
+   * 
+ * + * string commit_message = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for commitMessage. + */ + com.google.protobuf.ByteString + getCommitMessageBytes(); + + /** + *
+   * Optional. Full file paths to commit including filename, rooted at workspace root. If
+   * left empty, all files will be committed.
+   * 
+ * + * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return A list containing the paths. + */ + java.util.List + getPathsList(); + /** + *
+   * Optional. Full file paths to commit including filename, rooted at workspace root. If
+   * left empty, all files will be committed.
+   * 
+ * + * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The count of paths. + */ + int getPathsCount(); + /** + *
+   * Optional. Full file paths to commit including filename, rooted at workspace root. If
+   * left empty, all files will be committed.
+   * 
+ * + * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param index The index of the element to return. + * @return The paths at the given index. + */ + java.lang.String getPaths(int index); + /** + *
+   * Optional. Full file paths to commit including filename, rooted at workspace root. If
+   * left empty, all files will be committed.
+   * 
+ * + * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param index The index of the value to return. + * @return The bytes of the paths at the given index. + */ + com.google.protobuf.ByteString + getPathsBytes(int index); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CompilationResult.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CompilationResult.java new file mode 100644 index 0000000..348686f --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CompilationResult.java @@ -0,0 +1,5436 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * Represents the result of compiling a Dataform project.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.CompilationResult} + */ +public final class CompilationResult extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.CompilationResult) + CompilationResultOrBuilder { +private static final long serialVersionUID = 0L; + // Use CompilationResult.newBuilder() to construct. + private CompilationResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private CompilationResult() { + name_ = ""; + dataformCoreVersion_ = ""; + compilationErrors_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CompilationResult(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private CompilationResult( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + sourceCase_ = 2; + source_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + sourceCase_ = 3; + source_ = s; + break; + } + case 34: { + com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig.Builder subBuilder = null; + if (codeCompilationConfig_ != null) { + subBuilder = codeCompilationConfig_.toBuilder(); + } + codeCompilationConfig_ = input.readMessage(com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(codeCompilationConfig_); + codeCompilationConfig_ = subBuilder.buildPartial(); + } + + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + dataformCoreVersion_ = s; + break; + } + case 50: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + compilationErrors_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + compilationErrors_.add( + input.readMessage(com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + compilationErrors_ = java.util.Collections.unmodifiableList(compilationErrors_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResult_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.CompilationResult.class, com.google.cloud.dataform.v1beta1.CompilationResult.Builder.class); + } + + public interface CodeCompilationConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Optional. The default database (Google Cloud project ID).
+     * 
+ * + * string default_database = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return The defaultDatabase. + */ + java.lang.String getDefaultDatabase(); + /** + *
+     * Optional. The default database (Google Cloud project ID).
+     * 
+ * + * string default_database = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for defaultDatabase. + */ + com.google.protobuf.ByteString + getDefaultDatabaseBytes(); + + /** + *
+     * Optional. The default schema (BigQuery dataset ID).
+     * 
+ * + * string default_schema = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The defaultSchema. + */ + java.lang.String getDefaultSchema(); + /** + *
+     * Optional. The default schema (BigQuery dataset ID).
+     * 
+ * + * string default_schema = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for defaultSchema. + */ + com.google.protobuf.ByteString + getDefaultSchemaBytes(); + + /** + *
+     * Optional. The default BigQuery location to use. Defaults to "US".
+     * See the BigQuery docs for a full list of locations:
+     * https://cloud.google.com/bigquery/docs/locations.
+     * 
+ * + * string default_location = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return The defaultLocation. + */ + java.lang.String getDefaultLocation(); + /** + *
+     * Optional. The default BigQuery location to use. Defaults to "US".
+     * See the BigQuery docs for a full list of locations:
+     * https://cloud.google.com/bigquery/docs/locations.
+     * 
+ * + * string default_location = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for defaultLocation. + */ + com.google.protobuf.ByteString + getDefaultLocationBytes(); + + /** + *
+     * Optional. The default schema (BigQuery dataset ID) for assertions.
+     * 
+ * + * string assertion_schema = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The assertionSchema. + */ + java.lang.String getAssertionSchema(); + /** + *
+     * Optional. The default schema (BigQuery dataset ID) for assertions.
+     * 
+ * + * string assertion_schema = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for assertionSchema. + */ + com.google.protobuf.ByteString + getAssertionSchemaBytes(); + + /** + *
+     * Optional. User-defined variables that are made available to project code during
+     * compilation.
+     * 
+ * + * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + int getVarsCount(); + /** + *
+     * Optional. User-defined variables that are made available to project code during
+     * compilation.
+     * 
+ * + * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + boolean containsVars( + java.lang.String key); + /** + * Use {@link #getVarsMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getVars(); + /** + *
+     * Optional. User-defined variables that are made available to project code during
+     * compilation.
+     * 
+ * + * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + java.util.Map + getVarsMap(); + /** + *
+     * Optional. User-defined variables that are made available to project code during
+     * compilation.
+     * 
+ * + * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + + /* nullable */ +java.lang.String getVarsOrDefault( + java.lang.String key, + /* nullable */ +java.lang.String defaultValue); + /** + *
+     * Optional. User-defined variables that are made available to project code during
+     * compilation.
+     * 
+ * + * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + + java.lang.String getVarsOrThrow( + java.lang.String key); + + /** + *
+     * Optional. The suffix that should be appended to all database (Google Cloud project
+     * ID) names.
+     * 
+ * + * string database_suffix = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return The databaseSuffix. + */ + java.lang.String getDatabaseSuffix(); + /** + *
+     * Optional. The suffix that should be appended to all database (Google Cloud project
+     * ID) names.
+     * 
+ * + * string database_suffix = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for databaseSuffix. + */ + com.google.protobuf.ByteString + getDatabaseSuffixBytes(); + + /** + *
+     * Optional. The suffix that should be appended to all schema (BigQuery dataset ID)
+     * names.
+     * 
+ * + * string schema_suffix = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return The schemaSuffix. + */ + java.lang.String getSchemaSuffix(); + /** + *
+     * Optional. The suffix that should be appended to all schema (BigQuery dataset ID)
+     * names.
+     * 
+ * + * string schema_suffix = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for schemaSuffix. + */ + com.google.protobuf.ByteString + getSchemaSuffixBytes(); + + /** + *
+     * Optional. The prefix that should be prepended to all table names.
+     * 
+ * + * string table_prefix = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return The tablePrefix. + */ + java.lang.String getTablePrefix(); + /** + *
+     * Optional. The prefix that should be prepended to all table names.
+     * 
+ * + * string table_prefix = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for tablePrefix. + */ + com.google.protobuf.ByteString + getTablePrefixBytes(); + } + /** + *
+   * Configures various aspects of Dataform code compilation.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig} + */ + public static final class CodeCompilationConfig extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig) + CodeCompilationConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use CodeCompilationConfig.newBuilder() to construct. + private CodeCompilationConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private CodeCompilationConfig() { + defaultDatabase_ = ""; + defaultSchema_ = ""; + defaultLocation_ = ""; + assertionSchema_ = ""; + databaseSuffix_ = ""; + schemaSuffix_ = ""; + tablePrefix_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CodeCompilationConfig(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private CodeCompilationConfig( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + defaultDatabase_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + defaultSchema_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + assertionSchema_ = s; + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + vars_ = com.google.protobuf.MapField.newMapField( + VarsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry + vars__ = input.readMessage( + VarsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + vars_.getMutableMap().put( + vars__.getKey(), vars__.getValue()); + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + databaseSuffix_ = s; + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + + schemaSuffix_ = s; + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + + tablePrefix_ = s; + break; + } + case 66: { + java.lang.String s = input.readStringRequireUtf8(); + + defaultLocation_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResult_CodeCompilationConfig_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 4: + return internalGetVars(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResult_CodeCompilationConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig.class, com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig.Builder.class); + } + + public static final int DEFAULT_DATABASE_FIELD_NUMBER = 1; + private volatile java.lang.Object defaultDatabase_; + /** + *
+     * Optional. The default database (Google Cloud project ID).
+     * 
+ * + * string default_database = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return The defaultDatabase. + */ + @java.lang.Override + public java.lang.String getDefaultDatabase() { + java.lang.Object ref = defaultDatabase_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + defaultDatabase_ = s; + return s; + } + } + /** + *
+     * Optional. The default database (Google Cloud project ID).
+     * 
+ * + * string default_database = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for defaultDatabase. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDefaultDatabaseBytes() { + java.lang.Object ref = defaultDatabase_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + defaultDatabase_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DEFAULT_SCHEMA_FIELD_NUMBER = 2; + private volatile java.lang.Object defaultSchema_; + /** + *
+     * Optional. The default schema (BigQuery dataset ID).
+     * 
+ * + * string default_schema = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The defaultSchema. + */ + @java.lang.Override + public java.lang.String getDefaultSchema() { + java.lang.Object ref = defaultSchema_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + defaultSchema_ = s; + return s; + } + } + /** + *
+     * Optional. The default schema (BigQuery dataset ID).
+     * 
+ * + * string default_schema = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for defaultSchema. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDefaultSchemaBytes() { + java.lang.Object ref = defaultSchema_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + defaultSchema_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DEFAULT_LOCATION_FIELD_NUMBER = 8; + private volatile java.lang.Object defaultLocation_; + /** + *
+     * Optional. The default BigQuery location to use. Defaults to "US".
+     * See the BigQuery docs for a full list of locations:
+     * https://cloud.google.com/bigquery/docs/locations.
+     * 
+ * + * string default_location = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return The defaultLocation. + */ + @java.lang.Override + public java.lang.String getDefaultLocation() { + java.lang.Object ref = defaultLocation_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + defaultLocation_ = s; + return s; + } + } + /** + *
+     * Optional. The default BigQuery location to use. Defaults to "US".
+     * See the BigQuery docs for a full list of locations:
+     * https://cloud.google.com/bigquery/docs/locations.
+     * 
+ * + * string default_location = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for defaultLocation. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDefaultLocationBytes() { + java.lang.Object ref = defaultLocation_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + defaultLocation_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ASSERTION_SCHEMA_FIELD_NUMBER = 3; + private volatile java.lang.Object assertionSchema_; + /** + *
+     * Optional. The default schema (BigQuery dataset ID) for assertions.
+     * 
+ * + * string assertion_schema = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The assertionSchema. + */ + @java.lang.Override + public java.lang.String getAssertionSchema() { + java.lang.Object ref = assertionSchema_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + assertionSchema_ = s; + return s; + } + } + /** + *
+     * Optional. The default schema (BigQuery dataset ID) for assertions.
+     * 
+ * + * string assertion_schema = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for assertionSchema. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getAssertionSchemaBytes() { + java.lang.Object ref = assertionSchema_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + assertionSchema_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int VARS_FIELD_NUMBER = 4; + private static final class VarsDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResult_CodeCompilationConfig_VarsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> vars_; + private com.google.protobuf.MapField + internalGetVars() { + if (vars_ == null) { + return com.google.protobuf.MapField.emptyMapField( + VarsDefaultEntryHolder.defaultEntry); + } + return vars_; + } + + public int getVarsCount() { + return internalGetVars().getMap().size(); + } + /** + *
+     * Optional. User-defined variables that are made available to project code during
+     * compilation.
+     * 
+ * + * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + + @java.lang.Override + public boolean containsVars( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetVars().getMap().containsKey(key); + } + /** + * Use {@link #getVarsMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getVars() { + return getVarsMap(); + } + /** + *
+     * Optional. User-defined variables that are made available to project code during
+     * compilation.
+     * 
+ * + * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + + public java.util.Map getVarsMap() { + return internalGetVars().getMap(); + } + /** + *
+     * Optional. User-defined variables that are made available to project code during
+     * compilation.
+     * 
+ * + * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + + public java.lang.String getVarsOrDefault( + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetVars().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * Optional. User-defined variables that are made available to project code during
+     * compilation.
+     * 
+ * + * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + + public java.lang.String getVarsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetVars().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public static final int DATABASE_SUFFIX_FIELD_NUMBER = 5; + private volatile java.lang.Object databaseSuffix_; + /** + *
+     * Optional. The suffix that should be appended to all database (Google Cloud project
+     * ID) names.
+     * 
+ * + * string database_suffix = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return The databaseSuffix. + */ + @java.lang.Override + public java.lang.String getDatabaseSuffix() { + java.lang.Object ref = databaseSuffix_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + databaseSuffix_ = s; + return s; + } + } + /** + *
+     * Optional. The suffix that should be appended to all database (Google Cloud project
+     * ID) names.
+     * 
+ * + * string database_suffix = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for databaseSuffix. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDatabaseSuffixBytes() { + java.lang.Object ref = databaseSuffix_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + databaseSuffix_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SCHEMA_SUFFIX_FIELD_NUMBER = 6; + private volatile java.lang.Object schemaSuffix_; + /** + *
+     * Optional. The suffix that should be appended to all schema (BigQuery dataset ID)
+     * names.
+     * 
+ * + * string schema_suffix = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return The schemaSuffix. + */ + @java.lang.Override + public java.lang.String getSchemaSuffix() { + java.lang.Object ref = schemaSuffix_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + schemaSuffix_ = s; + return s; + } + } + /** + *
+     * Optional. The suffix that should be appended to all schema (BigQuery dataset ID)
+     * names.
+     * 
+ * + * string schema_suffix = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for schemaSuffix. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSchemaSuffixBytes() { + java.lang.Object ref = schemaSuffix_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + schemaSuffix_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TABLE_PREFIX_FIELD_NUMBER = 7; + private volatile java.lang.Object tablePrefix_; + /** + *
+     * Optional. The prefix that should be prepended to all table names.
+     * 
+ * + * string table_prefix = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return The tablePrefix. + */ + @java.lang.Override + public java.lang.String getTablePrefix() { + java.lang.Object ref = tablePrefix_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + tablePrefix_ = s; + return s; + } + } + /** + *
+     * Optional. The prefix that should be prepended to all table names.
+     * 
+ * + * string table_prefix = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for tablePrefix. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getTablePrefixBytes() { + java.lang.Object ref = tablePrefix_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + tablePrefix_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultDatabase_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, defaultDatabase_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultSchema_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, defaultSchema_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(assertionSchema_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, assertionSchema_); + } + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetVars(), + VarsDefaultEntryHolder.defaultEntry, + 4); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(databaseSuffix_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, databaseSuffix_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaSuffix_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, schemaSuffix_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tablePrefix_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 7, tablePrefix_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultLocation_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 8, defaultLocation_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultDatabase_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, defaultDatabase_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultSchema_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, defaultSchema_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(assertionSchema_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, assertionSchema_); + } + for (java.util.Map.Entry entry + : internalGetVars().getMap().entrySet()) { + com.google.protobuf.MapEntry + vars__ = VarsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, vars__); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(databaseSuffix_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, databaseSuffix_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaSuffix_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, schemaSuffix_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tablePrefix_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, tablePrefix_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultLocation_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, defaultLocation_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig other = (com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig) obj; + + if (!getDefaultDatabase() + .equals(other.getDefaultDatabase())) return false; + if (!getDefaultSchema() + .equals(other.getDefaultSchema())) return false; + if (!getDefaultLocation() + .equals(other.getDefaultLocation())) return false; + if (!getAssertionSchema() + .equals(other.getAssertionSchema())) return false; + if (!internalGetVars().equals( + other.internalGetVars())) return false; + if (!getDatabaseSuffix() + .equals(other.getDatabaseSuffix())) return false; + if (!getSchemaSuffix() + .equals(other.getSchemaSuffix())) return false; + if (!getTablePrefix() + .equals(other.getTablePrefix())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + DEFAULT_DATABASE_FIELD_NUMBER; + hash = (53 * hash) + getDefaultDatabase().hashCode(); + hash = (37 * hash) + DEFAULT_SCHEMA_FIELD_NUMBER; + hash = (53 * hash) + getDefaultSchema().hashCode(); + hash = (37 * hash) + DEFAULT_LOCATION_FIELD_NUMBER; + hash = (53 * hash) + getDefaultLocation().hashCode(); + hash = (37 * hash) + ASSERTION_SCHEMA_FIELD_NUMBER; + hash = (53 * hash) + getAssertionSchema().hashCode(); + if (!internalGetVars().getMap().isEmpty()) { + hash = (37 * hash) + VARS_FIELD_NUMBER; + hash = (53 * hash) + internalGetVars().hashCode(); + } + hash = (37 * hash) + DATABASE_SUFFIX_FIELD_NUMBER; + hash = (53 * hash) + getDatabaseSuffix().hashCode(); + hash = (37 * hash) + SCHEMA_SUFFIX_FIELD_NUMBER; + hash = (53 * hash) + getSchemaSuffix().hashCode(); + hash = (37 * hash) + TABLE_PREFIX_FIELD_NUMBER; + hash = (53 * hash) + getTablePrefix().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Configures various aspects of Dataform code compilation.
+     * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig) + com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResult_CodeCompilationConfig_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 4: + return internalGetVars(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { + switch (number) { + case 4: + return internalGetMutableVars(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResult_CodeCompilationConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig.class, com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + defaultDatabase_ = ""; + + defaultSchema_ = ""; + + defaultLocation_ = ""; + + assertionSchema_ = ""; + + internalGetMutableVars().clear(); + databaseSuffix_ = ""; + + schemaSuffix_ = ""; + + tablePrefix_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResult_CodeCompilationConfig_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig build() { + com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig buildPartial() { + com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig result = new com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig(this); + int from_bitField0_ = bitField0_; + result.defaultDatabase_ = defaultDatabase_; + result.defaultSchema_ = defaultSchema_; + result.defaultLocation_ = defaultLocation_; + result.assertionSchema_ = assertionSchema_; + result.vars_ = internalGetVars(); + result.vars_.makeImmutable(); + result.databaseSuffix_ = databaseSuffix_; + result.schemaSuffix_ = schemaSuffix_; + result.tablePrefix_ = tablePrefix_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig) { + return mergeFrom((com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig other) { + if (other == com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig.getDefaultInstance()) return this; + if (!other.getDefaultDatabase().isEmpty()) { + defaultDatabase_ = other.defaultDatabase_; + onChanged(); + } + if (!other.getDefaultSchema().isEmpty()) { + defaultSchema_ = other.defaultSchema_; + onChanged(); + } + if (!other.getDefaultLocation().isEmpty()) { + defaultLocation_ = other.defaultLocation_; + onChanged(); + } + if (!other.getAssertionSchema().isEmpty()) { + assertionSchema_ = other.assertionSchema_; + onChanged(); + } + internalGetMutableVars().mergeFrom( + other.internalGetVars()); + if (!other.getDatabaseSuffix().isEmpty()) { + databaseSuffix_ = other.databaseSuffix_; + onChanged(); + } + if (!other.getSchemaSuffix().isEmpty()) { + schemaSuffix_ = other.schemaSuffix_; + onChanged(); + } + if (!other.getTablePrefix().isEmpty()) { + tablePrefix_ = other.tablePrefix_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private java.lang.Object defaultDatabase_ = ""; + /** + *
+       * Optional. The default database (Google Cloud project ID).
+       * 
+ * + * string default_database = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return The defaultDatabase. + */ + public java.lang.String getDefaultDatabase() { + java.lang.Object ref = defaultDatabase_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + defaultDatabase_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Optional. The default database (Google Cloud project ID).
+       * 
+ * + * string default_database = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for defaultDatabase. + */ + public com.google.protobuf.ByteString + getDefaultDatabaseBytes() { + java.lang.Object ref = defaultDatabase_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + defaultDatabase_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Optional. The default database (Google Cloud project ID).
+       * 
+ * + * string default_database = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The defaultDatabase to set. + * @return This builder for chaining. + */ + public Builder setDefaultDatabase( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + defaultDatabase_ = value; + onChanged(); + return this; + } + /** + *
+       * Optional. The default database (Google Cloud project ID).
+       * 
+ * + * string default_database = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearDefaultDatabase() { + + defaultDatabase_ = getDefaultInstance().getDefaultDatabase(); + onChanged(); + return this; + } + /** + *
+       * Optional. The default database (Google Cloud project ID).
+       * 
+ * + * string default_database = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The bytes for defaultDatabase to set. + * @return This builder for chaining. + */ + public Builder setDefaultDatabaseBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + defaultDatabase_ = value; + onChanged(); + return this; + } + + private java.lang.Object defaultSchema_ = ""; + /** + *
+       * Optional. The default schema (BigQuery dataset ID).
+       * 
+ * + * string default_schema = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The defaultSchema. + */ + public java.lang.String getDefaultSchema() { + java.lang.Object ref = defaultSchema_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + defaultSchema_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Optional. The default schema (BigQuery dataset ID).
+       * 
+ * + * string default_schema = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for defaultSchema. + */ + public com.google.protobuf.ByteString + getDefaultSchemaBytes() { + java.lang.Object ref = defaultSchema_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + defaultSchema_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Optional. The default schema (BigQuery dataset ID).
+       * 
+ * + * string default_schema = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The defaultSchema to set. + * @return This builder for chaining. + */ + public Builder setDefaultSchema( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + defaultSchema_ = value; + onChanged(); + return this; + } + /** + *
+       * Optional. The default schema (BigQuery dataset ID).
+       * 
+ * + * string default_schema = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearDefaultSchema() { + + defaultSchema_ = getDefaultInstance().getDefaultSchema(); + onChanged(); + return this; + } + /** + *
+       * Optional. The default schema (BigQuery dataset ID).
+       * 
+ * + * string default_schema = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The bytes for defaultSchema to set. + * @return This builder for chaining. + */ + public Builder setDefaultSchemaBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + defaultSchema_ = value; + onChanged(); + return this; + } + + private java.lang.Object defaultLocation_ = ""; + /** + *
+       * Optional. The default BigQuery location to use. Defaults to "US".
+       * See the BigQuery docs for a full list of locations:
+       * https://cloud.google.com/bigquery/docs/locations.
+       * 
+ * + * string default_location = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return The defaultLocation. + */ + public java.lang.String getDefaultLocation() { + java.lang.Object ref = defaultLocation_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + defaultLocation_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Optional. The default BigQuery location to use. Defaults to "US".
+       * See the BigQuery docs for a full list of locations:
+       * https://cloud.google.com/bigquery/docs/locations.
+       * 
+ * + * string default_location = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for defaultLocation. + */ + public com.google.protobuf.ByteString + getDefaultLocationBytes() { + java.lang.Object ref = defaultLocation_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + defaultLocation_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Optional. The default BigQuery location to use. Defaults to "US".
+       * See the BigQuery docs for a full list of locations:
+       * https://cloud.google.com/bigquery/docs/locations.
+       * 
+ * + * string default_location = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The defaultLocation to set. + * @return This builder for chaining. + */ + public Builder setDefaultLocation( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + defaultLocation_ = value; + onChanged(); + return this; + } + /** + *
+       * Optional. The default BigQuery location to use. Defaults to "US".
+       * See the BigQuery docs for a full list of locations:
+       * https://cloud.google.com/bigquery/docs/locations.
+       * 
+ * + * string default_location = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearDefaultLocation() { + + defaultLocation_ = getDefaultInstance().getDefaultLocation(); + onChanged(); + return this; + } + /** + *
+       * Optional. The default BigQuery location to use. Defaults to "US".
+       * See the BigQuery docs for a full list of locations:
+       * https://cloud.google.com/bigquery/docs/locations.
+       * 
+ * + * string default_location = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The bytes for defaultLocation to set. + * @return This builder for chaining. + */ + public Builder setDefaultLocationBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + defaultLocation_ = value; + onChanged(); + return this; + } + + private java.lang.Object assertionSchema_ = ""; + /** + *
+       * Optional. The default schema (BigQuery dataset ID) for assertions.
+       * 
+ * + * string assertion_schema = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The assertionSchema. + */ + public java.lang.String getAssertionSchema() { + java.lang.Object ref = assertionSchema_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + assertionSchema_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Optional. The default schema (BigQuery dataset ID) for assertions.
+       * 
+ * + * string assertion_schema = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for assertionSchema. + */ + public com.google.protobuf.ByteString + getAssertionSchemaBytes() { + java.lang.Object ref = assertionSchema_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + assertionSchema_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Optional. The default schema (BigQuery dataset ID) for assertions.
+       * 
+ * + * string assertion_schema = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The assertionSchema to set. + * @return This builder for chaining. + */ + public Builder setAssertionSchema( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + assertionSchema_ = value; + onChanged(); + return this; + } + /** + *
+       * Optional. The default schema (BigQuery dataset ID) for assertions.
+       * 
+ * + * string assertion_schema = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearAssertionSchema() { + + assertionSchema_ = getDefaultInstance().getAssertionSchema(); + onChanged(); + return this; + } + /** + *
+       * Optional. The default schema (BigQuery dataset ID) for assertions.
+       * 
+ * + * string assertion_schema = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The bytes for assertionSchema to set. + * @return This builder for chaining. + */ + public Builder setAssertionSchemaBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + assertionSchema_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> vars_; + private com.google.protobuf.MapField + internalGetVars() { + if (vars_ == null) { + return com.google.protobuf.MapField.emptyMapField( + VarsDefaultEntryHolder.defaultEntry); + } + return vars_; + } + private com.google.protobuf.MapField + internalGetMutableVars() { + onChanged();; + if (vars_ == null) { + vars_ = com.google.protobuf.MapField.newMapField( + VarsDefaultEntryHolder.defaultEntry); + } + if (!vars_.isMutable()) { + vars_ = vars_.copy(); + } + return vars_; + } + + public int getVarsCount() { + return internalGetVars().getMap().size(); + } + /** + *
+       * Optional. User-defined variables that are made available to project code during
+       * compilation.
+       * 
+ * + * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + + @java.lang.Override + public boolean containsVars( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetVars().getMap().containsKey(key); + } + /** + * Use {@link #getVarsMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getVars() { + return getVarsMap(); + } + /** + *
+       * Optional. User-defined variables that are made available to project code during
+       * compilation.
+       * 
+ * + * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + + public java.util.Map getVarsMap() { + return internalGetVars().getMap(); + } + /** + *
+       * Optional. User-defined variables that are made available to project code during
+       * compilation.
+       * 
+ * + * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + + public java.lang.String getVarsOrDefault( + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetVars().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+       * Optional. User-defined variables that are made available to project code during
+       * compilation.
+       * 
+ * + * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + + public java.lang.String getVarsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetVars().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public Builder clearVars() { + internalGetMutableVars().getMutableMap() + .clear(); + return this; + } + /** + *
+       * Optional. User-defined variables that are made available to project code during
+       * compilation.
+       * 
+ * + * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + + public Builder removeVars( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableVars().getMutableMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableVars() { + return internalGetMutableVars().getMutableMap(); + } + /** + *
+       * Optional. User-defined variables that are made available to project code during
+       * compilation.
+       * 
+ * + * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder putVars( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { + throw new NullPointerException("map value"); +} + + internalGetMutableVars().getMutableMap() + .put(key, value); + return this; + } + /** + *
+       * Optional. User-defined variables that are made available to project code during
+       * compilation.
+       * 
+ * + * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + + public Builder putAllVars( + java.util.Map values) { + internalGetMutableVars().getMutableMap() + .putAll(values); + return this; + } + + private java.lang.Object databaseSuffix_ = ""; + /** + *
+       * Optional. The suffix that should be appended to all database (Google Cloud project
+       * ID) names.
+       * 
+ * + * string database_suffix = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return The databaseSuffix. + */ + public java.lang.String getDatabaseSuffix() { + java.lang.Object ref = databaseSuffix_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + databaseSuffix_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Optional. The suffix that should be appended to all database (Google Cloud project
+       * ID) names.
+       * 
+ * + * string database_suffix = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for databaseSuffix. + */ + public com.google.protobuf.ByteString + getDatabaseSuffixBytes() { + java.lang.Object ref = databaseSuffix_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + databaseSuffix_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Optional. The suffix that should be appended to all database (Google Cloud project
+       * ID) names.
+       * 
+ * + * string database_suffix = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The databaseSuffix to set. + * @return This builder for chaining. + */ + public Builder setDatabaseSuffix( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + databaseSuffix_ = value; + onChanged(); + return this; + } + /** + *
+       * Optional. The suffix that should be appended to all database (Google Cloud project
+       * ID) names.
+       * 
+ * + * string database_suffix = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearDatabaseSuffix() { + + databaseSuffix_ = getDefaultInstance().getDatabaseSuffix(); + onChanged(); + return this; + } + /** + *
+       * Optional. The suffix that should be appended to all database (Google Cloud project
+       * ID) names.
+       * 
+ * + * string database_suffix = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The bytes for databaseSuffix to set. + * @return This builder for chaining. + */ + public Builder setDatabaseSuffixBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + databaseSuffix_ = value; + onChanged(); + return this; + } + + private java.lang.Object schemaSuffix_ = ""; + /** + *
+       * Optional. The suffix that should be appended to all schema (BigQuery dataset ID)
+       * names.
+       * 
+ * + * string schema_suffix = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return The schemaSuffix. + */ + public java.lang.String getSchemaSuffix() { + java.lang.Object ref = schemaSuffix_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + schemaSuffix_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Optional. The suffix that should be appended to all schema (BigQuery dataset ID)
+       * names.
+       * 
+ * + * string schema_suffix = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for schemaSuffix. + */ + public com.google.protobuf.ByteString + getSchemaSuffixBytes() { + java.lang.Object ref = schemaSuffix_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + schemaSuffix_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Optional. The suffix that should be appended to all schema (BigQuery dataset ID)
+       * names.
+       * 
+ * + * string schema_suffix = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The schemaSuffix to set. + * @return This builder for chaining. + */ + public Builder setSchemaSuffix( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + schemaSuffix_ = value; + onChanged(); + return this; + } + /** + *
+       * Optional. The suffix that should be appended to all schema (BigQuery dataset ID)
+       * names.
+       * 
+ * + * string schema_suffix = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearSchemaSuffix() { + + schemaSuffix_ = getDefaultInstance().getSchemaSuffix(); + onChanged(); + return this; + } + /** + *
+       * Optional. The suffix that should be appended to all schema (BigQuery dataset ID)
+       * names.
+       * 
+ * + * string schema_suffix = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The bytes for schemaSuffix to set. + * @return This builder for chaining. + */ + public Builder setSchemaSuffixBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + schemaSuffix_ = value; + onChanged(); + return this; + } + + private java.lang.Object tablePrefix_ = ""; + /** + *
+       * Optional. The prefix that should be prepended to all table names.
+       * 
+ * + * string table_prefix = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return The tablePrefix. + */ + public java.lang.String getTablePrefix() { + java.lang.Object ref = tablePrefix_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + tablePrefix_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Optional. The prefix that should be prepended to all table names.
+       * 
+ * + * string table_prefix = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for tablePrefix. + */ + public com.google.protobuf.ByteString + getTablePrefixBytes() { + java.lang.Object ref = tablePrefix_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + tablePrefix_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Optional. The prefix that should be prepended to all table names.
+       * 
+ * + * string table_prefix = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The tablePrefix to set. + * @return This builder for chaining. + */ + public Builder setTablePrefix( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + tablePrefix_ = value; + onChanged(); + return this; + } + /** + *
+       * Optional. The prefix that should be prepended to all table names.
+       * 
+ * + * string table_prefix = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearTablePrefix() { + + tablePrefix_ = getDefaultInstance().getTablePrefix(); + onChanged(); + return this; + } + /** + *
+       * Optional. The prefix that should be prepended to all table names.
+       * 
+ * + * string table_prefix = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The bytes for tablePrefix to set. + * @return This builder for chaining. + */ + public Builder setTablePrefixBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + tablePrefix_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig) + private static final com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig(); + } + + public static com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CodeCompilationConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CodeCompilationConfig(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface CompilationErrorOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.CompilationResult.CompilationError) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Output only. The error's top level message.
+     * 
+ * + * string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The message. + */ + java.lang.String getMessage(); + /** + *
+     * Output only. The error's top level message.
+     * 
+ * + * string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for message. + */ + com.google.protobuf.ByteString + getMessageBytes(); + + /** + *
+     * Output only. The error's full stack trace.
+     * 
+ * + * string stack = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The stack. + */ + java.lang.String getStack(); + /** + *
+     * Output only. The error's full stack trace.
+     * 
+ * + * string stack = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for stack. + */ + com.google.protobuf.ByteString + getStackBytes(); + + /** + *
+     * Output only. The path of the file where this error occurred, if available, relative to
+     * the project root.
+     * 
+ * + * string path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The path. + */ + java.lang.String getPath(); + /** + *
+     * Output only. The path of the file where this error occurred, if available, relative to
+     * the project root.
+     * 
+ * + * string path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for path. + */ + com.google.protobuf.ByteString + getPathBytes(); + + /** + *
+     * Output only. The identifier of the action where this error occurred, if available.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the actionTarget field is set. + */ + boolean hasActionTarget(); + /** + *
+     * Output only. The identifier of the action where this error occurred, if available.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The actionTarget. + */ + com.google.cloud.dataform.v1beta1.Target getActionTarget(); + /** + *
+     * Output only. The identifier of the action where this error occurred, if available.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + com.google.cloud.dataform.v1beta1.TargetOrBuilder getActionTargetOrBuilder(); + } + /** + *
+   * An error encountered when attempting to compile a Dataform project.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.CompilationResult.CompilationError} + */ + public static final class CompilationError extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.CompilationResult.CompilationError) + CompilationErrorOrBuilder { + private static final long serialVersionUID = 0L; + // Use CompilationError.newBuilder() to construct. + private CompilationError(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private CompilationError() { + message_ = ""; + stack_ = ""; + path_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CompilationError(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private CompilationError( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + message_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + stack_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + path_ = s; + break; + } + case 34: { + com.google.cloud.dataform.v1beta1.Target.Builder subBuilder = null; + if (actionTarget_ != null) { + subBuilder = actionTarget_.toBuilder(); + } + actionTarget_ = input.readMessage(com.google.cloud.dataform.v1beta1.Target.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(actionTarget_); + actionTarget_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResult_CompilationError_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResult_CompilationError_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.class, com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.Builder.class); + } + + public static final int MESSAGE_FIELD_NUMBER = 1; + private volatile java.lang.Object message_; + /** + *
+     * Output only. The error's top level message.
+     * 
+ * + * string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The message. + */ + @java.lang.Override + public java.lang.String getMessage() { + java.lang.Object ref = message_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + message_ = s; + return s; + } + } + /** + *
+     * Output only. The error's top level message.
+     * 
+ * + * string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for message. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getMessageBytes() { + java.lang.Object ref = message_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + message_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int STACK_FIELD_NUMBER = 2; + private volatile java.lang.Object stack_; + /** + *
+     * Output only. The error's full stack trace.
+     * 
+ * + * string stack = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The stack. + */ + @java.lang.Override + public java.lang.String getStack() { + java.lang.Object ref = stack_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + stack_ = s; + return s; + } + } + /** + *
+     * Output only. The error's full stack trace.
+     * 
+ * + * string stack = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for stack. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getStackBytes() { + java.lang.Object ref = stack_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + stack_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PATH_FIELD_NUMBER = 3; + private volatile java.lang.Object path_; + /** + *
+     * Output only. The path of the file where this error occurred, if available, relative to
+     * the project root.
+     * 
+ * + * string path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The path. + */ + @java.lang.Override + public java.lang.String getPath() { + java.lang.Object ref = path_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + path_ = s; + return s; + } + } + /** + *
+     * Output only. The path of the file where this error occurred, if available, relative to
+     * the project root.
+     * 
+ * + * string path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for path. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPathBytes() { + java.lang.Object ref = path_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + path_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ACTION_TARGET_FIELD_NUMBER = 4; + private com.google.cloud.dataform.v1beta1.Target actionTarget_; + /** + *
+     * Output only. The identifier of the action where this error occurred, if available.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the actionTarget field is set. + */ + @java.lang.Override + public boolean hasActionTarget() { + return actionTarget_ != null; + } + /** + *
+     * Output only. The identifier of the action where this error occurred, if available.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The actionTarget. + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.Target getActionTarget() { + return actionTarget_ == null ? com.google.cloud.dataform.v1beta1.Target.getDefaultInstance() : actionTarget_; + } + /** + *
+     * Output only. The identifier of the action where this error occurred, if available.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.TargetOrBuilder getActionTargetOrBuilder() { + return getActionTarget(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, message_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stack_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, stack_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, path_); + } + if (actionTarget_ != null) { + output.writeMessage(4, getActionTarget()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, message_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stack_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, stack_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, path_); + } + if (actionTarget_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getActionTarget()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError other = (com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError) obj; + + if (!getMessage() + .equals(other.getMessage())) return false; + if (!getStack() + .equals(other.getStack())) return false; + if (!getPath() + .equals(other.getPath())) return false; + if (hasActionTarget() != other.hasActionTarget()) return false; + if (hasActionTarget()) { + if (!getActionTarget() + .equals(other.getActionTarget())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + MESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getMessage().hashCode(); + hash = (37 * hash) + STACK_FIELD_NUMBER; + hash = (53 * hash) + getStack().hashCode(); + hash = (37 * hash) + PATH_FIELD_NUMBER; + hash = (53 * hash) + getPath().hashCode(); + if (hasActionTarget()) { + hash = (37 * hash) + ACTION_TARGET_FIELD_NUMBER; + hash = (53 * hash) + getActionTarget().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * An error encountered when attempting to compile a Dataform project.
+     * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.CompilationResult.CompilationError} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.CompilationResult.CompilationError) + com.google.cloud.dataform.v1beta1.CompilationResult.CompilationErrorOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResult_CompilationError_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResult_CompilationError_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.class, com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + message_ = ""; + + stack_ = ""; + + path_ = ""; + + if (actionTargetBuilder_ == null) { + actionTarget_ = null; + } else { + actionTarget_ = null; + actionTargetBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResult_CompilationError_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError build() { + com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError buildPartial() { + com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError result = new com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError(this); + result.message_ = message_; + result.stack_ = stack_; + result.path_ = path_; + if (actionTargetBuilder_ == null) { + result.actionTarget_ = actionTarget_; + } else { + result.actionTarget_ = actionTargetBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError) { + return mergeFrom((com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError other) { + if (other == com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.getDefaultInstance()) return this; + if (!other.getMessage().isEmpty()) { + message_ = other.message_; + onChanged(); + } + if (!other.getStack().isEmpty()) { + stack_ = other.stack_; + onChanged(); + } + if (!other.getPath().isEmpty()) { + path_ = other.path_; + onChanged(); + } + if (other.hasActionTarget()) { + mergeActionTarget(other.getActionTarget()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object message_ = ""; + /** + *
+       * Output only. The error's top level message.
+       * 
+ * + * string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The message. + */ + public java.lang.String getMessage() { + java.lang.Object ref = message_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + message_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Output only. The error's top level message.
+       * 
+ * + * string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for message. + */ + public com.google.protobuf.ByteString + getMessageBytes() { + java.lang.Object ref = message_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + message_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Output only. The error's top level message.
+       * 
+ * + * string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param value The message to set. + * @return This builder for chaining. + */ + public Builder setMessage( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + message_ = value; + onChanged(); + return this; + } + /** + *
+       * Output only. The error's top level message.
+       * 
+ * + * string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return This builder for chaining. + */ + public Builder clearMessage() { + + message_ = getDefaultInstance().getMessage(); + onChanged(); + return this; + } + /** + *
+       * Output only. The error's top level message.
+       * 
+ * + * string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param value The bytes for message to set. + * @return This builder for chaining. + */ + public Builder setMessageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + message_ = value; + onChanged(); + return this; + } + + private java.lang.Object stack_ = ""; + /** + *
+       * Output only. The error's full stack trace.
+       * 
+ * + * string stack = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The stack. + */ + public java.lang.String getStack() { + java.lang.Object ref = stack_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + stack_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Output only. The error's full stack trace.
+       * 
+ * + * string stack = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for stack. + */ + public com.google.protobuf.ByteString + getStackBytes() { + java.lang.Object ref = stack_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + stack_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Output only. The error's full stack trace.
+       * 
+ * + * string stack = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param value The stack to set. + * @return This builder for chaining. + */ + public Builder setStack( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + stack_ = value; + onChanged(); + return this; + } + /** + *
+       * Output only. The error's full stack trace.
+       * 
+ * + * string stack = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return This builder for chaining. + */ + public Builder clearStack() { + + stack_ = getDefaultInstance().getStack(); + onChanged(); + return this; + } + /** + *
+       * Output only. The error's full stack trace.
+       * 
+ * + * string stack = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param value The bytes for stack to set. + * @return This builder for chaining. + */ + public Builder setStackBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + stack_ = value; + onChanged(); + return this; + } + + private java.lang.Object path_ = ""; + /** + *
+       * Output only. The path of the file where this error occurred, if available, relative to
+       * the project root.
+       * 
+ * + * string path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The path. + */ + public java.lang.String getPath() { + java.lang.Object ref = path_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + path_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Output only. The path of the file where this error occurred, if available, relative to
+       * the project root.
+       * 
+ * + * string path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for path. + */ + public com.google.protobuf.ByteString + getPathBytes() { + java.lang.Object ref = path_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + path_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Output only. The path of the file where this error occurred, if available, relative to
+       * the project root.
+       * 
+ * + * string path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param value The path to set. + * @return This builder for chaining. + */ + public Builder setPath( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + path_ = value; + onChanged(); + return this; + } + /** + *
+       * Output only. The path of the file where this error occurred, if available, relative to
+       * the project root.
+       * 
+ * + * string path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return This builder for chaining. + */ + public Builder clearPath() { + + path_ = getDefaultInstance().getPath(); + onChanged(); + return this; + } + /** + *
+       * Output only. The path of the file where this error occurred, if available, relative to
+       * the project root.
+       * 
+ * + * string path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param value The bytes for path to set. + * @return This builder for chaining. + */ + public Builder setPathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + path_ = value; + onChanged(); + return this; + } + + private com.google.cloud.dataform.v1beta1.Target actionTarget_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder> actionTargetBuilder_; + /** + *
+       * Output only. The identifier of the action where this error occurred, if available.
+       * 
+ * + * .google.cloud.dataform.v1beta1.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the actionTarget field is set. + */ + public boolean hasActionTarget() { + return actionTargetBuilder_ != null || actionTarget_ != null; + } + /** + *
+       * Output only. The identifier of the action where this error occurred, if available.
+       * 
+ * + * .google.cloud.dataform.v1beta1.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The actionTarget. + */ + public com.google.cloud.dataform.v1beta1.Target getActionTarget() { + if (actionTargetBuilder_ == null) { + return actionTarget_ == null ? com.google.cloud.dataform.v1beta1.Target.getDefaultInstance() : actionTarget_; + } else { + return actionTargetBuilder_.getMessage(); + } + } + /** + *
+       * Output only. The identifier of the action where this error occurred, if available.
+       * 
+ * + * .google.cloud.dataform.v1beta1.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setActionTarget(com.google.cloud.dataform.v1beta1.Target value) { + if (actionTargetBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + actionTarget_ = value; + onChanged(); + } else { + actionTargetBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * Output only. The identifier of the action where this error occurred, if available.
+       * 
+ * + * .google.cloud.dataform.v1beta1.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setActionTarget( + com.google.cloud.dataform.v1beta1.Target.Builder builderForValue) { + if (actionTargetBuilder_ == null) { + actionTarget_ = builderForValue.build(); + onChanged(); + } else { + actionTargetBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * Output only. The identifier of the action where this error occurred, if available.
+       * 
+ * + * .google.cloud.dataform.v1beta1.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder mergeActionTarget(com.google.cloud.dataform.v1beta1.Target value) { + if (actionTargetBuilder_ == null) { + if (actionTarget_ != null) { + actionTarget_ = + com.google.cloud.dataform.v1beta1.Target.newBuilder(actionTarget_).mergeFrom(value).buildPartial(); + } else { + actionTarget_ = value; + } + onChanged(); + } else { + actionTargetBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * Output only. The identifier of the action where this error occurred, if available.
+       * 
+ * + * .google.cloud.dataform.v1beta1.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder clearActionTarget() { + if (actionTargetBuilder_ == null) { + actionTarget_ = null; + onChanged(); + } else { + actionTarget_ = null; + actionTargetBuilder_ = null; + } + + return this; + } + /** + *
+       * Output only. The identifier of the action where this error occurred, if available.
+       * 
+ * + * .google.cloud.dataform.v1beta1.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.cloud.dataform.v1beta1.Target.Builder getActionTargetBuilder() { + + onChanged(); + return getActionTargetFieldBuilder().getBuilder(); + } + /** + *
+       * Output only. The identifier of the action where this error occurred, if available.
+       * 
+ * + * .google.cloud.dataform.v1beta1.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.cloud.dataform.v1beta1.TargetOrBuilder getActionTargetOrBuilder() { + if (actionTargetBuilder_ != null) { + return actionTargetBuilder_.getMessageOrBuilder(); + } else { + return actionTarget_ == null ? + com.google.cloud.dataform.v1beta1.Target.getDefaultInstance() : actionTarget_; + } + } + /** + *
+       * Output only. The identifier of the action where this error occurred, if available.
+       * 
+ * + * .google.cloud.dataform.v1beta1.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder> + getActionTargetFieldBuilder() { + if (actionTargetBuilder_ == null) { + actionTargetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder>( + getActionTarget(), + getParentForChildren(), + isClean()); + actionTarget_ = null; + } + return actionTargetBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.CompilationResult.CompilationError) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.CompilationResult.CompilationError) + private static final com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError(); + } + + public static com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompilationError parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CompilationError(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private int sourceCase_ = 0; + private java.lang.Object source_; + public enum SourceCase + implements com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + GIT_COMMITISH(2), + WORKSPACE(3), + SOURCE_NOT_SET(0); + private final int value; + private SourceCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static SourceCase valueOf(int value) { + return forNumber(value); + } + + public static SourceCase forNumber(int value) { + switch (value) { + case 2: return GIT_COMMITISH; + case 3: return WORKSPACE; + case 0: return SOURCE_NOT_SET; + default: return null; + } + } + public int getNumber() { + return this.value; + } + }; + + public SourceCase + getSourceCase() { + return SourceCase.forNumber( + sourceCase_); + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + *
+   * Output only. The compilation result's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + *
+   * Output only. The compilation result's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int GIT_COMMITISH_FIELD_NUMBER = 2; + /** + *
+   * Immutable. Git commit/tag/branch name at which the repository should be compiled.
+   * Must exist in the remote repository.
+   * Examples:
+   * - a commit SHA: `12ade345`
+   * - a tag: `tag1`
+   * - a branch name: `branch1`
+   * 
+ * + * string git_commitish = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @return Whether the gitCommitish field is set. + */ + public boolean hasGitCommitish() { + return sourceCase_ == 2; + } + /** + *
+   * Immutable. Git commit/tag/branch name at which the repository should be compiled.
+   * Must exist in the remote repository.
+   * Examples:
+   * - a commit SHA: `12ade345`
+   * - a tag: `tag1`
+   * - a branch name: `branch1`
+   * 
+ * + * string git_commitish = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @return The gitCommitish. + */ + public java.lang.String getGitCommitish() { + java.lang.Object ref = ""; + if (sourceCase_ == 2) { + ref = source_; + } + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (sourceCase_ == 2) { + source_ = s; + } + return s; + } + } + /** + *
+   * Immutable. Git commit/tag/branch name at which the repository should be compiled.
+   * Must exist in the remote repository.
+   * Examples:
+   * - a commit SHA: `12ade345`
+   * - a tag: `tag1`
+   * - a branch name: `branch1`
+   * 
+ * + * string git_commitish = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @return The bytes for gitCommitish. + */ + public com.google.protobuf.ByteString + getGitCommitishBytes() { + java.lang.Object ref = ""; + if (sourceCase_ == 2) { + ref = source_; + } + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + if (sourceCase_ == 2) { + source_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int WORKSPACE_FIELD_NUMBER = 3; + /** + *
+   * Immutable. The name of the workspace to compile. Must be in the format
+   * `projects/*/locations/*/repositories/*/workspaces/*`.
+   * 
+ * + * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * @return Whether the workspace field is set. + */ + public boolean hasWorkspace() { + return sourceCase_ == 3; + } + /** + *
+   * Immutable. The name of the workspace to compile. Must be in the format
+   * `projects/*/locations/*/repositories/*/workspaces/*`.
+   * 
+ * + * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * @return The workspace. + */ + public java.lang.String getWorkspace() { + java.lang.Object ref = ""; + if (sourceCase_ == 3) { + ref = source_; + } + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (sourceCase_ == 3) { + source_ = s; + } + return s; + } + } + /** + *
+   * Immutable. The name of the workspace to compile. Must be in the format
+   * `projects/*/locations/*/repositories/*/workspaces/*`.
+   * 
+ * + * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * @return The bytes for workspace. + */ + public com.google.protobuf.ByteString + getWorkspaceBytes() { + java.lang.Object ref = ""; + if (sourceCase_ == 3) { + ref = source_; + } + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + if (sourceCase_ == 3) { + source_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CODE_COMPILATION_CONFIG_FIELD_NUMBER = 4; + private com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig codeCompilationConfig_; + /** + *
+   * Immutable. If set, fields of `code_compilation_overrides` override the default
+   * compilation settings that are specified in dataform.json.
+   * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * @return Whether the codeCompilationConfig field is set. + */ + @java.lang.Override + public boolean hasCodeCompilationConfig() { + return codeCompilationConfig_ != null; + } + /** + *
+   * Immutable. If set, fields of `code_compilation_overrides` override the default
+   * compilation settings that are specified in dataform.json.
+   * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * @return The codeCompilationConfig. + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig getCodeCompilationConfig() { + return codeCompilationConfig_ == null ? com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig.getDefaultInstance() : codeCompilationConfig_; + } + /** + *
+   * Immutable. If set, fields of `code_compilation_overrides` override the default
+   * compilation settings that are specified in dataform.json.
+   * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfigOrBuilder getCodeCompilationConfigOrBuilder() { + return getCodeCompilationConfig(); + } + + public static final int DATAFORM_CORE_VERSION_FIELD_NUMBER = 5; + private volatile java.lang.Object dataformCoreVersion_; + /** + *
+   * Output only. The version of `@dataform/core` that was used for compilation.
+   * 
+ * + * string dataform_core_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The dataformCoreVersion. + */ + @java.lang.Override + public java.lang.String getDataformCoreVersion() { + java.lang.Object ref = dataformCoreVersion_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + dataformCoreVersion_ = s; + return s; + } + } + /** + *
+   * Output only. The version of `@dataform/core` that was used for compilation.
+   * 
+ * + * string dataform_core_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for dataformCoreVersion. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDataformCoreVersionBytes() { + java.lang.Object ref = dataformCoreVersion_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + dataformCoreVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int COMPILATION_ERRORS_FIELD_NUMBER = 6; + private java.util.List compilationErrors_; + /** + *
+   * Output only. Errors encountered during project compilation.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public java.util.List getCompilationErrorsList() { + return compilationErrors_; + } + /** + *
+   * Output only. Errors encountered during project compilation.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public java.util.List + getCompilationErrorsOrBuilderList() { + return compilationErrors_; + } + /** + *
+   * Output only. Errors encountered during project compilation.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public int getCompilationErrorsCount() { + return compilationErrors_.size(); + } + /** + *
+   * Output only. Errors encountered during project compilation.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError getCompilationErrors(int index) { + return compilationErrors_.get(index); + } + /** + *
+   * Output only. Errors encountered during project compilation.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResult.CompilationErrorOrBuilder getCompilationErrorsOrBuilder( + int index) { + return compilationErrors_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (sourceCase_ == 2) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, source_); + } + if (sourceCase_ == 3) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, source_); + } + if (codeCompilationConfig_ != null) { + output.writeMessage(4, getCodeCompilationConfig()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataformCoreVersion_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, dataformCoreVersion_); + } + for (int i = 0; i < compilationErrors_.size(); i++) { + output.writeMessage(6, compilationErrors_.get(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (sourceCase_ == 2) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, source_); + } + if (sourceCase_ == 3) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, source_); + } + if (codeCompilationConfig_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getCodeCompilationConfig()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataformCoreVersion_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, dataformCoreVersion_); + } + for (int i = 0; i < compilationErrors_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, compilationErrors_.get(i)); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.CompilationResult)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.CompilationResult other = (com.google.cloud.dataform.v1beta1.CompilationResult) obj; + + if (!getName() + .equals(other.getName())) return false; + if (hasCodeCompilationConfig() != other.hasCodeCompilationConfig()) return false; + if (hasCodeCompilationConfig()) { + if (!getCodeCompilationConfig() + .equals(other.getCodeCompilationConfig())) return false; + } + if (!getDataformCoreVersion() + .equals(other.getDataformCoreVersion())) return false; + if (!getCompilationErrorsList() + .equals(other.getCompilationErrorsList())) return false; + if (!getSourceCase().equals(other.getSourceCase())) return false; + switch (sourceCase_) { + case 2: + if (!getGitCommitish() + .equals(other.getGitCommitish())) return false; + break; + case 3: + if (!getWorkspace() + .equals(other.getWorkspace())) return false; + break; + case 0: + default: + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + if (hasCodeCompilationConfig()) { + hash = (37 * hash) + CODE_COMPILATION_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getCodeCompilationConfig().hashCode(); + } + hash = (37 * hash) + DATAFORM_CORE_VERSION_FIELD_NUMBER; + hash = (53 * hash) + getDataformCoreVersion().hashCode(); + if (getCompilationErrorsCount() > 0) { + hash = (37 * hash) + COMPILATION_ERRORS_FIELD_NUMBER; + hash = (53 * hash) + getCompilationErrorsList().hashCode(); + } + switch (sourceCase_) { + case 2: + hash = (37 * hash) + GIT_COMMITISH_FIELD_NUMBER; + hash = (53 * hash) + getGitCommitish().hashCode(); + break; + case 3: + hash = (37 * hash) + WORKSPACE_FIELD_NUMBER; + hash = (53 * hash) + getWorkspace().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.CompilationResult parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.CompilationResult parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CompilationResult parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.CompilationResult parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CompilationResult parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.CompilationResult parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CompilationResult parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.CompilationResult parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CompilationResult parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.CompilationResult parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CompilationResult parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.CompilationResult parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.CompilationResult prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * Represents the result of compiling a Dataform project.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.CompilationResult} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.CompilationResult) + com.google.cloud.dataform.v1beta1.CompilationResultOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResult_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResult_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.CompilationResult.class, com.google.cloud.dataform.v1beta1.CompilationResult.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.CompilationResult.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getCompilationErrorsFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + + if (codeCompilationConfigBuilder_ == null) { + codeCompilationConfig_ = null; + } else { + codeCompilationConfig_ = null; + codeCompilationConfigBuilder_ = null; + } + dataformCoreVersion_ = ""; + + if (compilationErrorsBuilder_ == null) { + compilationErrors_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + compilationErrorsBuilder_.clear(); + } + sourceCase_ = 0; + source_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResult_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResult getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.CompilationResult.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResult build() { + com.google.cloud.dataform.v1beta1.CompilationResult result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResult buildPartial() { + com.google.cloud.dataform.v1beta1.CompilationResult result = new com.google.cloud.dataform.v1beta1.CompilationResult(this); + int from_bitField0_ = bitField0_; + result.name_ = name_; + if (sourceCase_ == 2) { + result.source_ = source_; + } + if (sourceCase_ == 3) { + result.source_ = source_; + } + if (codeCompilationConfigBuilder_ == null) { + result.codeCompilationConfig_ = codeCompilationConfig_; + } else { + result.codeCompilationConfig_ = codeCompilationConfigBuilder_.build(); + } + result.dataformCoreVersion_ = dataformCoreVersion_; + if (compilationErrorsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + compilationErrors_ = java.util.Collections.unmodifiableList(compilationErrors_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.compilationErrors_ = compilationErrors_; + } else { + result.compilationErrors_ = compilationErrorsBuilder_.build(); + } + result.sourceCase_ = sourceCase_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.CompilationResult) { + return mergeFrom((com.google.cloud.dataform.v1beta1.CompilationResult)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.CompilationResult other) { + if (other == com.google.cloud.dataform.v1beta1.CompilationResult.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + if (other.hasCodeCompilationConfig()) { + mergeCodeCompilationConfig(other.getCodeCompilationConfig()); + } + if (!other.getDataformCoreVersion().isEmpty()) { + dataformCoreVersion_ = other.dataformCoreVersion_; + onChanged(); + } + if (compilationErrorsBuilder_ == null) { + if (!other.compilationErrors_.isEmpty()) { + if (compilationErrors_.isEmpty()) { + compilationErrors_ = other.compilationErrors_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureCompilationErrorsIsMutable(); + compilationErrors_.addAll(other.compilationErrors_); + } + onChanged(); + } + } else { + if (!other.compilationErrors_.isEmpty()) { + if (compilationErrorsBuilder_.isEmpty()) { + compilationErrorsBuilder_.dispose(); + compilationErrorsBuilder_ = null; + compilationErrors_ = other.compilationErrors_; + bitField0_ = (bitField0_ & ~0x00000001); + compilationErrorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getCompilationErrorsFieldBuilder() : null; + } else { + compilationErrorsBuilder_.addAllMessages(other.compilationErrors_); + } + } + } + switch (other.getSourceCase()) { + case GIT_COMMITISH: { + sourceCase_ = 2; + source_ = other.source_; + onChanged(); + break; + } + case WORKSPACE: { + sourceCase_ = 3; + source_ = other.source_; + onChanged(); + break; + } + case SOURCE_NOT_SET: { + break; + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.CompilationResult parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.CompilationResult) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int sourceCase_ = 0; + private java.lang.Object source_; + public SourceCase + getSourceCase() { + return SourceCase.forNumber( + sourceCase_); + } + + public Builder clearSource() { + sourceCase_ = 0; + source_ = null; + onChanged(); + return this; + } + + private int bitField0_; + + private java.lang.Object name_ = ""; + /** + *
+     * Output only. The compilation result's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Output only. The compilation result's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Output only. The compilation result's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + *
+     * Output only. The compilation result's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + *
+     * Output only. The compilation result's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + + /** + *
+     * Immutable. Git commit/tag/branch name at which the repository should be compiled.
+     * Must exist in the remote repository.
+     * Examples:
+     * - a commit SHA: `12ade345`
+     * - a tag: `tag1`
+     * - a branch name: `branch1`
+     * 
+ * + * string git_commitish = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @return Whether the gitCommitish field is set. + */ + @java.lang.Override + public boolean hasGitCommitish() { + return sourceCase_ == 2; + } + /** + *
+     * Immutable. Git commit/tag/branch name at which the repository should be compiled.
+     * Must exist in the remote repository.
+     * Examples:
+     * - a commit SHA: `12ade345`
+     * - a tag: `tag1`
+     * - a branch name: `branch1`
+     * 
+ * + * string git_commitish = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @return The gitCommitish. + */ + @java.lang.Override + public java.lang.String getGitCommitish() { + java.lang.Object ref = ""; + if (sourceCase_ == 2) { + ref = source_; + } + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (sourceCase_ == 2) { + source_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Immutable. Git commit/tag/branch name at which the repository should be compiled.
+     * Must exist in the remote repository.
+     * Examples:
+     * - a commit SHA: `12ade345`
+     * - a tag: `tag1`
+     * - a branch name: `branch1`
+     * 
+ * + * string git_commitish = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @return The bytes for gitCommitish. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getGitCommitishBytes() { + java.lang.Object ref = ""; + if (sourceCase_ == 2) { + ref = source_; + } + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + if (sourceCase_ == 2) { + source_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Immutable. Git commit/tag/branch name at which the repository should be compiled.
+     * Must exist in the remote repository.
+     * Examples:
+     * - a commit SHA: `12ade345`
+     * - a tag: `tag1`
+     * - a branch name: `branch1`
+     * 
+ * + * string git_commitish = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @param value The gitCommitish to set. + * @return This builder for chaining. + */ + public Builder setGitCommitish( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + sourceCase_ = 2; + source_ = value; + onChanged(); + return this; + } + /** + *
+     * Immutable. Git commit/tag/branch name at which the repository should be compiled.
+     * Must exist in the remote repository.
+     * Examples:
+     * - a commit SHA: `12ade345`
+     * - a tag: `tag1`
+     * - a branch name: `branch1`
+     * 
+ * + * string git_commitish = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @return This builder for chaining. + */ + public Builder clearGitCommitish() { + if (sourceCase_ == 2) { + sourceCase_ = 0; + source_ = null; + onChanged(); + } + return this; + } + /** + *
+     * Immutable. Git commit/tag/branch name at which the repository should be compiled.
+     * Must exist in the remote repository.
+     * Examples:
+     * - a commit SHA: `12ade345`
+     * - a tag: `tag1`
+     * - a branch name: `branch1`
+     * 
+ * + * string git_commitish = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @param value The bytes for gitCommitish to set. + * @return This builder for chaining. + */ + public Builder setGitCommitishBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sourceCase_ = 2; + source_ = value; + onChanged(); + return this; + } + + /** + *
+     * Immutable. The name of the workspace to compile. Must be in the format
+     * `projects/*/locations/*/repositories/*/workspaces/*`.
+     * 
+ * + * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * @return Whether the workspace field is set. + */ + @java.lang.Override + public boolean hasWorkspace() { + return sourceCase_ == 3; + } + /** + *
+     * Immutable. The name of the workspace to compile. Must be in the format
+     * `projects/*/locations/*/repositories/*/workspaces/*`.
+     * 
+ * + * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * @return The workspace. + */ + @java.lang.Override + public java.lang.String getWorkspace() { + java.lang.Object ref = ""; + if (sourceCase_ == 3) { + ref = source_; + } + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (sourceCase_ == 3) { + source_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Immutable. The name of the workspace to compile. Must be in the format
+     * `projects/*/locations/*/repositories/*/workspaces/*`.
+     * 
+ * + * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * @return The bytes for workspace. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getWorkspaceBytes() { + java.lang.Object ref = ""; + if (sourceCase_ == 3) { + ref = source_; + } + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + if (sourceCase_ == 3) { + source_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Immutable. The name of the workspace to compile. Must be in the format
+     * `projects/*/locations/*/repositories/*/workspaces/*`.
+     * 
+ * + * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * @param value The workspace to set. + * @return This builder for chaining. + */ + public Builder setWorkspace( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + sourceCase_ = 3; + source_ = value; + onChanged(); + return this; + } + /** + *
+     * Immutable. The name of the workspace to compile. Must be in the format
+     * `projects/*/locations/*/repositories/*/workspaces/*`.
+     * 
+ * + * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearWorkspace() { + if (sourceCase_ == 3) { + sourceCase_ = 0; + source_ = null; + onChanged(); + } + return this; + } + /** + *
+     * Immutable. The name of the workspace to compile. Must be in the format
+     * `projects/*/locations/*/repositories/*/workspaces/*`.
+     * 
+ * + * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * @param value The bytes for workspace to set. + * @return This builder for chaining. + */ + public Builder setWorkspaceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sourceCase_ = 3; + source_ = value; + onChanged(); + return this; + } + + private com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig codeCompilationConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig, com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig.Builder, com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfigOrBuilder> codeCompilationConfigBuilder_; + /** + *
+     * Immutable. If set, fields of `code_compilation_overrides` override the default
+     * compilation settings that are specified in dataform.json.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * @return Whether the codeCompilationConfig field is set. + */ + public boolean hasCodeCompilationConfig() { + return codeCompilationConfigBuilder_ != null || codeCompilationConfig_ != null; + } + /** + *
+     * Immutable. If set, fields of `code_compilation_overrides` override the default
+     * compilation settings that are specified in dataform.json.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * @return The codeCompilationConfig. + */ + public com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig getCodeCompilationConfig() { + if (codeCompilationConfigBuilder_ == null) { + return codeCompilationConfig_ == null ? com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig.getDefaultInstance() : codeCompilationConfig_; + } else { + return codeCompilationConfigBuilder_.getMessage(); + } + } + /** + *
+     * Immutable. If set, fields of `code_compilation_overrides` override the default
+     * compilation settings that are specified in dataform.json.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + */ + public Builder setCodeCompilationConfig(com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig value) { + if (codeCompilationConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + codeCompilationConfig_ = value; + onChanged(); + } else { + codeCompilationConfigBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * Immutable. If set, fields of `code_compilation_overrides` override the default
+     * compilation settings that are specified in dataform.json.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + */ + public Builder setCodeCompilationConfig( + com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig.Builder builderForValue) { + if (codeCompilationConfigBuilder_ == null) { + codeCompilationConfig_ = builderForValue.build(); + onChanged(); + } else { + codeCompilationConfigBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * Immutable. If set, fields of `code_compilation_overrides` override the default
+     * compilation settings that are specified in dataform.json.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + */ + public Builder mergeCodeCompilationConfig(com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig value) { + if (codeCompilationConfigBuilder_ == null) { + if (codeCompilationConfig_ != null) { + codeCompilationConfig_ = + com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig.newBuilder(codeCompilationConfig_).mergeFrom(value).buildPartial(); + } else { + codeCompilationConfig_ = value; + } + onChanged(); + } else { + codeCompilationConfigBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * Immutable. If set, fields of `code_compilation_overrides` override the default
+     * compilation settings that are specified in dataform.json.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + */ + public Builder clearCodeCompilationConfig() { + if (codeCompilationConfigBuilder_ == null) { + codeCompilationConfig_ = null; + onChanged(); + } else { + codeCompilationConfig_ = null; + codeCompilationConfigBuilder_ = null; + } + + return this; + } + /** + *
+     * Immutable. If set, fields of `code_compilation_overrides` override the default
+     * compilation settings that are specified in dataform.json.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + */ + public com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig.Builder getCodeCompilationConfigBuilder() { + + onChanged(); + return getCodeCompilationConfigFieldBuilder().getBuilder(); + } + /** + *
+     * Immutable. If set, fields of `code_compilation_overrides` override the default
+     * compilation settings that are specified in dataform.json.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + */ + public com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfigOrBuilder getCodeCompilationConfigOrBuilder() { + if (codeCompilationConfigBuilder_ != null) { + return codeCompilationConfigBuilder_.getMessageOrBuilder(); + } else { + return codeCompilationConfig_ == null ? + com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig.getDefaultInstance() : codeCompilationConfig_; + } + } + /** + *
+     * Immutable. If set, fields of `code_compilation_overrides` override the default
+     * compilation settings that are specified in dataform.json.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig, com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig.Builder, com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfigOrBuilder> + getCodeCompilationConfigFieldBuilder() { + if (codeCompilationConfigBuilder_ == null) { + codeCompilationConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig, com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig.Builder, com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfigOrBuilder>( + getCodeCompilationConfig(), + getParentForChildren(), + isClean()); + codeCompilationConfig_ = null; + } + return codeCompilationConfigBuilder_; + } + + private java.lang.Object dataformCoreVersion_ = ""; + /** + *
+     * Output only. The version of `@dataform/core` that was used for compilation.
+     * 
+ * + * string dataform_core_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The dataformCoreVersion. + */ + public java.lang.String getDataformCoreVersion() { + java.lang.Object ref = dataformCoreVersion_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + dataformCoreVersion_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Output only. The version of `@dataform/core` that was used for compilation.
+     * 
+ * + * string dataform_core_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for dataformCoreVersion. + */ + public com.google.protobuf.ByteString + getDataformCoreVersionBytes() { + java.lang.Object ref = dataformCoreVersion_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + dataformCoreVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Output only. The version of `@dataform/core` that was used for compilation.
+     * 
+ * + * string dataform_core_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param value The dataformCoreVersion to set. + * @return This builder for chaining. + */ + public Builder setDataformCoreVersion( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + dataformCoreVersion_ = value; + onChanged(); + return this; + } + /** + *
+     * Output only. The version of `@dataform/core` that was used for compilation.
+     * 
+ * + * string dataform_core_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return This builder for chaining. + */ + public Builder clearDataformCoreVersion() { + + dataformCoreVersion_ = getDefaultInstance().getDataformCoreVersion(); + onChanged(); + return this; + } + /** + *
+     * Output only. The version of `@dataform/core` that was used for compilation.
+     * 
+ * + * string dataform_core_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param value The bytes for dataformCoreVersion to set. + * @return This builder for chaining. + */ + public Builder setDataformCoreVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + dataformCoreVersion_ = value; + onChanged(); + return this; + } + + private java.util.List compilationErrors_ = + java.util.Collections.emptyList(); + private void ensureCompilationErrorsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + compilationErrors_ = new java.util.ArrayList(compilationErrors_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError, com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.Builder, com.google.cloud.dataform.v1beta1.CompilationResult.CompilationErrorOrBuilder> compilationErrorsBuilder_; + + /** + *
+     * Output only. Errors encountered during project compilation.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public java.util.List getCompilationErrorsList() { + if (compilationErrorsBuilder_ == null) { + return java.util.Collections.unmodifiableList(compilationErrors_); + } else { + return compilationErrorsBuilder_.getMessageList(); + } + } + /** + *
+     * Output only. Errors encountered during project compilation.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public int getCompilationErrorsCount() { + if (compilationErrorsBuilder_ == null) { + return compilationErrors_.size(); + } else { + return compilationErrorsBuilder_.getCount(); + } + } + /** + *
+     * Output only. Errors encountered during project compilation.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError getCompilationErrors(int index) { + if (compilationErrorsBuilder_ == null) { + return compilationErrors_.get(index); + } else { + return compilationErrorsBuilder_.getMessage(index); + } + } + /** + *
+     * Output only. Errors encountered during project compilation.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setCompilationErrors( + int index, com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError value) { + if (compilationErrorsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureCompilationErrorsIsMutable(); + compilationErrors_.set(index, value); + onChanged(); + } else { + compilationErrorsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+     * Output only. Errors encountered during project compilation.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setCompilationErrors( + int index, com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.Builder builderForValue) { + if (compilationErrorsBuilder_ == null) { + ensureCompilationErrorsIsMutable(); + compilationErrors_.set(index, builderForValue.build()); + onChanged(); + } else { + compilationErrorsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * Output only. Errors encountered during project compilation.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder addCompilationErrors(com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError value) { + if (compilationErrorsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureCompilationErrorsIsMutable(); + compilationErrors_.add(value); + onChanged(); + } else { + compilationErrorsBuilder_.addMessage(value); + } + return this; + } + /** + *
+     * Output only. Errors encountered during project compilation.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder addCompilationErrors( + int index, com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError value) { + if (compilationErrorsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureCompilationErrorsIsMutable(); + compilationErrors_.add(index, value); + onChanged(); + } else { + compilationErrorsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+     * Output only. Errors encountered during project compilation.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder addCompilationErrors( + com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.Builder builderForValue) { + if (compilationErrorsBuilder_ == null) { + ensureCompilationErrorsIsMutable(); + compilationErrors_.add(builderForValue.build()); + onChanged(); + } else { + compilationErrorsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+     * Output only. Errors encountered during project compilation.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder addCompilationErrors( + int index, com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.Builder builderForValue) { + if (compilationErrorsBuilder_ == null) { + ensureCompilationErrorsIsMutable(); + compilationErrors_.add(index, builderForValue.build()); + onChanged(); + } else { + compilationErrorsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * Output only. Errors encountered during project compilation.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder addAllCompilationErrors( + java.lang.Iterable values) { + if (compilationErrorsBuilder_ == null) { + ensureCompilationErrorsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, compilationErrors_); + onChanged(); + } else { + compilationErrorsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+     * Output only. Errors encountered during project compilation.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder clearCompilationErrors() { + if (compilationErrorsBuilder_ == null) { + compilationErrors_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + compilationErrorsBuilder_.clear(); + } + return this; + } + /** + *
+     * Output only. Errors encountered during project compilation.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder removeCompilationErrors(int index) { + if (compilationErrorsBuilder_ == null) { + ensureCompilationErrorsIsMutable(); + compilationErrors_.remove(index); + onChanged(); + } else { + compilationErrorsBuilder_.remove(index); + } + return this; + } + /** + *
+     * Output only. Errors encountered during project compilation.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.Builder getCompilationErrorsBuilder( + int index) { + return getCompilationErrorsFieldBuilder().getBuilder(index); + } + /** + *
+     * Output only. Errors encountered during project compilation.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.cloud.dataform.v1beta1.CompilationResult.CompilationErrorOrBuilder getCompilationErrorsOrBuilder( + int index) { + if (compilationErrorsBuilder_ == null) { + return compilationErrors_.get(index); } else { + return compilationErrorsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+     * Output only. Errors encountered during project compilation.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public java.util.List + getCompilationErrorsOrBuilderList() { + if (compilationErrorsBuilder_ != null) { + return compilationErrorsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(compilationErrors_); + } + } + /** + *
+     * Output only. Errors encountered during project compilation.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.Builder addCompilationErrorsBuilder() { + return getCompilationErrorsFieldBuilder().addBuilder( + com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.getDefaultInstance()); + } + /** + *
+     * Output only. Errors encountered during project compilation.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.Builder addCompilationErrorsBuilder( + int index) { + return getCompilationErrorsFieldBuilder().addBuilder( + index, com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.getDefaultInstance()); + } + /** + *
+     * Output only. Errors encountered during project compilation.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public java.util.List + getCompilationErrorsBuilderList() { + return getCompilationErrorsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError, com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.Builder, com.google.cloud.dataform.v1beta1.CompilationResult.CompilationErrorOrBuilder> + getCompilationErrorsFieldBuilder() { + if (compilationErrorsBuilder_ == null) { + compilationErrorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError, com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.Builder, com.google.cloud.dataform.v1beta1.CompilationResult.CompilationErrorOrBuilder>( + compilationErrors_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + compilationErrors_ = null; + } + return compilationErrorsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.CompilationResult) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.CompilationResult) + private static final com.google.cloud.dataform.v1beta1.CompilationResult DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.CompilationResult(); + } + + public static com.google.cloud.dataform.v1beta1.CompilationResult getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompilationResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CompilationResult(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResult getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CompilationResultAction.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CompilationResultAction.java new file mode 100644 index 0000000..ff357a2 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CompilationResultAction.java @@ -0,0 +1,12783 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * Represents a single Dataform action in a compilation result.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.CompilationResultAction} + */ +public final class CompilationResultAction extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.CompilationResultAction) + CompilationResultActionOrBuilder { +private static final long serialVersionUID = 0L; + // Use CompilationResultAction.newBuilder() to construct. + private CompilationResultAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private CompilationResultAction() { + filePath_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CompilationResultAction(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private CompilationResultAction( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.cloud.dataform.v1beta1.Target.Builder subBuilder = null; + if (target_ != null) { + subBuilder = target_.toBuilder(); + } + target_ = input.readMessage(com.google.cloud.dataform.v1beta1.Target.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(target_); + target_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + com.google.cloud.dataform.v1beta1.Target.Builder subBuilder = null; + if (canonicalTarget_ != null) { + subBuilder = canonicalTarget_.toBuilder(); + } + canonicalTarget_ = input.readMessage(com.google.cloud.dataform.v1beta1.Target.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(canonicalTarget_); + canonicalTarget_ = subBuilder.buildPartial(); + } + + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + filePath_ = s; + break; + } + case 34: { + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.Builder subBuilder = null; + if (compiledObjectCase_ == 4) { + subBuilder = ((com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation) compiledObject_).toBuilder(); + } + compiledObject_ = + input.readMessage(com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation) compiledObject_); + compiledObject_ = subBuilder.buildPartial(); + } + compiledObjectCase_ = 4; + break; + } + case 42: { + com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.Builder subBuilder = null; + if (compiledObjectCase_ == 5) { + subBuilder = ((com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations) compiledObject_).toBuilder(); + } + compiledObject_ = + input.readMessage(com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations) compiledObject_); + compiledObject_ = subBuilder.buildPartial(); + } + compiledObjectCase_ = 5; + break; + } + case 50: { + com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.Builder subBuilder = null; + if (compiledObjectCase_ == 6) { + subBuilder = ((com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion) compiledObject_).toBuilder(); + } + compiledObject_ = + input.readMessage(com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion) compiledObject_); + compiledObject_ = subBuilder.buildPartial(); + } + compiledObjectCase_ = 6; + break; + } + case 58: { + com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.Builder subBuilder = null; + if (compiledObjectCase_ == 7) { + subBuilder = ((com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration) compiledObject_).toBuilder(); + } + compiledObject_ = + input.readMessage(com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration) compiledObject_); + compiledObject_ = subBuilder.buildPartial(); + } + compiledObjectCase_ = 7; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.CompilationResultAction.class, com.google.cloud.dataform.v1beta1.CompilationResultAction.Builder.class); + } + + public interface RelationOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.CompilationResultAction.Relation) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * A list of actions that this action depends on.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + java.util.List + getDependencyTargetsList(); + /** + *
+     * A list of actions that this action depends on.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + com.google.cloud.dataform.v1beta1.Target getDependencyTargets(int index); + /** + *
+     * A list of actions that this action depends on.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + int getDependencyTargetsCount(); + /** + *
+     * A list of actions that this action depends on.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + java.util.List + getDependencyTargetsOrBuilderList(); + /** + *
+     * A list of actions that this action depends on.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + com.google.cloud.dataform.v1beta1.TargetOrBuilder getDependencyTargetsOrBuilder( + int index); + + /** + *
+     * Whether this action is disabled (i.e. should not be run).
+     * 
+ * + * bool disabled = 2; + * @return The disabled. + */ + boolean getDisabled(); + + /** + *
+     * Arbitrary, user-defined tags on this action.
+     * 
+ * + * repeated string tags = 3; + * @return A list containing the tags. + */ + java.util.List + getTagsList(); + /** + *
+     * Arbitrary, user-defined tags on this action.
+     * 
+ * + * repeated string tags = 3; + * @return The count of tags. + */ + int getTagsCount(); + /** + *
+     * Arbitrary, user-defined tags on this action.
+     * 
+ * + * repeated string tags = 3; + * @param index The index of the element to return. + * @return The tags at the given index. + */ + java.lang.String getTags(int index); + /** + *
+     * Arbitrary, user-defined tags on this action.
+     * 
+ * + * repeated string tags = 3; + * @param index The index of the value to return. + * @return The bytes of the tags at the given index. + */ + com.google.protobuf.ByteString + getTagsBytes(int index); + + /** + *
+     * Descriptor for the relation and its columns.
+     * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 4; + * @return Whether the relationDescriptor field is set. + */ + boolean hasRelationDescriptor(); + /** + *
+     * Descriptor for the relation and its columns.
+     * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 4; + * @return The relationDescriptor. + */ + com.google.cloud.dataform.v1beta1.RelationDescriptor getRelationDescriptor(); + /** + *
+     * Descriptor for the relation and its columns.
+     * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 4; + */ + com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder getRelationDescriptorOrBuilder(); + + /** + *
+     * The type of this relation.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType relation_type = 5; + * @return The enum numeric value on the wire for relationType. + */ + int getRelationTypeValue(); + /** + *
+     * The type of this relation.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType relation_type = 5; + * @return The relationType. + */ + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType getRelationType(); + + /** + *
+     * The SELECT query which returns rows which this relation should contain.
+     * 
+ * + * string select_query = 6; + * @return The selectQuery. + */ + java.lang.String getSelectQuery(); + /** + *
+     * The SELECT query which returns rows which this relation should contain.
+     * 
+ * + * string select_query = 6; + * @return The bytes for selectQuery. + */ + com.google.protobuf.ByteString + getSelectQueryBytes(); + + /** + *
+     * SQL statements to be executed before creating the relation.
+     * 
+ * + * repeated string pre_operations = 7; + * @return A list containing the preOperations. + */ + java.util.List + getPreOperationsList(); + /** + *
+     * SQL statements to be executed before creating the relation.
+     * 
+ * + * repeated string pre_operations = 7; + * @return The count of preOperations. + */ + int getPreOperationsCount(); + /** + *
+     * SQL statements to be executed before creating the relation.
+     * 
+ * + * repeated string pre_operations = 7; + * @param index The index of the element to return. + * @return The preOperations at the given index. + */ + java.lang.String getPreOperations(int index); + /** + *
+     * SQL statements to be executed before creating the relation.
+     * 
+ * + * repeated string pre_operations = 7; + * @param index The index of the value to return. + * @return The bytes of the preOperations at the given index. + */ + com.google.protobuf.ByteString + getPreOperationsBytes(int index); + + /** + *
+     * SQL statements to be executed after creating the relation.
+     * 
+ * + * repeated string post_operations = 8; + * @return A list containing the postOperations. + */ + java.util.List + getPostOperationsList(); + /** + *
+     * SQL statements to be executed after creating the relation.
+     * 
+ * + * repeated string post_operations = 8; + * @return The count of postOperations. + */ + int getPostOperationsCount(); + /** + *
+     * SQL statements to be executed after creating the relation.
+     * 
+ * + * repeated string post_operations = 8; + * @param index The index of the element to return. + * @return The postOperations at the given index. + */ + java.lang.String getPostOperations(int index); + /** + *
+     * SQL statements to be executed after creating the relation.
+     * 
+ * + * repeated string post_operations = 8; + * @param index The index of the value to return. + * @return The bytes of the postOperations at the given index. + */ + com.google.protobuf.ByteString + getPostOperationsBytes(int index); + + /** + *
+     * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
+     * `relation_type` is `INCREMENTAL_TABLE`.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * @return Whether the incrementalTableConfig field is set. + */ + boolean hasIncrementalTableConfig(); + /** + *
+     * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
+     * `relation_type` is `INCREMENTAL_TABLE`.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * @return The incrementalTableConfig. + */ + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig getIncrementalTableConfig(); + /** + *
+     * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
+     * `relation_type` is `INCREMENTAL_TABLE`.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + */ + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfigOrBuilder getIncrementalTableConfigOrBuilder(); + + /** + *
+     * The SQL expression used to partition the relation.
+     * 
+ * + * string partition_expression = 10; + * @return The partitionExpression. + */ + java.lang.String getPartitionExpression(); + /** + *
+     * The SQL expression used to partition the relation.
+     * 
+ * + * string partition_expression = 10; + * @return The bytes for partitionExpression. + */ + com.google.protobuf.ByteString + getPartitionExpressionBytes(); + + /** + *
+     * A list of columns or SQL expressions used to cluster the table.
+     * 
+ * + * repeated string cluster_expressions = 11; + * @return A list containing the clusterExpressions. + */ + java.util.List + getClusterExpressionsList(); + /** + *
+     * A list of columns or SQL expressions used to cluster the table.
+     * 
+ * + * repeated string cluster_expressions = 11; + * @return The count of clusterExpressions. + */ + int getClusterExpressionsCount(); + /** + *
+     * A list of columns or SQL expressions used to cluster the table.
+     * 
+ * + * repeated string cluster_expressions = 11; + * @param index The index of the element to return. + * @return The clusterExpressions at the given index. + */ + java.lang.String getClusterExpressions(int index); + /** + *
+     * A list of columns or SQL expressions used to cluster the table.
+     * 
+ * + * repeated string cluster_expressions = 11; + * @param index The index of the value to return. + * @return The bytes of the clusterExpressions at the given index. + */ + com.google.protobuf.ByteString + getClusterExpressionsBytes(int index); + + /** + *
+     * Sets the partition expiration in days.
+     * 
+ * + * int32 partition_expiration_days = 12; + * @return The partitionExpirationDays. + */ + int getPartitionExpirationDays(); + + /** + *
+     * Specifies whether queries on this table must include a predicate filter
+     * that filters on the partitioning column.
+     * 
+ * + * bool require_partition_filter = 13; + * @return The requirePartitionFilter. + */ + boolean getRequirePartitionFilter(); + + /** + *
+     * Additional options that will be provided as key/value pairs into the
+     * options clause of a create table/view statement. See
+     * https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language
+     * for more information on which options are supported.
+     * 
+ * + * map<string, string> additional_options = 14; + */ + int getAdditionalOptionsCount(); + /** + *
+     * Additional options that will be provided as key/value pairs into the
+     * options clause of a create table/view statement. See
+     * https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language
+     * for more information on which options are supported.
+     * 
+ * + * map<string, string> additional_options = 14; + */ + boolean containsAdditionalOptions( + java.lang.String key); + /** + * Use {@link #getAdditionalOptionsMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getAdditionalOptions(); + /** + *
+     * Additional options that will be provided as key/value pairs into the
+     * options clause of a create table/view statement. See
+     * https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language
+     * for more information on which options are supported.
+     * 
+ * + * map<string, string> additional_options = 14; + */ + java.util.Map + getAdditionalOptionsMap(); + /** + *
+     * Additional options that will be provided as key/value pairs into the
+     * options clause of a create table/view statement. See
+     * https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language
+     * for more information on which options are supported.
+     * 
+ * + * map<string, string> additional_options = 14; + */ + + /* nullable */ +java.lang.String getAdditionalOptionsOrDefault( + java.lang.String key, + /* nullable */ +java.lang.String defaultValue); + /** + *
+     * Additional options that will be provided as key/value pairs into the
+     * options clause of a create table/view statement. See
+     * https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language
+     * for more information on which options are supported.
+     * 
+ * + * map<string, string> additional_options = 14; + */ + + java.lang.String getAdditionalOptionsOrThrow( + java.lang.String key); + } + /** + *
+   * Represents a database relation.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.CompilationResultAction.Relation} + */ + public static final class Relation extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.CompilationResultAction.Relation) + RelationOrBuilder { + private static final long serialVersionUID = 0L; + // Use Relation.newBuilder() to construct. + private Relation(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Relation() { + dependencyTargets_ = java.util.Collections.emptyList(); + tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + relationType_ = 0; + selectQuery_ = ""; + preOperations_ = com.google.protobuf.LazyStringArrayList.EMPTY; + postOperations_ = com.google.protobuf.LazyStringArrayList.EMPTY; + partitionExpression_ = ""; + clusterExpressions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Relation(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private Relation( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + dependencyTargets_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + dependencyTargets_.add( + input.readMessage(com.google.cloud.dataform.v1beta1.Target.parser(), extensionRegistry)); + break; + } + case 16: { + + disabled_ = input.readBool(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + tags_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + tags_.add(s); + break; + } + case 34: { + com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder subBuilder = null; + if (relationDescriptor_ != null) { + subBuilder = relationDescriptor_.toBuilder(); + } + relationDescriptor_ = input.readMessage(com.google.cloud.dataform.v1beta1.RelationDescriptor.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(relationDescriptor_); + relationDescriptor_ = subBuilder.buildPartial(); + } + + break; + } + case 40: { + int rawValue = input.readEnum(); + + relationType_ = rawValue; + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + + selectQuery_ = s; + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + preOperations_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000004; + } + preOperations_.add(s); + break; + } + case 66: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + postOperations_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000008; + } + postOperations_.add(s); + break; + } + case 74: { + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig.Builder subBuilder = null; + if (incrementalTableConfig_ != null) { + subBuilder = incrementalTableConfig_.toBuilder(); + } + incrementalTableConfig_ = input.readMessage(com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(incrementalTableConfig_); + incrementalTableConfig_ = subBuilder.buildPartial(); + } + + break; + } + case 82: { + java.lang.String s = input.readStringRequireUtf8(); + + partitionExpression_ = s; + break; + } + case 90: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000010) != 0)) { + clusterExpressions_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000010; + } + clusterExpressions_.add(s); + break; + } + case 96: { + + partitionExpirationDays_ = input.readInt32(); + break; + } + case 104: { + + requirePartitionFilter_ = input.readBool(); + break; + } + case 114: { + if (!((mutable_bitField0_ & 0x00000020) != 0)) { + additionalOptions_ = com.google.protobuf.MapField.newMapField( + AdditionalOptionsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000020; + } + com.google.protobuf.MapEntry + additionalOptions__ = input.readMessage( + AdditionalOptionsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + additionalOptions_.getMutableMap().put( + additionalOptions__.getKey(), additionalOptions__.getValue()); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + dependencyTargets_ = java.util.Collections.unmodifiableList(dependencyTargets_); + } + if (((mutable_bitField0_ & 0x00000002) != 0)) { + tags_ = tags_.getUnmodifiableView(); + } + if (((mutable_bitField0_ & 0x00000004) != 0)) { + preOperations_ = preOperations_.getUnmodifiableView(); + } + if (((mutable_bitField0_ & 0x00000008) != 0)) { + postOperations_ = postOperations_.getUnmodifiableView(); + } + if (((mutable_bitField0_ & 0x00000010) != 0)) { + clusterExpressions_ = clusterExpressions_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 14: + return internalGetAdditionalOptions(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.class, com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.Builder.class); + } + + /** + *
+     * Indicates the type of this relation.
+     * 
+ * + * Protobuf enum {@code google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType} + */ + public enum RelationType + implements com.google.protobuf.ProtocolMessageEnum { + /** + *
+       * Default value. This value is unused.
+       * 
+ * + * RELATION_TYPE_UNSPECIFIED = 0; + */ + RELATION_TYPE_UNSPECIFIED(0), + /** + *
+       * The relation is a table.
+       * 
+ * + * TABLE = 1; + */ + TABLE(1), + /** + *
+       * The relation is a view.
+       * 
+ * + * VIEW = 2; + */ + VIEW(2), + /** + *
+       * The relation is an incrementalized table.
+       * 
+ * + * INCREMENTAL_TABLE = 3; + */ + INCREMENTAL_TABLE(3), + /** + *
+       * The relation is a materialized view.
+       * 
+ * + * MATERIALIZED_VIEW = 4; + */ + MATERIALIZED_VIEW(4), + UNRECOGNIZED(-1), + ; + + /** + *
+       * Default value. This value is unused.
+       * 
+ * + * RELATION_TYPE_UNSPECIFIED = 0; + */ + public static final int RELATION_TYPE_UNSPECIFIED_VALUE = 0; + /** + *
+       * The relation is a table.
+       * 
+ * + * TABLE = 1; + */ + public static final int TABLE_VALUE = 1; + /** + *
+       * The relation is a view.
+       * 
+ * + * VIEW = 2; + */ + public static final int VIEW_VALUE = 2; + /** + *
+       * The relation is an incrementalized table.
+       * 
+ * + * INCREMENTAL_TABLE = 3; + */ + public static final int INCREMENTAL_TABLE_VALUE = 3; + /** + *
+       * The relation is a materialized view.
+       * 
+ * + * MATERIALIZED_VIEW = 4; + */ + public static final int MATERIALIZED_VIEW_VALUE = 4; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static RelationType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static RelationType forNumber(int value) { + switch (value) { + case 0: return RELATION_TYPE_UNSPECIFIED; + case 1: return TABLE; + case 2: return VIEW; + case 3: return INCREMENTAL_TABLE; + case 4: return MATERIALIZED_VIEW; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + RelationType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RelationType findValueByNumber(int number) { + return RelationType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.getDescriptor().getEnumTypes().get(0); + } + + private static final RelationType[] VALUES = values(); + + public static RelationType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private RelationType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType) + } + + public interface IncrementalTableConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+       * The SELECT query which returns rows which should be inserted into the
+       * relation if it already exists and is not being refreshed.
+       * 
+ * + * string incremental_select_query = 1; + * @return The incrementalSelectQuery. + */ + java.lang.String getIncrementalSelectQuery(); + /** + *
+       * The SELECT query which returns rows which should be inserted into the
+       * relation if it already exists and is not being refreshed.
+       * 
+ * + * string incremental_select_query = 1; + * @return The bytes for incrementalSelectQuery. + */ + com.google.protobuf.ByteString + getIncrementalSelectQueryBytes(); + + /** + *
+       * Whether this table should be protected from being refreshed.
+       * 
+ * + * bool refresh_disabled = 2; + * @return The refreshDisabled. + */ + boolean getRefreshDisabled(); + + /** + *
+       * A set of columns or SQL expressions used to define row uniqueness.
+       * If any duplicates are discovered (as defined by `unique_key_parts`),
+       * only the newly selected rows (as defined by `incremental_select_query`)
+       * will be included in the relation.
+       * 
+ * + * repeated string unique_key_parts = 3; + * @return A list containing the uniqueKeyParts. + */ + java.util.List + getUniqueKeyPartsList(); + /** + *
+       * A set of columns or SQL expressions used to define row uniqueness.
+       * If any duplicates are discovered (as defined by `unique_key_parts`),
+       * only the newly selected rows (as defined by `incremental_select_query`)
+       * will be included in the relation.
+       * 
+ * + * repeated string unique_key_parts = 3; + * @return The count of uniqueKeyParts. + */ + int getUniqueKeyPartsCount(); + /** + *
+       * A set of columns or SQL expressions used to define row uniqueness.
+       * If any duplicates are discovered (as defined by `unique_key_parts`),
+       * only the newly selected rows (as defined by `incremental_select_query`)
+       * will be included in the relation.
+       * 
+ * + * repeated string unique_key_parts = 3; + * @param index The index of the element to return. + * @return The uniqueKeyParts at the given index. + */ + java.lang.String getUniqueKeyParts(int index); + /** + *
+       * A set of columns or SQL expressions used to define row uniqueness.
+       * If any duplicates are discovered (as defined by `unique_key_parts`),
+       * only the newly selected rows (as defined by `incremental_select_query`)
+       * will be included in the relation.
+       * 
+ * + * repeated string unique_key_parts = 3; + * @param index The index of the value to return. + * @return The bytes of the uniqueKeyParts at the given index. + */ + com.google.protobuf.ByteString + getUniqueKeyPartsBytes(int index); + + /** + *
+       * A SQL expression conditional used to limit the set of existing rows
+       * considered for a merge operation (see `unique_key_parts` for more
+       * information).
+       * 
+ * + * string update_partition_filter = 4; + * @return The updatePartitionFilter. + */ + java.lang.String getUpdatePartitionFilter(); + /** + *
+       * A SQL expression conditional used to limit the set of existing rows
+       * considered for a merge operation (see `unique_key_parts` for more
+       * information).
+       * 
+ * + * string update_partition_filter = 4; + * @return The bytes for updatePartitionFilter. + */ + com.google.protobuf.ByteString + getUpdatePartitionFilterBytes(); + + /** + *
+       * SQL statements to be executed before inserting new rows into the
+       * relation.
+       * 
+ * + * repeated string incremental_pre_operations = 5; + * @return A list containing the incrementalPreOperations. + */ + java.util.List + getIncrementalPreOperationsList(); + /** + *
+       * SQL statements to be executed before inserting new rows into the
+       * relation.
+       * 
+ * + * repeated string incremental_pre_operations = 5; + * @return The count of incrementalPreOperations. + */ + int getIncrementalPreOperationsCount(); + /** + *
+       * SQL statements to be executed before inserting new rows into the
+       * relation.
+       * 
+ * + * repeated string incremental_pre_operations = 5; + * @param index The index of the element to return. + * @return The incrementalPreOperations at the given index. + */ + java.lang.String getIncrementalPreOperations(int index); + /** + *
+       * SQL statements to be executed before inserting new rows into the
+       * relation.
+       * 
+ * + * repeated string incremental_pre_operations = 5; + * @param index The index of the value to return. + * @return The bytes of the incrementalPreOperations at the given index. + */ + com.google.protobuf.ByteString + getIncrementalPreOperationsBytes(int index); + + /** + *
+       * SQL statements to be executed after inserting new rows into the
+       * relation.
+       * 
+ * + * repeated string incremental_post_operations = 6; + * @return A list containing the incrementalPostOperations. + */ + java.util.List + getIncrementalPostOperationsList(); + /** + *
+       * SQL statements to be executed after inserting new rows into the
+       * relation.
+       * 
+ * + * repeated string incremental_post_operations = 6; + * @return The count of incrementalPostOperations. + */ + int getIncrementalPostOperationsCount(); + /** + *
+       * SQL statements to be executed after inserting new rows into the
+       * relation.
+       * 
+ * + * repeated string incremental_post_operations = 6; + * @param index The index of the element to return. + * @return The incrementalPostOperations at the given index. + */ + java.lang.String getIncrementalPostOperations(int index); + /** + *
+       * SQL statements to be executed after inserting new rows into the
+       * relation.
+       * 
+ * + * repeated string incremental_post_operations = 6; + * @param index The index of the value to return. + * @return The bytes of the incrementalPostOperations at the given index. + */ + com.google.protobuf.ByteString + getIncrementalPostOperationsBytes(int index); + } + /** + *
+     * Contains settings for relations of type `INCREMENTAL_TABLE`.
+     * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig} + */ + public static final class IncrementalTableConfig extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig) + IncrementalTableConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use IncrementalTableConfig.newBuilder() to construct. + private IncrementalTableConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private IncrementalTableConfig() { + incrementalSelectQuery_ = ""; + uniqueKeyParts_ = com.google.protobuf.LazyStringArrayList.EMPTY; + updatePartitionFilter_ = ""; + incrementalPreOperations_ = com.google.protobuf.LazyStringArrayList.EMPTY; + incrementalPostOperations_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new IncrementalTableConfig(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private IncrementalTableConfig( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + incrementalSelectQuery_ = s; + break; + } + case 16: { + + refreshDisabled_ = input.readBool(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + uniqueKeyParts_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + uniqueKeyParts_.add(s); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + updatePartitionFilter_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + incrementalPreOperations_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + incrementalPreOperations_.add(s); + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + incrementalPostOperations_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000004; + } + incrementalPostOperations_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + uniqueKeyParts_ = uniqueKeyParts_.getUnmodifiableView(); + } + if (((mutable_bitField0_ & 0x00000002) != 0)) { + incrementalPreOperations_ = incrementalPreOperations_.getUnmodifiableView(); + } + if (((mutable_bitField0_ & 0x00000004) != 0)) { + incrementalPostOperations_ = incrementalPostOperations_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_IncrementalTableConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_IncrementalTableConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig.class, com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig.Builder.class); + } + + public static final int INCREMENTAL_SELECT_QUERY_FIELD_NUMBER = 1; + private volatile java.lang.Object incrementalSelectQuery_; + /** + *
+       * The SELECT query which returns rows which should be inserted into the
+       * relation if it already exists and is not being refreshed.
+       * 
+ * + * string incremental_select_query = 1; + * @return The incrementalSelectQuery. + */ + @java.lang.Override + public java.lang.String getIncrementalSelectQuery() { + java.lang.Object ref = incrementalSelectQuery_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + incrementalSelectQuery_ = s; + return s; + } + } + /** + *
+       * The SELECT query which returns rows which should be inserted into the
+       * relation if it already exists and is not being refreshed.
+       * 
+ * + * string incremental_select_query = 1; + * @return The bytes for incrementalSelectQuery. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getIncrementalSelectQueryBytes() { + java.lang.Object ref = incrementalSelectQuery_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + incrementalSelectQuery_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REFRESH_DISABLED_FIELD_NUMBER = 2; + private boolean refreshDisabled_; + /** + *
+       * Whether this table should be protected from being refreshed.
+       * 
+ * + * bool refresh_disabled = 2; + * @return The refreshDisabled. + */ + @java.lang.Override + public boolean getRefreshDisabled() { + return refreshDisabled_; + } + + public static final int UNIQUE_KEY_PARTS_FIELD_NUMBER = 3; + private com.google.protobuf.LazyStringList uniqueKeyParts_; + /** + *
+       * A set of columns or SQL expressions used to define row uniqueness.
+       * If any duplicates are discovered (as defined by `unique_key_parts`),
+       * only the newly selected rows (as defined by `incremental_select_query`)
+       * will be included in the relation.
+       * 
+ * + * repeated string unique_key_parts = 3; + * @return A list containing the uniqueKeyParts. + */ + public com.google.protobuf.ProtocolStringList + getUniqueKeyPartsList() { + return uniqueKeyParts_; + } + /** + *
+       * A set of columns or SQL expressions used to define row uniqueness.
+       * If any duplicates are discovered (as defined by `unique_key_parts`),
+       * only the newly selected rows (as defined by `incremental_select_query`)
+       * will be included in the relation.
+       * 
+ * + * repeated string unique_key_parts = 3; + * @return The count of uniqueKeyParts. + */ + public int getUniqueKeyPartsCount() { + return uniqueKeyParts_.size(); + } + /** + *
+       * A set of columns or SQL expressions used to define row uniqueness.
+       * If any duplicates are discovered (as defined by `unique_key_parts`),
+       * only the newly selected rows (as defined by `incremental_select_query`)
+       * will be included in the relation.
+       * 
+ * + * repeated string unique_key_parts = 3; + * @param index The index of the element to return. + * @return The uniqueKeyParts at the given index. + */ + public java.lang.String getUniqueKeyParts(int index) { + return uniqueKeyParts_.get(index); + } + /** + *
+       * A set of columns or SQL expressions used to define row uniqueness.
+       * If any duplicates are discovered (as defined by `unique_key_parts`),
+       * only the newly selected rows (as defined by `incremental_select_query`)
+       * will be included in the relation.
+       * 
+ * + * repeated string unique_key_parts = 3; + * @param index The index of the value to return. + * @return The bytes of the uniqueKeyParts at the given index. + */ + public com.google.protobuf.ByteString + getUniqueKeyPartsBytes(int index) { + return uniqueKeyParts_.getByteString(index); + } + + public static final int UPDATE_PARTITION_FILTER_FIELD_NUMBER = 4; + private volatile java.lang.Object updatePartitionFilter_; + /** + *
+       * A SQL expression conditional used to limit the set of existing rows
+       * considered for a merge operation (see `unique_key_parts` for more
+       * information).
+       * 
+ * + * string update_partition_filter = 4; + * @return The updatePartitionFilter. + */ + @java.lang.Override + public java.lang.String getUpdatePartitionFilter() { + java.lang.Object ref = updatePartitionFilter_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + updatePartitionFilter_ = s; + return s; + } + } + /** + *
+       * A SQL expression conditional used to limit the set of existing rows
+       * considered for a merge operation (see `unique_key_parts` for more
+       * information).
+       * 
+ * + * string update_partition_filter = 4; + * @return The bytes for updatePartitionFilter. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getUpdatePartitionFilterBytes() { + java.lang.Object ref = updatePartitionFilter_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + updatePartitionFilter_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int INCREMENTAL_PRE_OPERATIONS_FIELD_NUMBER = 5; + private com.google.protobuf.LazyStringList incrementalPreOperations_; + /** + *
+       * SQL statements to be executed before inserting new rows into the
+       * relation.
+       * 
+ * + * repeated string incremental_pre_operations = 5; + * @return A list containing the incrementalPreOperations. + */ + public com.google.protobuf.ProtocolStringList + getIncrementalPreOperationsList() { + return incrementalPreOperations_; + } + /** + *
+       * SQL statements to be executed before inserting new rows into the
+       * relation.
+       * 
+ * + * repeated string incremental_pre_operations = 5; + * @return The count of incrementalPreOperations. + */ + public int getIncrementalPreOperationsCount() { + return incrementalPreOperations_.size(); + } + /** + *
+       * SQL statements to be executed before inserting new rows into the
+       * relation.
+       * 
+ * + * repeated string incremental_pre_operations = 5; + * @param index The index of the element to return. + * @return The incrementalPreOperations at the given index. + */ + public java.lang.String getIncrementalPreOperations(int index) { + return incrementalPreOperations_.get(index); + } + /** + *
+       * SQL statements to be executed before inserting new rows into the
+       * relation.
+       * 
+ * + * repeated string incremental_pre_operations = 5; + * @param index The index of the value to return. + * @return The bytes of the incrementalPreOperations at the given index. + */ + public com.google.protobuf.ByteString + getIncrementalPreOperationsBytes(int index) { + return incrementalPreOperations_.getByteString(index); + } + + public static final int INCREMENTAL_POST_OPERATIONS_FIELD_NUMBER = 6; + private com.google.protobuf.LazyStringList incrementalPostOperations_; + /** + *
+       * SQL statements to be executed after inserting new rows into the
+       * relation.
+       * 
+ * + * repeated string incremental_post_operations = 6; + * @return A list containing the incrementalPostOperations. + */ + public com.google.protobuf.ProtocolStringList + getIncrementalPostOperationsList() { + return incrementalPostOperations_; + } + /** + *
+       * SQL statements to be executed after inserting new rows into the
+       * relation.
+       * 
+ * + * repeated string incremental_post_operations = 6; + * @return The count of incrementalPostOperations. + */ + public int getIncrementalPostOperationsCount() { + return incrementalPostOperations_.size(); + } + /** + *
+       * SQL statements to be executed after inserting new rows into the
+       * relation.
+       * 
+ * + * repeated string incremental_post_operations = 6; + * @param index The index of the element to return. + * @return The incrementalPostOperations at the given index. + */ + public java.lang.String getIncrementalPostOperations(int index) { + return incrementalPostOperations_.get(index); + } + /** + *
+       * SQL statements to be executed after inserting new rows into the
+       * relation.
+       * 
+ * + * repeated string incremental_post_operations = 6; + * @param index The index of the value to return. + * @return The bytes of the incrementalPostOperations at the given index. + */ + public com.google.protobuf.ByteString + getIncrementalPostOperationsBytes(int index) { + return incrementalPostOperations_.getByteString(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(incrementalSelectQuery_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, incrementalSelectQuery_); + } + if (refreshDisabled_ != false) { + output.writeBool(2, refreshDisabled_); + } + for (int i = 0; i < uniqueKeyParts_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, uniqueKeyParts_.getRaw(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(updatePartitionFilter_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, updatePartitionFilter_); + } + for (int i = 0; i < incrementalPreOperations_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, incrementalPreOperations_.getRaw(i)); + } + for (int i = 0; i < incrementalPostOperations_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, incrementalPostOperations_.getRaw(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(incrementalSelectQuery_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, incrementalSelectQuery_); + } + if (refreshDisabled_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, refreshDisabled_); + } + { + int dataSize = 0; + for (int i = 0; i < uniqueKeyParts_.size(); i++) { + dataSize += computeStringSizeNoTag(uniqueKeyParts_.getRaw(i)); + } + size += dataSize; + size += 1 * getUniqueKeyPartsList().size(); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(updatePartitionFilter_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, updatePartitionFilter_); + } + { + int dataSize = 0; + for (int i = 0; i < incrementalPreOperations_.size(); i++) { + dataSize += computeStringSizeNoTag(incrementalPreOperations_.getRaw(i)); + } + size += dataSize; + size += 1 * getIncrementalPreOperationsList().size(); + } + { + int dataSize = 0; + for (int i = 0; i < incrementalPostOperations_.size(); i++) { + dataSize += computeStringSizeNoTag(incrementalPostOperations_.getRaw(i)); + } + size += dataSize; + size += 1 * getIncrementalPostOperationsList().size(); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig other = (com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig) obj; + + if (!getIncrementalSelectQuery() + .equals(other.getIncrementalSelectQuery())) return false; + if (getRefreshDisabled() + != other.getRefreshDisabled()) return false; + if (!getUniqueKeyPartsList() + .equals(other.getUniqueKeyPartsList())) return false; + if (!getUpdatePartitionFilter() + .equals(other.getUpdatePartitionFilter())) return false; + if (!getIncrementalPreOperationsList() + .equals(other.getIncrementalPreOperationsList())) return false; + if (!getIncrementalPostOperationsList() + .equals(other.getIncrementalPostOperationsList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + INCREMENTAL_SELECT_QUERY_FIELD_NUMBER; + hash = (53 * hash) + getIncrementalSelectQuery().hashCode(); + hash = (37 * hash) + REFRESH_DISABLED_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRefreshDisabled()); + if (getUniqueKeyPartsCount() > 0) { + hash = (37 * hash) + UNIQUE_KEY_PARTS_FIELD_NUMBER; + hash = (53 * hash) + getUniqueKeyPartsList().hashCode(); + } + hash = (37 * hash) + UPDATE_PARTITION_FILTER_FIELD_NUMBER; + hash = (53 * hash) + getUpdatePartitionFilter().hashCode(); + if (getIncrementalPreOperationsCount() > 0) { + hash = (37 * hash) + INCREMENTAL_PRE_OPERATIONS_FIELD_NUMBER; + hash = (53 * hash) + getIncrementalPreOperationsList().hashCode(); + } + if (getIncrementalPostOperationsCount() > 0) { + hash = (37 * hash) + INCREMENTAL_POST_OPERATIONS_FIELD_NUMBER; + hash = (53 * hash) + getIncrementalPostOperationsList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+       * Contains settings for relations of type `INCREMENTAL_TABLE`.
+       * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig) + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_IncrementalTableConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_IncrementalTableConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig.class, com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + incrementalSelectQuery_ = ""; + + refreshDisabled_ = false; + + uniqueKeyParts_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + updatePartitionFilter_ = ""; + + incrementalPreOperations_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + incrementalPostOperations_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000004); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_IncrementalTableConfig_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig build() { + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig buildPartial() { + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig result = new com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig(this); + int from_bitField0_ = bitField0_; + result.incrementalSelectQuery_ = incrementalSelectQuery_; + result.refreshDisabled_ = refreshDisabled_; + if (((bitField0_ & 0x00000001) != 0)) { + uniqueKeyParts_ = uniqueKeyParts_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.uniqueKeyParts_ = uniqueKeyParts_; + result.updatePartitionFilter_ = updatePartitionFilter_; + if (((bitField0_ & 0x00000002) != 0)) { + incrementalPreOperations_ = incrementalPreOperations_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.incrementalPreOperations_ = incrementalPreOperations_; + if (((bitField0_ & 0x00000004) != 0)) { + incrementalPostOperations_ = incrementalPostOperations_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.incrementalPostOperations_ = incrementalPostOperations_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig) { + return mergeFrom((com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig other) { + if (other == com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig.getDefaultInstance()) return this; + if (!other.getIncrementalSelectQuery().isEmpty()) { + incrementalSelectQuery_ = other.incrementalSelectQuery_; + onChanged(); + } + if (other.getRefreshDisabled() != false) { + setRefreshDisabled(other.getRefreshDisabled()); + } + if (!other.uniqueKeyParts_.isEmpty()) { + if (uniqueKeyParts_.isEmpty()) { + uniqueKeyParts_ = other.uniqueKeyParts_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureUniqueKeyPartsIsMutable(); + uniqueKeyParts_.addAll(other.uniqueKeyParts_); + } + onChanged(); + } + if (!other.getUpdatePartitionFilter().isEmpty()) { + updatePartitionFilter_ = other.updatePartitionFilter_; + onChanged(); + } + if (!other.incrementalPreOperations_.isEmpty()) { + if (incrementalPreOperations_.isEmpty()) { + incrementalPreOperations_ = other.incrementalPreOperations_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureIncrementalPreOperationsIsMutable(); + incrementalPreOperations_.addAll(other.incrementalPreOperations_); + } + onChanged(); + } + if (!other.incrementalPostOperations_.isEmpty()) { + if (incrementalPostOperations_.isEmpty()) { + incrementalPostOperations_ = other.incrementalPostOperations_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureIncrementalPostOperationsIsMutable(); + incrementalPostOperations_.addAll(other.incrementalPostOperations_); + } + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private java.lang.Object incrementalSelectQuery_ = ""; + /** + *
+         * The SELECT query which returns rows which should be inserted into the
+         * relation if it already exists and is not being refreshed.
+         * 
+ * + * string incremental_select_query = 1; + * @return The incrementalSelectQuery. + */ + public java.lang.String getIncrementalSelectQuery() { + java.lang.Object ref = incrementalSelectQuery_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + incrementalSelectQuery_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+         * The SELECT query which returns rows which should be inserted into the
+         * relation if it already exists and is not being refreshed.
+         * 
+ * + * string incremental_select_query = 1; + * @return The bytes for incrementalSelectQuery. + */ + public com.google.protobuf.ByteString + getIncrementalSelectQueryBytes() { + java.lang.Object ref = incrementalSelectQuery_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + incrementalSelectQuery_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+         * The SELECT query which returns rows which should be inserted into the
+         * relation if it already exists and is not being refreshed.
+         * 
+ * + * string incremental_select_query = 1; + * @param value The incrementalSelectQuery to set. + * @return This builder for chaining. + */ + public Builder setIncrementalSelectQuery( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + incrementalSelectQuery_ = value; + onChanged(); + return this; + } + /** + *
+         * The SELECT query which returns rows which should be inserted into the
+         * relation if it already exists and is not being refreshed.
+         * 
+ * + * string incremental_select_query = 1; + * @return This builder for chaining. + */ + public Builder clearIncrementalSelectQuery() { + + incrementalSelectQuery_ = getDefaultInstance().getIncrementalSelectQuery(); + onChanged(); + return this; + } + /** + *
+         * The SELECT query which returns rows which should be inserted into the
+         * relation if it already exists and is not being refreshed.
+         * 
+ * + * string incremental_select_query = 1; + * @param value The bytes for incrementalSelectQuery to set. + * @return This builder for chaining. + */ + public Builder setIncrementalSelectQueryBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + incrementalSelectQuery_ = value; + onChanged(); + return this; + } + + private boolean refreshDisabled_ ; + /** + *
+         * Whether this table should be protected from being refreshed.
+         * 
+ * + * bool refresh_disabled = 2; + * @return The refreshDisabled. + */ + @java.lang.Override + public boolean getRefreshDisabled() { + return refreshDisabled_; + } + /** + *
+         * Whether this table should be protected from being refreshed.
+         * 
+ * + * bool refresh_disabled = 2; + * @param value The refreshDisabled to set. + * @return This builder for chaining. + */ + public Builder setRefreshDisabled(boolean value) { + + refreshDisabled_ = value; + onChanged(); + return this; + } + /** + *
+         * Whether this table should be protected from being refreshed.
+         * 
+ * + * bool refresh_disabled = 2; + * @return This builder for chaining. + */ + public Builder clearRefreshDisabled() { + + refreshDisabled_ = false; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList uniqueKeyParts_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUniqueKeyPartsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + uniqueKeyParts_ = new com.google.protobuf.LazyStringArrayList(uniqueKeyParts_); + bitField0_ |= 0x00000001; + } + } + /** + *
+         * A set of columns or SQL expressions used to define row uniqueness.
+         * If any duplicates are discovered (as defined by `unique_key_parts`),
+         * only the newly selected rows (as defined by `incremental_select_query`)
+         * will be included in the relation.
+         * 
+ * + * repeated string unique_key_parts = 3; + * @return A list containing the uniqueKeyParts. + */ + public com.google.protobuf.ProtocolStringList + getUniqueKeyPartsList() { + return uniqueKeyParts_.getUnmodifiableView(); + } + /** + *
+         * A set of columns or SQL expressions used to define row uniqueness.
+         * If any duplicates are discovered (as defined by `unique_key_parts`),
+         * only the newly selected rows (as defined by `incremental_select_query`)
+         * will be included in the relation.
+         * 
+ * + * repeated string unique_key_parts = 3; + * @return The count of uniqueKeyParts. + */ + public int getUniqueKeyPartsCount() { + return uniqueKeyParts_.size(); + } + /** + *
+         * A set of columns or SQL expressions used to define row uniqueness.
+         * If any duplicates are discovered (as defined by `unique_key_parts`),
+         * only the newly selected rows (as defined by `incremental_select_query`)
+         * will be included in the relation.
+         * 
+ * + * repeated string unique_key_parts = 3; + * @param index The index of the element to return. + * @return The uniqueKeyParts at the given index. + */ + public java.lang.String getUniqueKeyParts(int index) { + return uniqueKeyParts_.get(index); + } + /** + *
+         * A set of columns or SQL expressions used to define row uniqueness.
+         * If any duplicates are discovered (as defined by `unique_key_parts`),
+         * only the newly selected rows (as defined by `incremental_select_query`)
+         * will be included in the relation.
+         * 
+ * + * repeated string unique_key_parts = 3; + * @param index The index of the value to return. + * @return The bytes of the uniqueKeyParts at the given index. + */ + public com.google.protobuf.ByteString + getUniqueKeyPartsBytes(int index) { + return uniqueKeyParts_.getByteString(index); + } + /** + *
+         * A set of columns or SQL expressions used to define row uniqueness.
+         * If any duplicates are discovered (as defined by `unique_key_parts`),
+         * only the newly selected rows (as defined by `incremental_select_query`)
+         * will be included in the relation.
+         * 
+ * + * repeated string unique_key_parts = 3; + * @param index The index to set the value at. + * @param value The uniqueKeyParts to set. + * @return This builder for chaining. + */ + public Builder setUniqueKeyParts( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureUniqueKeyPartsIsMutable(); + uniqueKeyParts_.set(index, value); + onChanged(); + return this; + } + /** + *
+         * A set of columns or SQL expressions used to define row uniqueness.
+         * If any duplicates are discovered (as defined by `unique_key_parts`),
+         * only the newly selected rows (as defined by `incremental_select_query`)
+         * will be included in the relation.
+         * 
+ * + * repeated string unique_key_parts = 3; + * @param value The uniqueKeyParts to add. + * @return This builder for chaining. + */ + public Builder addUniqueKeyParts( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureUniqueKeyPartsIsMutable(); + uniqueKeyParts_.add(value); + onChanged(); + return this; + } + /** + *
+         * A set of columns or SQL expressions used to define row uniqueness.
+         * If any duplicates are discovered (as defined by `unique_key_parts`),
+         * only the newly selected rows (as defined by `incremental_select_query`)
+         * will be included in the relation.
+         * 
+ * + * repeated string unique_key_parts = 3; + * @param values The uniqueKeyParts to add. + * @return This builder for chaining. + */ + public Builder addAllUniqueKeyParts( + java.lang.Iterable values) { + ensureUniqueKeyPartsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, uniqueKeyParts_); + onChanged(); + return this; + } + /** + *
+         * A set of columns or SQL expressions used to define row uniqueness.
+         * If any duplicates are discovered (as defined by `unique_key_parts`),
+         * only the newly selected rows (as defined by `incremental_select_query`)
+         * will be included in the relation.
+         * 
+ * + * repeated string unique_key_parts = 3; + * @return This builder for chaining. + */ + public Builder clearUniqueKeyParts() { + uniqueKeyParts_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+         * A set of columns or SQL expressions used to define row uniqueness.
+         * If any duplicates are discovered (as defined by `unique_key_parts`),
+         * only the newly selected rows (as defined by `incremental_select_query`)
+         * will be included in the relation.
+         * 
+ * + * repeated string unique_key_parts = 3; + * @param value The bytes of the uniqueKeyParts to add. + * @return This builder for chaining. + */ + public Builder addUniqueKeyPartsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureUniqueKeyPartsIsMutable(); + uniqueKeyParts_.add(value); + onChanged(); + return this; + } + + private java.lang.Object updatePartitionFilter_ = ""; + /** + *
+         * A SQL expression conditional used to limit the set of existing rows
+         * considered for a merge operation (see `unique_key_parts` for more
+         * information).
+         * 
+ * + * string update_partition_filter = 4; + * @return The updatePartitionFilter. + */ + public java.lang.String getUpdatePartitionFilter() { + java.lang.Object ref = updatePartitionFilter_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + updatePartitionFilter_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+         * A SQL expression conditional used to limit the set of existing rows
+         * considered for a merge operation (see `unique_key_parts` for more
+         * information).
+         * 
+ * + * string update_partition_filter = 4; + * @return The bytes for updatePartitionFilter. + */ + public com.google.protobuf.ByteString + getUpdatePartitionFilterBytes() { + java.lang.Object ref = updatePartitionFilter_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + updatePartitionFilter_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+         * A SQL expression conditional used to limit the set of existing rows
+         * considered for a merge operation (see `unique_key_parts` for more
+         * information).
+         * 
+ * + * string update_partition_filter = 4; + * @param value The updatePartitionFilter to set. + * @return This builder for chaining. + */ + public Builder setUpdatePartitionFilter( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + updatePartitionFilter_ = value; + onChanged(); + return this; + } + /** + *
+         * A SQL expression conditional used to limit the set of existing rows
+         * considered for a merge operation (see `unique_key_parts` for more
+         * information).
+         * 
+ * + * string update_partition_filter = 4; + * @return This builder for chaining. + */ + public Builder clearUpdatePartitionFilter() { + + updatePartitionFilter_ = getDefaultInstance().getUpdatePartitionFilter(); + onChanged(); + return this; + } + /** + *
+         * A SQL expression conditional used to limit the set of existing rows
+         * considered for a merge operation (see `unique_key_parts` for more
+         * information).
+         * 
+ * + * string update_partition_filter = 4; + * @param value The bytes for updatePartitionFilter to set. + * @return This builder for chaining. + */ + public Builder setUpdatePartitionFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + updatePartitionFilter_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList incrementalPreOperations_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureIncrementalPreOperationsIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + incrementalPreOperations_ = new com.google.protobuf.LazyStringArrayList(incrementalPreOperations_); + bitField0_ |= 0x00000002; + } + } + /** + *
+         * SQL statements to be executed before inserting new rows into the
+         * relation.
+         * 
+ * + * repeated string incremental_pre_operations = 5; + * @return A list containing the incrementalPreOperations. + */ + public com.google.protobuf.ProtocolStringList + getIncrementalPreOperationsList() { + return incrementalPreOperations_.getUnmodifiableView(); + } + /** + *
+         * SQL statements to be executed before inserting new rows into the
+         * relation.
+         * 
+ * + * repeated string incremental_pre_operations = 5; + * @return The count of incrementalPreOperations. + */ + public int getIncrementalPreOperationsCount() { + return incrementalPreOperations_.size(); + } + /** + *
+         * SQL statements to be executed before inserting new rows into the
+         * relation.
+         * 
+ * + * repeated string incremental_pre_operations = 5; + * @param index The index of the element to return. + * @return The incrementalPreOperations at the given index. + */ + public java.lang.String getIncrementalPreOperations(int index) { + return incrementalPreOperations_.get(index); + } + /** + *
+         * SQL statements to be executed before inserting new rows into the
+         * relation.
+         * 
+ * + * repeated string incremental_pre_operations = 5; + * @param index The index of the value to return. + * @return The bytes of the incrementalPreOperations at the given index. + */ + public com.google.protobuf.ByteString + getIncrementalPreOperationsBytes(int index) { + return incrementalPreOperations_.getByteString(index); + } + /** + *
+         * SQL statements to be executed before inserting new rows into the
+         * relation.
+         * 
+ * + * repeated string incremental_pre_operations = 5; + * @param index The index to set the value at. + * @param value The incrementalPreOperations to set. + * @return This builder for chaining. + */ + public Builder setIncrementalPreOperations( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureIncrementalPreOperationsIsMutable(); + incrementalPreOperations_.set(index, value); + onChanged(); + return this; + } + /** + *
+         * SQL statements to be executed before inserting new rows into the
+         * relation.
+         * 
+ * + * repeated string incremental_pre_operations = 5; + * @param value The incrementalPreOperations to add. + * @return This builder for chaining. + */ + public Builder addIncrementalPreOperations( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureIncrementalPreOperationsIsMutable(); + incrementalPreOperations_.add(value); + onChanged(); + return this; + } + /** + *
+         * SQL statements to be executed before inserting new rows into the
+         * relation.
+         * 
+ * + * repeated string incremental_pre_operations = 5; + * @param values The incrementalPreOperations to add. + * @return This builder for chaining. + */ + public Builder addAllIncrementalPreOperations( + java.lang.Iterable values) { + ensureIncrementalPreOperationsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, incrementalPreOperations_); + onChanged(); + return this; + } + /** + *
+         * SQL statements to be executed before inserting new rows into the
+         * relation.
+         * 
+ * + * repeated string incremental_pre_operations = 5; + * @return This builder for chaining. + */ + public Builder clearIncrementalPreOperations() { + incrementalPreOperations_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+         * SQL statements to be executed before inserting new rows into the
+         * relation.
+         * 
+ * + * repeated string incremental_pre_operations = 5; + * @param value The bytes of the incrementalPreOperations to add. + * @return This builder for chaining. + */ + public Builder addIncrementalPreOperationsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureIncrementalPreOperationsIsMutable(); + incrementalPreOperations_.add(value); + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList incrementalPostOperations_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureIncrementalPostOperationsIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + incrementalPostOperations_ = new com.google.protobuf.LazyStringArrayList(incrementalPostOperations_); + bitField0_ |= 0x00000004; + } + } + /** + *
+         * SQL statements to be executed after inserting new rows into the
+         * relation.
+         * 
+ * + * repeated string incremental_post_operations = 6; + * @return A list containing the incrementalPostOperations. + */ + public com.google.protobuf.ProtocolStringList + getIncrementalPostOperationsList() { + return incrementalPostOperations_.getUnmodifiableView(); + } + /** + *
+         * SQL statements to be executed after inserting new rows into the
+         * relation.
+         * 
+ * + * repeated string incremental_post_operations = 6; + * @return The count of incrementalPostOperations. + */ + public int getIncrementalPostOperationsCount() { + return incrementalPostOperations_.size(); + } + /** + *
+         * SQL statements to be executed after inserting new rows into the
+         * relation.
+         * 
+ * + * repeated string incremental_post_operations = 6; + * @param index The index of the element to return. + * @return The incrementalPostOperations at the given index. + */ + public java.lang.String getIncrementalPostOperations(int index) { + return incrementalPostOperations_.get(index); + } + /** + *
+         * SQL statements to be executed after inserting new rows into the
+         * relation.
+         * 
+ * + * repeated string incremental_post_operations = 6; + * @param index The index of the value to return. + * @return The bytes of the incrementalPostOperations at the given index. + */ + public com.google.protobuf.ByteString + getIncrementalPostOperationsBytes(int index) { + return incrementalPostOperations_.getByteString(index); + } + /** + *
+         * SQL statements to be executed after inserting new rows into the
+         * relation.
+         * 
+ * + * repeated string incremental_post_operations = 6; + * @param index The index to set the value at. + * @param value The incrementalPostOperations to set. + * @return This builder for chaining. + */ + public Builder setIncrementalPostOperations( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureIncrementalPostOperationsIsMutable(); + incrementalPostOperations_.set(index, value); + onChanged(); + return this; + } + /** + *
+         * SQL statements to be executed after inserting new rows into the
+         * relation.
+         * 
+ * + * repeated string incremental_post_operations = 6; + * @param value The incrementalPostOperations to add. + * @return This builder for chaining. + */ + public Builder addIncrementalPostOperations( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureIncrementalPostOperationsIsMutable(); + incrementalPostOperations_.add(value); + onChanged(); + return this; + } + /** + *
+         * SQL statements to be executed after inserting new rows into the
+         * relation.
+         * 
+ * + * repeated string incremental_post_operations = 6; + * @param values The incrementalPostOperations to add. + * @return This builder for chaining. + */ + public Builder addAllIncrementalPostOperations( + java.lang.Iterable values) { + ensureIncrementalPostOperationsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, incrementalPostOperations_); + onChanged(); + return this; + } + /** + *
+         * SQL statements to be executed after inserting new rows into the
+         * relation.
+         * 
+ * + * repeated string incremental_post_operations = 6; + * @return This builder for chaining. + */ + public Builder clearIncrementalPostOperations() { + incrementalPostOperations_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + *
+         * SQL statements to be executed after inserting new rows into the
+         * relation.
+         * 
+ * + * repeated string incremental_post_operations = 6; + * @param value The bytes of the incrementalPostOperations to add. + * @return This builder for chaining. + */ + public Builder addIncrementalPostOperationsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureIncrementalPostOperationsIsMutable(); + incrementalPostOperations_.add(value); + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig) + private static final com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig(); + } + + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IncrementalTableConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IncrementalTableConfig(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public static final int DEPENDENCY_TARGETS_FIELD_NUMBER = 1; + private java.util.List dependencyTargets_; + /** + *
+     * A list of actions that this action depends on.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + @java.lang.Override + public java.util.List getDependencyTargetsList() { + return dependencyTargets_; + } + /** + *
+     * A list of actions that this action depends on.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + @java.lang.Override + public java.util.List + getDependencyTargetsOrBuilderList() { + return dependencyTargets_; + } + /** + *
+     * A list of actions that this action depends on.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + @java.lang.Override + public int getDependencyTargetsCount() { + return dependencyTargets_.size(); + } + /** + *
+     * A list of actions that this action depends on.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.Target getDependencyTargets(int index) { + return dependencyTargets_.get(index); + } + /** + *
+     * A list of actions that this action depends on.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.TargetOrBuilder getDependencyTargetsOrBuilder( + int index) { + return dependencyTargets_.get(index); + } + + public static final int DISABLED_FIELD_NUMBER = 2; + private boolean disabled_; + /** + *
+     * Whether this action is disabled (i.e. should not be run).
+     * 
+ * + * bool disabled = 2; + * @return The disabled. + */ + @java.lang.Override + public boolean getDisabled() { + return disabled_; + } + + public static final int TAGS_FIELD_NUMBER = 3; + private com.google.protobuf.LazyStringList tags_; + /** + *
+     * Arbitrary, user-defined tags on this action.
+     * 
+ * + * repeated string tags = 3; + * @return A list containing the tags. + */ + public com.google.protobuf.ProtocolStringList + getTagsList() { + return tags_; + } + /** + *
+     * Arbitrary, user-defined tags on this action.
+     * 
+ * + * repeated string tags = 3; + * @return The count of tags. + */ + public int getTagsCount() { + return tags_.size(); + } + /** + *
+     * Arbitrary, user-defined tags on this action.
+     * 
+ * + * repeated string tags = 3; + * @param index The index of the element to return. + * @return The tags at the given index. + */ + public java.lang.String getTags(int index) { + return tags_.get(index); + } + /** + *
+     * Arbitrary, user-defined tags on this action.
+     * 
+ * + * repeated string tags = 3; + * @param index The index of the value to return. + * @return The bytes of the tags at the given index. + */ + public com.google.protobuf.ByteString + getTagsBytes(int index) { + return tags_.getByteString(index); + } + + public static final int RELATION_DESCRIPTOR_FIELD_NUMBER = 4; + private com.google.cloud.dataform.v1beta1.RelationDescriptor relationDescriptor_; + /** + *
+     * Descriptor for the relation and its columns.
+     * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 4; + * @return Whether the relationDescriptor field is set. + */ + @java.lang.Override + public boolean hasRelationDescriptor() { + return relationDescriptor_ != null; + } + /** + *
+     * Descriptor for the relation and its columns.
+     * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 4; + * @return The relationDescriptor. + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.RelationDescriptor getRelationDescriptor() { + return relationDescriptor_ == null ? com.google.cloud.dataform.v1beta1.RelationDescriptor.getDefaultInstance() : relationDescriptor_; + } + /** + *
+     * Descriptor for the relation and its columns.
+     * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 4; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder getRelationDescriptorOrBuilder() { + return getRelationDescriptor(); + } + + public static final int RELATION_TYPE_FIELD_NUMBER = 5; + private int relationType_; + /** + *
+     * The type of this relation.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType relation_type = 5; + * @return The enum numeric value on the wire for relationType. + */ + @java.lang.Override public int getRelationTypeValue() { + return relationType_; + } + /** + *
+     * The type of this relation.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType relation_type = 5; + * @return The relationType. + */ + @java.lang.Override public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType getRelationType() { + @SuppressWarnings("deprecation") + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType result = com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType.valueOf(relationType_); + return result == null ? com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType.UNRECOGNIZED : result; + } + + public static final int SELECT_QUERY_FIELD_NUMBER = 6; + private volatile java.lang.Object selectQuery_; + /** + *
+     * The SELECT query which returns rows which this relation should contain.
+     * 
+ * + * string select_query = 6; + * @return The selectQuery. + */ + @java.lang.Override + public java.lang.String getSelectQuery() { + java.lang.Object ref = selectQuery_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + selectQuery_ = s; + return s; + } + } + /** + *
+     * The SELECT query which returns rows which this relation should contain.
+     * 
+ * + * string select_query = 6; + * @return The bytes for selectQuery. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSelectQueryBytes() { + java.lang.Object ref = selectQuery_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + selectQuery_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PRE_OPERATIONS_FIELD_NUMBER = 7; + private com.google.protobuf.LazyStringList preOperations_; + /** + *
+     * SQL statements to be executed before creating the relation.
+     * 
+ * + * repeated string pre_operations = 7; + * @return A list containing the preOperations. + */ + public com.google.protobuf.ProtocolStringList + getPreOperationsList() { + return preOperations_; + } + /** + *
+     * SQL statements to be executed before creating the relation.
+     * 
+ * + * repeated string pre_operations = 7; + * @return The count of preOperations. + */ + public int getPreOperationsCount() { + return preOperations_.size(); + } + /** + *
+     * SQL statements to be executed before creating the relation.
+     * 
+ * + * repeated string pre_operations = 7; + * @param index The index of the element to return. + * @return The preOperations at the given index. + */ + public java.lang.String getPreOperations(int index) { + return preOperations_.get(index); + } + /** + *
+     * SQL statements to be executed before creating the relation.
+     * 
+ * + * repeated string pre_operations = 7; + * @param index The index of the value to return. + * @return The bytes of the preOperations at the given index. + */ + public com.google.protobuf.ByteString + getPreOperationsBytes(int index) { + return preOperations_.getByteString(index); + } + + public static final int POST_OPERATIONS_FIELD_NUMBER = 8; + private com.google.protobuf.LazyStringList postOperations_; + /** + *
+     * SQL statements to be executed after creating the relation.
+     * 
+ * + * repeated string post_operations = 8; + * @return A list containing the postOperations. + */ + public com.google.protobuf.ProtocolStringList + getPostOperationsList() { + return postOperations_; + } + /** + *
+     * SQL statements to be executed after creating the relation.
+     * 
+ * + * repeated string post_operations = 8; + * @return The count of postOperations. + */ + public int getPostOperationsCount() { + return postOperations_.size(); + } + /** + *
+     * SQL statements to be executed after creating the relation.
+     * 
+ * + * repeated string post_operations = 8; + * @param index The index of the element to return. + * @return The postOperations at the given index. + */ + public java.lang.String getPostOperations(int index) { + return postOperations_.get(index); + } + /** + *
+     * SQL statements to be executed after creating the relation.
+     * 
+ * + * repeated string post_operations = 8; + * @param index The index of the value to return. + * @return The bytes of the postOperations at the given index. + */ + public com.google.protobuf.ByteString + getPostOperationsBytes(int index) { + return postOperations_.getByteString(index); + } + + public static final int INCREMENTAL_TABLE_CONFIG_FIELD_NUMBER = 9; + private com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incrementalTableConfig_; + /** + *
+     * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
+     * `relation_type` is `INCREMENTAL_TABLE`.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * @return Whether the incrementalTableConfig field is set. + */ + @java.lang.Override + public boolean hasIncrementalTableConfig() { + return incrementalTableConfig_ != null; + } + /** + *
+     * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
+     * `relation_type` is `INCREMENTAL_TABLE`.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * @return The incrementalTableConfig. + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig getIncrementalTableConfig() { + return incrementalTableConfig_ == null ? com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig.getDefaultInstance() : incrementalTableConfig_; + } + /** + *
+     * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
+     * `relation_type` is `INCREMENTAL_TABLE`.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfigOrBuilder getIncrementalTableConfigOrBuilder() { + return getIncrementalTableConfig(); + } + + public static final int PARTITION_EXPRESSION_FIELD_NUMBER = 10; + private volatile java.lang.Object partitionExpression_; + /** + *
+     * The SQL expression used to partition the relation.
+     * 
+ * + * string partition_expression = 10; + * @return The partitionExpression. + */ + @java.lang.Override + public java.lang.String getPartitionExpression() { + java.lang.Object ref = partitionExpression_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partitionExpression_ = s; + return s; + } + } + /** + *
+     * The SQL expression used to partition the relation.
+     * 
+ * + * string partition_expression = 10; + * @return The bytes for partitionExpression. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPartitionExpressionBytes() { + java.lang.Object ref = partitionExpression_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partitionExpression_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CLUSTER_EXPRESSIONS_FIELD_NUMBER = 11; + private com.google.protobuf.LazyStringList clusterExpressions_; + /** + *
+     * A list of columns or SQL expressions used to cluster the table.
+     * 
+ * + * repeated string cluster_expressions = 11; + * @return A list containing the clusterExpressions. + */ + public com.google.protobuf.ProtocolStringList + getClusterExpressionsList() { + return clusterExpressions_; + } + /** + *
+     * A list of columns or SQL expressions used to cluster the table.
+     * 
+ * + * repeated string cluster_expressions = 11; + * @return The count of clusterExpressions. + */ + public int getClusterExpressionsCount() { + return clusterExpressions_.size(); + } + /** + *
+     * A list of columns or SQL expressions used to cluster the table.
+     * 
+ * + * repeated string cluster_expressions = 11; + * @param index The index of the element to return. + * @return The clusterExpressions at the given index. + */ + public java.lang.String getClusterExpressions(int index) { + return clusterExpressions_.get(index); + } + /** + *
+     * A list of columns or SQL expressions used to cluster the table.
+     * 
+ * + * repeated string cluster_expressions = 11; + * @param index The index of the value to return. + * @return The bytes of the clusterExpressions at the given index. + */ + public com.google.protobuf.ByteString + getClusterExpressionsBytes(int index) { + return clusterExpressions_.getByteString(index); + } + + public static final int PARTITION_EXPIRATION_DAYS_FIELD_NUMBER = 12; + private int partitionExpirationDays_; + /** + *
+     * Sets the partition expiration in days.
+     * 
+ * + * int32 partition_expiration_days = 12; + * @return The partitionExpirationDays. + */ + @java.lang.Override + public int getPartitionExpirationDays() { + return partitionExpirationDays_; + } + + public static final int REQUIRE_PARTITION_FILTER_FIELD_NUMBER = 13; + private boolean requirePartitionFilter_; + /** + *
+     * Specifies whether queries on this table must include a predicate filter
+     * that filters on the partitioning column.
+     * 
+ * + * bool require_partition_filter = 13; + * @return The requirePartitionFilter. + */ + @java.lang.Override + public boolean getRequirePartitionFilter() { + return requirePartitionFilter_; + } + + public static final int ADDITIONAL_OPTIONS_FIELD_NUMBER = 14; + private static final class AdditionalOptionsDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_AdditionalOptionsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> additionalOptions_; + private com.google.protobuf.MapField + internalGetAdditionalOptions() { + if (additionalOptions_ == null) { + return com.google.protobuf.MapField.emptyMapField( + AdditionalOptionsDefaultEntryHolder.defaultEntry); + } + return additionalOptions_; + } + + public int getAdditionalOptionsCount() { + return internalGetAdditionalOptions().getMap().size(); + } + /** + *
+     * Additional options that will be provided as key/value pairs into the
+     * options clause of a create table/view statement. See
+     * https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language
+     * for more information on which options are supported.
+     * 
+ * + * map<string, string> additional_options = 14; + */ + + @java.lang.Override + public boolean containsAdditionalOptions( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetAdditionalOptions().getMap().containsKey(key); + } + /** + * Use {@link #getAdditionalOptionsMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getAdditionalOptions() { + return getAdditionalOptionsMap(); + } + /** + *
+     * Additional options that will be provided as key/value pairs into the
+     * options clause of a create table/view statement. See
+     * https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language
+     * for more information on which options are supported.
+     * 
+ * + * map<string, string> additional_options = 14; + */ + @java.lang.Override + + public java.util.Map getAdditionalOptionsMap() { + return internalGetAdditionalOptions().getMap(); + } + /** + *
+     * Additional options that will be provided as key/value pairs into the
+     * options clause of a create table/view statement. See
+     * https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language
+     * for more information on which options are supported.
+     * 
+ * + * map<string, string> additional_options = 14; + */ + @java.lang.Override + + public java.lang.String getAdditionalOptionsOrDefault( + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetAdditionalOptions().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * Additional options that will be provided as key/value pairs into the
+     * options clause of a create table/view statement. See
+     * https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language
+     * for more information on which options are supported.
+     * 
+ * + * map<string, string> additional_options = 14; + */ + @java.lang.Override + + public java.lang.String getAdditionalOptionsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetAdditionalOptions().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < dependencyTargets_.size(); i++) { + output.writeMessage(1, dependencyTargets_.get(i)); + } + if (disabled_ != false) { + output.writeBool(2, disabled_); + } + for (int i = 0; i < tags_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, tags_.getRaw(i)); + } + if (relationDescriptor_ != null) { + output.writeMessage(4, getRelationDescriptor()); + } + if (relationType_ != com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType.RELATION_TYPE_UNSPECIFIED.getNumber()) { + output.writeEnum(5, relationType_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(selectQuery_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, selectQuery_); + } + for (int i = 0; i < preOperations_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 7, preOperations_.getRaw(i)); + } + for (int i = 0; i < postOperations_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 8, postOperations_.getRaw(i)); + } + if (incrementalTableConfig_ != null) { + output.writeMessage(9, getIncrementalTableConfig()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partitionExpression_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 10, partitionExpression_); + } + for (int i = 0; i < clusterExpressions_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 11, clusterExpressions_.getRaw(i)); + } + if (partitionExpirationDays_ != 0) { + output.writeInt32(12, partitionExpirationDays_); + } + if (requirePartitionFilter_ != false) { + output.writeBool(13, requirePartitionFilter_); + } + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetAdditionalOptions(), + AdditionalOptionsDefaultEntryHolder.defaultEntry, + 14); + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < dependencyTargets_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, dependencyTargets_.get(i)); + } + if (disabled_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, disabled_); + } + { + int dataSize = 0; + for (int i = 0; i < tags_.size(); i++) { + dataSize += computeStringSizeNoTag(tags_.getRaw(i)); + } + size += dataSize; + size += 1 * getTagsList().size(); + } + if (relationDescriptor_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getRelationDescriptor()); + } + if (relationType_ != com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType.RELATION_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, relationType_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(selectQuery_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, selectQuery_); + } + { + int dataSize = 0; + for (int i = 0; i < preOperations_.size(); i++) { + dataSize += computeStringSizeNoTag(preOperations_.getRaw(i)); + } + size += dataSize; + size += 1 * getPreOperationsList().size(); + } + { + int dataSize = 0; + for (int i = 0; i < postOperations_.size(); i++) { + dataSize += computeStringSizeNoTag(postOperations_.getRaw(i)); + } + size += dataSize; + size += 1 * getPostOperationsList().size(); + } + if (incrementalTableConfig_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getIncrementalTableConfig()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partitionExpression_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, partitionExpression_); + } + { + int dataSize = 0; + for (int i = 0; i < clusterExpressions_.size(); i++) { + dataSize += computeStringSizeNoTag(clusterExpressions_.getRaw(i)); + } + size += dataSize; + size += 1 * getClusterExpressionsList().size(); + } + if (partitionExpirationDays_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(12, partitionExpirationDays_); + } + if (requirePartitionFilter_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(13, requirePartitionFilter_); + } + for (java.util.Map.Entry entry + : internalGetAdditionalOptions().getMap().entrySet()) { + com.google.protobuf.MapEntry + additionalOptions__ = AdditionalOptionsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(14, additionalOptions__); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation other = (com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation) obj; + + if (!getDependencyTargetsList() + .equals(other.getDependencyTargetsList())) return false; + if (getDisabled() + != other.getDisabled()) return false; + if (!getTagsList() + .equals(other.getTagsList())) return false; + if (hasRelationDescriptor() != other.hasRelationDescriptor()) return false; + if (hasRelationDescriptor()) { + if (!getRelationDescriptor() + .equals(other.getRelationDescriptor())) return false; + } + if (relationType_ != other.relationType_) return false; + if (!getSelectQuery() + .equals(other.getSelectQuery())) return false; + if (!getPreOperationsList() + .equals(other.getPreOperationsList())) return false; + if (!getPostOperationsList() + .equals(other.getPostOperationsList())) return false; + if (hasIncrementalTableConfig() != other.hasIncrementalTableConfig()) return false; + if (hasIncrementalTableConfig()) { + if (!getIncrementalTableConfig() + .equals(other.getIncrementalTableConfig())) return false; + } + if (!getPartitionExpression() + .equals(other.getPartitionExpression())) return false; + if (!getClusterExpressionsList() + .equals(other.getClusterExpressionsList())) return false; + if (getPartitionExpirationDays() + != other.getPartitionExpirationDays()) return false; + if (getRequirePartitionFilter() + != other.getRequirePartitionFilter()) return false; + if (!internalGetAdditionalOptions().equals( + other.internalGetAdditionalOptions())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getDependencyTargetsCount() > 0) { + hash = (37 * hash) + DEPENDENCY_TARGETS_FIELD_NUMBER; + hash = (53 * hash) + getDependencyTargetsList().hashCode(); + } + hash = (37 * hash) + DISABLED_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDisabled()); + if (getTagsCount() > 0) { + hash = (37 * hash) + TAGS_FIELD_NUMBER; + hash = (53 * hash) + getTagsList().hashCode(); + } + if (hasRelationDescriptor()) { + hash = (37 * hash) + RELATION_DESCRIPTOR_FIELD_NUMBER; + hash = (53 * hash) + getRelationDescriptor().hashCode(); + } + hash = (37 * hash) + RELATION_TYPE_FIELD_NUMBER; + hash = (53 * hash) + relationType_; + hash = (37 * hash) + SELECT_QUERY_FIELD_NUMBER; + hash = (53 * hash) + getSelectQuery().hashCode(); + if (getPreOperationsCount() > 0) { + hash = (37 * hash) + PRE_OPERATIONS_FIELD_NUMBER; + hash = (53 * hash) + getPreOperationsList().hashCode(); + } + if (getPostOperationsCount() > 0) { + hash = (37 * hash) + POST_OPERATIONS_FIELD_NUMBER; + hash = (53 * hash) + getPostOperationsList().hashCode(); + } + if (hasIncrementalTableConfig()) { + hash = (37 * hash) + INCREMENTAL_TABLE_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getIncrementalTableConfig().hashCode(); + } + hash = (37 * hash) + PARTITION_EXPRESSION_FIELD_NUMBER; + hash = (53 * hash) + getPartitionExpression().hashCode(); + if (getClusterExpressionsCount() > 0) { + hash = (37 * hash) + CLUSTER_EXPRESSIONS_FIELD_NUMBER; + hash = (53 * hash) + getClusterExpressionsList().hashCode(); + } + hash = (37 * hash) + PARTITION_EXPIRATION_DAYS_FIELD_NUMBER; + hash = (53 * hash) + getPartitionExpirationDays(); + hash = (37 * hash) + REQUIRE_PARTITION_FILTER_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRequirePartitionFilter()); + if (!internalGetAdditionalOptions().getMap().isEmpty()) { + hash = (37 * hash) + ADDITIONAL_OPTIONS_FIELD_NUMBER; + hash = (53 * hash) + internalGetAdditionalOptions().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Represents a database relation.
+     * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.CompilationResultAction.Relation} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.CompilationResultAction.Relation) + com.google.cloud.dataform.v1beta1.CompilationResultAction.RelationOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 14: + return internalGetAdditionalOptions(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { + switch (number) { + case 14: + return internalGetMutableAdditionalOptions(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.class, com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getDependencyTargetsFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (dependencyTargetsBuilder_ == null) { + dependencyTargets_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + dependencyTargetsBuilder_.clear(); + } + disabled_ = false; + + tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + if (relationDescriptorBuilder_ == null) { + relationDescriptor_ = null; + } else { + relationDescriptor_ = null; + relationDescriptorBuilder_ = null; + } + relationType_ = 0; + + selectQuery_ = ""; + + preOperations_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000004); + postOperations_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000008); + if (incrementalTableConfigBuilder_ == null) { + incrementalTableConfig_ = null; + } else { + incrementalTableConfig_ = null; + incrementalTableConfigBuilder_ = null; + } + partitionExpression_ = ""; + + clusterExpressions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000010); + partitionExpirationDays_ = 0; + + requirePartitionFilter_ = false; + + internalGetMutableAdditionalOptions().clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation build() { + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation buildPartial() { + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation result = new com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation(this); + int from_bitField0_ = bitField0_; + if (dependencyTargetsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + dependencyTargets_ = java.util.Collections.unmodifiableList(dependencyTargets_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.dependencyTargets_ = dependencyTargets_; + } else { + result.dependencyTargets_ = dependencyTargetsBuilder_.build(); + } + result.disabled_ = disabled_; + if (((bitField0_ & 0x00000002) != 0)) { + tags_ = tags_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.tags_ = tags_; + if (relationDescriptorBuilder_ == null) { + result.relationDescriptor_ = relationDescriptor_; + } else { + result.relationDescriptor_ = relationDescriptorBuilder_.build(); + } + result.relationType_ = relationType_; + result.selectQuery_ = selectQuery_; + if (((bitField0_ & 0x00000004) != 0)) { + preOperations_ = preOperations_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.preOperations_ = preOperations_; + if (((bitField0_ & 0x00000008) != 0)) { + postOperations_ = postOperations_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000008); + } + result.postOperations_ = postOperations_; + if (incrementalTableConfigBuilder_ == null) { + result.incrementalTableConfig_ = incrementalTableConfig_; + } else { + result.incrementalTableConfig_ = incrementalTableConfigBuilder_.build(); + } + result.partitionExpression_ = partitionExpression_; + if (((bitField0_ & 0x00000010) != 0)) { + clusterExpressions_ = clusterExpressions_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000010); + } + result.clusterExpressions_ = clusterExpressions_; + result.partitionExpirationDays_ = partitionExpirationDays_; + result.requirePartitionFilter_ = requirePartitionFilter_; + result.additionalOptions_ = internalGetAdditionalOptions(); + result.additionalOptions_.makeImmutable(); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation) { + return mergeFrom((com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation other) { + if (other == com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.getDefaultInstance()) return this; + if (dependencyTargetsBuilder_ == null) { + if (!other.dependencyTargets_.isEmpty()) { + if (dependencyTargets_.isEmpty()) { + dependencyTargets_ = other.dependencyTargets_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureDependencyTargetsIsMutable(); + dependencyTargets_.addAll(other.dependencyTargets_); + } + onChanged(); + } + } else { + if (!other.dependencyTargets_.isEmpty()) { + if (dependencyTargetsBuilder_.isEmpty()) { + dependencyTargetsBuilder_.dispose(); + dependencyTargetsBuilder_ = null; + dependencyTargets_ = other.dependencyTargets_; + bitField0_ = (bitField0_ & ~0x00000001); + dependencyTargetsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDependencyTargetsFieldBuilder() : null; + } else { + dependencyTargetsBuilder_.addAllMessages(other.dependencyTargets_); + } + } + } + if (other.getDisabled() != false) { + setDisabled(other.getDisabled()); + } + if (!other.tags_.isEmpty()) { + if (tags_.isEmpty()) { + tags_ = other.tags_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureTagsIsMutable(); + tags_.addAll(other.tags_); + } + onChanged(); + } + if (other.hasRelationDescriptor()) { + mergeRelationDescriptor(other.getRelationDescriptor()); + } + if (other.relationType_ != 0) { + setRelationTypeValue(other.getRelationTypeValue()); + } + if (!other.getSelectQuery().isEmpty()) { + selectQuery_ = other.selectQuery_; + onChanged(); + } + if (!other.preOperations_.isEmpty()) { + if (preOperations_.isEmpty()) { + preOperations_ = other.preOperations_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensurePreOperationsIsMutable(); + preOperations_.addAll(other.preOperations_); + } + onChanged(); + } + if (!other.postOperations_.isEmpty()) { + if (postOperations_.isEmpty()) { + postOperations_ = other.postOperations_; + bitField0_ = (bitField0_ & ~0x00000008); + } else { + ensurePostOperationsIsMutable(); + postOperations_.addAll(other.postOperations_); + } + onChanged(); + } + if (other.hasIncrementalTableConfig()) { + mergeIncrementalTableConfig(other.getIncrementalTableConfig()); + } + if (!other.getPartitionExpression().isEmpty()) { + partitionExpression_ = other.partitionExpression_; + onChanged(); + } + if (!other.clusterExpressions_.isEmpty()) { + if (clusterExpressions_.isEmpty()) { + clusterExpressions_ = other.clusterExpressions_; + bitField0_ = (bitField0_ & ~0x00000010); + } else { + ensureClusterExpressionsIsMutable(); + clusterExpressions_.addAll(other.clusterExpressions_); + } + onChanged(); + } + if (other.getPartitionExpirationDays() != 0) { + setPartitionExpirationDays(other.getPartitionExpirationDays()); + } + if (other.getRequirePartitionFilter() != false) { + setRequirePartitionFilter(other.getRequirePartitionFilter()); + } + internalGetMutableAdditionalOptions().mergeFrom( + other.internalGetAdditionalOptions()); + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private java.util.List dependencyTargets_ = + java.util.Collections.emptyList(); + private void ensureDependencyTargetsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + dependencyTargets_ = new java.util.ArrayList(dependencyTargets_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder> dependencyTargetsBuilder_; + + /** + *
+       * A list of actions that this action depends on.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + public java.util.List getDependencyTargetsList() { + if (dependencyTargetsBuilder_ == null) { + return java.util.Collections.unmodifiableList(dependencyTargets_); + } else { + return dependencyTargetsBuilder_.getMessageList(); + } + } + /** + *
+       * A list of actions that this action depends on.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + public int getDependencyTargetsCount() { + if (dependencyTargetsBuilder_ == null) { + return dependencyTargets_.size(); + } else { + return dependencyTargetsBuilder_.getCount(); + } + } + /** + *
+       * A list of actions that this action depends on.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + public com.google.cloud.dataform.v1beta1.Target getDependencyTargets(int index) { + if (dependencyTargetsBuilder_ == null) { + return dependencyTargets_.get(index); + } else { + return dependencyTargetsBuilder_.getMessage(index); + } + } + /** + *
+       * A list of actions that this action depends on.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + public Builder setDependencyTargets( + int index, com.google.cloud.dataform.v1beta1.Target value) { + if (dependencyTargetsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDependencyTargetsIsMutable(); + dependencyTargets_.set(index, value); + onChanged(); + } else { + dependencyTargetsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * A list of actions that this action depends on.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + public Builder setDependencyTargets( + int index, com.google.cloud.dataform.v1beta1.Target.Builder builderForValue) { + if (dependencyTargetsBuilder_ == null) { + ensureDependencyTargetsIsMutable(); + dependencyTargets_.set(index, builderForValue.build()); + onChanged(); + } else { + dependencyTargetsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * A list of actions that this action depends on.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + public Builder addDependencyTargets(com.google.cloud.dataform.v1beta1.Target value) { + if (dependencyTargetsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDependencyTargetsIsMutable(); + dependencyTargets_.add(value); + onChanged(); + } else { + dependencyTargetsBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * A list of actions that this action depends on.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + public Builder addDependencyTargets( + int index, com.google.cloud.dataform.v1beta1.Target value) { + if (dependencyTargetsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDependencyTargetsIsMutable(); + dependencyTargets_.add(index, value); + onChanged(); + } else { + dependencyTargetsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * A list of actions that this action depends on.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + public Builder addDependencyTargets( + com.google.cloud.dataform.v1beta1.Target.Builder builderForValue) { + if (dependencyTargetsBuilder_ == null) { + ensureDependencyTargetsIsMutable(); + dependencyTargets_.add(builderForValue.build()); + onChanged(); + } else { + dependencyTargetsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * A list of actions that this action depends on.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + public Builder addDependencyTargets( + int index, com.google.cloud.dataform.v1beta1.Target.Builder builderForValue) { + if (dependencyTargetsBuilder_ == null) { + ensureDependencyTargetsIsMutable(); + dependencyTargets_.add(index, builderForValue.build()); + onChanged(); + } else { + dependencyTargetsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * A list of actions that this action depends on.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + public Builder addAllDependencyTargets( + java.lang.Iterable values) { + if (dependencyTargetsBuilder_ == null) { + ensureDependencyTargetsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, dependencyTargets_); + onChanged(); + } else { + dependencyTargetsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * A list of actions that this action depends on.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + public Builder clearDependencyTargets() { + if (dependencyTargetsBuilder_ == null) { + dependencyTargets_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + dependencyTargetsBuilder_.clear(); + } + return this; + } + /** + *
+       * A list of actions that this action depends on.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + public Builder removeDependencyTargets(int index) { + if (dependencyTargetsBuilder_ == null) { + ensureDependencyTargetsIsMutable(); + dependencyTargets_.remove(index); + onChanged(); + } else { + dependencyTargetsBuilder_.remove(index); + } + return this; + } + /** + *
+       * A list of actions that this action depends on.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + public com.google.cloud.dataform.v1beta1.Target.Builder getDependencyTargetsBuilder( + int index) { + return getDependencyTargetsFieldBuilder().getBuilder(index); + } + /** + *
+       * A list of actions that this action depends on.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + public com.google.cloud.dataform.v1beta1.TargetOrBuilder getDependencyTargetsOrBuilder( + int index) { + if (dependencyTargetsBuilder_ == null) { + return dependencyTargets_.get(index); } else { + return dependencyTargetsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * A list of actions that this action depends on.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + public java.util.List + getDependencyTargetsOrBuilderList() { + if (dependencyTargetsBuilder_ != null) { + return dependencyTargetsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(dependencyTargets_); + } + } + /** + *
+       * A list of actions that this action depends on.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + public com.google.cloud.dataform.v1beta1.Target.Builder addDependencyTargetsBuilder() { + return getDependencyTargetsFieldBuilder().addBuilder( + com.google.cloud.dataform.v1beta1.Target.getDefaultInstance()); + } + /** + *
+       * A list of actions that this action depends on.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + public com.google.cloud.dataform.v1beta1.Target.Builder addDependencyTargetsBuilder( + int index) { + return getDependencyTargetsFieldBuilder().addBuilder( + index, com.google.cloud.dataform.v1beta1.Target.getDefaultInstance()); + } + /** + *
+       * A list of actions that this action depends on.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + public java.util.List + getDependencyTargetsBuilderList() { + return getDependencyTargetsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder> + getDependencyTargetsFieldBuilder() { + if (dependencyTargetsBuilder_ == null) { + dependencyTargetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder>( + dependencyTargets_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + dependencyTargets_ = null; + } + return dependencyTargetsBuilder_; + } + + private boolean disabled_ ; + /** + *
+       * Whether this action is disabled (i.e. should not be run).
+       * 
+ * + * bool disabled = 2; + * @return The disabled. + */ + @java.lang.Override + public boolean getDisabled() { + return disabled_; + } + /** + *
+       * Whether this action is disabled (i.e. should not be run).
+       * 
+ * + * bool disabled = 2; + * @param value The disabled to set. + * @return This builder for chaining. + */ + public Builder setDisabled(boolean value) { + + disabled_ = value; + onChanged(); + return this; + } + /** + *
+       * Whether this action is disabled (i.e. should not be run).
+       * 
+ * + * bool disabled = 2; + * @return This builder for chaining. + */ + public Builder clearDisabled() { + + disabled_ = false; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureTagsIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + tags_ = new com.google.protobuf.LazyStringArrayList(tags_); + bitField0_ |= 0x00000002; + } + } + /** + *
+       * Arbitrary, user-defined tags on this action.
+       * 
+ * + * repeated string tags = 3; + * @return A list containing the tags. + */ + public com.google.protobuf.ProtocolStringList + getTagsList() { + return tags_.getUnmodifiableView(); + } + /** + *
+       * Arbitrary, user-defined tags on this action.
+       * 
+ * + * repeated string tags = 3; + * @return The count of tags. + */ + public int getTagsCount() { + return tags_.size(); + } + /** + *
+       * Arbitrary, user-defined tags on this action.
+       * 
+ * + * repeated string tags = 3; + * @param index The index of the element to return. + * @return The tags at the given index. + */ + public java.lang.String getTags(int index) { + return tags_.get(index); + } + /** + *
+       * Arbitrary, user-defined tags on this action.
+       * 
+ * + * repeated string tags = 3; + * @param index The index of the value to return. + * @return The bytes of the tags at the given index. + */ + public com.google.protobuf.ByteString + getTagsBytes(int index) { + return tags_.getByteString(index); + } + /** + *
+       * Arbitrary, user-defined tags on this action.
+       * 
+ * + * repeated string tags = 3; + * @param index The index to set the value at. + * @param value The tags to set. + * @return This builder for chaining. + */ + public Builder setTags( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureTagsIsMutable(); + tags_.set(index, value); + onChanged(); + return this; + } + /** + *
+       * Arbitrary, user-defined tags on this action.
+       * 
+ * + * repeated string tags = 3; + * @param value The tags to add. + * @return This builder for chaining. + */ + public Builder addTags( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureTagsIsMutable(); + tags_.add(value); + onChanged(); + return this; + } + /** + *
+       * Arbitrary, user-defined tags on this action.
+       * 
+ * + * repeated string tags = 3; + * @param values The tags to add. + * @return This builder for chaining. + */ + public Builder addAllTags( + java.lang.Iterable values) { + ensureTagsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tags_); + onChanged(); + return this; + } + /** + *
+       * Arbitrary, user-defined tags on this action.
+       * 
+ * + * repeated string tags = 3; + * @return This builder for chaining. + */ + public Builder clearTags() { + tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+       * Arbitrary, user-defined tags on this action.
+       * 
+ * + * repeated string tags = 3; + * @param value The bytes of the tags to add. + * @return This builder for chaining. + */ + public Builder addTagsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureTagsIsMutable(); + tags_.add(value); + onChanged(); + return this; + } + + private com.google.cloud.dataform.v1beta1.RelationDescriptor relationDescriptor_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.RelationDescriptor, com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder, com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder> relationDescriptorBuilder_; + /** + *
+       * Descriptor for the relation and its columns.
+       * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 4; + * @return Whether the relationDescriptor field is set. + */ + public boolean hasRelationDescriptor() { + return relationDescriptorBuilder_ != null || relationDescriptor_ != null; + } + /** + *
+       * Descriptor for the relation and its columns.
+       * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 4; + * @return The relationDescriptor. + */ + public com.google.cloud.dataform.v1beta1.RelationDescriptor getRelationDescriptor() { + if (relationDescriptorBuilder_ == null) { + return relationDescriptor_ == null ? com.google.cloud.dataform.v1beta1.RelationDescriptor.getDefaultInstance() : relationDescriptor_; + } else { + return relationDescriptorBuilder_.getMessage(); + } + } + /** + *
+       * Descriptor for the relation and its columns.
+       * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 4; + */ + public Builder setRelationDescriptor(com.google.cloud.dataform.v1beta1.RelationDescriptor value) { + if (relationDescriptorBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + relationDescriptor_ = value; + onChanged(); + } else { + relationDescriptorBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * Descriptor for the relation and its columns.
+       * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 4; + */ + public Builder setRelationDescriptor( + com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder builderForValue) { + if (relationDescriptorBuilder_ == null) { + relationDescriptor_ = builderForValue.build(); + onChanged(); + } else { + relationDescriptorBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * Descriptor for the relation and its columns.
+       * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 4; + */ + public Builder mergeRelationDescriptor(com.google.cloud.dataform.v1beta1.RelationDescriptor value) { + if (relationDescriptorBuilder_ == null) { + if (relationDescriptor_ != null) { + relationDescriptor_ = + com.google.cloud.dataform.v1beta1.RelationDescriptor.newBuilder(relationDescriptor_).mergeFrom(value).buildPartial(); + } else { + relationDescriptor_ = value; + } + onChanged(); + } else { + relationDescriptorBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * Descriptor for the relation and its columns.
+       * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 4; + */ + public Builder clearRelationDescriptor() { + if (relationDescriptorBuilder_ == null) { + relationDescriptor_ = null; + onChanged(); + } else { + relationDescriptor_ = null; + relationDescriptorBuilder_ = null; + } + + return this; + } + /** + *
+       * Descriptor for the relation and its columns.
+       * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 4; + */ + public com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder getRelationDescriptorBuilder() { + + onChanged(); + return getRelationDescriptorFieldBuilder().getBuilder(); + } + /** + *
+       * Descriptor for the relation and its columns.
+       * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 4; + */ + public com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder getRelationDescriptorOrBuilder() { + if (relationDescriptorBuilder_ != null) { + return relationDescriptorBuilder_.getMessageOrBuilder(); + } else { + return relationDescriptor_ == null ? + com.google.cloud.dataform.v1beta1.RelationDescriptor.getDefaultInstance() : relationDescriptor_; + } + } + /** + *
+       * Descriptor for the relation and its columns.
+       * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.RelationDescriptor, com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder, com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder> + getRelationDescriptorFieldBuilder() { + if (relationDescriptorBuilder_ == null) { + relationDescriptorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.RelationDescriptor, com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder, com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder>( + getRelationDescriptor(), + getParentForChildren(), + isClean()); + relationDescriptor_ = null; + } + return relationDescriptorBuilder_; + } + + private int relationType_ = 0; + /** + *
+       * The type of this relation.
+       * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType relation_type = 5; + * @return The enum numeric value on the wire for relationType. + */ + @java.lang.Override public int getRelationTypeValue() { + return relationType_; + } + /** + *
+       * The type of this relation.
+       * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType relation_type = 5; + * @param value The enum numeric value on the wire for relationType to set. + * @return This builder for chaining. + */ + public Builder setRelationTypeValue(int value) { + + relationType_ = value; + onChanged(); + return this; + } + /** + *
+       * The type of this relation.
+       * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType relation_type = 5; + * @return The relationType. + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType getRelationType() { + @SuppressWarnings("deprecation") + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType result = com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType.valueOf(relationType_); + return result == null ? com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType.UNRECOGNIZED : result; + } + /** + *
+       * The type of this relation.
+       * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType relation_type = 5; + * @param value The relationType to set. + * @return This builder for chaining. + */ + public Builder setRelationType(com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType value) { + if (value == null) { + throw new NullPointerException(); + } + + relationType_ = value.getNumber(); + onChanged(); + return this; + } + /** + *
+       * The type of this relation.
+       * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType relation_type = 5; + * @return This builder for chaining. + */ + public Builder clearRelationType() { + + relationType_ = 0; + onChanged(); + return this; + } + + private java.lang.Object selectQuery_ = ""; + /** + *
+       * The SELECT query which returns rows which this relation should contain.
+       * 
+ * + * string select_query = 6; + * @return The selectQuery. + */ + public java.lang.String getSelectQuery() { + java.lang.Object ref = selectQuery_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + selectQuery_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * The SELECT query which returns rows which this relation should contain.
+       * 
+ * + * string select_query = 6; + * @return The bytes for selectQuery. + */ + public com.google.protobuf.ByteString + getSelectQueryBytes() { + java.lang.Object ref = selectQuery_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + selectQuery_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * The SELECT query which returns rows which this relation should contain.
+       * 
+ * + * string select_query = 6; + * @param value The selectQuery to set. + * @return This builder for chaining. + */ + public Builder setSelectQuery( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + selectQuery_ = value; + onChanged(); + return this; + } + /** + *
+       * The SELECT query which returns rows which this relation should contain.
+       * 
+ * + * string select_query = 6; + * @return This builder for chaining. + */ + public Builder clearSelectQuery() { + + selectQuery_ = getDefaultInstance().getSelectQuery(); + onChanged(); + return this; + } + /** + *
+       * The SELECT query which returns rows which this relation should contain.
+       * 
+ * + * string select_query = 6; + * @param value The bytes for selectQuery to set. + * @return This builder for chaining. + */ + public Builder setSelectQueryBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + selectQuery_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList preOperations_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensurePreOperationsIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + preOperations_ = new com.google.protobuf.LazyStringArrayList(preOperations_); + bitField0_ |= 0x00000004; + } + } + /** + *
+       * SQL statements to be executed before creating the relation.
+       * 
+ * + * repeated string pre_operations = 7; + * @return A list containing the preOperations. + */ + public com.google.protobuf.ProtocolStringList + getPreOperationsList() { + return preOperations_.getUnmodifiableView(); + } + /** + *
+       * SQL statements to be executed before creating the relation.
+       * 
+ * + * repeated string pre_operations = 7; + * @return The count of preOperations. + */ + public int getPreOperationsCount() { + return preOperations_.size(); + } + /** + *
+       * SQL statements to be executed before creating the relation.
+       * 
+ * + * repeated string pre_operations = 7; + * @param index The index of the element to return. + * @return The preOperations at the given index. + */ + public java.lang.String getPreOperations(int index) { + return preOperations_.get(index); + } + /** + *
+       * SQL statements to be executed before creating the relation.
+       * 
+ * + * repeated string pre_operations = 7; + * @param index The index of the value to return. + * @return The bytes of the preOperations at the given index. + */ + public com.google.protobuf.ByteString + getPreOperationsBytes(int index) { + return preOperations_.getByteString(index); + } + /** + *
+       * SQL statements to be executed before creating the relation.
+       * 
+ * + * repeated string pre_operations = 7; + * @param index The index to set the value at. + * @param value The preOperations to set. + * @return This builder for chaining. + */ + public Builder setPreOperations( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensurePreOperationsIsMutable(); + preOperations_.set(index, value); + onChanged(); + return this; + } + /** + *
+       * SQL statements to be executed before creating the relation.
+       * 
+ * + * repeated string pre_operations = 7; + * @param value The preOperations to add. + * @return This builder for chaining. + */ + public Builder addPreOperations( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensurePreOperationsIsMutable(); + preOperations_.add(value); + onChanged(); + return this; + } + /** + *
+       * SQL statements to be executed before creating the relation.
+       * 
+ * + * repeated string pre_operations = 7; + * @param values The preOperations to add. + * @return This builder for chaining. + */ + public Builder addAllPreOperations( + java.lang.Iterable values) { + ensurePreOperationsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, preOperations_); + onChanged(); + return this; + } + /** + *
+       * SQL statements to be executed before creating the relation.
+       * 
+ * + * repeated string pre_operations = 7; + * @return This builder for chaining. + */ + public Builder clearPreOperations() { + preOperations_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + *
+       * SQL statements to be executed before creating the relation.
+       * 
+ * + * repeated string pre_operations = 7; + * @param value The bytes of the preOperations to add. + * @return This builder for chaining. + */ + public Builder addPreOperationsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensurePreOperationsIsMutable(); + preOperations_.add(value); + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList postOperations_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensurePostOperationsIsMutable() { + if (!((bitField0_ & 0x00000008) != 0)) { + postOperations_ = new com.google.protobuf.LazyStringArrayList(postOperations_); + bitField0_ |= 0x00000008; + } + } + /** + *
+       * SQL statements to be executed after creating the relation.
+       * 
+ * + * repeated string post_operations = 8; + * @return A list containing the postOperations. + */ + public com.google.protobuf.ProtocolStringList + getPostOperationsList() { + return postOperations_.getUnmodifiableView(); + } + /** + *
+       * SQL statements to be executed after creating the relation.
+       * 
+ * + * repeated string post_operations = 8; + * @return The count of postOperations. + */ + public int getPostOperationsCount() { + return postOperations_.size(); + } + /** + *
+       * SQL statements to be executed after creating the relation.
+       * 
+ * + * repeated string post_operations = 8; + * @param index The index of the element to return. + * @return The postOperations at the given index. + */ + public java.lang.String getPostOperations(int index) { + return postOperations_.get(index); + } + /** + *
+       * SQL statements to be executed after creating the relation.
+       * 
+ * + * repeated string post_operations = 8; + * @param index The index of the value to return. + * @return The bytes of the postOperations at the given index. + */ + public com.google.protobuf.ByteString + getPostOperationsBytes(int index) { + return postOperations_.getByteString(index); + } + /** + *
+       * SQL statements to be executed after creating the relation.
+       * 
+ * + * repeated string post_operations = 8; + * @param index The index to set the value at. + * @param value The postOperations to set. + * @return This builder for chaining. + */ + public Builder setPostOperations( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensurePostOperationsIsMutable(); + postOperations_.set(index, value); + onChanged(); + return this; + } + /** + *
+       * SQL statements to be executed after creating the relation.
+       * 
+ * + * repeated string post_operations = 8; + * @param value The postOperations to add. + * @return This builder for chaining. + */ + public Builder addPostOperations( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensurePostOperationsIsMutable(); + postOperations_.add(value); + onChanged(); + return this; + } + /** + *
+       * SQL statements to be executed after creating the relation.
+       * 
+ * + * repeated string post_operations = 8; + * @param values The postOperations to add. + * @return This builder for chaining. + */ + public Builder addAllPostOperations( + java.lang.Iterable values) { + ensurePostOperationsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, postOperations_); + onChanged(); + return this; + } + /** + *
+       * SQL statements to be executed after creating the relation.
+       * 
+ * + * repeated string post_operations = 8; + * @return This builder for chaining. + */ + public Builder clearPostOperations() { + postOperations_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + *
+       * SQL statements to be executed after creating the relation.
+       * 
+ * + * repeated string post_operations = 8; + * @param value The bytes of the postOperations to add. + * @return This builder for chaining. + */ + public Builder addPostOperationsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensurePostOperationsIsMutable(); + postOperations_.add(value); + onChanged(); + return this; + } + + private com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incrementalTableConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig, com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig.Builder, com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfigOrBuilder> incrementalTableConfigBuilder_; + /** + *
+       * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
+       * `relation_type` is `INCREMENTAL_TABLE`.
+       * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * @return Whether the incrementalTableConfig field is set. + */ + public boolean hasIncrementalTableConfig() { + return incrementalTableConfigBuilder_ != null || incrementalTableConfig_ != null; + } + /** + *
+       * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
+       * `relation_type` is `INCREMENTAL_TABLE`.
+       * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * @return The incrementalTableConfig. + */ + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig getIncrementalTableConfig() { + if (incrementalTableConfigBuilder_ == null) { + return incrementalTableConfig_ == null ? com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig.getDefaultInstance() : incrementalTableConfig_; + } else { + return incrementalTableConfigBuilder_.getMessage(); + } + } + /** + *
+       * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
+       * `relation_type` is `INCREMENTAL_TABLE`.
+       * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + */ + public Builder setIncrementalTableConfig(com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig value) { + if (incrementalTableConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + incrementalTableConfig_ = value; + onChanged(); + } else { + incrementalTableConfigBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
+       * `relation_type` is `INCREMENTAL_TABLE`.
+       * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + */ + public Builder setIncrementalTableConfig( + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig.Builder builderForValue) { + if (incrementalTableConfigBuilder_ == null) { + incrementalTableConfig_ = builderForValue.build(); + onChanged(); + } else { + incrementalTableConfigBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
+       * `relation_type` is `INCREMENTAL_TABLE`.
+       * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + */ + public Builder mergeIncrementalTableConfig(com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig value) { + if (incrementalTableConfigBuilder_ == null) { + if (incrementalTableConfig_ != null) { + incrementalTableConfig_ = + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig.newBuilder(incrementalTableConfig_).mergeFrom(value).buildPartial(); + } else { + incrementalTableConfig_ = value; + } + onChanged(); + } else { + incrementalTableConfigBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
+       * `relation_type` is `INCREMENTAL_TABLE`.
+       * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + */ + public Builder clearIncrementalTableConfig() { + if (incrementalTableConfigBuilder_ == null) { + incrementalTableConfig_ = null; + onChanged(); + } else { + incrementalTableConfig_ = null; + incrementalTableConfigBuilder_ = null; + } + + return this; + } + /** + *
+       * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
+       * `relation_type` is `INCREMENTAL_TABLE`.
+       * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + */ + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig.Builder getIncrementalTableConfigBuilder() { + + onChanged(); + return getIncrementalTableConfigFieldBuilder().getBuilder(); + } + /** + *
+       * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
+       * `relation_type` is `INCREMENTAL_TABLE`.
+       * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + */ + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfigOrBuilder getIncrementalTableConfigOrBuilder() { + if (incrementalTableConfigBuilder_ != null) { + return incrementalTableConfigBuilder_.getMessageOrBuilder(); + } else { + return incrementalTableConfig_ == null ? + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig.getDefaultInstance() : incrementalTableConfig_; + } + } + /** + *
+       * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
+       * `relation_type` is `INCREMENTAL_TABLE`.
+       * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig, com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig.Builder, com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfigOrBuilder> + getIncrementalTableConfigFieldBuilder() { + if (incrementalTableConfigBuilder_ == null) { + incrementalTableConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig, com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig.Builder, com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfigOrBuilder>( + getIncrementalTableConfig(), + getParentForChildren(), + isClean()); + incrementalTableConfig_ = null; + } + return incrementalTableConfigBuilder_; + } + + private java.lang.Object partitionExpression_ = ""; + /** + *
+       * The SQL expression used to partition the relation.
+       * 
+ * + * string partition_expression = 10; + * @return The partitionExpression. + */ + public java.lang.String getPartitionExpression() { + java.lang.Object ref = partitionExpression_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + partitionExpression_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * The SQL expression used to partition the relation.
+       * 
+ * + * string partition_expression = 10; + * @return The bytes for partitionExpression. + */ + public com.google.protobuf.ByteString + getPartitionExpressionBytes() { + java.lang.Object ref = partitionExpression_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + partitionExpression_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * The SQL expression used to partition the relation.
+       * 
+ * + * string partition_expression = 10; + * @param value The partitionExpression to set. + * @return This builder for chaining. + */ + public Builder setPartitionExpression( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + partitionExpression_ = value; + onChanged(); + return this; + } + /** + *
+       * The SQL expression used to partition the relation.
+       * 
+ * + * string partition_expression = 10; + * @return This builder for chaining. + */ + public Builder clearPartitionExpression() { + + partitionExpression_ = getDefaultInstance().getPartitionExpression(); + onChanged(); + return this; + } + /** + *
+       * The SQL expression used to partition the relation.
+       * 
+ * + * string partition_expression = 10; + * @param value The bytes for partitionExpression to set. + * @return This builder for chaining. + */ + public Builder setPartitionExpressionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + partitionExpression_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList clusterExpressions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureClusterExpressionsIsMutable() { + if (!((bitField0_ & 0x00000010) != 0)) { + clusterExpressions_ = new com.google.protobuf.LazyStringArrayList(clusterExpressions_); + bitField0_ |= 0x00000010; + } + } + /** + *
+       * A list of columns or SQL expressions used to cluster the table.
+       * 
+ * + * repeated string cluster_expressions = 11; + * @return A list containing the clusterExpressions. + */ + public com.google.protobuf.ProtocolStringList + getClusterExpressionsList() { + return clusterExpressions_.getUnmodifiableView(); + } + /** + *
+       * A list of columns or SQL expressions used to cluster the table.
+       * 
+ * + * repeated string cluster_expressions = 11; + * @return The count of clusterExpressions. + */ + public int getClusterExpressionsCount() { + return clusterExpressions_.size(); + } + /** + *
+       * A list of columns or SQL expressions used to cluster the table.
+       * 
+ * + * repeated string cluster_expressions = 11; + * @param index The index of the element to return. + * @return The clusterExpressions at the given index. + */ + public java.lang.String getClusterExpressions(int index) { + return clusterExpressions_.get(index); + } + /** + *
+       * A list of columns or SQL expressions used to cluster the table.
+       * 
+ * + * repeated string cluster_expressions = 11; + * @param index The index of the value to return. + * @return The bytes of the clusterExpressions at the given index. + */ + public com.google.protobuf.ByteString + getClusterExpressionsBytes(int index) { + return clusterExpressions_.getByteString(index); + } + /** + *
+       * A list of columns or SQL expressions used to cluster the table.
+       * 
+ * + * repeated string cluster_expressions = 11; + * @param index The index to set the value at. + * @param value The clusterExpressions to set. + * @return This builder for chaining. + */ + public Builder setClusterExpressions( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureClusterExpressionsIsMutable(); + clusterExpressions_.set(index, value); + onChanged(); + return this; + } + /** + *
+       * A list of columns or SQL expressions used to cluster the table.
+       * 
+ * + * repeated string cluster_expressions = 11; + * @param value The clusterExpressions to add. + * @return This builder for chaining. + */ + public Builder addClusterExpressions( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureClusterExpressionsIsMutable(); + clusterExpressions_.add(value); + onChanged(); + return this; + } + /** + *
+       * A list of columns or SQL expressions used to cluster the table.
+       * 
+ * + * repeated string cluster_expressions = 11; + * @param values The clusterExpressions to add. + * @return This builder for chaining. + */ + public Builder addAllClusterExpressions( + java.lang.Iterable values) { + ensureClusterExpressionsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, clusterExpressions_); + onChanged(); + return this; + } + /** + *
+       * A list of columns or SQL expressions used to cluster the table.
+       * 
+ * + * repeated string cluster_expressions = 11; + * @return This builder for chaining. + */ + public Builder clearClusterExpressions() { + clusterExpressions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + *
+       * A list of columns or SQL expressions used to cluster the table.
+       * 
+ * + * repeated string cluster_expressions = 11; + * @param value The bytes of the clusterExpressions to add. + * @return This builder for chaining. + */ + public Builder addClusterExpressionsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureClusterExpressionsIsMutable(); + clusterExpressions_.add(value); + onChanged(); + return this; + } + + private int partitionExpirationDays_ ; + /** + *
+       * Sets the partition expiration in days.
+       * 
+ * + * int32 partition_expiration_days = 12; + * @return The partitionExpirationDays. + */ + @java.lang.Override + public int getPartitionExpirationDays() { + return partitionExpirationDays_; + } + /** + *
+       * Sets the partition expiration in days.
+       * 
+ * + * int32 partition_expiration_days = 12; + * @param value The partitionExpirationDays to set. + * @return This builder for chaining. + */ + public Builder setPartitionExpirationDays(int value) { + + partitionExpirationDays_ = value; + onChanged(); + return this; + } + /** + *
+       * Sets the partition expiration in days.
+       * 
+ * + * int32 partition_expiration_days = 12; + * @return This builder for chaining. + */ + public Builder clearPartitionExpirationDays() { + + partitionExpirationDays_ = 0; + onChanged(); + return this; + } + + private boolean requirePartitionFilter_ ; + /** + *
+       * Specifies whether queries on this table must include a predicate filter
+       * that filters on the partitioning column.
+       * 
+ * + * bool require_partition_filter = 13; + * @return The requirePartitionFilter. + */ + @java.lang.Override + public boolean getRequirePartitionFilter() { + return requirePartitionFilter_; + } + /** + *
+       * Specifies whether queries on this table must include a predicate filter
+       * that filters on the partitioning column.
+       * 
+ * + * bool require_partition_filter = 13; + * @param value The requirePartitionFilter to set. + * @return This builder for chaining. + */ + public Builder setRequirePartitionFilter(boolean value) { + + requirePartitionFilter_ = value; + onChanged(); + return this; + } + /** + *
+       * Specifies whether queries on this table must include a predicate filter
+       * that filters on the partitioning column.
+       * 
+ * + * bool require_partition_filter = 13; + * @return This builder for chaining. + */ + public Builder clearRequirePartitionFilter() { + + requirePartitionFilter_ = false; + onChanged(); + return this; + } + + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> additionalOptions_; + private com.google.protobuf.MapField + internalGetAdditionalOptions() { + if (additionalOptions_ == null) { + return com.google.protobuf.MapField.emptyMapField( + AdditionalOptionsDefaultEntryHolder.defaultEntry); + } + return additionalOptions_; + } + private com.google.protobuf.MapField + internalGetMutableAdditionalOptions() { + onChanged();; + if (additionalOptions_ == null) { + additionalOptions_ = com.google.protobuf.MapField.newMapField( + AdditionalOptionsDefaultEntryHolder.defaultEntry); + } + if (!additionalOptions_.isMutable()) { + additionalOptions_ = additionalOptions_.copy(); + } + return additionalOptions_; + } + + public int getAdditionalOptionsCount() { + return internalGetAdditionalOptions().getMap().size(); + } + /** + *
+       * Additional options that will be provided as key/value pairs into the
+       * options clause of a create table/view statement. See
+       * https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language
+       * for more information on which options are supported.
+       * 
+ * + * map<string, string> additional_options = 14; + */ + + @java.lang.Override + public boolean containsAdditionalOptions( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetAdditionalOptions().getMap().containsKey(key); + } + /** + * Use {@link #getAdditionalOptionsMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getAdditionalOptions() { + return getAdditionalOptionsMap(); + } + /** + *
+       * Additional options that will be provided as key/value pairs into the
+       * options clause of a create table/view statement. See
+       * https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language
+       * for more information on which options are supported.
+       * 
+ * + * map<string, string> additional_options = 14; + */ + @java.lang.Override + + public java.util.Map getAdditionalOptionsMap() { + return internalGetAdditionalOptions().getMap(); + } + /** + *
+       * Additional options that will be provided as key/value pairs into the
+       * options clause of a create table/view statement. See
+       * https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language
+       * for more information on which options are supported.
+       * 
+ * + * map<string, string> additional_options = 14; + */ + @java.lang.Override + + public java.lang.String getAdditionalOptionsOrDefault( + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetAdditionalOptions().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+       * Additional options that will be provided as key/value pairs into the
+       * options clause of a create table/view statement. See
+       * https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language
+       * for more information on which options are supported.
+       * 
+ * + * map<string, string> additional_options = 14; + */ + @java.lang.Override + + public java.lang.String getAdditionalOptionsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetAdditionalOptions().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public Builder clearAdditionalOptions() { + internalGetMutableAdditionalOptions().getMutableMap() + .clear(); + return this; + } + /** + *
+       * Additional options that will be provided as key/value pairs into the
+       * options clause of a create table/view statement. See
+       * https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language
+       * for more information on which options are supported.
+       * 
+ * + * map<string, string> additional_options = 14; + */ + + public Builder removeAdditionalOptions( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableAdditionalOptions().getMutableMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableAdditionalOptions() { + return internalGetMutableAdditionalOptions().getMutableMap(); + } + /** + *
+       * Additional options that will be provided as key/value pairs into the
+       * options clause of a create table/view statement. See
+       * https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language
+       * for more information on which options are supported.
+       * 
+ * + * map<string, string> additional_options = 14; + */ + public Builder putAdditionalOptions( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { + throw new NullPointerException("map value"); +} + + internalGetMutableAdditionalOptions().getMutableMap() + .put(key, value); + return this; + } + /** + *
+       * Additional options that will be provided as key/value pairs into the
+       * options clause of a create table/view statement. See
+       * https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language
+       * for more information on which options are supported.
+       * 
+ * + * map<string, string> additional_options = 14; + */ + + public Builder putAllAdditionalOptions( + java.util.Map values) { + internalGetMutableAdditionalOptions().getMutableMap() + .putAll(values); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.CompilationResultAction.Relation) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.CompilationResultAction.Relation) + private static final com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation(); + } + + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Relation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Relation(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface OperationsOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.CompilationResultAction.Operations) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * A list of actions that this action depends on.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + java.util.List + getDependencyTargetsList(); + /** + *
+     * A list of actions that this action depends on.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + com.google.cloud.dataform.v1beta1.Target getDependencyTargets(int index); + /** + *
+     * A list of actions that this action depends on.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + int getDependencyTargetsCount(); + /** + *
+     * A list of actions that this action depends on.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + java.util.List + getDependencyTargetsOrBuilderList(); + /** + *
+     * A list of actions that this action depends on.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + com.google.cloud.dataform.v1beta1.TargetOrBuilder getDependencyTargetsOrBuilder( + int index); + + /** + *
+     * Whether this action is disabled (i.e. should not be run).
+     * 
+ * + * bool disabled = 2; + * @return The disabled. + */ + boolean getDisabled(); + + /** + *
+     * Arbitrary, user-defined tags on this action.
+     * 
+ * + * repeated string tags = 3; + * @return A list containing the tags. + */ + java.util.List + getTagsList(); + /** + *
+     * Arbitrary, user-defined tags on this action.
+     * 
+ * + * repeated string tags = 3; + * @return The count of tags. + */ + int getTagsCount(); + /** + *
+     * Arbitrary, user-defined tags on this action.
+     * 
+ * + * repeated string tags = 3; + * @param index The index of the element to return. + * @return The tags at the given index. + */ + java.lang.String getTags(int index); + /** + *
+     * Arbitrary, user-defined tags on this action.
+     * 
+ * + * repeated string tags = 3; + * @param index The index of the value to return. + * @return The bytes of the tags at the given index. + */ + com.google.protobuf.ByteString + getTagsBytes(int index); + + /** + *
+     * Descriptor for any output relation and its columns. Only set if
+     * `has_output` is true.
+     * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6; + * @return Whether the relationDescriptor field is set. + */ + boolean hasRelationDescriptor(); + /** + *
+     * Descriptor for any output relation and its columns. Only set if
+     * `has_output` is true.
+     * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6; + * @return The relationDescriptor. + */ + com.google.cloud.dataform.v1beta1.RelationDescriptor getRelationDescriptor(); + /** + *
+     * Descriptor for any output relation and its columns. Only set if
+     * `has_output` is true.
+     * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6; + */ + com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder getRelationDescriptorOrBuilder(); + + /** + *
+     * A list of arbitrary SQL statements that will be executed without
+     * alteration.
+     * 
+ * + * repeated string queries = 4; + * @return A list containing the queries. + */ + java.util.List + getQueriesList(); + /** + *
+     * A list of arbitrary SQL statements that will be executed without
+     * alteration.
+     * 
+ * + * repeated string queries = 4; + * @return The count of queries. + */ + int getQueriesCount(); + /** + *
+     * A list of arbitrary SQL statements that will be executed without
+     * alteration.
+     * 
+ * + * repeated string queries = 4; + * @param index The index of the element to return. + * @return The queries at the given index. + */ + java.lang.String getQueries(int index); + /** + *
+     * A list of arbitrary SQL statements that will be executed without
+     * alteration.
+     * 
+ * + * repeated string queries = 4; + * @param index The index of the value to return. + * @return The bytes of the queries at the given index. + */ + com.google.protobuf.ByteString + getQueriesBytes(int index); + + /** + *
+     * Whether these operations produce an output relation.
+     * 
+ * + * bool has_output = 5; + * @return The hasOutput. + */ + boolean getHasOutput(); + } + /** + *
+   * Represents a list of arbitrary database operations.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.CompilationResultAction.Operations} + */ + public static final class Operations extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.CompilationResultAction.Operations) + OperationsOrBuilder { + private static final long serialVersionUID = 0L; + // Use Operations.newBuilder() to construct. + private Operations(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Operations() { + dependencyTargets_ = java.util.Collections.emptyList(); + tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + queries_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Operations(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private Operations( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + dependencyTargets_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + dependencyTargets_.add( + input.readMessage(com.google.cloud.dataform.v1beta1.Target.parser(), extensionRegistry)); + break; + } + case 16: { + + disabled_ = input.readBool(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + tags_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + tags_.add(s); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + queries_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000004; + } + queries_.add(s); + break; + } + case 40: { + + hasOutput_ = input.readBool(); + break; + } + case 50: { + com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder subBuilder = null; + if (relationDescriptor_ != null) { + subBuilder = relationDescriptor_.toBuilder(); + } + relationDescriptor_ = input.readMessage(com.google.cloud.dataform.v1beta1.RelationDescriptor.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(relationDescriptor_); + relationDescriptor_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + dependencyTargets_ = java.util.Collections.unmodifiableList(dependencyTargets_); + } + if (((mutable_bitField0_ & 0x00000002) != 0)) { + tags_ = tags_.getUnmodifiableView(); + } + if (((mutable_bitField0_ & 0x00000004) != 0)) { + queries_ = queries_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Operations_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Operations_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.class, com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.Builder.class); + } + + public static final int DEPENDENCY_TARGETS_FIELD_NUMBER = 1; + private java.util.List dependencyTargets_; + /** + *
+     * A list of actions that this action depends on.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + @java.lang.Override + public java.util.List getDependencyTargetsList() { + return dependencyTargets_; + } + /** + *
+     * A list of actions that this action depends on.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + @java.lang.Override + public java.util.List + getDependencyTargetsOrBuilderList() { + return dependencyTargets_; + } + /** + *
+     * A list of actions that this action depends on.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + @java.lang.Override + public int getDependencyTargetsCount() { + return dependencyTargets_.size(); + } + /** + *
+     * A list of actions that this action depends on.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.Target getDependencyTargets(int index) { + return dependencyTargets_.get(index); + } + /** + *
+     * A list of actions that this action depends on.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.TargetOrBuilder getDependencyTargetsOrBuilder( + int index) { + return dependencyTargets_.get(index); + } + + public static final int DISABLED_FIELD_NUMBER = 2; + private boolean disabled_; + /** + *
+     * Whether this action is disabled (i.e. should not be run).
+     * 
+ * + * bool disabled = 2; + * @return The disabled. + */ + @java.lang.Override + public boolean getDisabled() { + return disabled_; + } + + public static final int TAGS_FIELD_NUMBER = 3; + private com.google.protobuf.LazyStringList tags_; + /** + *
+     * Arbitrary, user-defined tags on this action.
+     * 
+ * + * repeated string tags = 3; + * @return A list containing the tags. + */ + public com.google.protobuf.ProtocolStringList + getTagsList() { + return tags_; + } + /** + *
+     * Arbitrary, user-defined tags on this action.
+     * 
+ * + * repeated string tags = 3; + * @return The count of tags. + */ + public int getTagsCount() { + return tags_.size(); + } + /** + *
+     * Arbitrary, user-defined tags on this action.
+     * 
+ * + * repeated string tags = 3; + * @param index The index of the element to return. + * @return The tags at the given index. + */ + public java.lang.String getTags(int index) { + return tags_.get(index); + } + /** + *
+     * Arbitrary, user-defined tags on this action.
+     * 
+ * + * repeated string tags = 3; + * @param index The index of the value to return. + * @return The bytes of the tags at the given index. + */ + public com.google.protobuf.ByteString + getTagsBytes(int index) { + return tags_.getByteString(index); + } + + public static final int RELATION_DESCRIPTOR_FIELD_NUMBER = 6; + private com.google.cloud.dataform.v1beta1.RelationDescriptor relationDescriptor_; + /** + *
+     * Descriptor for any output relation and its columns. Only set if
+     * `has_output` is true.
+     * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6; + * @return Whether the relationDescriptor field is set. + */ + @java.lang.Override + public boolean hasRelationDescriptor() { + return relationDescriptor_ != null; + } + /** + *
+     * Descriptor for any output relation and its columns. Only set if
+     * `has_output` is true.
+     * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6; + * @return The relationDescriptor. + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.RelationDescriptor getRelationDescriptor() { + return relationDescriptor_ == null ? com.google.cloud.dataform.v1beta1.RelationDescriptor.getDefaultInstance() : relationDescriptor_; + } + /** + *
+     * Descriptor for any output relation and its columns. Only set if
+     * `has_output` is true.
+     * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder getRelationDescriptorOrBuilder() { + return getRelationDescriptor(); + } + + public static final int QUERIES_FIELD_NUMBER = 4; + private com.google.protobuf.LazyStringList queries_; + /** + *
+     * A list of arbitrary SQL statements that will be executed without
+     * alteration.
+     * 
+ * + * repeated string queries = 4; + * @return A list containing the queries. + */ + public com.google.protobuf.ProtocolStringList + getQueriesList() { + return queries_; + } + /** + *
+     * A list of arbitrary SQL statements that will be executed without
+     * alteration.
+     * 
+ * + * repeated string queries = 4; + * @return The count of queries. + */ + public int getQueriesCount() { + return queries_.size(); + } + /** + *
+     * A list of arbitrary SQL statements that will be executed without
+     * alteration.
+     * 
+ * + * repeated string queries = 4; + * @param index The index of the element to return. + * @return The queries at the given index. + */ + public java.lang.String getQueries(int index) { + return queries_.get(index); + } + /** + *
+     * A list of arbitrary SQL statements that will be executed without
+     * alteration.
+     * 
+ * + * repeated string queries = 4; + * @param index The index of the value to return. + * @return The bytes of the queries at the given index. + */ + public com.google.protobuf.ByteString + getQueriesBytes(int index) { + return queries_.getByteString(index); + } + + public static final int HAS_OUTPUT_FIELD_NUMBER = 5; + private boolean hasOutput_; + /** + *
+     * Whether these operations produce an output relation.
+     * 
+ * + * bool has_output = 5; + * @return The hasOutput. + */ + @java.lang.Override + public boolean getHasOutput() { + return hasOutput_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < dependencyTargets_.size(); i++) { + output.writeMessage(1, dependencyTargets_.get(i)); + } + if (disabled_ != false) { + output.writeBool(2, disabled_); + } + for (int i = 0; i < tags_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, tags_.getRaw(i)); + } + for (int i = 0; i < queries_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, queries_.getRaw(i)); + } + if (hasOutput_ != false) { + output.writeBool(5, hasOutput_); + } + if (relationDescriptor_ != null) { + output.writeMessage(6, getRelationDescriptor()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < dependencyTargets_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, dependencyTargets_.get(i)); + } + if (disabled_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, disabled_); + } + { + int dataSize = 0; + for (int i = 0; i < tags_.size(); i++) { + dataSize += computeStringSizeNoTag(tags_.getRaw(i)); + } + size += dataSize; + size += 1 * getTagsList().size(); + } + { + int dataSize = 0; + for (int i = 0; i < queries_.size(); i++) { + dataSize += computeStringSizeNoTag(queries_.getRaw(i)); + } + size += dataSize; + size += 1 * getQueriesList().size(); + } + if (hasOutput_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, hasOutput_); + } + if (relationDescriptor_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getRelationDescriptor()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations other = (com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations) obj; + + if (!getDependencyTargetsList() + .equals(other.getDependencyTargetsList())) return false; + if (getDisabled() + != other.getDisabled()) return false; + if (!getTagsList() + .equals(other.getTagsList())) return false; + if (hasRelationDescriptor() != other.hasRelationDescriptor()) return false; + if (hasRelationDescriptor()) { + if (!getRelationDescriptor() + .equals(other.getRelationDescriptor())) return false; + } + if (!getQueriesList() + .equals(other.getQueriesList())) return false; + if (getHasOutput() + != other.getHasOutput()) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getDependencyTargetsCount() > 0) { + hash = (37 * hash) + DEPENDENCY_TARGETS_FIELD_NUMBER; + hash = (53 * hash) + getDependencyTargetsList().hashCode(); + } + hash = (37 * hash) + DISABLED_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDisabled()); + if (getTagsCount() > 0) { + hash = (37 * hash) + TAGS_FIELD_NUMBER; + hash = (53 * hash) + getTagsList().hashCode(); + } + if (hasRelationDescriptor()) { + hash = (37 * hash) + RELATION_DESCRIPTOR_FIELD_NUMBER; + hash = (53 * hash) + getRelationDescriptor().hashCode(); + } + if (getQueriesCount() > 0) { + hash = (37 * hash) + QUERIES_FIELD_NUMBER; + hash = (53 * hash) + getQueriesList().hashCode(); + } + hash = (37 * hash) + HAS_OUTPUT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getHasOutput()); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Represents a list of arbitrary database operations.
+     * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.CompilationResultAction.Operations} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.CompilationResultAction.Operations) + com.google.cloud.dataform.v1beta1.CompilationResultAction.OperationsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Operations_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Operations_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.class, com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getDependencyTargetsFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (dependencyTargetsBuilder_ == null) { + dependencyTargets_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + dependencyTargetsBuilder_.clear(); + } + disabled_ = false; + + tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + if (relationDescriptorBuilder_ == null) { + relationDescriptor_ = null; + } else { + relationDescriptor_ = null; + relationDescriptorBuilder_ = null; + } + queries_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000004); + hasOutput_ = false; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Operations_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations build() { + com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations buildPartial() { + com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations result = new com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations(this); + int from_bitField0_ = bitField0_; + if (dependencyTargetsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + dependencyTargets_ = java.util.Collections.unmodifiableList(dependencyTargets_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.dependencyTargets_ = dependencyTargets_; + } else { + result.dependencyTargets_ = dependencyTargetsBuilder_.build(); + } + result.disabled_ = disabled_; + if (((bitField0_ & 0x00000002) != 0)) { + tags_ = tags_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.tags_ = tags_; + if (relationDescriptorBuilder_ == null) { + result.relationDescriptor_ = relationDescriptor_; + } else { + result.relationDescriptor_ = relationDescriptorBuilder_.build(); + } + if (((bitField0_ & 0x00000004) != 0)) { + queries_ = queries_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.queries_ = queries_; + result.hasOutput_ = hasOutput_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations) { + return mergeFrom((com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations other) { + if (other == com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.getDefaultInstance()) return this; + if (dependencyTargetsBuilder_ == null) { + if (!other.dependencyTargets_.isEmpty()) { + if (dependencyTargets_.isEmpty()) { + dependencyTargets_ = other.dependencyTargets_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureDependencyTargetsIsMutable(); + dependencyTargets_.addAll(other.dependencyTargets_); + } + onChanged(); + } + } else { + if (!other.dependencyTargets_.isEmpty()) { + if (dependencyTargetsBuilder_.isEmpty()) { + dependencyTargetsBuilder_.dispose(); + dependencyTargetsBuilder_ = null; + dependencyTargets_ = other.dependencyTargets_; + bitField0_ = (bitField0_ & ~0x00000001); + dependencyTargetsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDependencyTargetsFieldBuilder() : null; + } else { + dependencyTargetsBuilder_.addAllMessages(other.dependencyTargets_); + } + } + } + if (other.getDisabled() != false) { + setDisabled(other.getDisabled()); + } + if (!other.tags_.isEmpty()) { + if (tags_.isEmpty()) { + tags_ = other.tags_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureTagsIsMutable(); + tags_.addAll(other.tags_); + } + onChanged(); + } + if (other.hasRelationDescriptor()) { + mergeRelationDescriptor(other.getRelationDescriptor()); + } + if (!other.queries_.isEmpty()) { + if (queries_.isEmpty()) { + queries_ = other.queries_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureQueriesIsMutable(); + queries_.addAll(other.queries_); + } + onChanged(); + } + if (other.getHasOutput() != false) { + setHasOutput(other.getHasOutput()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private java.util.List dependencyTargets_ = + java.util.Collections.emptyList(); + private void ensureDependencyTargetsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + dependencyTargets_ = new java.util.ArrayList(dependencyTargets_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder> dependencyTargetsBuilder_; + + /** + *
+       * A list of actions that this action depends on.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + public java.util.List getDependencyTargetsList() { + if (dependencyTargetsBuilder_ == null) { + return java.util.Collections.unmodifiableList(dependencyTargets_); + } else { + return dependencyTargetsBuilder_.getMessageList(); + } + } + /** + *
+       * A list of actions that this action depends on.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + public int getDependencyTargetsCount() { + if (dependencyTargetsBuilder_ == null) { + return dependencyTargets_.size(); + } else { + return dependencyTargetsBuilder_.getCount(); + } + } + /** + *
+       * A list of actions that this action depends on.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + public com.google.cloud.dataform.v1beta1.Target getDependencyTargets(int index) { + if (dependencyTargetsBuilder_ == null) { + return dependencyTargets_.get(index); + } else { + return dependencyTargetsBuilder_.getMessage(index); + } + } + /** + *
+       * A list of actions that this action depends on.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + public Builder setDependencyTargets( + int index, com.google.cloud.dataform.v1beta1.Target value) { + if (dependencyTargetsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDependencyTargetsIsMutable(); + dependencyTargets_.set(index, value); + onChanged(); + } else { + dependencyTargetsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * A list of actions that this action depends on.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + public Builder setDependencyTargets( + int index, com.google.cloud.dataform.v1beta1.Target.Builder builderForValue) { + if (dependencyTargetsBuilder_ == null) { + ensureDependencyTargetsIsMutable(); + dependencyTargets_.set(index, builderForValue.build()); + onChanged(); + } else { + dependencyTargetsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * A list of actions that this action depends on.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + public Builder addDependencyTargets(com.google.cloud.dataform.v1beta1.Target value) { + if (dependencyTargetsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDependencyTargetsIsMutable(); + dependencyTargets_.add(value); + onChanged(); + } else { + dependencyTargetsBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * A list of actions that this action depends on.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + public Builder addDependencyTargets( + int index, com.google.cloud.dataform.v1beta1.Target value) { + if (dependencyTargetsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDependencyTargetsIsMutable(); + dependencyTargets_.add(index, value); + onChanged(); + } else { + dependencyTargetsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * A list of actions that this action depends on.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + public Builder addDependencyTargets( + com.google.cloud.dataform.v1beta1.Target.Builder builderForValue) { + if (dependencyTargetsBuilder_ == null) { + ensureDependencyTargetsIsMutable(); + dependencyTargets_.add(builderForValue.build()); + onChanged(); + } else { + dependencyTargetsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * A list of actions that this action depends on.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + public Builder addDependencyTargets( + int index, com.google.cloud.dataform.v1beta1.Target.Builder builderForValue) { + if (dependencyTargetsBuilder_ == null) { + ensureDependencyTargetsIsMutable(); + dependencyTargets_.add(index, builderForValue.build()); + onChanged(); + } else { + dependencyTargetsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * A list of actions that this action depends on.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + public Builder addAllDependencyTargets( + java.lang.Iterable values) { + if (dependencyTargetsBuilder_ == null) { + ensureDependencyTargetsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, dependencyTargets_); + onChanged(); + } else { + dependencyTargetsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * A list of actions that this action depends on.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + public Builder clearDependencyTargets() { + if (dependencyTargetsBuilder_ == null) { + dependencyTargets_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + dependencyTargetsBuilder_.clear(); + } + return this; + } + /** + *
+       * A list of actions that this action depends on.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + public Builder removeDependencyTargets(int index) { + if (dependencyTargetsBuilder_ == null) { + ensureDependencyTargetsIsMutable(); + dependencyTargets_.remove(index); + onChanged(); + } else { + dependencyTargetsBuilder_.remove(index); + } + return this; + } + /** + *
+       * A list of actions that this action depends on.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + public com.google.cloud.dataform.v1beta1.Target.Builder getDependencyTargetsBuilder( + int index) { + return getDependencyTargetsFieldBuilder().getBuilder(index); + } + /** + *
+       * A list of actions that this action depends on.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + public com.google.cloud.dataform.v1beta1.TargetOrBuilder getDependencyTargetsOrBuilder( + int index) { + if (dependencyTargetsBuilder_ == null) { + return dependencyTargets_.get(index); } else { + return dependencyTargetsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * A list of actions that this action depends on.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + public java.util.List + getDependencyTargetsOrBuilderList() { + if (dependencyTargetsBuilder_ != null) { + return dependencyTargetsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(dependencyTargets_); + } + } + /** + *
+       * A list of actions that this action depends on.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + public com.google.cloud.dataform.v1beta1.Target.Builder addDependencyTargetsBuilder() { + return getDependencyTargetsFieldBuilder().addBuilder( + com.google.cloud.dataform.v1beta1.Target.getDefaultInstance()); + } + /** + *
+       * A list of actions that this action depends on.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + public com.google.cloud.dataform.v1beta1.Target.Builder addDependencyTargetsBuilder( + int index) { + return getDependencyTargetsFieldBuilder().addBuilder( + index, com.google.cloud.dataform.v1beta1.Target.getDefaultInstance()); + } + /** + *
+       * A list of actions that this action depends on.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + public java.util.List + getDependencyTargetsBuilderList() { + return getDependencyTargetsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder> + getDependencyTargetsFieldBuilder() { + if (dependencyTargetsBuilder_ == null) { + dependencyTargetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder>( + dependencyTargets_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + dependencyTargets_ = null; + } + return dependencyTargetsBuilder_; + } + + private boolean disabled_ ; + /** + *
+       * Whether this action is disabled (i.e. should not be run).
+       * 
+ * + * bool disabled = 2; + * @return The disabled. + */ + @java.lang.Override + public boolean getDisabled() { + return disabled_; + } + /** + *
+       * Whether this action is disabled (i.e. should not be run).
+       * 
+ * + * bool disabled = 2; + * @param value The disabled to set. + * @return This builder for chaining. + */ + public Builder setDisabled(boolean value) { + + disabled_ = value; + onChanged(); + return this; + } + /** + *
+       * Whether this action is disabled (i.e. should not be run).
+       * 
+ * + * bool disabled = 2; + * @return This builder for chaining. + */ + public Builder clearDisabled() { + + disabled_ = false; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureTagsIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + tags_ = new com.google.protobuf.LazyStringArrayList(tags_); + bitField0_ |= 0x00000002; + } + } + /** + *
+       * Arbitrary, user-defined tags on this action.
+       * 
+ * + * repeated string tags = 3; + * @return A list containing the tags. + */ + public com.google.protobuf.ProtocolStringList + getTagsList() { + return tags_.getUnmodifiableView(); + } + /** + *
+       * Arbitrary, user-defined tags on this action.
+       * 
+ * + * repeated string tags = 3; + * @return The count of tags. + */ + public int getTagsCount() { + return tags_.size(); + } + /** + *
+       * Arbitrary, user-defined tags on this action.
+       * 
+ * + * repeated string tags = 3; + * @param index The index of the element to return. + * @return The tags at the given index. + */ + public java.lang.String getTags(int index) { + return tags_.get(index); + } + /** + *
+       * Arbitrary, user-defined tags on this action.
+       * 
+ * + * repeated string tags = 3; + * @param index The index of the value to return. + * @return The bytes of the tags at the given index. + */ + public com.google.protobuf.ByteString + getTagsBytes(int index) { + return tags_.getByteString(index); + } + /** + *
+       * Arbitrary, user-defined tags on this action.
+       * 
+ * + * repeated string tags = 3; + * @param index The index to set the value at. + * @param value The tags to set. + * @return This builder for chaining. + */ + public Builder setTags( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureTagsIsMutable(); + tags_.set(index, value); + onChanged(); + return this; + } + /** + *
+       * Arbitrary, user-defined tags on this action.
+       * 
+ * + * repeated string tags = 3; + * @param value The tags to add. + * @return This builder for chaining. + */ + public Builder addTags( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureTagsIsMutable(); + tags_.add(value); + onChanged(); + return this; + } + /** + *
+       * Arbitrary, user-defined tags on this action.
+       * 
+ * + * repeated string tags = 3; + * @param values The tags to add. + * @return This builder for chaining. + */ + public Builder addAllTags( + java.lang.Iterable values) { + ensureTagsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tags_); + onChanged(); + return this; + } + /** + *
+       * Arbitrary, user-defined tags on this action.
+       * 
+ * + * repeated string tags = 3; + * @return This builder for chaining. + */ + public Builder clearTags() { + tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+       * Arbitrary, user-defined tags on this action.
+       * 
+ * + * repeated string tags = 3; + * @param value The bytes of the tags to add. + * @return This builder for chaining. + */ + public Builder addTagsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureTagsIsMutable(); + tags_.add(value); + onChanged(); + return this; + } + + private com.google.cloud.dataform.v1beta1.RelationDescriptor relationDescriptor_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.RelationDescriptor, com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder, com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder> relationDescriptorBuilder_; + /** + *
+       * Descriptor for any output relation and its columns. Only set if
+       * `has_output` is true.
+       * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6; + * @return Whether the relationDescriptor field is set. + */ + public boolean hasRelationDescriptor() { + return relationDescriptorBuilder_ != null || relationDescriptor_ != null; + } + /** + *
+       * Descriptor for any output relation and its columns. Only set if
+       * `has_output` is true.
+       * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6; + * @return The relationDescriptor. + */ + public com.google.cloud.dataform.v1beta1.RelationDescriptor getRelationDescriptor() { + if (relationDescriptorBuilder_ == null) { + return relationDescriptor_ == null ? com.google.cloud.dataform.v1beta1.RelationDescriptor.getDefaultInstance() : relationDescriptor_; + } else { + return relationDescriptorBuilder_.getMessage(); + } + } + /** + *
+       * Descriptor for any output relation and its columns. Only set if
+       * `has_output` is true.
+       * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6; + */ + public Builder setRelationDescriptor(com.google.cloud.dataform.v1beta1.RelationDescriptor value) { + if (relationDescriptorBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + relationDescriptor_ = value; + onChanged(); + } else { + relationDescriptorBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * Descriptor for any output relation and its columns. Only set if
+       * `has_output` is true.
+       * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6; + */ + public Builder setRelationDescriptor( + com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder builderForValue) { + if (relationDescriptorBuilder_ == null) { + relationDescriptor_ = builderForValue.build(); + onChanged(); + } else { + relationDescriptorBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * Descriptor for any output relation and its columns. Only set if
+       * `has_output` is true.
+       * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6; + */ + public Builder mergeRelationDescriptor(com.google.cloud.dataform.v1beta1.RelationDescriptor value) { + if (relationDescriptorBuilder_ == null) { + if (relationDescriptor_ != null) { + relationDescriptor_ = + com.google.cloud.dataform.v1beta1.RelationDescriptor.newBuilder(relationDescriptor_).mergeFrom(value).buildPartial(); + } else { + relationDescriptor_ = value; + } + onChanged(); + } else { + relationDescriptorBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * Descriptor for any output relation and its columns. Only set if
+       * `has_output` is true.
+       * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6; + */ + public Builder clearRelationDescriptor() { + if (relationDescriptorBuilder_ == null) { + relationDescriptor_ = null; + onChanged(); + } else { + relationDescriptor_ = null; + relationDescriptorBuilder_ = null; + } + + return this; + } + /** + *
+       * Descriptor for any output relation and its columns. Only set if
+       * `has_output` is true.
+       * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6; + */ + public com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder getRelationDescriptorBuilder() { + + onChanged(); + return getRelationDescriptorFieldBuilder().getBuilder(); + } + /** + *
+       * Descriptor for any output relation and its columns. Only set if
+       * `has_output` is true.
+       * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6; + */ + public com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder getRelationDescriptorOrBuilder() { + if (relationDescriptorBuilder_ != null) { + return relationDescriptorBuilder_.getMessageOrBuilder(); + } else { + return relationDescriptor_ == null ? + com.google.cloud.dataform.v1beta1.RelationDescriptor.getDefaultInstance() : relationDescriptor_; + } + } + /** + *
+       * Descriptor for any output relation and its columns. Only set if
+       * `has_output` is true.
+       * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.RelationDescriptor, com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder, com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder> + getRelationDescriptorFieldBuilder() { + if (relationDescriptorBuilder_ == null) { + relationDescriptorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.RelationDescriptor, com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder, com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder>( + getRelationDescriptor(), + getParentForChildren(), + isClean()); + relationDescriptor_ = null; + } + return relationDescriptorBuilder_; + } + + private com.google.protobuf.LazyStringList queries_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureQueriesIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + queries_ = new com.google.protobuf.LazyStringArrayList(queries_); + bitField0_ |= 0x00000004; + } + } + /** + *
+       * A list of arbitrary SQL statements that will be executed without
+       * alteration.
+       * 
+ * + * repeated string queries = 4; + * @return A list containing the queries. + */ + public com.google.protobuf.ProtocolStringList + getQueriesList() { + return queries_.getUnmodifiableView(); + } + /** + *
+       * A list of arbitrary SQL statements that will be executed without
+       * alteration.
+       * 
+ * + * repeated string queries = 4; + * @return The count of queries. + */ + public int getQueriesCount() { + return queries_.size(); + } + /** + *
+       * A list of arbitrary SQL statements that will be executed without
+       * alteration.
+       * 
+ * + * repeated string queries = 4; + * @param index The index of the element to return. + * @return The queries at the given index. + */ + public java.lang.String getQueries(int index) { + return queries_.get(index); + } + /** + *
+       * A list of arbitrary SQL statements that will be executed without
+       * alteration.
+       * 
+ * + * repeated string queries = 4; + * @param index The index of the value to return. + * @return The bytes of the queries at the given index. + */ + public com.google.protobuf.ByteString + getQueriesBytes(int index) { + return queries_.getByteString(index); + } + /** + *
+       * A list of arbitrary SQL statements that will be executed without
+       * alteration.
+       * 
+ * + * repeated string queries = 4; + * @param index The index to set the value at. + * @param value The queries to set. + * @return This builder for chaining. + */ + public Builder setQueries( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureQueriesIsMutable(); + queries_.set(index, value); + onChanged(); + return this; + } + /** + *
+       * A list of arbitrary SQL statements that will be executed without
+       * alteration.
+       * 
+ * + * repeated string queries = 4; + * @param value The queries to add. + * @return This builder for chaining. + */ + public Builder addQueries( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureQueriesIsMutable(); + queries_.add(value); + onChanged(); + return this; + } + /** + *
+       * A list of arbitrary SQL statements that will be executed without
+       * alteration.
+       * 
+ * + * repeated string queries = 4; + * @param values The queries to add. + * @return This builder for chaining. + */ + public Builder addAllQueries( + java.lang.Iterable values) { + ensureQueriesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, queries_); + onChanged(); + return this; + } + /** + *
+       * A list of arbitrary SQL statements that will be executed without
+       * alteration.
+       * 
+ * + * repeated string queries = 4; + * @return This builder for chaining. + */ + public Builder clearQueries() { + queries_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + *
+       * A list of arbitrary SQL statements that will be executed without
+       * alteration.
+       * 
+ * + * repeated string queries = 4; + * @param value The bytes of the queries to add. + * @return This builder for chaining. + */ + public Builder addQueriesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureQueriesIsMutable(); + queries_.add(value); + onChanged(); + return this; + } + + private boolean hasOutput_ ; + /** + *
+       * Whether these operations produce an output relation.
+       * 
+ * + * bool has_output = 5; + * @return The hasOutput. + */ + @java.lang.Override + public boolean getHasOutput() { + return hasOutput_; + } + /** + *
+       * Whether these operations produce an output relation.
+       * 
+ * + * bool has_output = 5; + * @param value The hasOutput to set. + * @return This builder for chaining. + */ + public Builder setHasOutput(boolean value) { + + hasOutput_ = value; + onChanged(); + return this; + } + /** + *
+       * Whether these operations produce an output relation.
+       * 
+ * + * bool has_output = 5; + * @return This builder for chaining. + */ + public Builder clearHasOutput() { + + hasOutput_ = false; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.CompilationResultAction.Operations) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.CompilationResultAction.Operations) + private static final com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations(); + } + + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Operations parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Operations(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface AssertionOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.CompilationResultAction.Assertion) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * A list of actions that this action depends on.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + java.util.List + getDependencyTargetsList(); + /** + *
+     * A list of actions that this action depends on.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + com.google.cloud.dataform.v1beta1.Target getDependencyTargets(int index); + /** + *
+     * A list of actions that this action depends on.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + int getDependencyTargetsCount(); + /** + *
+     * A list of actions that this action depends on.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + java.util.List + getDependencyTargetsOrBuilderList(); + /** + *
+     * A list of actions that this action depends on.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + com.google.cloud.dataform.v1beta1.TargetOrBuilder getDependencyTargetsOrBuilder( + int index); + + /** + *
+     * The parent action of this assertion. Only set if this assertion was
+     * automatically generated.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Target parent_action = 5; + * @return Whether the parentAction field is set. + */ + boolean hasParentAction(); + /** + *
+     * The parent action of this assertion. Only set if this assertion was
+     * automatically generated.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Target parent_action = 5; + * @return The parentAction. + */ + com.google.cloud.dataform.v1beta1.Target getParentAction(); + /** + *
+     * The parent action of this assertion. Only set if this assertion was
+     * automatically generated.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Target parent_action = 5; + */ + com.google.cloud.dataform.v1beta1.TargetOrBuilder getParentActionOrBuilder(); + + /** + *
+     * Whether this action is disabled (i.e. should not be run).
+     * 
+ * + * bool disabled = 2; + * @return The disabled. + */ + boolean getDisabled(); + + /** + *
+     * Arbitrary, user-defined tags on this action.
+     * 
+ * + * repeated string tags = 3; + * @return A list containing the tags. + */ + java.util.List + getTagsList(); + /** + *
+     * Arbitrary, user-defined tags on this action.
+     * 
+ * + * repeated string tags = 3; + * @return The count of tags. + */ + int getTagsCount(); + /** + *
+     * Arbitrary, user-defined tags on this action.
+     * 
+ * + * repeated string tags = 3; + * @param index The index of the element to return. + * @return The tags at the given index. + */ + java.lang.String getTags(int index); + /** + *
+     * Arbitrary, user-defined tags on this action.
+     * 
+ * + * repeated string tags = 3; + * @param index The index of the value to return. + * @return The bytes of the tags at the given index. + */ + com.google.protobuf.ByteString + getTagsBytes(int index); + + /** + *
+     * The SELECT query which must return zero rows in order for this assertion
+     * to succeed.
+     * 
+ * + * string select_query = 4; + * @return The selectQuery. + */ + java.lang.String getSelectQuery(); + /** + *
+     * The SELECT query which must return zero rows in order for this assertion
+     * to succeed.
+     * 
+ * + * string select_query = 4; + * @return The bytes for selectQuery. + */ + com.google.protobuf.ByteString + getSelectQueryBytes(); + + /** + *
+     * Descriptor for the assertion's automatically-generated view and its
+     * columns.
+     * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6; + * @return Whether the relationDescriptor field is set. + */ + boolean hasRelationDescriptor(); + /** + *
+     * Descriptor for the assertion's automatically-generated view and its
+     * columns.
+     * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6; + * @return The relationDescriptor. + */ + com.google.cloud.dataform.v1beta1.RelationDescriptor getRelationDescriptor(); + /** + *
+     * Descriptor for the assertion's automatically-generated view and its
+     * columns.
+     * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6; + */ + com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder getRelationDescriptorOrBuilder(); + } + /** + *
+   * Represents an assertion upon a SQL query which is required return zero
+   * rows.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.CompilationResultAction.Assertion} + */ + public static final class Assertion extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.CompilationResultAction.Assertion) + AssertionOrBuilder { + private static final long serialVersionUID = 0L; + // Use Assertion.newBuilder() to construct. + private Assertion(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Assertion() { + dependencyTargets_ = java.util.Collections.emptyList(); + tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + selectQuery_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Assertion(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private Assertion( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + dependencyTargets_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + dependencyTargets_.add( + input.readMessage(com.google.cloud.dataform.v1beta1.Target.parser(), extensionRegistry)); + break; + } + case 16: { + + disabled_ = input.readBool(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + tags_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + tags_.add(s); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + selectQuery_ = s; + break; + } + case 42: { + com.google.cloud.dataform.v1beta1.Target.Builder subBuilder = null; + if (parentAction_ != null) { + subBuilder = parentAction_.toBuilder(); + } + parentAction_ = input.readMessage(com.google.cloud.dataform.v1beta1.Target.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(parentAction_); + parentAction_ = subBuilder.buildPartial(); + } + + break; + } + case 50: { + com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder subBuilder = null; + if (relationDescriptor_ != null) { + subBuilder = relationDescriptor_.toBuilder(); + } + relationDescriptor_ = input.readMessage(com.google.cloud.dataform.v1beta1.RelationDescriptor.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(relationDescriptor_); + relationDescriptor_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + dependencyTargets_ = java.util.Collections.unmodifiableList(dependencyTargets_); + } + if (((mutable_bitField0_ & 0x00000002) != 0)) { + tags_ = tags_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Assertion_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Assertion_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.class, com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.Builder.class); + } + + public static final int DEPENDENCY_TARGETS_FIELD_NUMBER = 1; + private java.util.List dependencyTargets_; + /** + *
+     * A list of actions that this action depends on.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + @java.lang.Override + public java.util.List getDependencyTargetsList() { + return dependencyTargets_; + } + /** + *
+     * A list of actions that this action depends on.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + @java.lang.Override + public java.util.List + getDependencyTargetsOrBuilderList() { + return dependencyTargets_; + } + /** + *
+     * A list of actions that this action depends on.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + @java.lang.Override + public int getDependencyTargetsCount() { + return dependencyTargets_.size(); + } + /** + *
+     * A list of actions that this action depends on.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.Target getDependencyTargets(int index) { + return dependencyTargets_.get(index); + } + /** + *
+     * A list of actions that this action depends on.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.TargetOrBuilder getDependencyTargetsOrBuilder( + int index) { + return dependencyTargets_.get(index); + } + + public static final int PARENT_ACTION_FIELD_NUMBER = 5; + private com.google.cloud.dataform.v1beta1.Target parentAction_; + /** + *
+     * The parent action of this assertion. Only set if this assertion was
+     * automatically generated.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Target parent_action = 5; + * @return Whether the parentAction field is set. + */ + @java.lang.Override + public boolean hasParentAction() { + return parentAction_ != null; + } + /** + *
+     * The parent action of this assertion. Only set if this assertion was
+     * automatically generated.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Target parent_action = 5; + * @return The parentAction. + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.Target getParentAction() { + return parentAction_ == null ? com.google.cloud.dataform.v1beta1.Target.getDefaultInstance() : parentAction_; + } + /** + *
+     * The parent action of this assertion. Only set if this assertion was
+     * automatically generated.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Target parent_action = 5; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.TargetOrBuilder getParentActionOrBuilder() { + return getParentAction(); + } + + public static final int DISABLED_FIELD_NUMBER = 2; + private boolean disabled_; + /** + *
+     * Whether this action is disabled (i.e. should not be run).
+     * 
+ * + * bool disabled = 2; + * @return The disabled. + */ + @java.lang.Override + public boolean getDisabled() { + return disabled_; + } + + public static final int TAGS_FIELD_NUMBER = 3; + private com.google.protobuf.LazyStringList tags_; + /** + *
+     * Arbitrary, user-defined tags on this action.
+     * 
+ * + * repeated string tags = 3; + * @return A list containing the tags. + */ + public com.google.protobuf.ProtocolStringList + getTagsList() { + return tags_; + } + /** + *
+     * Arbitrary, user-defined tags on this action.
+     * 
+ * + * repeated string tags = 3; + * @return The count of tags. + */ + public int getTagsCount() { + return tags_.size(); + } + /** + *
+     * Arbitrary, user-defined tags on this action.
+     * 
+ * + * repeated string tags = 3; + * @param index The index of the element to return. + * @return The tags at the given index. + */ + public java.lang.String getTags(int index) { + return tags_.get(index); + } + /** + *
+     * Arbitrary, user-defined tags on this action.
+     * 
+ * + * repeated string tags = 3; + * @param index The index of the value to return. + * @return The bytes of the tags at the given index. + */ + public com.google.protobuf.ByteString + getTagsBytes(int index) { + return tags_.getByteString(index); + } + + public static final int SELECT_QUERY_FIELD_NUMBER = 4; + private volatile java.lang.Object selectQuery_; + /** + *
+     * The SELECT query which must return zero rows in order for this assertion
+     * to succeed.
+     * 
+ * + * string select_query = 4; + * @return The selectQuery. + */ + @java.lang.Override + public java.lang.String getSelectQuery() { + java.lang.Object ref = selectQuery_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + selectQuery_ = s; + return s; + } + } + /** + *
+     * The SELECT query which must return zero rows in order for this assertion
+     * to succeed.
+     * 
+ * + * string select_query = 4; + * @return The bytes for selectQuery. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSelectQueryBytes() { + java.lang.Object ref = selectQuery_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + selectQuery_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RELATION_DESCRIPTOR_FIELD_NUMBER = 6; + private com.google.cloud.dataform.v1beta1.RelationDescriptor relationDescriptor_; + /** + *
+     * Descriptor for the assertion's automatically-generated view and its
+     * columns.
+     * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6; + * @return Whether the relationDescriptor field is set. + */ + @java.lang.Override + public boolean hasRelationDescriptor() { + return relationDescriptor_ != null; + } + /** + *
+     * Descriptor for the assertion's automatically-generated view and its
+     * columns.
+     * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6; + * @return The relationDescriptor. + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.RelationDescriptor getRelationDescriptor() { + return relationDescriptor_ == null ? com.google.cloud.dataform.v1beta1.RelationDescriptor.getDefaultInstance() : relationDescriptor_; + } + /** + *
+     * Descriptor for the assertion's automatically-generated view and its
+     * columns.
+     * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder getRelationDescriptorOrBuilder() { + return getRelationDescriptor(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < dependencyTargets_.size(); i++) { + output.writeMessage(1, dependencyTargets_.get(i)); + } + if (disabled_ != false) { + output.writeBool(2, disabled_); + } + for (int i = 0; i < tags_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, tags_.getRaw(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(selectQuery_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, selectQuery_); + } + if (parentAction_ != null) { + output.writeMessage(5, getParentAction()); + } + if (relationDescriptor_ != null) { + output.writeMessage(6, getRelationDescriptor()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < dependencyTargets_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, dependencyTargets_.get(i)); + } + if (disabled_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, disabled_); + } + { + int dataSize = 0; + for (int i = 0; i < tags_.size(); i++) { + dataSize += computeStringSizeNoTag(tags_.getRaw(i)); + } + size += dataSize; + size += 1 * getTagsList().size(); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(selectQuery_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, selectQuery_); + } + if (parentAction_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getParentAction()); + } + if (relationDescriptor_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getRelationDescriptor()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion other = (com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion) obj; + + if (!getDependencyTargetsList() + .equals(other.getDependencyTargetsList())) return false; + if (hasParentAction() != other.hasParentAction()) return false; + if (hasParentAction()) { + if (!getParentAction() + .equals(other.getParentAction())) return false; + } + if (getDisabled() + != other.getDisabled()) return false; + if (!getTagsList() + .equals(other.getTagsList())) return false; + if (!getSelectQuery() + .equals(other.getSelectQuery())) return false; + if (hasRelationDescriptor() != other.hasRelationDescriptor()) return false; + if (hasRelationDescriptor()) { + if (!getRelationDescriptor() + .equals(other.getRelationDescriptor())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getDependencyTargetsCount() > 0) { + hash = (37 * hash) + DEPENDENCY_TARGETS_FIELD_NUMBER; + hash = (53 * hash) + getDependencyTargetsList().hashCode(); + } + if (hasParentAction()) { + hash = (37 * hash) + PARENT_ACTION_FIELD_NUMBER; + hash = (53 * hash) + getParentAction().hashCode(); + } + hash = (37 * hash) + DISABLED_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDisabled()); + if (getTagsCount() > 0) { + hash = (37 * hash) + TAGS_FIELD_NUMBER; + hash = (53 * hash) + getTagsList().hashCode(); + } + hash = (37 * hash) + SELECT_QUERY_FIELD_NUMBER; + hash = (53 * hash) + getSelectQuery().hashCode(); + if (hasRelationDescriptor()) { + hash = (37 * hash) + RELATION_DESCRIPTOR_FIELD_NUMBER; + hash = (53 * hash) + getRelationDescriptor().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Represents an assertion upon a SQL query which is required return zero
+     * rows.
+     * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.CompilationResultAction.Assertion} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.CompilationResultAction.Assertion) + com.google.cloud.dataform.v1beta1.CompilationResultAction.AssertionOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Assertion_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Assertion_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.class, com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getDependencyTargetsFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (dependencyTargetsBuilder_ == null) { + dependencyTargets_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + dependencyTargetsBuilder_.clear(); + } + if (parentActionBuilder_ == null) { + parentAction_ = null; + } else { + parentAction_ = null; + parentActionBuilder_ = null; + } + disabled_ = false; + + tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + selectQuery_ = ""; + + if (relationDescriptorBuilder_ == null) { + relationDescriptor_ = null; + } else { + relationDescriptor_ = null; + relationDescriptorBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Assertion_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion build() { + com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion buildPartial() { + com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion result = new com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion(this); + int from_bitField0_ = bitField0_; + if (dependencyTargetsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + dependencyTargets_ = java.util.Collections.unmodifiableList(dependencyTargets_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.dependencyTargets_ = dependencyTargets_; + } else { + result.dependencyTargets_ = dependencyTargetsBuilder_.build(); + } + if (parentActionBuilder_ == null) { + result.parentAction_ = parentAction_; + } else { + result.parentAction_ = parentActionBuilder_.build(); + } + result.disabled_ = disabled_; + if (((bitField0_ & 0x00000002) != 0)) { + tags_ = tags_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.tags_ = tags_; + result.selectQuery_ = selectQuery_; + if (relationDescriptorBuilder_ == null) { + result.relationDescriptor_ = relationDescriptor_; + } else { + result.relationDescriptor_ = relationDescriptorBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion) { + return mergeFrom((com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion other) { + if (other == com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.getDefaultInstance()) return this; + if (dependencyTargetsBuilder_ == null) { + if (!other.dependencyTargets_.isEmpty()) { + if (dependencyTargets_.isEmpty()) { + dependencyTargets_ = other.dependencyTargets_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureDependencyTargetsIsMutable(); + dependencyTargets_.addAll(other.dependencyTargets_); + } + onChanged(); + } + } else { + if (!other.dependencyTargets_.isEmpty()) { + if (dependencyTargetsBuilder_.isEmpty()) { + dependencyTargetsBuilder_.dispose(); + dependencyTargetsBuilder_ = null; + dependencyTargets_ = other.dependencyTargets_; + bitField0_ = (bitField0_ & ~0x00000001); + dependencyTargetsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDependencyTargetsFieldBuilder() : null; + } else { + dependencyTargetsBuilder_.addAllMessages(other.dependencyTargets_); + } + } + } + if (other.hasParentAction()) { + mergeParentAction(other.getParentAction()); + } + if (other.getDisabled() != false) { + setDisabled(other.getDisabled()); + } + if (!other.tags_.isEmpty()) { + if (tags_.isEmpty()) { + tags_ = other.tags_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureTagsIsMutable(); + tags_.addAll(other.tags_); + } + onChanged(); + } + if (!other.getSelectQuery().isEmpty()) { + selectQuery_ = other.selectQuery_; + onChanged(); + } + if (other.hasRelationDescriptor()) { + mergeRelationDescriptor(other.getRelationDescriptor()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private java.util.List dependencyTargets_ = + java.util.Collections.emptyList(); + private void ensureDependencyTargetsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + dependencyTargets_ = new java.util.ArrayList(dependencyTargets_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder> dependencyTargetsBuilder_; + + /** + *
+       * A list of actions that this action depends on.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + public java.util.List getDependencyTargetsList() { + if (dependencyTargetsBuilder_ == null) { + return java.util.Collections.unmodifiableList(dependencyTargets_); + } else { + return dependencyTargetsBuilder_.getMessageList(); + } + } + /** + *
+       * A list of actions that this action depends on.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + public int getDependencyTargetsCount() { + if (dependencyTargetsBuilder_ == null) { + return dependencyTargets_.size(); + } else { + return dependencyTargetsBuilder_.getCount(); + } + } + /** + *
+       * A list of actions that this action depends on.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + public com.google.cloud.dataform.v1beta1.Target getDependencyTargets(int index) { + if (dependencyTargetsBuilder_ == null) { + return dependencyTargets_.get(index); + } else { + return dependencyTargetsBuilder_.getMessage(index); + } + } + /** + *
+       * A list of actions that this action depends on.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + public Builder setDependencyTargets( + int index, com.google.cloud.dataform.v1beta1.Target value) { + if (dependencyTargetsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDependencyTargetsIsMutable(); + dependencyTargets_.set(index, value); + onChanged(); + } else { + dependencyTargetsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * A list of actions that this action depends on.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + public Builder setDependencyTargets( + int index, com.google.cloud.dataform.v1beta1.Target.Builder builderForValue) { + if (dependencyTargetsBuilder_ == null) { + ensureDependencyTargetsIsMutable(); + dependencyTargets_.set(index, builderForValue.build()); + onChanged(); + } else { + dependencyTargetsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * A list of actions that this action depends on.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + public Builder addDependencyTargets(com.google.cloud.dataform.v1beta1.Target value) { + if (dependencyTargetsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDependencyTargetsIsMutable(); + dependencyTargets_.add(value); + onChanged(); + } else { + dependencyTargetsBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * A list of actions that this action depends on.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + public Builder addDependencyTargets( + int index, com.google.cloud.dataform.v1beta1.Target value) { + if (dependencyTargetsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDependencyTargetsIsMutable(); + dependencyTargets_.add(index, value); + onChanged(); + } else { + dependencyTargetsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * A list of actions that this action depends on.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + public Builder addDependencyTargets( + com.google.cloud.dataform.v1beta1.Target.Builder builderForValue) { + if (dependencyTargetsBuilder_ == null) { + ensureDependencyTargetsIsMutable(); + dependencyTargets_.add(builderForValue.build()); + onChanged(); + } else { + dependencyTargetsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * A list of actions that this action depends on.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + public Builder addDependencyTargets( + int index, com.google.cloud.dataform.v1beta1.Target.Builder builderForValue) { + if (dependencyTargetsBuilder_ == null) { + ensureDependencyTargetsIsMutable(); + dependencyTargets_.add(index, builderForValue.build()); + onChanged(); + } else { + dependencyTargetsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * A list of actions that this action depends on.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + public Builder addAllDependencyTargets( + java.lang.Iterable values) { + if (dependencyTargetsBuilder_ == null) { + ensureDependencyTargetsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, dependencyTargets_); + onChanged(); + } else { + dependencyTargetsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * A list of actions that this action depends on.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + public Builder clearDependencyTargets() { + if (dependencyTargetsBuilder_ == null) { + dependencyTargets_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + dependencyTargetsBuilder_.clear(); + } + return this; + } + /** + *
+       * A list of actions that this action depends on.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + public Builder removeDependencyTargets(int index) { + if (dependencyTargetsBuilder_ == null) { + ensureDependencyTargetsIsMutable(); + dependencyTargets_.remove(index); + onChanged(); + } else { + dependencyTargetsBuilder_.remove(index); + } + return this; + } + /** + *
+       * A list of actions that this action depends on.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + public com.google.cloud.dataform.v1beta1.Target.Builder getDependencyTargetsBuilder( + int index) { + return getDependencyTargetsFieldBuilder().getBuilder(index); + } + /** + *
+       * A list of actions that this action depends on.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + public com.google.cloud.dataform.v1beta1.TargetOrBuilder getDependencyTargetsOrBuilder( + int index) { + if (dependencyTargetsBuilder_ == null) { + return dependencyTargets_.get(index); } else { + return dependencyTargetsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * A list of actions that this action depends on.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + public java.util.List + getDependencyTargetsOrBuilderList() { + if (dependencyTargetsBuilder_ != null) { + return dependencyTargetsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(dependencyTargets_); + } + } + /** + *
+       * A list of actions that this action depends on.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + public com.google.cloud.dataform.v1beta1.Target.Builder addDependencyTargetsBuilder() { + return getDependencyTargetsFieldBuilder().addBuilder( + com.google.cloud.dataform.v1beta1.Target.getDefaultInstance()); + } + /** + *
+       * A list of actions that this action depends on.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + public com.google.cloud.dataform.v1beta1.Target.Builder addDependencyTargetsBuilder( + int index) { + return getDependencyTargetsFieldBuilder().addBuilder( + index, com.google.cloud.dataform.v1beta1.Target.getDefaultInstance()); + } + /** + *
+       * A list of actions that this action depends on.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; + */ + public java.util.List + getDependencyTargetsBuilderList() { + return getDependencyTargetsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder> + getDependencyTargetsFieldBuilder() { + if (dependencyTargetsBuilder_ == null) { + dependencyTargetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder>( + dependencyTargets_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + dependencyTargets_ = null; + } + return dependencyTargetsBuilder_; + } + + private com.google.cloud.dataform.v1beta1.Target parentAction_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder> parentActionBuilder_; + /** + *
+       * The parent action of this assertion. Only set if this assertion was
+       * automatically generated.
+       * 
+ * + * .google.cloud.dataform.v1beta1.Target parent_action = 5; + * @return Whether the parentAction field is set. + */ + public boolean hasParentAction() { + return parentActionBuilder_ != null || parentAction_ != null; + } + /** + *
+       * The parent action of this assertion. Only set if this assertion was
+       * automatically generated.
+       * 
+ * + * .google.cloud.dataform.v1beta1.Target parent_action = 5; + * @return The parentAction. + */ + public com.google.cloud.dataform.v1beta1.Target getParentAction() { + if (parentActionBuilder_ == null) { + return parentAction_ == null ? com.google.cloud.dataform.v1beta1.Target.getDefaultInstance() : parentAction_; + } else { + return parentActionBuilder_.getMessage(); + } + } + /** + *
+       * The parent action of this assertion. Only set if this assertion was
+       * automatically generated.
+       * 
+ * + * .google.cloud.dataform.v1beta1.Target parent_action = 5; + */ + public Builder setParentAction(com.google.cloud.dataform.v1beta1.Target value) { + if (parentActionBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + parentAction_ = value; + onChanged(); + } else { + parentActionBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * The parent action of this assertion. Only set if this assertion was
+       * automatically generated.
+       * 
+ * + * .google.cloud.dataform.v1beta1.Target parent_action = 5; + */ + public Builder setParentAction( + com.google.cloud.dataform.v1beta1.Target.Builder builderForValue) { + if (parentActionBuilder_ == null) { + parentAction_ = builderForValue.build(); + onChanged(); + } else { + parentActionBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * The parent action of this assertion. Only set if this assertion was
+       * automatically generated.
+       * 
+ * + * .google.cloud.dataform.v1beta1.Target parent_action = 5; + */ + public Builder mergeParentAction(com.google.cloud.dataform.v1beta1.Target value) { + if (parentActionBuilder_ == null) { + if (parentAction_ != null) { + parentAction_ = + com.google.cloud.dataform.v1beta1.Target.newBuilder(parentAction_).mergeFrom(value).buildPartial(); + } else { + parentAction_ = value; + } + onChanged(); + } else { + parentActionBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * The parent action of this assertion. Only set if this assertion was
+       * automatically generated.
+       * 
+ * + * .google.cloud.dataform.v1beta1.Target parent_action = 5; + */ + public Builder clearParentAction() { + if (parentActionBuilder_ == null) { + parentAction_ = null; + onChanged(); + } else { + parentAction_ = null; + parentActionBuilder_ = null; + } + + return this; + } + /** + *
+       * The parent action of this assertion. Only set if this assertion was
+       * automatically generated.
+       * 
+ * + * .google.cloud.dataform.v1beta1.Target parent_action = 5; + */ + public com.google.cloud.dataform.v1beta1.Target.Builder getParentActionBuilder() { + + onChanged(); + return getParentActionFieldBuilder().getBuilder(); + } + /** + *
+       * The parent action of this assertion. Only set if this assertion was
+       * automatically generated.
+       * 
+ * + * .google.cloud.dataform.v1beta1.Target parent_action = 5; + */ + public com.google.cloud.dataform.v1beta1.TargetOrBuilder getParentActionOrBuilder() { + if (parentActionBuilder_ != null) { + return parentActionBuilder_.getMessageOrBuilder(); + } else { + return parentAction_ == null ? + com.google.cloud.dataform.v1beta1.Target.getDefaultInstance() : parentAction_; + } + } + /** + *
+       * The parent action of this assertion. Only set if this assertion was
+       * automatically generated.
+       * 
+ * + * .google.cloud.dataform.v1beta1.Target parent_action = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder> + getParentActionFieldBuilder() { + if (parentActionBuilder_ == null) { + parentActionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder>( + getParentAction(), + getParentForChildren(), + isClean()); + parentAction_ = null; + } + return parentActionBuilder_; + } + + private boolean disabled_ ; + /** + *
+       * Whether this action is disabled (i.e. should not be run).
+       * 
+ * + * bool disabled = 2; + * @return The disabled. + */ + @java.lang.Override + public boolean getDisabled() { + return disabled_; + } + /** + *
+       * Whether this action is disabled (i.e. should not be run).
+       * 
+ * + * bool disabled = 2; + * @param value The disabled to set. + * @return This builder for chaining. + */ + public Builder setDisabled(boolean value) { + + disabled_ = value; + onChanged(); + return this; + } + /** + *
+       * Whether this action is disabled (i.e. should not be run).
+       * 
+ * + * bool disabled = 2; + * @return This builder for chaining. + */ + public Builder clearDisabled() { + + disabled_ = false; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureTagsIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + tags_ = new com.google.protobuf.LazyStringArrayList(tags_); + bitField0_ |= 0x00000002; + } + } + /** + *
+       * Arbitrary, user-defined tags on this action.
+       * 
+ * + * repeated string tags = 3; + * @return A list containing the tags. + */ + public com.google.protobuf.ProtocolStringList + getTagsList() { + return tags_.getUnmodifiableView(); + } + /** + *
+       * Arbitrary, user-defined tags on this action.
+       * 
+ * + * repeated string tags = 3; + * @return The count of tags. + */ + public int getTagsCount() { + return tags_.size(); + } + /** + *
+       * Arbitrary, user-defined tags on this action.
+       * 
+ * + * repeated string tags = 3; + * @param index The index of the element to return. + * @return The tags at the given index. + */ + public java.lang.String getTags(int index) { + return tags_.get(index); + } + /** + *
+       * Arbitrary, user-defined tags on this action.
+       * 
+ * + * repeated string tags = 3; + * @param index The index of the value to return. + * @return The bytes of the tags at the given index. + */ + public com.google.protobuf.ByteString + getTagsBytes(int index) { + return tags_.getByteString(index); + } + /** + *
+       * Arbitrary, user-defined tags on this action.
+       * 
+ * + * repeated string tags = 3; + * @param index The index to set the value at. + * @param value The tags to set. + * @return This builder for chaining. + */ + public Builder setTags( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureTagsIsMutable(); + tags_.set(index, value); + onChanged(); + return this; + } + /** + *
+       * Arbitrary, user-defined tags on this action.
+       * 
+ * + * repeated string tags = 3; + * @param value The tags to add. + * @return This builder for chaining. + */ + public Builder addTags( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureTagsIsMutable(); + tags_.add(value); + onChanged(); + return this; + } + /** + *
+       * Arbitrary, user-defined tags on this action.
+       * 
+ * + * repeated string tags = 3; + * @param values The tags to add. + * @return This builder for chaining. + */ + public Builder addAllTags( + java.lang.Iterable values) { + ensureTagsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tags_); + onChanged(); + return this; + } + /** + *
+       * Arbitrary, user-defined tags on this action.
+       * 
+ * + * repeated string tags = 3; + * @return This builder for chaining. + */ + public Builder clearTags() { + tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+       * Arbitrary, user-defined tags on this action.
+       * 
+ * + * repeated string tags = 3; + * @param value The bytes of the tags to add. + * @return This builder for chaining. + */ + public Builder addTagsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureTagsIsMutable(); + tags_.add(value); + onChanged(); + return this; + } + + private java.lang.Object selectQuery_ = ""; + /** + *
+       * The SELECT query which must return zero rows in order for this assertion
+       * to succeed.
+       * 
+ * + * string select_query = 4; + * @return The selectQuery. + */ + public java.lang.String getSelectQuery() { + java.lang.Object ref = selectQuery_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + selectQuery_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * The SELECT query which must return zero rows in order for this assertion
+       * to succeed.
+       * 
+ * + * string select_query = 4; + * @return The bytes for selectQuery. + */ + public com.google.protobuf.ByteString + getSelectQueryBytes() { + java.lang.Object ref = selectQuery_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + selectQuery_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * The SELECT query which must return zero rows in order for this assertion
+       * to succeed.
+       * 
+ * + * string select_query = 4; + * @param value The selectQuery to set. + * @return This builder for chaining. + */ + public Builder setSelectQuery( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + selectQuery_ = value; + onChanged(); + return this; + } + /** + *
+       * The SELECT query which must return zero rows in order for this assertion
+       * to succeed.
+       * 
+ * + * string select_query = 4; + * @return This builder for chaining. + */ + public Builder clearSelectQuery() { + + selectQuery_ = getDefaultInstance().getSelectQuery(); + onChanged(); + return this; + } + /** + *
+       * The SELECT query which must return zero rows in order for this assertion
+       * to succeed.
+       * 
+ * + * string select_query = 4; + * @param value The bytes for selectQuery to set. + * @return This builder for chaining. + */ + public Builder setSelectQueryBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + selectQuery_ = value; + onChanged(); + return this; + } + + private com.google.cloud.dataform.v1beta1.RelationDescriptor relationDescriptor_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.RelationDescriptor, com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder, com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder> relationDescriptorBuilder_; + /** + *
+       * Descriptor for the assertion's automatically-generated view and its
+       * columns.
+       * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6; + * @return Whether the relationDescriptor field is set. + */ + public boolean hasRelationDescriptor() { + return relationDescriptorBuilder_ != null || relationDescriptor_ != null; + } + /** + *
+       * Descriptor for the assertion's automatically-generated view and its
+       * columns.
+       * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6; + * @return The relationDescriptor. + */ + public com.google.cloud.dataform.v1beta1.RelationDescriptor getRelationDescriptor() { + if (relationDescriptorBuilder_ == null) { + return relationDescriptor_ == null ? com.google.cloud.dataform.v1beta1.RelationDescriptor.getDefaultInstance() : relationDescriptor_; + } else { + return relationDescriptorBuilder_.getMessage(); + } + } + /** + *
+       * Descriptor for the assertion's automatically-generated view and its
+       * columns.
+       * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6; + */ + public Builder setRelationDescriptor(com.google.cloud.dataform.v1beta1.RelationDescriptor value) { + if (relationDescriptorBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + relationDescriptor_ = value; + onChanged(); + } else { + relationDescriptorBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * Descriptor for the assertion's automatically-generated view and its
+       * columns.
+       * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6; + */ + public Builder setRelationDescriptor( + com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder builderForValue) { + if (relationDescriptorBuilder_ == null) { + relationDescriptor_ = builderForValue.build(); + onChanged(); + } else { + relationDescriptorBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * Descriptor for the assertion's automatically-generated view and its
+       * columns.
+       * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6; + */ + public Builder mergeRelationDescriptor(com.google.cloud.dataform.v1beta1.RelationDescriptor value) { + if (relationDescriptorBuilder_ == null) { + if (relationDescriptor_ != null) { + relationDescriptor_ = + com.google.cloud.dataform.v1beta1.RelationDescriptor.newBuilder(relationDescriptor_).mergeFrom(value).buildPartial(); + } else { + relationDescriptor_ = value; + } + onChanged(); + } else { + relationDescriptorBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * Descriptor for the assertion's automatically-generated view and its
+       * columns.
+       * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6; + */ + public Builder clearRelationDescriptor() { + if (relationDescriptorBuilder_ == null) { + relationDescriptor_ = null; + onChanged(); + } else { + relationDescriptor_ = null; + relationDescriptorBuilder_ = null; + } + + return this; + } + /** + *
+       * Descriptor for the assertion's automatically-generated view and its
+       * columns.
+       * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6; + */ + public com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder getRelationDescriptorBuilder() { + + onChanged(); + return getRelationDescriptorFieldBuilder().getBuilder(); + } + /** + *
+       * Descriptor for the assertion's automatically-generated view and its
+       * columns.
+       * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6; + */ + public com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder getRelationDescriptorOrBuilder() { + if (relationDescriptorBuilder_ != null) { + return relationDescriptorBuilder_.getMessageOrBuilder(); + } else { + return relationDescriptor_ == null ? + com.google.cloud.dataform.v1beta1.RelationDescriptor.getDefaultInstance() : relationDescriptor_; + } + } + /** + *
+       * Descriptor for the assertion's automatically-generated view and its
+       * columns.
+       * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.RelationDescriptor, com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder, com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder> + getRelationDescriptorFieldBuilder() { + if (relationDescriptorBuilder_ == null) { + relationDescriptorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.RelationDescriptor, com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder, com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder>( + getRelationDescriptor(), + getParentForChildren(), + isClean()); + relationDescriptor_ = null; + } + return relationDescriptorBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.CompilationResultAction.Assertion) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.CompilationResultAction.Assertion) + private static final com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion(); + } + + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Assertion parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Assertion(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface DeclarationOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.CompilationResultAction.Declaration) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Descriptor for the relation and its columns. Used as documentation only,
+     * i.e. values here will result in no changes to the relation's metadata.
+     * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 1; + * @return Whether the relationDescriptor field is set. + */ + boolean hasRelationDescriptor(); + /** + *
+     * Descriptor for the relation and its columns. Used as documentation only,
+     * i.e. values here will result in no changes to the relation's metadata.
+     * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 1; + * @return The relationDescriptor. + */ + com.google.cloud.dataform.v1beta1.RelationDescriptor getRelationDescriptor(); + /** + *
+     * Descriptor for the relation and its columns. Used as documentation only,
+     * i.e. values here will result in no changes to the relation's metadata.
+     * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 1; + */ + com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder getRelationDescriptorOrBuilder(); + } + /** + *
+   * Represents a relation which is not managed by Dataform but which may be
+   * referenced by Dataform actions.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.CompilationResultAction.Declaration} + */ + public static final class Declaration extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.CompilationResultAction.Declaration) + DeclarationOrBuilder { + private static final long serialVersionUID = 0L; + // Use Declaration.newBuilder() to construct. + private Declaration(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Declaration() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Declaration(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private Declaration( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder subBuilder = null; + if (relationDescriptor_ != null) { + subBuilder = relationDescriptor_.toBuilder(); + } + relationDescriptor_ = input.readMessage(com.google.cloud.dataform.v1beta1.RelationDescriptor.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(relationDescriptor_); + relationDescriptor_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Declaration_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Declaration_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.class, com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.Builder.class); + } + + public static final int RELATION_DESCRIPTOR_FIELD_NUMBER = 1; + private com.google.cloud.dataform.v1beta1.RelationDescriptor relationDescriptor_; + /** + *
+     * Descriptor for the relation and its columns. Used as documentation only,
+     * i.e. values here will result in no changes to the relation's metadata.
+     * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 1; + * @return Whether the relationDescriptor field is set. + */ + @java.lang.Override + public boolean hasRelationDescriptor() { + return relationDescriptor_ != null; + } + /** + *
+     * Descriptor for the relation and its columns. Used as documentation only,
+     * i.e. values here will result in no changes to the relation's metadata.
+     * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 1; + * @return The relationDescriptor. + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.RelationDescriptor getRelationDescriptor() { + return relationDescriptor_ == null ? com.google.cloud.dataform.v1beta1.RelationDescriptor.getDefaultInstance() : relationDescriptor_; + } + /** + *
+     * Descriptor for the relation and its columns. Used as documentation only,
+     * i.e. values here will result in no changes to the relation's metadata.
+     * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 1; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder getRelationDescriptorOrBuilder() { + return getRelationDescriptor(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (relationDescriptor_ != null) { + output.writeMessage(1, getRelationDescriptor()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (relationDescriptor_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getRelationDescriptor()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration other = (com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration) obj; + + if (hasRelationDescriptor() != other.hasRelationDescriptor()) return false; + if (hasRelationDescriptor()) { + if (!getRelationDescriptor() + .equals(other.getRelationDescriptor())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasRelationDescriptor()) { + hash = (37 * hash) + RELATION_DESCRIPTOR_FIELD_NUMBER; + hash = (53 * hash) + getRelationDescriptor().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Represents a relation which is not managed by Dataform but which may be
+     * referenced by Dataform actions.
+     * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.CompilationResultAction.Declaration} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.CompilationResultAction.Declaration) + com.google.cloud.dataform.v1beta1.CompilationResultAction.DeclarationOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Declaration_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Declaration_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.class, com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (relationDescriptorBuilder_ == null) { + relationDescriptor_ = null; + } else { + relationDescriptor_ = null; + relationDescriptorBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Declaration_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration build() { + com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration buildPartial() { + com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration result = new com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration(this); + if (relationDescriptorBuilder_ == null) { + result.relationDescriptor_ = relationDescriptor_; + } else { + result.relationDescriptor_ = relationDescriptorBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration) { + return mergeFrom((com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration other) { + if (other == com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.getDefaultInstance()) return this; + if (other.hasRelationDescriptor()) { + mergeRelationDescriptor(other.getRelationDescriptor()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private com.google.cloud.dataform.v1beta1.RelationDescriptor relationDescriptor_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.RelationDescriptor, com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder, com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder> relationDescriptorBuilder_; + /** + *
+       * Descriptor for the relation and its columns. Used as documentation only,
+       * i.e. values here will result in no changes to the relation's metadata.
+       * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 1; + * @return Whether the relationDescriptor field is set. + */ + public boolean hasRelationDescriptor() { + return relationDescriptorBuilder_ != null || relationDescriptor_ != null; + } + /** + *
+       * Descriptor for the relation and its columns. Used as documentation only,
+       * i.e. values here will result in no changes to the relation's metadata.
+       * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 1; + * @return The relationDescriptor. + */ + public com.google.cloud.dataform.v1beta1.RelationDescriptor getRelationDescriptor() { + if (relationDescriptorBuilder_ == null) { + return relationDescriptor_ == null ? com.google.cloud.dataform.v1beta1.RelationDescriptor.getDefaultInstance() : relationDescriptor_; + } else { + return relationDescriptorBuilder_.getMessage(); + } + } + /** + *
+       * Descriptor for the relation and its columns. Used as documentation only,
+       * i.e. values here will result in no changes to the relation's metadata.
+       * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 1; + */ + public Builder setRelationDescriptor(com.google.cloud.dataform.v1beta1.RelationDescriptor value) { + if (relationDescriptorBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + relationDescriptor_ = value; + onChanged(); + } else { + relationDescriptorBuilder_.setMessage(value); + } + + return this; + } + /** + *
+       * Descriptor for the relation and its columns. Used as documentation only,
+       * i.e. values here will result in no changes to the relation's metadata.
+       * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 1; + */ + public Builder setRelationDescriptor( + com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder builderForValue) { + if (relationDescriptorBuilder_ == null) { + relationDescriptor_ = builderForValue.build(); + onChanged(); + } else { + relationDescriptorBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+       * Descriptor for the relation and its columns. Used as documentation only,
+       * i.e. values here will result in no changes to the relation's metadata.
+       * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 1; + */ + public Builder mergeRelationDescriptor(com.google.cloud.dataform.v1beta1.RelationDescriptor value) { + if (relationDescriptorBuilder_ == null) { + if (relationDescriptor_ != null) { + relationDescriptor_ = + com.google.cloud.dataform.v1beta1.RelationDescriptor.newBuilder(relationDescriptor_).mergeFrom(value).buildPartial(); + } else { + relationDescriptor_ = value; + } + onChanged(); + } else { + relationDescriptorBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+       * Descriptor for the relation and its columns. Used as documentation only,
+       * i.e. values here will result in no changes to the relation's metadata.
+       * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 1; + */ + public Builder clearRelationDescriptor() { + if (relationDescriptorBuilder_ == null) { + relationDescriptor_ = null; + onChanged(); + } else { + relationDescriptor_ = null; + relationDescriptorBuilder_ = null; + } + + return this; + } + /** + *
+       * Descriptor for the relation and its columns. Used as documentation only,
+       * i.e. values here will result in no changes to the relation's metadata.
+       * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 1; + */ + public com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder getRelationDescriptorBuilder() { + + onChanged(); + return getRelationDescriptorFieldBuilder().getBuilder(); + } + /** + *
+       * Descriptor for the relation and its columns. Used as documentation only,
+       * i.e. values here will result in no changes to the relation's metadata.
+       * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 1; + */ + public com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder getRelationDescriptorOrBuilder() { + if (relationDescriptorBuilder_ != null) { + return relationDescriptorBuilder_.getMessageOrBuilder(); + } else { + return relationDescriptor_ == null ? + com.google.cloud.dataform.v1beta1.RelationDescriptor.getDefaultInstance() : relationDescriptor_; + } + } + /** + *
+       * Descriptor for the relation and its columns. Used as documentation only,
+       * i.e. values here will result in no changes to the relation's metadata.
+       * 
+ * + * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.RelationDescriptor, com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder, com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder> + getRelationDescriptorFieldBuilder() { + if (relationDescriptorBuilder_ == null) { + relationDescriptorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.RelationDescriptor, com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder, com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder>( + getRelationDescriptor(), + getParentForChildren(), + isClean()); + relationDescriptor_ = null; + } + return relationDescriptorBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.CompilationResultAction.Declaration) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.CompilationResultAction.Declaration) + private static final com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration(); + } + + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Declaration parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Declaration(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private int compiledObjectCase_ = 0; + private java.lang.Object compiledObject_; + public enum CompiledObjectCase + implements com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + RELATION(4), + OPERATIONS(5), + ASSERTION(6), + DECLARATION(7), + COMPILEDOBJECT_NOT_SET(0); + private final int value; + private CompiledObjectCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static CompiledObjectCase valueOf(int value) { + return forNumber(value); + } + + public static CompiledObjectCase forNumber(int value) { + switch (value) { + case 4: return RELATION; + case 5: return OPERATIONS; + case 6: return ASSERTION; + case 7: return DECLARATION; + case 0: return COMPILEDOBJECT_NOT_SET; + default: return null; + } + } + public int getNumber() { + return this.value; + } + }; + + public CompiledObjectCase + getCompiledObjectCase() { + return CompiledObjectCase.forNumber( + compiledObjectCase_); + } + + public static final int TARGET_FIELD_NUMBER = 1; + private com.google.cloud.dataform.v1beta1.Target target_; + /** + *
+   * This action's identifier. Unique within the compilation result.
+   * 
+ * + * .google.cloud.dataform.v1beta1.Target target = 1; + * @return Whether the target field is set. + */ + @java.lang.Override + public boolean hasTarget() { + return target_ != null; + } + /** + *
+   * This action's identifier. Unique within the compilation result.
+   * 
+ * + * .google.cloud.dataform.v1beta1.Target target = 1; + * @return The target. + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.Target getTarget() { + return target_ == null ? com.google.cloud.dataform.v1beta1.Target.getDefaultInstance() : target_; + } + /** + *
+   * This action's identifier. Unique within the compilation result.
+   * 
+ * + * .google.cloud.dataform.v1beta1.Target target = 1; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.TargetOrBuilder getTargetOrBuilder() { + return getTarget(); + } + + public static final int CANONICAL_TARGET_FIELD_NUMBER = 2; + private com.google.cloud.dataform.v1beta1.Target canonicalTarget_; + /** + *
+   * The action's identifier if the project had been compiled without any
+   * overrides configured. Unique within the compilation result.
+   * 
+ * + * .google.cloud.dataform.v1beta1.Target canonical_target = 2; + * @return Whether the canonicalTarget field is set. + */ + @java.lang.Override + public boolean hasCanonicalTarget() { + return canonicalTarget_ != null; + } + /** + *
+   * The action's identifier if the project had been compiled without any
+   * overrides configured. Unique within the compilation result.
+   * 
+ * + * .google.cloud.dataform.v1beta1.Target canonical_target = 2; + * @return The canonicalTarget. + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.Target getCanonicalTarget() { + return canonicalTarget_ == null ? com.google.cloud.dataform.v1beta1.Target.getDefaultInstance() : canonicalTarget_; + } + /** + *
+   * The action's identifier if the project had been compiled without any
+   * overrides configured. Unique within the compilation result.
+   * 
+ * + * .google.cloud.dataform.v1beta1.Target canonical_target = 2; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.TargetOrBuilder getCanonicalTargetOrBuilder() { + return getCanonicalTarget(); + } + + public static final int FILE_PATH_FIELD_NUMBER = 3; + private volatile java.lang.Object filePath_; + /** + *
+   * The full path including filename in which this action is located, relative
+   * to the workspace root.
+   * 
+ * + * string file_path = 3; + * @return The filePath. + */ + @java.lang.Override + public java.lang.String getFilePath() { + java.lang.Object ref = filePath_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + filePath_ = s; + return s; + } + } + /** + *
+   * The full path including filename in which this action is located, relative
+   * to the workspace root.
+   * 
+ * + * string file_path = 3; + * @return The bytes for filePath. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getFilePathBytes() { + java.lang.Object ref = filePath_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + filePath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RELATION_FIELD_NUMBER = 4; + /** + *
+   * The database relation created/updated by this action.
+   * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation relation = 4; + * @return Whether the relation field is set. + */ + @java.lang.Override + public boolean hasRelation() { + return compiledObjectCase_ == 4; + } + /** + *
+   * The database relation created/updated by this action.
+   * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation relation = 4; + * @return The relation. + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation getRelation() { + if (compiledObjectCase_ == 4) { + return (com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation) compiledObject_; + } + return com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.getDefaultInstance(); + } + /** + *
+   * The database relation created/updated by this action.
+   * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation relation = 4; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResultAction.RelationOrBuilder getRelationOrBuilder() { + if (compiledObjectCase_ == 4) { + return (com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation) compiledObject_; + } + return com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.getDefaultInstance(); + } + + public static final int OPERATIONS_FIELD_NUMBER = 5; + /** + *
+   * The database operations executed by this action.
+   * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Operations operations = 5; + * @return Whether the operations field is set. + */ + @java.lang.Override + public boolean hasOperations() { + return compiledObjectCase_ == 5; + } + /** + *
+   * The database operations executed by this action.
+   * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Operations operations = 5; + * @return The operations. + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations getOperations() { + if (compiledObjectCase_ == 5) { + return (com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations) compiledObject_; + } + return com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.getDefaultInstance(); + } + /** + *
+   * The database operations executed by this action.
+   * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Operations operations = 5; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResultAction.OperationsOrBuilder getOperationsOrBuilder() { + if (compiledObjectCase_ == 5) { + return (com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations) compiledObject_; + } + return com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.getDefaultInstance(); + } + + public static final int ASSERTION_FIELD_NUMBER = 6; + /** + *
+   * The assertion executed by this action.
+   * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Assertion assertion = 6; + * @return Whether the assertion field is set. + */ + @java.lang.Override + public boolean hasAssertion() { + return compiledObjectCase_ == 6; + } + /** + *
+   * The assertion executed by this action.
+   * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Assertion assertion = 6; + * @return The assertion. + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion getAssertion() { + if (compiledObjectCase_ == 6) { + return (com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion) compiledObject_; + } + return com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.getDefaultInstance(); + } + /** + *
+   * The assertion executed by this action.
+   * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Assertion assertion = 6; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResultAction.AssertionOrBuilder getAssertionOrBuilder() { + if (compiledObjectCase_ == 6) { + return (com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion) compiledObject_; + } + return com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.getDefaultInstance(); + } + + public static final int DECLARATION_FIELD_NUMBER = 7; + /** + *
+   * The declaration declared by this action.
+   * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7; + * @return Whether the declaration field is set. + */ + @java.lang.Override + public boolean hasDeclaration() { + return compiledObjectCase_ == 7; + } + /** + *
+   * The declaration declared by this action.
+   * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7; + * @return The declaration. + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration getDeclaration() { + if (compiledObjectCase_ == 7) { + return (com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration) compiledObject_; + } + return com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.getDefaultInstance(); + } + /** + *
+   * The declaration declared by this action.
+   * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResultAction.DeclarationOrBuilder getDeclarationOrBuilder() { + if (compiledObjectCase_ == 7) { + return (com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration) compiledObject_; + } + return com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.getDefaultInstance(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (target_ != null) { + output.writeMessage(1, getTarget()); + } + if (canonicalTarget_ != null) { + output.writeMessage(2, getCanonicalTarget()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filePath_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, filePath_); + } + if (compiledObjectCase_ == 4) { + output.writeMessage(4, (com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation) compiledObject_); + } + if (compiledObjectCase_ == 5) { + output.writeMessage(5, (com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations) compiledObject_); + } + if (compiledObjectCase_ == 6) { + output.writeMessage(6, (com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion) compiledObject_); + } + if (compiledObjectCase_ == 7) { + output.writeMessage(7, (com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration) compiledObject_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (target_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getTarget()); + } + if (canonicalTarget_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCanonicalTarget()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filePath_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, filePath_); + } + if (compiledObjectCase_ == 4) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation) compiledObject_); + } + if (compiledObjectCase_ == 5) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations) compiledObject_); + } + if (compiledObjectCase_ == 6) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, (com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion) compiledObject_); + } + if (compiledObjectCase_ == 7) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, (com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration) compiledObject_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.CompilationResultAction)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.CompilationResultAction other = (com.google.cloud.dataform.v1beta1.CompilationResultAction) obj; + + if (hasTarget() != other.hasTarget()) return false; + if (hasTarget()) { + if (!getTarget() + .equals(other.getTarget())) return false; + } + if (hasCanonicalTarget() != other.hasCanonicalTarget()) return false; + if (hasCanonicalTarget()) { + if (!getCanonicalTarget() + .equals(other.getCanonicalTarget())) return false; + } + if (!getFilePath() + .equals(other.getFilePath())) return false; + if (!getCompiledObjectCase().equals(other.getCompiledObjectCase())) return false; + switch (compiledObjectCase_) { + case 4: + if (!getRelation() + .equals(other.getRelation())) return false; + break; + case 5: + if (!getOperations() + .equals(other.getOperations())) return false; + break; + case 6: + if (!getAssertion() + .equals(other.getAssertion())) return false; + break; + case 7: + if (!getDeclaration() + .equals(other.getDeclaration())) return false; + break; + case 0: + default: + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasTarget()) { + hash = (37 * hash) + TARGET_FIELD_NUMBER; + hash = (53 * hash) + getTarget().hashCode(); + } + if (hasCanonicalTarget()) { + hash = (37 * hash) + CANONICAL_TARGET_FIELD_NUMBER; + hash = (53 * hash) + getCanonicalTarget().hashCode(); + } + hash = (37 * hash) + FILE_PATH_FIELD_NUMBER; + hash = (53 * hash) + getFilePath().hashCode(); + switch (compiledObjectCase_) { + case 4: + hash = (37 * hash) + RELATION_FIELD_NUMBER; + hash = (53 * hash) + getRelation().hashCode(); + break; + case 5: + hash = (37 * hash) + OPERATIONS_FIELD_NUMBER; + hash = (53 * hash) + getOperations().hashCode(); + break; + case 6: + hash = (37 * hash) + ASSERTION_FIELD_NUMBER; + hash = (53 * hash) + getAssertion().hashCode(); + break; + case 7: + hash = (37 * hash) + DECLARATION_FIELD_NUMBER; + hash = (53 * hash) + getDeclaration().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.CompilationResultAction parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.CompilationResultAction prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * Represents a single Dataform action in a compilation result.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.CompilationResultAction} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.CompilationResultAction) + com.google.cloud.dataform.v1beta1.CompilationResultActionOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.CompilationResultAction.class, com.google.cloud.dataform.v1beta1.CompilationResultAction.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.CompilationResultAction.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (targetBuilder_ == null) { + target_ = null; + } else { + target_ = null; + targetBuilder_ = null; + } + if (canonicalTargetBuilder_ == null) { + canonicalTarget_ = null; + } else { + canonicalTarget_ = null; + canonicalTargetBuilder_ = null; + } + filePath_ = ""; + + compiledObjectCase_ = 0; + compiledObject_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResultAction getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.CompilationResultAction.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResultAction build() { + com.google.cloud.dataform.v1beta1.CompilationResultAction result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResultAction buildPartial() { + com.google.cloud.dataform.v1beta1.CompilationResultAction result = new com.google.cloud.dataform.v1beta1.CompilationResultAction(this); + if (targetBuilder_ == null) { + result.target_ = target_; + } else { + result.target_ = targetBuilder_.build(); + } + if (canonicalTargetBuilder_ == null) { + result.canonicalTarget_ = canonicalTarget_; + } else { + result.canonicalTarget_ = canonicalTargetBuilder_.build(); + } + result.filePath_ = filePath_; + if (compiledObjectCase_ == 4) { + if (relationBuilder_ == null) { + result.compiledObject_ = compiledObject_; + } else { + result.compiledObject_ = relationBuilder_.build(); + } + } + if (compiledObjectCase_ == 5) { + if (operationsBuilder_ == null) { + result.compiledObject_ = compiledObject_; + } else { + result.compiledObject_ = operationsBuilder_.build(); + } + } + if (compiledObjectCase_ == 6) { + if (assertionBuilder_ == null) { + result.compiledObject_ = compiledObject_; + } else { + result.compiledObject_ = assertionBuilder_.build(); + } + } + if (compiledObjectCase_ == 7) { + if (declarationBuilder_ == null) { + result.compiledObject_ = compiledObject_; + } else { + result.compiledObject_ = declarationBuilder_.build(); + } + } + result.compiledObjectCase_ = compiledObjectCase_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.CompilationResultAction) { + return mergeFrom((com.google.cloud.dataform.v1beta1.CompilationResultAction)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.CompilationResultAction other) { + if (other == com.google.cloud.dataform.v1beta1.CompilationResultAction.getDefaultInstance()) return this; + if (other.hasTarget()) { + mergeTarget(other.getTarget()); + } + if (other.hasCanonicalTarget()) { + mergeCanonicalTarget(other.getCanonicalTarget()); + } + if (!other.getFilePath().isEmpty()) { + filePath_ = other.filePath_; + onChanged(); + } + switch (other.getCompiledObjectCase()) { + case RELATION: { + mergeRelation(other.getRelation()); + break; + } + case OPERATIONS: { + mergeOperations(other.getOperations()); + break; + } + case ASSERTION: { + mergeAssertion(other.getAssertion()); + break; + } + case DECLARATION: { + mergeDeclaration(other.getDeclaration()); + break; + } + case COMPILEDOBJECT_NOT_SET: { + break; + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.CompilationResultAction parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.CompilationResultAction) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int compiledObjectCase_ = 0; + private java.lang.Object compiledObject_; + public CompiledObjectCase + getCompiledObjectCase() { + return CompiledObjectCase.forNumber( + compiledObjectCase_); + } + + public Builder clearCompiledObject() { + compiledObjectCase_ = 0; + compiledObject_ = null; + onChanged(); + return this; + } + + + private com.google.cloud.dataform.v1beta1.Target target_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder> targetBuilder_; + /** + *
+     * This action's identifier. Unique within the compilation result.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Target target = 1; + * @return Whether the target field is set. + */ + public boolean hasTarget() { + return targetBuilder_ != null || target_ != null; + } + /** + *
+     * This action's identifier. Unique within the compilation result.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Target target = 1; + * @return The target. + */ + public com.google.cloud.dataform.v1beta1.Target getTarget() { + if (targetBuilder_ == null) { + return target_ == null ? com.google.cloud.dataform.v1beta1.Target.getDefaultInstance() : target_; + } else { + return targetBuilder_.getMessage(); + } + } + /** + *
+     * This action's identifier. Unique within the compilation result.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Target target = 1; + */ + public Builder setTarget(com.google.cloud.dataform.v1beta1.Target value) { + if (targetBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + target_ = value; + onChanged(); + } else { + targetBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * This action's identifier. Unique within the compilation result.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Target target = 1; + */ + public Builder setTarget( + com.google.cloud.dataform.v1beta1.Target.Builder builderForValue) { + if (targetBuilder_ == null) { + target_ = builderForValue.build(); + onChanged(); + } else { + targetBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * This action's identifier. Unique within the compilation result.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Target target = 1; + */ + public Builder mergeTarget(com.google.cloud.dataform.v1beta1.Target value) { + if (targetBuilder_ == null) { + if (target_ != null) { + target_ = + com.google.cloud.dataform.v1beta1.Target.newBuilder(target_).mergeFrom(value).buildPartial(); + } else { + target_ = value; + } + onChanged(); + } else { + targetBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * This action's identifier. Unique within the compilation result.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Target target = 1; + */ + public Builder clearTarget() { + if (targetBuilder_ == null) { + target_ = null; + onChanged(); + } else { + target_ = null; + targetBuilder_ = null; + } + + return this; + } + /** + *
+     * This action's identifier. Unique within the compilation result.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Target target = 1; + */ + public com.google.cloud.dataform.v1beta1.Target.Builder getTargetBuilder() { + + onChanged(); + return getTargetFieldBuilder().getBuilder(); + } + /** + *
+     * This action's identifier. Unique within the compilation result.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Target target = 1; + */ + public com.google.cloud.dataform.v1beta1.TargetOrBuilder getTargetOrBuilder() { + if (targetBuilder_ != null) { + return targetBuilder_.getMessageOrBuilder(); + } else { + return target_ == null ? + com.google.cloud.dataform.v1beta1.Target.getDefaultInstance() : target_; + } + } + /** + *
+     * This action's identifier. Unique within the compilation result.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Target target = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder> + getTargetFieldBuilder() { + if (targetBuilder_ == null) { + targetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder>( + getTarget(), + getParentForChildren(), + isClean()); + target_ = null; + } + return targetBuilder_; + } + + private com.google.cloud.dataform.v1beta1.Target canonicalTarget_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder> canonicalTargetBuilder_; + /** + *
+     * The action's identifier if the project had been compiled without any
+     * overrides configured. Unique within the compilation result.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Target canonical_target = 2; + * @return Whether the canonicalTarget field is set. + */ + public boolean hasCanonicalTarget() { + return canonicalTargetBuilder_ != null || canonicalTarget_ != null; + } + /** + *
+     * The action's identifier if the project had been compiled without any
+     * overrides configured. Unique within the compilation result.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Target canonical_target = 2; + * @return The canonicalTarget. + */ + public com.google.cloud.dataform.v1beta1.Target getCanonicalTarget() { + if (canonicalTargetBuilder_ == null) { + return canonicalTarget_ == null ? com.google.cloud.dataform.v1beta1.Target.getDefaultInstance() : canonicalTarget_; + } else { + return canonicalTargetBuilder_.getMessage(); + } + } + /** + *
+     * The action's identifier if the project had been compiled without any
+     * overrides configured. Unique within the compilation result.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Target canonical_target = 2; + */ + public Builder setCanonicalTarget(com.google.cloud.dataform.v1beta1.Target value) { + if (canonicalTargetBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + canonicalTarget_ = value; + onChanged(); + } else { + canonicalTargetBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * The action's identifier if the project had been compiled without any
+     * overrides configured. Unique within the compilation result.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Target canonical_target = 2; + */ + public Builder setCanonicalTarget( + com.google.cloud.dataform.v1beta1.Target.Builder builderForValue) { + if (canonicalTargetBuilder_ == null) { + canonicalTarget_ = builderForValue.build(); + onChanged(); + } else { + canonicalTargetBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * The action's identifier if the project had been compiled without any
+     * overrides configured. Unique within the compilation result.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Target canonical_target = 2; + */ + public Builder mergeCanonicalTarget(com.google.cloud.dataform.v1beta1.Target value) { + if (canonicalTargetBuilder_ == null) { + if (canonicalTarget_ != null) { + canonicalTarget_ = + com.google.cloud.dataform.v1beta1.Target.newBuilder(canonicalTarget_).mergeFrom(value).buildPartial(); + } else { + canonicalTarget_ = value; + } + onChanged(); + } else { + canonicalTargetBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * The action's identifier if the project had been compiled without any
+     * overrides configured. Unique within the compilation result.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Target canonical_target = 2; + */ + public Builder clearCanonicalTarget() { + if (canonicalTargetBuilder_ == null) { + canonicalTarget_ = null; + onChanged(); + } else { + canonicalTarget_ = null; + canonicalTargetBuilder_ = null; + } + + return this; + } + /** + *
+     * The action's identifier if the project had been compiled without any
+     * overrides configured. Unique within the compilation result.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Target canonical_target = 2; + */ + public com.google.cloud.dataform.v1beta1.Target.Builder getCanonicalTargetBuilder() { + + onChanged(); + return getCanonicalTargetFieldBuilder().getBuilder(); + } + /** + *
+     * The action's identifier if the project had been compiled without any
+     * overrides configured. Unique within the compilation result.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Target canonical_target = 2; + */ + public com.google.cloud.dataform.v1beta1.TargetOrBuilder getCanonicalTargetOrBuilder() { + if (canonicalTargetBuilder_ != null) { + return canonicalTargetBuilder_.getMessageOrBuilder(); + } else { + return canonicalTarget_ == null ? + com.google.cloud.dataform.v1beta1.Target.getDefaultInstance() : canonicalTarget_; + } + } + /** + *
+     * The action's identifier if the project had been compiled without any
+     * overrides configured. Unique within the compilation result.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Target canonical_target = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder> + getCanonicalTargetFieldBuilder() { + if (canonicalTargetBuilder_ == null) { + canonicalTargetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder>( + getCanonicalTarget(), + getParentForChildren(), + isClean()); + canonicalTarget_ = null; + } + return canonicalTargetBuilder_; + } + + private java.lang.Object filePath_ = ""; + /** + *
+     * The full path including filename in which this action is located, relative
+     * to the workspace root.
+     * 
+ * + * string file_path = 3; + * @return The filePath. + */ + public java.lang.String getFilePath() { + java.lang.Object ref = filePath_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + filePath_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * The full path including filename in which this action is located, relative
+     * to the workspace root.
+     * 
+ * + * string file_path = 3; + * @return The bytes for filePath. + */ + public com.google.protobuf.ByteString + getFilePathBytes() { + java.lang.Object ref = filePath_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + filePath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * The full path including filename in which this action is located, relative
+     * to the workspace root.
+     * 
+ * + * string file_path = 3; + * @param value The filePath to set. + * @return This builder for chaining. + */ + public Builder setFilePath( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + filePath_ = value; + onChanged(); + return this; + } + /** + *
+     * The full path including filename in which this action is located, relative
+     * to the workspace root.
+     * 
+ * + * string file_path = 3; + * @return This builder for chaining. + */ + public Builder clearFilePath() { + + filePath_ = getDefaultInstance().getFilePath(); + onChanged(); + return this; + } + /** + *
+     * The full path including filename in which this action is located, relative
+     * to the workspace root.
+     * 
+ * + * string file_path = 3; + * @param value The bytes for filePath to set. + * @return This builder for chaining. + */ + public Builder setFilePathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + filePath_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation, com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.Builder, com.google.cloud.dataform.v1beta1.CompilationResultAction.RelationOrBuilder> relationBuilder_; + /** + *
+     * The database relation created/updated by this action.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation relation = 4; + * @return Whether the relation field is set. + */ + @java.lang.Override + public boolean hasRelation() { + return compiledObjectCase_ == 4; + } + /** + *
+     * The database relation created/updated by this action.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation relation = 4; + * @return The relation. + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation getRelation() { + if (relationBuilder_ == null) { + if (compiledObjectCase_ == 4) { + return (com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation) compiledObject_; + } + return com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.getDefaultInstance(); + } else { + if (compiledObjectCase_ == 4) { + return relationBuilder_.getMessage(); + } + return com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.getDefaultInstance(); + } + } + /** + *
+     * The database relation created/updated by this action.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation relation = 4; + */ + public Builder setRelation(com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation value) { + if (relationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + compiledObject_ = value; + onChanged(); + } else { + relationBuilder_.setMessage(value); + } + compiledObjectCase_ = 4; + return this; + } + /** + *
+     * The database relation created/updated by this action.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation relation = 4; + */ + public Builder setRelation( + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.Builder builderForValue) { + if (relationBuilder_ == null) { + compiledObject_ = builderForValue.build(); + onChanged(); + } else { + relationBuilder_.setMessage(builderForValue.build()); + } + compiledObjectCase_ = 4; + return this; + } + /** + *
+     * The database relation created/updated by this action.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation relation = 4; + */ + public Builder mergeRelation(com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation value) { + if (relationBuilder_ == null) { + if (compiledObjectCase_ == 4 && + compiledObject_ != com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.getDefaultInstance()) { + compiledObject_ = com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.newBuilder((com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation) compiledObject_) + .mergeFrom(value).buildPartial(); + } else { + compiledObject_ = value; + } + onChanged(); + } else { + if (compiledObjectCase_ == 4) { + relationBuilder_.mergeFrom(value); + } else { + relationBuilder_.setMessage(value); + } + } + compiledObjectCase_ = 4; + return this; + } + /** + *
+     * The database relation created/updated by this action.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation relation = 4; + */ + public Builder clearRelation() { + if (relationBuilder_ == null) { + if (compiledObjectCase_ == 4) { + compiledObjectCase_ = 0; + compiledObject_ = null; + onChanged(); + } + } else { + if (compiledObjectCase_ == 4) { + compiledObjectCase_ = 0; + compiledObject_ = null; + } + relationBuilder_.clear(); + } + return this; + } + /** + *
+     * The database relation created/updated by this action.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation relation = 4; + */ + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.Builder getRelationBuilder() { + return getRelationFieldBuilder().getBuilder(); + } + /** + *
+     * The database relation created/updated by this action.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation relation = 4; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResultAction.RelationOrBuilder getRelationOrBuilder() { + if ((compiledObjectCase_ == 4) && (relationBuilder_ != null)) { + return relationBuilder_.getMessageOrBuilder(); + } else { + if (compiledObjectCase_ == 4) { + return (com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation) compiledObject_; + } + return com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.getDefaultInstance(); + } + } + /** + *
+     * The database relation created/updated by this action.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation relation = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation, com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.Builder, com.google.cloud.dataform.v1beta1.CompilationResultAction.RelationOrBuilder> + getRelationFieldBuilder() { + if (relationBuilder_ == null) { + if (!(compiledObjectCase_ == 4)) { + compiledObject_ = com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.getDefaultInstance(); + } + relationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation, com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.Builder, com.google.cloud.dataform.v1beta1.CompilationResultAction.RelationOrBuilder>( + (com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation) compiledObject_, + getParentForChildren(), + isClean()); + compiledObject_ = null; + } + compiledObjectCase_ = 4; + onChanged();; + return relationBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations, com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.Builder, com.google.cloud.dataform.v1beta1.CompilationResultAction.OperationsOrBuilder> operationsBuilder_; + /** + *
+     * The database operations executed by this action.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Operations operations = 5; + * @return Whether the operations field is set. + */ + @java.lang.Override + public boolean hasOperations() { + return compiledObjectCase_ == 5; + } + /** + *
+     * The database operations executed by this action.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Operations operations = 5; + * @return The operations. + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations getOperations() { + if (operationsBuilder_ == null) { + if (compiledObjectCase_ == 5) { + return (com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations) compiledObject_; + } + return com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.getDefaultInstance(); + } else { + if (compiledObjectCase_ == 5) { + return operationsBuilder_.getMessage(); + } + return com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.getDefaultInstance(); + } + } + /** + *
+     * The database operations executed by this action.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Operations operations = 5; + */ + public Builder setOperations(com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations value) { + if (operationsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + compiledObject_ = value; + onChanged(); + } else { + operationsBuilder_.setMessage(value); + } + compiledObjectCase_ = 5; + return this; + } + /** + *
+     * The database operations executed by this action.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Operations operations = 5; + */ + public Builder setOperations( + com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.Builder builderForValue) { + if (operationsBuilder_ == null) { + compiledObject_ = builderForValue.build(); + onChanged(); + } else { + operationsBuilder_.setMessage(builderForValue.build()); + } + compiledObjectCase_ = 5; + return this; + } + /** + *
+     * The database operations executed by this action.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Operations operations = 5; + */ + public Builder mergeOperations(com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations value) { + if (operationsBuilder_ == null) { + if (compiledObjectCase_ == 5 && + compiledObject_ != com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.getDefaultInstance()) { + compiledObject_ = com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.newBuilder((com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations) compiledObject_) + .mergeFrom(value).buildPartial(); + } else { + compiledObject_ = value; + } + onChanged(); + } else { + if (compiledObjectCase_ == 5) { + operationsBuilder_.mergeFrom(value); + } else { + operationsBuilder_.setMessage(value); + } + } + compiledObjectCase_ = 5; + return this; + } + /** + *
+     * The database operations executed by this action.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Operations operations = 5; + */ + public Builder clearOperations() { + if (operationsBuilder_ == null) { + if (compiledObjectCase_ == 5) { + compiledObjectCase_ = 0; + compiledObject_ = null; + onChanged(); + } + } else { + if (compiledObjectCase_ == 5) { + compiledObjectCase_ = 0; + compiledObject_ = null; + } + operationsBuilder_.clear(); + } + return this; + } + /** + *
+     * The database operations executed by this action.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Operations operations = 5; + */ + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.Builder getOperationsBuilder() { + return getOperationsFieldBuilder().getBuilder(); + } + /** + *
+     * The database operations executed by this action.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Operations operations = 5; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResultAction.OperationsOrBuilder getOperationsOrBuilder() { + if ((compiledObjectCase_ == 5) && (operationsBuilder_ != null)) { + return operationsBuilder_.getMessageOrBuilder(); + } else { + if (compiledObjectCase_ == 5) { + return (com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations) compiledObject_; + } + return com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.getDefaultInstance(); + } + } + /** + *
+     * The database operations executed by this action.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Operations operations = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations, com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.Builder, com.google.cloud.dataform.v1beta1.CompilationResultAction.OperationsOrBuilder> + getOperationsFieldBuilder() { + if (operationsBuilder_ == null) { + if (!(compiledObjectCase_ == 5)) { + compiledObject_ = com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.getDefaultInstance(); + } + operationsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations, com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.Builder, com.google.cloud.dataform.v1beta1.CompilationResultAction.OperationsOrBuilder>( + (com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations) compiledObject_, + getParentForChildren(), + isClean()); + compiledObject_ = null; + } + compiledObjectCase_ = 5; + onChanged();; + return operationsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion, com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.Builder, com.google.cloud.dataform.v1beta1.CompilationResultAction.AssertionOrBuilder> assertionBuilder_; + /** + *
+     * The assertion executed by this action.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Assertion assertion = 6; + * @return Whether the assertion field is set. + */ + @java.lang.Override + public boolean hasAssertion() { + return compiledObjectCase_ == 6; + } + /** + *
+     * The assertion executed by this action.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Assertion assertion = 6; + * @return The assertion. + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion getAssertion() { + if (assertionBuilder_ == null) { + if (compiledObjectCase_ == 6) { + return (com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion) compiledObject_; + } + return com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.getDefaultInstance(); + } else { + if (compiledObjectCase_ == 6) { + return assertionBuilder_.getMessage(); + } + return com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.getDefaultInstance(); + } + } + /** + *
+     * The assertion executed by this action.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Assertion assertion = 6; + */ + public Builder setAssertion(com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion value) { + if (assertionBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + compiledObject_ = value; + onChanged(); + } else { + assertionBuilder_.setMessage(value); + } + compiledObjectCase_ = 6; + return this; + } + /** + *
+     * The assertion executed by this action.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Assertion assertion = 6; + */ + public Builder setAssertion( + com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.Builder builderForValue) { + if (assertionBuilder_ == null) { + compiledObject_ = builderForValue.build(); + onChanged(); + } else { + assertionBuilder_.setMessage(builderForValue.build()); + } + compiledObjectCase_ = 6; + return this; + } + /** + *
+     * The assertion executed by this action.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Assertion assertion = 6; + */ + public Builder mergeAssertion(com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion value) { + if (assertionBuilder_ == null) { + if (compiledObjectCase_ == 6 && + compiledObject_ != com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.getDefaultInstance()) { + compiledObject_ = com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.newBuilder((com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion) compiledObject_) + .mergeFrom(value).buildPartial(); + } else { + compiledObject_ = value; + } + onChanged(); + } else { + if (compiledObjectCase_ == 6) { + assertionBuilder_.mergeFrom(value); + } else { + assertionBuilder_.setMessage(value); + } + } + compiledObjectCase_ = 6; + return this; + } + /** + *
+     * The assertion executed by this action.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Assertion assertion = 6; + */ + public Builder clearAssertion() { + if (assertionBuilder_ == null) { + if (compiledObjectCase_ == 6) { + compiledObjectCase_ = 0; + compiledObject_ = null; + onChanged(); + } + } else { + if (compiledObjectCase_ == 6) { + compiledObjectCase_ = 0; + compiledObject_ = null; + } + assertionBuilder_.clear(); + } + return this; + } + /** + *
+     * The assertion executed by this action.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Assertion assertion = 6; + */ + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.Builder getAssertionBuilder() { + return getAssertionFieldBuilder().getBuilder(); + } + /** + *
+     * The assertion executed by this action.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Assertion assertion = 6; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResultAction.AssertionOrBuilder getAssertionOrBuilder() { + if ((compiledObjectCase_ == 6) && (assertionBuilder_ != null)) { + return assertionBuilder_.getMessageOrBuilder(); + } else { + if (compiledObjectCase_ == 6) { + return (com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion) compiledObject_; + } + return com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.getDefaultInstance(); + } + } + /** + *
+     * The assertion executed by this action.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Assertion assertion = 6; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion, com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.Builder, com.google.cloud.dataform.v1beta1.CompilationResultAction.AssertionOrBuilder> + getAssertionFieldBuilder() { + if (assertionBuilder_ == null) { + if (!(compiledObjectCase_ == 6)) { + compiledObject_ = com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.getDefaultInstance(); + } + assertionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion, com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.Builder, com.google.cloud.dataform.v1beta1.CompilationResultAction.AssertionOrBuilder>( + (com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion) compiledObject_, + getParentForChildren(), + isClean()); + compiledObject_ = null; + } + compiledObjectCase_ = 6; + onChanged();; + return assertionBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration, com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.Builder, com.google.cloud.dataform.v1beta1.CompilationResultAction.DeclarationOrBuilder> declarationBuilder_; + /** + *
+     * The declaration declared by this action.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7; + * @return Whether the declaration field is set. + */ + @java.lang.Override + public boolean hasDeclaration() { + return compiledObjectCase_ == 7; + } + /** + *
+     * The declaration declared by this action.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7; + * @return The declaration. + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration getDeclaration() { + if (declarationBuilder_ == null) { + if (compiledObjectCase_ == 7) { + return (com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration) compiledObject_; + } + return com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.getDefaultInstance(); + } else { + if (compiledObjectCase_ == 7) { + return declarationBuilder_.getMessage(); + } + return com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.getDefaultInstance(); + } + } + /** + *
+     * The declaration declared by this action.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7; + */ + public Builder setDeclaration(com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration value) { + if (declarationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + compiledObject_ = value; + onChanged(); + } else { + declarationBuilder_.setMessage(value); + } + compiledObjectCase_ = 7; + return this; + } + /** + *
+     * The declaration declared by this action.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7; + */ + public Builder setDeclaration( + com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.Builder builderForValue) { + if (declarationBuilder_ == null) { + compiledObject_ = builderForValue.build(); + onChanged(); + } else { + declarationBuilder_.setMessage(builderForValue.build()); + } + compiledObjectCase_ = 7; + return this; + } + /** + *
+     * The declaration declared by this action.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7; + */ + public Builder mergeDeclaration(com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration value) { + if (declarationBuilder_ == null) { + if (compiledObjectCase_ == 7 && + compiledObject_ != com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.getDefaultInstance()) { + compiledObject_ = com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.newBuilder((com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration) compiledObject_) + .mergeFrom(value).buildPartial(); + } else { + compiledObject_ = value; + } + onChanged(); + } else { + if (compiledObjectCase_ == 7) { + declarationBuilder_.mergeFrom(value); + } else { + declarationBuilder_.setMessage(value); + } + } + compiledObjectCase_ = 7; + return this; + } + /** + *
+     * The declaration declared by this action.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7; + */ + public Builder clearDeclaration() { + if (declarationBuilder_ == null) { + if (compiledObjectCase_ == 7) { + compiledObjectCase_ = 0; + compiledObject_ = null; + onChanged(); + } + } else { + if (compiledObjectCase_ == 7) { + compiledObjectCase_ = 0; + compiledObject_ = null; + } + declarationBuilder_.clear(); + } + return this; + } + /** + *
+     * The declaration declared by this action.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7; + */ + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.Builder getDeclarationBuilder() { + return getDeclarationFieldBuilder().getBuilder(); + } + /** + *
+     * The declaration declared by this action.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResultAction.DeclarationOrBuilder getDeclarationOrBuilder() { + if ((compiledObjectCase_ == 7) && (declarationBuilder_ != null)) { + return declarationBuilder_.getMessageOrBuilder(); + } else { + if (compiledObjectCase_ == 7) { + return (com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration) compiledObject_; + } + return com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.getDefaultInstance(); + } + } + /** + *
+     * The declaration declared by this action.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration, com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.Builder, com.google.cloud.dataform.v1beta1.CompilationResultAction.DeclarationOrBuilder> + getDeclarationFieldBuilder() { + if (declarationBuilder_ == null) { + if (!(compiledObjectCase_ == 7)) { + compiledObject_ = com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.getDefaultInstance(); + } + declarationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration, com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.Builder, com.google.cloud.dataform.v1beta1.CompilationResultAction.DeclarationOrBuilder>( + (com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration) compiledObject_, + getParentForChildren(), + isClean()); + compiledObject_ = null; + } + compiledObjectCase_ = 7; + onChanged();; + return declarationBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.CompilationResultAction) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.CompilationResultAction) + private static final com.google.cloud.dataform.v1beta1.CompilationResultAction DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.CompilationResultAction(); + } + + public static com.google.cloud.dataform.v1beta1.CompilationResultAction getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompilationResultAction parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CompilationResultAction(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResultAction getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CompilationResultActionOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CompilationResultActionOrBuilder.java new file mode 100644 index 0000000..3d3716a --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CompilationResultActionOrBuilder.java @@ -0,0 +1,198 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface CompilationResultActionOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.CompilationResultAction) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * This action's identifier. Unique within the compilation result.
+   * 
+ * + * .google.cloud.dataform.v1beta1.Target target = 1; + * @return Whether the target field is set. + */ + boolean hasTarget(); + /** + *
+   * This action's identifier. Unique within the compilation result.
+   * 
+ * + * .google.cloud.dataform.v1beta1.Target target = 1; + * @return The target. + */ + com.google.cloud.dataform.v1beta1.Target getTarget(); + /** + *
+   * This action's identifier. Unique within the compilation result.
+   * 
+ * + * .google.cloud.dataform.v1beta1.Target target = 1; + */ + com.google.cloud.dataform.v1beta1.TargetOrBuilder getTargetOrBuilder(); + + /** + *
+   * The action's identifier if the project had been compiled without any
+   * overrides configured. Unique within the compilation result.
+   * 
+ * + * .google.cloud.dataform.v1beta1.Target canonical_target = 2; + * @return Whether the canonicalTarget field is set. + */ + boolean hasCanonicalTarget(); + /** + *
+   * The action's identifier if the project had been compiled without any
+   * overrides configured. Unique within the compilation result.
+   * 
+ * + * .google.cloud.dataform.v1beta1.Target canonical_target = 2; + * @return The canonicalTarget. + */ + com.google.cloud.dataform.v1beta1.Target getCanonicalTarget(); + /** + *
+   * The action's identifier if the project had been compiled without any
+   * overrides configured. Unique within the compilation result.
+   * 
+ * + * .google.cloud.dataform.v1beta1.Target canonical_target = 2; + */ + com.google.cloud.dataform.v1beta1.TargetOrBuilder getCanonicalTargetOrBuilder(); + + /** + *
+   * The full path including filename in which this action is located, relative
+   * to the workspace root.
+   * 
+ * + * string file_path = 3; + * @return The filePath. + */ + java.lang.String getFilePath(); + /** + *
+   * The full path including filename in which this action is located, relative
+   * to the workspace root.
+   * 
+ * + * string file_path = 3; + * @return The bytes for filePath. + */ + com.google.protobuf.ByteString + getFilePathBytes(); + + /** + *
+   * The database relation created/updated by this action.
+   * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation relation = 4; + * @return Whether the relation field is set. + */ + boolean hasRelation(); + /** + *
+   * The database relation created/updated by this action.
+   * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation relation = 4; + * @return The relation. + */ + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation getRelation(); + /** + *
+   * The database relation created/updated by this action.
+   * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation relation = 4; + */ + com.google.cloud.dataform.v1beta1.CompilationResultAction.RelationOrBuilder getRelationOrBuilder(); + + /** + *
+   * The database operations executed by this action.
+   * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Operations operations = 5; + * @return Whether the operations field is set. + */ + boolean hasOperations(); + /** + *
+   * The database operations executed by this action.
+   * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Operations operations = 5; + * @return The operations. + */ + com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations getOperations(); + /** + *
+   * The database operations executed by this action.
+   * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Operations operations = 5; + */ + com.google.cloud.dataform.v1beta1.CompilationResultAction.OperationsOrBuilder getOperationsOrBuilder(); + + /** + *
+   * The assertion executed by this action.
+   * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Assertion assertion = 6; + * @return Whether the assertion field is set. + */ + boolean hasAssertion(); + /** + *
+   * The assertion executed by this action.
+   * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Assertion assertion = 6; + * @return The assertion. + */ + com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion getAssertion(); + /** + *
+   * The assertion executed by this action.
+   * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Assertion assertion = 6; + */ + com.google.cloud.dataform.v1beta1.CompilationResultAction.AssertionOrBuilder getAssertionOrBuilder(); + + /** + *
+   * The declaration declared by this action.
+   * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7; + * @return Whether the declaration field is set. + */ + boolean hasDeclaration(); + /** + *
+   * The declaration declared by this action.
+   * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7; + * @return The declaration. + */ + com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration getDeclaration(); + /** + *
+   * The declaration declared by this action.
+   * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7; + */ + com.google.cloud.dataform.v1beta1.CompilationResultAction.DeclarationOrBuilder getDeclarationOrBuilder(); + + public com.google.cloud.dataform.v1beta1.CompilationResultAction.CompiledObjectCase getCompiledObjectCase(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CompilationResultName.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CompilationResultName.java new file mode 100644 index 0000000..a6a4b4f --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CompilationResultName.java @@ -0,0 +1,269 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dataform.v1beta1; + +import com.google.api.pathtemplate.PathTemplate; +import com.google.api.resourcenames.ResourceName; +import com.google.common.base.Preconditions; +import com.google.common.collect.ImmutableMap; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +@Generated("by gapic-generator-java") +public class CompilationResultName implements ResourceName { + private static final PathTemplate PROJECT_LOCATION_REPOSITORY_COMPILATION_RESULT = + PathTemplate.createWithoutUrlEncoding( + "projects/{project}/locations/{location}/repositories/{repository}/compilationResults/{compilation_result}"); + private volatile Map fieldValuesMap; + private final String project; + private final String location; + private final String repository; + private final String compilationResult; + + @Deprecated + protected CompilationResultName() { + project = null; + location = null; + repository = null; + compilationResult = null; + } + + private CompilationResultName(Builder builder) { + project = Preconditions.checkNotNull(builder.getProject()); + location = Preconditions.checkNotNull(builder.getLocation()); + repository = Preconditions.checkNotNull(builder.getRepository()); + compilationResult = Preconditions.checkNotNull(builder.getCompilationResult()); + } + + public String getProject() { + return project; + } + + public String getLocation() { + return location; + } + + public String getRepository() { + return repository; + } + + public String getCompilationResult() { + return compilationResult; + } + + public static Builder newBuilder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + public static CompilationResultName of( + String project, String location, String repository, String compilationResult) { + return newBuilder() + .setProject(project) + .setLocation(location) + .setRepository(repository) + .setCompilationResult(compilationResult) + .build(); + } + + public static String format( + String project, String location, String repository, String compilationResult) { + return newBuilder() + .setProject(project) + .setLocation(location) + .setRepository(repository) + .setCompilationResult(compilationResult) + .build() + .toString(); + } + + public static CompilationResultName parse(String formattedString) { + if (formattedString.isEmpty()) { + return null; + } + Map matchMap = + PROJECT_LOCATION_REPOSITORY_COMPILATION_RESULT.validatedMatch( + formattedString, "CompilationResultName.parse: formattedString not in valid format"); + return of( + matchMap.get("project"), + matchMap.get("location"), + matchMap.get("repository"), + matchMap.get("compilation_result")); + } + + public static List parseList(List formattedStrings) { + List list = new ArrayList<>(formattedStrings.size()); + for (String formattedString : formattedStrings) { + list.add(parse(formattedString)); + } + return list; + } + + public static List toStringList(List values) { + List list = new ArrayList<>(values.size()); + for (CompilationResultName value : values) { + if (value == null) { + list.add(""); + } else { + list.add(value.toString()); + } + } + return list; + } + + public static boolean isParsableFrom(String formattedString) { + return PROJECT_LOCATION_REPOSITORY_COMPILATION_RESULT.matches(formattedString); + } + + @Override + public Map getFieldValuesMap() { + if (fieldValuesMap == null) { + synchronized (this) { + if (fieldValuesMap == null) { + ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); + if (project != null) { + fieldMapBuilder.put("project", project); + } + if (location != null) { + fieldMapBuilder.put("location", location); + } + if (repository != null) { + fieldMapBuilder.put("repository", repository); + } + if (compilationResult != null) { + fieldMapBuilder.put("compilation_result", compilationResult); + } + fieldValuesMap = fieldMapBuilder.build(); + } + } + } + return fieldValuesMap; + } + + public String getFieldValue(String fieldName) { + return getFieldValuesMap().get(fieldName); + } + + @Override + public String toString() { + return PROJECT_LOCATION_REPOSITORY_COMPILATION_RESULT.instantiate( + "project", + project, + "location", + location, + "repository", + repository, + "compilation_result", + compilationResult); + } + + @Override + public boolean equals(Object o) { + if (o == this) { + return true; + } + if (o != null || getClass() == o.getClass()) { + CompilationResultName that = ((CompilationResultName) o); + return Objects.equals(this.project, that.project) + && Objects.equals(this.location, that.location) + && Objects.equals(this.repository, that.repository) + && Objects.equals(this.compilationResult, that.compilationResult); + } + return false; + } + + @Override + public int hashCode() { + int h = 1; + h *= 1000003; + h ^= Objects.hashCode(project); + h *= 1000003; + h ^= Objects.hashCode(location); + h *= 1000003; + h ^= Objects.hashCode(repository); + h *= 1000003; + h ^= Objects.hashCode(compilationResult); + return h; + } + + /** + * Builder for + * projects/{project}/locations/{location}/repositories/{repository}/compilationResults/{compilation_result}. + */ + public static class Builder { + private String project; + private String location; + private String repository; + private String compilationResult; + + protected Builder() {} + + public String getProject() { + return project; + } + + public String getLocation() { + return location; + } + + public String getRepository() { + return repository; + } + + public String getCompilationResult() { + return compilationResult; + } + + public Builder setProject(String project) { + this.project = project; + return this; + } + + public Builder setLocation(String location) { + this.location = location; + return this; + } + + public Builder setRepository(String repository) { + this.repository = repository; + return this; + } + + public Builder setCompilationResult(String compilationResult) { + this.compilationResult = compilationResult; + return this; + } + + private Builder(CompilationResultName compilationResultName) { + this.project = compilationResultName.project; + this.location = compilationResultName.location; + this.repository = compilationResultName.repository; + this.compilationResult = compilationResultName.compilationResult; + } + + public CompilationResultName build() { + return new CompilationResultName(this); + } + } +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CompilationResultOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CompilationResultOrBuilder.java new file mode 100644 index 0000000..8e13266 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CompilationResultOrBuilder.java @@ -0,0 +1,201 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface CompilationResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.CompilationResult) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Output only. The compilation result's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Output only. The compilation result's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + *
+   * Immutable. Git commit/tag/branch name at which the repository should be compiled.
+   * Must exist in the remote repository.
+   * Examples:
+   * - a commit SHA: `12ade345`
+   * - a tag: `tag1`
+   * - a branch name: `branch1`
+   * 
+ * + * string git_commitish = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @return Whether the gitCommitish field is set. + */ + boolean hasGitCommitish(); + /** + *
+   * Immutable. Git commit/tag/branch name at which the repository should be compiled.
+   * Must exist in the remote repository.
+   * Examples:
+   * - a commit SHA: `12ade345`
+   * - a tag: `tag1`
+   * - a branch name: `branch1`
+   * 
+ * + * string git_commitish = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @return The gitCommitish. + */ + java.lang.String getGitCommitish(); + /** + *
+   * Immutable. Git commit/tag/branch name at which the repository should be compiled.
+   * Must exist in the remote repository.
+   * Examples:
+   * - a commit SHA: `12ade345`
+   * - a tag: `tag1`
+   * - a branch name: `branch1`
+   * 
+ * + * string git_commitish = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @return The bytes for gitCommitish. + */ + com.google.protobuf.ByteString + getGitCommitishBytes(); + + /** + *
+   * Immutable. The name of the workspace to compile. Must be in the format
+   * `projects/*/locations/*/repositories/*/workspaces/*`.
+   * 
+ * + * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * @return Whether the workspace field is set. + */ + boolean hasWorkspace(); + /** + *
+   * Immutable. The name of the workspace to compile. Must be in the format
+   * `projects/*/locations/*/repositories/*/workspaces/*`.
+   * 
+ * + * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * @return The workspace. + */ + java.lang.String getWorkspace(); + /** + *
+   * Immutable. The name of the workspace to compile. Must be in the format
+   * `projects/*/locations/*/repositories/*/workspaces/*`.
+   * 
+ * + * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * @return The bytes for workspace. + */ + com.google.protobuf.ByteString + getWorkspaceBytes(); + + /** + *
+   * Immutable. If set, fields of `code_compilation_overrides` override the default
+   * compilation settings that are specified in dataform.json.
+   * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * @return Whether the codeCompilationConfig field is set. + */ + boolean hasCodeCompilationConfig(); + /** + *
+   * Immutable. If set, fields of `code_compilation_overrides` override the default
+   * compilation settings that are specified in dataform.json.
+   * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * @return The codeCompilationConfig. + */ + com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig getCodeCompilationConfig(); + /** + *
+   * Immutable. If set, fields of `code_compilation_overrides` override the default
+   * compilation settings that are specified in dataform.json.
+   * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + */ + com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfigOrBuilder getCodeCompilationConfigOrBuilder(); + + /** + *
+   * Output only. The version of `@dataform/core` that was used for compilation.
+   * 
+ * + * string dataform_core_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The dataformCoreVersion. + */ + java.lang.String getDataformCoreVersion(); + /** + *
+   * Output only. The version of `@dataform/core` that was used for compilation.
+   * 
+ * + * string dataform_core_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for dataformCoreVersion. + */ + com.google.protobuf.ByteString + getDataformCoreVersionBytes(); + + /** + *
+   * Output only. Errors encountered during project compilation.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + java.util.List + getCompilationErrorsList(); + /** + *
+   * Output only. Errors encountered during project compilation.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError getCompilationErrors(int index); + /** + *
+   * Output only. Errors encountered during project compilation.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + int getCompilationErrorsCount(); + /** + *
+   * Output only. Errors encountered during project compilation.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + java.util.List + getCompilationErrorsOrBuilderList(); + /** + *
+   * Output only. Errors encountered during project compilation.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + com.google.cloud.dataform.v1beta1.CompilationResult.CompilationErrorOrBuilder getCompilationErrorsOrBuilder( + int index); + + public com.google.cloud.dataform.v1beta1.CompilationResult.SourceCase getSourceCase(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateCompilationResultRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateCompilationResultRequest.java new file mode 100644 index 0000000..e9cd72f --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateCompilationResultRequest.java @@ -0,0 +1,838 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * `CreateCompilationResult` request message.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.CreateCompilationResultRequest} + */ +public final class CreateCompilationResultRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.CreateCompilationResultRequest) + CreateCompilationResultRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use CreateCompilationResultRequest.newBuilder() to construct. + private CreateCompilationResultRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private CreateCompilationResultRequest() { + parent_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CreateCompilationResultRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private CreateCompilationResultRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + parent_ = s; + break; + } + case 18: { + com.google.cloud.dataform.v1beta1.CompilationResult.Builder subBuilder = null; + if (compilationResult_ != null) { + subBuilder = compilationResult_.toBuilder(); + } + compilationResult_ = input.readMessage(com.google.cloud.dataform.v1beta1.CompilationResult.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(compilationResult_); + compilationResult_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CreateCompilationResultRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CreateCompilationResultRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest.class, com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest.Builder.class); + } + + public static final int PARENT_FIELD_NUMBER = 1; + private volatile java.lang.Object parent_; + /** + *
+   * Required. The repository in which to create the compilation result. Must be in the
+   * format `projects/*/locations/*/repositories/*`.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + @java.lang.Override + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } + } + /** + *
+   * Required. The repository in which to create the compilation result. Must be in the
+   * format `projects/*/locations/*/repositories/*`.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int COMPILATION_RESULT_FIELD_NUMBER = 2; + private com.google.cloud.dataform.v1beta1.CompilationResult compilationResult_; + /** + *
+   * Required. The compilation result to create.
+   * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the compilationResult field is set. + */ + @java.lang.Override + public boolean hasCompilationResult() { + return compilationResult_ != null; + } + /** + *
+   * Required. The compilation result to create.
+   * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The compilationResult. + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResult getCompilationResult() { + return compilationResult_ == null ? com.google.cloud.dataform.v1beta1.CompilationResult.getDefaultInstance() : compilationResult_; + } + /** + *
+   * Required. The compilation result to create.
+   * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResultOrBuilder getCompilationResultOrBuilder() { + return getCompilationResult(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + } + if (compilationResult_ != null) { + output.writeMessage(2, getCompilationResult()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + } + if (compilationResult_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCompilationResult()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest other = (com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (hasCompilationResult() != other.hasCompilationResult()) return false; + if (hasCompilationResult()) { + if (!getCompilationResult() + .equals(other.getCompilationResult())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PARENT_FIELD_NUMBER; + hash = (53 * hash) + getParent().hashCode(); + if (hasCompilationResult()) { + hash = (37 * hash) + COMPILATION_RESULT_FIELD_NUMBER; + hash = (53 * hash) + getCompilationResult().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * `CreateCompilationResult` request message.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.CreateCompilationResultRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.CreateCompilationResultRequest) + com.google.cloud.dataform.v1beta1.CreateCompilationResultRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CreateCompilationResultRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CreateCompilationResultRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest.class, com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + parent_ = ""; + + if (compilationResultBuilder_ == null) { + compilationResult_ = null; + } else { + compilationResult_ = null; + compilationResultBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CreateCompilationResultRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest build() { + com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest buildPartial() { + com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest result = new com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest(this); + result.parent_ = parent_; + if (compilationResultBuilder_ == null) { + result.compilationResult_ = compilationResult_; + } else { + result.compilationResult_ = compilationResultBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest) { + return mergeFrom((com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest other) { + if (other == com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest.getDefaultInstance()) return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + onChanged(); + } + if (other.hasCompilationResult()) { + mergeCompilationResult(other.getCompilationResult()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object parent_ = ""; + /** + *
+     * Required. The repository in which to create the compilation result. Must be in the
+     * format `projects/*/locations/*/repositories/*`.
+     * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The repository in which to create the compilation result. Must be in the
+     * format `projects/*/locations/*/repositories/*`.
+     * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + public com.google.protobuf.ByteString + getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The repository in which to create the compilation result. Must be in the
+     * format `projects/*/locations/*/repositories/*`.
+     * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The parent to set. + * @return This builder for chaining. + */ + public Builder setParent( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + parent_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. The repository in which to create the compilation result. Must be in the
+     * format `projects/*/locations/*/repositories/*`.
+     * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearParent() { + + parent_ = getDefaultInstance().getParent(); + onChanged(); + return this; + } + /** + *
+     * Required. The repository in which to create the compilation result. Must be in the
+     * format `projects/*/locations/*/repositories/*`.
+     * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The bytes for parent to set. + * @return This builder for chaining. + */ + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + parent_ = value; + onChanged(); + return this; + } + + private com.google.cloud.dataform.v1beta1.CompilationResult compilationResult_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.CompilationResult, com.google.cloud.dataform.v1beta1.CompilationResult.Builder, com.google.cloud.dataform.v1beta1.CompilationResultOrBuilder> compilationResultBuilder_; + /** + *
+     * Required. The compilation result to create.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the compilationResult field is set. + */ + public boolean hasCompilationResult() { + return compilationResultBuilder_ != null || compilationResult_ != null; + } + /** + *
+     * Required. The compilation result to create.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The compilationResult. + */ + public com.google.cloud.dataform.v1beta1.CompilationResult getCompilationResult() { + if (compilationResultBuilder_ == null) { + return compilationResult_ == null ? com.google.cloud.dataform.v1beta1.CompilationResult.getDefaultInstance() : compilationResult_; + } else { + return compilationResultBuilder_.getMessage(); + } + } + /** + *
+     * Required. The compilation result to create.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder setCompilationResult(com.google.cloud.dataform.v1beta1.CompilationResult value) { + if (compilationResultBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + compilationResult_ = value; + onChanged(); + } else { + compilationResultBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * Required. The compilation result to create.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder setCompilationResult( + com.google.cloud.dataform.v1beta1.CompilationResult.Builder builderForValue) { + if (compilationResultBuilder_ == null) { + compilationResult_ = builderForValue.build(); + onChanged(); + } else { + compilationResultBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * Required. The compilation result to create.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder mergeCompilationResult(com.google.cloud.dataform.v1beta1.CompilationResult value) { + if (compilationResultBuilder_ == null) { + if (compilationResult_ != null) { + compilationResult_ = + com.google.cloud.dataform.v1beta1.CompilationResult.newBuilder(compilationResult_).mergeFrom(value).buildPartial(); + } else { + compilationResult_ = value; + } + onChanged(); + } else { + compilationResultBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * Required. The compilation result to create.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder clearCompilationResult() { + if (compilationResultBuilder_ == null) { + compilationResult_ = null; + onChanged(); + } else { + compilationResult_ = null; + compilationResultBuilder_ = null; + } + + return this; + } + /** + *
+     * Required. The compilation result to create.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public com.google.cloud.dataform.v1beta1.CompilationResult.Builder getCompilationResultBuilder() { + + onChanged(); + return getCompilationResultFieldBuilder().getBuilder(); + } + /** + *
+     * Required. The compilation result to create.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public com.google.cloud.dataform.v1beta1.CompilationResultOrBuilder getCompilationResultOrBuilder() { + if (compilationResultBuilder_ != null) { + return compilationResultBuilder_.getMessageOrBuilder(); + } else { + return compilationResult_ == null ? + com.google.cloud.dataform.v1beta1.CompilationResult.getDefaultInstance() : compilationResult_; + } + } + /** + *
+     * Required. The compilation result to create.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.CompilationResult, com.google.cloud.dataform.v1beta1.CompilationResult.Builder, com.google.cloud.dataform.v1beta1.CompilationResultOrBuilder> + getCompilationResultFieldBuilder() { + if (compilationResultBuilder_ == null) { + compilationResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.CompilationResult, com.google.cloud.dataform.v1beta1.CompilationResult.Builder, com.google.cloud.dataform.v1beta1.CompilationResultOrBuilder>( + getCompilationResult(), + getParentForChildren(), + isClean()); + compilationResult_ = null; + } + return compilationResultBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.CreateCompilationResultRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.CreateCompilationResultRequest) + private static final com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest(); + } + + public static com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateCompilationResultRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateCompilationResultRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateCompilationResultRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateCompilationResultRequestOrBuilder.java new file mode 100644 index 0000000..b414421 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateCompilationResultRequestOrBuilder.java @@ -0,0 +1,58 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface CreateCompilationResultRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.CreateCompilationResultRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The repository in which to create the compilation result. Must be in the
+   * format `projects/*/locations/*/repositories/*`.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + java.lang.String getParent(); + /** + *
+   * Required. The repository in which to create the compilation result. Must be in the
+   * format `projects/*/locations/*/repositories/*`.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + com.google.protobuf.ByteString + getParentBytes(); + + /** + *
+   * Required. The compilation result to create.
+   * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the compilationResult field is set. + */ + boolean hasCompilationResult(); + /** + *
+   * Required. The compilation result to create.
+   * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The compilationResult. + */ + com.google.cloud.dataform.v1beta1.CompilationResult getCompilationResult(); + /** + *
+   * Required. The compilation result to create.
+   * 
+ * + * .google.cloud.dataform.v1beta1.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.cloud.dataform.v1beta1.CompilationResultOrBuilder getCompilationResultOrBuilder(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateRepositoryRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateRepositoryRequest.java new file mode 100644 index 0000000..6183697 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateRepositoryRequest.java @@ -0,0 +1,1011 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * `CreateRepository` request message.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.CreateRepositoryRequest} + */ +public final class CreateRepositoryRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.CreateRepositoryRequest) + CreateRepositoryRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use CreateRepositoryRequest.newBuilder() to construct. + private CreateRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private CreateRepositoryRequest() { + parent_ = ""; + repositoryId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CreateRepositoryRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private CreateRepositoryRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + parent_ = s; + break; + } + case 18: { + com.google.cloud.dataform.v1beta1.Repository.Builder subBuilder = null; + if (repository_ != null) { + subBuilder = repository_.toBuilder(); + } + repository_ = input.readMessage(com.google.cloud.dataform.v1beta1.Repository.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(repository_); + repository_ = subBuilder.buildPartial(); + } + + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + repositoryId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CreateRepositoryRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CreateRepositoryRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.CreateRepositoryRequest.class, com.google.cloud.dataform.v1beta1.CreateRepositoryRequest.Builder.class); + } + + public static final int PARENT_FIELD_NUMBER = 1; + private volatile java.lang.Object parent_; + /** + *
+   * Required. The location in which to create the repository. Must be in the format
+   * `projects/*/locations/*`.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + @java.lang.Override + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } + } + /** + *
+   * Required. The location in which to create the repository. Must be in the format
+   * `projects/*/locations/*`.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REPOSITORY_FIELD_NUMBER = 2; + private com.google.cloud.dataform.v1beta1.Repository repository_; + /** + *
+   * Required. The repository to create.
+   * 
+ * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the repository field is set. + */ + @java.lang.Override + public boolean hasRepository() { + return repository_ != null; + } + /** + *
+   * Required. The repository to create.
+   * 
+ * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The repository. + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.Repository getRepository() { + return repository_ == null ? com.google.cloud.dataform.v1beta1.Repository.getDefaultInstance() : repository_; + } + /** + *
+   * Required. The repository to create.
+   * 
+ * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.RepositoryOrBuilder getRepositoryOrBuilder() { + return getRepository(); + } + + public static final int REPOSITORY_ID_FIELD_NUMBER = 3; + private volatile java.lang.Object repositoryId_; + /** + *
+   * Required. The ID to use for the repository, which will become the final component of
+   * the repository's resource name.
+   * 
+ * + * string repository_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The repositoryId. + */ + @java.lang.Override + public java.lang.String getRepositoryId() { + java.lang.Object ref = repositoryId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + repositoryId_ = s; + return s; + } + } + /** + *
+   * Required. The ID to use for the repository, which will become the final component of
+   * the repository's resource name.
+   * 
+ * + * string repository_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for repositoryId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getRepositoryIdBytes() { + java.lang.Object ref = repositoryId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + repositoryId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + } + if (repository_ != null) { + output.writeMessage(2, getRepository()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(repositoryId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, repositoryId_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + } + if (repository_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRepository()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(repositoryId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, repositoryId_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.CreateRepositoryRequest)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.CreateRepositoryRequest other = (com.google.cloud.dataform.v1beta1.CreateRepositoryRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (hasRepository() != other.hasRepository()) return false; + if (hasRepository()) { + if (!getRepository() + .equals(other.getRepository())) return false; + } + if (!getRepositoryId() + .equals(other.getRepositoryId())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PARENT_FIELD_NUMBER; + hash = (53 * hash) + getParent().hashCode(); + if (hasRepository()) { + hash = (37 * hash) + REPOSITORY_FIELD_NUMBER; + hash = (53 * hash) + getRepository().hashCode(); + } + hash = (37 * hash) + REPOSITORY_ID_FIELD_NUMBER; + hash = (53 * hash) + getRepositoryId().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.CreateRepositoryRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.CreateRepositoryRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CreateRepositoryRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.CreateRepositoryRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CreateRepositoryRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.CreateRepositoryRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CreateRepositoryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.CreateRepositoryRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CreateRepositoryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.CreateRepositoryRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CreateRepositoryRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.CreateRepositoryRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.CreateRepositoryRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * `CreateRepository` request message.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.CreateRepositoryRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.CreateRepositoryRequest) + com.google.cloud.dataform.v1beta1.CreateRepositoryRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CreateRepositoryRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CreateRepositoryRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.CreateRepositoryRequest.class, com.google.cloud.dataform.v1beta1.CreateRepositoryRequest.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.CreateRepositoryRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + parent_ = ""; + + if (repositoryBuilder_ == null) { + repository_ = null; + } else { + repository_ = null; + repositoryBuilder_ = null; + } + repositoryId_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CreateRepositoryRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CreateRepositoryRequest getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.CreateRepositoryRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CreateRepositoryRequest build() { + com.google.cloud.dataform.v1beta1.CreateRepositoryRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CreateRepositoryRequest buildPartial() { + com.google.cloud.dataform.v1beta1.CreateRepositoryRequest result = new com.google.cloud.dataform.v1beta1.CreateRepositoryRequest(this); + result.parent_ = parent_; + if (repositoryBuilder_ == null) { + result.repository_ = repository_; + } else { + result.repository_ = repositoryBuilder_.build(); + } + result.repositoryId_ = repositoryId_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.CreateRepositoryRequest) { + return mergeFrom((com.google.cloud.dataform.v1beta1.CreateRepositoryRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.CreateRepositoryRequest other) { + if (other == com.google.cloud.dataform.v1beta1.CreateRepositoryRequest.getDefaultInstance()) return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + onChanged(); + } + if (other.hasRepository()) { + mergeRepository(other.getRepository()); + } + if (!other.getRepositoryId().isEmpty()) { + repositoryId_ = other.repositoryId_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.CreateRepositoryRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.CreateRepositoryRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object parent_ = ""; + /** + *
+     * Required. The location in which to create the repository. Must be in the format
+     * `projects/*/locations/*`.
+     * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The location in which to create the repository. Must be in the format
+     * `projects/*/locations/*`.
+     * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + public com.google.protobuf.ByteString + getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The location in which to create the repository. Must be in the format
+     * `projects/*/locations/*`.
+     * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The parent to set. + * @return This builder for chaining. + */ + public Builder setParent( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + parent_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. The location in which to create the repository. Must be in the format
+     * `projects/*/locations/*`.
+     * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearParent() { + + parent_ = getDefaultInstance().getParent(); + onChanged(); + return this; + } + /** + *
+     * Required. The location in which to create the repository. Must be in the format
+     * `projects/*/locations/*`.
+     * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The bytes for parent to set. + * @return This builder for chaining. + */ + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + parent_ = value; + onChanged(); + return this; + } + + private com.google.cloud.dataform.v1beta1.Repository repository_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Repository, com.google.cloud.dataform.v1beta1.Repository.Builder, com.google.cloud.dataform.v1beta1.RepositoryOrBuilder> repositoryBuilder_; + /** + *
+     * Required. The repository to create.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the repository field is set. + */ + public boolean hasRepository() { + return repositoryBuilder_ != null || repository_ != null; + } + /** + *
+     * Required. The repository to create.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The repository. + */ + public com.google.cloud.dataform.v1beta1.Repository getRepository() { + if (repositoryBuilder_ == null) { + return repository_ == null ? com.google.cloud.dataform.v1beta1.Repository.getDefaultInstance() : repository_; + } else { + return repositoryBuilder_.getMessage(); + } + } + /** + *
+     * Required. The repository to create.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder setRepository(com.google.cloud.dataform.v1beta1.Repository value) { + if (repositoryBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + repository_ = value; + onChanged(); + } else { + repositoryBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * Required. The repository to create.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder setRepository( + com.google.cloud.dataform.v1beta1.Repository.Builder builderForValue) { + if (repositoryBuilder_ == null) { + repository_ = builderForValue.build(); + onChanged(); + } else { + repositoryBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * Required. The repository to create.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder mergeRepository(com.google.cloud.dataform.v1beta1.Repository value) { + if (repositoryBuilder_ == null) { + if (repository_ != null) { + repository_ = + com.google.cloud.dataform.v1beta1.Repository.newBuilder(repository_).mergeFrom(value).buildPartial(); + } else { + repository_ = value; + } + onChanged(); + } else { + repositoryBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * Required. The repository to create.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder clearRepository() { + if (repositoryBuilder_ == null) { + repository_ = null; + onChanged(); + } else { + repository_ = null; + repositoryBuilder_ = null; + } + + return this; + } + /** + *
+     * Required. The repository to create.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public com.google.cloud.dataform.v1beta1.Repository.Builder getRepositoryBuilder() { + + onChanged(); + return getRepositoryFieldBuilder().getBuilder(); + } + /** + *
+     * Required. The repository to create.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public com.google.cloud.dataform.v1beta1.RepositoryOrBuilder getRepositoryOrBuilder() { + if (repositoryBuilder_ != null) { + return repositoryBuilder_.getMessageOrBuilder(); + } else { + return repository_ == null ? + com.google.cloud.dataform.v1beta1.Repository.getDefaultInstance() : repository_; + } + } + /** + *
+     * Required. The repository to create.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Repository, com.google.cloud.dataform.v1beta1.Repository.Builder, com.google.cloud.dataform.v1beta1.RepositoryOrBuilder> + getRepositoryFieldBuilder() { + if (repositoryBuilder_ == null) { + repositoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Repository, com.google.cloud.dataform.v1beta1.Repository.Builder, com.google.cloud.dataform.v1beta1.RepositoryOrBuilder>( + getRepository(), + getParentForChildren(), + isClean()); + repository_ = null; + } + return repositoryBuilder_; + } + + private java.lang.Object repositoryId_ = ""; + /** + *
+     * Required. The ID to use for the repository, which will become the final component of
+     * the repository's resource name.
+     * 
+ * + * string repository_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The repositoryId. + */ + public java.lang.String getRepositoryId() { + java.lang.Object ref = repositoryId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + repositoryId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The ID to use for the repository, which will become the final component of
+     * the repository's resource name.
+     * 
+ * + * string repository_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for repositoryId. + */ + public com.google.protobuf.ByteString + getRepositoryIdBytes() { + java.lang.Object ref = repositoryId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + repositoryId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The ID to use for the repository, which will become the final component of
+     * the repository's resource name.
+     * 
+ * + * string repository_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param value The repositoryId to set. + * @return This builder for chaining. + */ + public Builder setRepositoryId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + repositoryId_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. The ID to use for the repository, which will become the final component of
+     * the repository's resource name.
+     * 
+ * + * string repository_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return This builder for chaining. + */ + public Builder clearRepositoryId() { + + repositoryId_ = getDefaultInstance().getRepositoryId(); + onChanged(); + return this; + } + /** + *
+     * Required. The ID to use for the repository, which will become the final component of
+     * the repository's resource name.
+     * 
+ * + * string repository_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param value The bytes for repositoryId to set. + * @return This builder for chaining. + */ + public Builder setRepositoryIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + repositoryId_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.CreateRepositoryRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.CreateRepositoryRequest) + private static final com.google.cloud.dataform.v1beta1.CreateRepositoryRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.CreateRepositoryRequest(); + } + + public static com.google.cloud.dataform.v1beta1.CreateRepositoryRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateRepositoryRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CreateRepositoryRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateRepositoryRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateRepositoryRequestOrBuilder.java new file mode 100644 index 0000000..eee8b15 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateRepositoryRequestOrBuilder.java @@ -0,0 +1,80 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface CreateRepositoryRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.CreateRepositoryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The location in which to create the repository. Must be in the format
+   * `projects/*/locations/*`.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + java.lang.String getParent(); + /** + *
+   * Required. The location in which to create the repository. Must be in the format
+   * `projects/*/locations/*`.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + com.google.protobuf.ByteString + getParentBytes(); + + /** + *
+   * Required. The repository to create.
+   * 
+ * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the repository field is set. + */ + boolean hasRepository(); + /** + *
+   * Required. The repository to create.
+   * 
+ * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The repository. + */ + com.google.cloud.dataform.v1beta1.Repository getRepository(); + /** + *
+   * Required. The repository to create.
+   * 
+ * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.cloud.dataform.v1beta1.RepositoryOrBuilder getRepositoryOrBuilder(); + + /** + *
+   * Required. The ID to use for the repository, which will become the final component of
+   * the repository's resource name.
+   * 
+ * + * string repository_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The repositoryId. + */ + java.lang.String getRepositoryId(); + /** + *
+   * Required. The ID to use for the repository, which will become the final component of
+   * the repository's resource name.
+   * 
+ * + * string repository_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for repositoryId. + */ + com.google.protobuf.ByteString + getRepositoryIdBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateWorkflowInvocationRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateWorkflowInvocationRequest.java new file mode 100644 index 0000000..d49f783 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateWorkflowInvocationRequest.java @@ -0,0 +1,838 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * `CreateWorkflowInvocation` request message.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest} + */ +public final class CreateWorkflowInvocationRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest) + CreateWorkflowInvocationRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use CreateWorkflowInvocationRequest.newBuilder() to construct. + private CreateWorkflowInvocationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private CreateWorkflowInvocationRequest() { + parent_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CreateWorkflowInvocationRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private CreateWorkflowInvocationRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + parent_ = s; + break; + } + case 18: { + com.google.cloud.dataform.v1beta1.WorkflowInvocation.Builder subBuilder = null; + if (workflowInvocation_ != null) { + subBuilder = workflowInvocation_.toBuilder(); + } + workflowInvocation_ = input.readMessage(com.google.cloud.dataform.v1beta1.WorkflowInvocation.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(workflowInvocation_); + workflowInvocation_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CreateWorkflowInvocationRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CreateWorkflowInvocationRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest.class, com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest.Builder.class); + } + + public static final int PARENT_FIELD_NUMBER = 1; + private volatile java.lang.Object parent_; + /** + *
+   * Required. The repository in which to create the workflow invocation. Must be in the
+   * format `projects/*/locations/*/repositories/*`.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + @java.lang.Override + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } + } + /** + *
+   * Required. The repository in which to create the workflow invocation. Must be in the
+   * format `projects/*/locations/*/repositories/*`.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int WORKFLOW_INVOCATION_FIELD_NUMBER = 2; + private com.google.cloud.dataform.v1beta1.WorkflowInvocation workflowInvocation_; + /** + *
+   * Required. The workflow invocation resource to create.
+   * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the workflowInvocation field is set. + */ + @java.lang.Override + public boolean hasWorkflowInvocation() { + return workflowInvocation_ != null; + } + /** + *
+   * Required. The workflow invocation resource to create.
+   * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The workflowInvocation. + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.WorkflowInvocation getWorkflowInvocation() { + return workflowInvocation_ == null ? com.google.cloud.dataform.v1beta1.WorkflowInvocation.getDefaultInstance() : workflowInvocation_; + } + /** + *
+   * Required. The workflow invocation resource to create.
+   * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.WorkflowInvocationOrBuilder getWorkflowInvocationOrBuilder() { + return getWorkflowInvocation(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + } + if (workflowInvocation_ != null) { + output.writeMessage(2, getWorkflowInvocation()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + } + if (workflowInvocation_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getWorkflowInvocation()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest other = (com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (hasWorkflowInvocation() != other.hasWorkflowInvocation()) return false; + if (hasWorkflowInvocation()) { + if (!getWorkflowInvocation() + .equals(other.getWorkflowInvocation())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PARENT_FIELD_NUMBER; + hash = (53 * hash) + getParent().hashCode(); + if (hasWorkflowInvocation()) { + hash = (37 * hash) + WORKFLOW_INVOCATION_FIELD_NUMBER; + hash = (53 * hash) + getWorkflowInvocation().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * `CreateWorkflowInvocation` request message.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest) + com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CreateWorkflowInvocationRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CreateWorkflowInvocationRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest.class, com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + parent_ = ""; + + if (workflowInvocationBuilder_ == null) { + workflowInvocation_ = null; + } else { + workflowInvocation_ = null; + workflowInvocationBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CreateWorkflowInvocationRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest build() { + com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest buildPartial() { + com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest result = new com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest(this); + result.parent_ = parent_; + if (workflowInvocationBuilder_ == null) { + result.workflowInvocation_ = workflowInvocation_; + } else { + result.workflowInvocation_ = workflowInvocationBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest) { + return mergeFrom((com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest other) { + if (other == com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest.getDefaultInstance()) return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + onChanged(); + } + if (other.hasWorkflowInvocation()) { + mergeWorkflowInvocation(other.getWorkflowInvocation()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object parent_ = ""; + /** + *
+     * Required. The repository in which to create the workflow invocation. Must be in the
+     * format `projects/*/locations/*/repositories/*`.
+     * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The repository in which to create the workflow invocation. Must be in the
+     * format `projects/*/locations/*/repositories/*`.
+     * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + public com.google.protobuf.ByteString + getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The repository in which to create the workflow invocation. Must be in the
+     * format `projects/*/locations/*/repositories/*`.
+     * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The parent to set. + * @return This builder for chaining. + */ + public Builder setParent( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + parent_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. The repository in which to create the workflow invocation. Must be in the
+     * format `projects/*/locations/*/repositories/*`.
+     * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearParent() { + + parent_ = getDefaultInstance().getParent(); + onChanged(); + return this; + } + /** + *
+     * Required. The repository in which to create the workflow invocation. Must be in the
+     * format `projects/*/locations/*/repositories/*`.
+     * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The bytes for parent to set. + * @return This builder for chaining. + */ + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + parent_ = value; + onChanged(); + return this; + } + + private com.google.cloud.dataform.v1beta1.WorkflowInvocation workflowInvocation_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.WorkflowInvocation, com.google.cloud.dataform.v1beta1.WorkflowInvocation.Builder, com.google.cloud.dataform.v1beta1.WorkflowInvocationOrBuilder> workflowInvocationBuilder_; + /** + *
+     * Required. The workflow invocation resource to create.
+     * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the workflowInvocation field is set. + */ + public boolean hasWorkflowInvocation() { + return workflowInvocationBuilder_ != null || workflowInvocation_ != null; + } + /** + *
+     * Required. The workflow invocation resource to create.
+     * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The workflowInvocation. + */ + public com.google.cloud.dataform.v1beta1.WorkflowInvocation getWorkflowInvocation() { + if (workflowInvocationBuilder_ == null) { + return workflowInvocation_ == null ? com.google.cloud.dataform.v1beta1.WorkflowInvocation.getDefaultInstance() : workflowInvocation_; + } else { + return workflowInvocationBuilder_.getMessage(); + } + } + /** + *
+     * Required. The workflow invocation resource to create.
+     * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder setWorkflowInvocation(com.google.cloud.dataform.v1beta1.WorkflowInvocation value) { + if (workflowInvocationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + workflowInvocation_ = value; + onChanged(); + } else { + workflowInvocationBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * Required. The workflow invocation resource to create.
+     * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder setWorkflowInvocation( + com.google.cloud.dataform.v1beta1.WorkflowInvocation.Builder builderForValue) { + if (workflowInvocationBuilder_ == null) { + workflowInvocation_ = builderForValue.build(); + onChanged(); + } else { + workflowInvocationBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * Required. The workflow invocation resource to create.
+     * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder mergeWorkflowInvocation(com.google.cloud.dataform.v1beta1.WorkflowInvocation value) { + if (workflowInvocationBuilder_ == null) { + if (workflowInvocation_ != null) { + workflowInvocation_ = + com.google.cloud.dataform.v1beta1.WorkflowInvocation.newBuilder(workflowInvocation_).mergeFrom(value).buildPartial(); + } else { + workflowInvocation_ = value; + } + onChanged(); + } else { + workflowInvocationBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * Required. The workflow invocation resource to create.
+     * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder clearWorkflowInvocation() { + if (workflowInvocationBuilder_ == null) { + workflowInvocation_ = null; + onChanged(); + } else { + workflowInvocation_ = null; + workflowInvocationBuilder_ = null; + } + + return this; + } + /** + *
+     * Required. The workflow invocation resource to create.
+     * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public com.google.cloud.dataform.v1beta1.WorkflowInvocation.Builder getWorkflowInvocationBuilder() { + + onChanged(); + return getWorkflowInvocationFieldBuilder().getBuilder(); + } + /** + *
+     * Required. The workflow invocation resource to create.
+     * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public com.google.cloud.dataform.v1beta1.WorkflowInvocationOrBuilder getWorkflowInvocationOrBuilder() { + if (workflowInvocationBuilder_ != null) { + return workflowInvocationBuilder_.getMessageOrBuilder(); + } else { + return workflowInvocation_ == null ? + com.google.cloud.dataform.v1beta1.WorkflowInvocation.getDefaultInstance() : workflowInvocation_; + } + } + /** + *
+     * Required. The workflow invocation resource to create.
+     * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.WorkflowInvocation, com.google.cloud.dataform.v1beta1.WorkflowInvocation.Builder, com.google.cloud.dataform.v1beta1.WorkflowInvocationOrBuilder> + getWorkflowInvocationFieldBuilder() { + if (workflowInvocationBuilder_ == null) { + workflowInvocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.WorkflowInvocation, com.google.cloud.dataform.v1beta1.WorkflowInvocation.Builder, com.google.cloud.dataform.v1beta1.WorkflowInvocationOrBuilder>( + getWorkflowInvocation(), + getParentForChildren(), + isClean()); + workflowInvocation_ = null; + } + return workflowInvocationBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest) + private static final com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest(); + } + + public static com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateWorkflowInvocationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateWorkflowInvocationRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateWorkflowInvocationRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateWorkflowInvocationRequestOrBuilder.java new file mode 100644 index 0000000..cfe0a9e --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateWorkflowInvocationRequestOrBuilder.java @@ -0,0 +1,58 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface CreateWorkflowInvocationRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The repository in which to create the workflow invocation. Must be in the
+   * format `projects/*/locations/*/repositories/*`.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + java.lang.String getParent(); + /** + *
+   * Required. The repository in which to create the workflow invocation. Must be in the
+   * format `projects/*/locations/*/repositories/*`.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + com.google.protobuf.ByteString + getParentBytes(); + + /** + *
+   * Required. The workflow invocation resource to create.
+   * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the workflowInvocation field is set. + */ + boolean hasWorkflowInvocation(); + /** + *
+   * Required. The workflow invocation resource to create.
+   * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The workflowInvocation. + */ + com.google.cloud.dataform.v1beta1.WorkflowInvocation getWorkflowInvocation(); + /** + *
+   * Required. The workflow invocation resource to create.
+   * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.cloud.dataform.v1beta1.WorkflowInvocationOrBuilder getWorkflowInvocationOrBuilder(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateWorkspaceRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateWorkspaceRequest.java new file mode 100644 index 0000000..9f35209 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateWorkspaceRequest.java @@ -0,0 +1,1011 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * `CreateWorkspace` request message.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.CreateWorkspaceRequest} + */ +public final class CreateWorkspaceRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.CreateWorkspaceRequest) + CreateWorkspaceRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use CreateWorkspaceRequest.newBuilder() to construct. + private CreateWorkspaceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private CreateWorkspaceRequest() { + parent_ = ""; + workspaceId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CreateWorkspaceRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private CreateWorkspaceRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + parent_ = s; + break; + } + case 18: { + com.google.cloud.dataform.v1beta1.Workspace.Builder subBuilder = null; + if (workspace_ != null) { + subBuilder = workspace_.toBuilder(); + } + workspace_ = input.readMessage(com.google.cloud.dataform.v1beta1.Workspace.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(workspace_); + workspace_ = subBuilder.buildPartial(); + } + + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + workspaceId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CreateWorkspaceRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CreateWorkspaceRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest.class, com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest.Builder.class); + } + + public static final int PARENT_FIELD_NUMBER = 1; + private volatile java.lang.Object parent_; + /** + *
+   * Required. The repository in which to create the workspace. Must be in the format
+   * `projects/*/locations/*/repositories/*`.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + @java.lang.Override + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } + } + /** + *
+   * Required. The repository in which to create the workspace. Must be in the format
+   * `projects/*/locations/*/repositories/*`.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int WORKSPACE_FIELD_NUMBER = 2; + private com.google.cloud.dataform.v1beta1.Workspace workspace_; + /** + *
+   * Required. The workspace to create.
+   * 
+ * + * .google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the workspace field is set. + */ + @java.lang.Override + public boolean hasWorkspace() { + return workspace_ != null; + } + /** + *
+   * Required. The workspace to create.
+   * 
+ * + * .google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The workspace. + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.Workspace getWorkspace() { + return workspace_ == null ? com.google.cloud.dataform.v1beta1.Workspace.getDefaultInstance() : workspace_; + } + /** + *
+   * Required. The workspace to create.
+   * 
+ * + * .google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.WorkspaceOrBuilder getWorkspaceOrBuilder() { + return getWorkspace(); + } + + public static final int WORKSPACE_ID_FIELD_NUMBER = 3; + private volatile java.lang.Object workspaceId_; + /** + *
+   * Required. The ID to use for the workspace, which will become the final component of
+   * the workspace's resource name.
+   * 
+ * + * string workspace_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The workspaceId. + */ + @java.lang.Override + public java.lang.String getWorkspaceId() { + java.lang.Object ref = workspaceId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + workspaceId_ = s; + return s; + } + } + /** + *
+   * Required. The ID to use for the workspace, which will become the final component of
+   * the workspace's resource name.
+   * 
+ * + * string workspace_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for workspaceId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getWorkspaceIdBytes() { + java.lang.Object ref = workspaceId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + workspaceId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + } + if (workspace_ != null) { + output.writeMessage(2, getWorkspace()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspaceId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, workspaceId_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + } + if (workspace_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getWorkspace()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspaceId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, workspaceId_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest other = (com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (hasWorkspace() != other.hasWorkspace()) return false; + if (hasWorkspace()) { + if (!getWorkspace() + .equals(other.getWorkspace())) return false; + } + if (!getWorkspaceId() + .equals(other.getWorkspaceId())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PARENT_FIELD_NUMBER; + hash = (53 * hash) + getParent().hashCode(); + if (hasWorkspace()) { + hash = (37 * hash) + WORKSPACE_FIELD_NUMBER; + hash = (53 * hash) + getWorkspace().hashCode(); + } + hash = (37 * hash) + WORKSPACE_ID_FIELD_NUMBER; + hash = (53 * hash) + getWorkspaceId().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * `CreateWorkspace` request message.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.CreateWorkspaceRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.CreateWorkspaceRequest) + com.google.cloud.dataform.v1beta1.CreateWorkspaceRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CreateWorkspaceRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CreateWorkspaceRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest.class, com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + parent_ = ""; + + if (workspaceBuilder_ == null) { + workspace_ = null; + } else { + workspace_ = null; + workspaceBuilder_ = null; + } + workspaceId_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CreateWorkspaceRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest build() { + com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest buildPartial() { + com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest result = new com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest(this); + result.parent_ = parent_; + if (workspaceBuilder_ == null) { + result.workspace_ = workspace_; + } else { + result.workspace_ = workspaceBuilder_.build(); + } + result.workspaceId_ = workspaceId_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest) { + return mergeFrom((com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest other) { + if (other == com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest.getDefaultInstance()) return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + onChanged(); + } + if (other.hasWorkspace()) { + mergeWorkspace(other.getWorkspace()); + } + if (!other.getWorkspaceId().isEmpty()) { + workspaceId_ = other.workspaceId_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object parent_ = ""; + /** + *
+     * Required. The repository in which to create the workspace. Must be in the format
+     * `projects/*/locations/*/repositories/*`.
+     * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The repository in which to create the workspace. Must be in the format
+     * `projects/*/locations/*/repositories/*`.
+     * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + public com.google.protobuf.ByteString + getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The repository in which to create the workspace. Must be in the format
+     * `projects/*/locations/*/repositories/*`.
+     * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The parent to set. + * @return This builder for chaining. + */ + public Builder setParent( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + parent_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. The repository in which to create the workspace. Must be in the format
+     * `projects/*/locations/*/repositories/*`.
+     * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearParent() { + + parent_ = getDefaultInstance().getParent(); + onChanged(); + return this; + } + /** + *
+     * Required. The repository in which to create the workspace. Must be in the format
+     * `projects/*/locations/*/repositories/*`.
+     * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The bytes for parent to set. + * @return This builder for chaining. + */ + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + parent_ = value; + onChanged(); + return this; + } + + private com.google.cloud.dataform.v1beta1.Workspace workspace_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Workspace, com.google.cloud.dataform.v1beta1.Workspace.Builder, com.google.cloud.dataform.v1beta1.WorkspaceOrBuilder> workspaceBuilder_; + /** + *
+     * Required. The workspace to create.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the workspace field is set. + */ + public boolean hasWorkspace() { + return workspaceBuilder_ != null || workspace_ != null; + } + /** + *
+     * Required. The workspace to create.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The workspace. + */ + public com.google.cloud.dataform.v1beta1.Workspace getWorkspace() { + if (workspaceBuilder_ == null) { + return workspace_ == null ? com.google.cloud.dataform.v1beta1.Workspace.getDefaultInstance() : workspace_; + } else { + return workspaceBuilder_.getMessage(); + } + } + /** + *
+     * Required. The workspace to create.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder setWorkspace(com.google.cloud.dataform.v1beta1.Workspace value) { + if (workspaceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + workspace_ = value; + onChanged(); + } else { + workspaceBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * Required. The workspace to create.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder setWorkspace( + com.google.cloud.dataform.v1beta1.Workspace.Builder builderForValue) { + if (workspaceBuilder_ == null) { + workspace_ = builderForValue.build(); + onChanged(); + } else { + workspaceBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * Required. The workspace to create.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder mergeWorkspace(com.google.cloud.dataform.v1beta1.Workspace value) { + if (workspaceBuilder_ == null) { + if (workspace_ != null) { + workspace_ = + com.google.cloud.dataform.v1beta1.Workspace.newBuilder(workspace_).mergeFrom(value).buildPartial(); + } else { + workspace_ = value; + } + onChanged(); + } else { + workspaceBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * Required. The workspace to create.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder clearWorkspace() { + if (workspaceBuilder_ == null) { + workspace_ = null; + onChanged(); + } else { + workspace_ = null; + workspaceBuilder_ = null; + } + + return this; + } + /** + *
+     * Required. The workspace to create.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public com.google.cloud.dataform.v1beta1.Workspace.Builder getWorkspaceBuilder() { + + onChanged(); + return getWorkspaceFieldBuilder().getBuilder(); + } + /** + *
+     * Required. The workspace to create.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public com.google.cloud.dataform.v1beta1.WorkspaceOrBuilder getWorkspaceOrBuilder() { + if (workspaceBuilder_ != null) { + return workspaceBuilder_.getMessageOrBuilder(); + } else { + return workspace_ == null ? + com.google.cloud.dataform.v1beta1.Workspace.getDefaultInstance() : workspace_; + } + } + /** + *
+     * Required. The workspace to create.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Workspace, com.google.cloud.dataform.v1beta1.Workspace.Builder, com.google.cloud.dataform.v1beta1.WorkspaceOrBuilder> + getWorkspaceFieldBuilder() { + if (workspaceBuilder_ == null) { + workspaceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Workspace, com.google.cloud.dataform.v1beta1.Workspace.Builder, com.google.cloud.dataform.v1beta1.WorkspaceOrBuilder>( + getWorkspace(), + getParentForChildren(), + isClean()); + workspace_ = null; + } + return workspaceBuilder_; + } + + private java.lang.Object workspaceId_ = ""; + /** + *
+     * Required. The ID to use for the workspace, which will become the final component of
+     * the workspace's resource name.
+     * 
+ * + * string workspace_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The workspaceId. + */ + public java.lang.String getWorkspaceId() { + java.lang.Object ref = workspaceId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + workspaceId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The ID to use for the workspace, which will become the final component of
+     * the workspace's resource name.
+     * 
+ * + * string workspace_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for workspaceId. + */ + public com.google.protobuf.ByteString + getWorkspaceIdBytes() { + java.lang.Object ref = workspaceId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + workspaceId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The ID to use for the workspace, which will become the final component of
+     * the workspace's resource name.
+     * 
+ * + * string workspace_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param value The workspaceId to set. + * @return This builder for chaining. + */ + public Builder setWorkspaceId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + workspaceId_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. The ID to use for the workspace, which will become the final component of
+     * the workspace's resource name.
+     * 
+ * + * string workspace_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return This builder for chaining. + */ + public Builder clearWorkspaceId() { + + workspaceId_ = getDefaultInstance().getWorkspaceId(); + onChanged(); + return this; + } + /** + *
+     * Required. The ID to use for the workspace, which will become the final component of
+     * the workspace's resource name.
+     * 
+ * + * string workspace_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param value The bytes for workspaceId to set. + * @return This builder for chaining. + */ + public Builder setWorkspaceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + workspaceId_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.CreateWorkspaceRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.CreateWorkspaceRequest) + private static final com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest(); + } + + public static com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateWorkspaceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateWorkspaceRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateWorkspaceRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateWorkspaceRequestOrBuilder.java new file mode 100644 index 0000000..9b55c7a --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateWorkspaceRequestOrBuilder.java @@ -0,0 +1,80 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface CreateWorkspaceRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.CreateWorkspaceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The repository in which to create the workspace. Must be in the format
+   * `projects/*/locations/*/repositories/*`.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + java.lang.String getParent(); + /** + *
+   * Required. The repository in which to create the workspace. Must be in the format
+   * `projects/*/locations/*/repositories/*`.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + com.google.protobuf.ByteString + getParentBytes(); + + /** + *
+   * Required. The workspace to create.
+   * 
+ * + * .google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the workspace field is set. + */ + boolean hasWorkspace(); + /** + *
+   * Required. The workspace to create.
+   * 
+ * + * .google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The workspace. + */ + com.google.cloud.dataform.v1beta1.Workspace getWorkspace(); + /** + *
+   * Required. The workspace to create.
+   * 
+ * + * .google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.cloud.dataform.v1beta1.WorkspaceOrBuilder getWorkspaceOrBuilder(); + + /** + *
+   * Required. The ID to use for the workspace, which will become the final component of
+   * the workspace's resource name.
+   * 
+ * + * string workspace_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The workspaceId. + */ + java.lang.String getWorkspaceId(); + /** + *
+   * Required. The ID to use for the workspace, which will become the final component of
+   * the workspace's resource name.
+   * 
+ * + * string workspace_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for workspaceId. + */ + com.google.protobuf.ByteString + getWorkspaceIdBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DataformProto.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DataformProto.java new file mode 100644 index 0000000..d954c4e --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DataformProto.java @@ -0,0 +1,1448 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public final class DataformProto { + private DataformProto() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_Repository_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_Repository_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_Repository_GitRemoteSettings_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_Repository_GitRemoteSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_ListRepositoriesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_ListRepositoriesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_ListRepositoriesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_ListRepositoriesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_GetRepositoryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_GetRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_CreateRepositoryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_CreateRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_UpdateRepositoryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_UpdateRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_DeleteRepositoryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_DeleteRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_Workspace_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_Workspace_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_ListWorkspacesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_ListWorkspacesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_ListWorkspacesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_ListWorkspacesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_GetWorkspaceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_GetWorkspaceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_CreateWorkspaceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_CreateWorkspaceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_DeleteWorkspaceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_DeleteWorkspaceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_CommitAuthor_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_CommitAuthor_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_PullGitCommitsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_PullGitCommitsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_PushGitCommitsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_PushGitCommitsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_UncommittedFileChange_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_UncommittedFileChange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_CommitWorkspaceChangesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_CommitWorkspaceChangesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_ResetWorkspaceChangesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_ResetWorkspaceChangesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_FetchFileDiffRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_FetchFileDiffRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_FetchFileDiffResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_FetchFileDiffResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_DirectoryEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_DirectoryEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_MakeDirectoryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_MakeDirectoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_MakeDirectoryResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_MakeDirectoryResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_RemoveDirectoryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_RemoveDirectoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_MoveDirectoryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_MoveDirectoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_MoveDirectoryResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_MoveDirectoryResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_ReadFileRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_ReadFileRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_ReadFileResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_ReadFileResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_RemoveFileRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_RemoveFileRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_MoveFileRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_MoveFileRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_MoveFileResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_MoveFileResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_WriteFileRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_WriteFileRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_WriteFileResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_WriteFileResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_CompilationResult_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_CompilationResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_CompilationResult_CodeCompilationConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_CompilationResult_CodeCompilationConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_CompilationResult_CodeCompilationConfig_VarsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_CompilationResult_CodeCompilationConfig_VarsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_CompilationResult_CompilationError_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_CompilationResult_CompilationError_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_GetCompilationResultRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_GetCompilationResultRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_CreateCompilationResultRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_CreateCompilationResultRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_Target_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_Target_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_ColumnDescriptor_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_ColumnDescriptor_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_BigqueryLabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_BigqueryLabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_IncrementalTableConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_IncrementalTableConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_AdditionalOptionsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_AdditionalOptionsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Operations_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Operations_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Assertion_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Assertion_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Declaration_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Declaration_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_InvocationConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_InvocationConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_GetWorkflowInvocationRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_GetWorkflowInvocationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_CreateWorkflowInvocationRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_CreateWorkflowInvocationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_DeleteWorkflowInvocationRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_DeleteWorkflowInvocationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_CancelWorkflowInvocationRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_CancelWorkflowInvocationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_BigQueryAction_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_BigQueryAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n,google/cloud/dataform/v1beta1/dataform" + + ".proto\022\035google.cloud.dataform.v1beta1\032\034g" + + "oogle/api/annotations.proto\032\027google/api/" + + "client.proto\032\037google/api/field_behavior." + + "proto\032\031google/api/resource.proto\032\033google" + + "/protobuf/empty.proto\032 google/protobuf/f" + + "ield_mask.proto\032\032google/type/interval.pr" + + "oto\"\310\004\n\nRepository\022\021\n\004name\030\001 \001(\tB\003\340A\003\022]\n" + + "\023git_remote_settings\030\002 \001(\0132;.google.clou" + + "d.dataform.v1beta1.Repository.GitRemoteS" + + "ettingsB\003\340A\001\032\333\002\n\021GitRemoteSettings\022\020\n\003ur" + + "l\030\001 \001(\tB\003\340A\002\022\033\n\016default_branch\030\002 \001(\tB\003\340A" + + "\002\022_\n#authentication_token_secret_version" + + "\030\003 \001(\tB2\340A\002\372A,\n*secretmanager.googleapis" + + ".com/SecretVersion\022b\n\014token_status\030\004 \001(\016" + + "2G.google.cloud.dataform.v1beta1.Reposit" + + "ory.GitRemoteSettings.TokenStatusB\003\340A\003\"R" + + "\n\013TokenStatus\022\034\n\030TOKEN_STATUS_UNSPECIFIE" + + "D\020\000\022\r\n\tNOT_FOUND\020\001\022\013\n\007INVALID\020\002\022\t\n\005VALID" + + "\020\003:j\352Ag\n\"dataform.googleapis.com/Reposit" + + "ory\022Aprojects/{project}/locations/{locat" + + "ion}/repositories/{repository}\"\261\001\n\027ListR" + + "epositoriesRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372" + + "A#\n!locations.googleapis.com/Location\022\026\n" + + "\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(" + + "\tB\003\340A\001\022\025\n\010order_by\030\004 \001(\tB\003\340A\001\022\023\n\006filter\030" + + "\005 \001(\tB\003\340A\001\"\211\001\n\030ListRepositoriesResponse\022" + + "?\n\014repositories\030\001 \003(\0132).google.cloud.dat" + + "aform.v1beta1.Repository\022\027\n\017next_page_to" + + "ken\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"P\n\024GetRep" + + "ositoryRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"da" + + "taform.googleapis.com/Repository\"\264\001\n\027Cre" + + "ateRepositoryRequest\0229\n\006parent\030\001 \001(\tB)\340A" + + "\002\372A#\n!locations.googleapis.com/Location\022" + + "B\n\nrepository\030\002 \001(\0132).google.cloud.dataf" + + "orm.v1beta1.RepositoryB\003\340A\002\022\032\n\rrepositor" + + "y_id\030\003 \001(\tB\003\340A\002\"\223\001\n\027UpdateRepositoryRequ" + + "est\0224\n\013update_mask\030\001 \001(\0132\032.google.protob" + + "uf.FieldMaskB\003\340A\001\022B\n\nrepository\030\002 \001(\0132)." + + "google.cloud.dataform.v1beta1.Repository" + + "B\003\340A\002\"b\n\027DeleteRepositoryRequest\0228\n\004name" + + "\030\001 \001(\tB*\340A\002\372A$\n\"dataform.googleapis.com/" + + "Repository\022\r\n\005force\030\002 \001(\010\"V\n\032FetchRemote" + + "BranchesRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"d" + + "ataform.googleapis.com/Repository\"/\n\033Fet" + + "chRemoteBranchesResponse\022\020\n\010branches\030\001 \003" + + "(\t\"\241\001\n\tWorkspace\022\021\n\004name\030\001 \001(\tB\003\340A\003:\200\001\352A" + + "}\n!dataform.googleapis.com/Workspace\022Xpr" + + "ojects/{project}/locations/{location}/re" + + "positories/{repository}/workspaces/{work" + + "space}\"\260\001\n\025ListWorkspacesRequest\022:\n\006pare" + + "nt\030\001 \001(\tB*\340A\002\372A$\n\"dataform.googleapis.co" + + "m/Repository\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\n" + + "page_token\030\003 \001(\tB\003\340A\001\022\025\n\010order_by\030\004 \001(\tB" + + "\003\340A\001\022\023\n\006filter\030\005 \001(\tB\003\340A\001\"\204\001\n\026ListWorksp" + + "acesResponse\022<\n\nworkspaces\030\001 \003(\0132(.googl" + + "e.cloud.dataform.v1beta1.Workspace\022\027\n\017ne" + + "xt_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t" + + "\"N\n\023GetWorkspaceRequest\0227\n\004name\030\001 \001(\tB)\340" + + "A\002\372A#\n!dataform.googleapis.com/Workspace" + + "\"\261\001\n\026CreateWorkspaceRequest\022:\n\006parent\030\001 " + + "\001(\tB*\340A\002\372A$\n\"dataform.googleapis.com/Rep" + + "ository\022@\n\tworkspace\030\002 \001(\0132(.google.clou" + + "d.dataform.v1beta1.WorkspaceB\003\340A\002\022\031\n\014wor" + + "kspace_id\030\003 \001(\tB\003\340A\002\"Q\n\026DeleteWorkspaceR" + + "equest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dataform.g" + + "oogleapis.com/Workspace\"=\n\014CommitAuthor\022" + + "\021\n\004name\030\001 \001(\tB\003\340A\002\022\032\n\remail_address\030\002 \001(" + + "\tB\003\340A\002\"\256\001\n\025PullGitCommitsRequest\0227\n\004name" + + "\030\001 \001(\tB)\340A\002\372A#\n!dataform.googleapis.com/" + + "Workspace\022\032\n\rremote_branch\030\002 \001(\tB\003\340A\001\022@\n" + + "\006author\030\003 \001(\0132+.google.cloud.dataform.v1" + + "beta1.CommitAuthorB\003\340A\002\"l\n\025PushGitCommit" + + "sRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dataform" + + ".googleapis.com/Workspace\022\032\n\rremote_bran" + + "ch\030\002 \001(\tB\003\340A\001\"V\n\033FetchFileGitStatusesReq" + + "uest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dataform.goo" + + "gleapis.com/Workspace\"\374\002\n\034FetchFileGitSt" + + "atusesResponse\022s\n\030uncommitted_file_chang" + + "es\030\001 \003(\0132Q.google.cloud.dataform.v1beta1" + + ".FetchFileGitStatusesResponse.Uncommitte" + + "dFileChange\032\346\001\n\025UncommittedFileChange\022\014\n" + + "\004path\030\001 \001(\t\022f\n\005state\030\002 \001(\0162W.google.clou" + + "d.dataform.v1beta1.FetchFileGitStatusesR" + + "esponse.UncommittedFileChange.State\"W\n\005S" + + "tate\022\025\n\021STATE_UNSPECIFIED\020\000\022\t\n\005ADDED\020\001\022\013" + + "\n\007DELETED\020\002\022\014\n\010MODIFIED\020\003\022\021\n\rHAS_CONFLIC" + + "TS\020\004\"q\n\032FetchGitAheadBehindRequest\0227\n\004na" + + "me\030\001 \001(\tB)\340A\002\372A#\n!dataform.googleapis.co" + + "m/Workspace\022\032\n\rremote_branch\030\002 \001(\tB\003\340A\001\"" + + "L\n\033FetchGitAheadBehindResponse\022\025\n\rcommit" + + "s_ahead\030\001 \001(\005\022\026\n\016commits_behind\030\002 \001(\005\"\313\001" + + "\n\035CommitWorkspaceChangesRequest\0227\n\004name\030" + + "\001 \001(\tB)\340A\002\372A#\n!dataform.googleapis.com/W" + + "orkspace\022@\n\006author\030\004 \001(\0132+.google.cloud." + + "dataform.v1beta1.CommitAuthorB\003\340A\002\022\033\n\016co" + + "mmit_message\030\002 \001(\tB\003\340A\001\022\022\n\005paths\030\003 \003(\tB\003" + + "\340A\001\"\177\n\034ResetWorkspaceChangesRequest\0227\n\004n" + + "ame\030\001 \001(\tB)\340A\002\372A#\n!dataform.googleapis.c" + + "om/Workspace\022\022\n\005paths\030\002 \003(\tB\003\340A\001\022\022\n\005clea" + + "n\030\003 \001(\010B\003\340A\001\"g\n\024FetchFileDiffRequest\022<\n\t" + + "workspace\030\001 \001(\tB)\340A\002\372A#\n!dataform.google" + + "apis.com/Workspace\022\021\n\004path\030\002 \001(\tB\003\340A\002\"/\n" + + "\025FetchFileDiffResponse\022\026\n\016formatted_diff" + + "\030\001 \001(\t\"\241\001\n\035QueryDirectoryContentsRequest" + + "\022<\n\tworkspace\030\001 \001(\tB)\340A\002\372A#\n!dataform.go" + + "ogleapis.com/Workspace\022\021\n\004path\030\002 \001(\tB\003\340A" + + "\001\022\026\n\tpage_size\030\003 \001(\005B\003\340A\001\022\027\n\npage_token\030" + + "\004 \001(\tB\003\340A\001\"\342\001\n\036QueryDirectoryContentsRes" + + "ponse\022g\n\021directory_entries\030\001 \003(\0132L.googl" + + "e.cloud.dataform.v1beta1.QueryDirectoryC" + + "ontentsResponse.DirectoryEntry\022\027\n\017next_p" + + "age_token\030\002 \001(\t\032>\n\016DirectoryEntry\022\016\n\004fil" + + "e\030\001 \001(\tH\000\022\023\n\tdirectory\030\002 \001(\tH\000B\007\n\005entry\"" + + "g\n\024MakeDirectoryRequest\022<\n\tworkspace\030\001 \001" + + "(\tB)\340A\002\372A#\n!dataform.googleapis.com/Work" + + "space\022\021\n\004path\030\002 \001(\tB\003\340A\002\"\027\n\025MakeDirector" + + "yResponse\"i\n\026RemoveDirectoryRequest\022<\n\tw" + + "orkspace\030\001 \001(\tB)\340A\002\372A#\n!dataform.googlea" + + "pis.com/Workspace\022\021\n\004path\030\002 \001(\tB\003\340A\002\"~\n\024" + + "MoveDirectoryRequest\022<\n\tworkspace\030\001 \001(\tB" + + ")\340A\002\372A#\n!dataform.googleapis.com/Workspa" + + "ce\022\021\n\004path\030\002 \001(\tB\003\340A\002\022\025\n\010new_path\030\003 \001(\tB" + + "\003\340A\002\"\027\n\025MoveDirectoryResponse\"b\n\017ReadFil" + + "eRequest\022<\n\tworkspace\030\001 \001(\tB)\340A\002\372A#\n!dat" + + "aform.googleapis.com/Workspace\022\021\n\004path\030\002" + + " \001(\tB\003\340A\002\")\n\020ReadFileResponse\022\025\n\rfile_co" + + "ntents\030\001 \001(\014\"d\n\021RemoveFileRequest\022<\n\twor" + + "kspace\030\001 \001(\tB)\340A\002\372A#\n!dataform.googleapi" + + "s.com/Workspace\022\021\n\004path\030\002 \001(\tB\003\340A\002\"y\n\017Mo" + + "veFileRequest\022<\n\tworkspace\030\001 \001(\tB)\340A\002\372A#" + + "\n!dataform.googleapis.com/Workspace\022\021\n\004p" + + "ath\030\002 \001(\tB\003\340A\002\022\025\n\010new_path\030\003 \001(\tB\003\340A\002\"\022\n" + + "\020MoveFileResponse\"z\n\020WriteFileRequest\022<\n" + + "\tworkspace\030\001 \001(\tB)\340A\002\372A#\n!dataform.googl" + + "eapis.com/Workspace\022\021\n\004path\030\002 \001(\tB\003\340A\002\022\025" + + "\n\010contents\030\003 \001(\014B\003\340A\002\"\023\n\021WriteFileRespon" + + "se\"Y\n\031InstallNpmPackagesRequest\022<\n\tworks" + + "pace\030\001 \001(\tB)\340A\002\372A#\n!dataform.googleapis." + + "com/Workspace\"\034\n\032InstallNpmPackagesRespo" + + "nse\"\261\010\n\021CompilationResult\022\021\n\004name\030\001 \001(\tB" + + "\003\340A\003\022\034\n\rgit_commitish\030\002 \001(\tB\003\340A\005H\000\022>\n\two" + + "rkspace\030\003 \001(\tB)\340A\005\372A#\n!dataform.googleap" + + "is.com/WorkspaceH\000\022l\n\027code_compilation_c" + + "onfig\030\004 \001(\0132F.google.cloud.dataform.v1be" + + "ta1.CompilationResult.CodeCompilationCon" + + "figB\003\340A\005\022\"\n\025dataform_core_version\030\005 \001(\tB" + + "\003\340A\003\022b\n\022compilation_errors\030\006 \003(\0132A.googl" + + "e.cloud.dataform.v1beta1.CompilationResu" + + "lt.CompilationErrorB\003\340A\003\032\370\002\n\025CodeCompila" + + "tionConfig\022\035\n\020default_database\030\001 \001(\tB\003\340A" + + "\001\022\033\n\016default_schema\030\002 \001(\tB\003\340A\001\022\035\n\020defaul" + + "t_location\030\010 \001(\tB\003\340A\001\022\035\n\020assertion_schem" + + "a\030\003 \001(\tB\003\340A\001\022c\n\004vars\030\004 \003(\0132P.google.clou" + + "d.dataform.v1beta1.CompilationResult.Cod" + + "eCompilationConfig.VarsEntryB\003\340A\001\022\034\n\017dat" + + "abase_suffix\030\005 \001(\tB\003\340A\001\022\032\n\rschema_suffix" + + "\030\006 \001(\tB\003\340A\001\022\031\n\014table_prefix\030\007 \001(\tB\003\340A\001\032+" + + "\n\tVarsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:" + + "\0028\001\032\222\001\n\020CompilationError\022\024\n\007message\030\001 \001(" + + "\tB\003\340A\003\022\022\n\005stack\030\002 \001(\tB\003\340A\003\022\021\n\004path\030\003 \001(\t" + + "B\003\340A\003\022A\n\raction_target\030\004 \001(\0132%.google.cl" + + "oud.dataform.v1beta1.TargetB\003\340A\003:\232\001\352A\226\001\n" + + ")dataform.googleapis.com/CompilationResu" + + "lt\022iprojects/{project}/locations/{locati" + + "on}/repositories/{repository}/compilatio" + + "nResults/{compilation_result}B\010\n\006source\"" + + "\214\001\n\035ListCompilationResultsRequest\022:\n\006par" + + "ent\030\001 \001(\tB*\340A\002\372A$\n\"dataform.googleapis.c" + + "om/Repository\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n" + + "\npage_token\030\003 \001(\tB\003\340A\001\"\235\001\n\036ListCompilati" + + "onResultsResponse\022M\n\023compilation_results" + + "\030\001 \003(\01320.google.cloud.dataform.v1beta1.C" + + "ompilationResult\022\027\n\017next_page_token\030\002 \001(" + + "\t\022\023\n\013unreachable\030\003 \003(\t\"^\n\033GetCompilation" + + "ResultRequest\022?\n\004name\030\001 \001(\tB1\340A\002\372A+\n)dat" + + "aform.googleapis.com/CompilationResult\"\257" + + "\001\n\036CreateCompilationResultRequest\022:\n\006par" + + "ent\030\001 \001(\tB*\340A\002\372A$\n\"dataform.googleapis.c" + + "om/Repository\022Q\n\022compilation_result\030\002 \001(" + + "\01320.google.cloud.dataform.v1beta1.Compil" + + "ationResultB\003\340A\002\"8\n\006Target\022\020\n\010database\030\001" + + " \001(\t\022\016\n\006schema\030\002 \001(\t\022\014\n\004name\030\003 \001(\t\"\352\002\n\022R" + + "elationDescriptor\022\023\n\013description\030\001 \001(\t\022S" + + "\n\007columns\030\002 \003(\0132B.google.cloud.dataform." + + "v1beta1.RelationDescriptor.ColumnDescrip" + + "tor\022^\n\017bigquery_labels\030\003 \003(\0132E.google.cl" + + "oud.dataform.v1beta1.RelationDescriptor." + + "BigqueryLabelsEntry\032S\n\020ColumnDescriptor\022" + + "\014\n\004path\030\001 \003(\t\022\023\n\013description\030\002 \001(\t\022\034\n\024bi" + + "gquery_policy_tags\030\003 \003(\t\0325\n\023BigqueryLabe" + + "lsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"" + + "\323\021\n\027CompilationResultAction\0225\n\006target\030\001 " + + "\001(\0132%.google.cloud.dataform.v1beta1.Targ" + + "et\022?\n\020canonical_target\030\002 \001(\0132%.google.cl" + + "oud.dataform.v1beta1.Target\022\021\n\tfile_path" + + "\030\003 \001(\t\022S\n\010relation\030\004 \001(\0132?.google.cloud." + + "dataform.v1beta1.CompilationResultAction" + + ".RelationH\000\022W\n\noperations\030\005 \001(\0132A.google" + + ".cloud.dataform.v1beta1.CompilationResul" + + "tAction.OperationsH\000\022U\n\tassertion\030\006 \001(\0132" + + "@.google.cloud.dataform.v1beta1.Compilat" + + "ionResultAction.AssertionH\000\022Y\n\013declarati" + + "on\030\007 \001(\0132B.google.cloud.dataform.v1beta1" + + ".CompilationResultAction.DeclarationH\000\032\336" + + "\010\n\010Relation\022A\n\022dependency_targets\030\001 \003(\0132" + + "%.google.cloud.dataform.v1beta1.Target\022\020" + + "\n\010disabled\030\002 \001(\010\022\014\n\004tags\030\003 \003(\t\022N\n\023relati" + + "on_descriptor\030\004 \001(\01321.google.cloud.dataf" + + "orm.v1beta1.RelationDescriptor\022c\n\rrelati" + + "on_type\030\005 \001(\0162L.google.cloud.dataform.v1" + + "beta1.CompilationResultAction.Relation.R" + + "elationType\022\024\n\014select_query\030\006 \001(\t\022\026\n\016pre" + + "_operations\030\007 \003(\t\022\027\n\017post_operations\030\010 \003" + + "(\t\022x\n\030incremental_table_config\030\t \001(\0132V.g" + + "oogle.cloud.dataform.v1beta1.Compilation" + + "ResultAction.Relation.IncrementalTableCo" + + "nfig\022\034\n\024partition_expression\030\n \001(\t\022\033\n\023cl" + + "uster_expressions\030\013 \003(\t\022!\n\031partition_exp" + + "iration_days\030\014 \001(\005\022 \n\030require_partition_" + + "filter\030\r \001(\010\022r\n\022additional_options\030\016 \003(\013" + + "2V.google.cloud.dataform.v1beta1.Compila" + + "tionResultAction.Relation.AdditionalOpti" + + "onsEntry\032\330\001\n\026IncrementalTableConfig\022 \n\030i" + + "ncremental_select_query\030\001 \001(\t\022\030\n\020refresh" + + "_disabled\030\002 \001(\010\022\030\n\020unique_key_parts\030\003 \003(" + + "\t\022\037\n\027update_partition_filter\030\004 \001(\t\022\"\n\032in" + + "cremental_pre_operations\030\005 \003(\t\022#\n\033increm" + + "ental_post_operations\030\006 \003(\t\0328\n\026Additiona" + + "lOptionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(" + + "\t:\0028\001\"p\n\014RelationType\022\035\n\031RELATION_TYPE_U" + + "NSPECIFIED\020\000\022\t\n\005TABLE\020\001\022\010\n\004VIEW\020\002\022\025\n\021INC" + + "REMENTAL_TABLE\020\003\022\025\n\021MATERIALIZED_VIEW\020\004\032" + + "\344\001\n\nOperations\022A\n\022dependency_targets\030\001 \003" + + "(\0132%.google.cloud.dataform.v1beta1.Targe" + + "t\022\020\n\010disabled\030\002 \001(\010\022\014\n\004tags\030\003 \003(\t\022N\n\023rel" + + "ation_descriptor\030\006 \001(\01321.google.cloud.da" + + "taform.v1beta1.RelationDescriptor\022\017\n\007que" + + "ries\030\004 \003(\t\022\022\n\nhas_output\030\005 \001(\010\032\222\002\n\tAsser" + + "tion\022A\n\022dependency_targets\030\001 \003(\0132%.googl" + + "e.cloud.dataform.v1beta1.Target\022<\n\rparen" + + "t_action\030\005 \001(\0132%.google.cloud.dataform.v" + + "1beta1.Target\022\020\n\010disabled\030\002 \001(\010\022\014\n\004tags\030" + + "\003 \003(\t\022\024\n\014select_query\030\004 \001(\t\022N\n\023relation_" + + "descriptor\030\006 \001(\01321.google.cloud.dataform" + + ".v1beta1.RelationDescriptor\032]\n\013Declarati" + + "on\022N\n\023relation_descriptor\030\001 \001(\01321.google" + + ".cloud.dataform.v1beta1.RelationDescript" + + "orB\021\n\017compiled_object\"\255\001\n$QueryCompilati" + + "onResultActionsRequest\022?\n\004name\030\001 \001(\tB1\340A" + + "\002\372A+\n)dataform.googleapis.com/Compilatio" + + "nResult\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_" + + "token\030\003 \001(\tB\003\340A\001\022\023\n\006filter\030\004 \001(\tB\003\340A\001\"\234\001" + + "\n%QueryCompilationResultActionsResponse\022" + + "Z\n\032compilation_result_actions\030\001 \003(\01326.go" + + "ogle.cloud.dataform.v1beta1.CompilationR" + + "esultAction\022\027\n\017next_page_token\030\002 \001(\t\"\356\006\n" + + "\022WorkflowInvocation\022\021\n\004name\030\001 \001(\tB\003\340A\003\022M" + + "\n\022compilation_result\030\002 \001(\tB1\340A\005\372A+\n)data" + + "form.googleapis.com/CompilationResult\022b\n" + + "\021invocation_config\030\003 \001(\0132B.google.cloud." + + "dataform.v1beta1.WorkflowInvocation.Invo" + + "cationConfigB\003\340A\005\022K\n\005state\030\004 \001(\01627.googl" + + "e.cloud.dataform.v1beta1.WorkflowInvocat" + + "ion.StateB\003\340A\003\0225\n\021invocation_timing\030\005 \001(" + + "\0132\025.google.type.IntervalB\003\340A\003\032\207\002\n\020Invoca" + + "tionConfig\022D\n\020included_targets\030\001 \003(\0132%.g" + + "oogle.cloud.dataform.v1beta1.TargetB\003\340A\005" + + "\022\032\n\rincluded_tags\030\002 \003(\tB\003\340A\005\022-\n transiti" + + "ve_dependencies_included\030\003 \001(\010B\003\340A\005\022+\n\036t" + + "ransitive_dependents_included\030\004 \001(\010B\003\340A\005" + + "\0225\n(fully_refresh_incremental_tables_ena" + + "bled\030\005 \001(\010B\003\340A\005\"d\n\005State\022\025\n\021STATE_UNSPEC" + + "IFIED\020\000\022\013\n\007RUNNING\020\001\022\r\n\tSUCCEEDED\020\002\022\r\n\tC" + + "ANCELLED\020\003\022\n\n\006FAILED\020\004\022\r\n\tCANCELING\020\005:\235\001" + + "\352A\231\001\n*dataform.googleapis.com/WorkflowIn" + + "vocation\022kprojects/{project}/locations/{" + + "location}/repositories/{repository}/work" + + "flowInvocations/{workflow_invocation}\"\215\001" + + "\n\036ListWorkflowInvocationsRequest\022:\n\006pare" + + "nt\030\001 \001(\tB*\340A\002\372A$\n\"dataform.googleapis.co" + + "m/Repository\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\n" + + "page_token\030\003 \001(\tB\003\340A\001\"\240\001\n\037ListWorkflowIn" + + "vocationsResponse\022O\n\024workflow_invocation" + + "s\030\001 \003(\01321.google.cloud.dataform.v1beta1." + + "WorkflowInvocation\022\027\n\017next_page_token\030\002 " + + "\001(\t\022\023\n\013unreachable\030\003 \003(\t\"`\n\034GetWorkflowI" + + "nvocationRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*" + + "dataform.googleapis.com/WorkflowInvocati" + + "on\"\262\001\n\037CreateWorkflowInvocationRequest\022:" + + "\n\006parent\030\001 \001(\tB*\340A\002\372A$\n\"dataform.googlea" + + "pis.com/Repository\022S\n\023workflow_invocatio" + + "n\030\002 \001(\01321.google.cloud.dataform.v1beta1." + + "WorkflowInvocationB\003\340A\002\"c\n\037DeleteWorkflo" + + "wInvocationRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A," + + "\n*dataform.googleapis.com/WorkflowInvoca" + + "tion\"c\n\037CancelWorkflowInvocationRequest\022" + + "@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*dataform.googleap" + + "is.com/WorkflowInvocation\"\274\004\n\030WorkflowIn" + + "vocationAction\022:\n\006target\030\001 \001(\0132%.google." + + "cloud.dataform.v1beta1.TargetB\003\340A\003\022D\n\020ca" + + "nonical_target\030\002 \001(\0132%.google.cloud.data" + + "form.v1beta1.TargetB\003\340A\003\022Q\n\005state\030\004 \001(\0162" + + "=.google.cloud.dataform.v1beta1.Workflow" + + "InvocationAction.StateB\003\340A\003\022\033\n\016failure_r" + + "eason\030\007 \001(\tB\003\340A\003\0225\n\021invocation_timing\030\005 " + + "\001(\0132\025.google.type.IntervalB\003\340A\003\022d\n\017bigqu" + + "ery_action\030\006 \001(\0132F.google.cloud.dataform" + + ".v1beta1.WorkflowInvocationAction.BigQue" + + "ryActionB\003\340A\003\032)\n\016BigQueryAction\022\027\n\nsql_s" + + "cript\030\001 \001(\tB\003\340A\003\"f\n\005State\022\013\n\007PENDING\020\000\022\013" + + "\n\007RUNNING\020\001\022\013\n\007SKIPPED\020\002\022\014\n\010DISABLED\020\003\022\r" + + "\n\tSUCCEEDED\020\004\022\r\n\tCANCELLED\020\005\022\n\n\006FAILED\020\006" + + "\"\232\001\n%QueryWorkflowInvocationActionsReque" + + "st\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*dataform.googl" + + "eapis.com/WorkflowInvocation\022\026\n\tpage_siz" + + "e\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001\"\237\001" + + "\n&QueryWorkflowInvocationActionsResponse" + + "\022\\\n\033workflow_invocation_actions\030\001 \003(\01327." + + "google.cloud.dataform.v1beta1.WorkflowIn" + + "vocationAction\022\027\n\017next_page_token\030\002 \001(\t2" + + "\313>\n\010Dataform\022\313\001\n\020ListRepositories\0226.goog" + + "le.cloud.dataform.v1beta1.ListRepositori" + + "esRequest\0327.google.cloud.dataform.v1beta" + + "1.ListRepositoriesResponse\"F\202\323\344\223\0027\0225/v1b" + + "eta1/{parent=projects/*/locations/*}/rep" + + "ositories\332A\006parent\022\265\001\n\rGetRepository\0223.g" + + "oogle.cloud.dataform.v1beta1.GetReposito" + + "ryRequest\032).google.cloud.dataform.v1beta" + + "1.Repository\"D\202\323\344\223\0027\0225/v1beta1/{name=pro" + + "jects/*/locations/*/repositories/*}\332A\004na" + + "me\022\342\001\n\020CreateRepository\0226.google.cloud.d" + + "ataform.v1beta1.CreateRepositoryRequest\032" + + ").google.cloud.dataform.v1beta1.Reposito" + + "ry\"k\202\323\344\223\002C\"5/v1beta1/{parent=projects/*/" + + "locations/*}/repositories:\nrepository\332A\037" + + "parent,repository,repository_id\022\344\001\n\020Upda" + + "teRepository\0226.google.cloud.dataform.v1b" + + "eta1.UpdateRepositoryRequest\032).google.cl" + + "oud.dataform.v1beta1.Repository\"m\202\323\344\223\002N2" + + "@/v1beta1/{repository.name=projects/*/lo" + + "cations/*/repositories/*}:\nrepository\332A\026" + + "repository,update_mask\022\250\001\n\020DeleteReposit" + + "ory\0226.google.cloud.dataform.v1beta1.Dele" + + "teRepositoryRequest\032\026.google.protobuf.Em" + + "pty\"D\202\323\344\223\0027*5/v1beta1/{name=projects/*/l" + + "ocations/*/repositories/*}\332A\004name\022\337\001\n\023Fe" + + "tchRemoteBranches\0229.google.cloud.datafor" + + "m.v1beta1.FetchRemoteBranchesRequest\032:.g" + + "oogle.cloud.dataform.v1beta1.FetchRemote" + + "BranchesResponse\"Q\202\323\344\223\002K\022I/v1beta1/{name" + + "=projects/*/locations/*/repositories/*}:" + + "fetchRemoteBranches\022\322\001\n\016ListWorkspaces\0224" + + ".google.cloud.dataform.v1beta1.ListWorks" + + "pacesRequest\0325.google.cloud.dataform.v1b" + + "eta1.ListWorkspacesResponse\"S\202\323\344\223\002D\022B/v1" + + "beta1/{parent=projects/*/locations/*/rep" + + "ositories/*}/workspaces\332A\006parent\022\277\001\n\014Get" + + "Workspace\0222.google.cloud.dataform.v1beta" + + "1.GetWorkspaceRequest\032(.google.cloud.dat" + + "aform.v1beta1.Workspace\"Q\202\323\344\223\002D\022B/v1beta" + + "1/{name=projects/*/locations/*/repositor" + + "ies/*/workspaces/*}\332A\004name\022\351\001\n\017CreateWor" + + "kspace\0225.google.cloud.dataform.v1beta1.C" + + "reateWorkspaceRequest\032(.google.cloud.dat" + + "aform.v1beta1.Workspace\"u\202\323\344\223\002O\"B/v1beta" + + "1/{parent=projects/*/locations/*/reposit" + + "ories/*}/workspaces:\tworkspace\332A\035parent," + + "workspace,workspace_id\022\263\001\n\017DeleteWorkspa" + + "ce\0225.google.cloud.dataform.v1beta1.Delet" + + "eWorkspaceRequest\032\026.google.protobuf.Empt" + + "y\"Q\202\323\344\223\002D*B/v1beta1/{name=projects/*/loc" + + "ations/*/repositories/*/workspaces/*}\332A\004" + + "name\022\360\001\n\022InstallNpmPackages\0228.google.clo" + + "ud.dataform.v1beta1.InstallNpmPackagesRe" + + "quest\0329.google.cloud.dataform.v1beta1.In" + + "stallNpmPackagesResponse\"e\202\323\344\223\002_\"Z/v1bet" + + "a1/{workspace=projects/*/locations/*/rep" + + "ositories/*/workspaces/*}:installNpmPack" + + "ages:\001*\022\262\001\n\016PullGitCommits\0224.google.clou" + + "d.dataform.v1beta1.PullGitCommitsRequest" + + "\032\026.google.protobuf.Empty\"R\202\323\344\223\002L\"G/v1bet" + + "a1/{name=projects/*/locations/*/reposito" + + "ries/*/workspaces/*}:pull:\001*\022\262\001\n\016PushGit" + + "Commits\0224.google.cloud.dataform.v1beta1." + + "PushGitCommitsRequest\032\026.google.protobuf." + + "Empty\"R\202\323\344\223\002L\"G/v1beta1/{name=projects/*" + + "/locations/*/repositories/*/workspaces/*" + + "}:push:\001*\022\360\001\n\024FetchFileGitStatuses\022:.goo" + + "gle.cloud.dataform.v1beta1.FetchFileGitS" + + "tatusesRequest\032;.google.cloud.dataform.v" + + "1beta1.FetchFileGitStatusesResponse\"_\202\323\344" + + "\223\002Y\022W/v1beta1/{name=projects/*/locations" + + "/*/repositories/*/workspaces/*}:fetchFil" + + "eGitStatuses\022\354\001\n\023FetchGitAheadBehind\0229.g" + + "oogle.cloud.dataform.v1beta1.FetchGitAhe" + + "adBehindRequest\032:.google.cloud.dataform." + + "v1beta1.FetchGitAheadBehindResponse\"^\202\323\344" + + "\223\002X\022V/v1beta1/{name=projects/*/locations" + + "/*/repositories/*/workspaces/*}:fetchGit", + "AheadBehind\022\304\001\n\026CommitWorkspaceChanges\022<" + + ".google.cloud.dataform.v1beta1.CommitWor" + + "kspaceChangesRequest\032\026.google.protobuf.E" + + "mpty\"T\202\323\344\223\002N\"I/v1beta1/{name=projects/*/" + + "locations/*/repositories/*/workspaces/*}" + + ":commit:\001*\022\301\001\n\025ResetWorkspaceChanges\022;.g" + + "oogle.cloud.dataform.v1beta1.ResetWorksp" + + "aceChangesRequest\032\026.google.protobuf.Empt" + + "y\"S\202\323\344\223\002M\"H/v1beta1/{name=projects/*/loc" + + "ations/*/repositories/*/workspaces/*}:re" + + "set:\001*\022\331\001\n\rFetchFileDiff\0223.google.cloud." + + "dataform.v1beta1.FetchFileDiffRequest\0324." + + "google.cloud.dataform.v1beta1.FetchFileD" + + "iffResponse\"]\202\323\344\223\002W\022U/v1beta1/{workspace" + + "=projects/*/locations/*/repositories/*/w" + + "orkspaces/*}:fetchFileDiff\022\375\001\n\026QueryDire" + + "ctoryContents\022<.google.cloud.dataform.v1" + + "beta1.QueryDirectoryContentsRequest\032=.go" + + "ogle.cloud.dataform.v1beta1.QueryDirecto" + + "ryContentsResponse\"f\202\323\344\223\002`\022^/v1beta1/{wo" + + "rkspace=projects/*/locations/*/repositor" + + "ies/*/workspaces/*}:queryDirectoryConten" + + "ts\022\334\001\n\rMakeDirectory\0223.google.cloud.data" + + "form.v1beta1.MakeDirectoryRequest\0324.goog" + + "le.cloud.dataform.v1beta1.MakeDirectoryR" + + "esponse\"`\202\323\344\223\002Z\"U/v1beta1/{workspace=pro" + + "jects/*/locations/*/repositories/*/works" + + "paces/*}:makeDirectory:\001*\022\304\001\n\017RemoveDire" + + "ctory\0225.google.cloud.dataform.v1beta1.Re" + + "moveDirectoryRequest\032\026.google.protobuf.E" + + "mpty\"b\202\323\344\223\002\\\"W/v1beta1/{workspace=projec" + + "ts/*/locations/*/repositories/*/workspac" + + "es/*}:removeDirectory:\001*\022\334\001\n\rMoveDirecto" + + "ry\0223.google.cloud.dataform.v1beta1.MoveD" + + "irectoryRequest\0324.google.cloud.dataform." + + "v1beta1.MoveDirectoryResponse\"`\202\323\344\223\002Z\"U/" + + "v1beta1/{workspace=projects/*/locations/" + + "*/repositories/*/workspaces/*}:moveDirec" + + "tory:\001*\022\305\001\n\010ReadFile\022..google.cloud.data" + + "form.v1beta1.ReadFileRequest\032/.google.cl" + + "oud.dataform.v1beta1.ReadFileResponse\"X\202" + + "\323\344\223\002R\022P/v1beta1/{workspace=projects/*/lo" + + "cations/*/repositories/*/workspaces/*}:r" + + "eadFile\022\265\001\n\nRemoveFile\0220.google.cloud.da" + + "taform.v1beta1.RemoveFileRequest\032\026.googl" + + "e.protobuf.Empty\"]\202\323\344\223\002W\"R/v1beta1/{work" + + "space=projects/*/locations/*/repositorie" + + "s/*/workspaces/*}:removeFile:\001*\022\310\001\n\010Move" + + "File\022..google.cloud.dataform.v1beta1.Mov" + + "eFileRequest\032/.google.cloud.dataform.v1b" + + "eta1.MoveFileResponse\"[\202\323\344\223\002U\"P/v1beta1/" + + "{workspace=projects/*/locations/*/reposi" + + "tories/*/workspaces/*}:moveFile:\001*\022\314\001\n\tW" + + "riteFile\022/.google.cloud.dataform.v1beta1" + + ".WriteFileRequest\0320.google.cloud.datafor" + + "m.v1beta1.WriteFileResponse\"\\\202\323\344\223\002V\"Q/v1" + + "beta1/{workspace=projects/*/locations/*/" + + "repositories/*/workspaces/*}:writeFile:\001" + + "*\022\362\001\n\026ListCompilationResults\022<.google.cl" + + "oud.dataform.v1beta1.ListCompilationResu" + + "ltsRequest\032=.google.cloud.dataform.v1bet" + + "a1.ListCompilationResultsResponse\"[\202\323\344\223\002" + + "L\022J/v1beta1/{parent=projects/*/locations" + + "/*/repositories/*}/compilationResults\332A\006" + + "parent\022\337\001\n\024GetCompilationResult\022:.google" + + ".cloud.dataform.v1beta1.GetCompilationRe" + + "sultRequest\0320.google.cloud.dataform.v1be" + + "ta1.CompilationResult\"Y\202\323\344\223\002L\022J/v1beta1/" + + "{name=projects/*/locations/*/repositorie" + + "s/*/compilationResults/*}\332A\004name\022\217\002\n\027Cre" + + "ateCompilationResult\022=.google.cloud.data" + + "form.v1beta1.CreateCompilationResultRequ" + + "est\0320.google.cloud.dataform.v1beta1.Comp" + + "ilationResult\"\202\001\202\323\344\223\002`\"J/v1beta1/{parent" + + "=projects/*/locations/*/repositories/*}/" + + "compilationResults:\022compilation_result\332A" + + "\031parent,compilation_result\022\204\002\n\035QueryComp" + + "ilationResultActions\022C.google.cloud.data" + + "form.v1beta1.QueryCompilationResultActio" + + "nsRequest\032D.google.cloud.dataform.v1beta" + + "1.QueryCompilationResultActionsResponse\"" + + "X\202\323\344\223\002R\022P/v1beta1/{name=projects/*/locat" + + "ions/*/repositories/*/compilationResults" + + "/*}:query\022\366\001\n\027ListWorkflowInvocations\022=." + + "google.cloud.dataform.v1beta1.ListWorkfl" + + "owInvocationsRequest\032>.google.cloud.data" + + "form.v1beta1.ListWorkflowInvocationsResp" + + "onse\"\\\202\323\344\223\002M\022K/v1beta1/{parent=projects/" + + "*/locations/*/repositories/*}/workflowIn" + + "vocations\332A\006parent\022\343\001\n\025GetWorkflowInvoca" + + "tion\022;.google.cloud.dataform.v1beta1.Get" + + "WorkflowInvocationRequest\0321.google.cloud" + + ".dataform.v1beta1.WorkflowInvocation\"Z\202\323" + + "\344\223\002M\022K/v1beta1/{name=projects/*/location" + + "s/*/repositories/*/workflowInvocations/*" + + "}\332A\004name\022\225\002\n\030CreateWorkflowInvocation\022>." + + "google.cloud.dataform.v1beta1.CreateWork" + + "flowInvocationRequest\0321.google.cloud.dat" + + "aform.v1beta1.WorkflowInvocation\"\205\001\202\323\344\223\002" + + "b\"K/v1beta1/{parent=projects/*/locations" + + "/*/repositories/*}/workflowInvocations:\023" + + "workflow_invocation\332A\032parent,workflow_in" + + "vocation\022\316\001\n\030DeleteWorkflowInvocation\022>." + + "google.cloud.dataform.v1beta1.DeleteWork" + + "flowInvocationRequest\032\026.google.protobuf." + + "Empty\"Z\202\323\344\223\002M*K/v1beta1/{name=projects/*" + + "/locations/*/repositories/*/workflowInvo" + + "cations/*}\332A\004name\022\321\001\n\030CancelWorkflowInvo" + + "cation\022>.google.cloud.dataform.v1beta1.C" + + "ancelWorkflowInvocationRequest\032\026.google." + + "protobuf.Empty\"]\202\323\344\223\002W\"R/v1beta1/{name=p" + + "rojects/*/locations/*/repositories/*/wor" + + "kflowInvocations/*}:cancel:\001*\022\210\002\n\036QueryW" + + "orkflowInvocationActions\022D.google.cloud." + + "dataform.v1beta1.QueryWorkflowInvocation" + + "ActionsRequest\032E.google.cloud.dataform.v" + + "1beta1.QueryWorkflowInvocationActionsRes" + + "ponse\"Y\202\323\344\223\002S\022Q/v1beta1/{name=projects/*" + + "/locations/*/repositories/*/workflowInvo" + + "cations/*}:query\032K\312A\027dataform.googleapis" + + ".com\322A.https://www.googleapis.com/auth/c" + + "loud-platformB\305\002\n!com.google.cloud.dataf" + + "orm.v1beta1B\rDataformProtoP\001ZEgoogle.gol" + + "ang.org/genproto/googleapis/cloud/datafo" + + "rm/v1beta1;dataform\252\002\035Google.Cloud.Dataf" + + "orm.V1Beta1\312\002\035Google\\Cloud\\Dataform\\V1be" + + "ta1\352\002 Google::Cloud::Dataform::V1beta1\352A" + + "d\n*secretmanager.googleapis.com/SecretVe" + + "rsion\0226projects/{project}/secrets/{secre" + + "t}/versions/{version}b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.type.IntervalProto.getDescriptor(), + }); + internal_static_google_cloud_dataform_v1beta1_Repository_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_dataform_v1beta1_Repository_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_Repository_descriptor, + new java.lang.String[] { "Name", "GitRemoteSettings", }); + internal_static_google_cloud_dataform_v1beta1_Repository_GitRemoteSettings_descriptor = + internal_static_google_cloud_dataform_v1beta1_Repository_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataform_v1beta1_Repository_GitRemoteSettings_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_Repository_GitRemoteSettings_descriptor, + new java.lang.String[] { "Url", "DefaultBranch", "AuthenticationTokenSecretVersion", "TokenStatus", }); + internal_static_google_cloud_dataform_v1beta1_ListRepositoriesRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_dataform_v1beta1_ListRepositoriesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_ListRepositoriesRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", "OrderBy", "Filter", }); + internal_static_google_cloud_dataform_v1beta1_ListRepositoriesResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_dataform_v1beta1_ListRepositoriesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_ListRepositoriesResponse_descriptor, + new java.lang.String[] { "Repositories", "NextPageToken", "Unreachable", }); + internal_static_google_cloud_dataform_v1beta1_GetRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_dataform_v1beta1_GetRepositoryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_GetRepositoryRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_dataform_v1beta1_CreateRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_dataform_v1beta1_CreateRepositoryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_CreateRepositoryRequest_descriptor, + new java.lang.String[] { "Parent", "Repository", "RepositoryId", }); + internal_static_google_cloud_dataform_v1beta1_UpdateRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_dataform_v1beta1_UpdateRepositoryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_UpdateRepositoryRequest_descriptor, + new java.lang.String[] { "UpdateMask", "Repository", }); + internal_static_google_cloud_dataform_v1beta1_DeleteRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_dataform_v1beta1_DeleteRepositoryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_DeleteRepositoryRequest_descriptor, + new java.lang.String[] { "Name", "Force", }); + internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesResponse_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesResponse_descriptor, + new java.lang.String[] { "Branches", }); + internal_static_google_cloud_dataform_v1beta1_Workspace_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_dataform_v1beta1_Workspace_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_Workspace_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_dataform_v1beta1_ListWorkspacesRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_dataform_v1beta1_ListWorkspacesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_ListWorkspacesRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", "OrderBy", "Filter", }); + internal_static_google_cloud_dataform_v1beta1_ListWorkspacesResponse_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_dataform_v1beta1_ListWorkspacesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_ListWorkspacesResponse_descriptor, + new java.lang.String[] { "Workspaces", "NextPageToken", "Unreachable", }); + internal_static_google_cloud_dataform_v1beta1_GetWorkspaceRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_dataform_v1beta1_GetWorkspaceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_GetWorkspaceRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_dataform_v1beta1_CreateWorkspaceRequest_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_dataform_v1beta1_CreateWorkspaceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_CreateWorkspaceRequest_descriptor, + new java.lang.String[] { "Parent", "Workspace", "WorkspaceId", }); + internal_static_google_cloud_dataform_v1beta1_DeleteWorkspaceRequest_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_dataform_v1beta1_DeleteWorkspaceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_DeleteWorkspaceRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_dataform_v1beta1_CommitAuthor_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_dataform_v1beta1_CommitAuthor_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_CommitAuthor_descriptor, + new java.lang.String[] { "Name", "EmailAddress", }); + internal_static_google_cloud_dataform_v1beta1_PullGitCommitsRequest_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_dataform_v1beta1_PullGitCommitsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_PullGitCommitsRequest_descriptor, + new java.lang.String[] { "Name", "RemoteBranch", "Author", }); + internal_static_google_cloud_dataform_v1beta1_PushGitCommitsRequest_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_dataform_v1beta1_PushGitCommitsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_PushGitCommitsRequest_descriptor, + new java.lang.String[] { "Name", "RemoteBranch", }); + internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesRequest_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_descriptor, + new java.lang.String[] { "UncommittedFileChanges", }); + internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_UncommittedFileChange_descriptor = + internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_UncommittedFileChange_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_UncommittedFileChange_descriptor, + new java.lang.String[] { "Path", "State", }); + internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindRequest_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindRequest_descriptor, + new java.lang.String[] { "Name", "RemoteBranch", }); + internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindResponse_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindResponse_descriptor, + new java.lang.String[] { "CommitsAhead", "CommitsBehind", }); + internal_static_google_cloud_dataform_v1beta1_CommitWorkspaceChangesRequest_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_cloud_dataform_v1beta1_CommitWorkspaceChangesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_CommitWorkspaceChangesRequest_descriptor, + new java.lang.String[] { "Name", "Author", "CommitMessage", "Paths", }); + internal_static_google_cloud_dataform_v1beta1_ResetWorkspaceChangesRequest_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_cloud_dataform_v1beta1_ResetWorkspaceChangesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_ResetWorkspaceChangesRequest_descriptor, + new java.lang.String[] { "Name", "Paths", "Clean", }); + internal_static_google_cloud_dataform_v1beta1_FetchFileDiffRequest_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_cloud_dataform_v1beta1_FetchFileDiffRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_FetchFileDiffRequest_descriptor, + new java.lang.String[] { "Workspace", "Path", }); + internal_static_google_cloud_dataform_v1beta1_FetchFileDiffResponse_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_google_cloud_dataform_v1beta1_FetchFileDiffResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_FetchFileDiffResponse_descriptor, + new java.lang.String[] { "FormattedDiff", }); + internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsRequest_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsRequest_descriptor, + new java.lang.String[] { "Workspace", "Path", "PageSize", "PageToken", }); + internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_descriptor = + getDescriptor().getMessageTypes().get(27); + internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_descriptor, + new java.lang.String[] { "DirectoryEntries", "NextPageToken", }); + internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_DirectoryEntry_descriptor = + internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_DirectoryEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_DirectoryEntry_descriptor, + new java.lang.String[] { "File", "Directory", "Entry", }); + internal_static_google_cloud_dataform_v1beta1_MakeDirectoryRequest_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_google_cloud_dataform_v1beta1_MakeDirectoryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_MakeDirectoryRequest_descriptor, + new java.lang.String[] { "Workspace", "Path", }); + internal_static_google_cloud_dataform_v1beta1_MakeDirectoryResponse_descriptor = + getDescriptor().getMessageTypes().get(29); + internal_static_google_cloud_dataform_v1beta1_MakeDirectoryResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_MakeDirectoryResponse_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_dataform_v1beta1_RemoveDirectoryRequest_descriptor = + getDescriptor().getMessageTypes().get(30); + internal_static_google_cloud_dataform_v1beta1_RemoveDirectoryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_RemoveDirectoryRequest_descriptor, + new java.lang.String[] { "Workspace", "Path", }); + internal_static_google_cloud_dataform_v1beta1_MoveDirectoryRequest_descriptor = + getDescriptor().getMessageTypes().get(31); + internal_static_google_cloud_dataform_v1beta1_MoveDirectoryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_MoveDirectoryRequest_descriptor, + new java.lang.String[] { "Workspace", "Path", "NewPath", }); + internal_static_google_cloud_dataform_v1beta1_MoveDirectoryResponse_descriptor = + getDescriptor().getMessageTypes().get(32); + internal_static_google_cloud_dataform_v1beta1_MoveDirectoryResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_MoveDirectoryResponse_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_dataform_v1beta1_ReadFileRequest_descriptor = + getDescriptor().getMessageTypes().get(33); + internal_static_google_cloud_dataform_v1beta1_ReadFileRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_ReadFileRequest_descriptor, + new java.lang.String[] { "Workspace", "Path", }); + internal_static_google_cloud_dataform_v1beta1_ReadFileResponse_descriptor = + getDescriptor().getMessageTypes().get(34); + internal_static_google_cloud_dataform_v1beta1_ReadFileResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_ReadFileResponse_descriptor, + new java.lang.String[] { "FileContents", }); + internal_static_google_cloud_dataform_v1beta1_RemoveFileRequest_descriptor = + getDescriptor().getMessageTypes().get(35); + internal_static_google_cloud_dataform_v1beta1_RemoveFileRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_RemoveFileRequest_descriptor, + new java.lang.String[] { "Workspace", "Path", }); + internal_static_google_cloud_dataform_v1beta1_MoveFileRequest_descriptor = + getDescriptor().getMessageTypes().get(36); + internal_static_google_cloud_dataform_v1beta1_MoveFileRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_MoveFileRequest_descriptor, + new java.lang.String[] { "Workspace", "Path", "NewPath", }); + internal_static_google_cloud_dataform_v1beta1_MoveFileResponse_descriptor = + getDescriptor().getMessageTypes().get(37); + internal_static_google_cloud_dataform_v1beta1_MoveFileResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_MoveFileResponse_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_dataform_v1beta1_WriteFileRequest_descriptor = + getDescriptor().getMessageTypes().get(38); + internal_static_google_cloud_dataform_v1beta1_WriteFileRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_WriteFileRequest_descriptor, + new java.lang.String[] { "Workspace", "Path", "Contents", }); + internal_static_google_cloud_dataform_v1beta1_WriteFileResponse_descriptor = + getDescriptor().getMessageTypes().get(39); + internal_static_google_cloud_dataform_v1beta1_WriteFileResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_WriteFileResponse_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesRequest_descriptor = + getDescriptor().getMessageTypes().get(40); + internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesRequest_descriptor, + new java.lang.String[] { "Workspace", }); + internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesResponse_descriptor = + getDescriptor().getMessageTypes().get(41); + internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesResponse_descriptor, + new java.lang.String[] { }); + internal_static_google_cloud_dataform_v1beta1_CompilationResult_descriptor = + getDescriptor().getMessageTypes().get(42); + internal_static_google_cloud_dataform_v1beta1_CompilationResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_CompilationResult_descriptor, + new java.lang.String[] { "Name", "GitCommitish", "Workspace", "CodeCompilationConfig", "DataformCoreVersion", "CompilationErrors", "Source", }); + internal_static_google_cloud_dataform_v1beta1_CompilationResult_CodeCompilationConfig_descriptor = + internal_static_google_cloud_dataform_v1beta1_CompilationResult_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataform_v1beta1_CompilationResult_CodeCompilationConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_CompilationResult_CodeCompilationConfig_descriptor, + new java.lang.String[] { "DefaultDatabase", "DefaultSchema", "DefaultLocation", "AssertionSchema", "Vars", "DatabaseSuffix", "SchemaSuffix", "TablePrefix", }); + internal_static_google_cloud_dataform_v1beta1_CompilationResult_CodeCompilationConfig_VarsEntry_descriptor = + internal_static_google_cloud_dataform_v1beta1_CompilationResult_CodeCompilationConfig_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataform_v1beta1_CompilationResult_CodeCompilationConfig_VarsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_CompilationResult_CodeCompilationConfig_VarsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_dataform_v1beta1_CompilationResult_CompilationError_descriptor = + internal_static_google_cloud_dataform_v1beta1_CompilationResult_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_dataform_v1beta1_CompilationResult_CompilationError_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_CompilationResult_CompilationError_descriptor, + new java.lang.String[] { "Message", "Stack", "Path", "ActionTarget", }); + internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsRequest_descriptor = + getDescriptor().getMessageTypes().get(43); + internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsResponse_descriptor = + getDescriptor().getMessageTypes().get(44); + internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsResponse_descriptor, + new java.lang.String[] { "CompilationResults", "NextPageToken", "Unreachable", }); + internal_static_google_cloud_dataform_v1beta1_GetCompilationResultRequest_descriptor = + getDescriptor().getMessageTypes().get(45); + internal_static_google_cloud_dataform_v1beta1_GetCompilationResultRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_GetCompilationResultRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_dataform_v1beta1_CreateCompilationResultRequest_descriptor = + getDescriptor().getMessageTypes().get(46); + internal_static_google_cloud_dataform_v1beta1_CreateCompilationResultRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_CreateCompilationResultRequest_descriptor, + new java.lang.String[] { "Parent", "CompilationResult", }); + internal_static_google_cloud_dataform_v1beta1_Target_descriptor = + getDescriptor().getMessageTypes().get(47); + internal_static_google_cloud_dataform_v1beta1_Target_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_Target_descriptor, + new java.lang.String[] { "Database", "Schema", "Name", }); + internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_descriptor = + getDescriptor().getMessageTypes().get(48); + internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_descriptor, + new java.lang.String[] { "Description", "Columns", "BigqueryLabels", }); + internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_ColumnDescriptor_descriptor = + internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_ColumnDescriptor_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_ColumnDescriptor_descriptor, + new java.lang.String[] { "Path", "Description", "BigqueryPolicyTags", }); + internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_BigqueryLabelsEntry_descriptor = + internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_BigqueryLabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_BigqueryLabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_descriptor = + getDescriptor().getMessageTypes().get(49); + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_descriptor, + new java.lang.String[] { "Target", "CanonicalTarget", "FilePath", "Relation", "Operations", "Assertion", "Declaration", "CompiledObject", }); + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_descriptor = + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_descriptor, + new java.lang.String[] { "DependencyTargets", "Disabled", "Tags", "RelationDescriptor", "RelationType", "SelectQuery", "PreOperations", "PostOperations", "IncrementalTableConfig", "PartitionExpression", "ClusterExpressions", "PartitionExpirationDays", "RequirePartitionFilter", "AdditionalOptions", }); + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_IncrementalTableConfig_descriptor = + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_IncrementalTableConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_IncrementalTableConfig_descriptor, + new java.lang.String[] { "IncrementalSelectQuery", "RefreshDisabled", "UniqueKeyParts", "UpdatePartitionFilter", "IncrementalPreOperations", "IncrementalPostOperations", }); + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_AdditionalOptionsEntry_descriptor = + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_AdditionalOptionsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_AdditionalOptionsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Operations_descriptor = + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_descriptor.getNestedTypes().get(1); + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Operations_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Operations_descriptor, + new java.lang.String[] { "DependencyTargets", "Disabled", "Tags", "RelationDescriptor", "Queries", "HasOutput", }); + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Assertion_descriptor = + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_descriptor.getNestedTypes().get(2); + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Assertion_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Assertion_descriptor, + new java.lang.String[] { "DependencyTargets", "ParentAction", "Disabled", "Tags", "SelectQuery", "RelationDescriptor", }); + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Declaration_descriptor = + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_descriptor.getNestedTypes().get(3); + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Declaration_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Declaration_descriptor, + new java.lang.String[] { "RelationDescriptor", }); + internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsRequest_descriptor = + getDescriptor().getMessageTypes().get(50); + internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsRequest_descriptor, + new java.lang.String[] { "Name", "PageSize", "PageToken", "Filter", }); + internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsResponse_descriptor = + getDescriptor().getMessageTypes().get(51); + internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsResponse_descriptor, + new java.lang.String[] { "CompilationResultActions", "NextPageToken", }); + internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_descriptor = + getDescriptor().getMessageTypes().get(52); + internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_descriptor, + new java.lang.String[] { "Name", "CompilationResult", "InvocationConfig", "State", "InvocationTiming", }); + internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_InvocationConfig_descriptor = + internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_InvocationConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_InvocationConfig_descriptor, + new java.lang.String[] { "IncludedTargets", "IncludedTags", "TransitiveDependenciesIncluded", "TransitiveDependentsIncluded", "FullyRefreshIncrementalTablesEnabled", }); + internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsRequest_descriptor = + getDescriptor().getMessageTypes().get(53); + internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsResponse_descriptor = + getDescriptor().getMessageTypes().get(54); + internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsResponse_descriptor, + new java.lang.String[] { "WorkflowInvocations", "NextPageToken", "Unreachable", }); + internal_static_google_cloud_dataform_v1beta1_GetWorkflowInvocationRequest_descriptor = + getDescriptor().getMessageTypes().get(55); + internal_static_google_cloud_dataform_v1beta1_GetWorkflowInvocationRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_GetWorkflowInvocationRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_dataform_v1beta1_CreateWorkflowInvocationRequest_descriptor = + getDescriptor().getMessageTypes().get(56); + internal_static_google_cloud_dataform_v1beta1_CreateWorkflowInvocationRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_CreateWorkflowInvocationRequest_descriptor, + new java.lang.String[] { "Parent", "WorkflowInvocation", }); + internal_static_google_cloud_dataform_v1beta1_DeleteWorkflowInvocationRequest_descriptor = + getDescriptor().getMessageTypes().get(57); + internal_static_google_cloud_dataform_v1beta1_DeleteWorkflowInvocationRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_DeleteWorkflowInvocationRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_dataform_v1beta1_CancelWorkflowInvocationRequest_descriptor = + getDescriptor().getMessageTypes().get(58); + internal_static_google_cloud_dataform_v1beta1_CancelWorkflowInvocationRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_CancelWorkflowInvocationRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_descriptor = + getDescriptor().getMessageTypes().get(59); + internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_descriptor, + new java.lang.String[] { "Target", "CanonicalTarget", "State", "FailureReason", "InvocationTiming", "BigqueryAction", }); + internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_BigQueryAction_descriptor = + internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_BigQueryAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_BigQueryAction_descriptor, + new java.lang.String[] { "SqlScript", }); + internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsRequest_descriptor = + getDescriptor().getMessageTypes().get(60); + internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsRequest_descriptor, + new java.lang.String[] { "Name", "PageSize", "PageToken", }); + internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsResponse_descriptor = + getDescriptor().getMessageTypes().get(61); + internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsResponse_descriptor, + new java.lang.String[] { "WorkflowInvocationActions", "NextPageToken", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceDefinition); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.type.IntervalProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteRepositoryRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteRepositoryRequest.java new file mode 100644 index 0000000..46ed7a2 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteRepositoryRequest.java @@ -0,0 +1,684 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * `DeleteRepository` request message.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.DeleteRepositoryRequest} + */ +public final class DeleteRepositoryRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.DeleteRepositoryRequest) + DeleteRepositoryRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use DeleteRepositoryRequest.newBuilder() to construct. + private DeleteRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private DeleteRepositoryRequest() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new DeleteRepositoryRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DeleteRepositoryRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + case 16: { + + force_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_DeleteRepositoryRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_DeleteRepositoryRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest.class, com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + *
+   * Required. The repository's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + *
+   * Required. The repository's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FORCE_FIELD_NUMBER = 2; + private boolean force_; + /** + *
+   * If set to true, any child resources of this repository will also be
+   * deleted. (Otherwise, the request will only succeed if the repository has no
+   * child resources.)
+   * 
+ * + * bool force = 2; + * @return The force. + */ + @java.lang.Override + public boolean getForce() { + return force_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (force_ != false) { + output.writeBool(2, force_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (force_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, force_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest other = (com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest) obj; + + if (!getName() + .equals(other.getName())) return false; + if (getForce() + != other.getForce()) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + FORCE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getForce()); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * `DeleteRepository` request message.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.DeleteRepositoryRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.DeleteRepositoryRequest) + com.google.cloud.dataform.v1beta1.DeleteRepositoryRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_DeleteRepositoryRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_DeleteRepositoryRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest.class, com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + + force_ = false; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_DeleteRepositoryRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest build() { + com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest buildPartial() { + com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest result = new com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest(this); + result.name_ = name_; + result.force_ = force_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest) { + return mergeFrom((com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest other) { + if (other == com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + if (other.getForce() != false) { + setForce(other.getForce()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object name_ = ""; + /** + *
+     * Required. The repository's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The repository's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The repository's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. The repository's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + *
+     * Required. The repository's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + + private boolean force_ ; + /** + *
+     * If set to true, any child resources of this repository will also be
+     * deleted. (Otherwise, the request will only succeed if the repository has no
+     * child resources.)
+     * 
+ * + * bool force = 2; + * @return The force. + */ + @java.lang.Override + public boolean getForce() { + return force_; + } + /** + *
+     * If set to true, any child resources of this repository will also be
+     * deleted. (Otherwise, the request will only succeed if the repository has no
+     * child resources.)
+     * 
+ * + * bool force = 2; + * @param value The force to set. + * @return This builder for chaining. + */ + public Builder setForce(boolean value) { + + force_ = value; + onChanged(); + return this; + } + /** + *
+     * If set to true, any child resources of this repository will also be
+     * deleted. (Otherwise, the request will only succeed if the repository has no
+     * child resources.)
+     * 
+ * + * bool force = 2; + * @return This builder for chaining. + */ + public Builder clearForce() { + + force_ = false; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.DeleteRepositoryRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.DeleteRepositoryRequest) + private static final com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest(); + } + + public static com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteRepositoryRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteRepositoryRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteRepositoryRequestOrBuilder.java new file mode 100644 index 0000000..57725bb --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteRepositoryRequestOrBuilder.java @@ -0,0 +1,41 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface DeleteRepositoryRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.DeleteRepositoryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The repository's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The repository's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + *
+   * If set to true, any child resources of this repository will also be
+   * deleted. (Otherwise, the request will only succeed if the repository has no
+   * child resources.)
+   * 
+ * + * bool force = 2; + * @return The force. + */ + boolean getForce(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteWorkflowInvocationRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteWorkflowInvocationRequest.java new file mode 100644 index 0000000..0b1072d --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteWorkflowInvocationRequest.java @@ -0,0 +1,595 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * `DeleteWorkflowInvocation` request message.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest} + */ +public final class DeleteWorkflowInvocationRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest) + DeleteWorkflowInvocationRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use DeleteWorkflowInvocationRequest.newBuilder() to construct. + private DeleteWorkflowInvocationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private DeleteWorkflowInvocationRequest() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new DeleteWorkflowInvocationRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DeleteWorkflowInvocationRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_DeleteWorkflowInvocationRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_DeleteWorkflowInvocationRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest.class, com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + *
+   * Required. The workflow invocation resource's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + *
+   * Required. The workflow invocation resource's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest other = (com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * `DeleteWorkflowInvocation` request message.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest) + com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_DeleteWorkflowInvocationRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_DeleteWorkflowInvocationRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest.class, com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_DeleteWorkflowInvocationRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest build() { + com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest buildPartial() { + com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest result = new com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest(this); + result.name_ = name_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest) { + return mergeFrom((com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest other) { + if (other == com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object name_ = ""; + /** + *
+     * Required. The workflow invocation resource's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The workflow invocation resource's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The workflow invocation resource's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. The workflow invocation resource's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + *
+     * Required. The workflow invocation resource's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest) + private static final com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest(); + } + + public static com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteWorkflowInvocationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteWorkflowInvocationRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteWorkflowInvocationRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteWorkflowInvocationRequestOrBuilder.java new file mode 100644 index 0000000..fcd278d --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteWorkflowInvocationRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface DeleteWorkflowInvocationRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The workflow invocation resource's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The workflow invocation resource's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteWorkspaceRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteWorkspaceRequest.java new file mode 100644 index 0000000..80a75fe --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteWorkspaceRequest.java @@ -0,0 +1,595 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * `DeleteWorkspace` request message.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.DeleteWorkspaceRequest} + */ +public final class DeleteWorkspaceRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.DeleteWorkspaceRequest) + DeleteWorkspaceRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use DeleteWorkspaceRequest.newBuilder() to construct. + private DeleteWorkspaceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private DeleteWorkspaceRequest() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new DeleteWorkspaceRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DeleteWorkspaceRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_DeleteWorkspaceRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_DeleteWorkspaceRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest.class, com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + *
+   * Required. The workspace resource's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + *
+   * Required. The workspace resource's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest other = (com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * `DeleteWorkspace` request message.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.DeleteWorkspaceRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.DeleteWorkspaceRequest) + com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_DeleteWorkspaceRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_DeleteWorkspaceRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest.class, com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_DeleteWorkspaceRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest build() { + com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest buildPartial() { + com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest result = new com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest(this); + result.name_ = name_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest) { + return mergeFrom((com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest other) { + if (other == com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object name_ = ""; + /** + *
+     * Required. The workspace resource's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The workspace resource's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The workspace resource's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. The workspace resource's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + *
+     * Required. The workspace resource's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.DeleteWorkspaceRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.DeleteWorkspaceRequest) + private static final com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest(); + } + + public static com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteWorkspaceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteWorkspaceRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteWorkspaceRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteWorkspaceRequestOrBuilder.java new file mode 100644 index 0000000..f17aae7 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteWorkspaceRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface DeleteWorkspaceRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.DeleteWorkspaceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The workspace resource's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The workspace resource's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileDiffRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileDiffRequest.java new file mode 100644 index 0000000..598d564 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileDiffRequest.java @@ -0,0 +1,761 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * `FetchFileDiff` request message.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.FetchFileDiffRequest} + */ +public final class FetchFileDiffRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.FetchFileDiffRequest) + FetchFileDiffRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use FetchFileDiffRequest.newBuilder() to construct. + private FetchFileDiffRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private FetchFileDiffRequest() { + workspace_ = ""; + path_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new FetchFileDiffRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private FetchFileDiffRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + workspace_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + path_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchFileDiffRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchFileDiffRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.FetchFileDiffRequest.class, com.google.cloud.dataform.v1beta1.FetchFileDiffRequest.Builder.class); + } + + public static final int WORKSPACE_FIELD_NUMBER = 1; + private volatile java.lang.Object workspace_; + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The workspace. + */ + @java.lang.Override + public java.lang.String getWorkspace() { + java.lang.Object ref = workspace_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + workspace_ = s; + return s; + } + } + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for workspace. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getWorkspaceBytes() { + java.lang.Object ref = workspace_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + workspace_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PATH_FIELD_NUMBER = 2; + private volatile java.lang.Object path_; + /** + *
+   * Required. The file's full path including filename, relative to the workspace root.
+   * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The path. + */ + @java.lang.Override + public java.lang.String getPath() { + java.lang.Object ref = path_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + path_ = s; + return s; + } + } + /** + *
+   * Required. The file's full path including filename, relative to the workspace root.
+   * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for path. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPathBytes() { + java.lang.Object ref = path_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + path_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workspace_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, path_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, workspace_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, path_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.FetchFileDiffRequest)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.FetchFileDiffRequest other = (com.google.cloud.dataform.v1beta1.FetchFileDiffRequest) obj; + + if (!getWorkspace() + .equals(other.getWorkspace())) return false; + if (!getPath() + .equals(other.getPath())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + WORKSPACE_FIELD_NUMBER; + hash = (53 * hash) + getWorkspace().hashCode(); + hash = (37 * hash) + PATH_FIELD_NUMBER; + hash = (53 * hash) + getPath().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.FetchFileDiffRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.FetchFileDiffRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.FetchFileDiffRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.FetchFileDiffRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.FetchFileDiffRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.FetchFileDiffRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.FetchFileDiffRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.FetchFileDiffRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.FetchFileDiffRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.FetchFileDiffRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.FetchFileDiffRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.FetchFileDiffRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.FetchFileDiffRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * `FetchFileDiff` request message.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.FetchFileDiffRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.FetchFileDiffRequest) + com.google.cloud.dataform.v1beta1.FetchFileDiffRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchFileDiffRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchFileDiffRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.FetchFileDiffRequest.class, com.google.cloud.dataform.v1beta1.FetchFileDiffRequest.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.FetchFileDiffRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + workspace_ = ""; + + path_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchFileDiffRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.FetchFileDiffRequest getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.FetchFileDiffRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.FetchFileDiffRequest build() { + com.google.cloud.dataform.v1beta1.FetchFileDiffRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.FetchFileDiffRequest buildPartial() { + com.google.cloud.dataform.v1beta1.FetchFileDiffRequest result = new com.google.cloud.dataform.v1beta1.FetchFileDiffRequest(this); + result.workspace_ = workspace_; + result.path_ = path_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.FetchFileDiffRequest) { + return mergeFrom((com.google.cloud.dataform.v1beta1.FetchFileDiffRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.FetchFileDiffRequest other) { + if (other == com.google.cloud.dataform.v1beta1.FetchFileDiffRequest.getDefaultInstance()) return this; + if (!other.getWorkspace().isEmpty()) { + workspace_ = other.workspace_; + onChanged(); + } + if (!other.getPath().isEmpty()) { + path_ = other.path_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.FetchFileDiffRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.FetchFileDiffRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object workspace_ = ""; + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The workspace. + */ + public java.lang.String getWorkspace() { + java.lang.Object ref = workspace_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + workspace_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for workspace. + */ + public com.google.protobuf.ByteString + getWorkspaceBytes() { + java.lang.Object ref = workspace_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + workspace_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The workspace to set. + * @return This builder for chaining. + */ + public Builder setWorkspace( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + workspace_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearWorkspace() { + + workspace_ = getDefaultInstance().getWorkspace(); + onChanged(); + return this; + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The bytes for workspace to set. + * @return This builder for chaining. + */ + public Builder setWorkspaceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + workspace_ = value; + onChanged(); + return this; + } + + private java.lang.Object path_ = ""; + /** + *
+     * Required. The file's full path including filename, relative to the workspace root.
+     * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The path. + */ + public java.lang.String getPath() { + java.lang.Object ref = path_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + path_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The file's full path including filename, relative to the workspace root.
+     * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for path. + */ + public com.google.protobuf.ByteString + getPathBytes() { + java.lang.Object ref = path_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + path_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The file's full path including filename, relative to the workspace root.
+     * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param value The path to set. + * @return This builder for chaining. + */ + public Builder setPath( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + path_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. The file's full path including filename, relative to the workspace root.
+     * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return This builder for chaining. + */ + public Builder clearPath() { + + path_ = getDefaultInstance().getPath(); + onChanged(); + return this; + } + /** + *
+     * Required. The file's full path including filename, relative to the workspace root.
+     * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param value The bytes for path to set. + * @return This builder for chaining. + */ + public Builder setPathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + path_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.FetchFileDiffRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.FetchFileDiffRequest) + private static final com.google.cloud.dataform.v1beta1.FetchFileDiffRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.FetchFileDiffRequest(); + } + + public static com.google.cloud.dataform.v1beta1.FetchFileDiffRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FetchFileDiffRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FetchFileDiffRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.FetchFileDiffRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileDiffRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileDiffRequestOrBuilder.java new file mode 100644 index 0000000..58d3dcd --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileDiffRequestOrBuilder.java @@ -0,0 +1,49 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface FetchFileDiffRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.FetchFileDiffRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The workspace. + */ + java.lang.String getWorkspace(); + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for workspace. + */ + com.google.protobuf.ByteString + getWorkspaceBytes(); + + /** + *
+   * Required. The file's full path including filename, relative to the workspace root.
+   * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The path. + */ + java.lang.String getPath(); + /** + *
+   * Required. The file's full path including filename, relative to the workspace root.
+   * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for path. + */ + com.google.protobuf.ByteString + getPathBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileDiffResponse.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileDiffResponse.java new file mode 100644 index 0000000..a924d88 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileDiffResponse.java @@ -0,0 +1,595 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * `FetchFileDiff` response message.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.FetchFileDiffResponse} + */ +public final class FetchFileDiffResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.FetchFileDiffResponse) + FetchFileDiffResponseOrBuilder { +private static final long serialVersionUID = 0L; + // Use FetchFileDiffResponse.newBuilder() to construct. + private FetchFileDiffResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private FetchFileDiffResponse() { + formattedDiff_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new FetchFileDiffResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private FetchFileDiffResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + formattedDiff_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchFileDiffResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchFileDiffResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.FetchFileDiffResponse.class, com.google.cloud.dataform.v1beta1.FetchFileDiffResponse.Builder.class); + } + + public static final int FORMATTED_DIFF_FIELD_NUMBER = 1; + private volatile java.lang.Object formattedDiff_; + /** + *
+   * The raw formatted Git diff for the file.
+   * 
+ * + * string formatted_diff = 1; + * @return The formattedDiff. + */ + @java.lang.Override + public java.lang.String getFormattedDiff() { + java.lang.Object ref = formattedDiff_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + formattedDiff_ = s; + return s; + } + } + /** + *
+   * The raw formatted Git diff for the file.
+   * 
+ * + * string formatted_diff = 1; + * @return The bytes for formattedDiff. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getFormattedDiffBytes() { + java.lang.Object ref = formattedDiff_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + formattedDiff_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(formattedDiff_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, formattedDiff_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(formattedDiff_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, formattedDiff_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.FetchFileDiffResponse)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.FetchFileDiffResponse other = (com.google.cloud.dataform.v1beta1.FetchFileDiffResponse) obj; + + if (!getFormattedDiff() + .equals(other.getFormattedDiff())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + FORMATTED_DIFF_FIELD_NUMBER; + hash = (53 * hash) + getFormattedDiff().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.FetchFileDiffResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.FetchFileDiffResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.FetchFileDiffResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.FetchFileDiffResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.FetchFileDiffResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.FetchFileDiffResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.FetchFileDiffResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.FetchFileDiffResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.FetchFileDiffResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.FetchFileDiffResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.FetchFileDiffResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.FetchFileDiffResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.FetchFileDiffResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * `FetchFileDiff` response message.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.FetchFileDiffResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.FetchFileDiffResponse) + com.google.cloud.dataform.v1beta1.FetchFileDiffResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchFileDiffResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchFileDiffResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.FetchFileDiffResponse.class, com.google.cloud.dataform.v1beta1.FetchFileDiffResponse.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.FetchFileDiffResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + formattedDiff_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchFileDiffResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.FetchFileDiffResponse getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.FetchFileDiffResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.FetchFileDiffResponse build() { + com.google.cloud.dataform.v1beta1.FetchFileDiffResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.FetchFileDiffResponse buildPartial() { + com.google.cloud.dataform.v1beta1.FetchFileDiffResponse result = new com.google.cloud.dataform.v1beta1.FetchFileDiffResponse(this); + result.formattedDiff_ = formattedDiff_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.FetchFileDiffResponse) { + return mergeFrom((com.google.cloud.dataform.v1beta1.FetchFileDiffResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.FetchFileDiffResponse other) { + if (other == com.google.cloud.dataform.v1beta1.FetchFileDiffResponse.getDefaultInstance()) return this; + if (!other.getFormattedDiff().isEmpty()) { + formattedDiff_ = other.formattedDiff_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.FetchFileDiffResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.FetchFileDiffResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object formattedDiff_ = ""; + /** + *
+     * The raw formatted Git diff for the file.
+     * 
+ * + * string formatted_diff = 1; + * @return The formattedDiff. + */ + public java.lang.String getFormattedDiff() { + java.lang.Object ref = formattedDiff_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + formattedDiff_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * The raw formatted Git diff for the file.
+     * 
+ * + * string formatted_diff = 1; + * @return The bytes for formattedDiff. + */ + public com.google.protobuf.ByteString + getFormattedDiffBytes() { + java.lang.Object ref = formattedDiff_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + formattedDiff_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * The raw formatted Git diff for the file.
+     * 
+ * + * string formatted_diff = 1; + * @param value The formattedDiff to set. + * @return This builder for chaining. + */ + public Builder setFormattedDiff( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + formattedDiff_ = value; + onChanged(); + return this; + } + /** + *
+     * The raw formatted Git diff for the file.
+     * 
+ * + * string formatted_diff = 1; + * @return This builder for chaining. + */ + public Builder clearFormattedDiff() { + + formattedDiff_ = getDefaultInstance().getFormattedDiff(); + onChanged(); + return this; + } + /** + *
+     * The raw formatted Git diff for the file.
+     * 
+ * + * string formatted_diff = 1; + * @param value The bytes for formattedDiff to set. + * @return This builder for chaining. + */ + public Builder setFormattedDiffBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + formattedDiff_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.FetchFileDiffResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.FetchFileDiffResponse) + private static final com.google.cloud.dataform.v1beta1.FetchFileDiffResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.FetchFileDiffResponse(); + } + + public static com.google.cloud.dataform.v1beta1.FetchFileDiffResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FetchFileDiffResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FetchFileDiffResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.FetchFileDiffResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileDiffResponseOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileDiffResponseOrBuilder.java new file mode 100644 index 0000000..1032d85 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileDiffResponseOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface FetchFileDiffResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.FetchFileDiffResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The raw formatted Git diff for the file.
+   * 
+ * + * string formatted_diff = 1; + * @return The formattedDiff. + */ + java.lang.String getFormattedDiff(); + /** + *
+   * The raw formatted Git diff for the file.
+   * 
+ * + * string formatted_diff = 1; + * @return The bytes for formattedDiff. + */ + com.google.protobuf.ByteString + getFormattedDiffBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileGitStatusesRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileGitStatusesRequest.java new file mode 100644 index 0000000..715fcd8 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileGitStatusesRequest.java @@ -0,0 +1,595 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * `FetchFileGitStatuses` request message.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest} + */ +public final class FetchFileGitStatusesRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest) + FetchFileGitStatusesRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use FetchFileGitStatusesRequest.newBuilder() to construct. + private FetchFileGitStatusesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private FetchFileGitStatusesRequest() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new FetchFileGitStatusesRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private FetchFileGitStatusesRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest.class, com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest other = (com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * `FetchFileGitStatuses` request message.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest) + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest.class, com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest build() { + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest buildPartial() { + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest result = new com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest(this); + result.name_ = name_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest) { + return mergeFrom((com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest other) { + if (other == com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object name_ = ""; + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest) + private static final com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest(); + } + + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FetchFileGitStatusesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FetchFileGitStatusesRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileGitStatusesRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileGitStatusesRequestOrBuilder.java new file mode 100644 index 0000000..07de315 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileGitStatusesRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface FetchFileGitStatusesRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileGitStatusesResponse.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileGitStatusesResponse.java new file mode 100644 index 0000000..ef71978 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileGitStatusesResponse.java @@ -0,0 +1,1831 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * `FetchFileGitStatuses` response message.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse} + */ +public final class FetchFileGitStatusesResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse) + FetchFileGitStatusesResponseOrBuilder { +private static final long serialVersionUID = 0L; + // Use FetchFileGitStatusesResponse.newBuilder() to construct. + private FetchFileGitStatusesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private FetchFileGitStatusesResponse() { + uncommittedFileChanges_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new FetchFileGitStatusesResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private FetchFileGitStatusesResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + uncommittedFileChanges_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + uncommittedFileChanges_.add( + input.readMessage(com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + uncommittedFileChanges_ = java.util.Collections.unmodifiableList(uncommittedFileChanges_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.class, com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.Builder.class); + } + + public interface UncommittedFileChangeOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * The file's full path including filename, relative to the workspace root.
+     * 
+ * + * string path = 1; + * @return The path. + */ + java.lang.String getPath(); + /** + *
+     * The file's full path including filename, relative to the workspace root.
+     * 
+ * + * string path = 1; + * @return The bytes for path. + */ + com.google.protobuf.ByteString + getPathBytes(); + + /** + *
+     * Indicates the status of the file.
+     * 
+ * + * .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; + * @return The enum numeric value on the wire for state. + */ + int getStateValue(); + /** + *
+     * Indicates the status of the file.
+     * 
+ * + * .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; + * @return The state. + */ + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State getState(); + } + /** + *
+   * Represents the Git state of a file with uncommitted changes.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange} + */ + public static final class UncommittedFileChange extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange) + UncommittedFileChangeOrBuilder { + private static final long serialVersionUID = 0L; + // Use UncommittedFileChange.newBuilder() to construct. + private UncommittedFileChange(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private UncommittedFileChange() { + path_ = ""; + state_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new UncommittedFileChange(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private UncommittedFileChange( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + path_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); + + state_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_UncommittedFileChange_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_UncommittedFileChange_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.class, com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.Builder.class); + } + + /** + *
+     * Indicates the status of an uncommitted file change.
+     * 
+ * + * Protobuf enum {@code google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State} + */ + public enum State + implements com.google.protobuf.ProtocolMessageEnum { + /** + *
+       * Default value. This value is unused.
+       * 
+ * + * STATE_UNSPECIFIED = 0; + */ + STATE_UNSPECIFIED(0), + /** + *
+       * The file has been newly added.
+       * 
+ * + * ADDED = 1; + */ + ADDED(1), + /** + *
+       * The file has been deleted.
+       * 
+ * + * DELETED = 2; + */ + DELETED(2), + /** + *
+       * The file has been modified.
+       * 
+ * + * MODIFIED = 3; + */ + MODIFIED(3), + /** + *
+       * The file contains merge conflicts.
+       * 
+ * + * HAS_CONFLICTS = 4; + */ + HAS_CONFLICTS(4), + UNRECOGNIZED(-1), + ; + + /** + *
+       * Default value. This value is unused.
+       * 
+ * + * STATE_UNSPECIFIED = 0; + */ + public static final int STATE_UNSPECIFIED_VALUE = 0; + /** + *
+       * The file has been newly added.
+       * 
+ * + * ADDED = 1; + */ + public static final int ADDED_VALUE = 1; + /** + *
+       * The file has been deleted.
+       * 
+ * + * DELETED = 2; + */ + public static final int DELETED_VALUE = 2; + /** + *
+       * The file has been modified.
+       * 
+ * + * MODIFIED = 3; + */ + public static final int MODIFIED_VALUE = 3; + /** + *
+       * The file contains merge conflicts.
+       * 
+ * + * HAS_CONFLICTS = 4; + */ + public static final int HAS_CONFLICTS_VALUE = 4; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static State valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static State forNumber(int value) { + switch (value) { + case 0: return STATE_UNSPECIFIED; + case 1: return ADDED; + case 2: return DELETED; + case 3: return MODIFIED; + case 4: return HAS_CONFLICTS; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + State> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.getDescriptor().getEnumTypes().get(0); + } + + private static final State[] VALUES = values(); + + public static State valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private State(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State) + } + + public static final int PATH_FIELD_NUMBER = 1; + private volatile java.lang.Object path_; + /** + *
+     * The file's full path including filename, relative to the workspace root.
+     * 
+ * + * string path = 1; + * @return The path. + */ + @java.lang.Override + public java.lang.String getPath() { + java.lang.Object ref = path_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + path_ = s; + return s; + } + } + /** + *
+     * The file's full path including filename, relative to the workspace root.
+     * 
+ * + * string path = 1; + * @return The bytes for path. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPathBytes() { + java.lang.Object ref = path_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + path_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int STATE_FIELD_NUMBER = 2; + private int state_; + /** + *
+     * Indicates the status of the file.
+     * 
+ * + * .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; + * @return The enum numeric value on the wire for state. + */ + @java.lang.Override public int getStateValue() { + return state_; + } + /** + *
+     * Indicates the status of the file.
+     * 
+ * + * .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; + * @return The state. + */ + @java.lang.Override public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State getState() { + @SuppressWarnings("deprecation") + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State result = com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State.valueOf(state_); + return result == null ? com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State.UNRECOGNIZED : result; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, path_); + } + if (state_ != com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State.STATE_UNSPECIFIED.getNumber()) { + output.writeEnum(2, state_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, path_); + } + if (state_ != com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, state_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange other = (com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange) obj; + + if (!getPath() + .equals(other.getPath())) return false; + if (state_ != other.state_) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PATH_FIELD_NUMBER; + hash = (53 * hash) + getPath().hashCode(); + hash = (37 * hash) + STATE_FIELD_NUMBER; + hash = (53 * hash) + state_; + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Represents the Git state of a file with uncommitted changes.
+     * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange) + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChangeOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_UncommittedFileChange_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_UncommittedFileChange_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.class, com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + path_ = ""; + + state_ = 0; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_UncommittedFileChange_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange build() { + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange buildPartial() { + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange result = new com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange(this); + result.path_ = path_; + result.state_ = state_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange) { + return mergeFrom((com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange other) { + if (other == com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.getDefaultInstance()) return this; + if (!other.getPath().isEmpty()) { + path_ = other.path_; + onChanged(); + } + if (other.state_ != 0) { + setStateValue(other.getStateValue()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object path_ = ""; + /** + *
+       * The file's full path including filename, relative to the workspace root.
+       * 
+ * + * string path = 1; + * @return The path. + */ + public java.lang.String getPath() { + java.lang.Object ref = path_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + path_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * The file's full path including filename, relative to the workspace root.
+       * 
+ * + * string path = 1; + * @return The bytes for path. + */ + public com.google.protobuf.ByteString + getPathBytes() { + java.lang.Object ref = path_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + path_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * The file's full path including filename, relative to the workspace root.
+       * 
+ * + * string path = 1; + * @param value The path to set. + * @return This builder for chaining. + */ + public Builder setPath( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + path_ = value; + onChanged(); + return this; + } + /** + *
+       * The file's full path including filename, relative to the workspace root.
+       * 
+ * + * string path = 1; + * @return This builder for chaining. + */ + public Builder clearPath() { + + path_ = getDefaultInstance().getPath(); + onChanged(); + return this; + } + /** + *
+       * The file's full path including filename, relative to the workspace root.
+       * 
+ * + * string path = 1; + * @param value The bytes for path to set. + * @return This builder for chaining. + */ + public Builder setPathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + path_ = value; + onChanged(); + return this; + } + + private int state_ = 0; + /** + *
+       * Indicates the status of the file.
+       * 
+ * + * .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; + * @return The enum numeric value on the wire for state. + */ + @java.lang.Override public int getStateValue() { + return state_; + } + /** + *
+       * Indicates the status of the file.
+       * 
+ * + * .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; + * @param value The enum numeric value on the wire for state to set. + * @return This builder for chaining. + */ + public Builder setStateValue(int value) { + + state_ = value; + onChanged(); + return this; + } + /** + *
+       * Indicates the status of the file.
+       * 
+ * + * .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; + * @return The state. + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State getState() { + @SuppressWarnings("deprecation") + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State result = com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State.valueOf(state_); + return result == null ? com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State.UNRECOGNIZED : result; + } + /** + *
+       * Indicates the status of the file.
+       * 
+ * + * .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; + * @param value The state to set. + * @return This builder for chaining. + */ + public Builder setState(com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State value) { + if (value == null) { + throw new NullPointerException(); + } + + state_ = value.getNumber(); + onChanged(); + return this; + } + /** + *
+       * Indicates the status of the file.
+       * 
+ * + * .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; + * @return This builder for chaining. + */ + public Builder clearState() { + + state_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange) + private static final com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange(); + } + + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UncommittedFileChange parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UncommittedFileChange(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public static final int UNCOMMITTED_FILE_CHANGES_FIELD_NUMBER = 1; + private java.util.List uncommittedFileChanges_; + /** + *
+   * A list of all files which have uncommitted Git changes. There will only be
+   * a single entry for any given file.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + */ + @java.lang.Override + public java.util.List getUncommittedFileChangesList() { + return uncommittedFileChanges_; + } + /** + *
+   * A list of all files which have uncommitted Git changes. There will only be
+   * a single entry for any given file.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + */ + @java.lang.Override + public java.util.List + getUncommittedFileChangesOrBuilderList() { + return uncommittedFileChanges_; + } + /** + *
+   * A list of all files which have uncommitted Git changes. There will only be
+   * a single entry for any given file.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + */ + @java.lang.Override + public int getUncommittedFileChangesCount() { + return uncommittedFileChanges_.size(); + } + /** + *
+   * A list of all files which have uncommitted Git changes. There will only be
+   * a single entry for any given file.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange getUncommittedFileChanges(int index) { + return uncommittedFileChanges_.get(index); + } + /** + *
+   * A list of all files which have uncommitted Git changes. There will only be
+   * a single entry for any given file.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChangeOrBuilder getUncommittedFileChangesOrBuilder( + int index) { + return uncommittedFileChanges_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < uncommittedFileChanges_.size(); i++) { + output.writeMessage(1, uncommittedFileChanges_.get(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < uncommittedFileChanges_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, uncommittedFileChanges_.get(i)); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse other = (com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse) obj; + + if (!getUncommittedFileChangesList() + .equals(other.getUncommittedFileChangesList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getUncommittedFileChangesCount() > 0) { + hash = (37 * hash) + UNCOMMITTED_FILE_CHANGES_FIELD_NUMBER; + hash = (53 * hash) + getUncommittedFileChangesList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * `FetchFileGitStatuses` response message.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse) + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.class, com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getUncommittedFileChangesFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (uncommittedFileChangesBuilder_ == null) { + uncommittedFileChanges_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + uncommittedFileChangesBuilder_.clear(); + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse build() { + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse buildPartial() { + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse result = new com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse(this); + int from_bitField0_ = bitField0_; + if (uncommittedFileChangesBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + uncommittedFileChanges_ = java.util.Collections.unmodifiableList(uncommittedFileChanges_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.uncommittedFileChanges_ = uncommittedFileChanges_; + } else { + result.uncommittedFileChanges_ = uncommittedFileChangesBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse) { + return mergeFrom((com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse other) { + if (other == com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.getDefaultInstance()) return this; + if (uncommittedFileChangesBuilder_ == null) { + if (!other.uncommittedFileChanges_.isEmpty()) { + if (uncommittedFileChanges_.isEmpty()) { + uncommittedFileChanges_ = other.uncommittedFileChanges_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureUncommittedFileChangesIsMutable(); + uncommittedFileChanges_.addAll(other.uncommittedFileChanges_); + } + onChanged(); + } + } else { + if (!other.uncommittedFileChanges_.isEmpty()) { + if (uncommittedFileChangesBuilder_.isEmpty()) { + uncommittedFileChangesBuilder_.dispose(); + uncommittedFileChangesBuilder_ = null; + uncommittedFileChanges_ = other.uncommittedFileChanges_; + bitField0_ = (bitField0_ & ~0x00000001); + uncommittedFileChangesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getUncommittedFileChangesFieldBuilder() : null; + } else { + uncommittedFileChangesBuilder_.addAllMessages(other.uncommittedFileChanges_); + } + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private java.util.List uncommittedFileChanges_ = + java.util.Collections.emptyList(); + private void ensureUncommittedFileChangesIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + uncommittedFileChanges_ = new java.util.ArrayList(uncommittedFileChanges_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange, com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.Builder, com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChangeOrBuilder> uncommittedFileChangesBuilder_; + + /** + *
+     * A list of all files which have uncommitted Git changes. There will only be
+     * a single entry for any given file.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + */ + public java.util.List getUncommittedFileChangesList() { + if (uncommittedFileChangesBuilder_ == null) { + return java.util.Collections.unmodifiableList(uncommittedFileChanges_); + } else { + return uncommittedFileChangesBuilder_.getMessageList(); + } + } + /** + *
+     * A list of all files which have uncommitted Git changes. There will only be
+     * a single entry for any given file.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + */ + public int getUncommittedFileChangesCount() { + if (uncommittedFileChangesBuilder_ == null) { + return uncommittedFileChanges_.size(); + } else { + return uncommittedFileChangesBuilder_.getCount(); + } + } + /** + *
+     * A list of all files which have uncommitted Git changes. There will only be
+     * a single entry for any given file.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + */ + public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange getUncommittedFileChanges(int index) { + if (uncommittedFileChangesBuilder_ == null) { + return uncommittedFileChanges_.get(index); + } else { + return uncommittedFileChangesBuilder_.getMessage(index); + } + } + /** + *
+     * A list of all files which have uncommitted Git changes. There will only be
+     * a single entry for any given file.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + */ + public Builder setUncommittedFileChanges( + int index, com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange value) { + if (uncommittedFileChangesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureUncommittedFileChangesIsMutable(); + uncommittedFileChanges_.set(index, value); + onChanged(); + } else { + uncommittedFileChangesBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+     * A list of all files which have uncommitted Git changes. There will only be
+     * a single entry for any given file.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + */ + public Builder setUncommittedFileChanges( + int index, com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.Builder builderForValue) { + if (uncommittedFileChangesBuilder_ == null) { + ensureUncommittedFileChangesIsMutable(); + uncommittedFileChanges_.set(index, builderForValue.build()); + onChanged(); + } else { + uncommittedFileChangesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * A list of all files which have uncommitted Git changes. There will only be
+     * a single entry for any given file.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + */ + public Builder addUncommittedFileChanges(com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange value) { + if (uncommittedFileChangesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureUncommittedFileChangesIsMutable(); + uncommittedFileChanges_.add(value); + onChanged(); + } else { + uncommittedFileChangesBuilder_.addMessage(value); + } + return this; + } + /** + *
+     * A list of all files which have uncommitted Git changes. There will only be
+     * a single entry for any given file.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + */ + public Builder addUncommittedFileChanges( + int index, com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange value) { + if (uncommittedFileChangesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureUncommittedFileChangesIsMutable(); + uncommittedFileChanges_.add(index, value); + onChanged(); + } else { + uncommittedFileChangesBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+     * A list of all files which have uncommitted Git changes. There will only be
+     * a single entry for any given file.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + */ + public Builder addUncommittedFileChanges( + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.Builder builderForValue) { + if (uncommittedFileChangesBuilder_ == null) { + ensureUncommittedFileChangesIsMutable(); + uncommittedFileChanges_.add(builderForValue.build()); + onChanged(); + } else { + uncommittedFileChangesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+     * A list of all files which have uncommitted Git changes. There will only be
+     * a single entry for any given file.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + */ + public Builder addUncommittedFileChanges( + int index, com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.Builder builderForValue) { + if (uncommittedFileChangesBuilder_ == null) { + ensureUncommittedFileChangesIsMutable(); + uncommittedFileChanges_.add(index, builderForValue.build()); + onChanged(); + } else { + uncommittedFileChangesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * A list of all files which have uncommitted Git changes. There will only be
+     * a single entry for any given file.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + */ + public Builder addAllUncommittedFileChanges( + java.lang.Iterable values) { + if (uncommittedFileChangesBuilder_ == null) { + ensureUncommittedFileChangesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, uncommittedFileChanges_); + onChanged(); + } else { + uncommittedFileChangesBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+     * A list of all files which have uncommitted Git changes. There will only be
+     * a single entry for any given file.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + */ + public Builder clearUncommittedFileChanges() { + if (uncommittedFileChangesBuilder_ == null) { + uncommittedFileChanges_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + uncommittedFileChangesBuilder_.clear(); + } + return this; + } + /** + *
+     * A list of all files which have uncommitted Git changes. There will only be
+     * a single entry for any given file.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + */ + public Builder removeUncommittedFileChanges(int index) { + if (uncommittedFileChangesBuilder_ == null) { + ensureUncommittedFileChangesIsMutable(); + uncommittedFileChanges_.remove(index); + onChanged(); + } else { + uncommittedFileChangesBuilder_.remove(index); + } + return this; + } + /** + *
+     * A list of all files which have uncommitted Git changes. There will only be
+     * a single entry for any given file.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + */ + public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.Builder getUncommittedFileChangesBuilder( + int index) { + return getUncommittedFileChangesFieldBuilder().getBuilder(index); + } + /** + *
+     * A list of all files which have uncommitted Git changes. There will only be
+     * a single entry for any given file.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + */ + public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChangeOrBuilder getUncommittedFileChangesOrBuilder( + int index) { + if (uncommittedFileChangesBuilder_ == null) { + return uncommittedFileChanges_.get(index); } else { + return uncommittedFileChangesBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+     * A list of all files which have uncommitted Git changes. There will only be
+     * a single entry for any given file.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + */ + public java.util.List + getUncommittedFileChangesOrBuilderList() { + if (uncommittedFileChangesBuilder_ != null) { + return uncommittedFileChangesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(uncommittedFileChanges_); + } + } + /** + *
+     * A list of all files which have uncommitted Git changes. There will only be
+     * a single entry for any given file.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + */ + public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.Builder addUncommittedFileChangesBuilder() { + return getUncommittedFileChangesFieldBuilder().addBuilder( + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.getDefaultInstance()); + } + /** + *
+     * A list of all files which have uncommitted Git changes. There will only be
+     * a single entry for any given file.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + */ + public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.Builder addUncommittedFileChangesBuilder( + int index) { + return getUncommittedFileChangesFieldBuilder().addBuilder( + index, com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.getDefaultInstance()); + } + /** + *
+     * A list of all files which have uncommitted Git changes. There will only be
+     * a single entry for any given file.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + */ + public java.util.List + getUncommittedFileChangesBuilderList() { + return getUncommittedFileChangesFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange, com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.Builder, com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChangeOrBuilder> + getUncommittedFileChangesFieldBuilder() { + if (uncommittedFileChangesBuilder_ == null) { + uncommittedFileChangesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange, com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.Builder, com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChangeOrBuilder>( + uncommittedFileChanges_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + uncommittedFileChanges_ = null; + } + return uncommittedFileChangesBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse) + private static final com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse(); + } + + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FetchFileGitStatusesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FetchFileGitStatusesResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileGitStatusesResponseOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileGitStatusesResponseOrBuilder.java new file mode 100644 index 0000000..fc9f10f --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileGitStatusesResponseOrBuilder.java @@ -0,0 +1,58 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface FetchFileGitStatusesResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * A list of all files which have uncommitted Git changes. There will only be
+   * a single entry for any given file.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + */ + java.util.List + getUncommittedFileChangesList(); + /** + *
+   * A list of all files which have uncommitted Git changes. There will only be
+   * a single entry for any given file.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + */ + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange getUncommittedFileChanges(int index); + /** + *
+   * A list of all files which have uncommitted Git changes. There will only be
+   * a single entry for any given file.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + */ + int getUncommittedFileChangesCount(); + /** + *
+   * A list of all files which have uncommitted Git changes. There will only be
+   * a single entry for any given file.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + */ + java.util.List + getUncommittedFileChangesOrBuilderList(); + /** + *
+   * A list of all files which have uncommitted Git changes. There will only be
+   * a single entry for any given file.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + */ + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChangeOrBuilder getUncommittedFileChangesOrBuilder( + int index); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchGitAheadBehindRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchGitAheadBehindRequest.java new file mode 100644 index 0000000..ce3bc79 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchGitAheadBehindRequest.java @@ -0,0 +1,775 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * `FetchGitAheadBehind` request message.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest} + */ +public final class FetchGitAheadBehindRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest) + FetchGitAheadBehindRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use FetchGitAheadBehindRequest.newBuilder() to construct. + private FetchGitAheadBehindRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private FetchGitAheadBehindRequest() { + name_ = ""; + remoteBranch_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new FetchGitAheadBehindRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private FetchGitAheadBehindRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + remoteBranch_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest.class, com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REMOTE_BRANCH_FIELD_NUMBER = 2; + private volatile java.lang.Object remoteBranch_; + /** + *
+   * Optional. The name of the branch in the Git remote against which this workspace
+   * should be compared. If left unset, the repository's default branch name
+   * will be used.
+   * 
+ * + * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The remoteBranch. + */ + @java.lang.Override + public java.lang.String getRemoteBranch() { + java.lang.Object ref = remoteBranch_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + remoteBranch_ = s; + return s; + } + } + /** + *
+   * Optional. The name of the branch in the Git remote against which this workspace
+   * should be compared. If left unset, the repository's default branch name
+   * will be used.
+   * 
+ * + * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for remoteBranch. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getRemoteBranchBytes() { + java.lang.Object ref = remoteBranch_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + remoteBranch_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(remoteBranch_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, remoteBranch_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(remoteBranch_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, remoteBranch_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest other = (com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getRemoteBranch() + .equals(other.getRemoteBranch())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + REMOTE_BRANCH_FIELD_NUMBER; + hash = (53 * hash) + getRemoteBranch().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * `FetchGitAheadBehind` request message.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest) + com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest.class, com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + + remoteBranch_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest build() { + com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest buildPartial() { + com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest result = new com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest(this); + result.name_ = name_; + result.remoteBranch_ = remoteBranch_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest) { + return mergeFrom((com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest other) { + if (other == com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + if (!other.getRemoteBranch().isEmpty()) { + remoteBranch_ = other.remoteBranch_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object name_ = ""; + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + + private java.lang.Object remoteBranch_ = ""; + /** + *
+     * Optional. The name of the branch in the Git remote against which this workspace
+     * should be compared. If left unset, the repository's default branch name
+     * will be used.
+     * 
+ * + * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The remoteBranch. + */ + public java.lang.String getRemoteBranch() { + java.lang.Object ref = remoteBranch_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + remoteBranch_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Optional. The name of the branch in the Git remote against which this workspace
+     * should be compared. If left unset, the repository's default branch name
+     * will be used.
+     * 
+ * + * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for remoteBranch. + */ + public com.google.protobuf.ByteString + getRemoteBranchBytes() { + java.lang.Object ref = remoteBranch_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + remoteBranch_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Optional. The name of the branch in the Git remote against which this workspace
+     * should be compared. If left unset, the repository's default branch name
+     * will be used.
+     * 
+ * + * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The remoteBranch to set. + * @return This builder for chaining. + */ + public Builder setRemoteBranch( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + remoteBranch_ = value; + onChanged(); + return this; + } + /** + *
+     * Optional. The name of the branch in the Git remote against which this workspace
+     * should be compared. If left unset, the repository's default branch name
+     * will be used.
+     * 
+ * + * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearRemoteBranch() { + + remoteBranch_ = getDefaultInstance().getRemoteBranch(); + onChanged(); + return this; + } + /** + *
+     * Optional. The name of the branch in the Git remote against which this workspace
+     * should be compared. If left unset, the repository's default branch name
+     * will be used.
+     * 
+ * + * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The bytes for remoteBranch to set. + * @return This builder for chaining. + */ + public Builder setRemoteBranchBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + remoteBranch_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest) + private static final com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest(); + } + + public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FetchGitAheadBehindRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FetchGitAheadBehindRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchGitAheadBehindRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchGitAheadBehindRequestOrBuilder.java new file mode 100644 index 0000000..9c22083 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchGitAheadBehindRequestOrBuilder.java @@ -0,0 +1,53 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface FetchGitAheadBehindRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + *
+   * Optional. The name of the branch in the Git remote against which this workspace
+   * should be compared. If left unset, the repository's default branch name
+   * will be used.
+   * 
+ * + * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The remoteBranch. + */ + java.lang.String getRemoteBranch(); + /** + *
+   * Optional. The name of the branch in the Git remote against which this workspace
+   * should be compared. If left unset, the repository's default branch name
+   * will be used.
+   * 
+ * + * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for remoteBranch. + */ + com.google.protobuf.ByteString + getRemoteBranchBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchGitAheadBehindResponse.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchGitAheadBehindResponse.java new file mode 100644 index 0000000..f088ec7 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchGitAheadBehindResponse.java @@ -0,0 +1,589 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * `FetchGitAheadBehind` response message.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse} + */ +public final class FetchGitAheadBehindResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse) + FetchGitAheadBehindResponseOrBuilder { +private static final long serialVersionUID = 0L; + // Use FetchGitAheadBehindResponse.newBuilder() to construct. + private FetchGitAheadBehindResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private FetchGitAheadBehindResponse() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new FetchGitAheadBehindResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private FetchGitAheadBehindResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + + commitsAhead_ = input.readInt32(); + break; + } + case 16: { + + commitsBehind_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse.class, com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse.Builder.class); + } + + public static final int COMMITS_AHEAD_FIELD_NUMBER = 1; + private int commitsAhead_; + /** + *
+   * The number of commits in the remote branch that are not in the workspace.
+   * 
+ * + * int32 commits_ahead = 1; + * @return The commitsAhead. + */ + @java.lang.Override + public int getCommitsAhead() { + return commitsAhead_; + } + + public static final int COMMITS_BEHIND_FIELD_NUMBER = 2; + private int commitsBehind_; + /** + *
+   * The number of commits in the workspace that are not in the remote branch.
+   * 
+ * + * int32 commits_behind = 2; + * @return The commitsBehind. + */ + @java.lang.Override + public int getCommitsBehind() { + return commitsBehind_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (commitsAhead_ != 0) { + output.writeInt32(1, commitsAhead_); + } + if (commitsBehind_ != 0) { + output.writeInt32(2, commitsBehind_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (commitsAhead_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, commitsAhead_); + } + if (commitsBehind_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, commitsBehind_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse other = (com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse) obj; + + if (getCommitsAhead() + != other.getCommitsAhead()) return false; + if (getCommitsBehind() + != other.getCommitsBehind()) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + COMMITS_AHEAD_FIELD_NUMBER; + hash = (53 * hash) + getCommitsAhead(); + hash = (37 * hash) + COMMITS_BEHIND_FIELD_NUMBER; + hash = (53 * hash) + getCommitsBehind(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * `FetchGitAheadBehind` response message.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse) + com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse.class, com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + commitsAhead_ = 0; + + commitsBehind_ = 0; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse build() { + com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse buildPartial() { + com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse result = new com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse(this); + result.commitsAhead_ = commitsAhead_; + result.commitsBehind_ = commitsBehind_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse) { + return mergeFrom((com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse other) { + if (other == com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse.getDefaultInstance()) return this; + if (other.getCommitsAhead() != 0) { + setCommitsAhead(other.getCommitsAhead()); + } + if (other.getCommitsBehind() != 0) { + setCommitsBehind(other.getCommitsBehind()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int commitsAhead_ ; + /** + *
+     * The number of commits in the remote branch that are not in the workspace.
+     * 
+ * + * int32 commits_ahead = 1; + * @return The commitsAhead. + */ + @java.lang.Override + public int getCommitsAhead() { + return commitsAhead_; + } + /** + *
+     * The number of commits in the remote branch that are not in the workspace.
+     * 
+ * + * int32 commits_ahead = 1; + * @param value The commitsAhead to set. + * @return This builder for chaining. + */ + public Builder setCommitsAhead(int value) { + + commitsAhead_ = value; + onChanged(); + return this; + } + /** + *
+     * The number of commits in the remote branch that are not in the workspace.
+     * 
+ * + * int32 commits_ahead = 1; + * @return This builder for chaining. + */ + public Builder clearCommitsAhead() { + + commitsAhead_ = 0; + onChanged(); + return this; + } + + private int commitsBehind_ ; + /** + *
+     * The number of commits in the workspace that are not in the remote branch.
+     * 
+ * + * int32 commits_behind = 2; + * @return The commitsBehind. + */ + @java.lang.Override + public int getCommitsBehind() { + return commitsBehind_; + } + /** + *
+     * The number of commits in the workspace that are not in the remote branch.
+     * 
+ * + * int32 commits_behind = 2; + * @param value The commitsBehind to set. + * @return This builder for chaining. + */ + public Builder setCommitsBehind(int value) { + + commitsBehind_ = value; + onChanged(); + return this; + } + /** + *
+     * The number of commits in the workspace that are not in the remote branch.
+     * 
+ * + * int32 commits_behind = 2; + * @return This builder for chaining. + */ + public Builder clearCommitsBehind() { + + commitsBehind_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse) + private static final com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse(); + } + + public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FetchGitAheadBehindResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FetchGitAheadBehindResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchGitAheadBehindResponseOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchGitAheadBehindResponseOrBuilder.java new file mode 100644 index 0000000..a326082 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchGitAheadBehindResponseOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface FetchGitAheadBehindResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The number of commits in the remote branch that are not in the workspace.
+   * 
+ * + * int32 commits_ahead = 1; + * @return The commitsAhead. + */ + int getCommitsAhead(); + + /** + *
+   * The number of commits in the workspace that are not in the remote branch.
+   * 
+ * + * int32 commits_behind = 2; + * @return The commitsBehind. + */ + int getCommitsBehind(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchRemoteBranchesRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchRemoteBranchesRequest.java new file mode 100644 index 0000000..3ef2a29 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchRemoteBranchesRequest.java @@ -0,0 +1,595 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * `FetchRemoteBranches` request message.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest} + */ +public final class FetchRemoteBranchesRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest) + FetchRemoteBranchesRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use FetchRemoteBranchesRequest.newBuilder() to construct. + private FetchRemoteBranchesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private FetchRemoteBranchesRequest() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new FetchRemoteBranchesRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private FetchRemoteBranchesRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest.class, com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + *
+   * Required. The repository's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + *
+   * Required. The repository's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest other = (com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * `FetchRemoteBranches` request message.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest) + com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest.class, com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest build() { + com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest buildPartial() { + com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest result = new com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest(this); + result.name_ = name_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest) { + return mergeFrom((com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest other) { + if (other == com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object name_ = ""; + /** + *
+     * Required. The repository's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The repository's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The repository's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. The repository's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + *
+     * Required. The repository's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest) + private static final com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest(); + } + + public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FetchRemoteBranchesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FetchRemoteBranchesRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchRemoteBranchesRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchRemoteBranchesRequestOrBuilder.java new file mode 100644 index 0000000..793b723 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchRemoteBranchesRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface FetchRemoteBranchesRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The repository's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The repository's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchRemoteBranchesResponse.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchRemoteBranchesResponse.java new file mode 100644 index 0000000..0eabd8d --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchRemoteBranchesResponse.java @@ -0,0 +1,676 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * `FetchRemoteBranches` response message.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse} + */ +public final class FetchRemoteBranchesResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse) + FetchRemoteBranchesResponseOrBuilder { +private static final long serialVersionUID = 0L; + // Use FetchRemoteBranchesResponse.newBuilder() to construct. + private FetchRemoteBranchesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private FetchRemoteBranchesResponse() { + branches_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new FetchRemoteBranchesResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private FetchRemoteBranchesResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + branches_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + branches_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + branches_ = branches_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse.class, com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse.Builder.class); + } + + public static final int BRANCHES_FIELD_NUMBER = 1; + private com.google.protobuf.LazyStringList branches_; + /** + *
+   * The remote repository's branch names.
+   * 
+ * + * repeated string branches = 1; + * @return A list containing the branches. + */ + public com.google.protobuf.ProtocolStringList + getBranchesList() { + return branches_; + } + /** + *
+   * The remote repository's branch names.
+   * 
+ * + * repeated string branches = 1; + * @return The count of branches. + */ + public int getBranchesCount() { + return branches_.size(); + } + /** + *
+   * The remote repository's branch names.
+   * 
+ * + * repeated string branches = 1; + * @param index The index of the element to return. + * @return The branches at the given index. + */ + public java.lang.String getBranches(int index) { + return branches_.get(index); + } + /** + *
+   * The remote repository's branch names.
+   * 
+ * + * repeated string branches = 1; + * @param index The index of the value to return. + * @return The bytes of the branches at the given index. + */ + public com.google.protobuf.ByteString + getBranchesBytes(int index) { + return branches_.getByteString(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < branches_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, branches_.getRaw(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + { + int dataSize = 0; + for (int i = 0; i < branches_.size(); i++) { + dataSize += computeStringSizeNoTag(branches_.getRaw(i)); + } + size += dataSize; + size += 1 * getBranchesList().size(); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse other = (com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse) obj; + + if (!getBranchesList() + .equals(other.getBranchesList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getBranchesCount() > 0) { + hash = (37 * hash) + BRANCHES_FIELD_NUMBER; + hash = (53 * hash) + getBranchesList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * `FetchRemoteBranches` response message.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse) + com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse.class, com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + branches_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse build() { + com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse buildPartial() { + com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse result = new com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse(this); + int from_bitField0_ = bitField0_; + if (((bitField0_ & 0x00000001) != 0)) { + branches_ = branches_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.branches_ = branches_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse) { + return mergeFrom((com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse other) { + if (other == com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse.getDefaultInstance()) return this; + if (!other.branches_.isEmpty()) { + if (branches_.isEmpty()) { + branches_ = other.branches_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureBranchesIsMutable(); + branches_.addAll(other.branches_); + } + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private com.google.protobuf.LazyStringList branches_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureBranchesIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + branches_ = new com.google.protobuf.LazyStringArrayList(branches_); + bitField0_ |= 0x00000001; + } + } + /** + *
+     * The remote repository's branch names.
+     * 
+ * + * repeated string branches = 1; + * @return A list containing the branches. + */ + public com.google.protobuf.ProtocolStringList + getBranchesList() { + return branches_.getUnmodifiableView(); + } + /** + *
+     * The remote repository's branch names.
+     * 
+ * + * repeated string branches = 1; + * @return The count of branches. + */ + public int getBranchesCount() { + return branches_.size(); + } + /** + *
+     * The remote repository's branch names.
+     * 
+ * + * repeated string branches = 1; + * @param index The index of the element to return. + * @return The branches at the given index. + */ + public java.lang.String getBranches(int index) { + return branches_.get(index); + } + /** + *
+     * The remote repository's branch names.
+     * 
+ * + * repeated string branches = 1; + * @param index The index of the value to return. + * @return The bytes of the branches at the given index. + */ + public com.google.protobuf.ByteString + getBranchesBytes(int index) { + return branches_.getByteString(index); + } + /** + *
+     * The remote repository's branch names.
+     * 
+ * + * repeated string branches = 1; + * @param index The index to set the value at. + * @param value The branches to set. + * @return This builder for chaining. + */ + public Builder setBranches( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureBranchesIsMutable(); + branches_.set(index, value); + onChanged(); + return this; + } + /** + *
+     * The remote repository's branch names.
+     * 
+ * + * repeated string branches = 1; + * @param value The branches to add. + * @return This builder for chaining. + */ + public Builder addBranches( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureBranchesIsMutable(); + branches_.add(value); + onChanged(); + return this; + } + /** + *
+     * The remote repository's branch names.
+     * 
+ * + * repeated string branches = 1; + * @param values The branches to add. + * @return This builder for chaining. + */ + public Builder addAllBranches( + java.lang.Iterable values) { + ensureBranchesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, branches_); + onChanged(); + return this; + } + /** + *
+     * The remote repository's branch names.
+     * 
+ * + * repeated string branches = 1; + * @return This builder for chaining. + */ + public Builder clearBranches() { + branches_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+     * The remote repository's branch names.
+     * 
+ * + * repeated string branches = 1; + * @param value The bytes of the branches to add. + * @return This builder for chaining. + */ + public Builder addBranchesBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureBranchesIsMutable(); + branches_.add(value); + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse) + private static final com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse(); + } + + public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FetchRemoteBranchesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FetchRemoteBranchesResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchRemoteBranchesResponseOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchRemoteBranchesResponseOrBuilder.java new file mode 100644 index 0000000..7e89ffe --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchRemoteBranchesResponseOrBuilder.java @@ -0,0 +1,50 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface FetchRemoteBranchesResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The remote repository's branch names.
+   * 
+ * + * repeated string branches = 1; + * @return A list containing the branches. + */ + java.util.List + getBranchesList(); + /** + *
+   * The remote repository's branch names.
+   * 
+ * + * repeated string branches = 1; + * @return The count of branches. + */ + int getBranchesCount(); + /** + *
+   * The remote repository's branch names.
+   * 
+ * + * repeated string branches = 1; + * @param index The index of the element to return. + * @return The branches at the given index. + */ + java.lang.String getBranches(int index); + /** + *
+   * The remote repository's branch names.
+   * 
+ * + * repeated string branches = 1; + * @param index The index of the value to return. + * @return The bytes of the branches at the given index. + */ + com.google.protobuf.ByteString + getBranchesBytes(int index); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetCompilationResultRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetCompilationResultRequest.java new file mode 100644 index 0000000..7d8d767 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetCompilationResultRequest.java @@ -0,0 +1,595 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * `GetCompilationResult` request message.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.GetCompilationResultRequest} + */ +public final class GetCompilationResultRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.GetCompilationResultRequest) + GetCompilationResultRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use GetCompilationResultRequest.newBuilder() to construct. + private GetCompilationResultRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GetCompilationResultRequest() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GetCompilationResultRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private GetCompilationResultRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_GetCompilationResultRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_GetCompilationResultRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.GetCompilationResultRequest.class, com.google.cloud.dataform.v1beta1.GetCompilationResultRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + *
+   * Required. The compilation result's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + *
+   * Required. The compilation result's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.GetCompilationResultRequest)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.GetCompilationResultRequest other = (com.google.cloud.dataform.v1beta1.GetCompilationResultRequest) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.GetCompilationResultRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.GetCompilationResultRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.GetCompilationResultRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.GetCompilationResultRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.GetCompilationResultRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.GetCompilationResultRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.GetCompilationResultRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.GetCompilationResultRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.GetCompilationResultRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.GetCompilationResultRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.GetCompilationResultRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.GetCompilationResultRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.GetCompilationResultRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * `GetCompilationResult` request message.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.GetCompilationResultRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.GetCompilationResultRequest) + com.google.cloud.dataform.v1beta1.GetCompilationResultRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_GetCompilationResultRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_GetCompilationResultRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.GetCompilationResultRequest.class, com.google.cloud.dataform.v1beta1.GetCompilationResultRequest.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.GetCompilationResultRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_GetCompilationResultRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.GetCompilationResultRequest getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.GetCompilationResultRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.GetCompilationResultRequest build() { + com.google.cloud.dataform.v1beta1.GetCompilationResultRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.GetCompilationResultRequest buildPartial() { + com.google.cloud.dataform.v1beta1.GetCompilationResultRequest result = new com.google.cloud.dataform.v1beta1.GetCompilationResultRequest(this); + result.name_ = name_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.GetCompilationResultRequest) { + return mergeFrom((com.google.cloud.dataform.v1beta1.GetCompilationResultRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.GetCompilationResultRequest other) { + if (other == com.google.cloud.dataform.v1beta1.GetCompilationResultRequest.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.GetCompilationResultRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.GetCompilationResultRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object name_ = ""; + /** + *
+     * Required. The compilation result's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The compilation result's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The compilation result's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. The compilation result's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + *
+     * Required. The compilation result's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.GetCompilationResultRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.GetCompilationResultRequest) + private static final com.google.cloud.dataform.v1beta1.GetCompilationResultRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.GetCompilationResultRequest(); + } + + public static com.google.cloud.dataform.v1beta1.GetCompilationResultRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetCompilationResultRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetCompilationResultRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.GetCompilationResultRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetCompilationResultRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetCompilationResultRequestOrBuilder.java new file mode 100644 index 0000000..689fa15 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetCompilationResultRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface GetCompilationResultRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.GetCompilationResultRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The compilation result's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The compilation result's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetRepositoryRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetRepositoryRequest.java new file mode 100644 index 0000000..39c57b3 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetRepositoryRequest.java @@ -0,0 +1,595 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * `GetRepository` request message.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.GetRepositoryRequest} + */ +public final class GetRepositoryRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.GetRepositoryRequest) + GetRepositoryRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use GetRepositoryRequest.newBuilder() to construct. + private GetRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GetRepositoryRequest() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GetRepositoryRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private GetRepositoryRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_GetRepositoryRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_GetRepositoryRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.GetRepositoryRequest.class, com.google.cloud.dataform.v1beta1.GetRepositoryRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + *
+   * Required. The repository's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + *
+   * Required. The repository's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.GetRepositoryRequest)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.GetRepositoryRequest other = (com.google.cloud.dataform.v1beta1.GetRepositoryRequest) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.GetRepositoryRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.GetRepositoryRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.GetRepositoryRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.GetRepositoryRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.GetRepositoryRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.GetRepositoryRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.GetRepositoryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.GetRepositoryRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.GetRepositoryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.GetRepositoryRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.GetRepositoryRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.GetRepositoryRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.GetRepositoryRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * `GetRepository` request message.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.GetRepositoryRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.GetRepositoryRequest) + com.google.cloud.dataform.v1beta1.GetRepositoryRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_GetRepositoryRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_GetRepositoryRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.GetRepositoryRequest.class, com.google.cloud.dataform.v1beta1.GetRepositoryRequest.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.GetRepositoryRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_GetRepositoryRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.GetRepositoryRequest getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.GetRepositoryRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.GetRepositoryRequest build() { + com.google.cloud.dataform.v1beta1.GetRepositoryRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.GetRepositoryRequest buildPartial() { + com.google.cloud.dataform.v1beta1.GetRepositoryRequest result = new com.google.cloud.dataform.v1beta1.GetRepositoryRequest(this); + result.name_ = name_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.GetRepositoryRequest) { + return mergeFrom((com.google.cloud.dataform.v1beta1.GetRepositoryRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.GetRepositoryRequest other) { + if (other == com.google.cloud.dataform.v1beta1.GetRepositoryRequest.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.GetRepositoryRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.GetRepositoryRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object name_ = ""; + /** + *
+     * Required. The repository's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The repository's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The repository's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. The repository's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + *
+     * Required. The repository's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.GetRepositoryRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.GetRepositoryRequest) + private static final com.google.cloud.dataform.v1beta1.GetRepositoryRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.GetRepositoryRequest(); + } + + public static com.google.cloud.dataform.v1beta1.GetRepositoryRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetRepositoryRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.GetRepositoryRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetRepositoryRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetRepositoryRequestOrBuilder.java new file mode 100644 index 0000000..af2c633 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetRepositoryRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface GetRepositoryRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.GetRepositoryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The repository's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The repository's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetWorkflowInvocationRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetWorkflowInvocationRequest.java new file mode 100644 index 0000000..00708e8 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetWorkflowInvocationRequest.java @@ -0,0 +1,595 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * `GetWorkflowInvocation` request message.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest} + */ +public final class GetWorkflowInvocationRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest) + GetWorkflowInvocationRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use GetWorkflowInvocationRequest.newBuilder() to construct. + private GetWorkflowInvocationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GetWorkflowInvocationRequest() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GetWorkflowInvocationRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private GetWorkflowInvocationRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_GetWorkflowInvocationRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_GetWorkflowInvocationRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest.class, com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + *
+   * Required. The workflow invocation resource's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + *
+   * Required. The workflow invocation resource's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest other = (com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * `GetWorkflowInvocation` request message.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest) + com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_GetWorkflowInvocationRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_GetWorkflowInvocationRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest.class, com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_GetWorkflowInvocationRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest build() { + com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest buildPartial() { + com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest result = new com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest(this); + result.name_ = name_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest) { + return mergeFrom((com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest other) { + if (other == com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object name_ = ""; + /** + *
+     * Required. The workflow invocation resource's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The workflow invocation resource's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The workflow invocation resource's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. The workflow invocation resource's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + *
+     * Required. The workflow invocation resource's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest) + private static final com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest(); + } + + public static com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetWorkflowInvocationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetWorkflowInvocationRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetWorkflowInvocationRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetWorkflowInvocationRequestOrBuilder.java new file mode 100644 index 0000000..84e2dec --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetWorkflowInvocationRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface GetWorkflowInvocationRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The workflow invocation resource's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The workflow invocation resource's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetWorkspaceRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetWorkspaceRequest.java new file mode 100644 index 0000000..2169785 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetWorkspaceRequest.java @@ -0,0 +1,595 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * `GetWorkspace` request message.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.GetWorkspaceRequest} + */ +public final class GetWorkspaceRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.GetWorkspaceRequest) + GetWorkspaceRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use GetWorkspaceRequest.newBuilder() to construct. + private GetWorkspaceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GetWorkspaceRequest() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GetWorkspaceRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private GetWorkspaceRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_GetWorkspaceRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_GetWorkspaceRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.GetWorkspaceRequest.class, com.google.cloud.dataform.v1beta1.GetWorkspaceRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.GetWorkspaceRequest)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.GetWorkspaceRequest other = (com.google.cloud.dataform.v1beta1.GetWorkspaceRequest) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.GetWorkspaceRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.GetWorkspaceRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.GetWorkspaceRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.GetWorkspaceRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.GetWorkspaceRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.GetWorkspaceRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.GetWorkspaceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.GetWorkspaceRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.GetWorkspaceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.GetWorkspaceRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.GetWorkspaceRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.GetWorkspaceRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.GetWorkspaceRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * `GetWorkspace` request message.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.GetWorkspaceRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.GetWorkspaceRequest) + com.google.cloud.dataform.v1beta1.GetWorkspaceRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_GetWorkspaceRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_GetWorkspaceRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.GetWorkspaceRequest.class, com.google.cloud.dataform.v1beta1.GetWorkspaceRequest.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.GetWorkspaceRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_GetWorkspaceRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.GetWorkspaceRequest getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.GetWorkspaceRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.GetWorkspaceRequest build() { + com.google.cloud.dataform.v1beta1.GetWorkspaceRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.GetWorkspaceRequest buildPartial() { + com.google.cloud.dataform.v1beta1.GetWorkspaceRequest result = new com.google.cloud.dataform.v1beta1.GetWorkspaceRequest(this); + result.name_ = name_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.GetWorkspaceRequest) { + return mergeFrom((com.google.cloud.dataform.v1beta1.GetWorkspaceRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.GetWorkspaceRequest other) { + if (other == com.google.cloud.dataform.v1beta1.GetWorkspaceRequest.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.GetWorkspaceRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.GetWorkspaceRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object name_ = ""; + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.GetWorkspaceRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.GetWorkspaceRequest) + private static final com.google.cloud.dataform.v1beta1.GetWorkspaceRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.GetWorkspaceRequest(); + } + + public static com.google.cloud.dataform.v1beta1.GetWorkspaceRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetWorkspaceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetWorkspaceRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.GetWorkspaceRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetWorkspaceRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetWorkspaceRequestOrBuilder.java new file mode 100644 index 0000000..a894ebb --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetWorkspaceRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface GetWorkspaceRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.GetWorkspaceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/InstallNpmPackagesRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/InstallNpmPackagesRequest.java new file mode 100644 index 0000000..cb73772 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/InstallNpmPackagesRequest.java @@ -0,0 +1,595 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * `InstallNpmPackages` request message.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.InstallNpmPackagesRequest} + */ +public final class InstallNpmPackagesRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.InstallNpmPackagesRequest) + InstallNpmPackagesRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use InstallNpmPackagesRequest.newBuilder() to construct. + private InstallNpmPackagesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private InstallNpmPackagesRequest() { + workspace_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new InstallNpmPackagesRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private InstallNpmPackagesRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + workspace_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest.class, com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest.Builder.class); + } + + public static final int WORKSPACE_FIELD_NUMBER = 1; + private volatile java.lang.Object workspace_; + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The workspace. + */ + @java.lang.Override + public java.lang.String getWorkspace() { + java.lang.Object ref = workspace_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + workspace_ = s; + return s; + } + } + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for workspace. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getWorkspaceBytes() { + java.lang.Object ref = workspace_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + workspace_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workspace_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, workspace_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest other = (com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest) obj; + + if (!getWorkspace() + .equals(other.getWorkspace())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + WORKSPACE_FIELD_NUMBER; + hash = (53 * hash) + getWorkspace().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * `InstallNpmPackages` request message.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.InstallNpmPackagesRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.InstallNpmPackagesRequest) + com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest.class, com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + workspace_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest build() { + com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest buildPartial() { + com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest result = new com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest(this); + result.workspace_ = workspace_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest) { + return mergeFrom((com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest other) { + if (other == com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest.getDefaultInstance()) return this; + if (!other.getWorkspace().isEmpty()) { + workspace_ = other.workspace_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object workspace_ = ""; + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The workspace. + */ + public java.lang.String getWorkspace() { + java.lang.Object ref = workspace_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + workspace_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for workspace. + */ + public com.google.protobuf.ByteString + getWorkspaceBytes() { + java.lang.Object ref = workspace_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + workspace_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The workspace to set. + * @return This builder for chaining. + */ + public Builder setWorkspace( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + workspace_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearWorkspace() { + + workspace_ = getDefaultInstance().getWorkspace(); + onChanged(); + return this; + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The bytes for workspace to set. + * @return This builder for chaining. + */ + public Builder setWorkspaceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + workspace_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.InstallNpmPackagesRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.InstallNpmPackagesRequest) + private static final com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest(); + } + + public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InstallNpmPackagesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InstallNpmPackagesRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/InstallNpmPackagesRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/InstallNpmPackagesRequestOrBuilder.java new file mode 100644 index 0000000..e4e148b --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/InstallNpmPackagesRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface InstallNpmPackagesRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.InstallNpmPackagesRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The workspace. + */ + java.lang.String getWorkspace(); + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for workspace. + */ + com.google.protobuf.ByteString + getWorkspaceBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/InstallNpmPackagesResponse.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/InstallNpmPackagesResponse.java new file mode 100644 index 0000000..b6cd5e0 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/InstallNpmPackagesResponse.java @@ -0,0 +1,429 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * `InstallNpmPackages` response message.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.InstallNpmPackagesResponse} + */ +public final class InstallNpmPackagesResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.InstallNpmPackagesResponse) + InstallNpmPackagesResponseOrBuilder { +private static final long serialVersionUID = 0L; + // Use InstallNpmPackagesResponse.newBuilder() to construct. + private InstallNpmPackagesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private InstallNpmPackagesResponse() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new InstallNpmPackagesResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private InstallNpmPackagesResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse.class, com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse.Builder.class); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse other = (com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse) obj; + + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * `InstallNpmPackages` response message.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.InstallNpmPackagesResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.InstallNpmPackagesResponse) + com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse.class, com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse build() { + com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse buildPartial() { + com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse result = new com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse) { + return mergeFrom((com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse other) { + if (other == com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse.getDefaultInstance()) return this; + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.InstallNpmPackagesResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.InstallNpmPackagesResponse) + private static final com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse(); + } + + public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InstallNpmPackagesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InstallNpmPackagesResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/InstallNpmPackagesResponseOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/InstallNpmPackagesResponseOrBuilder.java new file mode 100644 index 0000000..83a7cb1 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/InstallNpmPackagesResponseOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface InstallNpmPackagesResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.InstallNpmPackagesResponse) + com.google.protobuf.MessageOrBuilder { +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListCompilationResultsRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListCompilationResultsRequest.java new file mode 100644 index 0000000..bd0e1db --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListCompilationResultsRequest.java @@ -0,0 +1,877 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * `ListCompilationResults` request message.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.ListCompilationResultsRequest} + */ +public final class ListCompilationResultsRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.ListCompilationResultsRequest) + ListCompilationResultsRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use ListCompilationResultsRequest.newBuilder() to construct. + private ListCompilationResultsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ListCompilationResultsRequest() { + parent_ = ""; + pageToken_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ListCompilationResultsRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ListCompilationResultsRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + parent_ = s; + break; + } + case 16: { + + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest.class, com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest.Builder.class); + } + + public static final int PARENT_FIELD_NUMBER = 1; + private volatile java.lang.Object parent_; + /** + *
+   * Required. The repository in which to list compilation results. Must be in the
+   * format `projects/*/locations/*/repositories/*`.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + @java.lang.Override + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } + } + /** + *
+   * Required. The repository in which to list compilation results. Must be in the
+   * format `projects/*/locations/*/repositories/*`.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PAGE_SIZE_FIELD_NUMBER = 2; + private int pageSize_; + /** + *
+   * Optional. Maximum number of compilation results to return. The server may return
+   * fewer items than requested. If unspecified, the server will pick an
+   * appropriate default.
+   * 
+ * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + + public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + private volatile java.lang.Object pageToken_; + /** + *
+   * Optional. Page token received from a previous `ListCompilationResults` call.
+   * Provide this to retrieve the subsequent page.
+   * When paginating, all other parameters provided to `ListCompilationResults`
+   * must match the call that provided the page token.
+   * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The pageToken. + */ + @java.lang.Override + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } + } + /** + *
+   * Optional. Page token received from a previous `ListCompilationResults` call.
+   * Provide this to retrieve the subsequent page.
+   * When paginating, all other parameters provided to `ListCompilationResults`
+   * must match the call that provided the page token.
+   * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for pageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + } + if (pageSize_ != 0) { + output.writeInt32(2, pageSize_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + } + if (pageSize_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest other = (com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PARENT_FIELD_NUMBER; + hash = (53 * hash) + getParent().hashCode(); + hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; + hash = (53 * hash) + getPageSize(); + hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getPageToken().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * `ListCompilationResults` request message.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.ListCompilationResultsRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.ListCompilationResultsRequest) + com.google.cloud.dataform.v1beta1.ListCompilationResultsRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest.class, com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + parent_ = ""; + + pageSize_ = 0; + + pageToken_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest build() { + com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest buildPartial() { + com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest result = new com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest(this); + result.parent_ = parent_; + result.pageSize_ = pageSize_; + result.pageToken_ = pageToken_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest) { + return mergeFrom((com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest other) { + if (other == com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest.getDefaultInstance()) return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + onChanged(); + } + if (other.getPageSize() != 0) { + setPageSize(other.getPageSize()); + } + if (!other.getPageToken().isEmpty()) { + pageToken_ = other.pageToken_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object parent_ = ""; + /** + *
+     * Required. The repository in which to list compilation results. Must be in the
+     * format `projects/*/locations/*/repositories/*`.
+     * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The repository in which to list compilation results. Must be in the
+     * format `projects/*/locations/*/repositories/*`.
+     * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + public com.google.protobuf.ByteString + getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The repository in which to list compilation results. Must be in the
+     * format `projects/*/locations/*/repositories/*`.
+     * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The parent to set. + * @return This builder for chaining. + */ + public Builder setParent( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + parent_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. The repository in which to list compilation results. Must be in the
+     * format `projects/*/locations/*/repositories/*`.
+     * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearParent() { + + parent_ = getDefaultInstance().getParent(); + onChanged(); + return this; + } + /** + *
+     * Required. The repository in which to list compilation results. Must be in the
+     * format `projects/*/locations/*/repositories/*`.
+     * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The bytes for parent to set. + * @return This builder for chaining. + */ + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + parent_ = value; + onChanged(); + return this; + } + + private int pageSize_ ; + /** + *
+     * Optional. Maximum number of compilation results to return. The server may return
+     * fewer items than requested. If unspecified, the server will pick an
+     * appropriate default.
+     * 
+ * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + /** + *
+     * Optional. Maximum number of compilation results to return. The server may return
+     * fewer items than requested. If unspecified, the server will pick an
+     * appropriate default.
+     * 
+ * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The pageSize to set. + * @return This builder for chaining. + */ + public Builder setPageSize(int value) { + + pageSize_ = value; + onChanged(); + return this; + } + /** + *
+     * Optional. Maximum number of compilation results to return. The server may return
+     * fewer items than requested. If unspecified, the server will pick an
+     * appropriate default.
+     * 
+ * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearPageSize() { + + pageSize_ = 0; + onChanged(); + return this; + } + + private java.lang.Object pageToken_ = ""; + /** + *
+     * Optional. Page token received from a previous `ListCompilationResults` call.
+     * Provide this to retrieve the subsequent page.
+     * When paginating, all other parameters provided to `ListCompilationResults`
+     * must match the call that provided the page token.
+     * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The pageToken. + */ + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Optional. Page token received from a previous `ListCompilationResults` call.
+     * Provide this to retrieve the subsequent page.
+     * When paginating, all other parameters provided to `ListCompilationResults`
+     * must match the call that provided the page token.
+     * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for pageToken. + */ + public com.google.protobuf.ByteString + getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Optional. Page token received from a previous `ListCompilationResults` call.
+     * Provide this to retrieve the subsequent page.
+     * When paginating, all other parameters provided to `ListCompilationResults`
+     * must match the call that provided the page token.
+     * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageToken( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + pageToken_ = value; + onChanged(); + return this; + } + /** + *
+     * Optional. Page token received from a previous `ListCompilationResults` call.
+     * Provide this to retrieve the subsequent page.
+     * When paginating, all other parameters provided to `ListCompilationResults`
+     * must match the call that provided the page token.
+     * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearPageToken() { + + pageToken_ = getDefaultInstance().getPageToken(); + onChanged(); + return this; + } + /** + *
+     * Optional. Page token received from a previous `ListCompilationResults` call.
+     * Provide this to retrieve the subsequent page.
+     * When paginating, all other parameters provided to `ListCompilationResults`
+     * must match the call that provided the page token.
+     * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The bytes for pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + pageToken_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.ListCompilationResultsRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.ListCompilationResultsRequest) + private static final com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest(); + } + + public static com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCompilationResultsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListCompilationResultsRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListCompilationResultsRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListCompilationResultsRequestOrBuilder.java new file mode 100644 index 0000000..3d22fbf --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListCompilationResultsRequestOrBuilder.java @@ -0,0 +1,69 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface ListCompilationResultsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.ListCompilationResultsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The repository in which to list compilation results. Must be in the
+   * format `projects/*/locations/*/repositories/*`.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + java.lang.String getParent(); + /** + *
+   * Required. The repository in which to list compilation results. Must be in the
+   * format `projects/*/locations/*/repositories/*`.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + com.google.protobuf.ByteString + getParentBytes(); + + /** + *
+   * Optional. Maximum number of compilation results to return. The server may return
+   * fewer items than requested. If unspecified, the server will pick an
+   * appropriate default.
+   * 
+ * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The pageSize. + */ + int getPageSize(); + + /** + *
+   * Optional. Page token received from a previous `ListCompilationResults` call.
+   * Provide this to retrieve the subsequent page.
+   * When paginating, all other parameters provided to `ListCompilationResults`
+   * must match the call that provided the page token.
+   * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The pageToken. + */ + java.lang.String getPageToken(); + /** + *
+   * Optional. Page token received from a previous `ListCompilationResults` call.
+   * Provide this to retrieve the subsequent page.
+   * When paginating, all other parameters provided to `ListCompilationResults`
+   * must match the call that provided the page token.
+   * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for pageToken. + */ + com.google.protobuf.ByteString + getPageTokenBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListCompilationResultsResponse.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListCompilationResultsResponse.java new file mode 100644 index 0000000..73e7f8f --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListCompilationResultsResponse.java @@ -0,0 +1,1289 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * `ListCompilationResults` response message.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.ListCompilationResultsResponse} + */ +public final class ListCompilationResultsResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.ListCompilationResultsResponse) + ListCompilationResultsResponseOrBuilder { +private static final long serialVersionUID = 0L; + // Use ListCompilationResultsResponse.newBuilder() to construct. + private ListCompilationResultsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ListCompilationResultsResponse() { + compilationResults_ = java.util.Collections.emptyList(); + nextPageToken_ = ""; + unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ListCompilationResultsResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ListCompilationResultsResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + compilationResults_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + compilationResults_.add( + input.readMessage(com.google.cloud.dataform.v1beta1.CompilationResult.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + nextPageToken_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + unreachable_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + compilationResults_ = java.util.Collections.unmodifiableList(compilationResults_); + } + if (((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = unreachable_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse.class, com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse.Builder.class); + } + + public static final int COMPILATION_RESULTS_FIELD_NUMBER = 1; + private java.util.List compilationResults_; + /** + *
+   * List of compilation results.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + */ + @java.lang.Override + public java.util.List getCompilationResultsList() { + return compilationResults_; + } + /** + *
+   * List of compilation results.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + */ + @java.lang.Override + public java.util.List + getCompilationResultsOrBuilderList() { + return compilationResults_; + } + /** + *
+   * List of compilation results.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + */ + @java.lang.Override + public int getCompilationResultsCount() { + return compilationResults_.size(); + } + /** + *
+   * List of compilation results.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResult getCompilationResults(int index) { + return compilationResults_.get(index); + } + /** + *
+   * List of compilation results.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResultOrBuilder getCompilationResultsOrBuilder( + int index) { + return compilationResults_.get(index); + } + + public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + private volatile java.lang.Object nextPageToken_; + /** + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * @return The nextPageToken. + */ + @java.lang.Override + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } + } + /** + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * @return The bytes for nextPageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int UNREACHABLE_FIELD_NUMBER = 3; + private com.google.protobuf.LazyStringList unreachable_; + /** + *
+   * Locations which could not be reached.
+   * 
+ * + * repeated string unreachable = 3; + * @return A list containing the unreachable. + */ + public com.google.protobuf.ProtocolStringList + getUnreachableList() { + return unreachable_; + } + /** + *
+   * Locations which could not be reached.
+   * 
+ * + * repeated string unreachable = 3; + * @return The count of unreachable. + */ + public int getUnreachableCount() { + return unreachable_.size(); + } + /** + *
+   * Locations which could not be reached.
+   * 
+ * + * repeated string unreachable = 3; + * @param index The index of the element to return. + * @return The unreachable at the given index. + */ + public java.lang.String getUnreachable(int index) { + return unreachable_.get(index); + } + /** + *
+   * Locations which could not be reached.
+   * 
+ * + * repeated string unreachable = 3; + * @param index The index of the value to return. + * @return The bytes of the unreachable at the given index. + */ + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { + return unreachable_.getByteString(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < compilationResults_.size(); i++) { + output.writeMessage(1, compilationResults_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); + } + for (int i = 0; i < unreachable_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, unreachable_.getRaw(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < compilationResults_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, compilationResults_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); + } + { + int dataSize = 0; + for (int i = 0; i < unreachable_.size(); i++) { + dataSize += computeStringSizeNoTag(unreachable_.getRaw(i)); + } + size += dataSize; + size += 1 * getUnreachableList().size(); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse other = (com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse) obj; + + if (!getCompilationResultsList() + .equals(other.getCompilationResultsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getUnreachableList() + .equals(other.getUnreachableList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getCompilationResultsCount() > 0) { + hash = (37 * hash) + COMPILATION_RESULTS_FIELD_NUMBER; + hash = (53 * hash) + getCompilationResultsList().hashCode(); + } + hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getNextPageToken().hashCode(); + if (getUnreachableCount() > 0) { + hash = (37 * hash) + UNREACHABLE_FIELD_NUMBER; + hash = (53 * hash) + getUnreachableList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * `ListCompilationResults` response message.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.ListCompilationResultsResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.ListCompilationResultsResponse) + com.google.cloud.dataform.v1beta1.ListCompilationResultsResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse.class, com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getCompilationResultsFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (compilationResultsBuilder_ == null) { + compilationResults_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + compilationResultsBuilder_.clear(); + } + nextPageToken_ = ""; + + unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse build() { + com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse buildPartial() { + com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse result = new com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse(this); + int from_bitField0_ = bitField0_; + if (compilationResultsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + compilationResults_ = java.util.Collections.unmodifiableList(compilationResults_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.compilationResults_ = compilationResults_; + } else { + result.compilationResults_ = compilationResultsBuilder_.build(); + } + result.nextPageToken_ = nextPageToken_; + if (((bitField0_ & 0x00000002) != 0)) { + unreachable_ = unreachable_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.unreachable_ = unreachable_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse) { + return mergeFrom((com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse other) { + if (other == com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse.getDefaultInstance()) return this; + if (compilationResultsBuilder_ == null) { + if (!other.compilationResults_.isEmpty()) { + if (compilationResults_.isEmpty()) { + compilationResults_ = other.compilationResults_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureCompilationResultsIsMutable(); + compilationResults_.addAll(other.compilationResults_); + } + onChanged(); + } + } else { + if (!other.compilationResults_.isEmpty()) { + if (compilationResultsBuilder_.isEmpty()) { + compilationResultsBuilder_.dispose(); + compilationResultsBuilder_ = null; + compilationResults_ = other.compilationResults_; + bitField0_ = (bitField0_ & ~0x00000001); + compilationResultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getCompilationResultsFieldBuilder() : null; + } else { + compilationResultsBuilder_.addAllMessages(other.compilationResults_); + } + } + } + if (!other.getNextPageToken().isEmpty()) { + nextPageToken_ = other.nextPageToken_; + onChanged(); + } + if (!other.unreachable_.isEmpty()) { + if (unreachable_.isEmpty()) { + unreachable_ = other.unreachable_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureUnreachableIsMutable(); + unreachable_.addAll(other.unreachable_); + } + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private java.util.List compilationResults_ = + java.util.Collections.emptyList(); + private void ensureCompilationResultsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + compilationResults_ = new java.util.ArrayList(compilationResults_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.CompilationResult, com.google.cloud.dataform.v1beta1.CompilationResult.Builder, com.google.cloud.dataform.v1beta1.CompilationResultOrBuilder> compilationResultsBuilder_; + + /** + *
+     * List of compilation results.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + */ + public java.util.List getCompilationResultsList() { + if (compilationResultsBuilder_ == null) { + return java.util.Collections.unmodifiableList(compilationResults_); + } else { + return compilationResultsBuilder_.getMessageList(); + } + } + /** + *
+     * List of compilation results.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + */ + public int getCompilationResultsCount() { + if (compilationResultsBuilder_ == null) { + return compilationResults_.size(); + } else { + return compilationResultsBuilder_.getCount(); + } + } + /** + *
+     * List of compilation results.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + */ + public com.google.cloud.dataform.v1beta1.CompilationResult getCompilationResults(int index) { + if (compilationResultsBuilder_ == null) { + return compilationResults_.get(index); + } else { + return compilationResultsBuilder_.getMessage(index); + } + } + /** + *
+     * List of compilation results.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + */ + public Builder setCompilationResults( + int index, com.google.cloud.dataform.v1beta1.CompilationResult value) { + if (compilationResultsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureCompilationResultsIsMutable(); + compilationResults_.set(index, value); + onChanged(); + } else { + compilationResultsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+     * List of compilation results.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + */ + public Builder setCompilationResults( + int index, com.google.cloud.dataform.v1beta1.CompilationResult.Builder builderForValue) { + if (compilationResultsBuilder_ == null) { + ensureCompilationResultsIsMutable(); + compilationResults_.set(index, builderForValue.build()); + onChanged(); + } else { + compilationResultsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * List of compilation results.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + */ + public Builder addCompilationResults(com.google.cloud.dataform.v1beta1.CompilationResult value) { + if (compilationResultsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureCompilationResultsIsMutable(); + compilationResults_.add(value); + onChanged(); + } else { + compilationResultsBuilder_.addMessage(value); + } + return this; + } + /** + *
+     * List of compilation results.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + */ + public Builder addCompilationResults( + int index, com.google.cloud.dataform.v1beta1.CompilationResult value) { + if (compilationResultsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureCompilationResultsIsMutable(); + compilationResults_.add(index, value); + onChanged(); + } else { + compilationResultsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+     * List of compilation results.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + */ + public Builder addCompilationResults( + com.google.cloud.dataform.v1beta1.CompilationResult.Builder builderForValue) { + if (compilationResultsBuilder_ == null) { + ensureCompilationResultsIsMutable(); + compilationResults_.add(builderForValue.build()); + onChanged(); + } else { + compilationResultsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+     * List of compilation results.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + */ + public Builder addCompilationResults( + int index, com.google.cloud.dataform.v1beta1.CompilationResult.Builder builderForValue) { + if (compilationResultsBuilder_ == null) { + ensureCompilationResultsIsMutable(); + compilationResults_.add(index, builderForValue.build()); + onChanged(); + } else { + compilationResultsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * List of compilation results.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + */ + public Builder addAllCompilationResults( + java.lang.Iterable values) { + if (compilationResultsBuilder_ == null) { + ensureCompilationResultsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, compilationResults_); + onChanged(); + } else { + compilationResultsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+     * List of compilation results.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + */ + public Builder clearCompilationResults() { + if (compilationResultsBuilder_ == null) { + compilationResults_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + compilationResultsBuilder_.clear(); + } + return this; + } + /** + *
+     * List of compilation results.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + */ + public Builder removeCompilationResults(int index) { + if (compilationResultsBuilder_ == null) { + ensureCompilationResultsIsMutable(); + compilationResults_.remove(index); + onChanged(); + } else { + compilationResultsBuilder_.remove(index); + } + return this; + } + /** + *
+     * List of compilation results.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + */ + public com.google.cloud.dataform.v1beta1.CompilationResult.Builder getCompilationResultsBuilder( + int index) { + return getCompilationResultsFieldBuilder().getBuilder(index); + } + /** + *
+     * List of compilation results.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + */ + public com.google.cloud.dataform.v1beta1.CompilationResultOrBuilder getCompilationResultsOrBuilder( + int index) { + if (compilationResultsBuilder_ == null) { + return compilationResults_.get(index); } else { + return compilationResultsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+     * List of compilation results.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + */ + public java.util.List + getCompilationResultsOrBuilderList() { + if (compilationResultsBuilder_ != null) { + return compilationResultsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(compilationResults_); + } + } + /** + *
+     * List of compilation results.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + */ + public com.google.cloud.dataform.v1beta1.CompilationResult.Builder addCompilationResultsBuilder() { + return getCompilationResultsFieldBuilder().addBuilder( + com.google.cloud.dataform.v1beta1.CompilationResult.getDefaultInstance()); + } + /** + *
+     * List of compilation results.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + */ + public com.google.cloud.dataform.v1beta1.CompilationResult.Builder addCompilationResultsBuilder( + int index) { + return getCompilationResultsFieldBuilder().addBuilder( + index, com.google.cloud.dataform.v1beta1.CompilationResult.getDefaultInstance()); + } + /** + *
+     * List of compilation results.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + */ + public java.util.List + getCompilationResultsBuilderList() { + return getCompilationResultsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.CompilationResult, com.google.cloud.dataform.v1beta1.CompilationResult.Builder, com.google.cloud.dataform.v1beta1.CompilationResultOrBuilder> + getCompilationResultsFieldBuilder() { + if (compilationResultsBuilder_ == null) { + compilationResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.CompilationResult, com.google.cloud.dataform.v1beta1.CompilationResult.Builder, com.google.cloud.dataform.v1beta1.CompilationResultOrBuilder>( + compilationResults_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + compilationResults_ = null; + } + return compilationResultsBuilder_; + } + + private java.lang.Object nextPageToken_ = ""; + /** + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * @return The nextPageToken. + */ + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * @return The bytes for nextPageToken. + */ + public com.google.protobuf.ByteString + getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * @param value The nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + nextPageToken_ = value; + onChanged(); + return this; + } + /** + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * @return This builder for chaining. + */ + public Builder clearNextPageToken() { + + nextPageToken_ = getDefaultInstance().getNextPageToken(); + onChanged(); + return this; + } + /** + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * @param value The bytes for nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + nextPageToken_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUnreachableIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); + bitField0_ |= 0x00000002; + } + } + /** + *
+     * Locations which could not be reached.
+     * 
+ * + * repeated string unreachable = 3; + * @return A list containing the unreachable. + */ + public com.google.protobuf.ProtocolStringList + getUnreachableList() { + return unreachable_.getUnmodifiableView(); + } + /** + *
+     * Locations which could not be reached.
+     * 
+ * + * repeated string unreachable = 3; + * @return The count of unreachable. + */ + public int getUnreachableCount() { + return unreachable_.size(); + } + /** + *
+     * Locations which could not be reached.
+     * 
+ * + * repeated string unreachable = 3; + * @param index The index of the element to return. + * @return The unreachable at the given index. + */ + public java.lang.String getUnreachable(int index) { + return unreachable_.get(index); + } + /** + *
+     * Locations which could not be reached.
+     * 
+ * + * repeated string unreachable = 3; + * @param index The index of the value to return. + * @return The bytes of the unreachable at the given index. + */ + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { + return unreachable_.getByteString(index); + } + /** + *
+     * Locations which could not be reached.
+     * 
+ * + * repeated string unreachable = 3; + * @param index The index to set the value at. + * @param value The unreachable to set. + * @return This builder for chaining. + */ + public Builder setUnreachable( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); + unreachable_.set(index, value); + onChanged(); + return this; + } + /** + *
+     * Locations which could not be reached.
+     * 
+ * + * repeated string unreachable = 3; + * @param value The unreachable to add. + * @return This builder for chaining. + */ + public Builder addUnreachable( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); + unreachable_.add(value); + onChanged(); + return this; + } + /** + *
+     * Locations which could not be reached.
+     * 
+ * + * repeated string unreachable = 3; + * @param values The unreachable to add. + * @return This builder for chaining. + */ + public Builder addAllUnreachable( + java.lang.Iterable values) { + ensureUnreachableIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachable_); + onChanged(); + return this; + } + /** + *
+     * Locations which could not be reached.
+     * 
+ * + * repeated string unreachable = 3; + * @return This builder for chaining. + */ + public Builder clearUnreachable() { + unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+     * Locations which could not be reached.
+     * 
+ * + * repeated string unreachable = 3; + * @param value The bytes of the unreachable to add. + * @return This builder for chaining. + */ + public Builder addUnreachableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureUnreachableIsMutable(); + unreachable_.add(value); + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.ListCompilationResultsResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.ListCompilationResultsResponse) + private static final com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse(); + } + + public static com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCompilationResultsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListCompilationResultsResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListCompilationResultsResponseOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListCompilationResultsResponseOrBuilder.java new file mode 100644 index 0000000..c3f6c03 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListCompilationResultsResponseOrBuilder.java @@ -0,0 +1,116 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface ListCompilationResultsResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.ListCompilationResultsResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * List of compilation results.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + */ + java.util.List + getCompilationResultsList(); + /** + *
+   * List of compilation results.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + */ + com.google.cloud.dataform.v1beta1.CompilationResult getCompilationResults(int index); + /** + *
+   * List of compilation results.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + */ + int getCompilationResultsCount(); + /** + *
+   * List of compilation results.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + */ + java.util.List + getCompilationResultsOrBuilderList(); + /** + *
+   * List of compilation results.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + */ + com.google.cloud.dataform.v1beta1.CompilationResultOrBuilder getCompilationResultsOrBuilder( + int index); + + /** + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * @return The nextPageToken. + */ + java.lang.String getNextPageToken(); + /** + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * @return The bytes for nextPageToken. + */ + com.google.protobuf.ByteString + getNextPageTokenBytes(); + + /** + *
+   * Locations which could not be reached.
+   * 
+ * + * repeated string unreachable = 3; + * @return A list containing the unreachable. + */ + java.util.List + getUnreachableList(); + /** + *
+   * Locations which could not be reached.
+   * 
+ * + * repeated string unreachable = 3; + * @return The count of unreachable. + */ + int getUnreachableCount(); + /** + *
+   * Locations which could not be reached.
+   * 
+ * + * repeated string unreachable = 3; + * @param index The index of the element to return. + * @return The unreachable at the given index. + */ + java.lang.String getUnreachable(int index); + /** + *
+   * Locations which could not be reached.
+   * 
+ * + * repeated string unreachable = 3; + * @param index The index of the value to return. + * @return The bytes of the unreachable at the given index. + */ + com.google.protobuf.ByteString + getUnreachableBytes(int index); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListRepositoriesRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListRepositoriesRequest.java new file mode 100644 index 0000000..4eb56ab --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListRepositoriesRequest.java @@ -0,0 +1,1223 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * `ListRepositories` request message.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.ListRepositoriesRequest} + */ +public final class ListRepositoriesRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.ListRepositoriesRequest) + ListRepositoriesRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use ListRepositoriesRequest.newBuilder() to construct. + private ListRepositoriesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ListRepositoriesRequest() { + parent_ = ""; + pageToken_ = ""; + orderBy_ = ""; + filter_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ListRepositoriesRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ListRepositoriesRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + parent_ = s; + break; + } + case 16: { + + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + filter_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListRepositoriesRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListRepositoriesRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.ListRepositoriesRequest.class, com.google.cloud.dataform.v1beta1.ListRepositoriesRequest.Builder.class); + } + + public static final int PARENT_FIELD_NUMBER = 1; + private volatile java.lang.Object parent_; + /** + *
+   * Required. The location in which to list repositories. Must be in the format
+   * `projects/*/locations/*`.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + @java.lang.Override + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } + } + /** + *
+   * Required. The location in which to list repositories. Must be in the format
+   * `projects/*/locations/*`.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PAGE_SIZE_FIELD_NUMBER = 2; + private int pageSize_; + /** + *
+   * Optional. Maximum number of repositories to return. The server may return fewer
+   * items than requested. If unspecified, the server will pick an appropriate
+   * default.
+   * 
+ * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + + public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + private volatile java.lang.Object pageToken_; + /** + *
+   * Optional. Page token received from a previous `ListRepositories` call.
+   * Provide this to retrieve the subsequent page.
+   * When paginating, all other parameters provided to `ListRepositories`
+   * must match the call that provided the page token.
+   * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The pageToken. + */ + @java.lang.Override + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } + } + /** + *
+   * Optional. Page token received from a previous `ListRepositories` call.
+   * Provide this to retrieve the subsequent page.
+   * When paginating, all other parameters provided to `ListRepositories`
+   * must match the call that provided the page token.
+   * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for pageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ORDER_BY_FIELD_NUMBER = 4; + private volatile java.lang.Object orderBy_; + /** + *
+   * Optional. This field only supports ordering by `name`. If unspecified, the server
+   * will choose the ordering. If specified, the default order is ascending for
+   * the `name` field.
+   * 
+ * + * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return The orderBy. + */ + @java.lang.Override + public java.lang.String getOrderBy() { + java.lang.Object ref = orderBy_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + orderBy_ = s; + return s; + } + } + /** + *
+   * Optional. This field only supports ordering by `name`. If unspecified, the server
+   * will choose the ordering. If specified, the default order is ascending for
+   * the `name` field.
+   * 
+ * + * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for orderBy. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getOrderByBytes() { + java.lang.Object ref = orderBy_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + orderBy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FILTER_FIELD_NUMBER = 5; + private volatile java.lang.Object filter_; + /** + *
+   * Optional. Filter for the returned list.
+   * 
+ * + * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return The filter. + */ + @java.lang.Override + public java.lang.String getFilter() { + java.lang.Object ref = filter_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + filter_ = s; + return s; + } + } + /** + *
+   * Optional. Filter for the returned list.
+   * 
+ * + * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for filter. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getFilterBytes() { + java.lang.Object ref = filter_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + filter_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + } + if (pageSize_ != 0) { + output.writeInt32(2, pageSize_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, orderBy_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, filter_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + } + if (pageSize_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, orderBy_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, filter_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.ListRepositoriesRequest)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.ListRepositoriesRequest other = (com.google.cloud.dataform.v1beta1.ListRepositoriesRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PARENT_FIELD_NUMBER; + hash = (53 * hash) + getParent().hashCode(); + hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; + hash = (53 * hash) + getPageSize(); + hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getPageToken().hashCode(); + hash = (37 * hash) + ORDER_BY_FIELD_NUMBER; + hash = (53 * hash) + getOrderBy().hashCode(); + hash = (37 * hash) + FILTER_FIELD_NUMBER; + hash = (53 * hash) + getFilter().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.ListRepositoriesRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.ListRepositoriesRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ListRepositoriesRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.ListRepositoriesRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ListRepositoriesRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.ListRepositoriesRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ListRepositoriesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.ListRepositoriesRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ListRepositoriesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.ListRepositoriesRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ListRepositoriesRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.ListRepositoriesRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.ListRepositoriesRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * `ListRepositories` request message.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.ListRepositoriesRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.ListRepositoriesRequest) + com.google.cloud.dataform.v1beta1.ListRepositoriesRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListRepositoriesRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListRepositoriesRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.ListRepositoriesRequest.class, com.google.cloud.dataform.v1beta1.ListRepositoriesRequest.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.ListRepositoriesRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + parent_ = ""; + + pageSize_ = 0; + + pageToken_ = ""; + + orderBy_ = ""; + + filter_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListRepositoriesRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.ListRepositoriesRequest getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.ListRepositoriesRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.ListRepositoriesRequest build() { + com.google.cloud.dataform.v1beta1.ListRepositoriesRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.ListRepositoriesRequest buildPartial() { + com.google.cloud.dataform.v1beta1.ListRepositoriesRequest result = new com.google.cloud.dataform.v1beta1.ListRepositoriesRequest(this); + result.parent_ = parent_; + result.pageSize_ = pageSize_; + result.pageToken_ = pageToken_; + result.orderBy_ = orderBy_; + result.filter_ = filter_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.ListRepositoriesRequest) { + return mergeFrom((com.google.cloud.dataform.v1beta1.ListRepositoriesRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.ListRepositoriesRequest other) { + if (other == com.google.cloud.dataform.v1beta1.ListRepositoriesRequest.getDefaultInstance()) return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + onChanged(); + } + if (other.getPageSize() != 0) { + setPageSize(other.getPageSize()); + } + if (!other.getPageToken().isEmpty()) { + pageToken_ = other.pageToken_; + onChanged(); + } + if (!other.getOrderBy().isEmpty()) { + orderBy_ = other.orderBy_; + onChanged(); + } + if (!other.getFilter().isEmpty()) { + filter_ = other.filter_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.ListRepositoriesRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.ListRepositoriesRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object parent_ = ""; + /** + *
+     * Required. The location in which to list repositories. Must be in the format
+     * `projects/*/locations/*`.
+     * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The location in which to list repositories. Must be in the format
+     * `projects/*/locations/*`.
+     * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + public com.google.protobuf.ByteString + getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The location in which to list repositories. Must be in the format
+     * `projects/*/locations/*`.
+     * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The parent to set. + * @return This builder for chaining. + */ + public Builder setParent( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + parent_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. The location in which to list repositories. Must be in the format
+     * `projects/*/locations/*`.
+     * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearParent() { + + parent_ = getDefaultInstance().getParent(); + onChanged(); + return this; + } + /** + *
+     * Required. The location in which to list repositories. Must be in the format
+     * `projects/*/locations/*`.
+     * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The bytes for parent to set. + * @return This builder for chaining. + */ + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + parent_ = value; + onChanged(); + return this; + } + + private int pageSize_ ; + /** + *
+     * Optional. Maximum number of repositories to return. The server may return fewer
+     * items than requested. If unspecified, the server will pick an appropriate
+     * default.
+     * 
+ * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + /** + *
+     * Optional. Maximum number of repositories to return. The server may return fewer
+     * items than requested. If unspecified, the server will pick an appropriate
+     * default.
+     * 
+ * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The pageSize to set. + * @return This builder for chaining. + */ + public Builder setPageSize(int value) { + + pageSize_ = value; + onChanged(); + return this; + } + /** + *
+     * Optional. Maximum number of repositories to return. The server may return fewer
+     * items than requested. If unspecified, the server will pick an appropriate
+     * default.
+     * 
+ * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearPageSize() { + + pageSize_ = 0; + onChanged(); + return this; + } + + private java.lang.Object pageToken_ = ""; + /** + *
+     * Optional. Page token received from a previous `ListRepositories` call.
+     * Provide this to retrieve the subsequent page.
+     * When paginating, all other parameters provided to `ListRepositories`
+     * must match the call that provided the page token.
+     * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The pageToken. + */ + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Optional. Page token received from a previous `ListRepositories` call.
+     * Provide this to retrieve the subsequent page.
+     * When paginating, all other parameters provided to `ListRepositories`
+     * must match the call that provided the page token.
+     * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for pageToken. + */ + public com.google.protobuf.ByteString + getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Optional. Page token received from a previous `ListRepositories` call.
+     * Provide this to retrieve the subsequent page.
+     * When paginating, all other parameters provided to `ListRepositories`
+     * must match the call that provided the page token.
+     * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageToken( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + pageToken_ = value; + onChanged(); + return this; + } + /** + *
+     * Optional. Page token received from a previous `ListRepositories` call.
+     * Provide this to retrieve the subsequent page.
+     * When paginating, all other parameters provided to `ListRepositories`
+     * must match the call that provided the page token.
+     * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearPageToken() { + + pageToken_ = getDefaultInstance().getPageToken(); + onChanged(); + return this; + } + /** + *
+     * Optional. Page token received from a previous `ListRepositories` call.
+     * Provide this to retrieve the subsequent page.
+     * When paginating, all other parameters provided to `ListRepositories`
+     * must match the call that provided the page token.
+     * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The bytes for pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + pageToken_ = value; + onChanged(); + return this; + } + + private java.lang.Object orderBy_ = ""; + /** + *
+     * Optional. This field only supports ordering by `name`. If unspecified, the server
+     * will choose the ordering. If specified, the default order is ascending for
+     * the `name` field.
+     * 
+ * + * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return The orderBy. + */ + public java.lang.String getOrderBy() { + java.lang.Object ref = orderBy_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + orderBy_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Optional. This field only supports ordering by `name`. If unspecified, the server
+     * will choose the ordering. If specified, the default order is ascending for
+     * the `name` field.
+     * 
+ * + * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for orderBy. + */ + public com.google.protobuf.ByteString + getOrderByBytes() { + java.lang.Object ref = orderBy_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + orderBy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Optional. This field only supports ordering by `name`. If unspecified, the server
+     * will choose the ordering. If specified, the default order is ascending for
+     * the `name` field.
+     * 
+ * + * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The orderBy to set. + * @return This builder for chaining. + */ + public Builder setOrderBy( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + orderBy_ = value; + onChanged(); + return this; + } + /** + *
+     * Optional. This field only supports ordering by `name`. If unspecified, the server
+     * will choose the ordering. If specified, the default order is ascending for
+     * the `name` field.
+     * 
+ * + * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearOrderBy() { + + orderBy_ = getDefaultInstance().getOrderBy(); + onChanged(); + return this; + } + /** + *
+     * Optional. This field only supports ordering by `name`. If unspecified, the server
+     * will choose the ordering. If specified, the default order is ascending for
+     * the `name` field.
+     * 
+ * + * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The bytes for orderBy to set. + * @return This builder for chaining. + */ + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + orderBy_ = value; + onChanged(); + return this; + } + + private java.lang.Object filter_ = ""; + /** + *
+     * Optional. Filter for the returned list.
+     * 
+ * + * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return The filter. + */ + public java.lang.String getFilter() { + java.lang.Object ref = filter_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + filter_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Optional. Filter for the returned list.
+     * 
+ * + * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for filter. + */ + public com.google.protobuf.ByteString + getFilterBytes() { + java.lang.Object ref = filter_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + filter_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Optional. Filter for the returned list.
+     * 
+ * + * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The filter to set. + * @return This builder for chaining. + */ + public Builder setFilter( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + filter_ = value; + onChanged(); + return this; + } + /** + *
+     * Optional. Filter for the returned list.
+     * 
+ * + * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearFilter() { + + filter_ = getDefaultInstance().getFilter(); + onChanged(); + return this; + } + /** + *
+     * Optional. Filter for the returned list.
+     * 
+ * + * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The bytes for filter to set. + * @return This builder for chaining. + */ + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + filter_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.ListRepositoriesRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.ListRepositoriesRequest) + private static final com.google.cloud.dataform.v1beta1.ListRepositoriesRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.ListRepositoriesRequest(); + } + + public static com.google.cloud.dataform.v1beta1.ListRepositoriesRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRepositoriesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRepositoriesRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.ListRepositoriesRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListRepositoriesRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListRepositoriesRequestOrBuilder.java new file mode 100644 index 0000000..738ca8b --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListRepositoriesRequestOrBuilder.java @@ -0,0 +1,113 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface ListRepositoriesRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.ListRepositoriesRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The location in which to list repositories. Must be in the format
+   * `projects/*/locations/*`.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + java.lang.String getParent(); + /** + *
+   * Required. The location in which to list repositories. Must be in the format
+   * `projects/*/locations/*`.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + com.google.protobuf.ByteString + getParentBytes(); + + /** + *
+   * Optional. Maximum number of repositories to return. The server may return fewer
+   * items than requested. If unspecified, the server will pick an appropriate
+   * default.
+   * 
+ * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The pageSize. + */ + int getPageSize(); + + /** + *
+   * Optional. Page token received from a previous `ListRepositories` call.
+   * Provide this to retrieve the subsequent page.
+   * When paginating, all other parameters provided to `ListRepositories`
+   * must match the call that provided the page token.
+   * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The pageToken. + */ + java.lang.String getPageToken(); + /** + *
+   * Optional. Page token received from a previous `ListRepositories` call.
+   * Provide this to retrieve the subsequent page.
+   * When paginating, all other parameters provided to `ListRepositories`
+   * must match the call that provided the page token.
+   * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for pageToken. + */ + com.google.protobuf.ByteString + getPageTokenBytes(); + + /** + *
+   * Optional. This field only supports ordering by `name`. If unspecified, the server
+   * will choose the ordering. If specified, the default order is ascending for
+   * the `name` field.
+   * 
+ * + * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return The orderBy. + */ + java.lang.String getOrderBy(); + /** + *
+   * Optional. This field only supports ordering by `name`. If unspecified, the server
+   * will choose the ordering. If specified, the default order is ascending for
+   * the `name` field.
+   * 
+ * + * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for orderBy. + */ + com.google.protobuf.ByteString + getOrderByBytes(); + + /** + *
+   * Optional. Filter for the returned list.
+   * 
+ * + * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return The filter. + */ + java.lang.String getFilter(); + /** + *
+   * Optional. Filter for the returned list.
+   * 
+ * + * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for filter. + */ + com.google.protobuf.ByteString + getFilterBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListRepositoriesResponse.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListRepositoriesResponse.java new file mode 100644 index 0000000..fb11aeb --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListRepositoriesResponse.java @@ -0,0 +1,1289 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * `ListRepositories` response message.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.ListRepositoriesResponse} + */ +public final class ListRepositoriesResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.ListRepositoriesResponse) + ListRepositoriesResponseOrBuilder { +private static final long serialVersionUID = 0L; + // Use ListRepositoriesResponse.newBuilder() to construct. + private ListRepositoriesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ListRepositoriesResponse() { + repositories_ = java.util.Collections.emptyList(); + nextPageToken_ = ""; + unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ListRepositoriesResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ListRepositoriesResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + repositories_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + repositories_.add( + input.readMessage(com.google.cloud.dataform.v1beta1.Repository.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + nextPageToken_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + unreachable_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + repositories_ = java.util.Collections.unmodifiableList(repositories_); + } + if (((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = unreachable_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListRepositoriesResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListRepositoriesResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.ListRepositoriesResponse.class, com.google.cloud.dataform.v1beta1.ListRepositoriesResponse.Builder.class); + } + + public static final int REPOSITORIES_FIELD_NUMBER = 1; + private java.util.List repositories_; + /** + *
+   * List of repositories.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.Repository repositories = 1; + */ + @java.lang.Override + public java.util.List getRepositoriesList() { + return repositories_; + } + /** + *
+   * List of repositories.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.Repository repositories = 1; + */ + @java.lang.Override + public java.util.List + getRepositoriesOrBuilderList() { + return repositories_; + } + /** + *
+   * List of repositories.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.Repository repositories = 1; + */ + @java.lang.Override + public int getRepositoriesCount() { + return repositories_.size(); + } + /** + *
+   * List of repositories.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.Repository repositories = 1; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.Repository getRepositories(int index) { + return repositories_.get(index); + } + /** + *
+   * List of repositories.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.Repository repositories = 1; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.RepositoryOrBuilder getRepositoriesOrBuilder( + int index) { + return repositories_.get(index); + } + + public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + private volatile java.lang.Object nextPageToken_; + /** + *
+   * A token which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * @return The nextPageToken. + */ + @java.lang.Override + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } + } + /** + *
+   * A token which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * @return The bytes for nextPageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int UNREACHABLE_FIELD_NUMBER = 3; + private com.google.protobuf.LazyStringList unreachable_; + /** + *
+   * Locations which could not be reached.
+   * 
+ * + * repeated string unreachable = 3; + * @return A list containing the unreachable. + */ + public com.google.protobuf.ProtocolStringList + getUnreachableList() { + return unreachable_; + } + /** + *
+   * Locations which could not be reached.
+   * 
+ * + * repeated string unreachable = 3; + * @return The count of unreachable. + */ + public int getUnreachableCount() { + return unreachable_.size(); + } + /** + *
+   * Locations which could not be reached.
+   * 
+ * + * repeated string unreachable = 3; + * @param index The index of the element to return. + * @return The unreachable at the given index. + */ + public java.lang.String getUnreachable(int index) { + return unreachable_.get(index); + } + /** + *
+   * Locations which could not be reached.
+   * 
+ * + * repeated string unreachable = 3; + * @param index The index of the value to return. + * @return The bytes of the unreachable at the given index. + */ + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { + return unreachable_.getByteString(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < repositories_.size(); i++) { + output.writeMessage(1, repositories_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); + } + for (int i = 0; i < unreachable_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, unreachable_.getRaw(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < repositories_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, repositories_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); + } + { + int dataSize = 0; + for (int i = 0; i < unreachable_.size(); i++) { + dataSize += computeStringSizeNoTag(unreachable_.getRaw(i)); + } + size += dataSize; + size += 1 * getUnreachableList().size(); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.ListRepositoriesResponse)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.ListRepositoriesResponse other = (com.google.cloud.dataform.v1beta1.ListRepositoriesResponse) obj; + + if (!getRepositoriesList() + .equals(other.getRepositoriesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getUnreachableList() + .equals(other.getUnreachableList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getRepositoriesCount() > 0) { + hash = (37 * hash) + REPOSITORIES_FIELD_NUMBER; + hash = (53 * hash) + getRepositoriesList().hashCode(); + } + hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getNextPageToken().hashCode(); + if (getUnreachableCount() > 0) { + hash = (37 * hash) + UNREACHABLE_FIELD_NUMBER; + hash = (53 * hash) + getUnreachableList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.ListRepositoriesResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.ListRepositoriesResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ListRepositoriesResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.ListRepositoriesResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ListRepositoriesResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.ListRepositoriesResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ListRepositoriesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.ListRepositoriesResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ListRepositoriesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.ListRepositoriesResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ListRepositoriesResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.ListRepositoriesResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.ListRepositoriesResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * `ListRepositories` response message.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.ListRepositoriesResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.ListRepositoriesResponse) + com.google.cloud.dataform.v1beta1.ListRepositoriesResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListRepositoriesResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListRepositoriesResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.ListRepositoriesResponse.class, com.google.cloud.dataform.v1beta1.ListRepositoriesResponse.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.ListRepositoriesResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getRepositoriesFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (repositoriesBuilder_ == null) { + repositories_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + repositoriesBuilder_.clear(); + } + nextPageToken_ = ""; + + unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListRepositoriesResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.ListRepositoriesResponse getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.ListRepositoriesResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.ListRepositoriesResponse build() { + com.google.cloud.dataform.v1beta1.ListRepositoriesResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.ListRepositoriesResponse buildPartial() { + com.google.cloud.dataform.v1beta1.ListRepositoriesResponse result = new com.google.cloud.dataform.v1beta1.ListRepositoriesResponse(this); + int from_bitField0_ = bitField0_; + if (repositoriesBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + repositories_ = java.util.Collections.unmodifiableList(repositories_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.repositories_ = repositories_; + } else { + result.repositories_ = repositoriesBuilder_.build(); + } + result.nextPageToken_ = nextPageToken_; + if (((bitField0_ & 0x00000002) != 0)) { + unreachable_ = unreachable_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.unreachable_ = unreachable_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.ListRepositoriesResponse) { + return mergeFrom((com.google.cloud.dataform.v1beta1.ListRepositoriesResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.ListRepositoriesResponse other) { + if (other == com.google.cloud.dataform.v1beta1.ListRepositoriesResponse.getDefaultInstance()) return this; + if (repositoriesBuilder_ == null) { + if (!other.repositories_.isEmpty()) { + if (repositories_.isEmpty()) { + repositories_ = other.repositories_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureRepositoriesIsMutable(); + repositories_.addAll(other.repositories_); + } + onChanged(); + } + } else { + if (!other.repositories_.isEmpty()) { + if (repositoriesBuilder_.isEmpty()) { + repositoriesBuilder_.dispose(); + repositoriesBuilder_ = null; + repositories_ = other.repositories_; + bitField0_ = (bitField0_ & ~0x00000001); + repositoriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRepositoriesFieldBuilder() : null; + } else { + repositoriesBuilder_.addAllMessages(other.repositories_); + } + } + } + if (!other.getNextPageToken().isEmpty()) { + nextPageToken_ = other.nextPageToken_; + onChanged(); + } + if (!other.unreachable_.isEmpty()) { + if (unreachable_.isEmpty()) { + unreachable_ = other.unreachable_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureUnreachableIsMutable(); + unreachable_.addAll(other.unreachable_); + } + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.ListRepositoriesResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.ListRepositoriesResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private java.util.List repositories_ = + java.util.Collections.emptyList(); + private void ensureRepositoriesIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + repositories_ = new java.util.ArrayList(repositories_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Repository, com.google.cloud.dataform.v1beta1.Repository.Builder, com.google.cloud.dataform.v1beta1.RepositoryOrBuilder> repositoriesBuilder_; + + /** + *
+     * List of repositories.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Repository repositories = 1; + */ + public java.util.List getRepositoriesList() { + if (repositoriesBuilder_ == null) { + return java.util.Collections.unmodifiableList(repositories_); + } else { + return repositoriesBuilder_.getMessageList(); + } + } + /** + *
+     * List of repositories.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Repository repositories = 1; + */ + public int getRepositoriesCount() { + if (repositoriesBuilder_ == null) { + return repositories_.size(); + } else { + return repositoriesBuilder_.getCount(); + } + } + /** + *
+     * List of repositories.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Repository repositories = 1; + */ + public com.google.cloud.dataform.v1beta1.Repository getRepositories(int index) { + if (repositoriesBuilder_ == null) { + return repositories_.get(index); + } else { + return repositoriesBuilder_.getMessage(index); + } + } + /** + *
+     * List of repositories.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Repository repositories = 1; + */ + public Builder setRepositories( + int index, com.google.cloud.dataform.v1beta1.Repository value) { + if (repositoriesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureRepositoriesIsMutable(); + repositories_.set(index, value); + onChanged(); + } else { + repositoriesBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+     * List of repositories.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Repository repositories = 1; + */ + public Builder setRepositories( + int index, com.google.cloud.dataform.v1beta1.Repository.Builder builderForValue) { + if (repositoriesBuilder_ == null) { + ensureRepositoriesIsMutable(); + repositories_.set(index, builderForValue.build()); + onChanged(); + } else { + repositoriesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * List of repositories.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Repository repositories = 1; + */ + public Builder addRepositories(com.google.cloud.dataform.v1beta1.Repository value) { + if (repositoriesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureRepositoriesIsMutable(); + repositories_.add(value); + onChanged(); + } else { + repositoriesBuilder_.addMessage(value); + } + return this; + } + /** + *
+     * List of repositories.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Repository repositories = 1; + */ + public Builder addRepositories( + int index, com.google.cloud.dataform.v1beta1.Repository value) { + if (repositoriesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureRepositoriesIsMutable(); + repositories_.add(index, value); + onChanged(); + } else { + repositoriesBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+     * List of repositories.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Repository repositories = 1; + */ + public Builder addRepositories( + com.google.cloud.dataform.v1beta1.Repository.Builder builderForValue) { + if (repositoriesBuilder_ == null) { + ensureRepositoriesIsMutable(); + repositories_.add(builderForValue.build()); + onChanged(); + } else { + repositoriesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+     * List of repositories.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Repository repositories = 1; + */ + public Builder addRepositories( + int index, com.google.cloud.dataform.v1beta1.Repository.Builder builderForValue) { + if (repositoriesBuilder_ == null) { + ensureRepositoriesIsMutable(); + repositories_.add(index, builderForValue.build()); + onChanged(); + } else { + repositoriesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * List of repositories.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Repository repositories = 1; + */ + public Builder addAllRepositories( + java.lang.Iterable values) { + if (repositoriesBuilder_ == null) { + ensureRepositoriesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, repositories_); + onChanged(); + } else { + repositoriesBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+     * List of repositories.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Repository repositories = 1; + */ + public Builder clearRepositories() { + if (repositoriesBuilder_ == null) { + repositories_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + repositoriesBuilder_.clear(); + } + return this; + } + /** + *
+     * List of repositories.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Repository repositories = 1; + */ + public Builder removeRepositories(int index) { + if (repositoriesBuilder_ == null) { + ensureRepositoriesIsMutable(); + repositories_.remove(index); + onChanged(); + } else { + repositoriesBuilder_.remove(index); + } + return this; + } + /** + *
+     * List of repositories.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Repository repositories = 1; + */ + public com.google.cloud.dataform.v1beta1.Repository.Builder getRepositoriesBuilder( + int index) { + return getRepositoriesFieldBuilder().getBuilder(index); + } + /** + *
+     * List of repositories.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Repository repositories = 1; + */ + public com.google.cloud.dataform.v1beta1.RepositoryOrBuilder getRepositoriesOrBuilder( + int index) { + if (repositoriesBuilder_ == null) { + return repositories_.get(index); } else { + return repositoriesBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+     * List of repositories.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Repository repositories = 1; + */ + public java.util.List + getRepositoriesOrBuilderList() { + if (repositoriesBuilder_ != null) { + return repositoriesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(repositories_); + } + } + /** + *
+     * List of repositories.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Repository repositories = 1; + */ + public com.google.cloud.dataform.v1beta1.Repository.Builder addRepositoriesBuilder() { + return getRepositoriesFieldBuilder().addBuilder( + com.google.cloud.dataform.v1beta1.Repository.getDefaultInstance()); + } + /** + *
+     * List of repositories.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Repository repositories = 1; + */ + public com.google.cloud.dataform.v1beta1.Repository.Builder addRepositoriesBuilder( + int index) { + return getRepositoriesFieldBuilder().addBuilder( + index, com.google.cloud.dataform.v1beta1.Repository.getDefaultInstance()); + } + /** + *
+     * List of repositories.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Repository repositories = 1; + */ + public java.util.List + getRepositoriesBuilderList() { + return getRepositoriesFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Repository, com.google.cloud.dataform.v1beta1.Repository.Builder, com.google.cloud.dataform.v1beta1.RepositoryOrBuilder> + getRepositoriesFieldBuilder() { + if (repositoriesBuilder_ == null) { + repositoriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Repository, com.google.cloud.dataform.v1beta1.Repository.Builder, com.google.cloud.dataform.v1beta1.RepositoryOrBuilder>( + repositories_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + repositories_ = null; + } + return repositoriesBuilder_; + } + + private java.lang.Object nextPageToken_ = ""; + /** + *
+     * A token which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * @return The nextPageToken. + */ + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * A token which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * @return The bytes for nextPageToken. + */ + public com.google.protobuf.ByteString + getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * A token which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * @param value The nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + nextPageToken_ = value; + onChanged(); + return this; + } + /** + *
+     * A token which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * @return This builder for chaining. + */ + public Builder clearNextPageToken() { + + nextPageToken_ = getDefaultInstance().getNextPageToken(); + onChanged(); + return this; + } + /** + *
+     * A token which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * @param value The bytes for nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + nextPageToken_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUnreachableIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); + bitField0_ |= 0x00000002; + } + } + /** + *
+     * Locations which could not be reached.
+     * 
+ * + * repeated string unreachable = 3; + * @return A list containing the unreachable. + */ + public com.google.protobuf.ProtocolStringList + getUnreachableList() { + return unreachable_.getUnmodifiableView(); + } + /** + *
+     * Locations which could not be reached.
+     * 
+ * + * repeated string unreachable = 3; + * @return The count of unreachable. + */ + public int getUnreachableCount() { + return unreachable_.size(); + } + /** + *
+     * Locations which could not be reached.
+     * 
+ * + * repeated string unreachable = 3; + * @param index The index of the element to return. + * @return The unreachable at the given index. + */ + public java.lang.String getUnreachable(int index) { + return unreachable_.get(index); + } + /** + *
+     * Locations which could not be reached.
+     * 
+ * + * repeated string unreachable = 3; + * @param index The index of the value to return. + * @return The bytes of the unreachable at the given index. + */ + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { + return unreachable_.getByteString(index); + } + /** + *
+     * Locations which could not be reached.
+     * 
+ * + * repeated string unreachable = 3; + * @param index The index to set the value at. + * @param value The unreachable to set. + * @return This builder for chaining. + */ + public Builder setUnreachable( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); + unreachable_.set(index, value); + onChanged(); + return this; + } + /** + *
+     * Locations which could not be reached.
+     * 
+ * + * repeated string unreachable = 3; + * @param value The unreachable to add. + * @return This builder for chaining. + */ + public Builder addUnreachable( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); + unreachable_.add(value); + onChanged(); + return this; + } + /** + *
+     * Locations which could not be reached.
+     * 
+ * + * repeated string unreachable = 3; + * @param values The unreachable to add. + * @return This builder for chaining. + */ + public Builder addAllUnreachable( + java.lang.Iterable values) { + ensureUnreachableIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachable_); + onChanged(); + return this; + } + /** + *
+     * Locations which could not be reached.
+     * 
+ * + * repeated string unreachable = 3; + * @return This builder for chaining. + */ + public Builder clearUnreachable() { + unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+     * Locations which could not be reached.
+     * 
+ * + * repeated string unreachable = 3; + * @param value The bytes of the unreachable to add. + * @return This builder for chaining. + */ + public Builder addUnreachableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureUnreachableIsMutable(); + unreachable_.add(value); + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.ListRepositoriesResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.ListRepositoriesResponse) + private static final com.google.cloud.dataform.v1beta1.ListRepositoriesResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.ListRepositoriesResponse(); + } + + public static com.google.cloud.dataform.v1beta1.ListRepositoriesResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRepositoriesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRepositoriesResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.ListRepositoriesResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListRepositoriesResponseOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListRepositoriesResponseOrBuilder.java new file mode 100644 index 0000000..fb8dda4 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListRepositoriesResponseOrBuilder.java @@ -0,0 +1,116 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface ListRepositoriesResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.ListRepositoriesResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * List of repositories.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.Repository repositories = 1; + */ + java.util.List + getRepositoriesList(); + /** + *
+   * List of repositories.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.Repository repositories = 1; + */ + com.google.cloud.dataform.v1beta1.Repository getRepositories(int index); + /** + *
+   * List of repositories.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.Repository repositories = 1; + */ + int getRepositoriesCount(); + /** + *
+   * List of repositories.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.Repository repositories = 1; + */ + java.util.List + getRepositoriesOrBuilderList(); + /** + *
+   * List of repositories.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.Repository repositories = 1; + */ + com.google.cloud.dataform.v1beta1.RepositoryOrBuilder getRepositoriesOrBuilder( + int index); + + /** + *
+   * A token which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * @return The nextPageToken. + */ + java.lang.String getNextPageToken(); + /** + *
+   * A token which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * @return The bytes for nextPageToken. + */ + com.google.protobuf.ByteString + getNextPageTokenBytes(); + + /** + *
+   * Locations which could not be reached.
+   * 
+ * + * repeated string unreachable = 3; + * @return A list containing the unreachable. + */ + java.util.List + getUnreachableList(); + /** + *
+   * Locations which could not be reached.
+   * 
+ * + * repeated string unreachable = 3; + * @return The count of unreachable. + */ + int getUnreachableCount(); + /** + *
+   * Locations which could not be reached.
+   * 
+ * + * repeated string unreachable = 3; + * @param index The index of the element to return. + * @return The unreachable at the given index. + */ + java.lang.String getUnreachable(int index); + /** + *
+   * Locations which could not be reached.
+   * 
+ * + * repeated string unreachable = 3; + * @param index The index of the value to return. + * @return The bytes of the unreachable at the given index. + */ + com.google.protobuf.ByteString + getUnreachableBytes(int index); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkflowInvocationsRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkflowInvocationsRequest.java new file mode 100644 index 0000000..d6ca006 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkflowInvocationsRequest.java @@ -0,0 +1,877 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * `ListWorkflowInvocations` request message.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest} + */ +public final class ListWorkflowInvocationsRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest) + ListWorkflowInvocationsRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use ListWorkflowInvocationsRequest.newBuilder() to construct. + private ListWorkflowInvocationsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ListWorkflowInvocationsRequest() { + parent_ = ""; + pageToken_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ListWorkflowInvocationsRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ListWorkflowInvocationsRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + parent_ = s; + break; + } + case 16: { + + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest.class, com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest.Builder.class); + } + + public static final int PARENT_FIELD_NUMBER = 1; + private volatile java.lang.Object parent_; + /** + *
+   * Required. The parent resource of the WorkflowInvocation type. Must be in the
+   * format `projects/*/locations/*/repositories/*`.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + @java.lang.Override + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } + } + /** + *
+   * Required. The parent resource of the WorkflowInvocation type. Must be in the
+   * format `projects/*/locations/*/repositories/*`.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PAGE_SIZE_FIELD_NUMBER = 2; + private int pageSize_; + /** + *
+   * Optional. Maximum number of workflow invocations to return. The server may return
+   * fewer items than requested. If unspecified, the server will pick an
+   * appropriate default.
+   * 
+ * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + + public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + private volatile java.lang.Object pageToken_; + /** + *
+   * Optional. Page token received from a previous `ListWorkflowInvocations` call.
+   * Provide this to retrieve the subsequent page.
+   * When paginating, all other parameters provided to `ListWorkflowInvocations`
+   * must match the call that provided the page token.
+   * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The pageToken. + */ + @java.lang.Override + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } + } + /** + *
+   * Optional. Page token received from a previous `ListWorkflowInvocations` call.
+   * Provide this to retrieve the subsequent page.
+   * When paginating, all other parameters provided to `ListWorkflowInvocations`
+   * must match the call that provided the page token.
+   * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for pageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + } + if (pageSize_ != 0) { + output.writeInt32(2, pageSize_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + } + if (pageSize_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest other = (com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PARENT_FIELD_NUMBER; + hash = (53 * hash) + getParent().hashCode(); + hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; + hash = (53 * hash) + getPageSize(); + hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getPageToken().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * `ListWorkflowInvocations` request message.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest) + com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest.class, com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + parent_ = ""; + + pageSize_ = 0; + + pageToken_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest build() { + com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest buildPartial() { + com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest result = new com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest(this); + result.parent_ = parent_; + result.pageSize_ = pageSize_; + result.pageToken_ = pageToken_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest) { + return mergeFrom((com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest other) { + if (other == com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest.getDefaultInstance()) return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + onChanged(); + } + if (other.getPageSize() != 0) { + setPageSize(other.getPageSize()); + } + if (!other.getPageToken().isEmpty()) { + pageToken_ = other.pageToken_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object parent_ = ""; + /** + *
+     * Required. The parent resource of the WorkflowInvocation type. Must be in the
+     * format `projects/*/locations/*/repositories/*`.
+     * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The parent resource of the WorkflowInvocation type. Must be in the
+     * format `projects/*/locations/*/repositories/*`.
+     * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + public com.google.protobuf.ByteString + getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The parent resource of the WorkflowInvocation type. Must be in the
+     * format `projects/*/locations/*/repositories/*`.
+     * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The parent to set. + * @return This builder for chaining. + */ + public Builder setParent( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + parent_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. The parent resource of the WorkflowInvocation type. Must be in the
+     * format `projects/*/locations/*/repositories/*`.
+     * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearParent() { + + parent_ = getDefaultInstance().getParent(); + onChanged(); + return this; + } + /** + *
+     * Required. The parent resource of the WorkflowInvocation type. Must be in the
+     * format `projects/*/locations/*/repositories/*`.
+     * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The bytes for parent to set. + * @return This builder for chaining. + */ + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + parent_ = value; + onChanged(); + return this; + } + + private int pageSize_ ; + /** + *
+     * Optional. Maximum number of workflow invocations to return. The server may return
+     * fewer items than requested. If unspecified, the server will pick an
+     * appropriate default.
+     * 
+ * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + /** + *
+     * Optional. Maximum number of workflow invocations to return. The server may return
+     * fewer items than requested. If unspecified, the server will pick an
+     * appropriate default.
+     * 
+ * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The pageSize to set. + * @return This builder for chaining. + */ + public Builder setPageSize(int value) { + + pageSize_ = value; + onChanged(); + return this; + } + /** + *
+     * Optional. Maximum number of workflow invocations to return. The server may return
+     * fewer items than requested. If unspecified, the server will pick an
+     * appropriate default.
+     * 
+ * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearPageSize() { + + pageSize_ = 0; + onChanged(); + return this; + } + + private java.lang.Object pageToken_ = ""; + /** + *
+     * Optional. Page token received from a previous `ListWorkflowInvocations` call.
+     * Provide this to retrieve the subsequent page.
+     * When paginating, all other parameters provided to `ListWorkflowInvocations`
+     * must match the call that provided the page token.
+     * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The pageToken. + */ + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Optional. Page token received from a previous `ListWorkflowInvocations` call.
+     * Provide this to retrieve the subsequent page.
+     * When paginating, all other parameters provided to `ListWorkflowInvocations`
+     * must match the call that provided the page token.
+     * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for pageToken. + */ + public com.google.protobuf.ByteString + getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Optional. Page token received from a previous `ListWorkflowInvocations` call.
+     * Provide this to retrieve the subsequent page.
+     * When paginating, all other parameters provided to `ListWorkflowInvocations`
+     * must match the call that provided the page token.
+     * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageToken( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + pageToken_ = value; + onChanged(); + return this; + } + /** + *
+     * Optional. Page token received from a previous `ListWorkflowInvocations` call.
+     * Provide this to retrieve the subsequent page.
+     * When paginating, all other parameters provided to `ListWorkflowInvocations`
+     * must match the call that provided the page token.
+     * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearPageToken() { + + pageToken_ = getDefaultInstance().getPageToken(); + onChanged(); + return this; + } + /** + *
+     * Optional. Page token received from a previous `ListWorkflowInvocations` call.
+     * Provide this to retrieve the subsequent page.
+     * When paginating, all other parameters provided to `ListWorkflowInvocations`
+     * must match the call that provided the page token.
+     * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The bytes for pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + pageToken_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest) + private static final com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest(); + } + + public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListWorkflowInvocationsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListWorkflowInvocationsRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkflowInvocationsRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkflowInvocationsRequestOrBuilder.java new file mode 100644 index 0000000..04a6489 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkflowInvocationsRequestOrBuilder.java @@ -0,0 +1,69 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface ListWorkflowInvocationsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The parent resource of the WorkflowInvocation type. Must be in the
+   * format `projects/*/locations/*/repositories/*`.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + java.lang.String getParent(); + /** + *
+   * Required. The parent resource of the WorkflowInvocation type. Must be in the
+   * format `projects/*/locations/*/repositories/*`.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + com.google.protobuf.ByteString + getParentBytes(); + + /** + *
+   * Optional. Maximum number of workflow invocations to return. The server may return
+   * fewer items than requested. If unspecified, the server will pick an
+   * appropriate default.
+   * 
+ * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The pageSize. + */ + int getPageSize(); + + /** + *
+   * Optional. Page token received from a previous `ListWorkflowInvocations` call.
+   * Provide this to retrieve the subsequent page.
+   * When paginating, all other parameters provided to `ListWorkflowInvocations`
+   * must match the call that provided the page token.
+   * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The pageToken. + */ + java.lang.String getPageToken(); + /** + *
+   * Optional. Page token received from a previous `ListWorkflowInvocations` call.
+   * Provide this to retrieve the subsequent page.
+   * When paginating, all other parameters provided to `ListWorkflowInvocations`
+   * must match the call that provided the page token.
+   * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for pageToken. + */ + com.google.protobuf.ByteString + getPageTokenBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkflowInvocationsResponse.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkflowInvocationsResponse.java new file mode 100644 index 0000000..0cc9f36 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkflowInvocationsResponse.java @@ -0,0 +1,1289 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * `ListWorkflowInvocations` response message.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse} + */ +public final class ListWorkflowInvocationsResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse) + ListWorkflowInvocationsResponseOrBuilder { +private static final long serialVersionUID = 0L; + // Use ListWorkflowInvocationsResponse.newBuilder() to construct. + private ListWorkflowInvocationsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ListWorkflowInvocationsResponse() { + workflowInvocations_ = java.util.Collections.emptyList(); + nextPageToken_ = ""; + unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ListWorkflowInvocationsResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ListWorkflowInvocationsResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + workflowInvocations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + workflowInvocations_.add( + input.readMessage(com.google.cloud.dataform.v1beta1.WorkflowInvocation.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + nextPageToken_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + unreachable_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + workflowInvocations_ = java.util.Collections.unmodifiableList(workflowInvocations_); + } + if (((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = unreachable_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse.class, com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse.Builder.class); + } + + public static final int WORKFLOW_INVOCATIONS_FIELD_NUMBER = 1; + private java.util.List workflowInvocations_; + /** + *
+   * List of workflow invocations.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + */ + @java.lang.Override + public java.util.List getWorkflowInvocationsList() { + return workflowInvocations_; + } + /** + *
+   * List of workflow invocations.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + */ + @java.lang.Override + public java.util.List + getWorkflowInvocationsOrBuilderList() { + return workflowInvocations_; + } + /** + *
+   * List of workflow invocations.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + */ + @java.lang.Override + public int getWorkflowInvocationsCount() { + return workflowInvocations_.size(); + } + /** + *
+   * List of workflow invocations.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.WorkflowInvocation getWorkflowInvocations(int index) { + return workflowInvocations_.get(index); + } + /** + *
+   * List of workflow invocations.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.WorkflowInvocationOrBuilder getWorkflowInvocationsOrBuilder( + int index) { + return workflowInvocations_.get(index); + } + + public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + private volatile java.lang.Object nextPageToken_; + /** + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * @return The nextPageToken. + */ + @java.lang.Override + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } + } + /** + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * @return The bytes for nextPageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int UNREACHABLE_FIELD_NUMBER = 3; + private com.google.protobuf.LazyStringList unreachable_; + /** + *
+   * Locations which could not be reached.
+   * 
+ * + * repeated string unreachable = 3; + * @return A list containing the unreachable. + */ + public com.google.protobuf.ProtocolStringList + getUnreachableList() { + return unreachable_; + } + /** + *
+   * Locations which could not be reached.
+   * 
+ * + * repeated string unreachable = 3; + * @return The count of unreachable. + */ + public int getUnreachableCount() { + return unreachable_.size(); + } + /** + *
+   * Locations which could not be reached.
+   * 
+ * + * repeated string unreachable = 3; + * @param index The index of the element to return. + * @return The unreachable at the given index. + */ + public java.lang.String getUnreachable(int index) { + return unreachable_.get(index); + } + /** + *
+   * Locations which could not be reached.
+   * 
+ * + * repeated string unreachable = 3; + * @param index The index of the value to return. + * @return The bytes of the unreachable at the given index. + */ + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { + return unreachable_.getByteString(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < workflowInvocations_.size(); i++) { + output.writeMessage(1, workflowInvocations_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); + } + for (int i = 0; i < unreachable_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, unreachable_.getRaw(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < workflowInvocations_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, workflowInvocations_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); + } + { + int dataSize = 0; + for (int i = 0; i < unreachable_.size(); i++) { + dataSize += computeStringSizeNoTag(unreachable_.getRaw(i)); + } + size += dataSize; + size += 1 * getUnreachableList().size(); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse other = (com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse) obj; + + if (!getWorkflowInvocationsList() + .equals(other.getWorkflowInvocationsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getUnreachableList() + .equals(other.getUnreachableList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getWorkflowInvocationsCount() > 0) { + hash = (37 * hash) + WORKFLOW_INVOCATIONS_FIELD_NUMBER; + hash = (53 * hash) + getWorkflowInvocationsList().hashCode(); + } + hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getNextPageToken().hashCode(); + if (getUnreachableCount() > 0) { + hash = (37 * hash) + UNREACHABLE_FIELD_NUMBER; + hash = (53 * hash) + getUnreachableList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * `ListWorkflowInvocations` response message.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse) + com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse.class, com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getWorkflowInvocationsFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (workflowInvocationsBuilder_ == null) { + workflowInvocations_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + workflowInvocationsBuilder_.clear(); + } + nextPageToken_ = ""; + + unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse build() { + com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse buildPartial() { + com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse result = new com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse(this); + int from_bitField0_ = bitField0_; + if (workflowInvocationsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + workflowInvocations_ = java.util.Collections.unmodifiableList(workflowInvocations_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.workflowInvocations_ = workflowInvocations_; + } else { + result.workflowInvocations_ = workflowInvocationsBuilder_.build(); + } + result.nextPageToken_ = nextPageToken_; + if (((bitField0_ & 0x00000002) != 0)) { + unreachable_ = unreachable_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.unreachable_ = unreachable_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse) { + return mergeFrom((com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse other) { + if (other == com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse.getDefaultInstance()) return this; + if (workflowInvocationsBuilder_ == null) { + if (!other.workflowInvocations_.isEmpty()) { + if (workflowInvocations_.isEmpty()) { + workflowInvocations_ = other.workflowInvocations_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureWorkflowInvocationsIsMutable(); + workflowInvocations_.addAll(other.workflowInvocations_); + } + onChanged(); + } + } else { + if (!other.workflowInvocations_.isEmpty()) { + if (workflowInvocationsBuilder_.isEmpty()) { + workflowInvocationsBuilder_.dispose(); + workflowInvocationsBuilder_ = null; + workflowInvocations_ = other.workflowInvocations_; + bitField0_ = (bitField0_ & ~0x00000001); + workflowInvocationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getWorkflowInvocationsFieldBuilder() : null; + } else { + workflowInvocationsBuilder_.addAllMessages(other.workflowInvocations_); + } + } + } + if (!other.getNextPageToken().isEmpty()) { + nextPageToken_ = other.nextPageToken_; + onChanged(); + } + if (!other.unreachable_.isEmpty()) { + if (unreachable_.isEmpty()) { + unreachable_ = other.unreachable_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureUnreachableIsMutable(); + unreachable_.addAll(other.unreachable_); + } + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private java.util.List workflowInvocations_ = + java.util.Collections.emptyList(); + private void ensureWorkflowInvocationsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + workflowInvocations_ = new java.util.ArrayList(workflowInvocations_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.WorkflowInvocation, com.google.cloud.dataform.v1beta1.WorkflowInvocation.Builder, com.google.cloud.dataform.v1beta1.WorkflowInvocationOrBuilder> workflowInvocationsBuilder_; + + /** + *
+     * List of workflow invocations.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + */ + public java.util.List getWorkflowInvocationsList() { + if (workflowInvocationsBuilder_ == null) { + return java.util.Collections.unmodifiableList(workflowInvocations_); + } else { + return workflowInvocationsBuilder_.getMessageList(); + } + } + /** + *
+     * List of workflow invocations.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + */ + public int getWorkflowInvocationsCount() { + if (workflowInvocationsBuilder_ == null) { + return workflowInvocations_.size(); + } else { + return workflowInvocationsBuilder_.getCount(); + } + } + /** + *
+     * List of workflow invocations.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + */ + public com.google.cloud.dataform.v1beta1.WorkflowInvocation getWorkflowInvocations(int index) { + if (workflowInvocationsBuilder_ == null) { + return workflowInvocations_.get(index); + } else { + return workflowInvocationsBuilder_.getMessage(index); + } + } + /** + *
+     * List of workflow invocations.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + */ + public Builder setWorkflowInvocations( + int index, com.google.cloud.dataform.v1beta1.WorkflowInvocation value) { + if (workflowInvocationsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureWorkflowInvocationsIsMutable(); + workflowInvocations_.set(index, value); + onChanged(); + } else { + workflowInvocationsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+     * List of workflow invocations.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + */ + public Builder setWorkflowInvocations( + int index, com.google.cloud.dataform.v1beta1.WorkflowInvocation.Builder builderForValue) { + if (workflowInvocationsBuilder_ == null) { + ensureWorkflowInvocationsIsMutable(); + workflowInvocations_.set(index, builderForValue.build()); + onChanged(); + } else { + workflowInvocationsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * List of workflow invocations.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + */ + public Builder addWorkflowInvocations(com.google.cloud.dataform.v1beta1.WorkflowInvocation value) { + if (workflowInvocationsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureWorkflowInvocationsIsMutable(); + workflowInvocations_.add(value); + onChanged(); + } else { + workflowInvocationsBuilder_.addMessage(value); + } + return this; + } + /** + *
+     * List of workflow invocations.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + */ + public Builder addWorkflowInvocations( + int index, com.google.cloud.dataform.v1beta1.WorkflowInvocation value) { + if (workflowInvocationsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureWorkflowInvocationsIsMutable(); + workflowInvocations_.add(index, value); + onChanged(); + } else { + workflowInvocationsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+     * List of workflow invocations.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + */ + public Builder addWorkflowInvocations( + com.google.cloud.dataform.v1beta1.WorkflowInvocation.Builder builderForValue) { + if (workflowInvocationsBuilder_ == null) { + ensureWorkflowInvocationsIsMutable(); + workflowInvocations_.add(builderForValue.build()); + onChanged(); + } else { + workflowInvocationsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+     * List of workflow invocations.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + */ + public Builder addWorkflowInvocations( + int index, com.google.cloud.dataform.v1beta1.WorkflowInvocation.Builder builderForValue) { + if (workflowInvocationsBuilder_ == null) { + ensureWorkflowInvocationsIsMutable(); + workflowInvocations_.add(index, builderForValue.build()); + onChanged(); + } else { + workflowInvocationsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * List of workflow invocations.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + */ + public Builder addAllWorkflowInvocations( + java.lang.Iterable values) { + if (workflowInvocationsBuilder_ == null) { + ensureWorkflowInvocationsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, workflowInvocations_); + onChanged(); + } else { + workflowInvocationsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+     * List of workflow invocations.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + */ + public Builder clearWorkflowInvocations() { + if (workflowInvocationsBuilder_ == null) { + workflowInvocations_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + workflowInvocationsBuilder_.clear(); + } + return this; + } + /** + *
+     * List of workflow invocations.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + */ + public Builder removeWorkflowInvocations(int index) { + if (workflowInvocationsBuilder_ == null) { + ensureWorkflowInvocationsIsMutable(); + workflowInvocations_.remove(index); + onChanged(); + } else { + workflowInvocationsBuilder_.remove(index); + } + return this; + } + /** + *
+     * List of workflow invocations.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + */ + public com.google.cloud.dataform.v1beta1.WorkflowInvocation.Builder getWorkflowInvocationsBuilder( + int index) { + return getWorkflowInvocationsFieldBuilder().getBuilder(index); + } + /** + *
+     * List of workflow invocations.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + */ + public com.google.cloud.dataform.v1beta1.WorkflowInvocationOrBuilder getWorkflowInvocationsOrBuilder( + int index) { + if (workflowInvocationsBuilder_ == null) { + return workflowInvocations_.get(index); } else { + return workflowInvocationsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+     * List of workflow invocations.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + */ + public java.util.List + getWorkflowInvocationsOrBuilderList() { + if (workflowInvocationsBuilder_ != null) { + return workflowInvocationsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(workflowInvocations_); + } + } + /** + *
+     * List of workflow invocations.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + */ + public com.google.cloud.dataform.v1beta1.WorkflowInvocation.Builder addWorkflowInvocationsBuilder() { + return getWorkflowInvocationsFieldBuilder().addBuilder( + com.google.cloud.dataform.v1beta1.WorkflowInvocation.getDefaultInstance()); + } + /** + *
+     * List of workflow invocations.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + */ + public com.google.cloud.dataform.v1beta1.WorkflowInvocation.Builder addWorkflowInvocationsBuilder( + int index) { + return getWorkflowInvocationsFieldBuilder().addBuilder( + index, com.google.cloud.dataform.v1beta1.WorkflowInvocation.getDefaultInstance()); + } + /** + *
+     * List of workflow invocations.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + */ + public java.util.List + getWorkflowInvocationsBuilderList() { + return getWorkflowInvocationsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.WorkflowInvocation, com.google.cloud.dataform.v1beta1.WorkflowInvocation.Builder, com.google.cloud.dataform.v1beta1.WorkflowInvocationOrBuilder> + getWorkflowInvocationsFieldBuilder() { + if (workflowInvocationsBuilder_ == null) { + workflowInvocationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.WorkflowInvocation, com.google.cloud.dataform.v1beta1.WorkflowInvocation.Builder, com.google.cloud.dataform.v1beta1.WorkflowInvocationOrBuilder>( + workflowInvocations_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + workflowInvocations_ = null; + } + return workflowInvocationsBuilder_; + } + + private java.lang.Object nextPageToken_ = ""; + /** + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * @return The nextPageToken. + */ + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * @return The bytes for nextPageToken. + */ + public com.google.protobuf.ByteString + getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * @param value The nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + nextPageToken_ = value; + onChanged(); + return this; + } + /** + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * @return This builder for chaining. + */ + public Builder clearNextPageToken() { + + nextPageToken_ = getDefaultInstance().getNextPageToken(); + onChanged(); + return this; + } + /** + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * @param value The bytes for nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + nextPageToken_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUnreachableIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); + bitField0_ |= 0x00000002; + } + } + /** + *
+     * Locations which could not be reached.
+     * 
+ * + * repeated string unreachable = 3; + * @return A list containing the unreachable. + */ + public com.google.protobuf.ProtocolStringList + getUnreachableList() { + return unreachable_.getUnmodifiableView(); + } + /** + *
+     * Locations which could not be reached.
+     * 
+ * + * repeated string unreachable = 3; + * @return The count of unreachable. + */ + public int getUnreachableCount() { + return unreachable_.size(); + } + /** + *
+     * Locations which could not be reached.
+     * 
+ * + * repeated string unreachable = 3; + * @param index The index of the element to return. + * @return The unreachable at the given index. + */ + public java.lang.String getUnreachable(int index) { + return unreachable_.get(index); + } + /** + *
+     * Locations which could not be reached.
+     * 
+ * + * repeated string unreachable = 3; + * @param index The index of the value to return. + * @return The bytes of the unreachable at the given index. + */ + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { + return unreachable_.getByteString(index); + } + /** + *
+     * Locations which could not be reached.
+     * 
+ * + * repeated string unreachable = 3; + * @param index The index to set the value at. + * @param value The unreachable to set. + * @return This builder for chaining. + */ + public Builder setUnreachable( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); + unreachable_.set(index, value); + onChanged(); + return this; + } + /** + *
+     * Locations which could not be reached.
+     * 
+ * + * repeated string unreachable = 3; + * @param value The unreachable to add. + * @return This builder for chaining. + */ + public Builder addUnreachable( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); + unreachable_.add(value); + onChanged(); + return this; + } + /** + *
+     * Locations which could not be reached.
+     * 
+ * + * repeated string unreachable = 3; + * @param values The unreachable to add. + * @return This builder for chaining. + */ + public Builder addAllUnreachable( + java.lang.Iterable values) { + ensureUnreachableIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachable_); + onChanged(); + return this; + } + /** + *
+     * Locations which could not be reached.
+     * 
+ * + * repeated string unreachable = 3; + * @return This builder for chaining. + */ + public Builder clearUnreachable() { + unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+     * Locations which could not be reached.
+     * 
+ * + * repeated string unreachable = 3; + * @param value The bytes of the unreachable to add. + * @return This builder for chaining. + */ + public Builder addUnreachableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureUnreachableIsMutable(); + unreachable_.add(value); + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse) + private static final com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse(); + } + + public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListWorkflowInvocationsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListWorkflowInvocationsResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkflowInvocationsResponseOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkflowInvocationsResponseOrBuilder.java new file mode 100644 index 0000000..c6e46aa --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkflowInvocationsResponseOrBuilder.java @@ -0,0 +1,116 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface ListWorkflowInvocationsResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * List of workflow invocations.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + */ + java.util.List + getWorkflowInvocationsList(); + /** + *
+   * List of workflow invocations.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + */ + com.google.cloud.dataform.v1beta1.WorkflowInvocation getWorkflowInvocations(int index); + /** + *
+   * List of workflow invocations.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + */ + int getWorkflowInvocationsCount(); + /** + *
+   * List of workflow invocations.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + */ + java.util.List + getWorkflowInvocationsOrBuilderList(); + /** + *
+   * List of workflow invocations.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + */ + com.google.cloud.dataform.v1beta1.WorkflowInvocationOrBuilder getWorkflowInvocationsOrBuilder( + int index); + + /** + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * @return The nextPageToken. + */ + java.lang.String getNextPageToken(); + /** + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * @return The bytes for nextPageToken. + */ + com.google.protobuf.ByteString + getNextPageTokenBytes(); + + /** + *
+   * Locations which could not be reached.
+   * 
+ * + * repeated string unreachable = 3; + * @return A list containing the unreachable. + */ + java.util.List + getUnreachableList(); + /** + *
+   * Locations which could not be reached.
+   * 
+ * + * repeated string unreachable = 3; + * @return The count of unreachable. + */ + int getUnreachableCount(); + /** + *
+   * Locations which could not be reached.
+   * 
+ * + * repeated string unreachable = 3; + * @param index The index of the element to return. + * @return The unreachable at the given index. + */ + java.lang.String getUnreachable(int index); + /** + *
+   * Locations which could not be reached.
+   * 
+ * + * repeated string unreachable = 3; + * @param index The index of the value to return. + * @return The bytes of the unreachable at the given index. + */ + com.google.protobuf.ByteString + getUnreachableBytes(int index); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkspacesRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkspacesRequest.java new file mode 100644 index 0000000..4b496f1 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkspacesRequest.java @@ -0,0 +1,1223 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * `ListWorkspaces` request message.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.ListWorkspacesRequest} + */ +public final class ListWorkspacesRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.ListWorkspacesRequest) + ListWorkspacesRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use ListWorkspacesRequest.newBuilder() to construct. + private ListWorkspacesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ListWorkspacesRequest() { + parent_ = ""; + pageToken_ = ""; + orderBy_ = ""; + filter_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ListWorkspacesRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ListWorkspacesRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + parent_ = s; + break; + } + case 16: { + + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + filter_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListWorkspacesRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListWorkspacesRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.ListWorkspacesRequest.class, com.google.cloud.dataform.v1beta1.ListWorkspacesRequest.Builder.class); + } + + public static final int PARENT_FIELD_NUMBER = 1; + private volatile java.lang.Object parent_; + /** + *
+   * Required. The repository in which to list workspaces. Must be in the
+   * format `projects/*/locations/*/repositories/*`.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + @java.lang.Override + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } + } + /** + *
+   * Required. The repository in which to list workspaces. Must be in the
+   * format `projects/*/locations/*/repositories/*`.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PAGE_SIZE_FIELD_NUMBER = 2; + private int pageSize_; + /** + *
+   * Optional. Maximum number of workspaces to return. The server may return fewer
+   * items than requested. If unspecified, the server will pick an appropriate
+   * default.
+   * 
+ * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + + public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + private volatile java.lang.Object pageToken_; + /** + *
+   * Optional. Page token received from a previous `ListWorkspaces` call.
+   * Provide this to retrieve the subsequent page.
+   * When paginating, all other parameters provided to `ListWorkspaces`
+   * must match the call that provided the page token.
+   * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The pageToken. + */ + @java.lang.Override + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } + } + /** + *
+   * Optional. Page token received from a previous `ListWorkspaces` call.
+   * Provide this to retrieve the subsequent page.
+   * When paginating, all other parameters provided to `ListWorkspaces`
+   * must match the call that provided the page token.
+   * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for pageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ORDER_BY_FIELD_NUMBER = 4; + private volatile java.lang.Object orderBy_; + /** + *
+   * Optional. This field only supports ordering by `name`. If unspecified, the server
+   * will choose the ordering. If specified, the default order is ascending for
+   * the `name` field.
+   * 
+ * + * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return The orderBy. + */ + @java.lang.Override + public java.lang.String getOrderBy() { + java.lang.Object ref = orderBy_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + orderBy_ = s; + return s; + } + } + /** + *
+   * Optional. This field only supports ordering by `name`. If unspecified, the server
+   * will choose the ordering. If specified, the default order is ascending for
+   * the `name` field.
+   * 
+ * + * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for orderBy. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getOrderByBytes() { + java.lang.Object ref = orderBy_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + orderBy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FILTER_FIELD_NUMBER = 5; + private volatile java.lang.Object filter_; + /** + *
+   * Optional. Filter for the returned list.
+   * 
+ * + * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return The filter. + */ + @java.lang.Override + public java.lang.String getFilter() { + java.lang.Object ref = filter_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + filter_ = s; + return s; + } + } + /** + *
+   * Optional. Filter for the returned list.
+   * 
+ * + * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for filter. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getFilterBytes() { + java.lang.Object ref = filter_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + filter_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + } + if (pageSize_ != 0) { + output.writeInt32(2, pageSize_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, orderBy_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, filter_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + } + if (pageSize_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, orderBy_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, filter_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.ListWorkspacesRequest)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.ListWorkspacesRequest other = (com.google.cloud.dataform.v1beta1.ListWorkspacesRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PARENT_FIELD_NUMBER; + hash = (53 * hash) + getParent().hashCode(); + hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; + hash = (53 * hash) + getPageSize(); + hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getPageToken().hashCode(); + hash = (37 * hash) + ORDER_BY_FIELD_NUMBER; + hash = (53 * hash) + getOrderBy().hashCode(); + hash = (37 * hash) + FILTER_FIELD_NUMBER; + hash = (53 * hash) + getFilter().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.ListWorkspacesRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.ListWorkspacesRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ListWorkspacesRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.ListWorkspacesRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ListWorkspacesRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.ListWorkspacesRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ListWorkspacesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.ListWorkspacesRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ListWorkspacesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.ListWorkspacesRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ListWorkspacesRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.ListWorkspacesRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.ListWorkspacesRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * `ListWorkspaces` request message.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.ListWorkspacesRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.ListWorkspacesRequest) + com.google.cloud.dataform.v1beta1.ListWorkspacesRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListWorkspacesRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListWorkspacesRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.ListWorkspacesRequest.class, com.google.cloud.dataform.v1beta1.ListWorkspacesRequest.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.ListWorkspacesRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + parent_ = ""; + + pageSize_ = 0; + + pageToken_ = ""; + + orderBy_ = ""; + + filter_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListWorkspacesRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.ListWorkspacesRequest getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.ListWorkspacesRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.ListWorkspacesRequest build() { + com.google.cloud.dataform.v1beta1.ListWorkspacesRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.ListWorkspacesRequest buildPartial() { + com.google.cloud.dataform.v1beta1.ListWorkspacesRequest result = new com.google.cloud.dataform.v1beta1.ListWorkspacesRequest(this); + result.parent_ = parent_; + result.pageSize_ = pageSize_; + result.pageToken_ = pageToken_; + result.orderBy_ = orderBy_; + result.filter_ = filter_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.ListWorkspacesRequest) { + return mergeFrom((com.google.cloud.dataform.v1beta1.ListWorkspacesRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.ListWorkspacesRequest other) { + if (other == com.google.cloud.dataform.v1beta1.ListWorkspacesRequest.getDefaultInstance()) return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + onChanged(); + } + if (other.getPageSize() != 0) { + setPageSize(other.getPageSize()); + } + if (!other.getPageToken().isEmpty()) { + pageToken_ = other.pageToken_; + onChanged(); + } + if (!other.getOrderBy().isEmpty()) { + orderBy_ = other.orderBy_; + onChanged(); + } + if (!other.getFilter().isEmpty()) { + filter_ = other.filter_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.ListWorkspacesRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.ListWorkspacesRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object parent_ = ""; + /** + *
+     * Required. The repository in which to list workspaces. Must be in the
+     * format `projects/*/locations/*/repositories/*`.
+     * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The repository in which to list workspaces. Must be in the
+     * format `projects/*/locations/*/repositories/*`.
+     * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + public com.google.protobuf.ByteString + getParentBytes() { + java.lang.Object ref = parent_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The repository in which to list workspaces. Must be in the
+     * format `projects/*/locations/*/repositories/*`.
+     * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The parent to set. + * @return This builder for chaining. + */ + public Builder setParent( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + parent_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. The repository in which to list workspaces. Must be in the
+     * format `projects/*/locations/*/repositories/*`.
+     * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearParent() { + + parent_ = getDefaultInstance().getParent(); + onChanged(); + return this; + } + /** + *
+     * Required. The repository in which to list workspaces. Must be in the
+     * format `projects/*/locations/*/repositories/*`.
+     * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The bytes for parent to set. + * @return This builder for chaining. + */ + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + parent_ = value; + onChanged(); + return this; + } + + private int pageSize_ ; + /** + *
+     * Optional. Maximum number of workspaces to return. The server may return fewer
+     * items than requested. If unspecified, the server will pick an appropriate
+     * default.
+     * 
+ * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + /** + *
+     * Optional. Maximum number of workspaces to return. The server may return fewer
+     * items than requested. If unspecified, the server will pick an appropriate
+     * default.
+     * 
+ * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The pageSize to set. + * @return This builder for chaining. + */ + public Builder setPageSize(int value) { + + pageSize_ = value; + onChanged(); + return this; + } + /** + *
+     * Optional. Maximum number of workspaces to return. The server may return fewer
+     * items than requested. If unspecified, the server will pick an appropriate
+     * default.
+     * 
+ * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearPageSize() { + + pageSize_ = 0; + onChanged(); + return this; + } + + private java.lang.Object pageToken_ = ""; + /** + *
+     * Optional. Page token received from a previous `ListWorkspaces` call.
+     * Provide this to retrieve the subsequent page.
+     * When paginating, all other parameters provided to `ListWorkspaces`
+     * must match the call that provided the page token.
+     * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The pageToken. + */ + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Optional. Page token received from a previous `ListWorkspaces` call.
+     * Provide this to retrieve the subsequent page.
+     * When paginating, all other parameters provided to `ListWorkspaces`
+     * must match the call that provided the page token.
+     * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for pageToken. + */ + public com.google.protobuf.ByteString + getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Optional. Page token received from a previous `ListWorkspaces` call.
+     * Provide this to retrieve the subsequent page.
+     * When paginating, all other parameters provided to `ListWorkspaces`
+     * must match the call that provided the page token.
+     * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageToken( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + pageToken_ = value; + onChanged(); + return this; + } + /** + *
+     * Optional. Page token received from a previous `ListWorkspaces` call.
+     * Provide this to retrieve the subsequent page.
+     * When paginating, all other parameters provided to `ListWorkspaces`
+     * must match the call that provided the page token.
+     * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearPageToken() { + + pageToken_ = getDefaultInstance().getPageToken(); + onChanged(); + return this; + } + /** + *
+     * Optional. Page token received from a previous `ListWorkspaces` call.
+     * Provide this to retrieve the subsequent page.
+     * When paginating, all other parameters provided to `ListWorkspaces`
+     * must match the call that provided the page token.
+     * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The bytes for pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + pageToken_ = value; + onChanged(); + return this; + } + + private java.lang.Object orderBy_ = ""; + /** + *
+     * Optional. This field only supports ordering by `name`. If unspecified, the server
+     * will choose the ordering. If specified, the default order is ascending for
+     * the `name` field.
+     * 
+ * + * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return The orderBy. + */ + public java.lang.String getOrderBy() { + java.lang.Object ref = orderBy_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + orderBy_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Optional. This field only supports ordering by `name`. If unspecified, the server
+     * will choose the ordering. If specified, the default order is ascending for
+     * the `name` field.
+     * 
+ * + * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for orderBy. + */ + public com.google.protobuf.ByteString + getOrderByBytes() { + java.lang.Object ref = orderBy_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + orderBy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Optional. This field only supports ordering by `name`. If unspecified, the server
+     * will choose the ordering. If specified, the default order is ascending for
+     * the `name` field.
+     * 
+ * + * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The orderBy to set. + * @return This builder for chaining. + */ + public Builder setOrderBy( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + orderBy_ = value; + onChanged(); + return this; + } + /** + *
+     * Optional. This field only supports ordering by `name`. If unspecified, the server
+     * will choose the ordering. If specified, the default order is ascending for
+     * the `name` field.
+     * 
+ * + * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearOrderBy() { + + orderBy_ = getDefaultInstance().getOrderBy(); + onChanged(); + return this; + } + /** + *
+     * Optional. This field only supports ordering by `name`. If unspecified, the server
+     * will choose the ordering. If specified, the default order is ascending for
+     * the `name` field.
+     * 
+ * + * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The bytes for orderBy to set. + * @return This builder for chaining. + */ + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + orderBy_ = value; + onChanged(); + return this; + } + + private java.lang.Object filter_ = ""; + /** + *
+     * Optional. Filter for the returned list.
+     * 
+ * + * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return The filter. + */ + public java.lang.String getFilter() { + java.lang.Object ref = filter_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + filter_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Optional. Filter for the returned list.
+     * 
+ * + * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for filter. + */ + public com.google.protobuf.ByteString + getFilterBytes() { + java.lang.Object ref = filter_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + filter_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Optional. Filter for the returned list.
+     * 
+ * + * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The filter to set. + * @return This builder for chaining. + */ + public Builder setFilter( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + filter_ = value; + onChanged(); + return this; + } + /** + *
+     * Optional. Filter for the returned list.
+     * 
+ * + * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearFilter() { + + filter_ = getDefaultInstance().getFilter(); + onChanged(); + return this; + } + /** + *
+     * Optional. Filter for the returned list.
+     * 
+ * + * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The bytes for filter to set. + * @return This builder for chaining. + */ + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + filter_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.ListWorkspacesRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.ListWorkspacesRequest) + private static final com.google.cloud.dataform.v1beta1.ListWorkspacesRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.ListWorkspacesRequest(); + } + + public static com.google.cloud.dataform.v1beta1.ListWorkspacesRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListWorkspacesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListWorkspacesRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.ListWorkspacesRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkspacesRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkspacesRequestOrBuilder.java new file mode 100644 index 0000000..bbd0c40 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkspacesRequestOrBuilder.java @@ -0,0 +1,113 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface ListWorkspacesRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.ListWorkspacesRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The repository in which to list workspaces. Must be in the
+   * format `projects/*/locations/*/repositories/*`.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + java.lang.String getParent(); + /** + *
+   * Required. The repository in which to list workspaces. Must be in the
+   * format `projects/*/locations/*/repositories/*`.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + com.google.protobuf.ByteString + getParentBytes(); + + /** + *
+   * Optional. Maximum number of workspaces to return. The server may return fewer
+   * items than requested. If unspecified, the server will pick an appropriate
+   * default.
+   * 
+ * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The pageSize. + */ + int getPageSize(); + + /** + *
+   * Optional. Page token received from a previous `ListWorkspaces` call.
+   * Provide this to retrieve the subsequent page.
+   * When paginating, all other parameters provided to `ListWorkspaces`
+   * must match the call that provided the page token.
+   * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The pageToken. + */ + java.lang.String getPageToken(); + /** + *
+   * Optional. Page token received from a previous `ListWorkspaces` call.
+   * Provide this to retrieve the subsequent page.
+   * When paginating, all other parameters provided to `ListWorkspaces`
+   * must match the call that provided the page token.
+   * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for pageToken. + */ + com.google.protobuf.ByteString + getPageTokenBytes(); + + /** + *
+   * Optional. This field only supports ordering by `name`. If unspecified, the server
+   * will choose the ordering. If specified, the default order is ascending for
+   * the `name` field.
+   * 
+ * + * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return The orderBy. + */ + java.lang.String getOrderBy(); + /** + *
+   * Optional. This field only supports ordering by `name`. If unspecified, the server
+   * will choose the ordering. If specified, the default order is ascending for
+   * the `name` field.
+   * 
+ * + * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for orderBy. + */ + com.google.protobuf.ByteString + getOrderByBytes(); + + /** + *
+   * Optional. Filter for the returned list.
+   * 
+ * + * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return The filter. + */ + java.lang.String getFilter(); + /** + *
+   * Optional. Filter for the returned list.
+   * 
+ * + * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for filter. + */ + com.google.protobuf.ByteString + getFilterBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkspacesResponse.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkspacesResponse.java new file mode 100644 index 0000000..ee2807b --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkspacesResponse.java @@ -0,0 +1,1289 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * `ListWorkspaces` response message.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.ListWorkspacesResponse} + */ +public final class ListWorkspacesResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.ListWorkspacesResponse) + ListWorkspacesResponseOrBuilder { +private static final long serialVersionUID = 0L; + // Use ListWorkspacesResponse.newBuilder() to construct. + private ListWorkspacesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ListWorkspacesResponse() { + workspaces_ = java.util.Collections.emptyList(); + nextPageToken_ = ""; + unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ListWorkspacesResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ListWorkspacesResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + workspaces_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + workspaces_.add( + input.readMessage(com.google.cloud.dataform.v1beta1.Workspace.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + nextPageToken_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + unreachable_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + workspaces_ = java.util.Collections.unmodifiableList(workspaces_); + } + if (((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = unreachable_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListWorkspacesResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListWorkspacesResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.ListWorkspacesResponse.class, com.google.cloud.dataform.v1beta1.ListWorkspacesResponse.Builder.class); + } + + public static final int WORKSPACES_FIELD_NUMBER = 1; + private java.util.List workspaces_; + /** + *
+   * List of workspaces.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1; + */ + @java.lang.Override + public java.util.List getWorkspacesList() { + return workspaces_; + } + /** + *
+   * List of workspaces.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1; + */ + @java.lang.Override + public java.util.List + getWorkspacesOrBuilderList() { + return workspaces_; + } + /** + *
+   * List of workspaces.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1; + */ + @java.lang.Override + public int getWorkspacesCount() { + return workspaces_.size(); + } + /** + *
+   * List of workspaces.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.Workspace getWorkspaces(int index) { + return workspaces_.get(index); + } + /** + *
+   * List of workspaces.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.WorkspaceOrBuilder getWorkspacesOrBuilder( + int index) { + return workspaces_.get(index); + } + + public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + private volatile java.lang.Object nextPageToken_; + /** + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * @return The nextPageToken. + */ + @java.lang.Override + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } + } + /** + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * @return The bytes for nextPageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int UNREACHABLE_FIELD_NUMBER = 3; + private com.google.protobuf.LazyStringList unreachable_; + /** + *
+   * Locations which could not be reached.
+   * 
+ * + * repeated string unreachable = 3; + * @return A list containing the unreachable. + */ + public com.google.protobuf.ProtocolStringList + getUnreachableList() { + return unreachable_; + } + /** + *
+   * Locations which could not be reached.
+   * 
+ * + * repeated string unreachable = 3; + * @return The count of unreachable. + */ + public int getUnreachableCount() { + return unreachable_.size(); + } + /** + *
+   * Locations which could not be reached.
+   * 
+ * + * repeated string unreachable = 3; + * @param index The index of the element to return. + * @return The unreachable at the given index. + */ + public java.lang.String getUnreachable(int index) { + return unreachable_.get(index); + } + /** + *
+   * Locations which could not be reached.
+   * 
+ * + * repeated string unreachable = 3; + * @param index The index of the value to return. + * @return The bytes of the unreachable at the given index. + */ + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { + return unreachable_.getByteString(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < workspaces_.size(); i++) { + output.writeMessage(1, workspaces_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); + } + for (int i = 0; i < unreachable_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, unreachable_.getRaw(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < workspaces_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, workspaces_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); + } + { + int dataSize = 0; + for (int i = 0; i < unreachable_.size(); i++) { + dataSize += computeStringSizeNoTag(unreachable_.getRaw(i)); + } + size += dataSize; + size += 1 * getUnreachableList().size(); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.ListWorkspacesResponse)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.ListWorkspacesResponse other = (com.google.cloud.dataform.v1beta1.ListWorkspacesResponse) obj; + + if (!getWorkspacesList() + .equals(other.getWorkspacesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getUnreachableList() + .equals(other.getUnreachableList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getWorkspacesCount() > 0) { + hash = (37 * hash) + WORKSPACES_FIELD_NUMBER; + hash = (53 * hash) + getWorkspacesList().hashCode(); + } + hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getNextPageToken().hashCode(); + if (getUnreachableCount() > 0) { + hash = (37 * hash) + UNREACHABLE_FIELD_NUMBER; + hash = (53 * hash) + getUnreachableList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.ListWorkspacesResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.ListWorkspacesResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ListWorkspacesResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.ListWorkspacesResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ListWorkspacesResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.ListWorkspacesResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ListWorkspacesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.ListWorkspacesResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ListWorkspacesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.ListWorkspacesResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ListWorkspacesResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.ListWorkspacesResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.ListWorkspacesResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * `ListWorkspaces` response message.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.ListWorkspacesResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.ListWorkspacesResponse) + com.google.cloud.dataform.v1beta1.ListWorkspacesResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListWorkspacesResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListWorkspacesResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.ListWorkspacesResponse.class, com.google.cloud.dataform.v1beta1.ListWorkspacesResponse.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.ListWorkspacesResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getWorkspacesFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (workspacesBuilder_ == null) { + workspaces_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + workspacesBuilder_.clear(); + } + nextPageToken_ = ""; + + unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListWorkspacesResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.ListWorkspacesResponse getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.ListWorkspacesResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.ListWorkspacesResponse build() { + com.google.cloud.dataform.v1beta1.ListWorkspacesResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.ListWorkspacesResponse buildPartial() { + com.google.cloud.dataform.v1beta1.ListWorkspacesResponse result = new com.google.cloud.dataform.v1beta1.ListWorkspacesResponse(this); + int from_bitField0_ = bitField0_; + if (workspacesBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + workspaces_ = java.util.Collections.unmodifiableList(workspaces_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.workspaces_ = workspaces_; + } else { + result.workspaces_ = workspacesBuilder_.build(); + } + result.nextPageToken_ = nextPageToken_; + if (((bitField0_ & 0x00000002) != 0)) { + unreachable_ = unreachable_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.unreachable_ = unreachable_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.ListWorkspacesResponse) { + return mergeFrom((com.google.cloud.dataform.v1beta1.ListWorkspacesResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.ListWorkspacesResponse other) { + if (other == com.google.cloud.dataform.v1beta1.ListWorkspacesResponse.getDefaultInstance()) return this; + if (workspacesBuilder_ == null) { + if (!other.workspaces_.isEmpty()) { + if (workspaces_.isEmpty()) { + workspaces_ = other.workspaces_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureWorkspacesIsMutable(); + workspaces_.addAll(other.workspaces_); + } + onChanged(); + } + } else { + if (!other.workspaces_.isEmpty()) { + if (workspacesBuilder_.isEmpty()) { + workspacesBuilder_.dispose(); + workspacesBuilder_ = null; + workspaces_ = other.workspaces_; + bitField0_ = (bitField0_ & ~0x00000001); + workspacesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getWorkspacesFieldBuilder() : null; + } else { + workspacesBuilder_.addAllMessages(other.workspaces_); + } + } + } + if (!other.getNextPageToken().isEmpty()) { + nextPageToken_ = other.nextPageToken_; + onChanged(); + } + if (!other.unreachable_.isEmpty()) { + if (unreachable_.isEmpty()) { + unreachable_ = other.unreachable_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureUnreachableIsMutable(); + unreachable_.addAll(other.unreachable_); + } + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.ListWorkspacesResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.ListWorkspacesResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private java.util.List workspaces_ = + java.util.Collections.emptyList(); + private void ensureWorkspacesIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + workspaces_ = new java.util.ArrayList(workspaces_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Workspace, com.google.cloud.dataform.v1beta1.Workspace.Builder, com.google.cloud.dataform.v1beta1.WorkspaceOrBuilder> workspacesBuilder_; + + /** + *
+     * List of workspaces.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1; + */ + public java.util.List getWorkspacesList() { + if (workspacesBuilder_ == null) { + return java.util.Collections.unmodifiableList(workspaces_); + } else { + return workspacesBuilder_.getMessageList(); + } + } + /** + *
+     * List of workspaces.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1; + */ + public int getWorkspacesCount() { + if (workspacesBuilder_ == null) { + return workspaces_.size(); + } else { + return workspacesBuilder_.getCount(); + } + } + /** + *
+     * List of workspaces.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1; + */ + public com.google.cloud.dataform.v1beta1.Workspace getWorkspaces(int index) { + if (workspacesBuilder_ == null) { + return workspaces_.get(index); + } else { + return workspacesBuilder_.getMessage(index); + } + } + /** + *
+     * List of workspaces.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1; + */ + public Builder setWorkspaces( + int index, com.google.cloud.dataform.v1beta1.Workspace value) { + if (workspacesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureWorkspacesIsMutable(); + workspaces_.set(index, value); + onChanged(); + } else { + workspacesBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+     * List of workspaces.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1; + */ + public Builder setWorkspaces( + int index, com.google.cloud.dataform.v1beta1.Workspace.Builder builderForValue) { + if (workspacesBuilder_ == null) { + ensureWorkspacesIsMutable(); + workspaces_.set(index, builderForValue.build()); + onChanged(); + } else { + workspacesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * List of workspaces.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1; + */ + public Builder addWorkspaces(com.google.cloud.dataform.v1beta1.Workspace value) { + if (workspacesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureWorkspacesIsMutable(); + workspaces_.add(value); + onChanged(); + } else { + workspacesBuilder_.addMessage(value); + } + return this; + } + /** + *
+     * List of workspaces.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1; + */ + public Builder addWorkspaces( + int index, com.google.cloud.dataform.v1beta1.Workspace value) { + if (workspacesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureWorkspacesIsMutable(); + workspaces_.add(index, value); + onChanged(); + } else { + workspacesBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+     * List of workspaces.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1; + */ + public Builder addWorkspaces( + com.google.cloud.dataform.v1beta1.Workspace.Builder builderForValue) { + if (workspacesBuilder_ == null) { + ensureWorkspacesIsMutable(); + workspaces_.add(builderForValue.build()); + onChanged(); + } else { + workspacesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+     * List of workspaces.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1; + */ + public Builder addWorkspaces( + int index, com.google.cloud.dataform.v1beta1.Workspace.Builder builderForValue) { + if (workspacesBuilder_ == null) { + ensureWorkspacesIsMutable(); + workspaces_.add(index, builderForValue.build()); + onChanged(); + } else { + workspacesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * List of workspaces.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1; + */ + public Builder addAllWorkspaces( + java.lang.Iterable values) { + if (workspacesBuilder_ == null) { + ensureWorkspacesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, workspaces_); + onChanged(); + } else { + workspacesBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+     * List of workspaces.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1; + */ + public Builder clearWorkspaces() { + if (workspacesBuilder_ == null) { + workspaces_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + workspacesBuilder_.clear(); + } + return this; + } + /** + *
+     * List of workspaces.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1; + */ + public Builder removeWorkspaces(int index) { + if (workspacesBuilder_ == null) { + ensureWorkspacesIsMutable(); + workspaces_.remove(index); + onChanged(); + } else { + workspacesBuilder_.remove(index); + } + return this; + } + /** + *
+     * List of workspaces.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1; + */ + public com.google.cloud.dataform.v1beta1.Workspace.Builder getWorkspacesBuilder( + int index) { + return getWorkspacesFieldBuilder().getBuilder(index); + } + /** + *
+     * List of workspaces.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1; + */ + public com.google.cloud.dataform.v1beta1.WorkspaceOrBuilder getWorkspacesOrBuilder( + int index) { + if (workspacesBuilder_ == null) { + return workspaces_.get(index); } else { + return workspacesBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+     * List of workspaces.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1; + */ + public java.util.List + getWorkspacesOrBuilderList() { + if (workspacesBuilder_ != null) { + return workspacesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(workspaces_); + } + } + /** + *
+     * List of workspaces.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1; + */ + public com.google.cloud.dataform.v1beta1.Workspace.Builder addWorkspacesBuilder() { + return getWorkspacesFieldBuilder().addBuilder( + com.google.cloud.dataform.v1beta1.Workspace.getDefaultInstance()); + } + /** + *
+     * List of workspaces.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1; + */ + public com.google.cloud.dataform.v1beta1.Workspace.Builder addWorkspacesBuilder( + int index) { + return getWorkspacesFieldBuilder().addBuilder( + index, com.google.cloud.dataform.v1beta1.Workspace.getDefaultInstance()); + } + /** + *
+     * List of workspaces.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1; + */ + public java.util.List + getWorkspacesBuilderList() { + return getWorkspacesFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Workspace, com.google.cloud.dataform.v1beta1.Workspace.Builder, com.google.cloud.dataform.v1beta1.WorkspaceOrBuilder> + getWorkspacesFieldBuilder() { + if (workspacesBuilder_ == null) { + workspacesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Workspace, com.google.cloud.dataform.v1beta1.Workspace.Builder, com.google.cloud.dataform.v1beta1.WorkspaceOrBuilder>( + workspaces_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + workspaces_ = null; + } + return workspacesBuilder_; + } + + private java.lang.Object nextPageToken_ = ""; + /** + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * @return The nextPageToken. + */ + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * @return The bytes for nextPageToken. + */ + public com.google.protobuf.ByteString + getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * @param value The nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + nextPageToken_ = value; + onChanged(); + return this; + } + /** + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * @return This builder for chaining. + */ + public Builder clearNextPageToken() { + + nextPageToken_ = getDefaultInstance().getNextPageToken(); + onChanged(); + return this; + } + /** + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * @param value The bytes for nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + nextPageToken_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUnreachableIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); + bitField0_ |= 0x00000002; + } + } + /** + *
+     * Locations which could not be reached.
+     * 
+ * + * repeated string unreachable = 3; + * @return A list containing the unreachable. + */ + public com.google.protobuf.ProtocolStringList + getUnreachableList() { + return unreachable_.getUnmodifiableView(); + } + /** + *
+     * Locations which could not be reached.
+     * 
+ * + * repeated string unreachable = 3; + * @return The count of unreachable. + */ + public int getUnreachableCount() { + return unreachable_.size(); + } + /** + *
+     * Locations which could not be reached.
+     * 
+ * + * repeated string unreachable = 3; + * @param index The index of the element to return. + * @return The unreachable at the given index. + */ + public java.lang.String getUnreachable(int index) { + return unreachable_.get(index); + } + /** + *
+     * Locations which could not be reached.
+     * 
+ * + * repeated string unreachable = 3; + * @param index The index of the value to return. + * @return The bytes of the unreachable at the given index. + */ + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { + return unreachable_.getByteString(index); + } + /** + *
+     * Locations which could not be reached.
+     * 
+ * + * repeated string unreachable = 3; + * @param index The index to set the value at. + * @param value The unreachable to set. + * @return This builder for chaining. + */ + public Builder setUnreachable( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); + unreachable_.set(index, value); + onChanged(); + return this; + } + /** + *
+     * Locations which could not be reached.
+     * 
+ * + * repeated string unreachable = 3; + * @param value The unreachable to add. + * @return This builder for chaining. + */ + public Builder addUnreachable( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); + unreachable_.add(value); + onChanged(); + return this; + } + /** + *
+     * Locations which could not be reached.
+     * 
+ * + * repeated string unreachable = 3; + * @param values The unreachable to add. + * @return This builder for chaining. + */ + public Builder addAllUnreachable( + java.lang.Iterable values) { + ensureUnreachableIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, unreachable_); + onChanged(); + return this; + } + /** + *
+     * Locations which could not be reached.
+     * 
+ * + * repeated string unreachable = 3; + * @return This builder for chaining. + */ + public Builder clearUnreachable() { + unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+     * Locations which could not be reached.
+     * 
+ * + * repeated string unreachable = 3; + * @param value The bytes of the unreachable to add. + * @return This builder for chaining. + */ + public Builder addUnreachableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureUnreachableIsMutable(); + unreachable_.add(value); + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.ListWorkspacesResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.ListWorkspacesResponse) + private static final com.google.cloud.dataform.v1beta1.ListWorkspacesResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.ListWorkspacesResponse(); + } + + public static com.google.cloud.dataform.v1beta1.ListWorkspacesResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListWorkspacesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListWorkspacesResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.ListWorkspacesResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkspacesResponseOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkspacesResponseOrBuilder.java new file mode 100644 index 0000000..c3739e2 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkspacesResponseOrBuilder.java @@ -0,0 +1,116 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface ListWorkspacesResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.ListWorkspacesResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * List of workspaces.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1; + */ + java.util.List + getWorkspacesList(); + /** + *
+   * List of workspaces.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1; + */ + com.google.cloud.dataform.v1beta1.Workspace getWorkspaces(int index); + /** + *
+   * List of workspaces.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1; + */ + int getWorkspacesCount(); + /** + *
+   * List of workspaces.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1; + */ + java.util.List + getWorkspacesOrBuilderList(); + /** + *
+   * List of workspaces.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1; + */ + com.google.cloud.dataform.v1beta1.WorkspaceOrBuilder getWorkspacesOrBuilder( + int index); + + /** + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * @return The nextPageToken. + */ + java.lang.String getNextPageToken(); + /** + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * @return The bytes for nextPageToken. + */ + com.google.protobuf.ByteString + getNextPageTokenBytes(); + + /** + *
+   * Locations which could not be reached.
+   * 
+ * + * repeated string unreachable = 3; + * @return A list containing the unreachable. + */ + java.util.List + getUnreachableList(); + /** + *
+   * Locations which could not be reached.
+   * 
+ * + * repeated string unreachable = 3; + * @return The count of unreachable. + */ + int getUnreachableCount(); + /** + *
+   * Locations which could not be reached.
+   * 
+ * + * repeated string unreachable = 3; + * @param index The index of the element to return. + * @return The unreachable at the given index. + */ + java.lang.String getUnreachable(int index); + /** + *
+   * Locations which could not be reached.
+   * 
+ * + * repeated string unreachable = 3; + * @param index The index of the value to return. + * @return The bytes of the unreachable at the given index. + */ + com.google.protobuf.ByteString + getUnreachableBytes(int index); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/LocationName.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/LocationName.java new file mode 100644 index 0000000..f8da7ee --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/LocationName.java @@ -0,0 +1,192 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dataform.v1beta1; + +import com.google.api.pathtemplate.PathTemplate; +import com.google.api.resourcenames.ResourceName; +import com.google.common.base.Preconditions; +import com.google.common.collect.ImmutableMap; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +@Generated("by gapic-generator-java") +public class LocationName implements ResourceName { + private static final PathTemplate PROJECT_LOCATION = + PathTemplate.createWithoutUrlEncoding("projects/{project}/locations/{location}"); + private volatile Map fieldValuesMap; + private final String project; + private final String location; + + @Deprecated + protected LocationName() { + project = null; + location = null; + } + + private LocationName(Builder builder) { + project = Preconditions.checkNotNull(builder.getProject()); + location = Preconditions.checkNotNull(builder.getLocation()); + } + + public String getProject() { + return project; + } + + public String getLocation() { + return location; + } + + public static Builder newBuilder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + public static LocationName of(String project, String location) { + return newBuilder().setProject(project).setLocation(location).build(); + } + + public static String format(String project, String location) { + return newBuilder().setProject(project).setLocation(location).build().toString(); + } + + public static LocationName parse(String formattedString) { + if (formattedString.isEmpty()) { + return null; + } + Map matchMap = + PROJECT_LOCATION.validatedMatch( + formattedString, "LocationName.parse: formattedString not in valid format"); + return of(matchMap.get("project"), matchMap.get("location")); + } + + public static List parseList(List formattedStrings) { + List list = new ArrayList<>(formattedStrings.size()); + for (String formattedString : formattedStrings) { + list.add(parse(formattedString)); + } + return list; + } + + public static List toStringList(List values) { + List list = new ArrayList<>(values.size()); + for (LocationName value : values) { + if (value == null) { + list.add(""); + } else { + list.add(value.toString()); + } + } + return list; + } + + public static boolean isParsableFrom(String formattedString) { + return PROJECT_LOCATION.matches(formattedString); + } + + @Override + public Map getFieldValuesMap() { + if (fieldValuesMap == null) { + synchronized (this) { + if (fieldValuesMap == null) { + ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); + if (project != null) { + fieldMapBuilder.put("project", project); + } + if (location != null) { + fieldMapBuilder.put("location", location); + } + fieldValuesMap = fieldMapBuilder.build(); + } + } + } + return fieldValuesMap; + } + + public String getFieldValue(String fieldName) { + return getFieldValuesMap().get(fieldName); + } + + @Override + public String toString() { + return PROJECT_LOCATION.instantiate("project", project, "location", location); + } + + @Override + public boolean equals(Object o) { + if (o == this) { + return true; + } + if (o != null || getClass() == o.getClass()) { + LocationName that = ((LocationName) o); + return Objects.equals(this.project, that.project) + && Objects.equals(this.location, that.location); + } + return false; + } + + @Override + public int hashCode() { + int h = 1; + h *= 1000003; + h ^= Objects.hashCode(project); + h *= 1000003; + h ^= Objects.hashCode(location); + return h; + } + + /** Builder for projects/{project}/locations/{location}. */ + public static class Builder { + private String project; + private String location; + + protected Builder() {} + + public String getProject() { + return project; + } + + public String getLocation() { + return location; + } + + public Builder setProject(String project) { + this.project = project; + return this; + } + + public Builder setLocation(String location) { + this.location = location; + return this; + } + + private Builder(LocationName locationName) { + this.project = locationName.project; + this.location = locationName.location; + } + + public LocationName build() { + return new LocationName(this); + } + } +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MakeDirectoryRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MakeDirectoryRequest.java new file mode 100644 index 0000000..af42296 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MakeDirectoryRequest.java @@ -0,0 +1,768 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * `MakeDirectory` request message.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.MakeDirectoryRequest} + */ +public final class MakeDirectoryRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.MakeDirectoryRequest) + MakeDirectoryRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use MakeDirectoryRequest.newBuilder() to construct. + private MakeDirectoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private MakeDirectoryRequest() { + workspace_ = ""; + path_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new MakeDirectoryRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private MakeDirectoryRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + workspace_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + path_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MakeDirectoryRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MakeDirectoryRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.MakeDirectoryRequest.class, com.google.cloud.dataform.v1beta1.MakeDirectoryRequest.Builder.class); + } + + public static final int WORKSPACE_FIELD_NUMBER = 1; + private volatile java.lang.Object workspace_; + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The workspace. + */ + @java.lang.Override + public java.lang.String getWorkspace() { + java.lang.Object ref = workspace_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + workspace_ = s; + return s; + } + } + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for workspace. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getWorkspaceBytes() { + java.lang.Object ref = workspace_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + workspace_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PATH_FIELD_NUMBER = 2; + private volatile java.lang.Object path_; + /** + *
+   * Required. The directory's full path including directory name, relative to the
+   * workspace root.
+   * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The path. + */ + @java.lang.Override + public java.lang.String getPath() { + java.lang.Object ref = path_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + path_ = s; + return s; + } + } + /** + *
+   * Required. The directory's full path including directory name, relative to the
+   * workspace root.
+   * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for path. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPathBytes() { + java.lang.Object ref = path_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + path_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workspace_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, path_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, workspace_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, path_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.MakeDirectoryRequest)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.MakeDirectoryRequest other = (com.google.cloud.dataform.v1beta1.MakeDirectoryRequest) obj; + + if (!getWorkspace() + .equals(other.getWorkspace())) return false; + if (!getPath() + .equals(other.getPath())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + WORKSPACE_FIELD_NUMBER; + hash = (53 * hash) + getWorkspace().hashCode(); + hash = (37 * hash) + PATH_FIELD_NUMBER; + hash = (53 * hash) + getPath().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.MakeDirectoryRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.MakeDirectoryRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.MakeDirectoryRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.MakeDirectoryRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.MakeDirectoryRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.MakeDirectoryRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.MakeDirectoryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.MakeDirectoryRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.MakeDirectoryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.MakeDirectoryRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.MakeDirectoryRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.MakeDirectoryRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.MakeDirectoryRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * `MakeDirectory` request message.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.MakeDirectoryRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.MakeDirectoryRequest) + com.google.cloud.dataform.v1beta1.MakeDirectoryRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MakeDirectoryRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MakeDirectoryRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.MakeDirectoryRequest.class, com.google.cloud.dataform.v1beta1.MakeDirectoryRequest.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.MakeDirectoryRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + workspace_ = ""; + + path_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MakeDirectoryRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.MakeDirectoryRequest getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.MakeDirectoryRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.MakeDirectoryRequest build() { + com.google.cloud.dataform.v1beta1.MakeDirectoryRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.MakeDirectoryRequest buildPartial() { + com.google.cloud.dataform.v1beta1.MakeDirectoryRequest result = new com.google.cloud.dataform.v1beta1.MakeDirectoryRequest(this); + result.workspace_ = workspace_; + result.path_ = path_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.MakeDirectoryRequest) { + return mergeFrom((com.google.cloud.dataform.v1beta1.MakeDirectoryRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.MakeDirectoryRequest other) { + if (other == com.google.cloud.dataform.v1beta1.MakeDirectoryRequest.getDefaultInstance()) return this; + if (!other.getWorkspace().isEmpty()) { + workspace_ = other.workspace_; + onChanged(); + } + if (!other.getPath().isEmpty()) { + path_ = other.path_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.MakeDirectoryRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.MakeDirectoryRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object workspace_ = ""; + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The workspace. + */ + public java.lang.String getWorkspace() { + java.lang.Object ref = workspace_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + workspace_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for workspace. + */ + public com.google.protobuf.ByteString + getWorkspaceBytes() { + java.lang.Object ref = workspace_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + workspace_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The workspace to set. + * @return This builder for chaining. + */ + public Builder setWorkspace( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + workspace_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearWorkspace() { + + workspace_ = getDefaultInstance().getWorkspace(); + onChanged(); + return this; + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The bytes for workspace to set. + * @return This builder for chaining. + */ + public Builder setWorkspaceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + workspace_ = value; + onChanged(); + return this; + } + + private java.lang.Object path_ = ""; + /** + *
+     * Required. The directory's full path including directory name, relative to the
+     * workspace root.
+     * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The path. + */ + public java.lang.String getPath() { + java.lang.Object ref = path_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + path_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The directory's full path including directory name, relative to the
+     * workspace root.
+     * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for path. + */ + public com.google.protobuf.ByteString + getPathBytes() { + java.lang.Object ref = path_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + path_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The directory's full path including directory name, relative to the
+     * workspace root.
+     * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param value The path to set. + * @return This builder for chaining. + */ + public Builder setPath( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + path_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. The directory's full path including directory name, relative to the
+     * workspace root.
+     * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return This builder for chaining. + */ + public Builder clearPath() { + + path_ = getDefaultInstance().getPath(); + onChanged(); + return this; + } + /** + *
+     * Required. The directory's full path including directory name, relative to the
+     * workspace root.
+     * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param value The bytes for path to set. + * @return This builder for chaining. + */ + public Builder setPathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + path_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.MakeDirectoryRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.MakeDirectoryRequest) + private static final com.google.cloud.dataform.v1beta1.MakeDirectoryRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.MakeDirectoryRequest(); + } + + public static com.google.cloud.dataform.v1beta1.MakeDirectoryRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MakeDirectoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MakeDirectoryRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.MakeDirectoryRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MakeDirectoryRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MakeDirectoryRequestOrBuilder.java new file mode 100644 index 0000000..8e3f5ae --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MakeDirectoryRequestOrBuilder.java @@ -0,0 +1,51 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface MakeDirectoryRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.MakeDirectoryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The workspace. + */ + java.lang.String getWorkspace(); + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for workspace. + */ + com.google.protobuf.ByteString + getWorkspaceBytes(); + + /** + *
+   * Required. The directory's full path including directory name, relative to the
+   * workspace root.
+   * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The path. + */ + java.lang.String getPath(); + /** + *
+   * Required. The directory's full path including directory name, relative to the
+   * workspace root.
+   * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for path. + */ + com.google.protobuf.ByteString + getPathBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MakeDirectoryResponse.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MakeDirectoryResponse.java new file mode 100644 index 0000000..45a855e --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MakeDirectoryResponse.java @@ -0,0 +1,429 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * `MakeDirectory` response message.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.MakeDirectoryResponse} + */ +public final class MakeDirectoryResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.MakeDirectoryResponse) + MakeDirectoryResponseOrBuilder { +private static final long serialVersionUID = 0L; + // Use MakeDirectoryResponse.newBuilder() to construct. + private MakeDirectoryResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private MakeDirectoryResponse() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new MakeDirectoryResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private MakeDirectoryResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MakeDirectoryResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MakeDirectoryResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.MakeDirectoryResponse.class, com.google.cloud.dataform.v1beta1.MakeDirectoryResponse.Builder.class); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.MakeDirectoryResponse)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.MakeDirectoryResponse other = (com.google.cloud.dataform.v1beta1.MakeDirectoryResponse) obj; + + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.MakeDirectoryResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.MakeDirectoryResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.MakeDirectoryResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.MakeDirectoryResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.MakeDirectoryResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.MakeDirectoryResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.MakeDirectoryResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.MakeDirectoryResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.MakeDirectoryResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.MakeDirectoryResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.MakeDirectoryResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.MakeDirectoryResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.MakeDirectoryResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * `MakeDirectory` response message.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.MakeDirectoryResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.MakeDirectoryResponse) + com.google.cloud.dataform.v1beta1.MakeDirectoryResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MakeDirectoryResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MakeDirectoryResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.MakeDirectoryResponse.class, com.google.cloud.dataform.v1beta1.MakeDirectoryResponse.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.MakeDirectoryResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MakeDirectoryResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.MakeDirectoryResponse getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.MakeDirectoryResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.MakeDirectoryResponse build() { + com.google.cloud.dataform.v1beta1.MakeDirectoryResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.MakeDirectoryResponse buildPartial() { + com.google.cloud.dataform.v1beta1.MakeDirectoryResponse result = new com.google.cloud.dataform.v1beta1.MakeDirectoryResponse(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.MakeDirectoryResponse) { + return mergeFrom((com.google.cloud.dataform.v1beta1.MakeDirectoryResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.MakeDirectoryResponse other) { + if (other == com.google.cloud.dataform.v1beta1.MakeDirectoryResponse.getDefaultInstance()) return this; + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.MakeDirectoryResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.MakeDirectoryResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.MakeDirectoryResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.MakeDirectoryResponse) + private static final com.google.cloud.dataform.v1beta1.MakeDirectoryResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.MakeDirectoryResponse(); + } + + public static com.google.cloud.dataform.v1beta1.MakeDirectoryResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MakeDirectoryResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MakeDirectoryResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.MakeDirectoryResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MakeDirectoryResponseOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MakeDirectoryResponseOrBuilder.java new file mode 100644 index 0000000..8fb2811 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MakeDirectoryResponseOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface MakeDirectoryResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.MakeDirectoryResponse) + com.google.protobuf.MessageOrBuilder { +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveDirectoryRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveDirectoryRequest.java new file mode 100644 index 0000000..c7d7691 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveDirectoryRequest.java @@ -0,0 +1,941 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * `MoveDirectory` request message.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.MoveDirectoryRequest} + */ +public final class MoveDirectoryRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.MoveDirectoryRequest) + MoveDirectoryRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use MoveDirectoryRequest.newBuilder() to construct. + private MoveDirectoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private MoveDirectoryRequest() { + workspace_ = ""; + path_ = ""; + newPath_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new MoveDirectoryRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private MoveDirectoryRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + workspace_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + path_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + newPath_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MoveDirectoryRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MoveDirectoryRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.MoveDirectoryRequest.class, com.google.cloud.dataform.v1beta1.MoveDirectoryRequest.Builder.class); + } + + public static final int WORKSPACE_FIELD_NUMBER = 1; + private volatile java.lang.Object workspace_; + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The workspace. + */ + @java.lang.Override + public java.lang.String getWorkspace() { + java.lang.Object ref = workspace_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + workspace_ = s; + return s; + } + } + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for workspace. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getWorkspaceBytes() { + java.lang.Object ref = workspace_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + workspace_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PATH_FIELD_NUMBER = 2; + private volatile java.lang.Object path_; + /** + *
+   * Required. The directory's full path including directory name, relative to the
+   * workspace root.
+   * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The path. + */ + @java.lang.Override + public java.lang.String getPath() { + java.lang.Object ref = path_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + path_ = s; + return s; + } + } + /** + *
+   * Required. The directory's full path including directory name, relative to the
+   * workspace root.
+   * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for path. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPathBytes() { + java.lang.Object ref = path_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + path_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NEW_PATH_FIELD_NUMBER = 3; + private volatile java.lang.Object newPath_; + /** + *
+   * Required. The new path for the directory including directory name, rooted at
+   * workspace root.
+   * 
+ * + * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The newPath. + */ + @java.lang.Override + public java.lang.String getNewPath() { + java.lang.Object ref = newPath_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + newPath_ = s; + return s; + } + } + /** + *
+   * Required. The new path for the directory including directory name, rooted at
+   * workspace root.
+   * 
+ * + * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for newPath. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNewPathBytes() { + java.lang.Object ref = newPath_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + newPath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workspace_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, path_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(newPath_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, newPath_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, workspace_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, path_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(newPath_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, newPath_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.MoveDirectoryRequest)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.MoveDirectoryRequest other = (com.google.cloud.dataform.v1beta1.MoveDirectoryRequest) obj; + + if (!getWorkspace() + .equals(other.getWorkspace())) return false; + if (!getPath() + .equals(other.getPath())) return false; + if (!getNewPath() + .equals(other.getNewPath())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + WORKSPACE_FIELD_NUMBER; + hash = (53 * hash) + getWorkspace().hashCode(); + hash = (37 * hash) + PATH_FIELD_NUMBER; + hash = (53 * hash) + getPath().hashCode(); + hash = (37 * hash) + NEW_PATH_FIELD_NUMBER; + hash = (53 * hash) + getNewPath().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.MoveDirectoryRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.MoveDirectoryRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.MoveDirectoryRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.MoveDirectoryRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.MoveDirectoryRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.MoveDirectoryRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.MoveDirectoryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.MoveDirectoryRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.MoveDirectoryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.MoveDirectoryRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.MoveDirectoryRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.MoveDirectoryRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.MoveDirectoryRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * `MoveDirectory` request message.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.MoveDirectoryRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.MoveDirectoryRequest) + com.google.cloud.dataform.v1beta1.MoveDirectoryRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MoveDirectoryRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MoveDirectoryRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.MoveDirectoryRequest.class, com.google.cloud.dataform.v1beta1.MoveDirectoryRequest.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.MoveDirectoryRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + workspace_ = ""; + + path_ = ""; + + newPath_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MoveDirectoryRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.MoveDirectoryRequest getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.MoveDirectoryRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.MoveDirectoryRequest build() { + com.google.cloud.dataform.v1beta1.MoveDirectoryRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.MoveDirectoryRequest buildPartial() { + com.google.cloud.dataform.v1beta1.MoveDirectoryRequest result = new com.google.cloud.dataform.v1beta1.MoveDirectoryRequest(this); + result.workspace_ = workspace_; + result.path_ = path_; + result.newPath_ = newPath_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.MoveDirectoryRequest) { + return mergeFrom((com.google.cloud.dataform.v1beta1.MoveDirectoryRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.MoveDirectoryRequest other) { + if (other == com.google.cloud.dataform.v1beta1.MoveDirectoryRequest.getDefaultInstance()) return this; + if (!other.getWorkspace().isEmpty()) { + workspace_ = other.workspace_; + onChanged(); + } + if (!other.getPath().isEmpty()) { + path_ = other.path_; + onChanged(); + } + if (!other.getNewPath().isEmpty()) { + newPath_ = other.newPath_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.MoveDirectoryRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.MoveDirectoryRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object workspace_ = ""; + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The workspace. + */ + public java.lang.String getWorkspace() { + java.lang.Object ref = workspace_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + workspace_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for workspace. + */ + public com.google.protobuf.ByteString + getWorkspaceBytes() { + java.lang.Object ref = workspace_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + workspace_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The workspace to set. + * @return This builder for chaining. + */ + public Builder setWorkspace( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + workspace_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearWorkspace() { + + workspace_ = getDefaultInstance().getWorkspace(); + onChanged(); + return this; + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The bytes for workspace to set. + * @return This builder for chaining. + */ + public Builder setWorkspaceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + workspace_ = value; + onChanged(); + return this; + } + + private java.lang.Object path_ = ""; + /** + *
+     * Required. The directory's full path including directory name, relative to the
+     * workspace root.
+     * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The path. + */ + public java.lang.String getPath() { + java.lang.Object ref = path_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + path_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The directory's full path including directory name, relative to the
+     * workspace root.
+     * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for path. + */ + public com.google.protobuf.ByteString + getPathBytes() { + java.lang.Object ref = path_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + path_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The directory's full path including directory name, relative to the
+     * workspace root.
+     * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param value The path to set. + * @return This builder for chaining. + */ + public Builder setPath( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + path_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. The directory's full path including directory name, relative to the
+     * workspace root.
+     * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return This builder for chaining. + */ + public Builder clearPath() { + + path_ = getDefaultInstance().getPath(); + onChanged(); + return this; + } + /** + *
+     * Required. The directory's full path including directory name, relative to the
+     * workspace root.
+     * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param value The bytes for path to set. + * @return This builder for chaining. + */ + public Builder setPathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + path_ = value; + onChanged(); + return this; + } + + private java.lang.Object newPath_ = ""; + /** + *
+     * Required. The new path for the directory including directory name, rooted at
+     * workspace root.
+     * 
+ * + * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The newPath. + */ + public java.lang.String getNewPath() { + java.lang.Object ref = newPath_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + newPath_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The new path for the directory including directory name, rooted at
+     * workspace root.
+     * 
+ * + * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for newPath. + */ + public com.google.protobuf.ByteString + getNewPathBytes() { + java.lang.Object ref = newPath_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + newPath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The new path for the directory including directory name, rooted at
+     * workspace root.
+     * 
+ * + * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param value The newPath to set. + * @return This builder for chaining. + */ + public Builder setNewPath( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + newPath_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. The new path for the directory including directory name, rooted at
+     * workspace root.
+     * 
+ * + * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return This builder for chaining. + */ + public Builder clearNewPath() { + + newPath_ = getDefaultInstance().getNewPath(); + onChanged(); + return this; + } + /** + *
+     * Required. The new path for the directory including directory name, rooted at
+     * workspace root.
+     * 
+ * + * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param value The bytes for newPath to set. + * @return This builder for chaining. + */ + public Builder setNewPathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + newPath_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.MoveDirectoryRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.MoveDirectoryRequest) + private static final com.google.cloud.dataform.v1beta1.MoveDirectoryRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.MoveDirectoryRequest(); + } + + public static com.google.cloud.dataform.v1beta1.MoveDirectoryRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MoveDirectoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MoveDirectoryRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.MoveDirectoryRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveDirectoryRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveDirectoryRequestOrBuilder.java new file mode 100644 index 0000000..af46fb3 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveDirectoryRequestOrBuilder.java @@ -0,0 +1,73 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface MoveDirectoryRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.MoveDirectoryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The workspace. + */ + java.lang.String getWorkspace(); + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for workspace. + */ + com.google.protobuf.ByteString + getWorkspaceBytes(); + + /** + *
+   * Required. The directory's full path including directory name, relative to the
+   * workspace root.
+   * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The path. + */ + java.lang.String getPath(); + /** + *
+   * Required. The directory's full path including directory name, relative to the
+   * workspace root.
+   * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for path. + */ + com.google.protobuf.ByteString + getPathBytes(); + + /** + *
+   * Required. The new path for the directory including directory name, rooted at
+   * workspace root.
+   * 
+ * + * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The newPath. + */ + java.lang.String getNewPath(); + /** + *
+   * Required. The new path for the directory including directory name, rooted at
+   * workspace root.
+   * 
+ * + * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for newPath. + */ + com.google.protobuf.ByteString + getNewPathBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveDirectoryResponse.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveDirectoryResponse.java new file mode 100644 index 0000000..2fa3968 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveDirectoryResponse.java @@ -0,0 +1,429 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * `MoveDirectory` response message.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.MoveDirectoryResponse} + */ +public final class MoveDirectoryResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.MoveDirectoryResponse) + MoveDirectoryResponseOrBuilder { +private static final long serialVersionUID = 0L; + // Use MoveDirectoryResponse.newBuilder() to construct. + private MoveDirectoryResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private MoveDirectoryResponse() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new MoveDirectoryResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private MoveDirectoryResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MoveDirectoryResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MoveDirectoryResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.MoveDirectoryResponse.class, com.google.cloud.dataform.v1beta1.MoveDirectoryResponse.Builder.class); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.MoveDirectoryResponse)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.MoveDirectoryResponse other = (com.google.cloud.dataform.v1beta1.MoveDirectoryResponse) obj; + + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.MoveDirectoryResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.MoveDirectoryResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.MoveDirectoryResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.MoveDirectoryResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.MoveDirectoryResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.MoveDirectoryResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.MoveDirectoryResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.MoveDirectoryResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.MoveDirectoryResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.MoveDirectoryResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.MoveDirectoryResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.MoveDirectoryResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.MoveDirectoryResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * `MoveDirectory` response message.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.MoveDirectoryResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.MoveDirectoryResponse) + com.google.cloud.dataform.v1beta1.MoveDirectoryResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MoveDirectoryResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MoveDirectoryResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.MoveDirectoryResponse.class, com.google.cloud.dataform.v1beta1.MoveDirectoryResponse.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.MoveDirectoryResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MoveDirectoryResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.MoveDirectoryResponse getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.MoveDirectoryResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.MoveDirectoryResponse build() { + com.google.cloud.dataform.v1beta1.MoveDirectoryResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.MoveDirectoryResponse buildPartial() { + com.google.cloud.dataform.v1beta1.MoveDirectoryResponse result = new com.google.cloud.dataform.v1beta1.MoveDirectoryResponse(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.MoveDirectoryResponse) { + return mergeFrom((com.google.cloud.dataform.v1beta1.MoveDirectoryResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.MoveDirectoryResponse other) { + if (other == com.google.cloud.dataform.v1beta1.MoveDirectoryResponse.getDefaultInstance()) return this; + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.MoveDirectoryResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.MoveDirectoryResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.MoveDirectoryResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.MoveDirectoryResponse) + private static final com.google.cloud.dataform.v1beta1.MoveDirectoryResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.MoveDirectoryResponse(); + } + + public static com.google.cloud.dataform.v1beta1.MoveDirectoryResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MoveDirectoryResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MoveDirectoryResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.MoveDirectoryResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveDirectoryResponseOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveDirectoryResponseOrBuilder.java new file mode 100644 index 0000000..09b8435 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveDirectoryResponseOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface MoveDirectoryResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.MoveDirectoryResponse) + com.google.protobuf.MessageOrBuilder { +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveFileRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveFileRequest.java new file mode 100644 index 0000000..058e459 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveFileRequest.java @@ -0,0 +1,927 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * `MoveFile` request message.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.MoveFileRequest} + */ +public final class MoveFileRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.MoveFileRequest) + MoveFileRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use MoveFileRequest.newBuilder() to construct. + private MoveFileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private MoveFileRequest() { + workspace_ = ""; + path_ = ""; + newPath_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new MoveFileRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private MoveFileRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + workspace_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + path_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + newPath_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MoveFileRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MoveFileRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.MoveFileRequest.class, com.google.cloud.dataform.v1beta1.MoveFileRequest.Builder.class); + } + + public static final int WORKSPACE_FIELD_NUMBER = 1; + private volatile java.lang.Object workspace_; + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The workspace. + */ + @java.lang.Override + public java.lang.String getWorkspace() { + java.lang.Object ref = workspace_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + workspace_ = s; + return s; + } + } + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for workspace. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getWorkspaceBytes() { + java.lang.Object ref = workspace_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + workspace_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PATH_FIELD_NUMBER = 2; + private volatile java.lang.Object path_; + /** + *
+   * Required. The file's full path including filename, relative to the workspace root.
+   * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The path. + */ + @java.lang.Override + public java.lang.String getPath() { + java.lang.Object ref = path_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + path_ = s; + return s; + } + } + /** + *
+   * Required. The file's full path including filename, relative to the workspace root.
+   * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for path. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPathBytes() { + java.lang.Object ref = path_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + path_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NEW_PATH_FIELD_NUMBER = 3; + private volatile java.lang.Object newPath_; + /** + *
+   * Required. The file's new path including filename, relative to the workspace root.
+   * 
+ * + * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The newPath. + */ + @java.lang.Override + public java.lang.String getNewPath() { + java.lang.Object ref = newPath_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + newPath_ = s; + return s; + } + } + /** + *
+   * Required. The file's new path including filename, relative to the workspace root.
+   * 
+ * + * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for newPath. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNewPathBytes() { + java.lang.Object ref = newPath_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + newPath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workspace_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, path_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(newPath_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, newPath_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, workspace_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, path_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(newPath_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, newPath_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.MoveFileRequest)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.MoveFileRequest other = (com.google.cloud.dataform.v1beta1.MoveFileRequest) obj; + + if (!getWorkspace() + .equals(other.getWorkspace())) return false; + if (!getPath() + .equals(other.getPath())) return false; + if (!getNewPath() + .equals(other.getNewPath())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + WORKSPACE_FIELD_NUMBER; + hash = (53 * hash) + getWorkspace().hashCode(); + hash = (37 * hash) + PATH_FIELD_NUMBER; + hash = (53 * hash) + getPath().hashCode(); + hash = (37 * hash) + NEW_PATH_FIELD_NUMBER; + hash = (53 * hash) + getNewPath().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.MoveFileRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.MoveFileRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.MoveFileRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.MoveFileRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.MoveFileRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.MoveFileRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.MoveFileRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.MoveFileRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.MoveFileRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.MoveFileRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.MoveFileRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.MoveFileRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.MoveFileRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * `MoveFile` request message.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.MoveFileRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.MoveFileRequest) + com.google.cloud.dataform.v1beta1.MoveFileRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MoveFileRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MoveFileRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.MoveFileRequest.class, com.google.cloud.dataform.v1beta1.MoveFileRequest.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.MoveFileRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + workspace_ = ""; + + path_ = ""; + + newPath_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MoveFileRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.MoveFileRequest getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.MoveFileRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.MoveFileRequest build() { + com.google.cloud.dataform.v1beta1.MoveFileRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.MoveFileRequest buildPartial() { + com.google.cloud.dataform.v1beta1.MoveFileRequest result = new com.google.cloud.dataform.v1beta1.MoveFileRequest(this); + result.workspace_ = workspace_; + result.path_ = path_; + result.newPath_ = newPath_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.MoveFileRequest) { + return mergeFrom((com.google.cloud.dataform.v1beta1.MoveFileRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.MoveFileRequest other) { + if (other == com.google.cloud.dataform.v1beta1.MoveFileRequest.getDefaultInstance()) return this; + if (!other.getWorkspace().isEmpty()) { + workspace_ = other.workspace_; + onChanged(); + } + if (!other.getPath().isEmpty()) { + path_ = other.path_; + onChanged(); + } + if (!other.getNewPath().isEmpty()) { + newPath_ = other.newPath_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.MoveFileRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.MoveFileRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object workspace_ = ""; + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The workspace. + */ + public java.lang.String getWorkspace() { + java.lang.Object ref = workspace_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + workspace_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for workspace. + */ + public com.google.protobuf.ByteString + getWorkspaceBytes() { + java.lang.Object ref = workspace_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + workspace_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The workspace to set. + * @return This builder for chaining. + */ + public Builder setWorkspace( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + workspace_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearWorkspace() { + + workspace_ = getDefaultInstance().getWorkspace(); + onChanged(); + return this; + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The bytes for workspace to set. + * @return This builder for chaining. + */ + public Builder setWorkspaceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + workspace_ = value; + onChanged(); + return this; + } + + private java.lang.Object path_ = ""; + /** + *
+     * Required. The file's full path including filename, relative to the workspace root.
+     * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The path. + */ + public java.lang.String getPath() { + java.lang.Object ref = path_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + path_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The file's full path including filename, relative to the workspace root.
+     * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for path. + */ + public com.google.protobuf.ByteString + getPathBytes() { + java.lang.Object ref = path_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + path_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The file's full path including filename, relative to the workspace root.
+     * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param value The path to set. + * @return This builder for chaining. + */ + public Builder setPath( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + path_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. The file's full path including filename, relative to the workspace root.
+     * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return This builder for chaining. + */ + public Builder clearPath() { + + path_ = getDefaultInstance().getPath(); + onChanged(); + return this; + } + /** + *
+     * Required. The file's full path including filename, relative to the workspace root.
+     * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param value The bytes for path to set. + * @return This builder for chaining. + */ + public Builder setPathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + path_ = value; + onChanged(); + return this; + } + + private java.lang.Object newPath_ = ""; + /** + *
+     * Required. The file's new path including filename, relative to the workspace root.
+     * 
+ * + * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The newPath. + */ + public java.lang.String getNewPath() { + java.lang.Object ref = newPath_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + newPath_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The file's new path including filename, relative to the workspace root.
+     * 
+ * + * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for newPath. + */ + public com.google.protobuf.ByteString + getNewPathBytes() { + java.lang.Object ref = newPath_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + newPath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The file's new path including filename, relative to the workspace root.
+     * 
+ * + * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param value The newPath to set. + * @return This builder for chaining. + */ + public Builder setNewPath( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + newPath_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. The file's new path including filename, relative to the workspace root.
+     * 
+ * + * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return This builder for chaining. + */ + public Builder clearNewPath() { + + newPath_ = getDefaultInstance().getNewPath(); + onChanged(); + return this; + } + /** + *
+     * Required. The file's new path including filename, relative to the workspace root.
+     * 
+ * + * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param value The bytes for newPath to set. + * @return This builder for chaining. + */ + public Builder setNewPathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + newPath_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.MoveFileRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.MoveFileRequest) + private static final com.google.cloud.dataform.v1beta1.MoveFileRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.MoveFileRequest(); + } + + public static com.google.cloud.dataform.v1beta1.MoveFileRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MoveFileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MoveFileRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.MoveFileRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveFileRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveFileRequestOrBuilder.java new file mode 100644 index 0000000..1af6767 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveFileRequestOrBuilder.java @@ -0,0 +1,69 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface MoveFileRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.MoveFileRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The workspace. + */ + java.lang.String getWorkspace(); + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for workspace. + */ + com.google.protobuf.ByteString + getWorkspaceBytes(); + + /** + *
+   * Required. The file's full path including filename, relative to the workspace root.
+   * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The path. + */ + java.lang.String getPath(); + /** + *
+   * Required. The file's full path including filename, relative to the workspace root.
+   * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for path. + */ + com.google.protobuf.ByteString + getPathBytes(); + + /** + *
+   * Required. The file's new path including filename, relative to the workspace root.
+   * 
+ * + * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The newPath. + */ + java.lang.String getNewPath(); + /** + *
+   * Required. The file's new path including filename, relative to the workspace root.
+   * 
+ * + * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for newPath. + */ + com.google.protobuf.ByteString + getNewPathBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveFileResponse.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveFileResponse.java new file mode 100644 index 0000000..f2bd20e --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveFileResponse.java @@ -0,0 +1,429 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * `MoveFile` response message.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.MoveFileResponse} + */ +public final class MoveFileResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.MoveFileResponse) + MoveFileResponseOrBuilder { +private static final long serialVersionUID = 0L; + // Use MoveFileResponse.newBuilder() to construct. + private MoveFileResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private MoveFileResponse() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new MoveFileResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private MoveFileResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MoveFileResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MoveFileResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.MoveFileResponse.class, com.google.cloud.dataform.v1beta1.MoveFileResponse.Builder.class); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.MoveFileResponse)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.MoveFileResponse other = (com.google.cloud.dataform.v1beta1.MoveFileResponse) obj; + + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.MoveFileResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.MoveFileResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.MoveFileResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.MoveFileResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.MoveFileResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.MoveFileResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.MoveFileResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.MoveFileResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.MoveFileResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.MoveFileResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.MoveFileResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.MoveFileResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.MoveFileResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * `MoveFile` response message.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.MoveFileResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.MoveFileResponse) + com.google.cloud.dataform.v1beta1.MoveFileResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MoveFileResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MoveFileResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.MoveFileResponse.class, com.google.cloud.dataform.v1beta1.MoveFileResponse.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.MoveFileResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MoveFileResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.MoveFileResponse getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.MoveFileResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.MoveFileResponse build() { + com.google.cloud.dataform.v1beta1.MoveFileResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.MoveFileResponse buildPartial() { + com.google.cloud.dataform.v1beta1.MoveFileResponse result = new com.google.cloud.dataform.v1beta1.MoveFileResponse(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.MoveFileResponse) { + return mergeFrom((com.google.cloud.dataform.v1beta1.MoveFileResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.MoveFileResponse other) { + if (other == com.google.cloud.dataform.v1beta1.MoveFileResponse.getDefaultInstance()) return this; + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.MoveFileResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.MoveFileResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.MoveFileResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.MoveFileResponse) + private static final com.google.cloud.dataform.v1beta1.MoveFileResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.MoveFileResponse(); + } + + public static com.google.cloud.dataform.v1beta1.MoveFileResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MoveFileResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MoveFileResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.MoveFileResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveFileResponseOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveFileResponseOrBuilder.java new file mode 100644 index 0000000..2cfa499 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveFileResponseOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface MoveFileResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.MoveFileResponse) + com.google.protobuf.MessageOrBuilder { +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/PullGitCommitsRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/PullGitCommitsRequest.java new file mode 100644 index 0000000..70b9206 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/PullGitCommitsRequest.java @@ -0,0 +1,1016 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * `PullGitCommits` request message.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.PullGitCommitsRequest} + */ +public final class PullGitCommitsRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.PullGitCommitsRequest) + PullGitCommitsRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use PullGitCommitsRequest.newBuilder() to construct. + private PullGitCommitsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private PullGitCommitsRequest() { + name_ = ""; + remoteBranch_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new PullGitCommitsRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private PullGitCommitsRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + remoteBranch_ = s; + break; + } + case 26: { + com.google.cloud.dataform.v1beta1.CommitAuthor.Builder subBuilder = null; + if (author_ != null) { + subBuilder = author_.toBuilder(); + } + author_ = input.readMessage(com.google.cloud.dataform.v1beta1.CommitAuthor.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(author_); + author_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_PullGitCommitsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_PullGitCommitsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.PullGitCommitsRequest.class, com.google.cloud.dataform.v1beta1.PullGitCommitsRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REMOTE_BRANCH_FIELD_NUMBER = 2; + private volatile java.lang.Object remoteBranch_; + /** + *
+   * Optional. The name of the branch in the Git remote from which to pull commits.
+   * If left unset, the repository's default branch name will be used.
+   * 
+ * + * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The remoteBranch. + */ + @java.lang.Override + public java.lang.String getRemoteBranch() { + java.lang.Object ref = remoteBranch_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + remoteBranch_ = s; + return s; + } + } + /** + *
+   * Optional. The name of the branch in the Git remote from which to pull commits.
+   * If left unset, the repository's default branch name will be used.
+   * 
+ * + * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for remoteBranch. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getRemoteBranchBytes() { + java.lang.Object ref = remoteBranch_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + remoteBranch_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int AUTHOR_FIELD_NUMBER = 3; + private com.google.cloud.dataform.v1beta1.CommitAuthor author_; + /** + *
+   * Required. The author of any merge commit which may be created as a result of merging
+   * fetched Git commits into this workspace.
+   * 
+ * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the author field is set. + */ + @java.lang.Override + public boolean hasAuthor() { + return author_ != null; + } + /** + *
+   * Required. The author of any merge commit which may be created as a result of merging
+   * fetched Git commits into this workspace.
+   * 
+ * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The author. + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CommitAuthor getAuthor() { + return author_ == null ? com.google.cloud.dataform.v1beta1.CommitAuthor.getDefaultInstance() : author_; + } + /** + *
+   * Required. The author of any merge commit which may be created as a result of merging
+   * fetched Git commits into this workspace.
+   * 
+ * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CommitAuthorOrBuilder getAuthorOrBuilder() { + return getAuthor(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(remoteBranch_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, remoteBranch_); + } + if (author_ != null) { + output.writeMessage(3, getAuthor()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(remoteBranch_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, remoteBranch_); + } + if (author_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getAuthor()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.PullGitCommitsRequest)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.PullGitCommitsRequest other = (com.google.cloud.dataform.v1beta1.PullGitCommitsRequest) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getRemoteBranch() + .equals(other.getRemoteBranch())) return false; + if (hasAuthor() != other.hasAuthor()) return false; + if (hasAuthor()) { + if (!getAuthor() + .equals(other.getAuthor())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + REMOTE_BRANCH_FIELD_NUMBER; + hash = (53 * hash) + getRemoteBranch().hashCode(); + if (hasAuthor()) { + hash = (37 * hash) + AUTHOR_FIELD_NUMBER; + hash = (53 * hash) + getAuthor().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.PullGitCommitsRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.PullGitCommitsRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.PullGitCommitsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.PullGitCommitsRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.PullGitCommitsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.PullGitCommitsRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.PullGitCommitsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.PullGitCommitsRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.PullGitCommitsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.PullGitCommitsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.PullGitCommitsRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.PullGitCommitsRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.PullGitCommitsRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * `PullGitCommits` request message.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.PullGitCommitsRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.PullGitCommitsRequest) + com.google.cloud.dataform.v1beta1.PullGitCommitsRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_PullGitCommitsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_PullGitCommitsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.PullGitCommitsRequest.class, com.google.cloud.dataform.v1beta1.PullGitCommitsRequest.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.PullGitCommitsRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + + remoteBranch_ = ""; + + if (authorBuilder_ == null) { + author_ = null; + } else { + author_ = null; + authorBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_PullGitCommitsRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.PullGitCommitsRequest getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.PullGitCommitsRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.PullGitCommitsRequest build() { + com.google.cloud.dataform.v1beta1.PullGitCommitsRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.PullGitCommitsRequest buildPartial() { + com.google.cloud.dataform.v1beta1.PullGitCommitsRequest result = new com.google.cloud.dataform.v1beta1.PullGitCommitsRequest(this); + result.name_ = name_; + result.remoteBranch_ = remoteBranch_; + if (authorBuilder_ == null) { + result.author_ = author_; + } else { + result.author_ = authorBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.PullGitCommitsRequest) { + return mergeFrom((com.google.cloud.dataform.v1beta1.PullGitCommitsRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.PullGitCommitsRequest other) { + if (other == com.google.cloud.dataform.v1beta1.PullGitCommitsRequest.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + if (!other.getRemoteBranch().isEmpty()) { + remoteBranch_ = other.remoteBranch_; + onChanged(); + } + if (other.hasAuthor()) { + mergeAuthor(other.getAuthor()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.PullGitCommitsRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.PullGitCommitsRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object name_ = ""; + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + + private java.lang.Object remoteBranch_ = ""; + /** + *
+     * Optional. The name of the branch in the Git remote from which to pull commits.
+     * If left unset, the repository's default branch name will be used.
+     * 
+ * + * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The remoteBranch. + */ + public java.lang.String getRemoteBranch() { + java.lang.Object ref = remoteBranch_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + remoteBranch_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Optional. The name of the branch in the Git remote from which to pull commits.
+     * If left unset, the repository's default branch name will be used.
+     * 
+ * + * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for remoteBranch. + */ + public com.google.protobuf.ByteString + getRemoteBranchBytes() { + java.lang.Object ref = remoteBranch_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + remoteBranch_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Optional. The name of the branch in the Git remote from which to pull commits.
+     * If left unset, the repository's default branch name will be used.
+     * 
+ * + * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The remoteBranch to set. + * @return This builder for chaining. + */ + public Builder setRemoteBranch( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + remoteBranch_ = value; + onChanged(); + return this; + } + /** + *
+     * Optional. The name of the branch in the Git remote from which to pull commits.
+     * If left unset, the repository's default branch name will be used.
+     * 
+ * + * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearRemoteBranch() { + + remoteBranch_ = getDefaultInstance().getRemoteBranch(); + onChanged(); + return this; + } + /** + *
+     * Optional. The name of the branch in the Git remote from which to pull commits.
+     * If left unset, the repository's default branch name will be used.
+     * 
+ * + * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The bytes for remoteBranch to set. + * @return This builder for chaining. + */ + public Builder setRemoteBranchBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + remoteBranch_ = value; + onChanged(); + return this; + } + + private com.google.cloud.dataform.v1beta1.CommitAuthor author_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.CommitAuthor, com.google.cloud.dataform.v1beta1.CommitAuthor.Builder, com.google.cloud.dataform.v1beta1.CommitAuthorOrBuilder> authorBuilder_; + /** + *
+     * Required. The author of any merge commit which may be created as a result of merging
+     * fetched Git commits into this workspace.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the author field is set. + */ + public boolean hasAuthor() { + return authorBuilder_ != null || author_ != null; + } + /** + *
+     * Required. The author of any merge commit which may be created as a result of merging
+     * fetched Git commits into this workspace.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The author. + */ + public com.google.cloud.dataform.v1beta1.CommitAuthor getAuthor() { + if (authorBuilder_ == null) { + return author_ == null ? com.google.cloud.dataform.v1beta1.CommitAuthor.getDefaultInstance() : author_; + } else { + return authorBuilder_.getMessage(); + } + } + /** + *
+     * Required. The author of any merge commit which may be created as a result of merging
+     * fetched Git commits into this workspace.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder setAuthor(com.google.cloud.dataform.v1beta1.CommitAuthor value) { + if (authorBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + author_ = value; + onChanged(); + } else { + authorBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * Required. The author of any merge commit which may be created as a result of merging
+     * fetched Git commits into this workspace.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder setAuthor( + com.google.cloud.dataform.v1beta1.CommitAuthor.Builder builderForValue) { + if (authorBuilder_ == null) { + author_ = builderForValue.build(); + onChanged(); + } else { + authorBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * Required. The author of any merge commit which may be created as a result of merging
+     * fetched Git commits into this workspace.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder mergeAuthor(com.google.cloud.dataform.v1beta1.CommitAuthor value) { + if (authorBuilder_ == null) { + if (author_ != null) { + author_ = + com.google.cloud.dataform.v1beta1.CommitAuthor.newBuilder(author_).mergeFrom(value).buildPartial(); + } else { + author_ = value; + } + onChanged(); + } else { + authorBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * Required. The author of any merge commit which may be created as a result of merging
+     * fetched Git commits into this workspace.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder clearAuthor() { + if (authorBuilder_ == null) { + author_ = null; + onChanged(); + } else { + author_ = null; + authorBuilder_ = null; + } + + return this; + } + /** + *
+     * Required. The author of any merge commit which may be created as a result of merging
+     * fetched Git commits into this workspace.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + public com.google.cloud.dataform.v1beta1.CommitAuthor.Builder getAuthorBuilder() { + + onChanged(); + return getAuthorFieldBuilder().getBuilder(); + } + /** + *
+     * Required. The author of any merge commit which may be created as a result of merging
+     * fetched Git commits into this workspace.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + public com.google.cloud.dataform.v1beta1.CommitAuthorOrBuilder getAuthorOrBuilder() { + if (authorBuilder_ != null) { + return authorBuilder_.getMessageOrBuilder(); + } else { + return author_ == null ? + com.google.cloud.dataform.v1beta1.CommitAuthor.getDefaultInstance() : author_; + } + } + /** + *
+     * Required. The author of any merge commit which may be created as a result of merging
+     * fetched Git commits into this workspace.
+     * 
+ * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.CommitAuthor, com.google.cloud.dataform.v1beta1.CommitAuthor.Builder, com.google.cloud.dataform.v1beta1.CommitAuthorOrBuilder> + getAuthorFieldBuilder() { + if (authorBuilder_ == null) { + authorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.CommitAuthor, com.google.cloud.dataform.v1beta1.CommitAuthor.Builder, com.google.cloud.dataform.v1beta1.CommitAuthorOrBuilder>( + getAuthor(), + getParentForChildren(), + isClean()); + author_ = null; + } + return authorBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.PullGitCommitsRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.PullGitCommitsRequest) + private static final com.google.cloud.dataform.v1beta1.PullGitCommitsRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.PullGitCommitsRequest(); + } + + public static com.google.cloud.dataform.v1beta1.PullGitCommitsRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PullGitCommitsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PullGitCommitsRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.PullGitCommitsRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/PullGitCommitsRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/PullGitCommitsRequestOrBuilder.java new file mode 100644 index 0000000..bb0d347 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/PullGitCommitsRequestOrBuilder.java @@ -0,0 +1,81 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface PullGitCommitsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.PullGitCommitsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + *
+   * Optional. The name of the branch in the Git remote from which to pull commits.
+   * If left unset, the repository's default branch name will be used.
+   * 
+ * + * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The remoteBranch. + */ + java.lang.String getRemoteBranch(); + /** + *
+   * Optional. The name of the branch in the Git remote from which to pull commits.
+   * If left unset, the repository's default branch name will be used.
+   * 
+ * + * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for remoteBranch. + */ + com.google.protobuf.ByteString + getRemoteBranchBytes(); + + /** + *
+   * Required. The author of any merge commit which may be created as a result of merging
+   * fetched Git commits into this workspace.
+   * 
+ * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the author field is set. + */ + boolean hasAuthor(); + /** + *
+   * Required. The author of any merge commit which may be created as a result of merging
+   * fetched Git commits into this workspace.
+   * 
+ * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The author. + */ + com.google.cloud.dataform.v1beta1.CommitAuthor getAuthor(); + /** + *
+   * Required. The author of any merge commit which may be created as a result of merging
+   * fetched Git commits into this workspace.
+   * 
+ * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.cloud.dataform.v1beta1.CommitAuthorOrBuilder getAuthorOrBuilder(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/PushGitCommitsRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/PushGitCommitsRequest.java new file mode 100644 index 0000000..b4f47f5 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/PushGitCommitsRequest.java @@ -0,0 +1,768 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * `PushGitCommits` request message.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.PushGitCommitsRequest} + */ +public final class PushGitCommitsRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.PushGitCommitsRequest) + PushGitCommitsRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use PushGitCommitsRequest.newBuilder() to construct. + private PushGitCommitsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private PushGitCommitsRequest() { + name_ = ""; + remoteBranch_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new PushGitCommitsRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private PushGitCommitsRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + remoteBranch_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_PushGitCommitsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_PushGitCommitsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.PushGitCommitsRequest.class, com.google.cloud.dataform.v1beta1.PushGitCommitsRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REMOTE_BRANCH_FIELD_NUMBER = 2; + private volatile java.lang.Object remoteBranch_; + /** + *
+   * Optional. The name of the branch in the Git remote to which commits should be pushed.
+   * If left unset, the repository's default branch name will be used.
+   * 
+ * + * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The remoteBranch. + */ + @java.lang.Override + public java.lang.String getRemoteBranch() { + java.lang.Object ref = remoteBranch_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + remoteBranch_ = s; + return s; + } + } + /** + *
+   * Optional. The name of the branch in the Git remote to which commits should be pushed.
+   * If left unset, the repository's default branch name will be used.
+   * 
+ * + * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for remoteBranch. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getRemoteBranchBytes() { + java.lang.Object ref = remoteBranch_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + remoteBranch_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(remoteBranch_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, remoteBranch_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(remoteBranch_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, remoteBranch_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.PushGitCommitsRequest)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.PushGitCommitsRequest other = (com.google.cloud.dataform.v1beta1.PushGitCommitsRequest) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getRemoteBranch() + .equals(other.getRemoteBranch())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + REMOTE_BRANCH_FIELD_NUMBER; + hash = (53 * hash) + getRemoteBranch().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.PushGitCommitsRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.PushGitCommitsRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.PushGitCommitsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.PushGitCommitsRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.PushGitCommitsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.PushGitCommitsRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.PushGitCommitsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.PushGitCommitsRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.PushGitCommitsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.PushGitCommitsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.PushGitCommitsRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.PushGitCommitsRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.PushGitCommitsRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * `PushGitCommits` request message.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.PushGitCommitsRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.PushGitCommitsRequest) + com.google.cloud.dataform.v1beta1.PushGitCommitsRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_PushGitCommitsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_PushGitCommitsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.PushGitCommitsRequest.class, com.google.cloud.dataform.v1beta1.PushGitCommitsRequest.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.PushGitCommitsRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + + remoteBranch_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_PushGitCommitsRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.PushGitCommitsRequest getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.PushGitCommitsRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.PushGitCommitsRequest build() { + com.google.cloud.dataform.v1beta1.PushGitCommitsRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.PushGitCommitsRequest buildPartial() { + com.google.cloud.dataform.v1beta1.PushGitCommitsRequest result = new com.google.cloud.dataform.v1beta1.PushGitCommitsRequest(this); + result.name_ = name_; + result.remoteBranch_ = remoteBranch_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.PushGitCommitsRequest) { + return mergeFrom((com.google.cloud.dataform.v1beta1.PushGitCommitsRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.PushGitCommitsRequest other) { + if (other == com.google.cloud.dataform.v1beta1.PushGitCommitsRequest.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + if (!other.getRemoteBranch().isEmpty()) { + remoteBranch_ = other.remoteBranch_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.PushGitCommitsRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.PushGitCommitsRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object name_ = ""; + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + + private java.lang.Object remoteBranch_ = ""; + /** + *
+     * Optional. The name of the branch in the Git remote to which commits should be pushed.
+     * If left unset, the repository's default branch name will be used.
+     * 
+ * + * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The remoteBranch. + */ + public java.lang.String getRemoteBranch() { + java.lang.Object ref = remoteBranch_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + remoteBranch_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Optional. The name of the branch in the Git remote to which commits should be pushed.
+     * If left unset, the repository's default branch name will be used.
+     * 
+ * + * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for remoteBranch. + */ + public com.google.protobuf.ByteString + getRemoteBranchBytes() { + java.lang.Object ref = remoteBranch_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + remoteBranch_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Optional. The name of the branch in the Git remote to which commits should be pushed.
+     * If left unset, the repository's default branch name will be used.
+     * 
+ * + * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The remoteBranch to set. + * @return This builder for chaining. + */ + public Builder setRemoteBranch( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + remoteBranch_ = value; + onChanged(); + return this; + } + /** + *
+     * Optional. The name of the branch in the Git remote to which commits should be pushed.
+     * If left unset, the repository's default branch name will be used.
+     * 
+ * + * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearRemoteBranch() { + + remoteBranch_ = getDefaultInstance().getRemoteBranch(); + onChanged(); + return this; + } + /** + *
+     * Optional. The name of the branch in the Git remote to which commits should be pushed.
+     * If left unset, the repository's default branch name will be used.
+     * 
+ * + * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The bytes for remoteBranch to set. + * @return This builder for chaining. + */ + public Builder setRemoteBranchBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + remoteBranch_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.PushGitCommitsRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.PushGitCommitsRequest) + private static final com.google.cloud.dataform.v1beta1.PushGitCommitsRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.PushGitCommitsRequest(); + } + + public static com.google.cloud.dataform.v1beta1.PushGitCommitsRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PushGitCommitsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PushGitCommitsRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.PushGitCommitsRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/PushGitCommitsRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/PushGitCommitsRequestOrBuilder.java new file mode 100644 index 0000000..c6a54a8 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/PushGitCommitsRequestOrBuilder.java @@ -0,0 +1,51 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface PushGitCommitsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.PushGitCommitsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + *
+   * Optional. The name of the branch in the Git remote to which commits should be pushed.
+   * If left unset, the repository's default branch name will be used.
+   * 
+ * + * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The remoteBranch. + */ + java.lang.String getRemoteBranch(); + /** + *
+   * Optional. The name of the branch in the Git remote to which commits should be pushed.
+   * If left unset, the repository's default branch name will be used.
+   * 
+ * + * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for remoteBranch. + */ + com.google.protobuf.ByteString + getRemoteBranchBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryCompilationResultActionsRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryCompilationResultActionsRequest.java new file mode 100644 index 0000000..60d160f --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryCompilationResultActionsRequest.java @@ -0,0 +1,1050 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * `QueryCompilationResultActions` request message.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest} + */ +public final class QueryCompilationResultActionsRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest) + QueryCompilationResultActionsRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use QueryCompilationResultActionsRequest.newBuilder() to construct. + private QueryCompilationResultActionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private QueryCompilationResultActionsRequest() { + name_ = ""; + pageToken_ = ""; + filter_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new QueryCompilationResultActionsRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private QueryCompilationResultActionsRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + case 16: { + + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + filter_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest.class, com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + *
+   * Required. The compilation result's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + *
+   * Required. The compilation result's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PAGE_SIZE_FIELD_NUMBER = 2; + private int pageSize_; + /** + *
+   * Optional. Maximum number of compilation results to return. The server may return
+   * fewer items than requested. If unspecified, the server will pick an
+   * appropriate default.
+   * 
+ * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + + public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + private volatile java.lang.Object pageToken_; + /** + *
+   * Optional. Page token received from a previous `QueryCompilationResultActions` call.
+   * Provide this to retrieve the subsequent page.
+   * When paginating, all other parameters provided to
+   * `QueryCompilationResultActions` must match the call that provided the page
+   * token.
+   * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The pageToken. + */ + @java.lang.Override + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } + } + /** + *
+   * Optional. Page token received from a previous `QueryCompilationResultActions` call.
+   * Provide this to retrieve the subsequent page.
+   * When paginating, all other parameters provided to
+   * `QueryCompilationResultActions` must match the call that provided the page
+   * token.
+   * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for pageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FILTER_FIELD_NUMBER = 4; + private volatile java.lang.Object filter_; + /** + *
+   * Optional. Optional filter for the returned list. Filtering is only currently
+   * supported on the `file_path` field.
+   * 
+ * + * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return The filter. + */ + @java.lang.Override + public java.lang.String getFilter() { + java.lang.Object ref = filter_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + filter_ = s; + return s; + } + } + /** + *
+   * Optional. Optional filter for the returned list. Filtering is only currently
+   * supported on the `file_path` field.
+   * 
+ * + * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for filter. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getFilterBytes() { + java.lang.Object ref = filter_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + filter_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (pageSize_ != 0) { + output.writeInt32(2, pageSize_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, filter_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (pageSize_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, filter_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest other = (com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest) obj; + + if (!getName() + .equals(other.getName())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; + hash = (53 * hash) + getPageSize(); + hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getPageToken().hashCode(); + hash = (37 * hash) + FILTER_FIELD_NUMBER; + hash = (53 * hash) + getFilter().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * `QueryCompilationResultActions` request message.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest) + com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest.class, com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + + pageSize_ = 0; + + pageToken_ = ""; + + filter_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest build() { + com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest buildPartial() { + com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest result = new com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest(this); + result.name_ = name_; + result.pageSize_ = pageSize_; + result.pageToken_ = pageToken_; + result.filter_ = filter_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest) { + return mergeFrom((com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest other) { + if (other == com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + if (other.getPageSize() != 0) { + setPageSize(other.getPageSize()); + } + if (!other.getPageToken().isEmpty()) { + pageToken_ = other.pageToken_; + onChanged(); + } + if (!other.getFilter().isEmpty()) { + filter_ = other.filter_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object name_ = ""; + /** + *
+     * Required. The compilation result's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The compilation result's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The compilation result's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. The compilation result's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + *
+     * Required. The compilation result's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + + private int pageSize_ ; + /** + *
+     * Optional. Maximum number of compilation results to return. The server may return
+     * fewer items than requested. If unspecified, the server will pick an
+     * appropriate default.
+     * 
+ * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + /** + *
+     * Optional. Maximum number of compilation results to return. The server may return
+     * fewer items than requested. If unspecified, the server will pick an
+     * appropriate default.
+     * 
+ * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The pageSize to set. + * @return This builder for chaining. + */ + public Builder setPageSize(int value) { + + pageSize_ = value; + onChanged(); + return this; + } + /** + *
+     * Optional. Maximum number of compilation results to return. The server may return
+     * fewer items than requested. If unspecified, the server will pick an
+     * appropriate default.
+     * 
+ * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearPageSize() { + + pageSize_ = 0; + onChanged(); + return this; + } + + private java.lang.Object pageToken_ = ""; + /** + *
+     * Optional. Page token received from a previous `QueryCompilationResultActions` call.
+     * Provide this to retrieve the subsequent page.
+     * When paginating, all other parameters provided to
+     * `QueryCompilationResultActions` must match the call that provided the page
+     * token.
+     * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The pageToken. + */ + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Optional. Page token received from a previous `QueryCompilationResultActions` call.
+     * Provide this to retrieve the subsequent page.
+     * When paginating, all other parameters provided to
+     * `QueryCompilationResultActions` must match the call that provided the page
+     * token.
+     * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for pageToken. + */ + public com.google.protobuf.ByteString + getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Optional. Page token received from a previous `QueryCompilationResultActions` call.
+     * Provide this to retrieve the subsequent page.
+     * When paginating, all other parameters provided to
+     * `QueryCompilationResultActions` must match the call that provided the page
+     * token.
+     * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageToken( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + pageToken_ = value; + onChanged(); + return this; + } + /** + *
+     * Optional. Page token received from a previous `QueryCompilationResultActions` call.
+     * Provide this to retrieve the subsequent page.
+     * When paginating, all other parameters provided to
+     * `QueryCompilationResultActions` must match the call that provided the page
+     * token.
+     * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearPageToken() { + + pageToken_ = getDefaultInstance().getPageToken(); + onChanged(); + return this; + } + /** + *
+     * Optional. Page token received from a previous `QueryCompilationResultActions` call.
+     * Provide this to retrieve the subsequent page.
+     * When paginating, all other parameters provided to
+     * `QueryCompilationResultActions` must match the call that provided the page
+     * token.
+     * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The bytes for pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + pageToken_ = value; + onChanged(); + return this; + } + + private java.lang.Object filter_ = ""; + /** + *
+     * Optional. Optional filter for the returned list. Filtering is only currently
+     * supported on the `file_path` field.
+     * 
+ * + * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return The filter. + */ + public java.lang.String getFilter() { + java.lang.Object ref = filter_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + filter_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Optional. Optional filter for the returned list. Filtering is only currently
+     * supported on the `file_path` field.
+     * 
+ * + * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for filter. + */ + public com.google.protobuf.ByteString + getFilterBytes() { + java.lang.Object ref = filter_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + filter_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Optional. Optional filter for the returned list. Filtering is only currently
+     * supported on the `file_path` field.
+     * 
+ * + * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The filter to set. + * @return This builder for chaining. + */ + public Builder setFilter( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + filter_ = value; + onChanged(); + return this; + } + /** + *
+     * Optional. Optional filter for the returned list. Filtering is only currently
+     * supported on the `file_path` field.
+     * 
+ * + * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearFilter() { + + filter_ = getDefaultInstance().getFilter(); + onChanged(); + return this; + } + /** + *
+     * Optional. Optional filter for the returned list. Filtering is only currently
+     * supported on the `file_path` field.
+     * 
+ * + * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The bytes for filter to set. + * @return This builder for chaining. + */ + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + filter_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest) + private static final com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest(); + } + + public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryCompilationResultActionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new QueryCompilationResultActionsRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryCompilationResultActionsRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryCompilationResultActionsRequestOrBuilder.java new file mode 100644 index 0000000..91d9994 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryCompilationResultActionsRequestOrBuilder.java @@ -0,0 +1,91 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface QueryCompilationResultActionsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The compilation result's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The compilation result's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + *
+   * Optional. Maximum number of compilation results to return. The server may return
+   * fewer items than requested. If unspecified, the server will pick an
+   * appropriate default.
+   * 
+ * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The pageSize. + */ + int getPageSize(); + + /** + *
+   * Optional. Page token received from a previous `QueryCompilationResultActions` call.
+   * Provide this to retrieve the subsequent page.
+   * When paginating, all other parameters provided to
+   * `QueryCompilationResultActions` must match the call that provided the page
+   * token.
+   * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The pageToken. + */ + java.lang.String getPageToken(); + /** + *
+   * Optional. Page token received from a previous `QueryCompilationResultActions` call.
+   * Provide this to retrieve the subsequent page.
+   * When paginating, all other parameters provided to
+   * `QueryCompilationResultActions` must match the call that provided the page
+   * token.
+   * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for pageToken. + */ + com.google.protobuf.ByteString + getPageTokenBytes(); + + /** + *
+   * Optional. Optional filter for the returned list. Filtering is only currently
+   * supported on the `file_path` field.
+   * 
+ * + * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return The filter. + */ + java.lang.String getFilter(); + /** + *
+   * Optional. Optional filter for the returned list. Filtering is only currently
+   * supported on the `file_path` field.
+   * 
+ * + * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for filter. + */ + com.google.protobuf.ByteString + getFilterBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryCompilationResultActionsResponse.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryCompilationResultActionsResponse.java new file mode 100644 index 0000000..1a7c137 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryCompilationResultActionsResponse.java @@ -0,0 +1,1045 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * `QueryCompilationResultActions` response message.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse} + */ +public final class QueryCompilationResultActionsResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse) + QueryCompilationResultActionsResponseOrBuilder { +private static final long serialVersionUID = 0L; + // Use QueryCompilationResultActionsResponse.newBuilder() to construct. + private QueryCompilationResultActionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private QueryCompilationResultActionsResponse() { + compilationResultActions_ = java.util.Collections.emptyList(); + nextPageToken_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new QueryCompilationResultActionsResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private QueryCompilationResultActionsResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + compilationResultActions_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + compilationResultActions_.add( + input.readMessage(com.google.cloud.dataform.v1beta1.CompilationResultAction.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + compilationResultActions_ = java.util.Collections.unmodifiableList(compilationResultActions_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse.class, com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse.Builder.class); + } + + public static final int COMPILATION_RESULT_ACTIONS_FIELD_NUMBER = 1; + private java.util.List compilationResultActions_; + /** + *
+   * List of compilation result actions.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + */ + @java.lang.Override + public java.util.List getCompilationResultActionsList() { + return compilationResultActions_; + } + /** + *
+   * List of compilation result actions.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + */ + @java.lang.Override + public java.util.List + getCompilationResultActionsOrBuilderList() { + return compilationResultActions_; + } + /** + *
+   * List of compilation result actions.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + */ + @java.lang.Override + public int getCompilationResultActionsCount() { + return compilationResultActions_.size(); + } + /** + *
+   * List of compilation result actions.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResultAction getCompilationResultActions(int index) { + return compilationResultActions_.get(index); + } + /** + *
+   * List of compilation result actions.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResultActionOrBuilder getCompilationResultActionsOrBuilder( + int index) { + return compilationResultActions_.get(index); + } + + public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + private volatile java.lang.Object nextPageToken_; + /** + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * @return The nextPageToken. + */ + @java.lang.Override + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } + } + /** + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * @return The bytes for nextPageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < compilationResultActions_.size(); i++) { + output.writeMessage(1, compilationResultActions_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < compilationResultActions_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, compilationResultActions_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse other = (com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse) obj; + + if (!getCompilationResultActionsList() + .equals(other.getCompilationResultActionsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getCompilationResultActionsCount() > 0) { + hash = (37 * hash) + COMPILATION_RESULT_ACTIONS_FIELD_NUMBER; + hash = (53 * hash) + getCompilationResultActionsList().hashCode(); + } + hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getNextPageToken().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * `QueryCompilationResultActions` response message.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse) + com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse.class, com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getCompilationResultActionsFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (compilationResultActionsBuilder_ == null) { + compilationResultActions_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + compilationResultActionsBuilder_.clear(); + } + nextPageToken_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse build() { + com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse buildPartial() { + com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse result = new com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse(this); + int from_bitField0_ = bitField0_; + if (compilationResultActionsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + compilationResultActions_ = java.util.Collections.unmodifiableList(compilationResultActions_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.compilationResultActions_ = compilationResultActions_; + } else { + result.compilationResultActions_ = compilationResultActionsBuilder_.build(); + } + result.nextPageToken_ = nextPageToken_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse) { + return mergeFrom((com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse other) { + if (other == com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse.getDefaultInstance()) return this; + if (compilationResultActionsBuilder_ == null) { + if (!other.compilationResultActions_.isEmpty()) { + if (compilationResultActions_.isEmpty()) { + compilationResultActions_ = other.compilationResultActions_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureCompilationResultActionsIsMutable(); + compilationResultActions_.addAll(other.compilationResultActions_); + } + onChanged(); + } + } else { + if (!other.compilationResultActions_.isEmpty()) { + if (compilationResultActionsBuilder_.isEmpty()) { + compilationResultActionsBuilder_.dispose(); + compilationResultActionsBuilder_ = null; + compilationResultActions_ = other.compilationResultActions_; + bitField0_ = (bitField0_ & ~0x00000001); + compilationResultActionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getCompilationResultActionsFieldBuilder() : null; + } else { + compilationResultActionsBuilder_.addAllMessages(other.compilationResultActions_); + } + } + } + if (!other.getNextPageToken().isEmpty()) { + nextPageToken_ = other.nextPageToken_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private java.util.List compilationResultActions_ = + java.util.Collections.emptyList(); + private void ensureCompilationResultActionsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + compilationResultActions_ = new java.util.ArrayList(compilationResultActions_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.CompilationResultAction, com.google.cloud.dataform.v1beta1.CompilationResultAction.Builder, com.google.cloud.dataform.v1beta1.CompilationResultActionOrBuilder> compilationResultActionsBuilder_; + + /** + *
+     * List of compilation result actions.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + */ + public java.util.List getCompilationResultActionsList() { + if (compilationResultActionsBuilder_ == null) { + return java.util.Collections.unmodifiableList(compilationResultActions_); + } else { + return compilationResultActionsBuilder_.getMessageList(); + } + } + /** + *
+     * List of compilation result actions.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + */ + public int getCompilationResultActionsCount() { + if (compilationResultActionsBuilder_ == null) { + return compilationResultActions_.size(); + } else { + return compilationResultActionsBuilder_.getCount(); + } + } + /** + *
+     * List of compilation result actions.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + */ + public com.google.cloud.dataform.v1beta1.CompilationResultAction getCompilationResultActions(int index) { + if (compilationResultActionsBuilder_ == null) { + return compilationResultActions_.get(index); + } else { + return compilationResultActionsBuilder_.getMessage(index); + } + } + /** + *
+     * List of compilation result actions.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + */ + public Builder setCompilationResultActions( + int index, com.google.cloud.dataform.v1beta1.CompilationResultAction value) { + if (compilationResultActionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureCompilationResultActionsIsMutable(); + compilationResultActions_.set(index, value); + onChanged(); + } else { + compilationResultActionsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+     * List of compilation result actions.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + */ + public Builder setCompilationResultActions( + int index, com.google.cloud.dataform.v1beta1.CompilationResultAction.Builder builderForValue) { + if (compilationResultActionsBuilder_ == null) { + ensureCompilationResultActionsIsMutable(); + compilationResultActions_.set(index, builderForValue.build()); + onChanged(); + } else { + compilationResultActionsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * List of compilation result actions.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + */ + public Builder addCompilationResultActions(com.google.cloud.dataform.v1beta1.CompilationResultAction value) { + if (compilationResultActionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureCompilationResultActionsIsMutable(); + compilationResultActions_.add(value); + onChanged(); + } else { + compilationResultActionsBuilder_.addMessage(value); + } + return this; + } + /** + *
+     * List of compilation result actions.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + */ + public Builder addCompilationResultActions( + int index, com.google.cloud.dataform.v1beta1.CompilationResultAction value) { + if (compilationResultActionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureCompilationResultActionsIsMutable(); + compilationResultActions_.add(index, value); + onChanged(); + } else { + compilationResultActionsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+     * List of compilation result actions.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + */ + public Builder addCompilationResultActions( + com.google.cloud.dataform.v1beta1.CompilationResultAction.Builder builderForValue) { + if (compilationResultActionsBuilder_ == null) { + ensureCompilationResultActionsIsMutable(); + compilationResultActions_.add(builderForValue.build()); + onChanged(); + } else { + compilationResultActionsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+     * List of compilation result actions.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + */ + public Builder addCompilationResultActions( + int index, com.google.cloud.dataform.v1beta1.CompilationResultAction.Builder builderForValue) { + if (compilationResultActionsBuilder_ == null) { + ensureCompilationResultActionsIsMutable(); + compilationResultActions_.add(index, builderForValue.build()); + onChanged(); + } else { + compilationResultActionsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * List of compilation result actions.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + */ + public Builder addAllCompilationResultActions( + java.lang.Iterable values) { + if (compilationResultActionsBuilder_ == null) { + ensureCompilationResultActionsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, compilationResultActions_); + onChanged(); + } else { + compilationResultActionsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+     * List of compilation result actions.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + */ + public Builder clearCompilationResultActions() { + if (compilationResultActionsBuilder_ == null) { + compilationResultActions_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + compilationResultActionsBuilder_.clear(); + } + return this; + } + /** + *
+     * List of compilation result actions.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + */ + public Builder removeCompilationResultActions(int index) { + if (compilationResultActionsBuilder_ == null) { + ensureCompilationResultActionsIsMutable(); + compilationResultActions_.remove(index); + onChanged(); + } else { + compilationResultActionsBuilder_.remove(index); + } + return this; + } + /** + *
+     * List of compilation result actions.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + */ + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Builder getCompilationResultActionsBuilder( + int index) { + return getCompilationResultActionsFieldBuilder().getBuilder(index); + } + /** + *
+     * List of compilation result actions.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + */ + public com.google.cloud.dataform.v1beta1.CompilationResultActionOrBuilder getCompilationResultActionsOrBuilder( + int index) { + if (compilationResultActionsBuilder_ == null) { + return compilationResultActions_.get(index); } else { + return compilationResultActionsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+     * List of compilation result actions.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + */ + public java.util.List + getCompilationResultActionsOrBuilderList() { + if (compilationResultActionsBuilder_ != null) { + return compilationResultActionsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(compilationResultActions_); + } + } + /** + *
+     * List of compilation result actions.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + */ + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Builder addCompilationResultActionsBuilder() { + return getCompilationResultActionsFieldBuilder().addBuilder( + com.google.cloud.dataform.v1beta1.CompilationResultAction.getDefaultInstance()); + } + /** + *
+     * List of compilation result actions.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + */ + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Builder addCompilationResultActionsBuilder( + int index) { + return getCompilationResultActionsFieldBuilder().addBuilder( + index, com.google.cloud.dataform.v1beta1.CompilationResultAction.getDefaultInstance()); + } + /** + *
+     * List of compilation result actions.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + */ + public java.util.List + getCompilationResultActionsBuilderList() { + return getCompilationResultActionsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.CompilationResultAction, com.google.cloud.dataform.v1beta1.CompilationResultAction.Builder, com.google.cloud.dataform.v1beta1.CompilationResultActionOrBuilder> + getCompilationResultActionsFieldBuilder() { + if (compilationResultActionsBuilder_ == null) { + compilationResultActionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.CompilationResultAction, com.google.cloud.dataform.v1beta1.CompilationResultAction.Builder, com.google.cloud.dataform.v1beta1.CompilationResultActionOrBuilder>( + compilationResultActions_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + compilationResultActions_ = null; + } + return compilationResultActionsBuilder_; + } + + private java.lang.Object nextPageToken_ = ""; + /** + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * @return The nextPageToken. + */ + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * @return The bytes for nextPageToken. + */ + public com.google.protobuf.ByteString + getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * @param value The nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + nextPageToken_ = value; + onChanged(); + return this; + } + /** + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * @return This builder for chaining. + */ + public Builder clearNextPageToken() { + + nextPageToken_ = getDefaultInstance().getNextPageToken(); + onChanged(); + return this; + } + /** + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * @param value The bytes for nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + nextPageToken_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse) + private static final com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse(); + } + + public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryCompilationResultActionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new QueryCompilationResultActionsResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryCompilationResultActionsResponseOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryCompilationResultActionsResponseOrBuilder.java new file mode 100644 index 0000000..8d51631 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryCompilationResultActionsResponseOrBuilder.java @@ -0,0 +1,75 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface QueryCompilationResultActionsResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * List of compilation result actions.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + */ + java.util.List + getCompilationResultActionsList(); + /** + *
+   * List of compilation result actions.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + */ + com.google.cloud.dataform.v1beta1.CompilationResultAction getCompilationResultActions(int index); + /** + *
+   * List of compilation result actions.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + */ + int getCompilationResultActionsCount(); + /** + *
+   * List of compilation result actions.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + */ + java.util.List + getCompilationResultActionsOrBuilderList(); + /** + *
+   * List of compilation result actions.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + */ + com.google.cloud.dataform.v1beta1.CompilationResultActionOrBuilder getCompilationResultActionsOrBuilder( + int index); + + /** + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * @return The nextPageToken. + */ + java.lang.String getNextPageToken(); + /** + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * @return The bytes for nextPageToken. + */ + com.google.protobuf.ByteString + getNextPageTokenBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryDirectoryContentsRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryDirectoryContentsRequest.java new file mode 100644 index 0000000..0dd89a0 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryDirectoryContentsRequest.java @@ -0,0 +1,1050 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * `QueryDirectoryContents` request message.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest} + */ +public final class QueryDirectoryContentsRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest) + QueryDirectoryContentsRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use QueryDirectoryContentsRequest.newBuilder() to construct. + private QueryDirectoryContentsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private QueryDirectoryContentsRequest() { + workspace_ = ""; + path_ = ""; + pageToken_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new QueryDirectoryContentsRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private QueryDirectoryContentsRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + workspace_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + path_ = s; + break; + } + case 24: { + + pageSize_ = input.readInt32(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest.class, com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest.Builder.class); + } + + public static final int WORKSPACE_FIELD_NUMBER = 1; + private volatile java.lang.Object workspace_; + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The workspace. + */ + @java.lang.Override + public java.lang.String getWorkspace() { + java.lang.Object ref = workspace_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + workspace_ = s; + return s; + } + } + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for workspace. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getWorkspaceBytes() { + java.lang.Object ref = workspace_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + workspace_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PATH_FIELD_NUMBER = 2; + private volatile java.lang.Object path_; + /** + *
+   * Optional. The directory's full path including directory name, relative to the
+   * workspace root. If left unset, the workspace root is used.
+   * 
+ * + * string path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The path. + */ + @java.lang.Override + public java.lang.String getPath() { + java.lang.Object ref = path_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + path_ = s; + return s; + } + } + /** + *
+   * Optional. The directory's full path including directory name, relative to the
+   * workspace root. If left unset, the workspace root is used.
+   * 
+ * + * string path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for path. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPathBytes() { + java.lang.Object ref = path_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + path_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PAGE_SIZE_FIELD_NUMBER = 3; + private int pageSize_; + /** + *
+   * Optional. Maximum number of paths to return. The server may return fewer
+   * items than requested. If unspecified, the server will pick an appropriate
+   * default.
+   * 
+ * + * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + + public static final int PAGE_TOKEN_FIELD_NUMBER = 4; + private volatile java.lang.Object pageToken_; + /** + *
+   * Optional. Page token received from a previous `QueryDirectoryContents` call.
+   * Provide this to retrieve the subsequent page.
+   * When paginating, all other parameters provided to
+   * `QueryDirectoryContents` must match the call that provided the page
+   * token.
+   * 
+ * + * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return The pageToken. + */ + @java.lang.Override + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } + } + /** + *
+   * Optional. Page token received from a previous `QueryDirectoryContents` call.
+   * Provide this to retrieve the subsequent page.
+   * When paginating, all other parameters provided to
+   * `QueryDirectoryContents` must match the call that provided the page
+   * token.
+   * 
+ * + * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for pageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workspace_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, path_); + } + if (pageSize_ != 0) { + output.writeInt32(3, pageSize_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, pageToken_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, workspace_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, path_); + } + if (pageSize_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest other = (com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest) obj; + + if (!getWorkspace() + .equals(other.getWorkspace())) return false; + if (!getPath() + .equals(other.getPath())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + WORKSPACE_FIELD_NUMBER; + hash = (53 * hash) + getWorkspace().hashCode(); + hash = (37 * hash) + PATH_FIELD_NUMBER; + hash = (53 * hash) + getPath().hashCode(); + hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; + hash = (53 * hash) + getPageSize(); + hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getPageToken().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * `QueryDirectoryContents` request message.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest) + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest.class, com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + workspace_ = ""; + + path_ = ""; + + pageSize_ = 0; + + pageToken_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest build() { + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest buildPartial() { + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest result = new com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest(this); + result.workspace_ = workspace_; + result.path_ = path_; + result.pageSize_ = pageSize_; + result.pageToken_ = pageToken_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest) { + return mergeFrom((com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest other) { + if (other == com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest.getDefaultInstance()) return this; + if (!other.getWorkspace().isEmpty()) { + workspace_ = other.workspace_; + onChanged(); + } + if (!other.getPath().isEmpty()) { + path_ = other.path_; + onChanged(); + } + if (other.getPageSize() != 0) { + setPageSize(other.getPageSize()); + } + if (!other.getPageToken().isEmpty()) { + pageToken_ = other.pageToken_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object workspace_ = ""; + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The workspace. + */ + public java.lang.String getWorkspace() { + java.lang.Object ref = workspace_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + workspace_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for workspace. + */ + public com.google.protobuf.ByteString + getWorkspaceBytes() { + java.lang.Object ref = workspace_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + workspace_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The workspace to set. + * @return This builder for chaining. + */ + public Builder setWorkspace( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + workspace_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearWorkspace() { + + workspace_ = getDefaultInstance().getWorkspace(); + onChanged(); + return this; + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The bytes for workspace to set. + * @return This builder for chaining. + */ + public Builder setWorkspaceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + workspace_ = value; + onChanged(); + return this; + } + + private java.lang.Object path_ = ""; + /** + *
+     * Optional. The directory's full path including directory name, relative to the
+     * workspace root. If left unset, the workspace root is used.
+     * 
+ * + * string path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The path. + */ + public java.lang.String getPath() { + java.lang.Object ref = path_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + path_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Optional. The directory's full path including directory name, relative to the
+     * workspace root. If left unset, the workspace root is used.
+     * 
+ * + * string path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for path. + */ + public com.google.protobuf.ByteString + getPathBytes() { + java.lang.Object ref = path_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + path_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Optional. The directory's full path including directory name, relative to the
+     * workspace root. If left unset, the workspace root is used.
+     * 
+ * + * string path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The path to set. + * @return This builder for chaining. + */ + public Builder setPath( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + path_ = value; + onChanged(); + return this; + } + /** + *
+     * Optional. The directory's full path including directory name, relative to the
+     * workspace root. If left unset, the workspace root is used.
+     * 
+ * + * string path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearPath() { + + path_ = getDefaultInstance().getPath(); + onChanged(); + return this; + } + /** + *
+     * Optional. The directory's full path including directory name, relative to the
+     * workspace root. If left unset, the workspace root is used.
+     * 
+ * + * string path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The bytes for path to set. + * @return This builder for chaining. + */ + public Builder setPathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + path_ = value; + onChanged(); + return this; + } + + private int pageSize_ ; + /** + *
+     * Optional. Maximum number of paths to return. The server may return fewer
+     * items than requested. If unspecified, the server will pick an appropriate
+     * default.
+     * 
+ * + * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + /** + *
+     * Optional. Maximum number of paths to return. The server may return fewer
+     * items than requested. If unspecified, the server will pick an appropriate
+     * default.
+     * 
+ * + * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The pageSize to set. + * @return This builder for chaining. + */ + public Builder setPageSize(int value) { + + pageSize_ = value; + onChanged(); + return this; + } + /** + *
+     * Optional. Maximum number of paths to return. The server may return fewer
+     * items than requested. If unspecified, the server will pick an appropriate
+     * default.
+     * 
+ * + * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearPageSize() { + + pageSize_ = 0; + onChanged(); + return this; + } + + private java.lang.Object pageToken_ = ""; + /** + *
+     * Optional. Page token received from a previous `QueryDirectoryContents` call.
+     * Provide this to retrieve the subsequent page.
+     * When paginating, all other parameters provided to
+     * `QueryDirectoryContents` must match the call that provided the page
+     * token.
+     * 
+ * + * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return The pageToken. + */ + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Optional. Page token received from a previous `QueryDirectoryContents` call.
+     * Provide this to retrieve the subsequent page.
+     * When paginating, all other parameters provided to
+     * `QueryDirectoryContents` must match the call that provided the page
+     * token.
+     * 
+ * + * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for pageToken. + */ + public com.google.protobuf.ByteString + getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Optional. Page token received from a previous `QueryDirectoryContents` call.
+     * Provide this to retrieve the subsequent page.
+     * When paginating, all other parameters provided to
+     * `QueryDirectoryContents` must match the call that provided the page
+     * token.
+     * 
+ * + * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageToken( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + pageToken_ = value; + onChanged(); + return this; + } + /** + *
+     * Optional. Page token received from a previous `QueryDirectoryContents` call.
+     * Provide this to retrieve the subsequent page.
+     * When paginating, all other parameters provided to
+     * `QueryDirectoryContents` must match the call that provided the page
+     * token.
+     * 
+ * + * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearPageToken() { + + pageToken_ = getDefaultInstance().getPageToken(); + onChanged(); + return this; + } + /** + *
+     * Optional. Page token received from a previous `QueryDirectoryContents` call.
+     * Provide this to retrieve the subsequent page.
+     * When paginating, all other parameters provided to
+     * `QueryDirectoryContents` must match the call that provided the page
+     * token.
+     * 
+ * + * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The bytes for pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + pageToken_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest) + private static final com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest(); + } + + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryDirectoryContentsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new QueryDirectoryContentsRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryDirectoryContentsRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryDirectoryContentsRequestOrBuilder.java new file mode 100644 index 0000000..c515070 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryDirectoryContentsRequestOrBuilder.java @@ -0,0 +1,91 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface QueryDirectoryContentsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The workspace. + */ + java.lang.String getWorkspace(); + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for workspace. + */ + com.google.protobuf.ByteString + getWorkspaceBytes(); + + /** + *
+   * Optional. The directory's full path including directory name, relative to the
+   * workspace root. If left unset, the workspace root is used.
+   * 
+ * + * string path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The path. + */ + java.lang.String getPath(); + /** + *
+   * Optional. The directory's full path including directory name, relative to the
+   * workspace root. If left unset, the workspace root is used.
+   * 
+ * + * string path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for path. + */ + com.google.protobuf.ByteString + getPathBytes(); + + /** + *
+   * Optional. Maximum number of paths to return. The server may return fewer
+   * items than requested. If unspecified, the server will pick an appropriate
+   * default.
+   * 
+ * + * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The pageSize. + */ + int getPageSize(); + + /** + *
+   * Optional. Page token received from a previous `QueryDirectoryContents` call.
+   * Provide this to retrieve the subsequent page.
+   * When paginating, all other parameters provided to
+   * `QueryDirectoryContents` must match the call that provided the page
+   * token.
+   * 
+ * + * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return The pageToken. + */ + java.lang.String getPageToken(); + /** + *
+   * Optional. Page token received from a previous `QueryDirectoryContents` call.
+   * Provide this to retrieve the subsequent page.
+   * When paginating, all other parameters provided to
+   * `QueryDirectoryContents` must match the call that provided the page
+   * token.
+   * 
+ * + * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for pageToken. + */ + com.google.protobuf.ByteString + getPageTokenBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryDirectoryContentsResponse.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryDirectoryContentsResponse.java new file mode 100644 index 0000000..9a759bb --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryDirectoryContentsResponse.java @@ -0,0 +1,2034 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * `QueryDirectoryContents` response message.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse} + */ +public final class QueryDirectoryContentsResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse) + QueryDirectoryContentsResponseOrBuilder { +private static final long serialVersionUID = 0L; + // Use QueryDirectoryContentsResponse.newBuilder() to construct. + private QueryDirectoryContentsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private QueryDirectoryContentsResponse() { + directoryEntries_ = java.util.Collections.emptyList(); + nextPageToken_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new QueryDirectoryContentsResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private QueryDirectoryContentsResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + directoryEntries_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + directoryEntries_.add( + input.readMessage(com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + directoryEntries_ = java.util.Collections.unmodifiableList(directoryEntries_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.class, com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.Builder.class); + } + + public interface DirectoryEntryOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * A file in the directory.
+     * 
+ * + * string file = 1; + * @return Whether the file field is set. + */ + boolean hasFile(); + /** + *
+     * A file in the directory.
+     * 
+ * + * string file = 1; + * @return The file. + */ + java.lang.String getFile(); + /** + *
+     * A file in the directory.
+     * 
+ * + * string file = 1; + * @return The bytes for file. + */ + com.google.protobuf.ByteString + getFileBytes(); + + /** + *
+     * A child directory in the directory.
+     * 
+ * + * string directory = 2; + * @return Whether the directory field is set. + */ + boolean hasDirectory(); + /** + *
+     * A child directory in the directory.
+     * 
+ * + * string directory = 2; + * @return The directory. + */ + java.lang.String getDirectory(); + /** + *
+     * A child directory in the directory.
+     * 
+ * + * string directory = 2; + * @return The bytes for directory. + */ + com.google.protobuf.ByteString + getDirectoryBytes(); + + public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry.EntryCase getEntryCase(); + } + /** + *
+   * Represents a single entry in a workspace directory.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry} + */ + public static final class DirectoryEntry extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry) + DirectoryEntryOrBuilder { + private static final long serialVersionUID = 0L; + // Use DirectoryEntry.newBuilder() to construct. + private DirectoryEntry(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private DirectoryEntry() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new DirectoryEntry(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DirectoryEntry( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + entryCase_ = 1; + entry_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + entryCase_ = 2; + entry_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_DirectoryEntry_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_DirectoryEntry_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry.class, com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry.Builder.class); + } + + private int entryCase_ = 0; + private java.lang.Object entry_; + public enum EntryCase + implements com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + FILE(1), + DIRECTORY(2), + ENTRY_NOT_SET(0); + private final int value; + private EntryCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static EntryCase valueOf(int value) { + return forNumber(value); + } + + public static EntryCase forNumber(int value) { + switch (value) { + case 1: return FILE; + case 2: return DIRECTORY; + case 0: return ENTRY_NOT_SET; + default: return null; + } + } + public int getNumber() { + return this.value; + } + }; + + public EntryCase + getEntryCase() { + return EntryCase.forNumber( + entryCase_); + } + + public static final int FILE_FIELD_NUMBER = 1; + /** + *
+     * A file in the directory.
+     * 
+ * + * string file = 1; + * @return Whether the file field is set. + */ + public boolean hasFile() { + return entryCase_ == 1; + } + /** + *
+     * A file in the directory.
+     * 
+ * + * string file = 1; + * @return The file. + */ + public java.lang.String getFile() { + java.lang.Object ref = ""; + if (entryCase_ == 1) { + ref = entry_; + } + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (entryCase_ == 1) { + entry_ = s; + } + return s; + } + } + /** + *
+     * A file in the directory.
+     * 
+ * + * string file = 1; + * @return The bytes for file. + */ + public com.google.protobuf.ByteString + getFileBytes() { + java.lang.Object ref = ""; + if (entryCase_ == 1) { + ref = entry_; + } + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + if (entryCase_ == 1) { + entry_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DIRECTORY_FIELD_NUMBER = 2; + /** + *
+     * A child directory in the directory.
+     * 
+ * + * string directory = 2; + * @return Whether the directory field is set. + */ + public boolean hasDirectory() { + return entryCase_ == 2; + } + /** + *
+     * A child directory in the directory.
+     * 
+ * + * string directory = 2; + * @return The directory. + */ + public java.lang.String getDirectory() { + java.lang.Object ref = ""; + if (entryCase_ == 2) { + ref = entry_; + } + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (entryCase_ == 2) { + entry_ = s; + } + return s; + } + } + /** + *
+     * A child directory in the directory.
+     * 
+ * + * string directory = 2; + * @return The bytes for directory. + */ + public com.google.protobuf.ByteString + getDirectoryBytes() { + java.lang.Object ref = ""; + if (entryCase_ == 2) { + ref = entry_; + } + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + if (entryCase_ == 2) { + entry_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (entryCase_ == 1) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, entry_); + } + if (entryCase_ == 2) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, entry_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (entryCase_ == 1) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, entry_); + } + if (entryCase_ == 2) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, entry_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry other = (com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry) obj; + + if (!getEntryCase().equals(other.getEntryCase())) return false; + switch (entryCase_) { + case 1: + if (!getFile() + .equals(other.getFile())) return false; + break; + case 2: + if (!getDirectory() + .equals(other.getDirectory())) return false; + break; + case 0: + default: + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + switch (entryCase_) { + case 1: + hash = (37 * hash) + FILE_FIELD_NUMBER; + hash = (53 * hash) + getFile().hashCode(); + break; + case 2: + hash = (37 * hash) + DIRECTORY_FIELD_NUMBER; + hash = (53 * hash) + getDirectory().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Represents a single entry in a workspace directory.
+     * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry) + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntryOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_DirectoryEntry_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_DirectoryEntry_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry.class, com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + entryCase_ = 0; + entry_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_DirectoryEntry_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry build() { + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry buildPartial() { + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry result = new com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry(this); + if (entryCase_ == 1) { + result.entry_ = entry_; + } + if (entryCase_ == 2) { + result.entry_ = entry_; + } + result.entryCase_ = entryCase_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry) { + return mergeFrom((com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry other) { + if (other == com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry.getDefaultInstance()) return this; + switch (other.getEntryCase()) { + case FILE: { + entryCase_ = 1; + entry_ = other.entry_; + onChanged(); + break; + } + case DIRECTORY: { + entryCase_ = 2; + entry_ = other.entry_; + onChanged(); + break; + } + case ENTRY_NOT_SET: { + break; + } + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int entryCase_ = 0; + private java.lang.Object entry_; + public EntryCase + getEntryCase() { + return EntryCase.forNumber( + entryCase_); + } + + public Builder clearEntry() { + entryCase_ = 0; + entry_ = null; + onChanged(); + return this; + } + + + /** + *
+       * A file in the directory.
+       * 
+ * + * string file = 1; + * @return Whether the file field is set. + */ + @java.lang.Override + public boolean hasFile() { + return entryCase_ == 1; + } + /** + *
+       * A file in the directory.
+       * 
+ * + * string file = 1; + * @return The file. + */ + @java.lang.Override + public java.lang.String getFile() { + java.lang.Object ref = ""; + if (entryCase_ == 1) { + ref = entry_; + } + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (entryCase_ == 1) { + entry_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * A file in the directory.
+       * 
+ * + * string file = 1; + * @return The bytes for file. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getFileBytes() { + java.lang.Object ref = ""; + if (entryCase_ == 1) { + ref = entry_; + } + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + if (entryCase_ == 1) { + entry_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * A file in the directory.
+       * 
+ * + * string file = 1; + * @param value The file to set. + * @return This builder for chaining. + */ + public Builder setFile( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + entryCase_ = 1; + entry_ = value; + onChanged(); + return this; + } + /** + *
+       * A file in the directory.
+       * 
+ * + * string file = 1; + * @return This builder for chaining. + */ + public Builder clearFile() { + if (entryCase_ == 1) { + entryCase_ = 0; + entry_ = null; + onChanged(); + } + return this; + } + /** + *
+       * A file in the directory.
+       * 
+ * + * string file = 1; + * @param value The bytes for file to set. + * @return This builder for chaining. + */ + public Builder setFileBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + entryCase_ = 1; + entry_ = value; + onChanged(); + return this; + } + + /** + *
+       * A child directory in the directory.
+       * 
+ * + * string directory = 2; + * @return Whether the directory field is set. + */ + @java.lang.Override + public boolean hasDirectory() { + return entryCase_ == 2; + } + /** + *
+       * A child directory in the directory.
+       * 
+ * + * string directory = 2; + * @return The directory. + */ + @java.lang.Override + public java.lang.String getDirectory() { + java.lang.Object ref = ""; + if (entryCase_ == 2) { + ref = entry_; + } + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (entryCase_ == 2) { + entry_ = s; + } + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * A child directory in the directory.
+       * 
+ * + * string directory = 2; + * @return The bytes for directory. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDirectoryBytes() { + java.lang.Object ref = ""; + if (entryCase_ == 2) { + ref = entry_; + } + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + if (entryCase_ == 2) { + entry_ = b; + } + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * A child directory in the directory.
+       * 
+ * + * string directory = 2; + * @param value The directory to set. + * @return This builder for chaining. + */ + public Builder setDirectory( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + entryCase_ = 2; + entry_ = value; + onChanged(); + return this; + } + /** + *
+       * A child directory in the directory.
+       * 
+ * + * string directory = 2; + * @return This builder for chaining. + */ + public Builder clearDirectory() { + if (entryCase_ == 2) { + entryCase_ = 0; + entry_ = null; + onChanged(); + } + return this; + } + /** + *
+       * A child directory in the directory.
+       * 
+ * + * string directory = 2; + * @param value The bytes for directory to set. + * @return This builder for chaining. + */ + public Builder setDirectoryBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + entryCase_ = 2; + entry_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry) + private static final com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry(); + } + + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DirectoryEntry parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DirectoryEntry(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public static final int DIRECTORY_ENTRIES_FIELD_NUMBER = 1; + private java.util.List directoryEntries_; + /** + *
+   * List of entries in the directory.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + */ + @java.lang.Override + public java.util.List getDirectoryEntriesList() { + return directoryEntries_; + } + /** + *
+   * List of entries in the directory.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + */ + @java.lang.Override + public java.util.List + getDirectoryEntriesOrBuilderList() { + return directoryEntries_; + } + /** + *
+   * List of entries in the directory.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + */ + @java.lang.Override + public int getDirectoryEntriesCount() { + return directoryEntries_.size(); + } + /** + *
+   * List of entries in the directory.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry getDirectoryEntries(int index) { + return directoryEntries_.get(index); + } + /** + *
+   * List of entries in the directory.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntryOrBuilder getDirectoryEntriesOrBuilder( + int index) { + return directoryEntries_.get(index); + } + + public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + private volatile java.lang.Object nextPageToken_; + /** + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * @return The nextPageToken. + */ + @java.lang.Override + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } + } + /** + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * @return The bytes for nextPageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < directoryEntries_.size(); i++) { + output.writeMessage(1, directoryEntries_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < directoryEntries_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, directoryEntries_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse other = (com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse) obj; + + if (!getDirectoryEntriesList() + .equals(other.getDirectoryEntriesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getDirectoryEntriesCount() > 0) { + hash = (37 * hash) + DIRECTORY_ENTRIES_FIELD_NUMBER; + hash = (53 * hash) + getDirectoryEntriesList().hashCode(); + } + hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getNextPageToken().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * `QueryDirectoryContents` response message.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse) + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.class, com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getDirectoryEntriesFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (directoryEntriesBuilder_ == null) { + directoryEntries_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + directoryEntriesBuilder_.clear(); + } + nextPageToken_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse build() { + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse buildPartial() { + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse result = new com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse(this); + int from_bitField0_ = bitField0_; + if (directoryEntriesBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + directoryEntries_ = java.util.Collections.unmodifiableList(directoryEntries_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.directoryEntries_ = directoryEntries_; + } else { + result.directoryEntries_ = directoryEntriesBuilder_.build(); + } + result.nextPageToken_ = nextPageToken_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse) { + return mergeFrom((com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse other) { + if (other == com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.getDefaultInstance()) return this; + if (directoryEntriesBuilder_ == null) { + if (!other.directoryEntries_.isEmpty()) { + if (directoryEntries_.isEmpty()) { + directoryEntries_ = other.directoryEntries_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureDirectoryEntriesIsMutable(); + directoryEntries_.addAll(other.directoryEntries_); + } + onChanged(); + } + } else { + if (!other.directoryEntries_.isEmpty()) { + if (directoryEntriesBuilder_.isEmpty()) { + directoryEntriesBuilder_.dispose(); + directoryEntriesBuilder_ = null; + directoryEntries_ = other.directoryEntries_; + bitField0_ = (bitField0_ & ~0x00000001); + directoryEntriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDirectoryEntriesFieldBuilder() : null; + } else { + directoryEntriesBuilder_.addAllMessages(other.directoryEntries_); + } + } + } + if (!other.getNextPageToken().isEmpty()) { + nextPageToken_ = other.nextPageToken_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private java.util.List directoryEntries_ = + java.util.Collections.emptyList(); + private void ensureDirectoryEntriesIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + directoryEntries_ = new java.util.ArrayList(directoryEntries_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry, com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry.Builder, com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntryOrBuilder> directoryEntriesBuilder_; + + /** + *
+     * List of entries in the directory.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + */ + public java.util.List getDirectoryEntriesList() { + if (directoryEntriesBuilder_ == null) { + return java.util.Collections.unmodifiableList(directoryEntries_); + } else { + return directoryEntriesBuilder_.getMessageList(); + } + } + /** + *
+     * List of entries in the directory.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + */ + public int getDirectoryEntriesCount() { + if (directoryEntriesBuilder_ == null) { + return directoryEntries_.size(); + } else { + return directoryEntriesBuilder_.getCount(); + } + } + /** + *
+     * List of entries in the directory.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + */ + public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry getDirectoryEntries(int index) { + if (directoryEntriesBuilder_ == null) { + return directoryEntries_.get(index); + } else { + return directoryEntriesBuilder_.getMessage(index); + } + } + /** + *
+     * List of entries in the directory.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + */ + public Builder setDirectoryEntries( + int index, com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry value) { + if (directoryEntriesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDirectoryEntriesIsMutable(); + directoryEntries_.set(index, value); + onChanged(); + } else { + directoryEntriesBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+     * List of entries in the directory.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + */ + public Builder setDirectoryEntries( + int index, com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry.Builder builderForValue) { + if (directoryEntriesBuilder_ == null) { + ensureDirectoryEntriesIsMutable(); + directoryEntries_.set(index, builderForValue.build()); + onChanged(); + } else { + directoryEntriesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * List of entries in the directory.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + */ + public Builder addDirectoryEntries(com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry value) { + if (directoryEntriesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDirectoryEntriesIsMutable(); + directoryEntries_.add(value); + onChanged(); + } else { + directoryEntriesBuilder_.addMessage(value); + } + return this; + } + /** + *
+     * List of entries in the directory.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + */ + public Builder addDirectoryEntries( + int index, com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry value) { + if (directoryEntriesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureDirectoryEntriesIsMutable(); + directoryEntries_.add(index, value); + onChanged(); + } else { + directoryEntriesBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+     * List of entries in the directory.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + */ + public Builder addDirectoryEntries( + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry.Builder builderForValue) { + if (directoryEntriesBuilder_ == null) { + ensureDirectoryEntriesIsMutable(); + directoryEntries_.add(builderForValue.build()); + onChanged(); + } else { + directoryEntriesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+     * List of entries in the directory.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + */ + public Builder addDirectoryEntries( + int index, com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry.Builder builderForValue) { + if (directoryEntriesBuilder_ == null) { + ensureDirectoryEntriesIsMutable(); + directoryEntries_.add(index, builderForValue.build()); + onChanged(); + } else { + directoryEntriesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * List of entries in the directory.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + */ + public Builder addAllDirectoryEntries( + java.lang.Iterable values) { + if (directoryEntriesBuilder_ == null) { + ensureDirectoryEntriesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, directoryEntries_); + onChanged(); + } else { + directoryEntriesBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+     * List of entries in the directory.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + */ + public Builder clearDirectoryEntries() { + if (directoryEntriesBuilder_ == null) { + directoryEntries_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + directoryEntriesBuilder_.clear(); + } + return this; + } + /** + *
+     * List of entries in the directory.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + */ + public Builder removeDirectoryEntries(int index) { + if (directoryEntriesBuilder_ == null) { + ensureDirectoryEntriesIsMutable(); + directoryEntries_.remove(index); + onChanged(); + } else { + directoryEntriesBuilder_.remove(index); + } + return this; + } + /** + *
+     * List of entries in the directory.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + */ + public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry.Builder getDirectoryEntriesBuilder( + int index) { + return getDirectoryEntriesFieldBuilder().getBuilder(index); + } + /** + *
+     * List of entries in the directory.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + */ + public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntryOrBuilder getDirectoryEntriesOrBuilder( + int index) { + if (directoryEntriesBuilder_ == null) { + return directoryEntries_.get(index); } else { + return directoryEntriesBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+     * List of entries in the directory.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + */ + public java.util.List + getDirectoryEntriesOrBuilderList() { + if (directoryEntriesBuilder_ != null) { + return directoryEntriesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(directoryEntries_); + } + } + /** + *
+     * List of entries in the directory.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + */ + public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry.Builder addDirectoryEntriesBuilder() { + return getDirectoryEntriesFieldBuilder().addBuilder( + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry.getDefaultInstance()); + } + /** + *
+     * List of entries in the directory.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + */ + public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry.Builder addDirectoryEntriesBuilder( + int index) { + return getDirectoryEntriesFieldBuilder().addBuilder( + index, com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry.getDefaultInstance()); + } + /** + *
+     * List of entries in the directory.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + */ + public java.util.List + getDirectoryEntriesBuilderList() { + return getDirectoryEntriesFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry, com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry.Builder, com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntryOrBuilder> + getDirectoryEntriesFieldBuilder() { + if (directoryEntriesBuilder_ == null) { + directoryEntriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry, com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry.Builder, com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntryOrBuilder>( + directoryEntries_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + directoryEntries_ = null; + } + return directoryEntriesBuilder_; + } + + private java.lang.Object nextPageToken_ = ""; + /** + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * @return The nextPageToken. + */ + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * @return The bytes for nextPageToken. + */ + public com.google.protobuf.ByteString + getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * @param value The nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + nextPageToken_ = value; + onChanged(); + return this; + } + /** + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * @return This builder for chaining. + */ + public Builder clearNextPageToken() { + + nextPageToken_ = getDefaultInstance().getNextPageToken(); + onChanged(); + return this; + } + /** + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * @param value The bytes for nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + nextPageToken_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse) + private static final com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse(); + } + + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryDirectoryContentsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new QueryDirectoryContentsResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryDirectoryContentsResponseOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryDirectoryContentsResponseOrBuilder.java new file mode 100644 index 0000000..ccb013a --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryDirectoryContentsResponseOrBuilder.java @@ -0,0 +1,75 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface QueryDirectoryContentsResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * List of entries in the directory.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + */ + java.util.List + getDirectoryEntriesList(); + /** + *
+   * List of entries in the directory.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + */ + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry getDirectoryEntries(int index); + /** + *
+   * List of entries in the directory.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + */ + int getDirectoryEntriesCount(); + /** + *
+   * List of entries in the directory.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + */ + java.util.List + getDirectoryEntriesOrBuilderList(); + /** + *
+   * List of entries in the directory.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + */ + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntryOrBuilder getDirectoryEntriesOrBuilder( + int index); + + /** + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * @return The nextPageToken. + */ + java.lang.String getNextPageToken(); + /** + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * @return The bytes for nextPageToken. + */ + com.google.protobuf.ByteString + getNextPageTokenBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryWorkflowInvocationActionsRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryWorkflowInvocationActionsRequest.java new file mode 100644 index 0000000..37933b2 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryWorkflowInvocationActionsRequest.java @@ -0,0 +1,877 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * `QueryWorkflowInvocationActions` request message.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest} + */ +public final class QueryWorkflowInvocationActionsRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest) + QueryWorkflowInvocationActionsRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use QueryWorkflowInvocationActionsRequest.newBuilder() to construct. + private QueryWorkflowInvocationActionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private QueryWorkflowInvocationActionsRequest() { + name_ = ""; + pageToken_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new QueryWorkflowInvocationActionsRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private QueryWorkflowInvocationActionsRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + case 16: { + + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest.class, com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + *
+   * Required. The workflow invocation's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + *
+   * Required. The workflow invocation's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PAGE_SIZE_FIELD_NUMBER = 2; + private int pageSize_; + /** + *
+   * Optional. Maximum number of workflow invocations to return. The server may return
+   * fewer items than requested. If unspecified, the server will pick an
+   * appropriate default.
+   * 
+ * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + + public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + private volatile java.lang.Object pageToken_; + /** + *
+   * Optional. Page token received from a previous `QueryWorkflowInvocationActions` call.
+   * Provide this to retrieve the subsequent page.
+   * When paginating, all other parameters provided to
+   * `QueryWorkflowInvocationActions` must match the call that provided the page
+   * token.
+   * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The pageToken. + */ + @java.lang.Override + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } + } + /** + *
+   * Optional. Page token received from a previous `QueryWorkflowInvocationActions` call.
+   * Provide this to retrieve the subsequent page.
+   * When paginating, all other parameters provided to
+   * `QueryWorkflowInvocationActions` must match the call that provided the page
+   * token.
+   * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for pageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (pageSize_ != 0) { + output.writeInt32(2, pageSize_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (pageSize_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest other = (com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest) obj; + + if (!getName() + .equals(other.getName())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; + hash = (53 * hash) + getPageSize(); + hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getPageToken().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * `QueryWorkflowInvocationActions` request message.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest) + com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest.class, com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + + pageSize_ = 0; + + pageToken_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest build() { + com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest buildPartial() { + com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest result = new com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest(this); + result.name_ = name_; + result.pageSize_ = pageSize_; + result.pageToken_ = pageToken_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest) { + return mergeFrom((com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest other) { + if (other == com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + if (other.getPageSize() != 0) { + setPageSize(other.getPageSize()); + } + if (!other.getPageToken().isEmpty()) { + pageToken_ = other.pageToken_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object name_ = ""; + /** + *
+     * Required. The workflow invocation's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The workflow invocation's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The workflow invocation's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. The workflow invocation's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + *
+     * Required. The workflow invocation's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + + private int pageSize_ ; + /** + *
+     * Optional. Maximum number of workflow invocations to return. The server may return
+     * fewer items than requested. If unspecified, the server will pick an
+     * appropriate default.
+     * 
+ * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + /** + *
+     * Optional. Maximum number of workflow invocations to return. The server may return
+     * fewer items than requested. If unspecified, the server will pick an
+     * appropriate default.
+     * 
+ * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The pageSize to set. + * @return This builder for chaining. + */ + public Builder setPageSize(int value) { + + pageSize_ = value; + onChanged(); + return this; + } + /** + *
+     * Optional. Maximum number of workflow invocations to return. The server may return
+     * fewer items than requested. If unspecified, the server will pick an
+     * appropriate default.
+     * 
+ * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearPageSize() { + + pageSize_ = 0; + onChanged(); + return this; + } + + private java.lang.Object pageToken_ = ""; + /** + *
+     * Optional. Page token received from a previous `QueryWorkflowInvocationActions` call.
+     * Provide this to retrieve the subsequent page.
+     * When paginating, all other parameters provided to
+     * `QueryWorkflowInvocationActions` must match the call that provided the page
+     * token.
+     * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The pageToken. + */ + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Optional. Page token received from a previous `QueryWorkflowInvocationActions` call.
+     * Provide this to retrieve the subsequent page.
+     * When paginating, all other parameters provided to
+     * `QueryWorkflowInvocationActions` must match the call that provided the page
+     * token.
+     * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for pageToken. + */ + public com.google.protobuf.ByteString + getPageTokenBytes() { + java.lang.Object ref = pageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Optional. Page token received from a previous `QueryWorkflowInvocationActions` call.
+     * Provide this to retrieve the subsequent page.
+     * When paginating, all other parameters provided to
+     * `QueryWorkflowInvocationActions` must match the call that provided the page
+     * token.
+     * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageToken( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + pageToken_ = value; + onChanged(); + return this; + } + /** + *
+     * Optional. Page token received from a previous `QueryWorkflowInvocationActions` call.
+     * Provide this to retrieve the subsequent page.
+     * When paginating, all other parameters provided to
+     * `QueryWorkflowInvocationActions` must match the call that provided the page
+     * token.
+     * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearPageToken() { + + pageToken_ = getDefaultInstance().getPageToken(); + onChanged(); + return this; + } + /** + *
+     * Optional. Page token received from a previous `QueryWorkflowInvocationActions` call.
+     * Provide this to retrieve the subsequent page.
+     * When paginating, all other parameters provided to
+     * `QueryWorkflowInvocationActions` must match the call that provided the page
+     * token.
+     * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The bytes for pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + pageToken_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest) + private static final com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest(); + } + + public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryWorkflowInvocationActionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new QueryWorkflowInvocationActionsRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryWorkflowInvocationActionsRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryWorkflowInvocationActionsRequestOrBuilder.java new file mode 100644 index 0000000..c57c343 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryWorkflowInvocationActionsRequestOrBuilder.java @@ -0,0 +1,69 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface QueryWorkflowInvocationActionsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The workflow invocation's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The workflow invocation's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + *
+   * Optional. Maximum number of workflow invocations to return. The server may return
+   * fewer items than requested. If unspecified, the server will pick an
+   * appropriate default.
+   * 
+ * + * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The pageSize. + */ + int getPageSize(); + + /** + *
+   * Optional. Page token received from a previous `QueryWorkflowInvocationActions` call.
+   * Provide this to retrieve the subsequent page.
+   * When paginating, all other parameters provided to
+   * `QueryWorkflowInvocationActions` must match the call that provided the page
+   * token.
+   * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The pageToken. + */ + java.lang.String getPageToken(); + /** + *
+   * Optional. Page token received from a previous `QueryWorkflowInvocationActions` call.
+   * Provide this to retrieve the subsequent page.
+   * When paginating, all other parameters provided to
+   * `QueryWorkflowInvocationActions` must match the call that provided the page
+   * token.
+   * 
+ * + * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for pageToken. + */ + com.google.protobuf.ByteString + getPageTokenBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryWorkflowInvocationActionsResponse.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryWorkflowInvocationActionsResponse.java new file mode 100644 index 0000000..f40f0aa --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryWorkflowInvocationActionsResponse.java @@ -0,0 +1,1045 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * `QueryWorkflowInvocationActions` response message.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse} + */ +public final class QueryWorkflowInvocationActionsResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse) + QueryWorkflowInvocationActionsResponseOrBuilder { +private static final long serialVersionUID = 0L; + // Use QueryWorkflowInvocationActionsResponse.newBuilder() to construct. + private QueryWorkflowInvocationActionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private QueryWorkflowInvocationActionsResponse() { + workflowInvocationActions_ = java.util.Collections.emptyList(); + nextPageToken_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new QueryWorkflowInvocationActionsResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private QueryWorkflowInvocationActionsResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + workflowInvocationActions_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + workflowInvocationActions_.add( + input.readMessage(com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + workflowInvocationActions_ = java.util.Collections.unmodifiableList(workflowInvocationActions_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse.class, com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse.Builder.class); + } + + public static final int WORKFLOW_INVOCATION_ACTIONS_FIELD_NUMBER = 1; + private java.util.List workflowInvocationActions_; + /** + *
+   * List of workflow invocation actions.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + */ + @java.lang.Override + public java.util.List getWorkflowInvocationActionsList() { + return workflowInvocationActions_; + } + /** + *
+   * List of workflow invocation actions.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + */ + @java.lang.Override + public java.util.List + getWorkflowInvocationActionsOrBuilderList() { + return workflowInvocationActions_; + } + /** + *
+   * List of workflow invocation actions.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + */ + @java.lang.Override + public int getWorkflowInvocationActionsCount() { + return workflowInvocationActions_.size(); + } + /** + *
+   * List of workflow invocation actions.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction getWorkflowInvocationActions(int index) { + return workflowInvocationActions_.get(index); + } + /** + *
+   * List of workflow invocation actions.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.WorkflowInvocationActionOrBuilder getWorkflowInvocationActionsOrBuilder( + int index) { + return workflowInvocationActions_.get(index); + } + + public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + private volatile java.lang.Object nextPageToken_; + /** + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * @return The nextPageToken. + */ + @java.lang.Override + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } + } + /** + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * @return The bytes for nextPageToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < workflowInvocationActions_.size(); i++) { + output.writeMessage(1, workflowInvocationActions_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < workflowInvocationActions_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, workflowInvocationActions_.get(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse other = (com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse) obj; + + if (!getWorkflowInvocationActionsList() + .equals(other.getWorkflowInvocationActionsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getWorkflowInvocationActionsCount() > 0) { + hash = (37 * hash) + WORKFLOW_INVOCATION_ACTIONS_FIELD_NUMBER; + hash = (53 * hash) + getWorkflowInvocationActionsList().hashCode(); + } + hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getNextPageToken().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * `QueryWorkflowInvocationActions` response message.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse) + com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse.class, com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getWorkflowInvocationActionsFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (workflowInvocationActionsBuilder_ == null) { + workflowInvocationActions_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + workflowInvocationActionsBuilder_.clear(); + } + nextPageToken_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse build() { + com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse buildPartial() { + com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse result = new com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse(this); + int from_bitField0_ = bitField0_; + if (workflowInvocationActionsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + workflowInvocationActions_ = java.util.Collections.unmodifiableList(workflowInvocationActions_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.workflowInvocationActions_ = workflowInvocationActions_; + } else { + result.workflowInvocationActions_ = workflowInvocationActionsBuilder_.build(); + } + result.nextPageToken_ = nextPageToken_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse) { + return mergeFrom((com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse other) { + if (other == com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse.getDefaultInstance()) return this; + if (workflowInvocationActionsBuilder_ == null) { + if (!other.workflowInvocationActions_.isEmpty()) { + if (workflowInvocationActions_.isEmpty()) { + workflowInvocationActions_ = other.workflowInvocationActions_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureWorkflowInvocationActionsIsMutable(); + workflowInvocationActions_.addAll(other.workflowInvocationActions_); + } + onChanged(); + } + } else { + if (!other.workflowInvocationActions_.isEmpty()) { + if (workflowInvocationActionsBuilder_.isEmpty()) { + workflowInvocationActionsBuilder_.dispose(); + workflowInvocationActionsBuilder_ = null; + workflowInvocationActions_ = other.workflowInvocationActions_; + bitField0_ = (bitField0_ & ~0x00000001); + workflowInvocationActionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getWorkflowInvocationActionsFieldBuilder() : null; + } else { + workflowInvocationActionsBuilder_.addAllMessages(other.workflowInvocationActions_); + } + } + } + if (!other.getNextPageToken().isEmpty()) { + nextPageToken_ = other.nextPageToken_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private java.util.List workflowInvocationActions_ = + java.util.Collections.emptyList(); + private void ensureWorkflowInvocationActionsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + workflowInvocationActions_ = new java.util.ArrayList(workflowInvocationActions_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction, com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.Builder, com.google.cloud.dataform.v1beta1.WorkflowInvocationActionOrBuilder> workflowInvocationActionsBuilder_; + + /** + *
+     * List of workflow invocation actions.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + */ + public java.util.List getWorkflowInvocationActionsList() { + if (workflowInvocationActionsBuilder_ == null) { + return java.util.Collections.unmodifiableList(workflowInvocationActions_); + } else { + return workflowInvocationActionsBuilder_.getMessageList(); + } + } + /** + *
+     * List of workflow invocation actions.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + */ + public int getWorkflowInvocationActionsCount() { + if (workflowInvocationActionsBuilder_ == null) { + return workflowInvocationActions_.size(); + } else { + return workflowInvocationActionsBuilder_.getCount(); + } + } + /** + *
+     * List of workflow invocation actions.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + */ + public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction getWorkflowInvocationActions(int index) { + if (workflowInvocationActionsBuilder_ == null) { + return workflowInvocationActions_.get(index); + } else { + return workflowInvocationActionsBuilder_.getMessage(index); + } + } + /** + *
+     * List of workflow invocation actions.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + */ + public Builder setWorkflowInvocationActions( + int index, com.google.cloud.dataform.v1beta1.WorkflowInvocationAction value) { + if (workflowInvocationActionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureWorkflowInvocationActionsIsMutable(); + workflowInvocationActions_.set(index, value); + onChanged(); + } else { + workflowInvocationActionsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+     * List of workflow invocation actions.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + */ + public Builder setWorkflowInvocationActions( + int index, com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.Builder builderForValue) { + if (workflowInvocationActionsBuilder_ == null) { + ensureWorkflowInvocationActionsIsMutable(); + workflowInvocationActions_.set(index, builderForValue.build()); + onChanged(); + } else { + workflowInvocationActionsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * List of workflow invocation actions.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + */ + public Builder addWorkflowInvocationActions(com.google.cloud.dataform.v1beta1.WorkflowInvocationAction value) { + if (workflowInvocationActionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureWorkflowInvocationActionsIsMutable(); + workflowInvocationActions_.add(value); + onChanged(); + } else { + workflowInvocationActionsBuilder_.addMessage(value); + } + return this; + } + /** + *
+     * List of workflow invocation actions.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + */ + public Builder addWorkflowInvocationActions( + int index, com.google.cloud.dataform.v1beta1.WorkflowInvocationAction value) { + if (workflowInvocationActionsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureWorkflowInvocationActionsIsMutable(); + workflowInvocationActions_.add(index, value); + onChanged(); + } else { + workflowInvocationActionsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+     * List of workflow invocation actions.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + */ + public Builder addWorkflowInvocationActions( + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.Builder builderForValue) { + if (workflowInvocationActionsBuilder_ == null) { + ensureWorkflowInvocationActionsIsMutable(); + workflowInvocationActions_.add(builderForValue.build()); + onChanged(); + } else { + workflowInvocationActionsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+     * List of workflow invocation actions.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + */ + public Builder addWorkflowInvocationActions( + int index, com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.Builder builderForValue) { + if (workflowInvocationActionsBuilder_ == null) { + ensureWorkflowInvocationActionsIsMutable(); + workflowInvocationActions_.add(index, builderForValue.build()); + onChanged(); + } else { + workflowInvocationActionsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * List of workflow invocation actions.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + */ + public Builder addAllWorkflowInvocationActions( + java.lang.Iterable values) { + if (workflowInvocationActionsBuilder_ == null) { + ensureWorkflowInvocationActionsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, workflowInvocationActions_); + onChanged(); + } else { + workflowInvocationActionsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+     * List of workflow invocation actions.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + */ + public Builder clearWorkflowInvocationActions() { + if (workflowInvocationActionsBuilder_ == null) { + workflowInvocationActions_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + workflowInvocationActionsBuilder_.clear(); + } + return this; + } + /** + *
+     * List of workflow invocation actions.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + */ + public Builder removeWorkflowInvocationActions(int index) { + if (workflowInvocationActionsBuilder_ == null) { + ensureWorkflowInvocationActionsIsMutable(); + workflowInvocationActions_.remove(index); + onChanged(); + } else { + workflowInvocationActionsBuilder_.remove(index); + } + return this; + } + /** + *
+     * List of workflow invocation actions.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + */ + public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.Builder getWorkflowInvocationActionsBuilder( + int index) { + return getWorkflowInvocationActionsFieldBuilder().getBuilder(index); + } + /** + *
+     * List of workflow invocation actions.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + */ + public com.google.cloud.dataform.v1beta1.WorkflowInvocationActionOrBuilder getWorkflowInvocationActionsOrBuilder( + int index) { + if (workflowInvocationActionsBuilder_ == null) { + return workflowInvocationActions_.get(index); } else { + return workflowInvocationActionsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+     * List of workflow invocation actions.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + */ + public java.util.List + getWorkflowInvocationActionsOrBuilderList() { + if (workflowInvocationActionsBuilder_ != null) { + return workflowInvocationActionsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(workflowInvocationActions_); + } + } + /** + *
+     * List of workflow invocation actions.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + */ + public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.Builder addWorkflowInvocationActionsBuilder() { + return getWorkflowInvocationActionsFieldBuilder().addBuilder( + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.getDefaultInstance()); + } + /** + *
+     * List of workflow invocation actions.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + */ + public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.Builder addWorkflowInvocationActionsBuilder( + int index) { + return getWorkflowInvocationActionsFieldBuilder().addBuilder( + index, com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.getDefaultInstance()); + } + /** + *
+     * List of workflow invocation actions.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + */ + public java.util.List + getWorkflowInvocationActionsBuilderList() { + return getWorkflowInvocationActionsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction, com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.Builder, com.google.cloud.dataform.v1beta1.WorkflowInvocationActionOrBuilder> + getWorkflowInvocationActionsFieldBuilder() { + if (workflowInvocationActionsBuilder_ == null) { + workflowInvocationActionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction, com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.Builder, com.google.cloud.dataform.v1beta1.WorkflowInvocationActionOrBuilder>( + workflowInvocationActions_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + workflowInvocationActions_ = null; + } + return workflowInvocationActionsBuilder_; + } + + private java.lang.Object nextPageToken_ = ""; + /** + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * @return The nextPageToken. + */ + public java.lang.String getNextPageToken() { + java.lang.Object ref = nextPageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + nextPageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * @return The bytes for nextPageToken. + */ + public com.google.protobuf.ByteString + getNextPageTokenBytes() { + java.lang.Object ref = nextPageToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + nextPageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * @param value The nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + nextPageToken_ = value; + onChanged(); + return this; + } + /** + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * @return This builder for chaining. + */ + public Builder clearNextPageToken() { + + nextPageToken_ = getDefaultInstance().getNextPageToken(); + onChanged(); + return this; + } + /** + *
+     * A token, which can be sent as `page_token` to retrieve the next page.
+     * If this field is omitted, there are no subsequent pages.
+     * 
+ * + * string next_page_token = 2; + * @param value The bytes for nextPageToken to set. + * @return This builder for chaining. + */ + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + nextPageToken_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse) + private static final com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse(); + } + + public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryWorkflowInvocationActionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new QueryWorkflowInvocationActionsResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryWorkflowInvocationActionsResponseOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryWorkflowInvocationActionsResponseOrBuilder.java new file mode 100644 index 0000000..2f0482d --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryWorkflowInvocationActionsResponseOrBuilder.java @@ -0,0 +1,75 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface QueryWorkflowInvocationActionsResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * List of workflow invocation actions.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + */ + java.util.List + getWorkflowInvocationActionsList(); + /** + *
+   * List of workflow invocation actions.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + */ + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction getWorkflowInvocationActions(int index); + /** + *
+   * List of workflow invocation actions.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + */ + int getWorkflowInvocationActionsCount(); + /** + *
+   * List of workflow invocation actions.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + */ + java.util.List + getWorkflowInvocationActionsOrBuilderList(); + /** + *
+   * List of workflow invocation actions.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + */ + com.google.cloud.dataform.v1beta1.WorkflowInvocationActionOrBuilder getWorkflowInvocationActionsOrBuilder( + int index); + + /** + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * @return The nextPageToken. + */ + java.lang.String getNextPageToken(); + /** + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * @return The bytes for nextPageToken. + */ + com.google.protobuf.ByteString + getNextPageTokenBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ReadFileRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ReadFileRequest.java new file mode 100644 index 0000000..1b9b510 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ReadFileRequest.java @@ -0,0 +1,761 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * `ReadFile` request message.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.ReadFileRequest} + */ +public final class ReadFileRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.ReadFileRequest) + ReadFileRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use ReadFileRequest.newBuilder() to construct. + private ReadFileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ReadFileRequest() { + workspace_ = ""; + path_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ReadFileRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ReadFileRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + workspace_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + path_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ReadFileRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ReadFileRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.ReadFileRequest.class, com.google.cloud.dataform.v1beta1.ReadFileRequest.Builder.class); + } + + public static final int WORKSPACE_FIELD_NUMBER = 1; + private volatile java.lang.Object workspace_; + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The workspace. + */ + @java.lang.Override + public java.lang.String getWorkspace() { + java.lang.Object ref = workspace_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + workspace_ = s; + return s; + } + } + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for workspace. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getWorkspaceBytes() { + java.lang.Object ref = workspace_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + workspace_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PATH_FIELD_NUMBER = 2; + private volatile java.lang.Object path_; + /** + *
+   * Required. The file's full path including filename, relative to the workspace root.
+   * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The path. + */ + @java.lang.Override + public java.lang.String getPath() { + java.lang.Object ref = path_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + path_ = s; + return s; + } + } + /** + *
+   * Required. The file's full path including filename, relative to the workspace root.
+   * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for path. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPathBytes() { + java.lang.Object ref = path_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + path_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workspace_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, path_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, workspace_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, path_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.ReadFileRequest)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.ReadFileRequest other = (com.google.cloud.dataform.v1beta1.ReadFileRequest) obj; + + if (!getWorkspace() + .equals(other.getWorkspace())) return false; + if (!getPath() + .equals(other.getPath())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + WORKSPACE_FIELD_NUMBER; + hash = (53 * hash) + getWorkspace().hashCode(); + hash = (37 * hash) + PATH_FIELD_NUMBER; + hash = (53 * hash) + getPath().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.ReadFileRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.ReadFileRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ReadFileRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.ReadFileRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ReadFileRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.ReadFileRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ReadFileRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.ReadFileRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ReadFileRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.ReadFileRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ReadFileRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.ReadFileRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.ReadFileRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * `ReadFile` request message.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.ReadFileRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.ReadFileRequest) + com.google.cloud.dataform.v1beta1.ReadFileRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ReadFileRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ReadFileRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.ReadFileRequest.class, com.google.cloud.dataform.v1beta1.ReadFileRequest.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.ReadFileRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + workspace_ = ""; + + path_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ReadFileRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.ReadFileRequest getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.ReadFileRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.ReadFileRequest build() { + com.google.cloud.dataform.v1beta1.ReadFileRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.ReadFileRequest buildPartial() { + com.google.cloud.dataform.v1beta1.ReadFileRequest result = new com.google.cloud.dataform.v1beta1.ReadFileRequest(this); + result.workspace_ = workspace_; + result.path_ = path_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.ReadFileRequest) { + return mergeFrom((com.google.cloud.dataform.v1beta1.ReadFileRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.ReadFileRequest other) { + if (other == com.google.cloud.dataform.v1beta1.ReadFileRequest.getDefaultInstance()) return this; + if (!other.getWorkspace().isEmpty()) { + workspace_ = other.workspace_; + onChanged(); + } + if (!other.getPath().isEmpty()) { + path_ = other.path_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.ReadFileRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.ReadFileRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object workspace_ = ""; + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The workspace. + */ + public java.lang.String getWorkspace() { + java.lang.Object ref = workspace_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + workspace_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for workspace. + */ + public com.google.protobuf.ByteString + getWorkspaceBytes() { + java.lang.Object ref = workspace_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + workspace_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The workspace to set. + * @return This builder for chaining. + */ + public Builder setWorkspace( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + workspace_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearWorkspace() { + + workspace_ = getDefaultInstance().getWorkspace(); + onChanged(); + return this; + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The bytes for workspace to set. + * @return This builder for chaining. + */ + public Builder setWorkspaceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + workspace_ = value; + onChanged(); + return this; + } + + private java.lang.Object path_ = ""; + /** + *
+     * Required. The file's full path including filename, relative to the workspace root.
+     * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The path. + */ + public java.lang.String getPath() { + java.lang.Object ref = path_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + path_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The file's full path including filename, relative to the workspace root.
+     * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for path. + */ + public com.google.protobuf.ByteString + getPathBytes() { + java.lang.Object ref = path_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + path_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The file's full path including filename, relative to the workspace root.
+     * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param value The path to set. + * @return This builder for chaining. + */ + public Builder setPath( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + path_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. The file's full path including filename, relative to the workspace root.
+     * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return This builder for chaining. + */ + public Builder clearPath() { + + path_ = getDefaultInstance().getPath(); + onChanged(); + return this; + } + /** + *
+     * Required. The file's full path including filename, relative to the workspace root.
+     * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param value The bytes for path to set. + * @return This builder for chaining. + */ + public Builder setPathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + path_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.ReadFileRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.ReadFileRequest) + private static final com.google.cloud.dataform.v1beta1.ReadFileRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.ReadFileRequest(); + } + + public static com.google.cloud.dataform.v1beta1.ReadFileRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadFileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ReadFileRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.ReadFileRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ReadFileRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ReadFileRequestOrBuilder.java new file mode 100644 index 0000000..8137c2b --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ReadFileRequestOrBuilder.java @@ -0,0 +1,49 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface ReadFileRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.ReadFileRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The workspace. + */ + java.lang.String getWorkspace(); + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for workspace. + */ + com.google.protobuf.ByteString + getWorkspaceBytes(); + + /** + *
+   * Required. The file's full path including filename, relative to the workspace root.
+   * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The path. + */ + java.lang.String getPath(); + /** + *
+   * Required. The file's full path including filename, relative to the workspace root.
+   * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for path. + */ + com.google.protobuf.ByteString + getPathBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ReadFileResponse.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ReadFileResponse.java new file mode 100644 index 0000000..0624d83 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ReadFileResponse.java @@ -0,0 +1,513 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * `ReadFile` response message.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.ReadFileResponse} + */ +public final class ReadFileResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.ReadFileResponse) + ReadFileResponseOrBuilder { +private static final long serialVersionUID = 0L; + // Use ReadFileResponse.newBuilder() to construct. + private ReadFileResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ReadFileResponse() { + fileContents_ = com.google.protobuf.ByteString.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ReadFileResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ReadFileResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + + fileContents_ = input.readBytes(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ReadFileResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ReadFileResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.ReadFileResponse.class, com.google.cloud.dataform.v1beta1.ReadFileResponse.Builder.class); + } + + public static final int FILE_CONTENTS_FIELD_NUMBER = 1; + private com.google.protobuf.ByteString fileContents_; + /** + *
+   * The file's contents.
+   * 
+ * + * bytes file_contents = 1; + * @return The fileContents. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFileContents() { + return fileContents_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!fileContents_.isEmpty()) { + output.writeBytes(1, fileContents_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!fileContents_.isEmpty()) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, fileContents_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.ReadFileResponse)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.ReadFileResponse other = (com.google.cloud.dataform.v1beta1.ReadFileResponse) obj; + + if (!getFileContents() + .equals(other.getFileContents())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + FILE_CONTENTS_FIELD_NUMBER; + hash = (53 * hash) + getFileContents().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.ReadFileResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.ReadFileResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ReadFileResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.ReadFileResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ReadFileResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.ReadFileResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ReadFileResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.ReadFileResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ReadFileResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.ReadFileResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ReadFileResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.ReadFileResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.ReadFileResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * `ReadFile` response message.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.ReadFileResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.ReadFileResponse) + com.google.cloud.dataform.v1beta1.ReadFileResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ReadFileResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ReadFileResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.ReadFileResponse.class, com.google.cloud.dataform.v1beta1.ReadFileResponse.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.ReadFileResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + fileContents_ = com.google.protobuf.ByteString.EMPTY; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ReadFileResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.ReadFileResponse getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.ReadFileResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.ReadFileResponse build() { + com.google.cloud.dataform.v1beta1.ReadFileResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.ReadFileResponse buildPartial() { + com.google.cloud.dataform.v1beta1.ReadFileResponse result = new com.google.cloud.dataform.v1beta1.ReadFileResponse(this); + result.fileContents_ = fileContents_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.ReadFileResponse) { + return mergeFrom((com.google.cloud.dataform.v1beta1.ReadFileResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.ReadFileResponse other) { + if (other == com.google.cloud.dataform.v1beta1.ReadFileResponse.getDefaultInstance()) return this; + if (other.getFileContents() != com.google.protobuf.ByteString.EMPTY) { + setFileContents(other.getFileContents()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.ReadFileResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.ReadFileResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private com.google.protobuf.ByteString fileContents_ = com.google.protobuf.ByteString.EMPTY; + /** + *
+     * The file's contents.
+     * 
+ * + * bytes file_contents = 1; + * @return The fileContents. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFileContents() { + return fileContents_; + } + /** + *
+     * The file's contents.
+     * 
+ * + * bytes file_contents = 1; + * @param value The fileContents to set. + * @return This builder for chaining. + */ + public Builder setFileContents(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + + fileContents_ = value; + onChanged(); + return this; + } + /** + *
+     * The file's contents.
+     * 
+ * + * bytes file_contents = 1; + * @return This builder for chaining. + */ + public Builder clearFileContents() { + + fileContents_ = getDefaultInstance().getFileContents(); + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.ReadFileResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.ReadFileResponse) + private static final com.google.cloud.dataform.v1beta1.ReadFileResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.ReadFileResponse(); + } + + public static com.google.cloud.dataform.v1beta1.ReadFileResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadFileResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ReadFileResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.ReadFileResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ReadFileResponseOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ReadFileResponseOrBuilder.java new file mode 100644 index 0000000..cb5f158 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ReadFileResponseOrBuilder.java @@ -0,0 +1,19 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface ReadFileResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.ReadFileResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The file's contents.
+   * 
+ * + * bytes file_contents = 1; + * @return The fileContents. + */ + com.google.protobuf.ByteString getFileContents(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RelationDescriptor.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RelationDescriptor.java new file mode 100644 index 0000000..270e93e --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RelationDescriptor.java @@ -0,0 +1,2572 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * Describes a relation and its columns.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.RelationDescriptor} + */ +public final class RelationDescriptor extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.RelationDescriptor) + RelationDescriptorOrBuilder { +private static final long serialVersionUID = 0L; + // Use RelationDescriptor.newBuilder() to construct. + private RelationDescriptor(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private RelationDescriptor() { + description_ = ""; + columns_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new RelationDescriptor(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private RelationDescriptor( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + description_ = s; + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + columns_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + columns_.add( + input.readMessage(com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor.parser(), extensionRegistry)); + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + bigqueryLabels_ = com.google.protobuf.MapField.newMapField( + BigqueryLabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000002; + } + com.google.protobuf.MapEntry + bigqueryLabels__ = input.readMessage( + BigqueryLabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + bigqueryLabels_.getMutableMap().put( + bigqueryLabels__.getKey(), bigqueryLabels__.getValue()); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + columns_ = java.util.Collections.unmodifiableList(columns_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 3: + return internalGetBigqueryLabels(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.RelationDescriptor.class, com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder.class); + } + + public interface ColumnDescriptorOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * The identifier for the column. Each entry in `path` represents one level
+     * of nesting.
+     * 
+ * + * repeated string path = 1; + * @return A list containing the path. + */ + java.util.List + getPathList(); + /** + *
+     * The identifier for the column. Each entry in `path` represents one level
+     * of nesting.
+     * 
+ * + * repeated string path = 1; + * @return The count of path. + */ + int getPathCount(); + /** + *
+     * The identifier for the column. Each entry in `path` represents one level
+     * of nesting.
+     * 
+ * + * repeated string path = 1; + * @param index The index of the element to return. + * @return The path at the given index. + */ + java.lang.String getPath(int index); + /** + *
+     * The identifier for the column. Each entry in `path` represents one level
+     * of nesting.
+     * 
+ * + * repeated string path = 1; + * @param index The index of the value to return. + * @return The bytes of the path at the given index. + */ + com.google.protobuf.ByteString + getPathBytes(int index); + + /** + *
+     * A textual description of the column.
+     * 
+ * + * string description = 2; + * @return The description. + */ + java.lang.String getDescription(); + /** + *
+     * A textual description of the column.
+     * 
+ * + * string description = 2; + * @return The bytes for description. + */ + com.google.protobuf.ByteString + getDescriptionBytes(); + + /** + *
+     * A list of BigQuery policy tags that will be applied to the column.
+     * 
+ * + * repeated string bigquery_policy_tags = 3; + * @return A list containing the bigqueryPolicyTags. + */ + java.util.List + getBigqueryPolicyTagsList(); + /** + *
+     * A list of BigQuery policy tags that will be applied to the column.
+     * 
+ * + * repeated string bigquery_policy_tags = 3; + * @return The count of bigqueryPolicyTags. + */ + int getBigqueryPolicyTagsCount(); + /** + *
+     * A list of BigQuery policy tags that will be applied to the column.
+     * 
+ * + * repeated string bigquery_policy_tags = 3; + * @param index The index of the element to return. + * @return The bigqueryPolicyTags at the given index. + */ + java.lang.String getBigqueryPolicyTags(int index); + /** + *
+     * A list of BigQuery policy tags that will be applied to the column.
+     * 
+ * + * repeated string bigquery_policy_tags = 3; + * @param index The index of the value to return. + * @return The bytes of the bigqueryPolicyTags at the given index. + */ + com.google.protobuf.ByteString + getBigqueryPolicyTagsBytes(int index); + } + /** + *
+   * Describes a column.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor} + */ + public static final class ColumnDescriptor extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor) + ColumnDescriptorOrBuilder { + private static final long serialVersionUID = 0L; + // Use ColumnDescriptor.newBuilder() to construct. + private ColumnDescriptor(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ColumnDescriptor() { + path_ = com.google.protobuf.LazyStringArrayList.EMPTY; + description_ = ""; + bigqueryPolicyTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ColumnDescriptor(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ColumnDescriptor( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + path_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + path_.add(s); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + description_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + bigqueryPolicyTags_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + bigqueryPolicyTags_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + path_ = path_.getUnmodifiableView(); + } + if (((mutable_bitField0_ & 0x00000002) != 0)) { + bigqueryPolicyTags_ = bigqueryPolicyTags_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_ColumnDescriptor_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_ColumnDescriptor_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor.class, com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor.Builder.class); + } + + public static final int PATH_FIELD_NUMBER = 1; + private com.google.protobuf.LazyStringList path_; + /** + *
+     * The identifier for the column. Each entry in `path` represents one level
+     * of nesting.
+     * 
+ * + * repeated string path = 1; + * @return A list containing the path. + */ + public com.google.protobuf.ProtocolStringList + getPathList() { + return path_; + } + /** + *
+     * The identifier for the column. Each entry in `path` represents one level
+     * of nesting.
+     * 
+ * + * repeated string path = 1; + * @return The count of path. + */ + public int getPathCount() { + return path_.size(); + } + /** + *
+     * The identifier for the column. Each entry in `path` represents one level
+     * of nesting.
+     * 
+ * + * repeated string path = 1; + * @param index The index of the element to return. + * @return The path at the given index. + */ + public java.lang.String getPath(int index) { + return path_.get(index); + } + /** + *
+     * The identifier for the column. Each entry in `path` represents one level
+     * of nesting.
+     * 
+ * + * repeated string path = 1; + * @param index The index of the value to return. + * @return The bytes of the path at the given index. + */ + public com.google.protobuf.ByteString + getPathBytes(int index) { + return path_.getByteString(index); + } + + public static final int DESCRIPTION_FIELD_NUMBER = 2; + private volatile java.lang.Object description_; + /** + *
+     * A textual description of the column.
+     * 
+ * + * string description = 2; + * @return The description. + */ + @java.lang.Override + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } + } + /** + *
+     * A textual description of the column.
+     * 
+ * + * string description = 2; + * @return The bytes for description. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int BIGQUERY_POLICY_TAGS_FIELD_NUMBER = 3; + private com.google.protobuf.LazyStringList bigqueryPolicyTags_; + /** + *
+     * A list of BigQuery policy tags that will be applied to the column.
+     * 
+ * + * repeated string bigquery_policy_tags = 3; + * @return A list containing the bigqueryPolicyTags. + */ + public com.google.protobuf.ProtocolStringList + getBigqueryPolicyTagsList() { + return bigqueryPolicyTags_; + } + /** + *
+     * A list of BigQuery policy tags that will be applied to the column.
+     * 
+ * + * repeated string bigquery_policy_tags = 3; + * @return The count of bigqueryPolicyTags. + */ + public int getBigqueryPolicyTagsCount() { + return bigqueryPolicyTags_.size(); + } + /** + *
+     * A list of BigQuery policy tags that will be applied to the column.
+     * 
+ * + * repeated string bigquery_policy_tags = 3; + * @param index The index of the element to return. + * @return The bigqueryPolicyTags at the given index. + */ + public java.lang.String getBigqueryPolicyTags(int index) { + return bigqueryPolicyTags_.get(index); + } + /** + *
+     * A list of BigQuery policy tags that will be applied to the column.
+     * 
+ * + * repeated string bigquery_policy_tags = 3; + * @param index The index of the value to return. + * @return The bytes of the bigqueryPolicyTags at the given index. + */ + public com.google.protobuf.ByteString + getBigqueryPolicyTagsBytes(int index) { + return bigqueryPolicyTags_.getByteString(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < path_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, path_.getRaw(i)); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, description_); + } + for (int i = 0; i < bigqueryPolicyTags_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, bigqueryPolicyTags_.getRaw(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + { + int dataSize = 0; + for (int i = 0; i < path_.size(); i++) { + dataSize += computeStringSizeNoTag(path_.getRaw(i)); + } + size += dataSize; + size += 1 * getPathList().size(); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); + } + { + int dataSize = 0; + for (int i = 0; i < bigqueryPolicyTags_.size(); i++) { + dataSize += computeStringSizeNoTag(bigqueryPolicyTags_.getRaw(i)); + } + size += dataSize; + size += 1 * getBigqueryPolicyTagsList().size(); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor other = (com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor) obj; + + if (!getPathList() + .equals(other.getPathList())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getBigqueryPolicyTagsList() + .equals(other.getBigqueryPolicyTagsList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getPathCount() > 0) { + hash = (37 * hash) + PATH_FIELD_NUMBER; + hash = (53 * hash) + getPathList().hashCode(); + } + hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; + hash = (53 * hash) + getDescription().hashCode(); + if (getBigqueryPolicyTagsCount() > 0) { + hash = (37 * hash) + BIGQUERY_POLICY_TAGS_FIELD_NUMBER; + hash = (53 * hash) + getBigqueryPolicyTagsList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Describes a column.
+     * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor) + com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptorOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_ColumnDescriptor_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_ColumnDescriptor_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor.class, com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + path_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + description_ = ""; + + bigqueryPolicyTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_ColumnDescriptor_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor build() { + com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor buildPartial() { + com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor result = new com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor(this); + int from_bitField0_ = bitField0_; + if (((bitField0_ & 0x00000001) != 0)) { + path_ = path_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.path_ = path_; + result.description_ = description_; + if (((bitField0_ & 0x00000002) != 0)) { + bigqueryPolicyTags_ = bigqueryPolicyTags_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.bigqueryPolicyTags_ = bigqueryPolicyTags_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor) { + return mergeFrom((com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor other) { + if (other == com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor.getDefaultInstance()) return this; + if (!other.path_.isEmpty()) { + if (path_.isEmpty()) { + path_ = other.path_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensurePathIsMutable(); + path_.addAll(other.path_); + } + onChanged(); + } + if (!other.getDescription().isEmpty()) { + description_ = other.description_; + onChanged(); + } + if (!other.bigqueryPolicyTags_.isEmpty()) { + if (bigqueryPolicyTags_.isEmpty()) { + bigqueryPolicyTags_ = other.bigqueryPolicyTags_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureBigqueryPolicyTagsIsMutable(); + bigqueryPolicyTags_.addAll(other.bigqueryPolicyTags_); + } + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private com.google.protobuf.LazyStringList path_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensurePathIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + path_ = new com.google.protobuf.LazyStringArrayList(path_); + bitField0_ |= 0x00000001; + } + } + /** + *
+       * The identifier for the column. Each entry in `path` represents one level
+       * of nesting.
+       * 
+ * + * repeated string path = 1; + * @return A list containing the path. + */ + public com.google.protobuf.ProtocolStringList + getPathList() { + return path_.getUnmodifiableView(); + } + /** + *
+       * The identifier for the column. Each entry in `path` represents one level
+       * of nesting.
+       * 
+ * + * repeated string path = 1; + * @return The count of path. + */ + public int getPathCount() { + return path_.size(); + } + /** + *
+       * The identifier for the column. Each entry in `path` represents one level
+       * of nesting.
+       * 
+ * + * repeated string path = 1; + * @param index The index of the element to return. + * @return The path at the given index. + */ + public java.lang.String getPath(int index) { + return path_.get(index); + } + /** + *
+       * The identifier for the column. Each entry in `path` represents one level
+       * of nesting.
+       * 
+ * + * repeated string path = 1; + * @param index The index of the value to return. + * @return The bytes of the path at the given index. + */ + public com.google.protobuf.ByteString + getPathBytes(int index) { + return path_.getByteString(index); + } + /** + *
+       * The identifier for the column. Each entry in `path` represents one level
+       * of nesting.
+       * 
+ * + * repeated string path = 1; + * @param index The index to set the value at. + * @param value The path to set. + * @return This builder for chaining. + */ + public Builder setPath( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensurePathIsMutable(); + path_.set(index, value); + onChanged(); + return this; + } + /** + *
+       * The identifier for the column. Each entry in `path` represents one level
+       * of nesting.
+       * 
+ * + * repeated string path = 1; + * @param value The path to add. + * @return This builder for chaining. + */ + public Builder addPath( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensurePathIsMutable(); + path_.add(value); + onChanged(); + return this; + } + /** + *
+       * The identifier for the column. Each entry in `path` represents one level
+       * of nesting.
+       * 
+ * + * repeated string path = 1; + * @param values The path to add. + * @return This builder for chaining. + */ + public Builder addAllPath( + java.lang.Iterable values) { + ensurePathIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, path_); + onChanged(); + return this; + } + /** + *
+       * The identifier for the column. Each entry in `path` represents one level
+       * of nesting.
+       * 
+ * + * repeated string path = 1; + * @return This builder for chaining. + */ + public Builder clearPath() { + path_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * The identifier for the column. Each entry in `path` represents one level
+       * of nesting.
+       * 
+ * + * repeated string path = 1; + * @param value The bytes of the path to add. + * @return This builder for chaining. + */ + public Builder addPathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensurePathIsMutable(); + path_.add(value); + onChanged(); + return this; + } + + private java.lang.Object description_ = ""; + /** + *
+       * A textual description of the column.
+       * 
+ * + * string description = 2; + * @return The description. + */ + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * A textual description of the column.
+       * 
+ * + * string description = 2; + * @return The bytes for description. + */ + public com.google.protobuf.ByteString + getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * A textual description of the column.
+       * 
+ * + * string description = 2; + * @param value The description to set. + * @return This builder for chaining. + */ + public Builder setDescription( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + description_ = value; + onChanged(); + return this; + } + /** + *
+       * A textual description of the column.
+       * 
+ * + * string description = 2; + * @return This builder for chaining. + */ + public Builder clearDescription() { + + description_ = getDefaultInstance().getDescription(); + onChanged(); + return this; + } + /** + *
+       * A textual description of the column.
+       * 
+ * + * string description = 2; + * @param value The bytes for description to set. + * @return This builder for chaining. + */ + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + description_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList bigqueryPolicyTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureBigqueryPolicyTagsIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + bigqueryPolicyTags_ = new com.google.protobuf.LazyStringArrayList(bigqueryPolicyTags_); + bitField0_ |= 0x00000002; + } + } + /** + *
+       * A list of BigQuery policy tags that will be applied to the column.
+       * 
+ * + * repeated string bigquery_policy_tags = 3; + * @return A list containing the bigqueryPolicyTags. + */ + public com.google.protobuf.ProtocolStringList + getBigqueryPolicyTagsList() { + return bigqueryPolicyTags_.getUnmodifiableView(); + } + /** + *
+       * A list of BigQuery policy tags that will be applied to the column.
+       * 
+ * + * repeated string bigquery_policy_tags = 3; + * @return The count of bigqueryPolicyTags. + */ + public int getBigqueryPolicyTagsCount() { + return bigqueryPolicyTags_.size(); + } + /** + *
+       * A list of BigQuery policy tags that will be applied to the column.
+       * 
+ * + * repeated string bigquery_policy_tags = 3; + * @param index The index of the element to return. + * @return The bigqueryPolicyTags at the given index. + */ + public java.lang.String getBigqueryPolicyTags(int index) { + return bigqueryPolicyTags_.get(index); + } + /** + *
+       * A list of BigQuery policy tags that will be applied to the column.
+       * 
+ * + * repeated string bigquery_policy_tags = 3; + * @param index The index of the value to return. + * @return The bytes of the bigqueryPolicyTags at the given index. + */ + public com.google.protobuf.ByteString + getBigqueryPolicyTagsBytes(int index) { + return bigqueryPolicyTags_.getByteString(index); + } + /** + *
+       * A list of BigQuery policy tags that will be applied to the column.
+       * 
+ * + * repeated string bigquery_policy_tags = 3; + * @param index The index to set the value at. + * @param value The bigqueryPolicyTags to set. + * @return This builder for chaining. + */ + public Builder setBigqueryPolicyTags( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureBigqueryPolicyTagsIsMutable(); + bigqueryPolicyTags_.set(index, value); + onChanged(); + return this; + } + /** + *
+       * A list of BigQuery policy tags that will be applied to the column.
+       * 
+ * + * repeated string bigquery_policy_tags = 3; + * @param value The bigqueryPolicyTags to add. + * @return This builder for chaining. + */ + public Builder addBigqueryPolicyTags( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureBigqueryPolicyTagsIsMutable(); + bigqueryPolicyTags_.add(value); + onChanged(); + return this; + } + /** + *
+       * A list of BigQuery policy tags that will be applied to the column.
+       * 
+ * + * repeated string bigquery_policy_tags = 3; + * @param values The bigqueryPolicyTags to add. + * @return This builder for chaining. + */ + public Builder addAllBigqueryPolicyTags( + java.lang.Iterable values) { + ensureBigqueryPolicyTagsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, bigqueryPolicyTags_); + onChanged(); + return this; + } + /** + *
+       * A list of BigQuery policy tags that will be applied to the column.
+       * 
+ * + * repeated string bigquery_policy_tags = 3; + * @return This builder for chaining. + */ + public Builder clearBigqueryPolicyTags() { + bigqueryPolicyTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+       * A list of BigQuery policy tags that will be applied to the column.
+       * 
+ * + * repeated string bigquery_policy_tags = 3; + * @param value The bytes of the bigqueryPolicyTags to add. + * @return This builder for chaining. + */ + public Builder addBigqueryPolicyTagsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureBigqueryPolicyTagsIsMutable(); + bigqueryPolicyTags_.add(value); + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor) + private static final com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor(); + } + + public static com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ColumnDescriptor parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ColumnDescriptor(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public static final int DESCRIPTION_FIELD_NUMBER = 1; + private volatile java.lang.Object description_; + /** + *
+   * A text description of the relation.
+   * 
+ * + * string description = 1; + * @return The description. + */ + @java.lang.Override + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } + } + /** + *
+   * A text description of the relation.
+   * 
+ * + * string description = 1; + * @return The bytes for description. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int COLUMNS_FIELD_NUMBER = 2; + private java.util.List columns_; + /** + *
+   * A list of descriptions of columns within the relation.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + */ + @java.lang.Override + public java.util.List getColumnsList() { + return columns_; + } + /** + *
+   * A list of descriptions of columns within the relation.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + */ + @java.lang.Override + public java.util.List + getColumnsOrBuilderList() { + return columns_; + } + /** + *
+   * A list of descriptions of columns within the relation.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + */ + @java.lang.Override + public int getColumnsCount() { + return columns_.size(); + } + /** + *
+   * A list of descriptions of columns within the relation.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor getColumns(int index) { + return columns_.get(index); + } + /** + *
+   * A list of descriptions of columns within the relation.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptorOrBuilder getColumnsOrBuilder( + int index) { + return columns_.get(index); + } + + public static final int BIGQUERY_LABELS_FIELD_NUMBER = 3; + private static final class BigqueryLabelsDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_BigqueryLabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> bigqueryLabels_; + private com.google.protobuf.MapField + internalGetBigqueryLabels() { + if (bigqueryLabels_ == null) { + return com.google.protobuf.MapField.emptyMapField( + BigqueryLabelsDefaultEntryHolder.defaultEntry); + } + return bigqueryLabels_; + } + + public int getBigqueryLabelsCount() { + return internalGetBigqueryLabels().getMap().size(); + } + /** + *
+   * A set of BigQuery labels that should be applied to the relation.
+   * 
+ * + * map<string, string> bigquery_labels = 3; + */ + + @java.lang.Override + public boolean containsBigqueryLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetBigqueryLabels().getMap().containsKey(key); + } + /** + * Use {@link #getBigqueryLabelsMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getBigqueryLabels() { + return getBigqueryLabelsMap(); + } + /** + *
+   * A set of BigQuery labels that should be applied to the relation.
+   * 
+ * + * map<string, string> bigquery_labels = 3; + */ + @java.lang.Override + + public java.util.Map getBigqueryLabelsMap() { + return internalGetBigqueryLabels().getMap(); + } + /** + *
+   * A set of BigQuery labels that should be applied to the relation.
+   * 
+ * + * map<string, string> bigquery_labels = 3; + */ + @java.lang.Override + + public java.lang.String getBigqueryLabelsOrDefault( + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetBigqueryLabels().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+   * A set of BigQuery labels that should be applied to the relation.
+   * 
+ * + * map<string, string> bigquery_labels = 3; + */ + @java.lang.Override + + public java.lang.String getBigqueryLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetBigqueryLabels().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, description_); + } + for (int i = 0; i < columns_.size(); i++) { + output.writeMessage(2, columns_.get(i)); + } + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetBigqueryLabels(), + BigqueryLabelsDefaultEntryHolder.defaultEntry, + 3); + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, description_); + } + for (int i = 0; i < columns_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, columns_.get(i)); + } + for (java.util.Map.Entry entry + : internalGetBigqueryLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + bigqueryLabels__ = BigqueryLabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, bigqueryLabels__); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.RelationDescriptor)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.RelationDescriptor other = (com.google.cloud.dataform.v1beta1.RelationDescriptor) obj; + + if (!getDescription() + .equals(other.getDescription())) return false; + if (!getColumnsList() + .equals(other.getColumnsList())) return false; + if (!internalGetBigqueryLabels().equals( + other.internalGetBigqueryLabels())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; + hash = (53 * hash) + getDescription().hashCode(); + if (getColumnsCount() > 0) { + hash = (37 * hash) + COLUMNS_FIELD_NUMBER; + hash = (53 * hash) + getColumnsList().hashCode(); + } + if (!internalGetBigqueryLabels().getMap().isEmpty()) { + hash = (37 * hash) + BIGQUERY_LABELS_FIELD_NUMBER; + hash = (53 * hash) + internalGetBigqueryLabels().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.RelationDescriptor parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.RelationDescriptor parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.RelationDescriptor parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.RelationDescriptor parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.RelationDescriptor parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.RelationDescriptor parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.RelationDescriptor parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.RelationDescriptor parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.RelationDescriptor parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.RelationDescriptor parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.RelationDescriptor parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.RelationDescriptor parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.RelationDescriptor prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * Describes a relation and its columns.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.RelationDescriptor} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.RelationDescriptor) + com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 3: + return internalGetBigqueryLabels(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { + switch (number) { + case 3: + return internalGetMutableBigqueryLabels(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.RelationDescriptor.class, com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.RelationDescriptor.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getColumnsFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + description_ = ""; + + if (columnsBuilder_ == null) { + columns_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + columnsBuilder_.clear(); + } + internalGetMutableBigqueryLabels().clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.RelationDescriptor getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.RelationDescriptor.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.RelationDescriptor build() { + com.google.cloud.dataform.v1beta1.RelationDescriptor result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.RelationDescriptor buildPartial() { + com.google.cloud.dataform.v1beta1.RelationDescriptor result = new com.google.cloud.dataform.v1beta1.RelationDescriptor(this); + int from_bitField0_ = bitField0_; + result.description_ = description_; + if (columnsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + columns_ = java.util.Collections.unmodifiableList(columns_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.columns_ = columns_; + } else { + result.columns_ = columnsBuilder_.build(); + } + result.bigqueryLabels_ = internalGetBigqueryLabels(); + result.bigqueryLabels_.makeImmutable(); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.RelationDescriptor) { + return mergeFrom((com.google.cloud.dataform.v1beta1.RelationDescriptor)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.RelationDescriptor other) { + if (other == com.google.cloud.dataform.v1beta1.RelationDescriptor.getDefaultInstance()) return this; + if (!other.getDescription().isEmpty()) { + description_ = other.description_; + onChanged(); + } + if (columnsBuilder_ == null) { + if (!other.columns_.isEmpty()) { + if (columns_.isEmpty()) { + columns_ = other.columns_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureColumnsIsMutable(); + columns_.addAll(other.columns_); + } + onChanged(); + } + } else { + if (!other.columns_.isEmpty()) { + if (columnsBuilder_.isEmpty()) { + columnsBuilder_.dispose(); + columnsBuilder_ = null; + columns_ = other.columns_; + bitField0_ = (bitField0_ & ~0x00000001); + columnsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getColumnsFieldBuilder() : null; + } else { + columnsBuilder_.addAllMessages(other.columns_); + } + } + } + internalGetMutableBigqueryLabels().mergeFrom( + other.internalGetBigqueryLabels()); + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.RelationDescriptor parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.RelationDescriptor) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private java.lang.Object description_ = ""; + /** + *
+     * A text description of the relation.
+     * 
+ * + * string description = 1; + * @return The description. + */ + public java.lang.String getDescription() { + java.lang.Object ref = description_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + description_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * A text description of the relation.
+     * 
+ * + * string description = 1; + * @return The bytes for description. + */ + public com.google.protobuf.ByteString + getDescriptionBytes() { + java.lang.Object ref = description_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + description_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * A text description of the relation.
+     * 
+ * + * string description = 1; + * @param value The description to set. + * @return This builder for chaining. + */ + public Builder setDescription( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + description_ = value; + onChanged(); + return this; + } + /** + *
+     * A text description of the relation.
+     * 
+ * + * string description = 1; + * @return This builder for chaining. + */ + public Builder clearDescription() { + + description_ = getDefaultInstance().getDescription(); + onChanged(); + return this; + } + /** + *
+     * A text description of the relation.
+     * 
+ * + * string description = 1; + * @param value The bytes for description to set. + * @return This builder for chaining. + */ + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + description_ = value; + onChanged(); + return this; + } + + private java.util.List columns_ = + java.util.Collections.emptyList(); + private void ensureColumnsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + columns_ = new java.util.ArrayList(columns_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor, com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor.Builder, com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptorOrBuilder> columnsBuilder_; + + /** + *
+     * A list of descriptions of columns within the relation.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + */ + public java.util.List getColumnsList() { + if (columnsBuilder_ == null) { + return java.util.Collections.unmodifiableList(columns_); + } else { + return columnsBuilder_.getMessageList(); + } + } + /** + *
+     * A list of descriptions of columns within the relation.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + */ + public int getColumnsCount() { + if (columnsBuilder_ == null) { + return columns_.size(); + } else { + return columnsBuilder_.getCount(); + } + } + /** + *
+     * A list of descriptions of columns within the relation.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + */ + public com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor getColumns(int index) { + if (columnsBuilder_ == null) { + return columns_.get(index); + } else { + return columnsBuilder_.getMessage(index); + } + } + /** + *
+     * A list of descriptions of columns within the relation.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + */ + public Builder setColumns( + int index, com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor value) { + if (columnsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureColumnsIsMutable(); + columns_.set(index, value); + onChanged(); + } else { + columnsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+     * A list of descriptions of columns within the relation.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + */ + public Builder setColumns( + int index, com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor.Builder builderForValue) { + if (columnsBuilder_ == null) { + ensureColumnsIsMutable(); + columns_.set(index, builderForValue.build()); + onChanged(); + } else { + columnsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * A list of descriptions of columns within the relation.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + */ + public Builder addColumns(com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor value) { + if (columnsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureColumnsIsMutable(); + columns_.add(value); + onChanged(); + } else { + columnsBuilder_.addMessage(value); + } + return this; + } + /** + *
+     * A list of descriptions of columns within the relation.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + */ + public Builder addColumns( + int index, com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor value) { + if (columnsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureColumnsIsMutable(); + columns_.add(index, value); + onChanged(); + } else { + columnsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+     * A list of descriptions of columns within the relation.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + */ + public Builder addColumns( + com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor.Builder builderForValue) { + if (columnsBuilder_ == null) { + ensureColumnsIsMutable(); + columns_.add(builderForValue.build()); + onChanged(); + } else { + columnsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+     * A list of descriptions of columns within the relation.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + */ + public Builder addColumns( + int index, com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor.Builder builderForValue) { + if (columnsBuilder_ == null) { + ensureColumnsIsMutable(); + columns_.add(index, builderForValue.build()); + onChanged(); + } else { + columnsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+     * A list of descriptions of columns within the relation.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + */ + public Builder addAllColumns( + java.lang.Iterable values) { + if (columnsBuilder_ == null) { + ensureColumnsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, columns_); + onChanged(); + } else { + columnsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+     * A list of descriptions of columns within the relation.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + */ + public Builder clearColumns() { + if (columnsBuilder_ == null) { + columns_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + columnsBuilder_.clear(); + } + return this; + } + /** + *
+     * A list of descriptions of columns within the relation.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + */ + public Builder removeColumns(int index) { + if (columnsBuilder_ == null) { + ensureColumnsIsMutable(); + columns_.remove(index); + onChanged(); + } else { + columnsBuilder_.remove(index); + } + return this; + } + /** + *
+     * A list of descriptions of columns within the relation.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + */ + public com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor.Builder getColumnsBuilder( + int index) { + return getColumnsFieldBuilder().getBuilder(index); + } + /** + *
+     * A list of descriptions of columns within the relation.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + */ + public com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptorOrBuilder getColumnsOrBuilder( + int index) { + if (columnsBuilder_ == null) { + return columns_.get(index); } else { + return columnsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+     * A list of descriptions of columns within the relation.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + */ + public java.util.List + getColumnsOrBuilderList() { + if (columnsBuilder_ != null) { + return columnsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(columns_); + } + } + /** + *
+     * A list of descriptions of columns within the relation.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + */ + public com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor.Builder addColumnsBuilder() { + return getColumnsFieldBuilder().addBuilder( + com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor.getDefaultInstance()); + } + /** + *
+     * A list of descriptions of columns within the relation.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + */ + public com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor.Builder addColumnsBuilder( + int index) { + return getColumnsFieldBuilder().addBuilder( + index, com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor.getDefaultInstance()); + } + /** + *
+     * A list of descriptions of columns within the relation.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + */ + public java.util.List + getColumnsBuilderList() { + return getColumnsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor, com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor.Builder, com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptorOrBuilder> + getColumnsFieldBuilder() { + if (columnsBuilder_ == null) { + columnsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor, com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor.Builder, com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptorOrBuilder>( + columns_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + columns_ = null; + } + return columnsBuilder_; + } + + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> bigqueryLabels_; + private com.google.protobuf.MapField + internalGetBigqueryLabels() { + if (bigqueryLabels_ == null) { + return com.google.protobuf.MapField.emptyMapField( + BigqueryLabelsDefaultEntryHolder.defaultEntry); + } + return bigqueryLabels_; + } + private com.google.protobuf.MapField + internalGetMutableBigqueryLabels() { + onChanged();; + if (bigqueryLabels_ == null) { + bigqueryLabels_ = com.google.protobuf.MapField.newMapField( + BigqueryLabelsDefaultEntryHolder.defaultEntry); + } + if (!bigqueryLabels_.isMutable()) { + bigqueryLabels_ = bigqueryLabels_.copy(); + } + return bigqueryLabels_; + } + + public int getBigqueryLabelsCount() { + return internalGetBigqueryLabels().getMap().size(); + } + /** + *
+     * A set of BigQuery labels that should be applied to the relation.
+     * 
+ * + * map<string, string> bigquery_labels = 3; + */ + + @java.lang.Override + public boolean containsBigqueryLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetBigqueryLabels().getMap().containsKey(key); + } + /** + * Use {@link #getBigqueryLabelsMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getBigqueryLabels() { + return getBigqueryLabelsMap(); + } + /** + *
+     * A set of BigQuery labels that should be applied to the relation.
+     * 
+ * + * map<string, string> bigquery_labels = 3; + */ + @java.lang.Override + + public java.util.Map getBigqueryLabelsMap() { + return internalGetBigqueryLabels().getMap(); + } + /** + *
+     * A set of BigQuery labels that should be applied to the relation.
+     * 
+ * + * map<string, string> bigquery_labels = 3; + */ + @java.lang.Override + + public java.lang.String getBigqueryLabelsOrDefault( + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetBigqueryLabels().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * A set of BigQuery labels that should be applied to the relation.
+     * 
+ * + * map<string, string> bigquery_labels = 3; + */ + @java.lang.Override + + public java.lang.String getBigqueryLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetBigqueryLabels().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public Builder clearBigqueryLabels() { + internalGetMutableBigqueryLabels().getMutableMap() + .clear(); + return this; + } + /** + *
+     * A set of BigQuery labels that should be applied to the relation.
+     * 
+ * + * map<string, string> bigquery_labels = 3; + */ + + public Builder removeBigqueryLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableBigqueryLabels().getMutableMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableBigqueryLabels() { + return internalGetMutableBigqueryLabels().getMutableMap(); + } + /** + *
+     * A set of BigQuery labels that should be applied to the relation.
+     * 
+ * + * map<string, string> bigquery_labels = 3; + */ + public Builder putBigqueryLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { + throw new NullPointerException("map value"); +} + + internalGetMutableBigqueryLabels().getMutableMap() + .put(key, value); + return this; + } + /** + *
+     * A set of BigQuery labels that should be applied to the relation.
+     * 
+ * + * map<string, string> bigquery_labels = 3; + */ + + public Builder putAllBigqueryLabels( + java.util.Map values) { + internalGetMutableBigqueryLabels().getMutableMap() + .putAll(values); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.RelationDescriptor) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.RelationDescriptor) + private static final com.google.cloud.dataform.v1beta1.RelationDescriptor DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.RelationDescriptor(); + } + + public static com.google.cloud.dataform.v1beta1.RelationDescriptor getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RelationDescriptor parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RelationDescriptor(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.RelationDescriptor getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RelationDescriptorOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RelationDescriptorOrBuilder.java new file mode 100644 index 0000000..81b66a9 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RelationDescriptorOrBuilder.java @@ -0,0 +1,129 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface RelationDescriptorOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.RelationDescriptor) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * A text description of the relation.
+   * 
+ * + * string description = 1; + * @return The description. + */ + java.lang.String getDescription(); + /** + *
+   * A text description of the relation.
+   * 
+ * + * string description = 1; + * @return The bytes for description. + */ + com.google.protobuf.ByteString + getDescriptionBytes(); + + /** + *
+   * A list of descriptions of columns within the relation.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + */ + java.util.List + getColumnsList(); + /** + *
+   * A list of descriptions of columns within the relation.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + */ + com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor getColumns(int index); + /** + *
+   * A list of descriptions of columns within the relation.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + */ + int getColumnsCount(); + /** + *
+   * A list of descriptions of columns within the relation.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + */ + java.util.List + getColumnsOrBuilderList(); + /** + *
+   * A list of descriptions of columns within the relation.
+   * 
+ * + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + */ + com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptorOrBuilder getColumnsOrBuilder( + int index); + + /** + *
+   * A set of BigQuery labels that should be applied to the relation.
+   * 
+ * + * map<string, string> bigquery_labels = 3; + */ + int getBigqueryLabelsCount(); + /** + *
+   * A set of BigQuery labels that should be applied to the relation.
+   * 
+ * + * map<string, string> bigquery_labels = 3; + */ + boolean containsBigqueryLabels( + java.lang.String key); + /** + * Use {@link #getBigqueryLabelsMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getBigqueryLabels(); + /** + *
+   * A set of BigQuery labels that should be applied to the relation.
+   * 
+ * + * map<string, string> bigquery_labels = 3; + */ + java.util.Map + getBigqueryLabelsMap(); + /** + *
+   * A set of BigQuery labels that should be applied to the relation.
+   * 
+ * + * map<string, string> bigquery_labels = 3; + */ + + /* nullable */ +java.lang.String getBigqueryLabelsOrDefault( + java.lang.String key, + /* nullable */ +java.lang.String defaultValue); + /** + *
+   * A set of BigQuery labels that should be applied to the relation.
+   * 
+ * + * map<string, string> bigquery_labels = 3; + */ + + java.lang.String getBigqueryLabelsOrThrow( + java.lang.String key); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RemoveDirectoryRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RemoveDirectoryRequest.java new file mode 100644 index 0000000..a591038 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RemoveDirectoryRequest.java @@ -0,0 +1,768 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * `RemoveDirectory` request message.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.RemoveDirectoryRequest} + */ +public final class RemoveDirectoryRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.RemoveDirectoryRequest) + RemoveDirectoryRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use RemoveDirectoryRequest.newBuilder() to construct. + private RemoveDirectoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private RemoveDirectoryRequest() { + workspace_ = ""; + path_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new RemoveDirectoryRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private RemoveDirectoryRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + workspace_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + path_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_RemoveDirectoryRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_RemoveDirectoryRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest.class, com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest.Builder.class); + } + + public static final int WORKSPACE_FIELD_NUMBER = 1; + private volatile java.lang.Object workspace_; + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The workspace. + */ + @java.lang.Override + public java.lang.String getWorkspace() { + java.lang.Object ref = workspace_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + workspace_ = s; + return s; + } + } + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for workspace. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getWorkspaceBytes() { + java.lang.Object ref = workspace_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + workspace_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PATH_FIELD_NUMBER = 2; + private volatile java.lang.Object path_; + /** + *
+   * Required. The directory's full path including directory name, relative to the
+   * workspace root.
+   * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The path. + */ + @java.lang.Override + public java.lang.String getPath() { + java.lang.Object ref = path_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + path_ = s; + return s; + } + } + /** + *
+   * Required. The directory's full path including directory name, relative to the
+   * workspace root.
+   * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for path. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPathBytes() { + java.lang.Object ref = path_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + path_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workspace_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, path_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, workspace_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, path_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest other = (com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest) obj; + + if (!getWorkspace() + .equals(other.getWorkspace())) return false; + if (!getPath() + .equals(other.getPath())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + WORKSPACE_FIELD_NUMBER; + hash = (53 * hash) + getWorkspace().hashCode(); + hash = (37 * hash) + PATH_FIELD_NUMBER; + hash = (53 * hash) + getPath().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * `RemoveDirectory` request message.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.RemoveDirectoryRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.RemoveDirectoryRequest) + com.google.cloud.dataform.v1beta1.RemoveDirectoryRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_RemoveDirectoryRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_RemoveDirectoryRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest.class, com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + workspace_ = ""; + + path_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_RemoveDirectoryRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest build() { + com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest buildPartial() { + com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest result = new com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest(this); + result.workspace_ = workspace_; + result.path_ = path_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest) { + return mergeFrom((com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest other) { + if (other == com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest.getDefaultInstance()) return this; + if (!other.getWorkspace().isEmpty()) { + workspace_ = other.workspace_; + onChanged(); + } + if (!other.getPath().isEmpty()) { + path_ = other.path_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object workspace_ = ""; + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The workspace. + */ + public java.lang.String getWorkspace() { + java.lang.Object ref = workspace_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + workspace_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for workspace. + */ + public com.google.protobuf.ByteString + getWorkspaceBytes() { + java.lang.Object ref = workspace_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + workspace_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The workspace to set. + * @return This builder for chaining. + */ + public Builder setWorkspace( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + workspace_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearWorkspace() { + + workspace_ = getDefaultInstance().getWorkspace(); + onChanged(); + return this; + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The bytes for workspace to set. + * @return This builder for chaining. + */ + public Builder setWorkspaceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + workspace_ = value; + onChanged(); + return this; + } + + private java.lang.Object path_ = ""; + /** + *
+     * Required. The directory's full path including directory name, relative to the
+     * workspace root.
+     * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The path. + */ + public java.lang.String getPath() { + java.lang.Object ref = path_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + path_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The directory's full path including directory name, relative to the
+     * workspace root.
+     * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for path. + */ + public com.google.protobuf.ByteString + getPathBytes() { + java.lang.Object ref = path_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + path_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The directory's full path including directory name, relative to the
+     * workspace root.
+     * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param value The path to set. + * @return This builder for chaining. + */ + public Builder setPath( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + path_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. The directory's full path including directory name, relative to the
+     * workspace root.
+     * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return This builder for chaining. + */ + public Builder clearPath() { + + path_ = getDefaultInstance().getPath(); + onChanged(); + return this; + } + /** + *
+     * Required. The directory's full path including directory name, relative to the
+     * workspace root.
+     * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param value The bytes for path to set. + * @return This builder for chaining. + */ + public Builder setPathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + path_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.RemoveDirectoryRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.RemoveDirectoryRequest) + private static final com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest(); + } + + public static com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RemoveDirectoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RemoveDirectoryRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RemoveDirectoryRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RemoveDirectoryRequestOrBuilder.java new file mode 100644 index 0000000..d65e898 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RemoveDirectoryRequestOrBuilder.java @@ -0,0 +1,51 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface RemoveDirectoryRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.RemoveDirectoryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The workspace. + */ + java.lang.String getWorkspace(); + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for workspace. + */ + com.google.protobuf.ByteString + getWorkspaceBytes(); + + /** + *
+   * Required. The directory's full path including directory name, relative to the
+   * workspace root.
+   * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The path. + */ + java.lang.String getPath(); + /** + *
+   * Required. The directory's full path including directory name, relative to the
+   * workspace root.
+   * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for path. + */ + com.google.protobuf.ByteString + getPathBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RemoveFileRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RemoveFileRequest.java new file mode 100644 index 0000000..6a5a535 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RemoveFileRequest.java @@ -0,0 +1,761 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * `RemoveFile` request message.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.RemoveFileRequest} + */ +public final class RemoveFileRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.RemoveFileRequest) + RemoveFileRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use RemoveFileRequest.newBuilder() to construct. + private RemoveFileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private RemoveFileRequest() { + workspace_ = ""; + path_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new RemoveFileRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private RemoveFileRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + workspace_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + path_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_RemoveFileRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_RemoveFileRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.RemoveFileRequest.class, com.google.cloud.dataform.v1beta1.RemoveFileRequest.Builder.class); + } + + public static final int WORKSPACE_FIELD_NUMBER = 1; + private volatile java.lang.Object workspace_; + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The workspace. + */ + @java.lang.Override + public java.lang.String getWorkspace() { + java.lang.Object ref = workspace_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + workspace_ = s; + return s; + } + } + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for workspace. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getWorkspaceBytes() { + java.lang.Object ref = workspace_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + workspace_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PATH_FIELD_NUMBER = 2; + private volatile java.lang.Object path_; + /** + *
+   * Required. The file's full path including filename, relative to the workspace root.
+   * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The path. + */ + @java.lang.Override + public java.lang.String getPath() { + java.lang.Object ref = path_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + path_ = s; + return s; + } + } + /** + *
+   * Required. The file's full path including filename, relative to the workspace root.
+   * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for path. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPathBytes() { + java.lang.Object ref = path_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + path_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workspace_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, path_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, workspace_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, path_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.RemoveFileRequest)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.RemoveFileRequest other = (com.google.cloud.dataform.v1beta1.RemoveFileRequest) obj; + + if (!getWorkspace() + .equals(other.getWorkspace())) return false; + if (!getPath() + .equals(other.getPath())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + WORKSPACE_FIELD_NUMBER; + hash = (53 * hash) + getWorkspace().hashCode(); + hash = (37 * hash) + PATH_FIELD_NUMBER; + hash = (53 * hash) + getPath().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.RemoveFileRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.RemoveFileRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.RemoveFileRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.RemoveFileRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.RemoveFileRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.RemoveFileRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.RemoveFileRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.RemoveFileRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.RemoveFileRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.RemoveFileRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.RemoveFileRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.RemoveFileRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.RemoveFileRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * `RemoveFile` request message.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.RemoveFileRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.RemoveFileRequest) + com.google.cloud.dataform.v1beta1.RemoveFileRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_RemoveFileRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_RemoveFileRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.RemoveFileRequest.class, com.google.cloud.dataform.v1beta1.RemoveFileRequest.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.RemoveFileRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + workspace_ = ""; + + path_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_RemoveFileRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.RemoveFileRequest getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.RemoveFileRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.RemoveFileRequest build() { + com.google.cloud.dataform.v1beta1.RemoveFileRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.RemoveFileRequest buildPartial() { + com.google.cloud.dataform.v1beta1.RemoveFileRequest result = new com.google.cloud.dataform.v1beta1.RemoveFileRequest(this); + result.workspace_ = workspace_; + result.path_ = path_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.RemoveFileRequest) { + return mergeFrom((com.google.cloud.dataform.v1beta1.RemoveFileRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.RemoveFileRequest other) { + if (other == com.google.cloud.dataform.v1beta1.RemoveFileRequest.getDefaultInstance()) return this; + if (!other.getWorkspace().isEmpty()) { + workspace_ = other.workspace_; + onChanged(); + } + if (!other.getPath().isEmpty()) { + path_ = other.path_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.RemoveFileRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.RemoveFileRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object workspace_ = ""; + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The workspace. + */ + public java.lang.String getWorkspace() { + java.lang.Object ref = workspace_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + workspace_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for workspace. + */ + public com.google.protobuf.ByteString + getWorkspaceBytes() { + java.lang.Object ref = workspace_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + workspace_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The workspace to set. + * @return This builder for chaining. + */ + public Builder setWorkspace( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + workspace_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearWorkspace() { + + workspace_ = getDefaultInstance().getWorkspace(); + onChanged(); + return this; + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The bytes for workspace to set. + * @return This builder for chaining. + */ + public Builder setWorkspaceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + workspace_ = value; + onChanged(); + return this; + } + + private java.lang.Object path_ = ""; + /** + *
+     * Required. The file's full path including filename, relative to the workspace root.
+     * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The path. + */ + public java.lang.String getPath() { + java.lang.Object ref = path_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + path_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The file's full path including filename, relative to the workspace root.
+     * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for path. + */ + public com.google.protobuf.ByteString + getPathBytes() { + java.lang.Object ref = path_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + path_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The file's full path including filename, relative to the workspace root.
+     * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param value The path to set. + * @return This builder for chaining. + */ + public Builder setPath( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + path_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. The file's full path including filename, relative to the workspace root.
+     * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return This builder for chaining. + */ + public Builder clearPath() { + + path_ = getDefaultInstance().getPath(); + onChanged(); + return this; + } + /** + *
+     * Required. The file's full path including filename, relative to the workspace root.
+     * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param value The bytes for path to set. + * @return This builder for chaining. + */ + public Builder setPathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + path_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.RemoveFileRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.RemoveFileRequest) + private static final com.google.cloud.dataform.v1beta1.RemoveFileRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.RemoveFileRequest(); + } + + public static com.google.cloud.dataform.v1beta1.RemoveFileRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RemoveFileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RemoveFileRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.RemoveFileRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RemoveFileRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RemoveFileRequestOrBuilder.java new file mode 100644 index 0000000..5cbb66b --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RemoveFileRequestOrBuilder.java @@ -0,0 +1,49 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface RemoveFileRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.RemoveFileRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The workspace. + */ + java.lang.String getWorkspace(); + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for workspace. + */ + com.google.protobuf.ByteString + getWorkspaceBytes(); + + /** + *
+   * Required. The file's full path including filename, relative to the workspace root.
+   * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The path. + */ + java.lang.String getPath(); + /** + *
+   * Required. The file's full path including filename, relative to the workspace root.
+   * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for path. + */ + com.google.protobuf.ByteString + getPathBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/Repository.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/Repository.java new file mode 100644 index 0000000..e9a021a --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/Repository.java @@ -0,0 +1,2142 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * Represents a Dataform Git repository.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.Repository} + */ +public final class Repository extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.Repository) + RepositoryOrBuilder { +private static final long serialVersionUID = 0L; + // Use Repository.newBuilder() to construct. + private Repository(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Repository() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Repository(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private Repository( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + case 18: { + com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.Builder subBuilder = null; + if (gitRemoteSettings_ != null) { + subBuilder = gitRemoteSettings_.toBuilder(); + } + gitRemoteSettings_ = input.readMessage(com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(gitRemoteSettings_); + gitRemoteSettings_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_Repository_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_Repository_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.Repository.class, com.google.cloud.dataform.v1beta1.Repository.Builder.class); + } + + public interface GitRemoteSettingsOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.Repository.GitRemoteSettings) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Required. The Git remote's URL.
+     * 
+ * + * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The url. + */ + java.lang.String getUrl(); + /** + *
+     * Required. The Git remote's URL.
+     * 
+ * + * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for url. + */ + com.google.protobuf.ByteString + getUrlBytes(); + + /** + *
+     * Required. The Git remote's default branch name.
+     * 
+ * + * string default_branch = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The defaultBranch. + */ + java.lang.String getDefaultBranch(); + /** + *
+     * Required. The Git remote's default branch name.
+     * 
+ * + * string default_branch = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for defaultBranch. + */ + com.google.protobuf.ByteString + getDefaultBranchBytes(); + + /** + *
+     * Required. The name of the Secret Manager secret version to use as an
+     * authentication token for Git operations. Must be in the format
+     * `projects/*/secrets/*/versions/*`.
+     * 
+ * + * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The authenticationTokenSecretVersion. + */ + java.lang.String getAuthenticationTokenSecretVersion(); + /** + *
+     * Required. The name of the Secret Manager secret version to use as an
+     * authentication token for Git operations. Must be in the format
+     * `projects/*/secrets/*/versions/*`.
+     * 
+ * + * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for authenticationTokenSecretVersion. + */ + com.google.protobuf.ByteString + getAuthenticationTokenSecretVersionBytes(); + + /** + *
+     * Output only. Indicates the status of the Git access token.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The enum numeric value on the wire for tokenStatus. + */ + int getTokenStatusValue(); + /** + *
+     * Output only. Indicates the status of the Git access token.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The tokenStatus. + */ + com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus getTokenStatus(); + } + /** + *
+   * Controls Git remote configuration for a repository.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.Repository.GitRemoteSettings} + */ + public static final class GitRemoteSettings extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.Repository.GitRemoteSettings) + GitRemoteSettingsOrBuilder { + private static final long serialVersionUID = 0L; + // Use GitRemoteSettings.newBuilder() to construct. + private GitRemoteSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private GitRemoteSettings() { + url_ = ""; + defaultBranch_ = ""; + authenticationTokenSecretVersion_ = ""; + tokenStatus_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new GitRemoteSettings(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private GitRemoteSettings( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + url_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + defaultBranch_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + authenticationTokenSecretVersion_ = s; + break; + } + case 32: { + int rawValue = input.readEnum(); + + tokenStatus_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_Repository_GitRemoteSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_Repository_GitRemoteSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.class, com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.Builder.class); + } + + /** + *
+     * Indicates the status of a Git authentication token.
+     * 
+ * + * Protobuf enum {@code google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus} + */ + public enum TokenStatus + implements com.google.protobuf.ProtocolMessageEnum { + /** + *
+       * Default value. This value is unused.
+       * 
+ * + * TOKEN_STATUS_UNSPECIFIED = 0; + */ + TOKEN_STATUS_UNSPECIFIED(0), + /** + *
+       * The token could not be found in Secret Manager (or the Dataform
+       * Service Account did not have permission to access it).
+       * 
+ * + * NOT_FOUND = 1; + */ + NOT_FOUND(1), + /** + *
+       * The token could not be used to authenticate against the Git remote.
+       * 
+ * + * INVALID = 2; + */ + INVALID(2), + /** + *
+       * The token was used successfully to authenticate against the Git remote.
+       * 
+ * + * VALID = 3; + */ + VALID(3), + UNRECOGNIZED(-1), + ; + + /** + *
+       * Default value. This value is unused.
+       * 
+ * + * TOKEN_STATUS_UNSPECIFIED = 0; + */ + public static final int TOKEN_STATUS_UNSPECIFIED_VALUE = 0; + /** + *
+       * The token could not be found in Secret Manager (or the Dataform
+       * Service Account did not have permission to access it).
+       * 
+ * + * NOT_FOUND = 1; + */ + public static final int NOT_FOUND_VALUE = 1; + /** + *
+       * The token could not be used to authenticate against the Git remote.
+       * 
+ * + * INVALID = 2; + */ + public static final int INVALID_VALUE = 2; + /** + *
+       * The token was used successfully to authenticate against the Git remote.
+       * 
+ * + * VALID = 3; + */ + public static final int VALID_VALUE = 3; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static TokenStatus valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static TokenStatus forNumber(int value) { + switch (value) { + case 0: return TOKEN_STATUS_UNSPECIFIED; + case 1: return NOT_FOUND; + case 2: return INVALID; + case 3: return VALID; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + TokenStatus> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public TokenStatus findValueByNumber(int number) { + return TokenStatus.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.getDescriptor().getEnumTypes().get(0); + } + + private static final TokenStatus[] VALUES = values(); + + public static TokenStatus valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private TokenStatus(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus) + } + + public static final int URL_FIELD_NUMBER = 1; + private volatile java.lang.Object url_; + /** + *
+     * Required. The Git remote's URL.
+     * 
+ * + * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The url. + */ + @java.lang.Override + public java.lang.String getUrl() { + java.lang.Object ref = url_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + url_ = s; + return s; + } + } + /** + *
+     * Required. The Git remote's URL.
+     * 
+ * + * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for url. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getUrlBytes() { + java.lang.Object ref = url_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + url_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DEFAULT_BRANCH_FIELD_NUMBER = 2; + private volatile java.lang.Object defaultBranch_; + /** + *
+     * Required. The Git remote's default branch name.
+     * 
+ * + * string default_branch = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The defaultBranch. + */ + @java.lang.Override + public java.lang.String getDefaultBranch() { + java.lang.Object ref = defaultBranch_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + defaultBranch_ = s; + return s; + } + } + /** + *
+     * Required. The Git remote's default branch name.
+     * 
+ * + * string default_branch = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for defaultBranch. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDefaultBranchBytes() { + java.lang.Object ref = defaultBranch_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + defaultBranch_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int AUTHENTICATION_TOKEN_SECRET_VERSION_FIELD_NUMBER = 3; + private volatile java.lang.Object authenticationTokenSecretVersion_; + /** + *
+     * Required. The name of the Secret Manager secret version to use as an
+     * authentication token for Git operations. Must be in the format
+     * `projects/*/secrets/*/versions/*`.
+     * 
+ * + * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The authenticationTokenSecretVersion. + */ + @java.lang.Override + public java.lang.String getAuthenticationTokenSecretVersion() { + java.lang.Object ref = authenticationTokenSecretVersion_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + authenticationTokenSecretVersion_ = s; + return s; + } + } + /** + *
+     * Required. The name of the Secret Manager secret version to use as an
+     * authentication token for Git operations. Must be in the format
+     * `projects/*/secrets/*/versions/*`.
+     * 
+ * + * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for authenticationTokenSecretVersion. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getAuthenticationTokenSecretVersionBytes() { + java.lang.Object ref = authenticationTokenSecretVersion_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + authenticationTokenSecretVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TOKEN_STATUS_FIELD_NUMBER = 4; + private int tokenStatus_; + /** + *
+     * Output only. Indicates the status of the Git access token.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The enum numeric value on the wire for tokenStatus. + */ + @java.lang.Override public int getTokenStatusValue() { + return tokenStatus_; + } + /** + *
+     * Output only. Indicates the status of the Git access token.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The tokenStatus. + */ + @java.lang.Override public com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus getTokenStatus() { + @SuppressWarnings("deprecation") + com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus result = com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus.valueOf(tokenStatus_); + return result == null ? com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus.UNRECOGNIZED : result; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, url_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultBranch_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, defaultBranch_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(authenticationTokenSecretVersion_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, authenticationTokenSecretVersion_); + } + if (tokenStatus_ != com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus.TOKEN_STATUS_UNSPECIFIED.getNumber()) { + output.writeEnum(4, tokenStatus_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, url_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultBranch_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, defaultBranch_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(authenticationTokenSecretVersion_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, authenticationTokenSecretVersion_); + } + if (tokenStatus_ != com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus.TOKEN_STATUS_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, tokenStatus_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings other = (com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings) obj; + + if (!getUrl() + .equals(other.getUrl())) return false; + if (!getDefaultBranch() + .equals(other.getDefaultBranch())) return false; + if (!getAuthenticationTokenSecretVersion() + .equals(other.getAuthenticationTokenSecretVersion())) return false; + if (tokenStatus_ != other.tokenStatus_) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + URL_FIELD_NUMBER; + hash = (53 * hash) + getUrl().hashCode(); + hash = (37 * hash) + DEFAULT_BRANCH_FIELD_NUMBER; + hash = (53 * hash) + getDefaultBranch().hashCode(); + hash = (37 * hash) + AUTHENTICATION_TOKEN_SECRET_VERSION_FIELD_NUMBER; + hash = (53 * hash) + getAuthenticationTokenSecretVersion().hashCode(); + hash = (37 * hash) + TOKEN_STATUS_FIELD_NUMBER; + hash = (53 * hash) + tokenStatus_; + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Controls Git remote configuration for a repository.
+     * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.Repository.GitRemoteSettings} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.Repository.GitRemoteSettings) + com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettingsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_Repository_GitRemoteSettings_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_Repository_GitRemoteSettings_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.class, com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + url_ = ""; + + defaultBranch_ = ""; + + authenticationTokenSecretVersion_ = ""; + + tokenStatus_ = 0; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_Repository_GitRemoteSettings_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings build() { + com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings buildPartial() { + com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings result = new com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings(this); + result.url_ = url_; + result.defaultBranch_ = defaultBranch_; + result.authenticationTokenSecretVersion_ = authenticationTokenSecretVersion_; + result.tokenStatus_ = tokenStatus_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings) { + return mergeFrom((com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings other) { + if (other == com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.getDefaultInstance()) return this; + if (!other.getUrl().isEmpty()) { + url_ = other.url_; + onChanged(); + } + if (!other.getDefaultBranch().isEmpty()) { + defaultBranch_ = other.defaultBranch_; + onChanged(); + } + if (!other.getAuthenticationTokenSecretVersion().isEmpty()) { + authenticationTokenSecretVersion_ = other.authenticationTokenSecretVersion_; + onChanged(); + } + if (other.tokenStatus_ != 0) { + setTokenStatusValue(other.getTokenStatusValue()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object url_ = ""; + /** + *
+       * Required. The Git remote's URL.
+       * 
+ * + * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The url. + */ + public java.lang.String getUrl() { + java.lang.Object ref = url_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + url_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Required. The Git remote's URL.
+       * 
+ * + * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for url. + */ + public com.google.protobuf.ByteString + getUrlBytes() { + java.lang.Object ref = url_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + url_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Required. The Git remote's URL.
+       * 
+ * + * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param value The url to set. + * @return This builder for chaining. + */ + public Builder setUrl( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + url_ = value; + onChanged(); + return this; + } + /** + *
+       * Required. The Git remote's URL.
+       * 
+ * + * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return This builder for chaining. + */ + public Builder clearUrl() { + + url_ = getDefaultInstance().getUrl(); + onChanged(); + return this; + } + /** + *
+       * Required. The Git remote's URL.
+       * 
+ * + * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param value The bytes for url to set. + * @return This builder for chaining. + */ + public Builder setUrlBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + url_ = value; + onChanged(); + return this; + } + + private java.lang.Object defaultBranch_ = ""; + /** + *
+       * Required. The Git remote's default branch name.
+       * 
+ * + * string default_branch = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The defaultBranch. + */ + public java.lang.String getDefaultBranch() { + java.lang.Object ref = defaultBranch_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + defaultBranch_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Required. The Git remote's default branch name.
+       * 
+ * + * string default_branch = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for defaultBranch. + */ + public com.google.protobuf.ByteString + getDefaultBranchBytes() { + java.lang.Object ref = defaultBranch_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + defaultBranch_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Required. The Git remote's default branch name.
+       * 
+ * + * string default_branch = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param value The defaultBranch to set. + * @return This builder for chaining. + */ + public Builder setDefaultBranch( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + defaultBranch_ = value; + onChanged(); + return this; + } + /** + *
+       * Required. The Git remote's default branch name.
+       * 
+ * + * string default_branch = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return This builder for chaining. + */ + public Builder clearDefaultBranch() { + + defaultBranch_ = getDefaultInstance().getDefaultBranch(); + onChanged(); + return this; + } + /** + *
+       * Required. The Git remote's default branch name.
+       * 
+ * + * string default_branch = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param value The bytes for defaultBranch to set. + * @return This builder for chaining. + */ + public Builder setDefaultBranchBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + defaultBranch_ = value; + onChanged(); + return this; + } + + private java.lang.Object authenticationTokenSecretVersion_ = ""; + /** + *
+       * Required. The name of the Secret Manager secret version to use as an
+       * authentication token for Git operations. Must be in the format
+       * `projects/*/secrets/*/versions/*`.
+       * 
+ * + * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The authenticationTokenSecretVersion. + */ + public java.lang.String getAuthenticationTokenSecretVersion() { + java.lang.Object ref = authenticationTokenSecretVersion_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + authenticationTokenSecretVersion_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Required. The name of the Secret Manager secret version to use as an
+       * authentication token for Git operations. Must be in the format
+       * `projects/*/secrets/*/versions/*`.
+       * 
+ * + * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for authenticationTokenSecretVersion. + */ + public com.google.protobuf.ByteString + getAuthenticationTokenSecretVersionBytes() { + java.lang.Object ref = authenticationTokenSecretVersion_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + authenticationTokenSecretVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Required. The name of the Secret Manager secret version to use as an
+       * authentication token for Git operations. Must be in the format
+       * `projects/*/secrets/*/versions/*`.
+       * 
+ * + * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The authenticationTokenSecretVersion to set. + * @return This builder for chaining. + */ + public Builder setAuthenticationTokenSecretVersion( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + authenticationTokenSecretVersion_ = value; + onChanged(); + return this; + } + /** + *
+       * Required. The name of the Secret Manager secret version to use as an
+       * authentication token for Git operations. Must be in the format
+       * `projects/*/secrets/*/versions/*`.
+       * 
+ * + * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearAuthenticationTokenSecretVersion() { + + authenticationTokenSecretVersion_ = getDefaultInstance().getAuthenticationTokenSecretVersion(); + onChanged(); + return this; + } + /** + *
+       * Required. The name of the Secret Manager secret version to use as an
+       * authentication token for Git operations. Must be in the format
+       * `projects/*/secrets/*/versions/*`.
+       * 
+ * + * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The bytes for authenticationTokenSecretVersion to set. + * @return This builder for chaining. + */ + public Builder setAuthenticationTokenSecretVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + authenticationTokenSecretVersion_ = value; + onChanged(); + return this; + } + + private int tokenStatus_ = 0; + /** + *
+       * Output only. Indicates the status of the Git access token.
+       * 
+ * + * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The enum numeric value on the wire for tokenStatus. + */ + @java.lang.Override public int getTokenStatusValue() { + return tokenStatus_; + } + /** + *
+       * Output only. Indicates the status of the Git access token.
+       * 
+ * + * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param value The enum numeric value on the wire for tokenStatus to set. + * @return This builder for chaining. + */ + public Builder setTokenStatusValue(int value) { + + tokenStatus_ = value; + onChanged(); + return this; + } + /** + *
+       * Output only. Indicates the status of the Git access token.
+       * 
+ * + * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The tokenStatus. + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus getTokenStatus() { + @SuppressWarnings("deprecation") + com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus result = com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus.valueOf(tokenStatus_); + return result == null ? com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus.UNRECOGNIZED : result; + } + /** + *
+       * Output only. Indicates the status of the Git access token.
+       * 
+ * + * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param value The tokenStatus to set. + * @return This builder for chaining. + */ + public Builder setTokenStatus(com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus value) { + if (value == null) { + throw new NullPointerException(); + } + + tokenStatus_ = value.getNumber(); + onChanged(); + return this; + } + /** + *
+       * Output only. Indicates the status of the Git access token.
+       * 
+ * + * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return This builder for chaining. + */ + public Builder clearTokenStatus() { + + tokenStatus_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.Repository.GitRemoteSettings) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.Repository.GitRemoteSettings) + private static final com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings(); + } + + public static com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GitRemoteSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GitRemoteSettings(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + *
+   * Output only. The repository's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + *
+   * Output only. The repository's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int GIT_REMOTE_SETTINGS_FIELD_NUMBER = 2; + private com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings gitRemoteSettings_; + /** + *
+   * Optional. If set, configures this repository to be linked to a Git remote.
+   * 
+ * + * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the gitRemoteSettings field is set. + */ + @java.lang.Override + public boolean hasGitRemoteSettings() { + return gitRemoteSettings_ != null; + } + /** + *
+   * Optional. If set, configures this repository to be linked to a Git remote.
+   * 
+ * + * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The gitRemoteSettings. + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings getGitRemoteSettings() { + return gitRemoteSettings_ == null ? com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.getDefaultInstance() : gitRemoteSettings_; + } + /** + *
+   * Optional. If set, configures this repository to be linked to a Git remote.
+   * 
+ * + * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettingsOrBuilder getGitRemoteSettingsOrBuilder() { + return getGitRemoteSettings(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (gitRemoteSettings_ != null) { + output.writeMessage(2, getGitRemoteSettings()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (gitRemoteSettings_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getGitRemoteSettings()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.Repository)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.Repository other = (com.google.cloud.dataform.v1beta1.Repository) obj; + + if (!getName() + .equals(other.getName())) return false; + if (hasGitRemoteSettings() != other.hasGitRemoteSettings()) return false; + if (hasGitRemoteSettings()) { + if (!getGitRemoteSettings() + .equals(other.getGitRemoteSettings())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + if (hasGitRemoteSettings()) { + hash = (37 * hash) + GIT_REMOTE_SETTINGS_FIELD_NUMBER; + hash = (53 * hash) + getGitRemoteSettings().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.Repository parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.Repository parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.Repository parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.Repository parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.Repository parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.Repository parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.Repository parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.Repository parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.Repository parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.Repository parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.Repository parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.Repository parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.Repository prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * Represents a Dataform Git repository.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.Repository} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.Repository) + com.google.cloud.dataform.v1beta1.RepositoryOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_Repository_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_Repository_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.Repository.class, com.google.cloud.dataform.v1beta1.Repository.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.Repository.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + + if (gitRemoteSettingsBuilder_ == null) { + gitRemoteSettings_ = null; + } else { + gitRemoteSettings_ = null; + gitRemoteSettingsBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_Repository_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.Repository getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.Repository.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.Repository build() { + com.google.cloud.dataform.v1beta1.Repository result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.Repository buildPartial() { + com.google.cloud.dataform.v1beta1.Repository result = new com.google.cloud.dataform.v1beta1.Repository(this); + result.name_ = name_; + if (gitRemoteSettingsBuilder_ == null) { + result.gitRemoteSettings_ = gitRemoteSettings_; + } else { + result.gitRemoteSettings_ = gitRemoteSettingsBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.Repository) { + return mergeFrom((com.google.cloud.dataform.v1beta1.Repository)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.Repository other) { + if (other == com.google.cloud.dataform.v1beta1.Repository.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + if (other.hasGitRemoteSettings()) { + mergeGitRemoteSettings(other.getGitRemoteSettings()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.Repository parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.Repository) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object name_ = ""; + /** + *
+     * Output only. The repository's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Output only. The repository's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Output only. The repository's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + *
+     * Output only. The repository's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + *
+     * Output only. The repository's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + + private com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings gitRemoteSettings_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings, com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.Builder, com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettingsOrBuilder> gitRemoteSettingsBuilder_; + /** + *
+     * Optional. If set, configures this repository to be linked to a Git remote.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the gitRemoteSettings field is set. + */ + public boolean hasGitRemoteSettings() { + return gitRemoteSettingsBuilder_ != null || gitRemoteSettings_ != null; + } + /** + *
+     * Optional. If set, configures this repository to be linked to a Git remote.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The gitRemoteSettings. + */ + public com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings getGitRemoteSettings() { + if (gitRemoteSettingsBuilder_ == null) { + return gitRemoteSettings_ == null ? com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.getDefaultInstance() : gitRemoteSettings_; + } else { + return gitRemoteSettingsBuilder_.getMessage(); + } + } + /** + *
+     * Optional. If set, configures this repository to be linked to a Git remote.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder setGitRemoteSettings(com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings value) { + if (gitRemoteSettingsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + gitRemoteSettings_ = value; + onChanged(); + } else { + gitRemoteSettingsBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * Optional. If set, configures this repository to be linked to a Git remote.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder setGitRemoteSettings( + com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.Builder builderForValue) { + if (gitRemoteSettingsBuilder_ == null) { + gitRemoteSettings_ = builderForValue.build(); + onChanged(); + } else { + gitRemoteSettingsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * Optional. If set, configures this repository to be linked to a Git remote.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder mergeGitRemoteSettings(com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings value) { + if (gitRemoteSettingsBuilder_ == null) { + if (gitRemoteSettings_ != null) { + gitRemoteSettings_ = + com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.newBuilder(gitRemoteSettings_).mergeFrom(value).buildPartial(); + } else { + gitRemoteSettings_ = value; + } + onChanged(); + } else { + gitRemoteSettingsBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * Optional. If set, configures this repository to be linked to a Git remote.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder clearGitRemoteSettings() { + if (gitRemoteSettingsBuilder_ == null) { + gitRemoteSettings_ = null; + onChanged(); + } else { + gitRemoteSettings_ = null; + gitRemoteSettingsBuilder_ = null; + } + + return this; + } + /** + *
+     * Optional. If set, configures this repository to be linked to a Git remote.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.Builder getGitRemoteSettingsBuilder() { + + onChanged(); + return getGitRemoteSettingsFieldBuilder().getBuilder(); + } + /** + *
+     * Optional. If set, configures this repository to be linked to a Git remote.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettingsOrBuilder getGitRemoteSettingsOrBuilder() { + if (gitRemoteSettingsBuilder_ != null) { + return gitRemoteSettingsBuilder_.getMessageOrBuilder(); + } else { + return gitRemoteSettings_ == null ? + com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.getDefaultInstance() : gitRemoteSettings_; + } + } + /** + *
+     * Optional. If set, configures this repository to be linked to a Git remote.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings, com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.Builder, com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettingsOrBuilder> + getGitRemoteSettingsFieldBuilder() { + if (gitRemoteSettingsBuilder_ == null) { + gitRemoteSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings, com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.Builder, com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettingsOrBuilder>( + getGitRemoteSettings(), + getParentForChildren(), + isClean()); + gitRemoteSettings_ = null; + } + return gitRemoteSettingsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.Repository) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.Repository) + private static final com.google.cloud.dataform.v1beta1.Repository DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.Repository(); + } + + public static com.google.cloud.dataform.v1beta1.Repository getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Repository parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Repository(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.Repository getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RepositoryName.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RepositoryName.java new file mode 100644 index 0000000..bd724ce --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RepositoryName.java @@ -0,0 +1,223 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dataform.v1beta1; + +import com.google.api.pathtemplate.PathTemplate; +import com.google.api.resourcenames.ResourceName; +import com.google.common.base.Preconditions; +import com.google.common.collect.ImmutableMap; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +@Generated("by gapic-generator-java") +public class RepositoryName implements ResourceName { + private static final PathTemplate PROJECT_LOCATION_REPOSITORY = + PathTemplate.createWithoutUrlEncoding( + "projects/{project}/locations/{location}/repositories/{repository}"); + private volatile Map fieldValuesMap; + private final String project; + private final String location; + private final String repository; + + @Deprecated + protected RepositoryName() { + project = null; + location = null; + repository = null; + } + + private RepositoryName(Builder builder) { + project = Preconditions.checkNotNull(builder.getProject()); + location = Preconditions.checkNotNull(builder.getLocation()); + repository = Preconditions.checkNotNull(builder.getRepository()); + } + + public String getProject() { + return project; + } + + public String getLocation() { + return location; + } + + public String getRepository() { + return repository; + } + + public static Builder newBuilder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + public static RepositoryName of(String project, String location, String repository) { + return newBuilder().setProject(project).setLocation(location).setRepository(repository).build(); + } + + public static String format(String project, String location, String repository) { + return newBuilder() + .setProject(project) + .setLocation(location) + .setRepository(repository) + .build() + .toString(); + } + + public static RepositoryName parse(String formattedString) { + if (formattedString.isEmpty()) { + return null; + } + Map matchMap = + PROJECT_LOCATION_REPOSITORY.validatedMatch( + formattedString, "RepositoryName.parse: formattedString not in valid format"); + return of(matchMap.get("project"), matchMap.get("location"), matchMap.get("repository")); + } + + public static List parseList(List formattedStrings) { + List list = new ArrayList<>(formattedStrings.size()); + for (String formattedString : formattedStrings) { + list.add(parse(formattedString)); + } + return list; + } + + public static List toStringList(List values) { + List list = new ArrayList<>(values.size()); + for (RepositoryName value : values) { + if (value == null) { + list.add(""); + } else { + list.add(value.toString()); + } + } + return list; + } + + public static boolean isParsableFrom(String formattedString) { + return PROJECT_LOCATION_REPOSITORY.matches(formattedString); + } + + @Override + public Map getFieldValuesMap() { + if (fieldValuesMap == null) { + synchronized (this) { + if (fieldValuesMap == null) { + ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); + if (project != null) { + fieldMapBuilder.put("project", project); + } + if (location != null) { + fieldMapBuilder.put("location", location); + } + if (repository != null) { + fieldMapBuilder.put("repository", repository); + } + fieldValuesMap = fieldMapBuilder.build(); + } + } + } + return fieldValuesMap; + } + + public String getFieldValue(String fieldName) { + return getFieldValuesMap().get(fieldName); + } + + @Override + public String toString() { + return PROJECT_LOCATION_REPOSITORY.instantiate( + "project", project, "location", location, "repository", repository); + } + + @Override + public boolean equals(Object o) { + if (o == this) { + return true; + } + if (o != null || getClass() == o.getClass()) { + RepositoryName that = ((RepositoryName) o); + return Objects.equals(this.project, that.project) + && Objects.equals(this.location, that.location) + && Objects.equals(this.repository, that.repository); + } + return false; + } + + @Override + public int hashCode() { + int h = 1; + h *= 1000003; + h ^= Objects.hashCode(project); + h *= 1000003; + h ^= Objects.hashCode(location); + h *= 1000003; + h ^= Objects.hashCode(repository); + return h; + } + + /** Builder for projects/{project}/locations/{location}/repositories/{repository}. */ + public static class Builder { + private String project; + private String location; + private String repository; + + protected Builder() {} + + public String getProject() { + return project; + } + + public String getLocation() { + return location; + } + + public String getRepository() { + return repository; + } + + public Builder setProject(String project) { + this.project = project; + return this; + } + + public Builder setLocation(String location) { + this.location = location; + return this; + } + + public Builder setRepository(String repository) { + this.repository = repository; + return this; + } + + private Builder(RepositoryName repositoryName) { + this.project = repositoryName.project; + this.location = repositoryName.location; + this.repository = repositoryName.repository; + } + + public RepositoryName build() { + return new RepositoryName(this); + } + } +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RepositoryOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RepositoryOrBuilder.java new file mode 100644 index 0000000..d93943c --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RepositoryOrBuilder.java @@ -0,0 +1,56 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface RepositoryOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.Repository) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Output only. The repository's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Output only. The repository's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + *
+   * Optional. If set, configures this repository to be linked to a Git remote.
+   * 
+ * + * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the gitRemoteSettings field is set. + */ + boolean hasGitRemoteSettings(); + /** + *
+   * Optional. If set, configures this repository to be linked to a Git remote.
+   * 
+ * + * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The gitRemoteSettings. + */ + com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings getGitRemoteSettings(); + /** + *
+   * Optional. If set, configures this repository to be linked to a Git remote.
+   * 
+ * + * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettingsOrBuilder getGitRemoteSettingsOrBuilder(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ResetWorkspaceChangesRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ResetWorkspaceChangesRequest.java new file mode 100644 index 0000000..a9c5ac0 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ResetWorkspaceChangesRequest.java @@ -0,0 +1,936 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * `ResetWorkspaceChanges` request message.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest} + */ +public final class ResetWorkspaceChangesRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest) + ResetWorkspaceChangesRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use ResetWorkspaceChangesRequest.newBuilder() to construct. + private ResetWorkspaceChangesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ResetWorkspaceChangesRequest() { + name_ = ""; + paths_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ResetWorkspaceChangesRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ResetWorkspaceChangesRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + paths_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + paths_.add(s); + break; + } + case 24: { + + clean_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + paths_ = paths_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ResetWorkspaceChangesRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ResetWorkspaceChangesRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest.class, com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PATHS_FIELD_NUMBER = 2; + private com.google.protobuf.LazyStringList paths_; + /** + *
+   * Optional. Full file paths to reset back to their committed state including filename,
+   * rooted at workspace root. If left empty, all files will be reset.
+   * 
+ * + * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return A list containing the paths. + */ + public com.google.protobuf.ProtocolStringList + getPathsList() { + return paths_; + } + /** + *
+   * Optional. Full file paths to reset back to their committed state including filename,
+   * rooted at workspace root. If left empty, all files will be reset.
+   * 
+ * + * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The count of paths. + */ + public int getPathsCount() { + return paths_.size(); + } + /** + *
+   * Optional. Full file paths to reset back to their committed state including filename,
+   * rooted at workspace root. If left empty, all files will be reset.
+   * 
+ * + * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param index The index of the element to return. + * @return The paths at the given index. + */ + public java.lang.String getPaths(int index) { + return paths_.get(index); + } + /** + *
+   * Optional. Full file paths to reset back to their committed state including filename,
+   * rooted at workspace root. If left empty, all files will be reset.
+   * 
+ * + * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param index The index of the value to return. + * @return The bytes of the paths at the given index. + */ + public com.google.protobuf.ByteString + getPathsBytes(int index) { + return paths_.getByteString(index); + } + + public static final int CLEAN_FIELD_NUMBER = 3; + private boolean clean_; + /** + *
+   * Optional. If set to true, untracked files will be deleted.
+   * 
+ * + * bool clean = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The clean. + */ + @java.lang.Override + public boolean getClean() { + return clean_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + for (int i = 0; i < paths_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, paths_.getRaw(i)); + } + if (clean_ != false) { + output.writeBool(3, clean_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + { + int dataSize = 0; + for (int i = 0; i < paths_.size(); i++) { + dataSize += computeStringSizeNoTag(paths_.getRaw(i)); + } + size += dataSize; + size += 1 * getPathsList().size(); + } + if (clean_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, clean_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest other = (com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getPathsList() + .equals(other.getPathsList())) return false; + if (getClean() + != other.getClean()) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + if (getPathsCount() > 0) { + hash = (37 * hash) + PATHS_FIELD_NUMBER; + hash = (53 * hash) + getPathsList().hashCode(); + } + hash = (37 * hash) + CLEAN_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getClean()); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * `ResetWorkspaceChanges` request message.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest) + com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ResetWorkspaceChangesRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ResetWorkspaceChangesRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest.class, com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + + paths_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + clean_ = false; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ResetWorkspaceChangesRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest build() { + com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest buildPartial() { + com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest result = new com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest(this); + int from_bitField0_ = bitField0_; + result.name_ = name_; + if (((bitField0_ & 0x00000001) != 0)) { + paths_ = paths_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.paths_ = paths_; + result.clean_ = clean_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest) { + return mergeFrom((com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest other) { + if (other == com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + if (!other.paths_.isEmpty()) { + if (paths_.isEmpty()) { + paths_ = other.paths_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensurePathsIsMutable(); + paths_.addAll(other.paths_); + } + onChanged(); + } + if (other.getClean() != false) { + setClean(other.getClean()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private java.lang.Object name_ = ""; + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList paths_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensurePathsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + paths_ = new com.google.protobuf.LazyStringArrayList(paths_); + bitField0_ |= 0x00000001; + } + } + /** + *
+     * Optional. Full file paths to reset back to their committed state including filename,
+     * rooted at workspace root. If left empty, all files will be reset.
+     * 
+ * + * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return A list containing the paths. + */ + public com.google.protobuf.ProtocolStringList + getPathsList() { + return paths_.getUnmodifiableView(); + } + /** + *
+     * Optional. Full file paths to reset back to their committed state including filename,
+     * rooted at workspace root. If left empty, all files will be reset.
+     * 
+ * + * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The count of paths. + */ + public int getPathsCount() { + return paths_.size(); + } + /** + *
+     * Optional. Full file paths to reset back to their committed state including filename,
+     * rooted at workspace root. If left empty, all files will be reset.
+     * 
+ * + * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param index The index of the element to return. + * @return The paths at the given index. + */ + public java.lang.String getPaths(int index) { + return paths_.get(index); + } + /** + *
+     * Optional. Full file paths to reset back to their committed state including filename,
+     * rooted at workspace root. If left empty, all files will be reset.
+     * 
+ * + * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param index The index of the value to return. + * @return The bytes of the paths at the given index. + */ + public com.google.protobuf.ByteString + getPathsBytes(int index) { + return paths_.getByteString(index); + } + /** + *
+     * Optional. Full file paths to reset back to their committed state including filename,
+     * rooted at workspace root. If left empty, all files will be reset.
+     * 
+ * + * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param index The index to set the value at. + * @param value The paths to set. + * @return This builder for chaining. + */ + public Builder setPaths( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensurePathsIsMutable(); + paths_.set(index, value); + onChanged(); + return this; + } + /** + *
+     * Optional. Full file paths to reset back to their committed state including filename,
+     * rooted at workspace root. If left empty, all files will be reset.
+     * 
+ * + * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The paths to add. + * @return This builder for chaining. + */ + public Builder addPaths( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensurePathsIsMutable(); + paths_.add(value); + onChanged(); + return this; + } + /** + *
+     * Optional. Full file paths to reset back to their committed state including filename,
+     * rooted at workspace root. If left empty, all files will be reset.
+     * 
+ * + * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param values The paths to add. + * @return This builder for chaining. + */ + public Builder addAllPaths( + java.lang.Iterable values) { + ensurePathsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, paths_); + onChanged(); + return this; + } + /** + *
+     * Optional. Full file paths to reset back to their committed state including filename,
+     * rooted at workspace root. If left empty, all files will be reset.
+     * 
+ * + * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearPaths() { + paths_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+     * Optional. Full file paths to reset back to their committed state including filename,
+     * rooted at workspace root. If left empty, all files will be reset.
+     * 
+ * + * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The bytes of the paths to add. + * @return This builder for chaining. + */ + public Builder addPathsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensurePathsIsMutable(); + paths_.add(value); + onChanged(); + return this; + } + + private boolean clean_ ; + /** + *
+     * Optional. If set to true, untracked files will be deleted.
+     * 
+ * + * bool clean = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The clean. + */ + @java.lang.Override + public boolean getClean() { + return clean_; + } + /** + *
+     * Optional. If set to true, untracked files will be deleted.
+     * 
+ * + * bool clean = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The clean to set. + * @return This builder for chaining. + */ + public Builder setClean(boolean value) { + + clean_ = value; + onChanged(); + return this; + } + /** + *
+     * Optional. If set to true, untracked files will be deleted.
+     * 
+ * + * bool clean = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearClean() { + + clean_ = false; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest) + private static final com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest(); + } + + public static com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResetWorkspaceChangesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResetWorkspaceChangesRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ResetWorkspaceChangesRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ResetWorkspaceChangesRequestOrBuilder.java new file mode 100644 index 0000000..37d15e6 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ResetWorkspaceChangesRequestOrBuilder.java @@ -0,0 +1,84 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface ResetWorkspaceChangesRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + *
+   * Optional. Full file paths to reset back to their committed state including filename,
+   * rooted at workspace root. If left empty, all files will be reset.
+   * 
+ * + * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return A list containing the paths. + */ + java.util.List + getPathsList(); + /** + *
+   * Optional. Full file paths to reset back to their committed state including filename,
+   * rooted at workspace root. If left empty, all files will be reset.
+   * 
+ * + * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The count of paths. + */ + int getPathsCount(); + /** + *
+   * Optional. Full file paths to reset back to their committed state including filename,
+   * rooted at workspace root. If left empty, all files will be reset.
+   * 
+ * + * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param index The index of the element to return. + * @return The paths at the given index. + */ + java.lang.String getPaths(int index); + /** + *
+   * Optional. Full file paths to reset back to their committed state including filename,
+   * rooted at workspace root. If left empty, all files will be reset.
+   * 
+ * + * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param index The index of the value to return. + * @return The bytes of the paths at the given index. + */ + com.google.protobuf.ByteString + getPathsBytes(int index); + + /** + *
+   * Optional. If set to true, untracked files will be deleted.
+   * 
+ * + * bool clean = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return The clean. + */ + boolean getClean(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/Target.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/Target.java new file mode 100644 index 0000000..e9d8036 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/Target.java @@ -0,0 +1,929 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * Represents an action identifier. If the action writes output, the output
+ * will be written to the referenced database object.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.Target} + */ +public final class Target extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.Target) + TargetOrBuilder { +private static final long serialVersionUID = 0L; + // Use Target.newBuilder() to construct. + private Target(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Target() { + database_ = ""; + schema_ = ""; + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Target(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private Target( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + database_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + schema_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_Target_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_Target_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.Target.class, com.google.cloud.dataform.v1beta1.Target.Builder.class); + } + + public static final int DATABASE_FIELD_NUMBER = 1; + private volatile java.lang.Object database_; + /** + *
+   * The action's database (Google Cloud project ID) .
+   * 
+ * + * string database = 1; + * @return The database. + */ + @java.lang.Override + public java.lang.String getDatabase() { + java.lang.Object ref = database_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + database_ = s; + return s; + } + } + /** + *
+   * The action's database (Google Cloud project ID) .
+   * 
+ * + * string database = 1; + * @return The bytes for database. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDatabaseBytes() { + java.lang.Object ref = database_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + database_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SCHEMA_FIELD_NUMBER = 2; + private volatile java.lang.Object schema_; + /** + *
+   * The action's schema (BigQuery dataset ID), within `database`.
+   * 
+ * + * string schema = 2; + * @return The schema. + */ + @java.lang.Override + public java.lang.String getSchema() { + java.lang.Object ref = schema_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + schema_ = s; + return s; + } + } + /** + *
+   * The action's schema (BigQuery dataset ID), within `database`.
+   * 
+ * + * string schema = 2; + * @return The bytes for schema. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSchemaBytes() { + java.lang.Object ref = schema_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + schema_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NAME_FIELD_NUMBER = 3; + private volatile java.lang.Object name_; + /** + *
+   * The action's name, within `database` and `schema`.
+   * 
+ * + * string name = 3; + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + *
+   * The action's name, within `database` and `schema`.
+   * 
+ * + * string name = 3; + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schema_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, schema_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, database_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schema_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, schema_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.Target)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.Target other = (com.google.cloud.dataform.v1beta1.Target) obj; + + if (!getDatabase() + .equals(other.getDatabase())) return false; + if (!getSchema() + .equals(other.getSchema())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + DATABASE_FIELD_NUMBER; + hash = (53 * hash) + getDatabase().hashCode(); + hash = (37 * hash) + SCHEMA_FIELD_NUMBER; + hash = (53 * hash) + getSchema().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.Target parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.Target parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.Target parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.Target parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.Target parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.Target parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.Target parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.Target parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.Target parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.Target parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.Target parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.Target parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.Target prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * Represents an action identifier. If the action writes output, the output
+   * will be written to the referenced database object.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.Target} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.Target) + com.google.cloud.dataform.v1beta1.TargetOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_Target_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_Target_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.Target.class, com.google.cloud.dataform.v1beta1.Target.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.Target.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + database_ = ""; + + schema_ = ""; + + name_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_Target_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.Target getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.Target.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.Target build() { + com.google.cloud.dataform.v1beta1.Target result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.Target buildPartial() { + com.google.cloud.dataform.v1beta1.Target result = new com.google.cloud.dataform.v1beta1.Target(this); + result.database_ = database_; + result.schema_ = schema_; + result.name_ = name_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.Target) { + return mergeFrom((com.google.cloud.dataform.v1beta1.Target)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.Target other) { + if (other == com.google.cloud.dataform.v1beta1.Target.getDefaultInstance()) return this; + if (!other.getDatabase().isEmpty()) { + database_ = other.database_; + onChanged(); + } + if (!other.getSchema().isEmpty()) { + schema_ = other.schema_; + onChanged(); + } + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.Target parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.Target) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object database_ = ""; + /** + *
+     * The action's database (Google Cloud project ID) .
+     * 
+ * + * string database = 1; + * @return The database. + */ + public java.lang.String getDatabase() { + java.lang.Object ref = database_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + database_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * The action's database (Google Cloud project ID) .
+     * 
+ * + * string database = 1; + * @return The bytes for database. + */ + public com.google.protobuf.ByteString + getDatabaseBytes() { + java.lang.Object ref = database_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + database_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * The action's database (Google Cloud project ID) .
+     * 
+ * + * string database = 1; + * @param value The database to set. + * @return This builder for chaining. + */ + public Builder setDatabase( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + database_ = value; + onChanged(); + return this; + } + /** + *
+     * The action's database (Google Cloud project ID) .
+     * 
+ * + * string database = 1; + * @return This builder for chaining. + */ + public Builder clearDatabase() { + + database_ = getDefaultInstance().getDatabase(); + onChanged(); + return this; + } + /** + *
+     * The action's database (Google Cloud project ID) .
+     * 
+ * + * string database = 1; + * @param value The bytes for database to set. + * @return This builder for chaining. + */ + public Builder setDatabaseBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + database_ = value; + onChanged(); + return this; + } + + private java.lang.Object schema_ = ""; + /** + *
+     * The action's schema (BigQuery dataset ID), within `database`.
+     * 
+ * + * string schema = 2; + * @return The schema. + */ + public java.lang.String getSchema() { + java.lang.Object ref = schema_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + schema_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * The action's schema (BigQuery dataset ID), within `database`.
+     * 
+ * + * string schema = 2; + * @return The bytes for schema. + */ + public com.google.protobuf.ByteString + getSchemaBytes() { + java.lang.Object ref = schema_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + schema_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * The action's schema (BigQuery dataset ID), within `database`.
+     * 
+ * + * string schema = 2; + * @param value The schema to set. + * @return This builder for chaining. + */ + public Builder setSchema( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + schema_ = value; + onChanged(); + return this; + } + /** + *
+     * The action's schema (BigQuery dataset ID), within `database`.
+     * 
+ * + * string schema = 2; + * @return This builder for chaining. + */ + public Builder clearSchema() { + + schema_ = getDefaultInstance().getSchema(); + onChanged(); + return this; + } + /** + *
+     * The action's schema (BigQuery dataset ID), within `database`.
+     * 
+ * + * string schema = 2; + * @param value The bytes for schema to set. + * @return This builder for chaining. + */ + public Builder setSchemaBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + schema_ = value; + onChanged(); + return this; + } + + private java.lang.Object name_ = ""; + /** + *
+     * The action's name, within `database` and `schema`.
+     * 
+ * + * string name = 3; + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * The action's name, within `database` and `schema`.
+     * 
+ * + * string name = 3; + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * The action's name, within `database` and `schema`.
+     * 
+ * + * string name = 3; + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + *
+     * The action's name, within `database` and `schema`.
+     * 
+ * + * string name = 3; + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + *
+     * The action's name, within `database` and `schema`.
+     * 
+ * + * string name = 3; + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.Target) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.Target) + private static final com.google.cloud.dataform.v1beta1.Target DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.Target(); + } + + public static com.google.cloud.dataform.v1beta1.Target getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Target parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Target(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.Target getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/TargetOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/TargetOrBuilder.java new file mode 100644 index 0000000..7f5b1ee --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/TargetOrBuilder.java @@ -0,0 +1,69 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface TargetOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.Target) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The action's database (Google Cloud project ID) .
+   * 
+ * + * string database = 1; + * @return The database. + */ + java.lang.String getDatabase(); + /** + *
+   * The action's database (Google Cloud project ID) .
+   * 
+ * + * string database = 1; + * @return The bytes for database. + */ + com.google.protobuf.ByteString + getDatabaseBytes(); + + /** + *
+   * The action's schema (BigQuery dataset ID), within `database`.
+   * 
+ * + * string schema = 2; + * @return The schema. + */ + java.lang.String getSchema(); + /** + *
+   * The action's schema (BigQuery dataset ID), within `database`.
+   * 
+ * + * string schema = 2; + * @return The bytes for schema. + */ + com.google.protobuf.ByteString + getSchemaBytes(); + + /** + *
+   * The action's name, within `database` and `schema`.
+   * 
+ * + * string name = 3; + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * The action's name, within `database` and `schema`.
+   * 
+ * + * string name = 3; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/UpdateRepositoryRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/UpdateRepositoryRequest.java new file mode 100644 index 0000000..2307f85 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/UpdateRepositoryRequest.java @@ -0,0 +1,913 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * `UpdateRepository` request message.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.UpdateRepositoryRequest} + */ +public final class UpdateRepositoryRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.UpdateRepositoryRequest) + UpdateRepositoryRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use UpdateRepositoryRequest.newBuilder() to construct. + private UpdateRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private UpdateRepositoryRequest() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new UpdateRepositoryRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private UpdateRepositoryRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + com.google.cloud.dataform.v1beta1.Repository.Builder subBuilder = null; + if (repository_ != null) { + subBuilder = repository_.toBuilder(); + } + repository_ = input.readMessage(com.google.cloud.dataform.v1beta1.Repository.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(repository_); + repository_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_UpdateRepositoryRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_UpdateRepositoryRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest.class, com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest.Builder.class); + } + + public static final int UPDATE_MASK_FIELD_NUMBER = 1; + private com.google.protobuf.FieldMask updateMask_; + /** + *
+   * Optional. Specifies the fields to be updated in the repository. If left unset,
+   * all fields will be updated.
+   * 
+ * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the updateMask field is set. + */ + @java.lang.Override + public boolean hasUpdateMask() { + return updateMask_ != null; + } + /** + *
+   * Optional. Specifies the fields to be updated in the repository. If left unset,
+   * all fields will be updated.
+   * 
+ * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return The updateMask. + */ + @java.lang.Override + public com.google.protobuf.FieldMask getUpdateMask() { + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + } + /** + *
+   * Optional. Specifies the fields to be updated in the repository. If left unset,
+   * all fields will be updated.
+   * 
+ * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + @java.lang.Override + public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { + return getUpdateMask(); + } + + public static final int REPOSITORY_FIELD_NUMBER = 2; + private com.google.cloud.dataform.v1beta1.Repository repository_; + /** + *
+   * Required. The repository to update.
+   * 
+ * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the repository field is set. + */ + @java.lang.Override + public boolean hasRepository() { + return repository_ != null; + } + /** + *
+   * Required. The repository to update.
+   * 
+ * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The repository. + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.Repository getRepository() { + return repository_ == null ? com.google.cloud.dataform.v1beta1.Repository.getDefaultInstance() : repository_; + } + /** + *
+   * Required. The repository to update.
+   * 
+ * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.RepositoryOrBuilder getRepositoryOrBuilder() { + return getRepository(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (updateMask_ != null) { + output.writeMessage(1, getUpdateMask()); + } + if (repository_ != null) { + output.writeMessage(2, getRepository()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (updateMask_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getUpdateMask()); + } + if (repository_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRepository()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest other = (com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest) obj; + + if (hasUpdateMask() != other.hasUpdateMask()) return false; + if (hasUpdateMask()) { + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; + } + if (hasRepository() != other.hasRepository()) return false; + if (hasRepository()) { + if (!getRepository() + .equals(other.getRepository())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasUpdateMask()) { + hash = (37 * hash) + UPDATE_MASK_FIELD_NUMBER; + hash = (53 * hash) + getUpdateMask().hashCode(); + } + if (hasRepository()) { + hash = (37 * hash) + REPOSITORY_FIELD_NUMBER; + hash = (53 * hash) + getRepository().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * `UpdateRepository` request message.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.UpdateRepositoryRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.UpdateRepositoryRequest) + com.google.cloud.dataform.v1beta1.UpdateRepositoryRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_UpdateRepositoryRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_UpdateRepositoryRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest.class, com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (updateMaskBuilder_ == null) { + updateMask_ = null; + } else { + updateMask_ = null; + updateMaskBuilder_ = null; + } + if (repositoryBuilder_ == null) { + repository_ = null; + } else { + repository_ = null; + repositoryBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_UpdateRepositoryRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest build() { + com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest buildPartial() { + com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest result = new com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest(this); + if (updateMaskBuilder_ == null) { + result.updateMask_ = updateMask_; + } else { + result.updateMask_ = updateMaskBuilder_.build(); + } + if (repositoryBuilder_ == null) { + result.repository_ = repository_; + } else { + result.repository_ = repositoryBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest) { + return mergeFrom((com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest other) { + if (other == com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest.getDefaultInstance()) return this; + if (other.hasUpdateMask()) { + mergeUpdateMask(other.getUpdateMask()); + } + if (other.hasRepository()) { + mergeRepository(other.getRepository()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private com.google.protobuf.FieldMask updateMask_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + /** + *
+     * Optional. Specifies the fields to be updated in the repository. If left unset,
+     * all fields will be updated.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the updateMask field is set. + */ + public boolean hasUpdateMask() { + return updateMaskBuilder_ != null || updateMask_ != null; + } + /** + *
+     * Optional. Specifies the fields to be updated in the repository. If left unset,
+     * all fields will be updated.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return The updateMask. + */ + public com.google.protobuf.FieldMask getUpdateMask() { + if (updateMaskBuilder_ == null) { + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + } else { + return updateMaskBuilder_.getMessage(); + } + } + /** + *
+     * Optional. Specifies the fields to be updated in the repository. If left unset,
+     * all fields will be updated.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder setUpdateMask(com.google.protobuf.FieldMask value) { + if (updateMaskBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + updateMask_ = value; + onChanged(); + } else { + updateMaskBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * Optional. Specifies the fields to be updated in the repository. If left unset,
+     * all fields will be updated.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { + if (updateMaskBuilder_ == null) { + updateMask_ = builderForValue.build(); + onChanged(); + } else { + updateMaskBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * Optional. Specifies the fields to be updated in the repository. If left unset,
+     * all fields will be updated.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { + if (updateMaskBuilder_ == null) { + if (updateMask_ != null) { + updateMask_ = + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + } else { + updateMask_ = value; + } + onChanged(); + } else { + updateMaskBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * Optional. Specifies the fields to be updated in the repository. If left unset,
+     * all fields will be updated.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public Builder clearUpdateMask() { + if (updateMaskBuilder_ == null) { + updateMask_ = null; + onChanged(); + } else { + updateMask_ = null; + updateMaskBuilder_ = null; + } + + return this; + } + /** + *
+     * Optional. Specifies the fields to be updated in the repository. If left unset,
+     * all fields will be updated.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { + + onChanged(); + return getUpdateMaskFieldBuilder().getBuilder(); + } + /** + *
+     * Optional. Specifies the fields to be updated in the repository. If left unset,
+     * all fields will be updated.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { + if (updateMaskBuilder_ != null) { + return updateMaskBuilder_.getMessageOrBuilder(); + } else { + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + } + } + /** + *
+     * Optional. Specifies the fields to be updated in the repository. If left unset,
+     * all fields will be updated.
+     * 
+ * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + getUpdateMaskFieldBuilder() { + if (updateMaskBuilder_ == null) { + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); + updateMask_ = null; + } + return updateMaskBuilder_; + } + + private com.google.cloud.dataform.v1beta1.Repository repository_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Repository, com.google.cloud.dataform.v1beta1.Repository.Builder, com.google.cloud.dataform.v1beta1.RepositoryOrBuilder> repositoryBuilder_; + /** + *
+     * Required. The repository to update.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the repository field is set. + */ + public boolean hasRepository() { + return repositoryBuilder_ != null || repository_ != null; + } + /** + *
+     * Required. The repository to update.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The repository. + */ + public com.google.cloud.dataform.v1beta1.Repository getRepository() { + if (repositoryBuilder_ == null) { + return repository_ == null ? com.google.cloud.dataform.v1beta1.Repository.getDefaultInstance() : repository_; + } else { + return repositoryBuilder_.getMessage(); + } + } + /** + *
+     * Required. The repository to update.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder setRepository(com.google.cloud.dataform.v1beta1.Repository value) { + if (repositoryBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + repository_ = value; + onChanged(); + } else { + repositoryBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * Required. The repository to update.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder setRepository( + com.google.cloud.dataform.v1beta1.Repository.Builder builderForValue) { + if (repositoryBuilder_ == null) { + repository_ = builderForValue.build(); + onChanged(); + } else { + repositoryBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * Required. The repository to update.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder mergeRepository(com.google.cloud.dataform.v1beta1.Repository value) { + if (repositoryBuilder_ == null) { + if (repository_ != null) { + repository_ = + com.google.cloud.dataform.v1beta1.Repository.newBuilder(repository_).mergeFrom(value).buildPartial(); + } else { + repository_ = value; + } + onChanged(); + } else { + repositoryBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * Required. The repository to update.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public Builder clearRepository() { + if (repositoryBuilder_ == null) { + repository_ = null; + onChanged(); + } else { + repository_ = null; + repositoryBuilder_ = null; + } + + return this; + } + /** + *
+     * Required. The repository to update.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public com.google.cloud.dataform.v1beta1.Repository.Builder getRepositoryBuilder() { + + onChanged(); + return getRepositoryFieldBuilder().getBuilder(); + } + /** + *
+     * Required. The repository to update.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + public com.google.cloud.dataform.v1beta1.RepositoryOrBuilder getRepositoryOrBuilder() { + if (repositoryBuilder_ != null) { + return repositoryBuilder_.getMessageOrBuilder(); + } else { + return repository_ == null ? + com.google.cloud.dataform.v1beta1.Repository.getDefaultInstance() : repository_; + } + } + /** + *
+     * Required. The repository to update.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Repository, com.google.cloud.dataform.v1beta1.Repository.Builder, com.google.cloud.dataform.v1beta1.RepositoryOrBuilder> + getRepositoryFieldBuilder() { + if (repositoryBuilder_ == null) { + repositoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Repository, com.google.cloud.dataform.v1beta1.Repository.Builder, com.google.cloud.dataform.v1beta1.RepositoryOrBuilder>( + getRepository(), + getParentForChildren(), + isClean()); + repository_ = null; + } + return repositoryBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.UpdateRepositoryRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.UpdateRepositoryRequest) + private static final com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest(); + } + + public static com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateRepositoryRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/UpdateRepositoryRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/UpdateRepositoryRequestOrBuilder.java new file mode 100644 index 0000000..596f56c --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/UpdateRepositoryRequestOrBuilder.java @@ -0,0 +1,66 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface UpdateRepositoryRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.UpdateRepositoryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Optional. Specifies the fields to be updated in the repository. If left unset,
+   * all fields will be updated.
+   * 
+ * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return Whether the updateMask field is set. + */ + boolean hasUpdateMask(); + /** + *
+   * Optional. Specifies the fields to be updated in the repository. If left unset,
+   * all fields will be updated.
+   * 
+ * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return The updateMask. + */ + com.google.protobuf.FieldMask getUpdateMask(); + /** + *
+   * Optional. Specifies the fields to be updated in the repository. If left unset,
+   * all fields will be updated.
+   * 
+ * + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); + + /** + *
+   * Required. The repository to update.
+   * 
+ * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the repository field is set. + */ + boolean hasRepository(); + /** + *
+   * Required. The repository to update.
+   * 
+ * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The repository. + */ + com.google.cloud.dataform.v1beta1.Repository getRepository(); + /** + *
+   * Required. The repository to update.
+   * 
+ * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.cloud.dataform.v1beta1.RepositoryOrBuilder getRepositoryOrBuilder(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkflowInvocation.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkflowInvocation.java new file mode 100644 index 0000000..273c256 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkflowInvocation.java @@ -0,0 +1,3049 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * Represents a single invocation of a compilation result.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.WorkflowInvocation} + */ +public final class WorkflowInvocation extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.WorkflowInvocation) + WorkflowInvocationOrBuilder { +private static final long serialVersionUID = 0L; + // Use WorkflowInvocation.newBuilder() to construct. + private WorkflowInvocation(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private WorkflowInvocation() { + name_ = ""; + compilationResult_ = ""; + state_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new WorkflowInvocation(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private WorkflowInvocation( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + compilationResult_ = s; + break; + } + case 26: { + com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig.Builder subBuilder = null; + if (invocationConfig_ != null) { + subBuilder = invocationConfig_.toBuilder(); + } + invocationConfig_ = input.readMessage(com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(invocationConfig_); + invocationConfig_ = subBuilder.buildPartial(); + } + + break; + } + case 32: { + int rawValue = input.readEnum(); + + state_ = rawValue; + break; + } + case 42: { + com.google.type.Interval.Builder subBuilder = null; + if (invocationTiming_ != null) { + subBuilder = invocationTiming_.toBuilder(); + } + invocationTiming_ = input.readMessage(com.google.type.Interval.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(invocationTiming_); + invocationTiming_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.WorkflowInvocation.class, com.google.cloud.dataform.v1beta1.WorkflowInvocation.Builder.class); + } + + /** + *
+   * Represents the current state of a workflow invocation.
+   * 
+ * + * Protobuf enum {@code google.cloud.dataform.v1beta1.WorkflowInvocation.State} + */ + public enum State + implements com.google.protobuf.ProtocolMessageEnum { + /** + *
+     * Default value. This value is unused.
+     * 
+ * + * STATE_UNSPECIFIED = 0; + */ + STATE_UNSPECIFIED(0), + /** + *
+     * The workflow invocation is currently running.
+     * 
+ * + * RUNNING = 1; + */ + RUNNING(1), + /** + *
+     * The workflow invocation succeeded. A terminal state.
+     * 
+ * + * SUCCEEDED = 2; + */ + SUCCEEDED(2), + /** + *
+     * The workflow invocation was cancelled. A terminal state.
+     * 
+ * + * CANCELLED = 3; + */ + CANCELLED(3), + /** + *
+     * The workflow invocation failed. A terminal state.
+     * 
+ * + * FAILED = 4; + */ + FAILED(4), + /** + *
+     * The workflow invocation is being cancelled, but some actions are still
+     * running.
+     * 
+ * + * CANCELING = 5; + */ + CANCELING(5), + UNRECOGNIZED(-1), + ; + + /** + *
+     * Default value. This value is unused.
+     * 
+ * + * STATE_UNSPECIFIED = 0; + */ + public static final int STATE_UNSPECIFIED_VALUE = 0; + /** + *
+     * The workflow invocation is currently running.
+     * 
+ * + * RUNNING = 1; + */ + public static final int RUNNING_VALUE = 1; + /** + *
+     * The workflow invocation succeeded. A terminal state.
+     * 
+ * + * SUCCEEDED = 2; + */ + public static final int SUCCEEDED_VALUE = 2; + /** + *
+     * The workflow invocation was cancelled. A terminal state.
+     * 
+ * + * CANCELLED = 3; + */ + public static final int CANCELLED_VALUE = 3; + /** + *
+     * The workflow invocation failed. A terminal state.
+     * 
+ * + * FAILED = 4; + */ + public static final int FAILED_VALUE = 4; + /** + *
+     * The workflow invocation is being cancelled, but some actions are still
+     * running.
+     * 
+ * + * CANCELING = 5; + */ + public static final int CANCELING_VALUE = 5; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static State valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static State forNumber(int value) { + switch (value) { + case 0: return STATE_UNSPECIFIED; + case 1: return RUNNING; + case 2: return SUCCEEDED; + case 3: return CANCELLED; + case 4: return FAILED; + case 5: return CANCELING; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + State> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.WorkflowInvocation.getDescriptor().getEnumTypes().get(0); + } + + private static final State[] VALUES = values(); + + public static State valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private State(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.dataform.v1beta1.WorkflowInvocation.State) + } + + public interface InvocationConfigOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Immutable. The set of action identifiers to include.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + */ + java.util.List + getIncludedTargetsList(); + /** + *
+     * Immutable. The set of action identifiers to include.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + */ + com.google.cloud.dataform.v1beta1.Target getIncludedTargets(int index); + /** + *
+     * Immutable. The set of action identifiers to include.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + */ + int getIncludedTargetsCount(); + /** + *
+     * Immutable. The set of action identifiers to include.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + */ + java.util.List + getIncludedTargetsOrBuilderList(); + /** + *
+     * Immutable. The set of action identifiers to include.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + */ + com.google.cloud.dataform.v1beta1.TargetOrBuilder getIncludedTargetsOrBuilder( + int index); + + /** + *
+     * Immutable. The set of tags to include.
+     * 
+ * + * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @return A list containing the includedTags. + */ + java.util.List + getIncludedTagsList(); + /** + *
+     * Immutable. The set of tags to include.
+     * 
+ * + * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @return The count of includedTags. + */ + int getIncludedTagsCount(); + /** + *
+     * Immutable. The set of tags to include.
+     * 
+ * + * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @param index The index of the element to return. + * @return The includedTags at the given index. + */ + java.lang.String getIncludedTags(int index); + /** + *
+     * Immutable. The set of tags to include.
+     * 
+ * + * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @param index The index of the value to return. + * @return The bytes of the includedTags at the given index. + */ + com.google.protobuf.ByteString + getIncludedTagsBytes(int index); + + /** + *
+     * Immutable. When set to true, transitive dependencies of included actions will be
+     * executed.
+     * 
+ * + * bool transitive_dependencies_included = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * @return The transitiveDependenciesIncluded. + */ + boolean getTransitiveDependenciesIncluded(); + + /** + *
+     * Immutable. When set to true, transitive dependents of included actions will be
+     * executed.
+     * 
+ * + * bool transitive_dependents_included = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * @return The transitiveDependentsIncluded. + */ + boolean getTransitiveDependentsIncluded(); + + /** + *
+     * Immutable. When set to true, any incremental tables will be fully refreshed.
+     * 
+ * + * bool fully_refresh_incremental_tables_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * @return The fullyRefreshIncrementalTablesEnabled. + */ + boolean getFullyRefreshIncrementalTablesEnabled(); + } + /** + *
+   * Includes various configuration options for this workflow invocation.
+   * If both `included_targets` and `included_tags` are unset, all actions
+   * will be included.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig} + */ + public static final class InvocationConfig extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig) + InvocationConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use InvocationConfig.newBuilder() to construct. + private InvocationConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private InvocationConfig() { + includedTargets_ = java.util.Collections.emptyList(); + includedTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new InvocationConfig(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private InvocationConfig( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + includedTargets_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + includedTargets_.add( + input.readMessage(com.google.cloud.dataform.v1beta1.Target.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + includedTags_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + includedTags_.add(s); + break; + } + case 24: { + + transitiveDependenciesIncluded_ = input.readBool(); + break; + } + case 32: { + + transitiveDependentsIncluded_ = input.readBool(); + break; + } + case 40: { + + fullyRefreshIncrementalTablesEnabled_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + includedTargets_ = java.util.Collections.unmodifiableList(includedTargets_); + } + if (((mutable_bitField0_ & 0x00000002) != 0)) { + includedTags_ = includedTags_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_InvocationConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_InvocationConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig.class, com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig.Builder.class); + } + + public static final int INCLUDED_TARGETS_FIELD_NUMBER = 1; + private java.util.List includedTargets_; + /** + *
+     * Immutable. The set of action identifiers to include.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + */ + @java.lang.Override + public java.util.List getIncludedTargetsList() { + return includedTargets_; + } + /** + *
+     * Immutable. The set of action identifiers to include.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + */ + @java.lang.Override + public java.util.List + getIncludedTargetsOrBuilderList() { + return includedTargets_; + } + /** + *
+     * Immutable. The set of action identifiers to include.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + */ + @java.lang.Override + public int getIncludedTargetsCount() { + return includedTargets_.size(); + } + /** + *
+     * Immutable. The set of action identifiers to include.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.Target getIncludedTargets(int index) { + return includedTargets_.get(index); + } + /** + *
+     * Immutable. The set of action identifiers to include.
+     * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.TargetOrBuilder getIncludedTargetsOrBuilder( + int index) { + return includedTargets_.get(index); + } + + public static final int INCLUDED_TAGS_FIELD_NUMBER = 2; + private com.google.protobuf.LazyStringList includedTags_; + /** + *
+     * Immutable. The set of tags to include.
+     * 
+ * + * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @return A list containing the includedTags. + */ + public com.google.protobuf.ProtocolStringList + getIncludedTagsList() { + return includedTags_; + } + /** + *
+     * Immutable. The set of tags to include.
+     * 
+ * + * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @return The count of includedTags. + */ + public int getIncludedTagsCount() { + return includedTags_.size(); + } + /** + *
+     * Immutable. The set of tags to include.
+     * 
+ * + * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @param index The index of the element to return. + * @return The includedTags at the given index. + */ + public java.lang.String getIncludedTags(int index) { + return includedTags_.get(index); + } + /** + *
+     * Immutable. The set of tags to include.
+     * 
+ * + * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @param index The index of the value to return. + * @return The bytes of the includedTags at the given index. + */ + public com.google.protobuf.ByteString + getIncludedTagsBytes(int index) { + return includedTags_.getByteString(index); + } + + public static final int TRANSITIVE_DEPENDENCIES_INCLUDED_FIELD_NUMBER = 3; + private boolean transitiveDependenciesIncluded_; + /** + *
+     * Immutable. When set to true, transitive dependencies of included actions will be
+     * executed.
+     * 
+ * + * bool transitive_dependencies_included = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * @return The transitiveDependenciesIncluded. + */ + @java.lang.Override + public boolean getTransitiveDependenciesIncluded() { + return transitiveDependenciesIncluded_; + } + + public static final int TRANSITIVE_DEPENDENTS_INCLUDED_FIELD_NUMBER = 4; + private boolean transitiveDependentsIncluded_; + /** + *
+     * Immutable. When set to true, transitive dependents of included actions will be
+     * executed.
+     * 
+ * + * bool transitive_dependents_included = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * @return The transitiveDependentsIncluded. + */ + @java.lang.Override + public boolean getTransitiveDependentsIncluded() { + return transitiveDependentsIncluded_; + } + + public static final int FULLY_REFRESH_INCREMENTAL_TABLES_ENABLED_FIELD_NUMBER = 5; + private boolean fullyRefreshIncrementalTablesEnabled_; + /** + *
+     * Immutable. When set to true, any incremental tables will be fully refreshed.
+     * 
+ * + * bool fully_refresh_incremental_tables_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * @return The fullyRefreshIncrementalTablesEnabled. + */ + @java.lang.Override + public boolean getFullyRefreshIncrementalTablesEnabled() { + return fullyRefreshIncrementalTablesEnabled_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < includedTargets_.size(); i++) { + output.writeMessage(1, includedTargets_.get(i)); + } + for (int i = 0; i < includedTags_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, includedTags_.getRaw(i)); + } + if (transitiveDependenciesIncluded_ != false) { + output.writeBool(3, transitiveDependenciesIncluded_); + } + if (transitiveDependentsIncluded_ != false) { + output.writeBool(4, transitiveDependentsIncluded_); + } + if (fullyRefreshIncrementalTablesEnabled_ != false) { + output.writeBool(5, fullyRefreshIncrementalTablesEnabled_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < includedTargets_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, includedTargets_.get(i)); + } + { + int dataSize = 0; + for (int i = 0; i < includedTags_.size(); i++) { + dataSize += computeStringSizeNoTag(includedTags_.getRaw(i)); + } + size += dataSize; + size += 1 * getIncludedTagsList().size(); + } + if (transitiveDependenciesIncluded_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, transitiveDependenciesIncluded_); + } + if (transitiveDependentsIncluded_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, transitiveDependentsIncluded_); + } + if (fullyRefreshIncrementalTablesEnabled_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, fullyRefreshIncrementalTablesEnabled_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig other = (com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig) obj; + + if (!getIncludedTargetsList() + .equals(other.getIncludedTargetsList())) return false; + if (!getIncludedTagsList() + .equals(other.getIncludedTagsList())) return false; + if (getTransitiveDependenciesIncluded() + != other.getTransitiveDependenciesIncluded()) return false; + if (getTransitiveDependentsIncluded() + != other.getTransitiveDependentsIncluded()) return false; + if (getFullyRefreshIncrementalTablesEnabled() + != other.getFullyRefreshIncrementalTablesEnabled()) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getIncludedTargetsCount() > 0) { + hash = (37 * hash) + INCLUDED_TARGETS_FIELD_NUMBER; + hash = (53 * hash) + getIncludedTargetsList().hashCode(); + } + if (getIncludedTagsCount() > 0) { + hash = (37 * hash) + INCLUDED_TAGS_FIELD_NUMBER; + hash = (53 * hash) + getIncludedTagsList().hashCode(); + } + hash = (37 * hash) + TRANSITIVE_DEPENDENCIES_INCLUDED_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getTransitiveDependenciesIncluded()); + hash = (37 * hash) + TRANSITIVE_DEPENDENTS_INCLUDED_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getTransitiveDependentsIncluded()); + hash = (37 * hash) + FULLY_REFRESH_INCREMENTAL_TABLES_ENABLED_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getFullyRefreshIncrementalTablesEnabled()); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Includes various configuration options for this workflow invocation.
+     * If both `included_targets` and `included_tags` are unset, all actions
+     * will be included.
+     * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig) + com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_InvocationConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_InvocationConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig.class, com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getIncludedTargetsFieldBuilder(); + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (includedTargetsBuilder_ == null) { + includedTargets_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + includedTargetsBuilder_.clear(); + } + includedTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + transitiveDependenciesIncluded_ = false; + + transitiveDependentsIncluded_ = false; + + fullyRefreshIncrementalTablesEnabled_ = false; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_InvocationConfig_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig build() { + com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig buildPartial() { + com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig result = new com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig(this); + int from_bitField0_ = bitField0_; + if (includedTargetsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + includedTargets_ = java.util.Collections.unmodifiableList(includedTargets_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.includedTargets_ = includedTargets_; + } else { + result.includedTargets_ = includedTargetsBuilder_.build(); + } + if (((bitField0_ & 0x00000002) != 0)) { + includedTags_ = includedTags_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.includedTags_ = includedTags_; + result.transitiveDependenciesIncluded_ = transitiveDependenciesIncluded_; + result.transitiveDependentsIncluded_ = transitiveDependentsIncluded_; + result.fullyRefreshIncrementalTablesEnabled_ = fullyRefreshIncrementalTablesEnabled_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig) { + return mergeFrom((com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig other) { + if (other == com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig.getDefaultInstance()) return this; + if (includedTargetsBuilder_ == null) { + if (!other.includedTargets_.isEmpty()) { + if (includedTargets_.isEmpty()) { + includedTargets_ = other.includedTargets_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureIncludedTargetsIsMutable(); + includedTargets_.addAll(other.includedTargets_); + } + onChanged(); + } + } else { + if (!other.includedTargets_.isEmpty()) { + if (includedTargetsBuilder_.isEmpty()) { + includedTargetsBuilder_.dispose(); + includedTargetsBuilder_ = null; + includedTargets_ = other.includedTargets_; + bitField0_ = (bitField0_ & ~0x00000001); + includedTargetsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getIncludedTargetsFieldBuilder() : null; + } else { + includedTargetsBuilder_.addAllMessages(other.includedTargets_); + } + } + } + if (!other.includedTags_.isEmpty()) { + if (includedTags_.isEmpty()) { + includedTags_ = other.includedTags_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureIncludedTagsIsMutable(); + includedTags_.addAll(other.includedTags_); + } + onChanged(); + } + if (other.getTransitiveDependenciesIncluded() != false) { + setTransitiveDependenciesIncluded(other.getTransitiveDependenciesIncluded()); + } + if (other.getTransitiveDependentsIncluded() != false) { + setTransitiveDependentsIncluded(other.getTransitiveDependentsIncluded()); + } + if (other.getFullyRefreshIncrementalTablesEnabled() != false) { + setFullyRefreshIncrementalTablesEnabled(other.getFullyRefreshIncrementalTablesEnabled()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private java.util.List includedTargets_ = + java.util.Collections.emptyList(); + private void ensureIncludedTargetsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + includedTargets_ = new java.util.ArrayList(includedTargets_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder> includedTargetsBuilder_; + + /** + *
+       * Immutable. The set of action identifiers to include.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + */ + public java.util.List getIncludedTargetsList() { + if (includedTargetsBuilder_ == null) { + return java.util.Collections.unmodifiableList(includedTargets_); + } else { + return includedTargetsBuilder_.getMessageList(); + } + } + /** + *
+       * Immutable. The set of action identifiers to include.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + */ + public int getIncludedTargetsCount() { + if (includedTargetsBuilder_ == null) { + return includedTargets_.size(); + } else { + return includedTargetsBuilder_.getCount(); + } + } + /** + *
+       * Immutable. The set of action identifiers to include.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + */ + public com.google.cloud.dataform.v1beta1.Target getIncludedTargets(int index) { + if (includedTargetsBuilder_ == null) { + return includedTargets_.get(index); + } else { + return includedTargetsBuilder_.getMessage(index); + } + } + /** + *
+       * Immutable. The set of action identifiers to include.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + */ + public Builder setIncludedTargets( + int index, com.google.cloud.dataform.v1beta1.Target value) { + if (includedTargetsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureIncludedTargetsIsMutable(); + includedTargets_.set(index, value); + onChanged(); + } else { + includedTargetsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * Immutable. The set of action identifiers to include.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + */ + public Builder setIncludedTargets( + int index, com.google.cloud.dataform.v1beta1.Target.Builder builderForValue) { + if (includedTargetsBuilder_ == null) { + ensureIncludedTargetsIsMutable(); + includedTargets_.set(index, builderForValue.build()); + onChanged(); + } else { + includedTargetsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * Immutable. The set of action identifiers to include.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + */ + public Builder addIncludedTargets(com.google.cloud.dataform.v1beta1.Target value) { + if (includedTargetsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureIncludedTargetsIsMutable(); + includedTargets_.add(value); + onChanged(); + } else { + includedTargetsBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * Immutable. The set of action identifiers to include.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + */ + public Builder addIncludedTargets( + int index, com.google.cloud.dataform.v1beta1.Target value) { + if (includedTargetsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureIncludedTargetsIsMutable(); + includedTargets_.add(index, value); + onChanged(); + } else { + includedTargetsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * Immutable. The set of action identifiers to include.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + */ + public Builder addIncludedTargets( + com.google.cloud.dataform.v1beta1.Target.Builder builderForValue) { + if (includedTargetsBuilder_ == null) { + ensureIncludedTargetsIsMutable(); + includedTargets_.add(builderForValue.build()); + onChanged(); + } else { + includedTargetsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * Immutable. The set of action identifiers to include.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + */ + public Builder addIncludedTargets( + int index, com.google.cloud.dataform.v1beta1.Target.Builder builderForValue) { + if (includedTargetsBuilder_ == null) { + ensureIncludedTargetsIsMutable(); + includedTargets_.add(index, builderForValue.build()); + onChanged(); + } else { + includedTargetsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * Immutable. The set of action identifiers to include.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + */ + public Builder addAllIncludedTargets( + java.lang.Iterable values) { + if (includedTargetsBuilder_ == null) { + ensureIncludedTargetsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, includedTargets_); + onChanged(); + } else { + includedTargetsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * Immutable. The set of action identifiers to include.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + */ + public Builder clearIncludedTargets() { + if (includedTargetsBuilder_ == null) { + includedTargets_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + includedTargetsBuilder_.clear(); + } + return this; + } + /** + *
+       * Immutable. The set of action identifiers to include.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + */ + public Builder removeIncludedTargets(int index) { + if (includedTargetsBuilder_ == null) { + ensureIncludedTargetsIsMutable(); + includedTargets_.remove(index); + onChanged(); + } else { + includedTargetsBuilder_.remove(index); + } + return this; + } + /** + *
+       * Immutable. The set of action identifiers to include.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + */ + public com.google.cloud.dataform.v1beta1.Target.Builder getIncludedTargetsBuilder( + int index) { + return getIncludedTargetsFieldBuilder().getBuilder(index); + } + /** + *
+       * Immutable. The set of action identifiers to include.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + */ + public com.google.cloud.dataform.v1beta1.TargetOrBuilder getIncludedTargetsOrBuilder( + int index) { + if (includedTargetsBuilder_ == null) { + return includedTargets_.get(index); } else { + return includedTargetsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * Immutable. The set of action identifiers to include.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + */ + public java.util.List + getIncludedTargetsOrBuilderList() { + if (includedTargetsBuilder_ != null) { + return includedTargetsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(includedTargets_); + } + } + /** + *
+       * Immutable. The set of action identifiers to include.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + */ + public com.google.cloud.dataform.v1beta1.Target.Builder addIncludedTargetsBuilder() { + return getIncludedTargetsFieldBuilder().addBuilder( + com.google.cloud.dataform.v1beta1.Target.getDefaultInstance()); + } + /** + *
+       * Immutable. The set of action identifiers to include.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + */ + public com.google.cloud.dataform.v1beta1.Target.Builder addIncludedTargetsBuilder( + int index) { + return getIncludedTargetsFieldBuilder().addBuilder( + index, com.google.cloud.dataform.v1beta1.Target.getDefaultInstance()); + } + /** + *
+       * Immutable. The set of action identifiers to include.
+       * 
+ * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + */ + public java.util.List + getIncludedTargetsBuilderList() { + return getIncludedTargetsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder> + getIncludedTargetsFieldBuilder() { + if (includedTargetsBuilder_ == null) { + includedTargetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder>( + includedTargets_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + includedTargets_ = null; + } + return includedTargetsBuilder_; + } + + private com.google.protobuf.LazyStringList includedTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureIncludedTagsIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + includedTags_ = new com.google.protobuf.LazyStringArrayList(includedTags_); + bitField0_ |= 0x00000002; + } + } + /** + *
+       * Immutable. The set of tags to include.
+       * 
+ * + * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @return A list containing the includedTags. + */ + public com.google.protobuf.ProtocolStringList + getIncludedTagsList() { + return includedTags_.getUnmodifiableView(); + } + /** + *
+       * Immutable. The set of tags to include.
+       * 
+ * + * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @return The count of includedTags. + */ + public int getIncludedTagsCount() { + return includedTags_.size(); + } + /** + *
+       * Immutable. The set of tags to include.
+       * 
+ * + * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @param index The index of the element to return. + * @return The includedTags at the given index. + */ + public java.lang.String getIncludedTags(int index) { + return includedTags_.get(index); + } + /** + *
+       * Immutable. The set of tags to include.
+       * 
+ * + * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @param index The index of the value to return. + * @return The bytes of the includedTags at the given index. + */ + public com.google.protobuf.ByteString + getIncludedTagsBytes(int index) { + return includedTags_.getByteString(index); + } + /** + *
+       * Immutable. The set of tags to include.
+       * 
+ * + * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @param index The index to set the value at. + * @param value The includedTags to set. + * @return This builder for chaining. + */ + public Builder setIncludedTags( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureIncludedTagsIsMutable(); + includedTags_.set(index, value); + onChanged(); + return this; + } + /** + *
+       * Immutable. The set of tags to include.
+       * 
+ * + * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @param value The includedTags to add. + * @return This builder for chaining. + */ + public Builder addIncludedTags( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureIncludedTagsIsMutable(); + includedTags_.add(value); + onChanged(); + return this; + } + /** + *
+       * Immutable. The set of tags to include.
+       * 
+ * + * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @param values The includedTags to add. + * @return This builder for chaining. + */ + public Builder addAllIncludedTags( + java.lang.Iterable values) { + ensureIncludedTagsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, includedTags_); + onChanged(); + return this; + } + /** + *
+       * Immutable. The set of tags to include.
+       * 
+ * + * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @return This builder for chaining. + */ + public Builder clearIncludedTags() { + includedTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+       * Immutable. The set of tags to include.
+       * 
+ * + * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @param value The bytes of the includedTags to add. + * @return This builder for chaining. + */ + public Builder addIncludedTagsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureIncludedTagsIsMutable(); + includedTags_.add(value); + onChanged(); + return this; + } + + private boolean transitiveDependenciesIncluded_ ; + /** + *
+       * Immutable. When set to true, transitive dependencies of included actions will be
+       * executed.
+       * 
+ * + * bool transitive_dependencies_included = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * @return The transitiveDependenciesIncluded. + */ + @java.lang.Override + public boolean getTransitiveDependenciesIncluded() { + return transitiveDependenciesIncluded_; + } + /** + *
+       * Immutable. When set to true, transitive dependencies of included actions will be
+       * executed.
+       * 
+ * + * bool transitive_dependencies_included = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * @param value The transitiveDependenciesIncluded to set. + * @return This builder for chaining. + */ + public Builder setTransitiveDependenciesIncluded(boolean value) { + + transitiveDependenciesIncluded_ = value; + onChanged(); + return this; + } + /** + *
+       * Immutable. When set to true, transitive dependencies of included actions will be
+       * executed.
+       * 
+ * + * bool transitive_dependencies_included = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * @return This builder for chaining. + */ + public Builder clearTransitiveDependenciesIncluded() { + + transitiveDependenciesIncluded_ = false; + onChanged(); + return this; + } + + private boolean transitiveDependentsIncluded_ ; + /** + *
+       * Immutable. When set to true, transitive dependents of included actions will be
+       * executed.
+       * 
+ * + * bool transitive_dependents_included = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * @return The transitiveDependentsIncluded. + */ + @java.lang.Override + public boolean getTransitiveDependentsIncluded() { + return transitiveDependentsIncluded_; + } + /** + *
+       * Immutable. When set to true, transitive dependents of included actions will be
+       * executed.
+       * 
+ * + * bool transitive_dependents_included = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * @param value The transitiveDependentsIncluded to set. + * @return This builder for chaining. + */ + public Builder setTransitiveDependentsIncluded(boolean value) { + + transitiveDependentsIncluded_ = value; + onChanged(); + return this; + } + /** + *
+       * Immutable. When set to true, transitive dependents of included actions will be
+       * executed.
+       * 
+ * + * bool transitive_dependents_included = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * @return This builder for chaining. + */ + public Builder clearTransitiveDependentsIncluded() { + + transitiveDependentsIncluded_ = false; + onChanged(); + return this; + } + + private boolean fullyRefreshIncrementalTablesEnabled_ ; + /** + *
+       * Immutable. When set to true, any incremental tables will be fully refreshed.
+       * 
+ * + * bool fully_refresh_incremental_tables_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * @return The fullyRefreshIncrementalTablesEnabled. + */ + @java.lang.Override + public boolean getFullyRefreshIncrementalTablesEnabled() { + return fullyRefreshIncrementalTablesEnabled_; + } + /** + *
+       * Immutable. When set to true, any incremental tables will be fully refreshed.
+       * 
+ * + * bool fully_refresh_incremental_tables_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * @param value The fullyRefreshIncrementalTablesEnabled to set. + * @return This builder for chaining. + */ + public Builder setFullyRefreshIncrementalTablesEnabled(boolean value) { + + fullyRefreshIncrementalTablesEnabled_ = value; + onChanged(); + return this; + } + /** + *
+       * Immutable. When set to true, any incremental tables will be fully refreshed.
+       * 
+ * + * bool fully_refresh_incremental_tables_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * @return This builder for chaining. + */ + public Builder clearFullyRefreshIncrementalTablesEnabled() { + + fullyRefreshIncrementalTablesEnabled_ = false; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig) + private static final com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig(); + } + + public static com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InvocationConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InvocationConfig(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + *
+   * Output only. The workflow invocation's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + *
+   * Output only. The workflow invocation's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int COMPILATION_RESULT_FIELD_NUMBER = 2; + private volatile java.lang.Object compilationResult_; + /** + *
+   * Immutable. The name of the compilation result to compile. Must be in the format
+   * `projects/*/locations/*/repositories/*/compilationResults/*`.
+   * 
+ * + * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * @return The compilationResult. + */ + @java.lang.Override + public java.lang.String getCompilationResult() { + java.lang.Object ref = compilationResult_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + compilationResult_ = s; + return s; + } + } + /** + *
+   * Immutable. The name of the compilation result to compile. Must be in the format
+   * `projects/*/locations/*/repositories/*/compilationResults/*`.
+   * 
+ * + * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * @return The bytes for compilationResult. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getCompilationResultBytes() { + java.lang.Object ref = compilationResult_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + compilationResult_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int INVOCATION_CONFIG_FIELD_NUMBER = 3; + private com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig invocationConfig_; + /** + *
+   * Immutable. If left unset, a default InvocationConfig will be used.
+   * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * @return Whether the invocationConfig field is set. + */ + @java.lang.Override + public boolean hasInvocationConfig() { + return invocationConfig_ != null; + } + /** + *
+   * Immutable. If left unset, a default InvocationConfig will be used.
+   * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * @return The invocationConfig. + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig getInvocationConfig() { + return invocationConfig_ == null ? com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig.getDefaultInstance() : invocationConfig_; + } + /** + *
+   * Immutable. If left unset, a default InvocationConfig will be used.
+   * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfigOrBuilder getInvocationConfigOrBuilder() { + return getInvocationConfig(); + } + + public static final int STATE_FIELD_NUMBER = 4; + private int state_; + /** + *
+   * Output only. This workflow invocation's current state.
+   * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The enum numeric value on the wire for state. + */ + @java.lang.Override public int getStateValue() { + return state_; + } + /** + *
+   * Output only. This workflow invocation's current state.
+   * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The state. + */ + @java.lang.Override public com.google.cloud.dataform.v1beta1.WorkflowInvocation.State getState() { + @SuppressWarnings("deprecation") + com.google.cloud.dataform.v1beta1.WorkflowInvocation.State result = com.google.cloud.dataform.v1beta1.WorkflowInvocation.State.valueOf(state_); + return result == null ? com.google.cloud.dataform.v1beta1.WorkflowInvocation.State.UNRECOGNIZED : result; + } + + public static final int INVOCATION_TIMING_FIELD_NUMBER = 5; + private com.google.type.Interval invocationTiming_; + /** + *
+   * Output only. This workflow invocation's timing details.
+   * 
+ * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the invocationTiming field is set. + */ + @java.lang.Override + public boolean hasInvocationTiming() { + return invocationTiming_ != null; + } + /** + *
+   * Output only. This workflow invocation's timing details.
+   * 
+ * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The invocationTiming. + */ + @java.lang.Override + public com.google.type.Interval getInvocationTiming() { + return invocationTiming_ == null ? com.google.type.Interval.getDefaultInstance() : invocationTiming_; + } + /** + *
+   * Output only. This workflow invocation's timing details.
+   * 
+ * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public com.google.type.IntervalOrBuilder getInvocationTimingOrBuilder() { + return getInvocationTiming(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(compilationResult_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, compilationResult_); + } + if (invocationConfig_ != null) { + output.writeMessage(3, getInvocationConfig()); + } + if (state_ != com.google.cloud.dataform.v1beta1.WorkflowInvocation.State.STATE_UNSPECIFIED.getNumber()) { + output.writeEnum(4, state_); + } + if (invocationTiming_ != null) { + output.writeMessage(5, getInvocationTiming()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(compilationResult_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, compilationResult_); + } + if (invocationConfig_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getInvocationConfig()); + } + if (state_ != com.google.cloud.dataform.v1beta1.WorkflowInvocation.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, state_); + } + if (invocationTiming_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getInvocationTiming()); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.WorkflowInvocation)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.WorkflowInvocation other = (com.google.cloud.dataform.v1beta1.WorkflowInvocation) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!getCompilationResult() + .equals(other.getCompilationResult())) return false; + if (hasInvocationConfig() != other.hasInvocationConfig()) return false; + if (hasInvocationConfig()) { + if (!getInvocationConfig() + .equals(other.getInvocationConfig())) return false; + } + if (state_ != other.state_) return false; + if (hasInvocationTiming() != other.hasInvocationTiming()) return false; + if (hasInvocationTiming()) { + if (!getInvocationTiming() + .equals(other.getInvocationTiming())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + COMPILATION_RESULT_FIELD_NUMBER; + hash = (53 * hash) + getCompilationResult().hashCode(); + if (hasInvocationConfig()) { + hash = (37 * hash) + INVOCATION_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getInvocationConfig().hashCode(); + } + hash = (37 * hash) + STATE_FIELD_NUMBER; + hash = (53 * hash) + state_; + if (hasInvocationTiming()) { + hash = (37 * hash) + INVOCATION_TIMING_FIELD_NUMBER; + hash = (53 * hash) + getInvocationTiming().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.WorkflowInvocation parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocation parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocation parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocation parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocation parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocation parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocation parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocation parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocation parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocation parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.WorkflowInvocation prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * Represents a single invocation of a compilation result.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.WorkflowInvocation} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.WorkflowInvocation) + com.google.cloud.dataform.v1beta1.WorkflowInvocationOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.WorkflowInvocation.class, com.google.cloud.dataform.v1beta1.WorkflowInvocation.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.WorkflowInvocation.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + + compilationResult_ = ""; + + if (invocationConfigBuilder_ == null) { + invocationConfig_ = null; + } else { + invocationConfig_ = null; + invocationConfigBuilder_ = null; + } + state_ = 0; + + if (invocationTimingBuilder_ == null) { + invocationTiming_ = null; + } else { + invocationTiming_ = null; + invocationTimingBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.WorkflowInvocation getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.WorkflowInvocation.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.WorkflowInvocation build() { + com.google.cloud.dataform.v1beta1.WorkflowInvocation result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.WorkflowInvocation buildPartial() { + com.google.cloud.dataform.v1beta1.WorkflowInvocation result = new com.google.cloud.dataform.v1beta1.WorkflowInvocation(this); + result.name_ = name_; + result.compilationResult_ = compilationResult_; + if (invocationConfigBuilder_ == null) { + result.invocationConfig_ = invocationConfig_; + } else { + result.invocationConfig_ = invocationConfigBuilder_.build(); + } + result.state_ = state_; + if (invocationTimingBuilder_ == null) { + result.invocationTiming_ = invocationTiming_; + } else { + result.invocationTiming_ = invocationTimingBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.WorkflowInvocation) { + return mergeFrom((com.google.cloud.dataform.v1beta1.WorkflowInvocation)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.WorkflowInvocation other) { + if (other == com.google.cloud.dataform.v1beta1.WorkflowInvocation.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + if (!other.getCompilationResult().isEmpty()) { + compilationResult_ = other.compilationResult_; + onChanged(); + } + if (other.hasInvocationConfig()) { + mergeInvocationConfig(other.getInvocationConfig()); + } + if (other.state_ != 0) { + setStateValue(other.getStateValue()); + } + if (other.hasInvocationTiming()) { + mergeInvocationTiming(other.getInvocationTiming()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.WorkflowInvocation parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.WorkflowInvocation) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object name_ = ""; + /** + *
+     * Output only. The workflow invocation's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Output only. The workflow invocation's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Output only. The workflow invocation's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + *
+     * Output only. The workflow invocation's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + *
+     * Output only. The workflow invocation's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + + private java.lang.Object compilationResult_ = ""; + /** + *
+     * Immutable. The name of the compilation result to compile. Must be in the format
+     * `projects/*/locations/*/repositories/*/compilationResults/*`.
+     * 
+ * + * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * @return The compilationResult. + */ + public java.lang.String getCompilationResult() { + java.lang.Object ref = compilationResult_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + compilationResult_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Immutable. The name of the compilation result to compile. Must be in the format
+     * `projects/*/locations/*/repositories/*/compilationResults/*`.
+     * 
+ * + * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * @return The bytes for compilationResult. + */ + public com.google.protobuf.ByteString + getCompilationResultBytes() { + java.lang.Object ref = compilationResult_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + compilationResult_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Immutable. The name of the compilation result to compile. Must be in the format
+     * `projects/*/locations/*/repositories/*/compilationResults/*`.
+     * 
+ * + * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * @param value The compilationResult to set. + * @return This builder for chaining. + */ + public Builder setCompilationResult( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + compilationResult_ = value; + onChanged(); + return this; + } + /** + *
+     * Immutable. The name of the compilation result to compile. Must be in the format
+     * `projects/*/locations/*/repositories/*/compilationResults/*`.
+     * 
+ * + * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearCompilationResult() { + + compilationResult_ = getDefaultInstance().getCompilationResult(); + onChanged(); + return this; + } + /** + *
+     * Immutable. The name of the compilation result to compile. Must be in the format
+     * `projects/*/locations/*/repositories/*/compilationResults/*`.
+     * 
+ * + * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * @param value The bytes for compilationResult to set. + * @return This builder for chaining. + */ + public Builder setCompilationResultBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + compilationResult_ = value; + onChanged(); + return this; + } + + private com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig invocationConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig, com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig.Builder, com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfigOrBuilder> invocationConfigBuilder_; + /** + *
+     * Immutable. If left unset, a default InvocationConfig will be used.
+     * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * @return Whether the invocationConfig field is set. + */ + public boolean hasInvocationConfig() { + return invocationConfigBuilder_ != null || invocationConfig_ != null; + } + /** + *
+     * Immutable. If left unset, a default InvocationConfig will be used.
+     * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * @return The invocationConfig. + */ + public com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig getInvocationConfig() { + if (invocationConfigBuilder_ == null) { + return invocationConfig_ == null ? com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig.getDefaultInstance() : invocationConfig_; + } else { + return invocationConfigBuilder_.getMessage(); + } + } + /** + *
+     * Immutable. If left unset, a default InvocationConfig will be used.
+     * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + */ + public Builder setInvocationConfig(com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig value) { + if (invocationConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + invocationConfig_ = value; + onChanged(); + } else { + invocationConfigBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * Immutable. If left unset, a default InvocationConfig will be used.
+     * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + */ + public Builder setInvocationConfig( + com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig.Builder builderForValue) { + if (invocationConfigBuilder_ == null) { + invocationConfig_ = builderForValue.build(); + onChanged(); + } else { + invocationConfigBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * Immutable. If left unset, a default InvocationConfig will be used.
+     * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + */ + public Builder mergeInvocationConfig(com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig value) { + if (invocationConfigBuilder_ == null) { + if (invocationConfig_ != null) { + invocationConfig_ = + com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig.newBuilder(invocationConfig_).mergeFrom(value).buildPartial(); + } else { + invocationConfig_ = value; + } + onChanged(); + } else { + invocationConfigBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * Immutable. If left unset, a default InvocationConfig will be used.
+     * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + */ + public Builder clearInvocationConfig() { + if (invocationConfigBuilder_ == null) { + invocationConfig_ = null; + onChanged(); + } else { + invocationConfig_ = null; + invocationConfigBuilder_ = null; + } + + return this; + } + /** + *
+     * Immutable. If left unset, a default InvocationConfig will be used.
+     * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + */ + public com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig.Builder getInvocationConfigBuilder() { + + onChanged(); + return getInvocationConfigFieldBuilder().getBuilder(); + } + /** + *
+     * Immutable. If left unset, a default InvocationConfig will be used.
+     * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + */ + public com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfigOrBuilder getInvocationConfigOrBuilder() { + if (invocationConfigBuilder_ != null) { + return invocationConfigBuilder_.getMessageOrBuilder(); + } else { + return invocationConfig_ == null ? + com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig.getDefaultInstance() : invocationConfig_; + } + } + /** + *
+     * Immutable. If left unset, a default InvocationConfig will be used.
+     * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig, com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig.Builder, com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfigOrBuilder> + getInvocationConfigFieldBuilder() { + if (invocationConfigBuilder_ == null) { + invocationConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig, com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig.Builder, com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfigOrBuilder>( + getInvocationConfig(), + getParentForChildren(), + isClean()); + invocationConfig_ = null; + } + return invocationConfigBuilder_; + } + + private int state_ = 0; + /** + *
+     * Output only. This workflow invocation's current state.
+     * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The enum numeric value on the wire for state. + */ + @java.lang.Override public int getStateValue() { + return state_; + } + /** + *
+     * Output only. This workflow invocation's current state.
+     * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param value The enum numeric value on the wire for state to set. + * @return This builder for chaining. + */ + public Builder setStateValue(int value) { + + state_ = value; + onChanged(); + return this; + } + /** + *
+     * Output only. This workflow invocation's current state.
+     * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The state. + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.WorkflowInvocation.State getState() { + @SuppressWarnings("deprecation") + com.google.cloud.dataform.v1beta1.WorkflowInvocation.State result = com.google.cloud.dataform.v1beta1.WorkflowInvocation.State.valueOf(state_); + return result == null ? com.google.cloud.dataform.v1beta1.WorkflowInvocation.State.UNRECOGNIZED : result; + } + /** + *
+     * Output only. This workflow invocation's current state.
+     * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param value The state to set. + * @return This builder for chaining. + */ + public Builder setState(com.google.cloud.dataform.v1beta1.WorkflowInvocation.State value) { + if (value == null) { + throw new NullPointerException(); + } + + state_ = value.getNumber(); + onChanged(); + return this; + } + /** + *
+     * Output only. This workflow invocation's current state.
+     * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return This builder for chaining. + */ + public Builder clearState() { + + state_ = 0; + onChanged(); + return this; + } + + private com.google.type.Interval invocationTiming_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Interval, com.google.type.Interval.Builder, com.google.type.IntervalOrBuilder> invocationTimingBuilder_; + /** + *
+     * Output only. This workflow invocation's timing details.
+     * 
+ * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the invocationTiming field is set. + */ + public boolean hasInvocationTiming() { + return invocationTimingBuilder_ != null || invocationTiming_ != null; + } + /** + *
+     * Output only. This workflow invocation's timing details.
+     * 
+ * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The invocationTiming. + */ + public com.google.type.Interval getInvocationTiming() { + if (invocationTimingBuilder_ == null) { + return invocationTiming_ == null ? com.google.type.Interval.getDefaultInstance() : invocationTiming_; + } else { + return invocationTimingBuilder_.getMessage(); + } + } + /** + *
+     * Output only. This workflow invocation's timing details.
+     * 
+ * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setInvocationTiming(com.google.type.Interval value) { + if (invocationTimingBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + invocationTiming_ = value; + onChanged(); + } else { + invocationTimingBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * Output only. This workflow invocation's timing details.
+     * 
+ * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setInvocationTiming( + com.google.type.Interval.Builder builderForValue) { + if (invocationTimingBuilder_ == null) { + invocationTiming_ = builderForValue.build(); + onChanged(); + } else { + invocationTimingBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * Output only. This workflow invocation's timing details.
+     * 
+ * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder mergeInvocationTiming(com.google.type.Interval value) { + if (invocationTimingBuilder_ == null) { + if (invocationTiming_ != null) { + invocationTiming_ = + com.google.type.Interval.newBuilder(invocationTiming_).mergeFrom(value).buildPartial(); + } else { + invocationTiming_ = value; + } + onChanged(); + } else { + invocationTimingBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * Output only. This workflow invocation's timing details.
+     * 
+ * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder clearInvocationTiming() { + if (invocationTimingBuilder_ == null) { + invocationTiming_ = null; + onChanged(); + } else { + invocationTiming_ = null; + invocationTimingBuilder_ = null; + } + + return this; + } + /** + *
+     * Output only. This workflow invocation's timing details.
+     * 
+ * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.type.Interval.Builder getInvocationTimingBuilder() { + + onChanged(); + return getInvocationTimingFieldBuilder().getBuilder(); + } + /** + *
+     * Output only. This workflow invocation's timing details.
+     * 
+ * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.type.IntervalOrBuilder getInvocationTimingOrBuilder() { + if (invocationTimingBuilder_ != null) { + return invocationTimingBuilder_.getMessageOrBuilder(); + } else { + return invocationTiming_ == null ? + com.google.type.Interval.getDefaultInstance() : invocationTiming_; + } + } + /** + *
+     * Output only. This workflow invocation's timing details.
+     * 
+ * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Interval, com.google.type.Interval.Builder, com.google.type.IntervalOrBuilder> + getInvocationTimingFieldBuilder() { + if (invocationTimingBuilder_ == null) { + invocationTimingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Interval, com.google.type.Interval.Builder, com.google.type.IntervalOrBuilder>( + getInvocationTiming(), + getParentForChildren(), + isClean()); + invocationTiming_ = null; + } + return invocationTimingBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.WorkflowInvocation) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.WorkflowInvocation) + private static final com.google.cloud.dataform.v1beta1.WorkflowInvocation DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.WorkflowInvocation(); + } + + public static com.google.cloud.dataform.v1beta1.WorkflowInvocation getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WorkflowInvocation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WorkflowInvocation(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.WorkflowInvocation getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkflowInvocationAction.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkflowInvocationAction.java new file mode 100644 index 0000000..21eefa8 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkflowInvocationAction.java @@ -0,0 +1,2554 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * Represents a single action in a workflow invocation.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.WorkflowInvocationAction} + */ +public final class WorkflowInvocationAction extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.WorkflowInvocationAction) + WorkflowInvocationActionOrBuilder { +private static final long serialVersionUID = 0L; + // Use WorkflowInvocationAction.newBuilder() to construct. + private WorkflowInvocationAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private WorkflowInvocationAction() { + state_ = 0; + failureReason_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new WorkflowInvocationAction(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private WorkflowInvocationAction( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.cloud.dataform.v1beta1.Target.Builder subBuilder = null; + if (target_ != null) { + subBuilder = target_.toBuilder(); + } + target_ = input.readMessage(com.google.cloud.dataform.v1beta1.Target.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(target_); + target_ = subBuilder.buildPartial(); + } + + break; + } + case 18: { + com.google.cloud.dataform.v1beta1.Target.Builder subBuilder = null; + if (canonicalTarget_ != null) { + subBuilder = canonicalTarget_.toBuilder(); + } + canonicalTarget_ = input.readMessage(com.google.cloud.dataform.v1beta1.Target.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(canonicalTarget_); + canonicalTarget_ = subBuilder.buildPartial(); + } + + break; + } + case 32: { + int rawValue = input.readEnum(); + + state_ = rawValue; + break; + } + case 42: { + com.google.type.Interval.Builder subBuilder = null; + if (invocationTiming_ != null) { + subBuilder = invocationTiming_.toBuilder(); + } + invocationTiming_ = input.readMessage(com.google.type.Interval.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(invocationTiming_); + invocationTiming_ = subBuilder.buildPartial(); + } + + break; + } + case 50: { + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction.Builder subBuilder = null; + if (bigqueryAction_ != null) { + subBuilder = bigqueryAction_.toBuilder(); + } + bigqueryAction_ = input.readMessage(com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(bigqueryAction_); + bigqueryAction_ = subBuilder.buildPartial(); + } + + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + + failureReason_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.class, com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.Builder.class); + } + + /** + *
+   * Represents the current state of an workflow invocation action.
+   * 
+ * + * Protobuf enum {@code google.cloud.dataform.v1beta1.WorkflowInvocationAction.State} + */ + public enum State + implements com.google.protobuf.ProtocolMessageEnum { + /** + *
+     * The action has not yet been considered for invocation.
+     * 
+ * + * PENDING = 0; + */ + PENDING(0), + /** + *
+     * The action is currently running.
+     * 
+ * + * RUNNING = 1; + */ + RUNNING(1), + /** + *
+     * Execution of the action was skipped because upstream dependencies did not
+     * all complete successfully. A terminal state.
+     * 
+ * + * SKIPPED = 2; + */ + SKIPPED(2), + /** + *
+     * Execution of the action was disabled as per the configuration of the
+     * corresponding compilation result action. A terminal state.
+     * 
+ * + * DISABLED = 3; + */ + DISABLED(3), + /** + *
+     * The action succeeded. A terminal state.
+     * 
+ * + * SUCCEEDED = 4; + */ + SUCCEEDED(4), + /** + *
+     * The action was cancelled. A terminal state.
+     * 
+ * + * CANCELLED = 5; + */ + CANCELLED(5), + /** + *
+     * The action failed. A terminal state.
+     * 
+ * + * FAILED = 6; + */ + FAILED(6), + UNRECOGNIZED(-1), + ; + + /** + *
+     * The action has not yet been considered for invocation.
+     * 
+ * + * PENDING = 0; + */ + public static final int PENDING_VALUE = 0; + /** + *
+     * The action is currently running.
+     * 
+ * + * RUNNING = 1; + */ + public static final int RUNNING_VALUE = 1; + /** + *
+     * Execution of the action was skipped because upstream dependencies did not
+     * all complete successfully. A terminal state.
+     * 
+ * + * SKIPPED = 2; + */ + public static final int SKIPPED_VALUE = 2; + /** + *
+     * Execution of the action was disabled as per the configuration of the
+     * corresponding compilation result action. A terminal state.
+     * 
+ * + * DISABLED = 3; + */ + public static final int DISABLED_VALUE = 3; + /** + *
+     * The action succeeded. A terminal state.
+     * 
+ * + * SUCCEEDED = 4; + */ + public static final int SUCCEEDED_VALUE = 4; + /** + *
+     * The action was cancelled. A terminal state.
+     * 
+ * + * CANCELLED = 5; + */ + public static final int CANCELLED_VALUE = 5; + /** + *
+     * The action failed. A terminal state.
+     * 
+ * + * FAILED = 6; + */ + public static final int FAILED_VALUE = 6; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static State valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static State forNumber(int value) { + switch (value) { + case 0: return PENDING; + case 1: return RUNNING; + case 2: return SKIPPED; + case 3: return DISABLED; + case 4: return SUCCEEDED; + case 5: return CANCELLED; + case 6: return FAILED; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + State> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.getDescriptor().getEnumTypes().get(0); + } + + private static final State[] VALUES = values(); + + public static State valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private State(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.dataform.v1beta1.WorkflowInvocationAction.State) + } + + public interface BigQueryActionOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Output only. The generated BigQuery SQL script that will be executed.
+     * 
+ * + * string sql_script = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The sqlScript. + */ + java.lang.String getSqlScript(); + /** + *
+     * Output only. The generated BigQuery SQL script that will be executed.
+     * 
+ * + * string sql_script = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for sqlScript. + */ + com.google.protobuf.ByteString + getSqlScriptBytes(); + } + /** + *
+   * Represents a workflow action that will run against BigQuery.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction} + */ + public static final class BigQueryAction extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction) + BigQueryActionOrBuilder { + private static final long serialVersionUID = 0L; + // Use BigQueryAction.newBuilder() to construct. + private BigQueryAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private BigQueryAction() { + sqlScript_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new BigQueryAction(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private BigQueryAction( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + sqlScript_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_BigQueryAction_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_BigQueryAction_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction.class, com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction.Builder.class); + } + + public static final int SQL_SCRIPT_FIELD_NUMBER = 1; + private volatile java.lang.Object sqlScript_; + /** + *
+     * Output only. The generated BigQuery SQL script that will be executed.
+     * 
+ * + * string sql_script = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The sqlScript. + */ + @java.lang.Override + public java.lang.String getSqlScript() { + java.lang.Object ref = sqlScript_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + sqlScript_ = s; + return s; + } + } + /** + *
+     * Output only. The generated BigQuery SQL script that will be executed.
+     * 
+ * + * string sql_script = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for sqlScript. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSqlScriptBytes() { + java.lang.Object ref = sqlScript_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + sqlScript_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sqlScript_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sqlScript_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sqlScript_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sqlScript_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction other = (com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction) obj; + + if (!getSqlScript() + .equals(other.getSqlScript())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + SQL_SCRIPT_FIELD_NUMBER; + hash = (53 * hash) + getSqlScript().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Represents a workflow action that will run against BigQuery.
+     * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction) + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryActionOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_BigQueryAction_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_BigQueryAction_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction.class, com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + sqlScript_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_BigQueryAction_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction build() { + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction buildPartial() { + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction result = new com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction(this); + result.sqlScript_ = sqlScript_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction) { + return mergeFrom((com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction other) { + if (other == com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction.getDefaultInstance()) return this; + if (!other.getSqlScript().isEmpty()) { + sqlScript_ = other.sqlScript_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object sqlScript_ = ""; + /** + *
+       * Output only. The generated BigQuery SQL script that will be executed.
+       * 
+ * + * string sql_script = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The sqlScript. + */ + public java.lang.String getSqlScript() { + java.lang.Object ref = sqlScript_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + sqlScript_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Output only. The generated BigQuery SQL script that will be executed.
+       * 
+ * + * string sql_script = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for sqlScript. + */ + public com.google.protobuf.ByteString + getSqlScriptBytes() { + java.lang.Object ref = sqlScript_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + sqlScript_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Output only. The generated BigQuery SQL script that will be executed.
+       * 
+ * + * string sql_script = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param value The sqlScript to set. + * @return This builder for chaining. + */ + public Builder setSqlScript( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + sqlScript_ = value; + onChanged(); + return this; + } + /** + *
+       * Output only. The generated BigQuery SQL script that will be executed.
+       * 
+ * + * string sql_script = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return This builder for chaining. + */ + public Builder clearSqlScript() { + + sqlScript_ = getDefaultInstance().getSqlScript(); + onChanged(); + return this; + } + /** + *
+       * Output only. The generated BigQuery SQL script that will be executed.
+       * 
+ * + * string sql_script = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param value The bytes for sqlScript to set. + * @return This builder for chaining. + */ + public Builder setSqlScriptBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + sqlScript_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction) + private static final com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction(); + } + + public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryAction parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BigQueryAction(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public static final int TARGET_FIELD_NUMBER = 1; + private com.google.cloud.dataform.v1beta1.Target target_; + /** + *
+   * Output only. This action's identifier. Unique within the workflow invocation.
+   * 
+ * + * .google.cloud.dataform.v1beta1.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the target field is set. + */ + @java.lang.Override + public boolean hasTarget() { + return target_ != null; + } + /** + *
+   * Output only. This action's identifier. Unique within the workflow invocation.
+   * 
+ * + * .google.cloud.dataform.v1beta1.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The target. + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.Target getTarget() { + return target_ == null ? com.google.cloud.dataform.v1beta1.Target.getDefaultInstance() : target_; + } + /** + *
+   * Output only. This action's identifier. Unique within the workflow invocation.
+   * 
+ * + * .google.cloud.dataform.v1beta1.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.TargetOrBuilder getTargetOrBuilder() { + return getTarget(); + } + + public static final int CANONICAL_TARGET_FIELD_NUMBER = 2; + private com.google.cloud.dataform.v1beta1.Target canonicalTarget_; + /** + *
+   * Output only. The action's identifier if the project had been compiled without any
+   * overrides configured. Unique within the compilation result.
+   * 
+ * + * .google.cloud.dataform.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the canonicalTarget field is set. + */ + @java.lang.Override + public boolean hasCanonicalTarget() { + return canonicalTarget_ != null; + } + /** + *
+   * Output only. The action's identifier if the project had been compiled without any
+   * overrides configured. Unique within the compilation result.
+   * 
+ * + * .google.cloud.dataform.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The canonicalTarget. + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.Target getCanonicalTarget() { + return canonicalTarget_ == null ? com.google.cloud.dataform.v1beta1.Target.getDefaultInstance() : canonicalTarget_; + } + /** + *
+   * Output only. The action's identifier if the project had been compiled without any
+   * overrides configured. Unique within the compilation result.
+   * 
+ * + * .google.cloud.dataform.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.TargetOrBuilder getCanonicalTargetOrBuilder() { + return getCanonicalTarget(); + } + + public static final int STATE_FIELD_NUMBER = 4; + private int state_; + /** + *
+   * Output only. This action's current state.
+   * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The enum numeric value on the wire for state. + */ + @java.lang.Override public int getStateValue() { + return state_; + } + /** + *
+   * Output only. This action's current state.
+   * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The state. + */ + @java.lang.Override public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.State getState() { + @SuppressWarnings("deprecation") + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.State result = com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.State.valueOf(state_); + return result == null ? com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.State.UNRECOGNIZED : result; + } + + public static final int FAILURE_REASON_FIELD_NUMBER = 7; + private volatile java.lang.Object failureReason_; + /** + *
+   * Output only. If and only if action's state is FAILED a failure reason is set.
+   * 
+ * + * string failure_reason = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The failureReason. + */ + @java.lang.Override + public java.lang.String getFailureReason() { + java.lang.Object ref = failureReason_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + failureReason_ = s; + return s; + } + } + /** + *
+   * Output only. If and only if action's state is FAILED a failure reason is set.
+   * 
+ * + * string failure_reason = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for failureReason. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getFailureReasonBytes() { + java.lang.Object ref = failureReason_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + failureReason_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int INVOCATION_TIMING_FIELD_NUMBER = 5; + private com.google.type.Interval invocationTiming_; + /** + *
+   * Output only. This action's timing details.
+   * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
+   * CANCELLED, FAILED] state.
+   * `end_time` will be set if the action is in [SUCCEEDED, CANCELLED, FAILED]
+   * state.
+   * 
+ * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the invocationTiming field is set. + */ + @java.lang.Override + public boolean hasInvocationTiming() { + return invocationTiming_ != null; + } + /** + *
+   * Output only. This action's timing details.
+   * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
+   * CANCELLED, FAILED] state.
+   * `end_time` will be set if the action is in [SUCCEEDED, CANCELLED, FAILED]
+   * state.
+   * 
+ * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The invocationTiming. + */ + @java.lang.Override + public com.google.type.Interval getInvocationTiming() { + return invocationTiming_ == null ? com.google.type.Interval.getDefaultInstance() : invocationTiming_; + } + /** + *
+   * Output only. This action's timing details.
+   * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
+   * CANCELLED, FAILED] state.
+   * `end_time` will be set if the action is in [SUCCEEDED, CANCELLED, FAILED]
+   * state.
+   * 
+ * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public com.google.type.IntervalOrBuilder getInvocationTimingOrBuilder() { + return getInvocationTiming(); + } + + public static final int BIGQUERY_ACTION_FIELD_NUMBER = 6; + private com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction bigqueryAction_; + /** + *
+   * Output only. The workflow action's bigquery action details.
+   * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the bigqueryAction field is set. + */ + @java.lang.Override + public boolean hasBigqueryAction() { + return bigqueryAction_ != null; + } + /** + *
+   * Output only. The workflow action's bigquery action details.
+   * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bigqueryAction. + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction getBigqueryAction() { + return bigqueryAction_ == null ? com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction.getDefaultInstance() : bigqueryAction_; + } + /** + *
+   * Output only. The workflow action's bigquery action details.
+   * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryActionOrBuilder getBigqueryActionOrBuilder() { + return getBigqueryAction(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (target_ != null) { + output.writeMessage(1, getTarget()); + } + if (canonicalTarget_ != null) { + output.writeMessage(2, getCanonicalTarget()); + } + if (state_ != com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.State.PENDING.getNumber()) { + output.writeEnum(4, state_); + } + if (invocationTiming_ != null) { + output.writeMessage(5, getInvocationTiming()); + } + if (bigqueryAction_ != null) { + output.writeMessage(6, getBigqueryAction()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(failureReason_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 7, failureReason_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (target_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getTarget()); + } + if (canonicalTarget_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getCanonicalTarget()); + } + if (state_ != com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.State.PENDING.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, state_); + } + if (invocationTiming_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getInvocationTiming()); + } + if (bigqueryAction_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getBigqueryAction()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(failureReason_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, failureReason_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.WorkflowInvocationAction)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction other = (com.google.cloud.dataform.v1beta1.WorkflowInvocationAction) obj; + + if (hasTarget() != other.hasTarget()) return false; + if (hasTarget()) { + if (!getTarget() + .equals(other.getTarget())) return false; + } + if (hasCanonicalTarget() != other.hasCanonicalTarget()) return false; + if (hasCanonicalTarget()) { + if (!getCanonicalTarget() + .equals(other.getCanonicalTarget())) return false; + } + if (state_ != other.state_) return false; + if (!getFailureReason() + .equals(other.getFailureReason())) return false; + if (hasInvocationTiming() != other.hasInvocationTiming()) return false; + if (hasInvocationTiming()) { + if (!getInvocationTiming() + .equals(other.getInvocationTiming())) return false; + } + if (hasBigqueryAction() != other.hasBigqueryAction()) return false; + if (hasBigqueryAction()) { + if (!getBigqueryAction() + .equals(other.getBigqueryAction())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasTarget()) { + hash = (37 * hash) + TARGET_FIELD_NUMBER; + hash = (53 * hash) + getTarget().hashCode(); + } + if (hasCanonicalTarget()) { + hash = (37 * hash) + CANONICAL_TARGET_FIELD_NUMBER; + hash = (53 * hash) + getCanonicalTarget().hashCode(); + } + hash = (37 * hash) + STATE_FIELD_NUMBER; + hash = (53 * hash) + state_; + hash = (37 * hash) + FAILURE_REASON_FIELD_NUMBER; + hash = (53 * hash) + getFailureReason().hashCode(); + if (hasInvocationTiming()) { + hash = (37 * hash) + INVOCATION_TIMING_FIELD_NUMBER; + hash = (53 * hash) + getInvocationTiming().hashCode(); + } + if (hasBigqueryAction()) { + hash = (37 * hash) + BIGQUERY_ACTION_FIELD_NUMBER; + hash = (53 * hash) + getBigqueryAction().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.WorkflowInvocationAction prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * Represents a single action in a workflow invocation.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.WorkflowInvocationAction} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.WorkflowInvocationAction) + com.google.cloud.dataform.v1beta1.WorkflowInvocationActionOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.class, com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (targetBuilder_ == null) { + target_ = null; + } else { + target_ = null; + targetBuilder_ = null; + } + if (canonicalTargetBuilder_ == null) { + canonicalTarget_ = null; + } else { + canonicalTarget_ = null; + canonicalTargetBuilder_ = null; + } + state_ = 0; + + failureReason_ = ""; + + if (invocationTimingBuilder_ == null) { + invocationTiming_ = null; + } else { + invocationTiming_ = null; + invocationTimingBuilder_ = null; + } + if (bigqueryActionBuilder_ == null) { + bigqueryAction_ = null; + } else { + bigqueryAction_ = null; + bigqueryActionBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction build() { + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction buildPartial() { + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction result = new com.google.cloud.dataform.v1beta1.WorkflowInvocationAction(this); + if (targetBuilder_ == null) { + result.target_ = target_; + } else { + result.target_ = targetBuilder_.build(); + } + if (canonicalTargetBuilder_ == null) { + result.canonicalTarget_ = canonicalTarget_; + } else { + result.canonicalTarget_ = canonicalTargetBuilder_.build(); + } + result.state_ = state_; + result.failureReason_ = failureReason_; + if (invocationTimingBuilder_ == null) { + result.invocationTiming_ = invocationTiming_; + } else { + result.invocationTiming_ = invocationTimingBuilder_.build(); + } + if (bigqueryActionBuilder_ == null) { + result.bigqueryAction_ = bigqueryAction_; + } else { + result.bigqueryAction_ = bigqueryActionBuilder_.build(); + } + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.WorkflowInvocationAction) { + return mergeFrom((com.google.cloud.dataform.v1beta1.WorkflowInvocationAction)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.WorkflowInvocationAction other) { + if (other == com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.getDefaultInstance()) return this; + if (other.hasTarget()) { + mergeTarget(other.getTarget()); + } + if (other.hasCanonicalTarget()) { + mergeCanonicalTarget(other.getCanonicalTarget()); + } + if (other.state_ != 0) { + setStateValue(other.getStateValue()); + } + if (!other.getFailureReason().isEmpty()) { + failureReason_ = other.failureReason_; + onChanged(); + } + if (other.hasInvocationTiming()) { + mergeInvocationTiming(other.getInvocationTiming()); + } + if (other.hasBigqueryAction()) { + mergeBigqueryAction(other.getBigqueryAction()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.WorkflowInvocationAction) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private com.google.cloud.dataform.v1beta1.Target target_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder> targetBuilder_; + /** + *
+     * Output only. This action's identifier. Unique within the workflow invocation.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the target field is set. + */ + public boolean hasTarget() { + return targetBuilder_ != null || target_ != null; + } + /** + *
+     * Output only. This action's identifier. Unique within the workflow invocation.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The target. + */ + public com.google.cloud.dataform.v1beta1.Target getTarget() { + if (targetBuilder_ == null) { + return target_ == null ? com.google.cloud.dataform.v1beta1.Target.getDefaultInstance() : target_; + } else { + return targetBuilder_.getMessage(); + } + } + /** + *
+     * Output only. This action's identifier. Unique within the workflow invocation.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setTarget(com.google.cloud.dataform.v1beta1.Target value) { + if (targetBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + target_ = value; + onChanged(); + } else { + targetBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * Output only. This action's identifier. Unique within the workflow invocation.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setTarget( + com.google.cloud.dataform.v1beta1.Target.Builder builderForValue) { + if (targetBuilder_ == null) { + target_ = builderForValue.build(); + onChanged(); + } else { + targetBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * Output only. This action's identifier. Unique within the workflow invocation.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder mergeTarget(com.google.cloud.dataform.v1beta1.Target value) { + if (targetBuilder_ == null) { + if (target_ != null) { + target_ = + com.google.cloud.dataform.v1beta1.Target.newBuilder(target_).mergeFrom(value).buildPartial(); + } else { + target_ = value; + } + onChanged(); + } else { + targetBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * Output only. This action's identifier. Unique within the workflow invocation.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder clearTarget() { + if (targetBuilder_ == null) { + target_ = null; + onChanged(); + } else { + target_ = null; + targetBuilder_ = null; + } + + return this; + } + /** + *
+     * Output only. This action's identifier. Unique within the workflow invocation.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.cloud.dataform.v1beta1.Target.Builder getTargetBuilder() { + + onChanged(); + return getTargetFieldBuilder().getBuilder(); + } + /** + *
+     * Output only. This action's identifier. Unique within the workflow invocation.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.cloud.dataform.v1beta1.TargetOrBuilder getTargetOrBuilder() { + if (targetBuilder_ != null) { + return targetBuilder_.getMessageOrBuilder(); + } else { + return target_ == null ? + com.google.cloud.dataform.v1beta1.Target.getDefaultInstance() : target_; + } + } + /** + *
+     * Output only. This action's identifier. Unique within the workflow invocation.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder> + getTargetFieldBuilder() { + if (targetBuilder_ == null) { + targetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder>( + getTarget(), + getParentForChildren(), + isClean()); + target_ = null; + } + return targetBuilder_; + } + + private com.google.cloud.dataform.v1beta1.Target canonicalTarget_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder> canonicalTargetBuilder_; + /** + *
+     * Output only. The action's identifier if the project had been compiled without any
+     * overrides configured. Unique within the compilation result.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the canonicalTarget field is set. + */ + public boolean hasCanonicalTarget() { + return canonicalTargetBuilder_ != null || canonicalTarget_ != null; + } + /** + *
+     * Output only. The action's identifier if the project had been compiled without any
+     * overrides configured. Unique within the compilation result.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The canonicalTarget. + */ + public com.google.cloud.dataform.v1beta1.Target getCanonicalTarget() { + if (canonicalTargetBuilder_ == null) { + return canonicalTarget_ == null ? com.google.cloud.dataform.v1beta1.Target.getDefaultInstance() : canonicalTarget_; + } else { + return canonicalTargetBuilder_.getMessage(); + } + } + /** + *
+     * Output only. The action's identifier if the project had been compiled without any
+     * overrides configured. Unique within the compilation result.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setCanonicalTarget(com.google.cloud.dataform.v1beta1.Target value) { + if (canonicalTargetBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + canonicalTarget_ = value; + onChanged(); + } else { + canonicalTargetBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * Output only. The action's identifier if the project had been compiled without any
+     * overrides configured. Unique within the compilation result.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setCanonicalTarget( + com.google.cloud.dataform.v1beta1.Target.Builder builderForValue) { + if (canonicalTargetBuilder_ == null) { + canonicalTarget_ = builderForValue.build(); + onChanged(); + } else { + canonicalTargetBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * Output only. The action's identifier if the project had been compiled without any
+     * overrides configured. Unique within the compilation result.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder mergeCanonicalTarget(com.google.cloud.dataform.v1beta1.Target value) { + if (canonicalTargetBuilder_ == null) { + if (canonicalTarget_ != null) { + canonicalTarget_ = + com.google.cloud.dataform.v1beta1.Target.newBuilder(canonicalTarget_).mergeFrom(value).buildPartial(); + } else { + canonicalTarget_ = value; + } + onChanged(); + } else { + canonicalTargetBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * Output only. The action's identifier if the project had been compiled without any
+     * overrides configured. Unique within the compilation result.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder clearCanonicalTarget() { + if (canonicalTargetBuilder_ == null) { + canonicalTarget_ = null; + onChanged(); + } else { + canonicalTarget_ = null; + canonicalTargetBuilder_ = null; + } + + return this; + } + /** + *
+     * Output only. The action's identifier if the project had been compiled without any
+     * overrides configured. Unique within the compilation result.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.cloud.dataform.v1beta1.Target.Builder getCanonicalTargetBuilder() { + + onChanged(); + return getCanonicalTargetFieldBuilder().getBuilder(); + } + /** + *
+     * Output only. The action's identifier if the project had been compiled without any
+     * overrides configured. Unique within the compilation result.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.cloud.dataform.v1beta1.TargetOrBuilder getCanonicalTargetOrBuilder() { + if (canonicalTargetBuilder_ != null) { + return canonicalTargetBuilder_.getMessageOrBuilder(); + } else { + return canonicalTarget_ == null ? + com.google.cloud.dataform.v1beta1.Target.getDefaultInstance() : canonicalTarget_; + } + } + /** + *
+     * Output only. The action's identifier if the project had been compiled without any
+     * overrides configured. Unique within the compilation result.
+     * 
+ * + * .google.cloud.dataform.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder> + getCanonicalTargetFieldBuilder() { + if (canonicalTargetBuilder_ == null) { + canonicalTargetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder>( + getCanonicalTarget(), + getParentForChildren(), + isClean()); + canonicalTarget_ = null; + } + return canonicalTargetBuilder_; + } + + private int state_ = 0; + /** + *
+     * Output only. This action's current state.
+     * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The enum numeric value on the wire for state. + */ + @java.lang.Override public int getStateValue() { + return state_; + } + /** + *
+     * Output only. This action's current state.
+     * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param value The enum numeric value on the wire for state to set. + * @return This builder for chaining. + */ + public Builder setStateValue(int value) { + + state_ = value; + onChanged(); + return this; + } + /** + *
+     * Output only. This action's current state.
+     * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The state. + */ + @java.lang.Override + public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.State getState() { + @SuppressWarnings("deprecation") + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.State result = com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.State.valueOf(state_); + return result == null ? com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.State.UNRECOGNIZED : result; + } + /** + *
+     * Output only. This action's current state.
+     * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param value The state to set. + * @return This builder for chaining. + */ + public Builder setState(com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.State value) { + if (value == null) { + throw new NullPointerException(); + } + + state_ = value.getNumber(); + onChanged(); + return this; + } + /** + *
+     * Output only. This action's current state.
+     * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return This builder for chaining. + */ + public Builder clearState() { + + state_ = 0; + onChanged(); + return this; + } + + private java.lang.Object failureReason_ = ""; + /** + *
+     * Output only. If and only if action's state is FAILED a failure reason is set.
+     * 
+ * + * string failure_reason = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The failureReason. + */ + public java.lang.String getFailureReason() { + java.lang.Object ref = failureReason_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + failureReason_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Output only. If and only if action's state is FAILED a failure reason is set.
+     * 
+ * + * string failure_reason = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for failureReason. + */ + public com.google.protobuf.ByteString + getFailureReasonBytes() { + java.lang.Object ref = failureReason_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + failureReason_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Output only. If and only if action's state is FAILED a failure reason is set.
+     * 
+ * + * string failure_reason = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param value The failureReason to set. + * @return This builder for chaining. + */ + public Builder setFailureReason( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + failureReason_ = value; + onChanged(); + return this; + } + /** + *
+     * Output only. If and only if action's state is FAILED a failure reason is set.
+     * 
+ * + * string failure_reason = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return This builder for chaining. + */ + public Builder clearFailureReason() { + + failureReason_ = getDefaultInstance().getFailureReason(); + onChanged(); + return this; + } + /** + *
+     * Output only. If and only if action's state is FAILED a failure reason is set.
+     * 
+ * + * string failure_reason = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param value The bytes for failureReason to set. + * @return This builder for chaining. + */ + public Builder setFailureReasonBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + failureReason_ = value; + onChanged(); + return this; + } + + private com.google.type.Interval invocationTiming_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Interval, com.google.type.Interval.Builder, com.google.type.IntervalOrBuilder> invocationTimingBuilder_; + /** + *
+     * Output only. This action's timing details.
+     * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
+     * CANCELLED, FAILED] state.
+     * `end_time` will be set if the action is in [SUCCEEDED, CANCELLED, FAILED]
+     * state.
+     * 
+ * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the invocationTiming field is set. + */ + public boolean hasInvocationTiming() { + return invocationTimingBuilder_ != null || invocationTiming_ != null; + } + /** + *
+     * Output only. This action's timing details.
+     * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
+     * CANCELLED, FAILED] state.
+     * `end_time` will be set if the action is in [SUCCEEDED, CANCELLED, FAILED]
+     * state.
+     * 
+ * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The invocationTiming. + */ + public com.google.type.Interval getInvocationTiming() { + if (invocationTimingBuilder_ == null) { + return invocationTiming_ == null ? com.google.type.Interval.getDefaultInstance() : invocationTiming_; + } else { + return invocationTimingBuilder_.getMessage(); + } + } + /** + *
+     * Output only. This action's timing details.
+     * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
+     * CANCELLED, FAILED] state.
+     * `end_time` will be set if the action is in [SUCCEEDED, CANCELLED, FAILED]
+     * state.
+     * 
+ * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setInvocationTiming(com.google.type.Interval value) { + if (invocationTimingBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + invocationTiming_ = value; + onChanged(); + } else { + invocationTimingBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * Output only. This action's timing details.
+     * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
+     * CANCELLED, FAILED] state.
+     * `end_time` will be set if the action is in [SUCCEEDED, CANCELLED, FAILED]
+     * state.
+     * 
+ * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setInvocationTiming( + com.google.type.Interval.Builder builderForValue) { + if (invocationTimingBuilder_ == null) { + invocationTiming_ = builderForValue.build(); + onChanged(); + } else { + invocationTimingBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * Output only. This action's timing details.
+     * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
+     * CANCELLED, FAILED] state.
+     * `end_time` will be set if the action is in [SUCCEEDED, CANCELLED, FAILED]
+     * state.
+     * 
+ * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder mergeInvocationTiming(com.google.type.Interval value) { + if (invocationTimingBuilder_ == null) { + if (invocationTiming_ != null) { + invocationTiming_ = + com.google.type.Interval.newBuilder(invocationTiming_).mergeFrom(value).buildPartial(); + } else { + invocationTiming_ = value; + } + onChanged(); + } else { + invocationTimingBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * Output only. This action's timing details.
+     * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
+     * CANCELLED, FAILED] state.
+     * `end_time` will be set if the action is in [SUCCEEDED, CANCELLED, FAILED]
+     * state.
+     * 
+ * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder clearInvocationTiming() { + if (invocationTimingBuilder_ == null) { + invocationTiming_ = null; + onChanged(); + } else { + invocationTiming_ = null; + invocationTimingBuilder_ = null; + } + + return this; + } + /** + *
+     * Output only. This action's timing details.
+     * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
+     * CANCELLED, FAILED] state.
+     * `end_time` will be set if the action is in [SUCCEEDED, CANCELLED, FAILED]
+     * state.
+     * 
+ * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.type.Interval.Builder getInvocationTimingBuilder() { + + onChanged(); + return getInvocationTimingFieldBuilder().getBuilder(); + } + /** + *
+     * Output only. This action's timing details.
+     * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
+     * CANCELLED, FAILED] state.
+     * `end_time` will be set if the action is in [SUCCEEDED, CANCELLED, FAILED]
+     * state.
+     * 
+ * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.type.IntervalOrBuilder getInvocationTimingOrBuilder() { + if (invocationTimingBuilder_ != null) { + return invocationTimingBuilder_.getMessageOrBuilder(); + } else { + return invocationTiming_ == null ? + com.google.type.Interval.getDefaultInstance() : invocationTiming_; + } + } + /** + *
+     * Output only. This action's timing details.
+     * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
+     * CANCELLED, FAILED] state.
+     * `end_time` will be set if the action is in [SUCCEEDED, CANCELLED, FAILED]
+     * state.
+     * 
+ * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Interval, com.google.type.Interval.Builder, com.google.type.IntervalOrBuilder> + getInvocationTimingFieldBuilder() { + if (invocationTimingBuilder_ == null) { + invocationTimingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Interval, com.google.type.Interval.Builder, com.google.type.IntervalOrBuilder>( + getInvocationTiming(), + getParentForChildren(), + isClean()); + invocationTiming_ = null; + } + return invocationTimingBuilder_; + } + + private com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction bigqueryAction_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction, com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction.Builder, com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryActionOrBuilder> bigqueryActionBuilder_; + /** + *
+     * Output only. The workflow action's bigquery action details.
+     * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the bigqueryAction field is set. + */ + public boolean hasBigqueryAction() { + return bigqueryActionBuilder_ != null || bigqueryAction_ != null; + } + /** + *
+     * Output only. The workflow action's bigquery action details.
+     * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bigqueryAction. + */ + public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction getBigqueryAction() { + if (bigqueryActionBuilder_ == null) { + return bigqueryAction_ == null ? com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction.getDefaultInstance() : bigqueryAction_; + } else { + return bigqueryActionBuilder_.getMessage(); + } + } + /** + *
+     * Output only. The workflow action's bigquery action details.
+     * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setBigqueryAction(com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction value) { + if (bigqueryActionBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + bigqueryAction_ = value; + onChanged(); + } else { + bigqueryActionBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * Output only. The workflow action's bigquery action details.
+     * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setBigqueryAction( + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction.Builder builderForValue) { + if (bigqueryActionBuilder_ == null) { + bigqueryAction_ = builderForValue.build(); + onChanged(); + } else { + bigqueryActionBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * Output only. The workflow action's bigquery action details.
+     * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder mergeBigqueryAction(com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction value) { + if (bigqueryActionBuilder_ == null) { + if (bigqueryAction_ != null) { + bigqueryAction_ = + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction.newBuilder(bigqueryAction_).mergeFrom(value).buildPartial(); + } else { + bigqueryAction_ = value; + } + onChanged(); + } else { + bigqueryActionBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * Output only. The workflow action's bigquery action details.
+     * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder clearBigqueryAction() { + if (bigqueryActionBuilder_ == null) { + bigqueryAction_ = null; + onChanged(); + } else { + bigqueryAction_ = null; + bigqueryActionBuilder_ = null; + } + + return this; + } + /** + *
+     * Output only. The workflow action's bigquery action details.
+     * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction.Builder getBigqueryActionBuilder() { + + onChanged(); + return getBigqueryActionFieldBuilder().getBuilder(); + } + /** + *
+     * Output only. The workflow action's bigquery action details.
+     * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryActionOrBuilder getBigqueryActionOrBuilder() { + if (bigqueryActionBuilder_ != null) { + return bigqueryActionBuilder_.getMessageOrBuilder(); + } else { + return bigqueryAction_ == null ? + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction.getDefaultInstance() : bigqueryAction_; + } + } + /** + *
+     * Output only. The workflow action's bigquery action details.
+     * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction, com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction.Builder, com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryActionOrBuilder> + getBigqueryActionFieldBuilder() { + if (bigqueryActionBuilder_ == null) { + bigqueryActionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction, com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction.Builder, com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryActionOrBuilder>( + getBigqueryAction(), + getParentForChildren(), + isClean()); + bigqueryAction_ = null; + } + return bigqueryActionBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.WorkflowInvocationAction) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.WorkflowInvocationAction) + private static final com.google.cloud.dataform.v1beta1.WorkflowInvocationAction DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.WorkflowInvocationAction(); + } + + public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WorkflowInvocationAction parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WorkflowInvocationAction(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkflowInvocationActionOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkflowInvocationActionOrBuilder.java new file mode 100644 index 0000000..33ec144 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkflowInvocationActionOrBuilder.java @@ -0,0 +1,171 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface WorkflowInvocationActionOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.WorkflowInvocationAction) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Output only. This action's identifier. Unique within the workflow invocation.
+   * 
+ * + * .google.cloud.dataform.v1beta1.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the target field is set. + */ + boolean hasTarget(); + /** + *
+   * Output only. This action's identifier. Unique within the workflow invocation.
+   * 
+ * + * .google.cloud.dataform.v1beta1.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The target. + */ + com.google.cloud.dataform.v1beta1.Target getTarget(); + /** + *
+   * Output only. This action's identifier. Unique within the workflow invocation.
+   * 
+ * + * .google.cloud.dataform.v1beta1.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + com.google.cloud.dataform.v1beta1.TargetOrBuilder getTargetOrBuilder(); + + /** + *
+   * Output only. The action's identifier if the project had been compiled without any
+   * overrides configured. Unique within the compilation result.
+   * 
+ * + * .google.cloud.dataform.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the canonicalTarget field is set. + */ + boolean hasCanonicalTarget(); + /** + *
+   * Output only. The action's identifier if the project had been compiled without any
+   * overrides configured. Unique within the compilation result.
+   * 
+ * + * .google.cloud.dataform.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The canonicalTarget. + */ + com.google.cloud.dataform.v1beta1.Target getCanonicalTarget(); + /** + *
+   * Output only. The action's identifier if the project had been compiled without any
+   * overrides configured. Unique within the compilation result.
+   * 
+ * + * .google.cloud.dataform.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + com.google.cloud.dataform.v1beta1.TargetOrBuilder getCanonicalTargetOrBuilder(); + + /** + *
+   * Output only. This action's current state.
+   * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The enum numeric value on the wire for state. + */ + int getStateValue(); + /** + *
+   * Output only. This action's current state.
+   * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The state. + */ + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.State getState(); + + /** + *
+   * Output only. If and only if action's state is FAILED a failure reason is set.
+   * 
+ * + * string failure_reason = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The failureReason. + */ + java.lang.String getFailureReason(); + /** + *
+   * Output only. If and only if action's state is FAILED a failure reason is set.
+   * 
+ * + * string failure_reason = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for failureReason. + */ + com.google.protobuf.ByteString + getFailureReasonBytes(); + + /** + *
+   * Output only. This action's timing details.
+   * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
+   * CANCELLED, FAILED] state.
+   * `end_time` will be set if the action is in [SUCCEEDED, CANCELLED, FAILED]
+   * state.
+   * 
+ * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the invocationTiming field is set. + */ + boolean hasInvocationTiming(); + /** + *
+   * Output only. This action's timing details.
+   * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
+   * CANCELLED, FAILED] state.
+   * `end_time` will be set if the action is in [SUCCEEDED, CANCELLED, FAILED]
+   * state.
+   * 
+ * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The invocationTiming. + */ + com.google.type.Interval getInvocationTiming(); + /** + *
+   * Output only. This action's timing details.
+   * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
+   * CANCELLED, FAILED] state.
+   * `end_time` will be set if the action is in [SUCCEEDED, CANCELLED, FAILED]
+   * state.
+   * 
+ * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + com.google.type.IntervalOrBuilder getInvocationTimingOrBuilder(); + + /** + *
+   * Output only. The workflow action's bigquery action details.
+   * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the bigqueryAction field is set. + */ + boolean hasBigqueryAction(); + /** + *
+   * Output only. The workflow action's bigquery action details.
+   * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bigqueryAction. + */ + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction getBigqueryAction(); + /** + *
+   * Output only. The workflow action's bigquery action details.
+   * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryActionOrBuilder getBigqueryActionOrBuilder(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkflowInvocationName.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkflowInvocationName.java new file mode 100644 index 0000000..6a7b35e --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkflowInvocationName.java @@ -0,0 +1,269 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dataform.v1beta1; + +import com.google.api.pathtemplate.PathTemplate; +import com.google.api.resourcenames.ResourceName; +import com.google.common.base.Preconditions; +import com.google.common.collect.ImmutableMap; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +@Generated("by gapic-generator-java") +public class WorkflowInvocationName implements ResourceName { + private static final PathTemplate PROJECT_LOCATION_REPOSITORY_WORKFLOW_INVOCATION = + PathTemplate.createWithoutUrlEncoding( + "projects/{project}/locations/{location}/repositories/{repository}/workflowInvocations/{workflow_invocation}"); + private volatile Map fieldValuesMap; + private final String project; + private final String location; + private final String repository; + private final String workflowInvocation; + + @Deprecated + protected WorkflowInvocationName() { + project = null; + location = null; + repository = null; + workflowInvocation = null; + } + + private WorkflowInvocationName(Builder builder) { + project = Preconditions.checkNotNull(builder.getProject()); + location = Preconditions.checkNotNull(builder.getLocation()); + repository = Preconditions.checkNotNull(builder.getRepository()); + workflowInvocation = Preconditions.checkNotNull(builder.getWorkflowInvocation()); + } + + public String getProject() { + return project; + } + + public String getLocation() { + return location; + } + + public String getRepository() { + return repository; + } + + public String getWorkflowInvocation() { + return workflowInvocation; + } + + public static Builder newBuilder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + public static WorkflowInvocationName of( + String project, String location, String repository, String workflowInvocation) { + return newBuilder() + .setProject(project) + .setLocation(location) + .setRepository(repository) + .setWorkflowInvocation(workflowInvocation) + .build(); + } + + public static String format( + String project, String location, String repository, String workflowInvocation) { + return newBuilder() + .setProject(project) + .setLocation(location) + .setRepository(repository) + .setWorkflowInvocation(workflowInvocation) + .build() + .toString(); + } + + public static WorkflowInvocationName parse(String formattedString) { + if (formattedString.isEmpty()) { + return null; + } + Map matchMap = + PROJECT_LOCATION_REPOSITORY_WORKFLOW_INVOCATION.validatedMatch( + formattedString, "WorkflowInvocationName.parse: formattedString not in valid format"); + return of( + matchMap.get("project"), + matchMap.get("location"), + matchMap.get("repository"), + matchMap.get("workflow_invocation")); + } + + public static List parseList(List formattedStrings) { + List list = new ArrayList<>(formattedStrings.size()); + for (String formattedString : formattedStrings) { + list.add(parse(formattedString)); + } + return list; + } + + public static List toStringList(List values) { + List list = new ArrayList<>(values.size()); + for (WorkflowInvocationName value : values) { + if (value == null) { + list.add(""); + } else { + list.add(value.toString()); + } + } + return list; + } + + public static boolean isParsableFrom(String formattedString) { + return PROJECT_LOCATION_REPOSITORY_WORKFLOW_INVOCATION.matches(formattedString); + } + + @Override + public Map getFieldValuesMap() { + if (fieldValuesMap == null) { + synchronized (this) { + if (fieldValuesMap == null) { + ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); + if (project != null) { + fieldMapBuilder.put("project", project); + } + if (location != null) { + fieldMapBuilder.put("location", location); + } + if (repository != null) { + fieldMapBuilder.put("repository", repository); + } + if (workflowInvocation != null) { + fieldMapBuilder.put("workflow_invocation", workflowInvocation); + } + fieldValuesMap = fieldMapBuilder.build(); + } + } + } + return fieldValuesMap; + } + + public String getFieldValue(String fieldName) { + return getFieldValuesMap().get(fieldName); + } + + @Override + public String toString() { + return PROJECT_LOCATION_REPOSITORY_WORKFLOW_INVOCATION.instantiate( + "project", + project, + "location", + location, + "repository", + repository, + "workflow_invocation", + workflowInvocation); + } + + @Override + public boolean equals(Object o) { + if (o == this) { + return true; + } + if (o != null || getClass() == o.getClass()) { + WorkflowInvocationName that = ((WorkflowInvocationName) o); + return Objects.equals(this.project, that.project) + && Objects.equals(this.location, that.location) + && Objects.equals(this.repository, that.repository) + && Objects.equals(this.workflowInvocation, that.workflowInvocation); + } + return false; + } + + @Override + public int hashCode() { + int h = 1; + h *= 1000003; + h ^= Objects.hashCode(project); + h *= 1000003; + h ^= Objects.hashCode(location); + h *= 1000003; + h ^= Objects.hashCode(repository); + h *= 1000003; + h ^= Objects.hashCode(workflowInvocation); + return h; + } + + /** + * Builder for + * projects/{project}/locations/{location}/repositories/{repository}/workflowInvocations/{workflow_invocation}. + */ + public static class Builder { + private String project; + private String location; + private String repository; + private String workflowInvocation; + + protected Builder() {} + + public String getProject() { + return project; + } + + public String getLocation() { + return location; + } + + public String getRepository() { + return repository; + } + + public String getWorkflowInvocation() { + return workflowInvocation; + } + + public Builder setProject(String project) { + this.project = project; + return this; + } + + public Builder setLocation(String location) { + this.location = location; + return this; + } + + public Builder setRepository(String repository) { + this.repository = repository; + return this; + } + + public Builder setWorkflowInvocation(String workflowInvocation) { + this.workflowInvocation = workflowInvocation; + return this; + } + + private Builder(WorkflowInvocationName workflowInvocationName) { + this.project = workflowInvocationName.project; + this.location = workflowInvocationName.location; + this.repository = workflowInvocationName.repository; + this.workflowInvocation = workflowInvocationName.workflowInvocation; + } + + public WorkflowInvocationName build() { + return new WorkflowInvocationName(this); + } + } +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkflowInvocationOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkflowInvocationOrBuilder.java new file mode 100644 index 0000000..f82302b --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkflowInvocationOrBuilder.java @@ -0,0 +1,124 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface WorkflowInvocationOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.WorkflowInvocation) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Output only. The workflow invocation's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Output only. The workflow invocation's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + *
+   * Immutable. The name of the compilation result to compile. Must be in the format
+   * `projects/*/locations/*/repositories/*/compilationResults/*`.
+   * 
+ * + * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * @return The compilationResult. + */ + java.lang.String getCompilationResult(); + /** + *
+   * Immutable. The name of the compilation result to compile. Must be in the format
+   * `projects/*/locations/*/repositories/*/compilationResults/*`.
+   * 
+ * + * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * @return The bytes for compilationResult. + */ + com.google.protobuf.ByteString + getCompilationResultBytes(); + + /** + *
+   * Immutable. If left unset, a default InvocationConfig will be used.
+   * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * @return Whether the invocationConfig field is set. + */ + boolean hasInvocationConfig(); + /** + *
+   * Immutable. If left unset, a default InvocationConfig will be used.
+   * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * @return The invocationConfig. + */ + com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig getInvocationConfig(); + /** + *
+   * Immutable. If left unset, a default InvocationConfig will be used.
+   * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + */ + com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfigOrBuilder getInvocationConfigOrBuilder(); + + /** + *
+   * Output only. This workflow invocation's current state.
+   * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The enum numeric value on the wire for state. + */ + int getStateValue(); + /** + *
+   * Output only. This workflow invocation's current state.
+   * 
+ * + * .google.cloud.dataform.v1beta1.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The state. + */ + com.google.cloud.dataform.v1beta1.WorkflowInvocation.State getState(); + + /** + *
+   * Output only. This workflow invocation's timing details.
+   * 
+ * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the invocationTiming field is set. + */ + boolean hasInvocationTiming(); + /** + *
+   * Output only. This workflow invocation's timing details.
+   * 
+ * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The invocationTiming. + */ + com.google.type.Interval getInvocationTiming(); + /** + *
+   * Output only. This workflow invocation's timing details.
+   * 
+ * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + com.google.type.IntervalOrBuilder getInvocationTimingOrBuilder(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/Workspace.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/Workspace.java new file mode 100644 index 0000000..80b58f2 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/Workspace.java @@ -0,0 +1,595 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * Represents a Dataform Git workspace.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.Workspace} + */ +public final class Workspace extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.Workspace) + WorkspaceOrBuilder { +private static final long serialVersionUID = 0L; + // Use Workspace.newBuilder() to construct. + private Workspace(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Workspace() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Workspace(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private Workspace( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_Workspace_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_Workspace_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.Workspace.class, com.google.cloud.dataform.v1beta1.Workspace.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + *
+   * Output only. The workspace's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + *
+   * Output only. The workspace's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.Workspace)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.Workspace other = (com.google.cloud.dataform.v1beta1.Workspace) obj; + + if (!getName() + .equals(other.getName())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.Workspace parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.Workspace parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.Workspace parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.Workspace parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.Workspace parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.Workspace parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.Workspace parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.Workspace parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.Workspace parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.Workspace parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.Workspace parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.Workspace parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.Workspace prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * Represents a Dataform Git workspace.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.Workspace} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.Workspace) + com.google.cloud.dataform.v1beta1.WorkspaceOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_Workspace_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_Workspace_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.Workspace.class, com.google.cloud.dataform.v1beta1.Workspace.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.Workspace.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_Workspace_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.Workspace getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.Workspace.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.Workspace build() { + com.google.cloud.dataform.v1beta1.Workspace result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.Workspace buildPartial() { + com.google.cloud.dataform.v1beta1.Workspace result = new com.google.cloud.dataform.v1beta1.Workspace(this); + result.name_ = name_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.Workspace) { + return mergeFrom((com.google.cloud.dataform.v1beta1.Workspace)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.Workspace other) { + if (other == com.google.cloud.dataform.v1beta1.Workspace.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.Workspace parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.Workspace) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object name_ = ""; + /** + *
+     * Output only. The workspace's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Output only. The workspace's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Output only. The workspace's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + *
+     * Output only. The workspace's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + *
+     * Output only. The workspace's name.
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.Workspace) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.Workspace) + private static final com.google.cloud.dataform.v1beta1.Workspace DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.Workspace(); + } + + public static com.google.cloud.dataform.v1beta1.Workspace getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Workspace parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Workspace(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.Workspace getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkspaceName.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkspaceName.java new file mode 100644 index 0000000..e9dbb7f --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkspaceName.java @@ -0,0 +1,262 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.dataform.v1beta1; + +import com.google.api.pathtemplate.PathTemplate; +import com.google.api.resourcenames.ResourceName; +import com.google.common.base.Preconditions; +import com.google.common.collect.ImmutableMap; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +@Generated("by gapic-generator-java") +public class WorkspaceName implements ResourceName { + private static final PathTemplate PROJECT_LOCATION_REPOSITORY_WORKSPACE = + PathTemplate.createWithoutUrlEncoding( + "projects/{project}/locations/{location}/repositories/{repository}/workspaces/{workspace}"); + private volatile Map fieldValuesMap; + private final String project; + private final String location; + private final String repository; + private final String workspace; + + @Deprecated + protected WorkspaceName() { + project = null; + location = null; + repository = null; + workspace = null; + } + + private WorkspaceName(Builder builder) { + project = Preconditions.checkNotNull(builder.getProject()); + location = Preconditions.checkNotNull(builder.getLocation()); + repository = Preconditions.checkNotNull(builder.getRepository()); + workspace = Preconditions.checkNotNull(builder.getWorkspace()); + } + + public String getProject() { + return project; + } + + public String getLocation() { + return location; + } + + public String getRepository() { + return repository; + } + + public String getWorkspace() { + return workspace; + } + + public static Builder newBuilder() { + return new Builder(); + } + + public Builder toBuilder() { + return new Builder(this); + } + + public static WorkspaceName of( + String project, String location, String repository, String workspace) { + return newBuilder() + .setProject(project) + .setLocation(location) + .setRepository(repository) + .setWorkspace(workspace) + .build(); + } + + public static String format( + String project, String location, String repository, String workspace) { + return newBuilder() + .setProject(project) + .setLocation(location) + .setRepository(repository) + .setWorkspace(workspace) + .build() + .toString(); + } + + public static WorkspaceName parse(String formattedString) { + if (formattedString.isEmpty()) { + return null; + } + Map matchMap = + PROJECT_LOCATION_REPOSITORY_WORKSPACE.validatedMatch( + formattedString, "WorkspaceName.parse: formattedString not in valid format"); + return of( + matchMap.get("project"), + matchMap.get("location"), + matchMap.get("repository"), + matchMap.get("workspace")); + } + + public static List parseList(List formattedStrings) { + List list = new ArrayList<>(formattedStrings.size()); + for (String formattedString : formattedStrings) { + list.add(parse(formattedString)); + } + return list; + } + + public static List toStringList(List values) { + List list = new ArrayList<>(values.size()); + for (WorkspaceName value : values) { + if (value == null) { + list.add(""); + } else { + list.add(value.toString()); + } + } + return list; + } + + public static boolean isParsableFrom(String formattedString) { + return PROJECT_LOCATION_REPOSITORY_WORKSPACE.matches(formattedString); + } + + @Override + public Map getFieldValuesMap() { + if (fieldValuesMap == null) { + synchronized (this) { + if (fieldValuesMap == null) { + ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder(); + if (project != null) { + fieldMapBuilder.put("project", project); + } + if (location != null) { + fieldMapBuilder.put("location", location); + } + if (repository != null) { + fieldMapBuilder.put("repository", repository); + } + if (workspace != null) { + fieldMapBuilder.put("workspace", workspace); + } + fieldValuesMap = fieldMapBuilder.build(); + } + } + } + return fieldValuesMap; + } + + public String getFieldValue(String fieldName) { + return getFieldValuesMap().get(fieldName); + } + + @Override + public String toString() { + return PROJECT_LOCATION_REPOSITORY_WORKSPACE.instantiate( + "project", project, "location", location, "repository", repository, "workspace", workspace); + } + + @Override + public boolean equals(Object o) { + if (o == this) { + return true; + } + if (o != null || getClass() == o.getClass()) { + WorkspaceName that = ((WorkspaceName) o); + return Objects.equals(this.project, that.project) + && Objects.equals(this.location, that.location) + && Objects.equals(this.repository, that.repository) + && Objects.equals(this.workspace, that.workspace); + } + return false; + } + + @Override + public int hashCode() { + int h = 1; + h *= 1000003; + h ^= Objects.hashCode(project); + h *= 1000003; + h ^= Objects.hashCode(location); + h *= 1000003; + h ^= Objects.hashCode(repository); + h *= 1000003; + h ^= Objects.hashCode(workspace); + return h; + } + + /** + * Builder for + * projects/{project}/locations/{location}/repositories/{repository}/workspaces/{workspace}. + */ + public static class Builder { + private String project; + private String location; + private String repository; + private String workspace; + + protected Builder() {} + + public String getProject() { + return project; + } + + public String getLocation() { + return location; + } + + public String getRepository() { + return repository; + } + + public String getWorkspace() { + return workspace; + } + + public Builder setProject(String project) { + this.project = project; + return this; + } + + public Builder setLocation(String location) { + this.location = location; + return this; + } + + public Builder setRepository(String repository) { + this.repository = repository; + return this; + } + + public Builder setWorkspace(String workspace) { + this.workspace = workspace; + return this; + } + + private Builder(WorkspaceName workspaceName) { + this.project = workspaceName.project; + this.location = workspaceName.location; + this.repository = workspaceName.repository; + this.workspace = workspaceName.workspace; + } + + public WorkspaceName build() { + return new WorkspaceName(this); + } + } +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkspaceOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkspaceOrBuilder.java new file mode 100644 index 0000000..b0142a4 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkspaceOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface WorkspaceOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.Workspace) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Output only. The workspace's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Output only. The workspace's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WriteFileRequest.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WriteFileRequest.java new file mode 100644 index 0000000..f38051c --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WriteFileRequest.java @@ -0,0 +1,845 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * `WriteFile` request message.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.WriteFileRequest} + */ +public final class WriteFileRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.WriteFileRequest) + WriteFileRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use WriteFileRequest.newBuilder() to construct. + private WriteFileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private WriteFileRequest() { + workspace_ = ""; + path_ = ""; + contents_ = com.google.protobuf.ByteString.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new WriteFileRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private WriteFileRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + workspace_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + path_ = s; + break; + } + case 26: { + + contents_ = input.readBytes(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WriteFileRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WriteFileRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.WriteFileRequest.class, com.google.cloud.dataform.v1beta1.WriteFileRequest.Builder.class); + } + + public static final int WORKSPACE_FIELD_NUMBER = 1; + private volatile java.lang.Object workspace_; + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The workspace. + */ + @java.lang.Override + public java.lang.String getWorkspace() { + java.lang.Object ref = workspace_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + workspace_ = s; + return s; + } + } + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for workspace. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getWorkspaceBytes() { + java.lang.Object ref = workspace_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + workspace_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PATH_FIELD_NUMBER = 2; + private volatile java.lang.Object path_; + /** + *
+   * Required. The file.
+   * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The path. + */ + @java.lang.Override + public java.lang.String getPath() { + java.lang.Object ref = path_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + path_ = s; + return s; + } + } + /** + *
+   * Required. The file.
+   * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for path. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPathBytes() { + java.lang.Object ref = path_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + path_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CONTENTS_FIELD_NUMBER = 3; + private com.google.protobuf.ByteString contents_; + /** + *
+   * Required. The file's contents.
+   * 
+ * + * bytes contents = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The contents. + */ + @java.lang.Override + public com.google.protobuf.ByteString getContents() { + return contents_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workspace_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, path_); + } + if (!contents_.isEmpty()) { + output.writeBytes(3, contents_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, workspace_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, path_); + } + if (!contents_.isEmpty()) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(3, contents_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.WriteFileRequest)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.WriteFileRequest other = (com.google.cloud.dataform.v1beta1.WriteFileRequest) obj; + + if (!getWorkspace() + .equals(other.getWorkspace())) return false; + if (!getPath() + .equals(other.getPath())) return false; + if (!getContents() + .equals(other.getContents())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + WORKSPACE_FIELD_NUMBER; + hash = (53 * hash) + getWorkspace().hashCode(); + hash = (37 * hash) + PATH_FIELD_NUMBER; + hash = (53 * hash) + getPath().hashCode(); + hash = (37 * hash) + CONTENTS_FIELD_NUMBER; + hash = (53 * hash) + getContents().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.WriteFileRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.WriteFileRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.WriteFileRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.WriteFileRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.WriteFileRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.WriteFileRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.WriteFileRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.WriteFileRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.WriteFileRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.WriteFileRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.WriteFileRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.WriteFileRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.WriteFileRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * `WriteFile` request message.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.WriteFileRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.WriteFileRequest) + com.google.cloud.dataform.v1beta1.WriteFileRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WriteFileRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WriteFileRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.WriteFileRequest.class, com.google.cloud.dataform.v1beta1.WriteFileRequest.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.WriteFileRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + workspace_ = ""; + + path_ = ""; + + contents_ = com.google.protobuf.ByteString.EMPTY; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WriteFileRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.WriteFileRequest getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.WriteFileRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.WriteFileRequest build() { + com.google.cloud.dataform.v1beta1.WriteFileRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.WriteFileRequest buildPartial() { + com.google.cloud.dataform.v1beta1.WriteFileRequest result = new com.google.cloud.dataform.v1beta1.WriteFileRequest(this); + result.workspace_ = workspace_; + result.path_ = path_; + result.contents_ = contents_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.WriteFileRequest) { + return mergeFrom((com.google.cloud.dataform.v1beta1.WriteFileRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.WriteFileRequest other) { + if (other == com.google.cloud.dataform.v1beta1.WriteFileRequest.getDefaultInstance()) return this; + if (!other.getWorkspace().isEmpty()) { + workspace_ = other.workspace_; + onChanged(); + } + if (!other.getPath().isEmpty()) { + path_ = other.path_; + onChanged(); + } + if (other.getContents() != com.google.protobuf.ByteString.EMPTY) { + setContents(other.getContents()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.WriteFileRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.WriteFileRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object workspace_ = ""; + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The workspace. + */ + public java.lang.String getWorkspace() { + java.lang.Object ref = workspace_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + workspace_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for workspace. + */ + public com.google.protobuf.ByteString + getWorkspaceBytes() { + java.lang.Object ref = workspace_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + workspace_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The workspace to set. + * @return This builder for chaining. + */ + public Builder setWorkspace( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + workspace_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearWorkspace() { + + workspace_ = getDefaultInstance().getWorkspace(); + onChanged(); + return this; + } + /** + *
+     * Required. The workspace's name.
+     * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @param value The bytes for workspace to set. + * @return This builder for chaining. + */ + public Builder setWorkspaceBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + workspace_ = value; + onChanged(); + return this; + } + + private java.lang.Object path_ = ""; + /** + *
+     * Required. The file.
+     * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The path. + */ + public java.lang.String getPath() { + java.lang.Object ref = path_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + path_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. The file.
+     * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for path. + */ + public com.google.protobuf.ByteString + getPathBytes() { + java.lang.Object ref = path_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + path_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. The file.
+     * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param value The path to set. + * @return This builder for chaining. + */ + public Builder setPath( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + path_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. The file.
+     * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return This builder for chaining. + */ + public Builder clearPath() { + + path_ = getDefaultInstance().getPath(); + onChanged(); + return this; + } + /** + *
+     * Required. The file.
+     * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param value The bytes for path to set. + * @return This builder for chaining. + */ + public Builder setPathBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + path_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.ByteString contents_ = com.google.protobuf.ByteString.EMPTY; + /** + *
+     * Required. The file's contents.
+     * 
+ * + * bytes contents = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The contents. + */ + @java.lang.Override + public com.google.protobuf.ByteString getContents() { + return contents_; + } + /** + *
+     * Required. The file's contents.
+     * 
+ * + * bytes contents = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param value The contents to set. + * @return This builder for chaining. + */ + public Builder setContents(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + + contents_ = value; + onChanged(); + return this; + } + /** + *
+     * Required. The file's contents.
+     * 
+ * + * bytes contents = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return This builder for chaining. + */ + public Builder clearContents() { + + contents_ = getDefaultInstance().getContents(); + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.WriteFileRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.WriteFileRequest) + private static final com.google.cloud.dataform.v1beta1.WriteFileRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.WriteFileRequest(); + } + + public static com.google.cloud.dataform.v1beta1.WriteFileRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WriteFileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WriteFileRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.WriteFileRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WriteFileRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WriteFileRequestOrBuilder.java new file mode 100644 index 0000000..64a4854 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WriteFileRequestOrBuilder.java @@ -0,0 +1,59 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface WriteFileRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.WriteFileRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The workspace. + */ + java.lang.String getWorkspace(); + /** + *
+   * Required. The workspace's name.
+   * 
+ * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for workspace. + */ + com.google.protobuf.ByteString + getWorkspaceBytes(); + + /** + *
+   * Required. The file.
+   * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The path. + */ + java.lang.String getPath(); + /** + *
+   * Required. The file.
+   * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The bytes for path. + */ + com.google.protobuf.ByteString + getPathBytes(); + + /** + *
+   * Required. The file's contents.
+   * 
+ * + * bytes contents = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return The contents. + */ + com.google.protobuf.ByteString getContents(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WriteFileResponse.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WriteFileResponse.java new file mode 100644 index 0000000..e8b8e1f --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WriteFileResponse.java @@ -0,0 +1,429 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +/** + *
+ * `WriteFile` response message.
+ * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.WriteFileResponse} + */ +public final class WriteFileResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.WriteFileResponse) + WriteFileResponseOrBuilder { +private static final long serialVersionUID = 0L; + // Use WriteFileResponse.newBuilder() to construct. + private WriteFileResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private WriteFileResponse() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new WriteFileResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private WriteFileResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WriteFileResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WriteFileResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.WriteFileResponse.class, com.google.cloud.dataform.v1beta1.WriteFileResponse.Builder.class); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.dataform.v1beta1.WriteFileResponse)) { + return super.equals(obj); + } + com.google.cloud.dataform.v1beta1.WriteFileResponse other = (com.google.cloud.dataform.v1beta1.WriteFileResponse) obj; + + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.dataform.v1beta1.WriteFileResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.WriteFileResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.WriteFileResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.WriteFileResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.WriteFileResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.dataform.v1beta1.WriteFileResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.WriteFileResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.WriteFileResponse parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.WriteFileResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.WriteFileResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.dataform.v1beta1.WriteFileResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.dataform.v1beta1.WriteFileResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.WriteFileResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * `WriteFile` response message.
+   * 
+ * + * Protobuf type {@code google.cloud.dataform.v1beta1.WriteFileResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.WriteFileResponse) + com.google.cloud.dataform.v1beta1.WriteFileResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WriteFileResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WriteFileResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.dataform.v1beta1.WriteFileResponse.class, com.google.cloud.dataform.v1beta1.WriteFileResponse.Builder.class); + } + + // Construct using com.google.cloud.dataform.v1beta1.WriteFileResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WriteFileResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.WriteFileResponse getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.WriteFileResponse.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.WriteFileResponse build() { + com.google.cloud.dataform.v1beta1.WriteFileResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.WriteFileResponse buildPartial() { + com.google.cloud.dataform.v1beta1.WriteFileResponse result = new com.google.cloud.dataform.v1beta1.WriteFileResponse(this); + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.dataform.v1beta1.WriteFileResponse) { + return mergeFrom((com.google.cloud.dataform.v1beta1.WriteFileResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.dataform.v1beta1.WriteFileResponse other) { + if (other == com.google.cloud.dataform.v1beta1.WriteFileResponse.getDefaultInstance()) return this; + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.dataform.v1beta1.WriteFileResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.dataform.v1beta1.WriteFileResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.WriteFileResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.WriteFileResponse) + private static final com.google.cloud.dataform.v1beta1.WriteFileResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.WriteFileResponse(); + } + + public static com.google.cloud.dataform.v1beta1.WriteFileResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WriteFileResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WriteFileResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.dataform.v1beta1.WriteFileResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WriteFileResponseOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WriteFileResponseOrBuilder.java new file mode 100644 index 0000000..50640d3 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WriteFileResponseOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface WriteFileResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.WriteFileResponse) + com.google.protobuf.MessageOrBuilder { +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/proto/google/cloud/dataform/v1beta1/dataform.proto b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/proto/google/cloud/dataform/v1beta1/dataform.proto new file mode 100644 index 0000000..57d43c3 --- /dev/null +++ b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/proto/google/cloud/dataform/v1beta1/dataform.proto @@ -0,0 +1,1629 @@ +// Copyright 2022 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +syntax = "proto3"; + +package google.cloud.dataform.v1beta1; + +import "google/api/annotations.proto"; +import "google/api/client.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/protobuf/empty.proto"; +import "google/protobuf/field_mask.proto"; +import "google/type/interval.proto"; + +option csharp_namespace = "Google.Cloud.Dataform.V1Beta1"; +option go_package = "google.golang.org/genproto/googleapis/cloud/dataform/v1beta1;dataform"; +option java_multiple_files = true; +option java_outer_classname = "DataformProto"; +option java_package = "com.google.cloud.dataform.v1beta1"; +option php_namespace = "Google\\Cloud\\Dataform\\V1beta1"; +option ruby_package = "Google::Cloud::Dataform::V1beta1"; +option (google.api.resource_definition) = { + type: "secretmanager.googleapis.com/SecretVersion" + pattern: "projects/{project}/secrets/{secret}/versions/{version}" +}; + +// Dataform is a service to develop, create, document, test, and update curated +// tables in BigQuery. +service Dataform { + option (google.api.default_host) = "dataform.googleapis.com"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + + // Lists Repositories in a given project and location. + rpc ListRepositories(ListRepositoriesRequest) returns (ListRepositoriesResponse) { + option (google.api.http) = { + get: "/v1beta1/{parent=projects/*/locations/*}/repositories" + }; + option (google.api.method_signature) = "parent"; + } + + // Fetches a single Repository. + rpc GetRepository(GetRepositoryRequest) returns (Repository) { + option (google.api.http) = { + get: "/v1beta1/{name=projects/*/locations/*/repositories/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Creates a new Repository in a given project and location. + rpc CreateRepository(CreateRepositoryRequest) returns (Repository) { + option (google.api.http) = { + post: "/v1beta1/{parent=projects/*/locations/*}/repositories" + body: "repository" + }; + option (google.api.method_signature) = "parent,repository,repository_id"; + } + + // Updates a single Repository. + rpc UpdateRepository(UpdateRepositoryRequest) returns (Repository) { + option (google.api.http) = { + patch: "/v1beta1/{repository.name=projects/*/locations/*/repositories/*}" + body: "repository" + }; + option (google.api.method_signature) = "repository,update_mask"; + } + + // Deletes a single Repository. + rpc DeleteRepository(DeleteRepositoryRequest) returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v1beta1/{name=projects/*/locations/*/repositories/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Fetches a Repository's remote branches. + rpc FetchRemoteBranches(FetchRemoteBranchesRequest) returns (FetchRemoteBranchesResponse) { + option (google.api.http) = { + get: "/v1beta1/{name=projects/*/locations/*/repositories/*}:fetchRemoteBranches" + }; + } + + // Lists Workspaces in a given Repository. + rpc ListWorkspaces(ListWorkspacesRequest) returns (ListWorkspacesResponse) { + option (google.api.http) = { + get: "/v1beta1/{parent=projects/*/locations/*/repositories/*}/workspaces" + }; + option (google.api.method_signature) = "parent"; + } + + // Fetches a single Workspace. + rpc GetWorkspace(GetWorkspaceRequest) returns (Workspace) { + option (google.api.http) = { + get: "/v1beta1/{name=projects/*/locations/*/repositories/*/workspaces/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Creates a new Workspace in a given Repository. + rpc CreateWorkspace(CreateWorkspaceRequest) returns (Workspace) { + option (google.api.http) = { + post: "/v1beta1/{parent=projects/*/locations/*/repositories/*}/workspaces" + body: "workspace" + }; + option (google.api.method_signature) = "parent,workspace,workspace_id"; + } + + // Deletes a single Workspace. + rpc DeleteWorkspace(DeleteWorkspaceRequest) returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v1beta1/{name=projects/*/locations/*/repositories/*/workspaces/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Installs dependency NPM packages (inside a Workspace). + rpc InstallNpmPackages(InstallNpmPackagesRequest) returns (InstallNpmPackagesResponse) { + option (google.api.http) = { + post: "/v1beta1/{workspace=projects/*/locations/*/repositories/*/workspaces/*}:installNpmPackages" + body: "*" + }; + } + + // Pulls Git commits from the Repository's remote into a Workspace. + rpc PullGitCommits(PullGitCommitsRequest) returns (google.protobuf.Empty) { + option (google.api.http) = { + post: "/v1beta1/{name=projects/*/locations/*/repositories/*/workspaces/*}:pull" + body: "*" + }; + } + + // Pushes Git commits from a Workspace to the Repository's remote. + rpc PushGitCommits(PushGitCommitsRequest) returns (google.protobuf.Empty) { + option (google.api.http) = { + post: "/v1beta1/{name=projects/*/locations/*/repositories/*/workspaces/*}:push" + body: "*" + }; + } + + // Fetches Git statuses for the files in a Workspace. + rpc FetchFileGitStatuses(FetchFileGitStatusesRequest) returns (FetchFileGitStatusesResponse) { + option (google.api.http) = { + get: "/v1beta1/{name=projects/*/locations/*/repositories/*/workspaces/*}:fetchFileGitStatuses" + }; + } + + // Fetches Git ahead/behind against a remote branch. + rpc FetchGitAheadBehind(FetchGitAheadBehindRequest) returns (FetchGitAheadBehindResponse) { + option (google.api.http) = { + get: "/v1beta1/{name=projects/*/locations/*/repositories/*/workspaces/*}:fetchGitAheadBehind" + }; + } + + // Applies a Git commit for uncommitted files in a Workspace. + rpc CommitWorkspaceChanges(CommitWorkspaceChangesRequest) returns (google.protobuf.Empty) { + option (google.api.http) = { + post: "/v1beta1/{name=projects/*/locations/*/repositories/*/workspaces/*}:commit" + body: "*" + }; + } + + // Performs a Git reset for uncommitted files in a Workspace. + rpc ResetWorkspaceChanges(ResetWorkspaceChangesRequest) returns (google.protobuf.Empty) { + option (google.api.http) = { + post: "/v1beta1/{name=projects/*/locations/*/repositories/*/workspaces/*}:reset" + body: "*" + }; + } + + // Fetches Git diff for an uncommitted file in a Workspace. + rpc FetchFileDiff(FetchFileDiffRequest) returns (FetchFileDiffResponse) { + option (google.api.http) = { + get: "/v1beta1/{workspace=projects/*/locations/*/repositories/*/workspaces/*}:fetchFileDiff" + }; + } + + // Returns the contents of a given Workspace directory. + rpc QueryDirectoryContents(QueryDirectoryContentsRequest) returns (QueryDirectoryContentsResponse) { + option (google.api.http) = { + get: "/v1beta1/{workspace=projects/*/locations/*/repositories/*/workspaces/*}:queryDirectoryContents" + }; + } + + // Creates a directory inside a Workspace. + rpc MakeDirectory(MakeDirectoryRequest) returns (MakeDirectoryResponse) { + option (google.api.http) = { + post: "/v1beta1/{workspace=projects/*/locations/*/repositories/*/workspaces/*}:makeDirectory" + body: "*" + }; + } + + // Deletes a directory (inside a Workspace) and all of its contents. + rpc RemoveDirectory(RemoveDirectoryRequest) returns (google.protobuf.Empty) { + option (google.api.http) = { + post: "/v1beta1/{workspace=projects/*/locations/*/repositories/*/workspaces/*}:removeDirectory" + body: "*" + }; + } + + // Moves a directory (inside a Workspace), and all of its contents, to a new + // location. + rpc MoveDirectory(MoveDirectoryRequest) returns (MoveDirectoryResponse) { + option (google.api.http) = { + post: "/v1beta1/{workspace=projects/*/locations/*/repositories/*/workspaces/*}:moveDirectory" + body: "*" + }; + } + + // Returns the contents of a file (inside a Workspace). + rpc ReadFile(ReadFileRequest) returns (ReadFileResponse) { + option (google.api.http) = { + get: "/v1beta1/{workspace=projects/*/locations/*/repositories/*/workspaces/*}:readFile" + }; + } + + // Deletes a file (inside a Workspace). + rpc RemoveFile(RemoveFileRequest) returns (google.protobuf.Empty) { + option (google.api.http) = { + post: "/v1beta1/{workspace=projects/*/locations/*/repositories/*/workspaces/*}:removeFile" + body: "*" + }; + } + + // Moves a file (inside a Workspace) to a new location. + rpc MoveFile(MoveFileRequest) returns (MoveFileResponse) { + option (google.api.http) = { + post: "/v1beta1/{workspace=projects/*/locations/*/repositories/*/workspaces/*}:moveFile" + body: "*" + }; + } + + // Writes to a file (inside a Workspace). + rpc WriteFile(WriteFileRequest) returns (WriteFileResponse) { + option (google.api.http) = { + post: "/v1beta1/{workspace=projects/*/locations/*/repositories/*/workspaces/*}:writeFile" + body: "*" + }; + } + + // Lists CompilationResults in a given Repository. + rpc ListCompilationResults(ListCompilationResultsRequest) returns (ListCompilationResultsResponse) { + option (google.api.http) = { + get: "/v1beta1/{parent=projects/*/locations/*/repositories/*}/compilationResults" + }; + option (google.api.method_signature) = "parent"; + } + + // Fetches a single CompilationResult. + rpc GetCompilationResult(GetCompilationResultRequest) returns (CompilationResult) { + option (google.api.http) = { + get: "/v1beta1/{name=projects/*/locations/*/repositories/*/compilationResults/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Creates a new CompilationResult in a given project and location. + rpc CreateCompilationResult(CreateCompilationResultRequest) returns (CompilationResult) { + option (google.api.http) = { + post: "/v1beta1/{parent=projects/*/locations/*/repositories/*}/compilationResults" + body: "compilation_result" + }; + option (google.api.method_signature) = "parent,compilation_result"; + } + + // Returns CompilationResultActions in a given CompilationResult. + rpc QueryCompilationResultActions(QueryCompilationResultActionsRequest) returns (QueryCompilationResultActionsResponse) { + option (google.api.http) = { + get: "/v1beta1/{name=projects/*/locations/*/repositories/*/compilationResults/*}:query" + }; + } + + // Lists WorkflowInvocations in a given Repository. + rpc ListWorkflowInvocations(ListWorkflowInvocationsRequest) returns (ListWorkflowInvocationsResponse) { + option (google.api.http) = { + get: "/v1beta1/{parent=projects/*/locations/*/repositories/*}/workflowInvocations" + }; + option (google.api.method_signature) = "parent"; + } + + // Fetches a single WorkflowInvocation. + rpc GetWorkflowInvocation(GetWorkflowInvocationRequest) returns (WorkflowInvocation) { + option (google.api.http) = { + get: "/v1beta1/{name=projects/*/locations/*/repositories/*/workflowInvocations/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Creates a new WorkflowInvocation in a given Repository. + rpc CreateWorkflowInvocation(CreateWorkflowInvocationRequest) returns (WorkflowInvocation) { + option (google.api.http) = { + post: "/v1beta1/{parent=projects/*/locations/*/repositories/*}/workflowInvocations" + body: "workflow_invocation" + }; + option (google.api.method_signature) = "parent,workflow_invocation"; + } + + // Deletes a single WorkflowInvocation. + rpc DeleteWorkflowInvocation(DeleteWorkflowInvocationRequest) returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v1beta1/{name=projects/*/locations/*/repositories/*/workflowInvocations/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Requests cancellation of a running WorkflowInvocation. + rpc CancelWorkflowInvocation(CancelWorkflowInvocationRequest) returns (google.protobuf.Empty) { + option (google.api.http) = { + post: "/v1beta1/{name=projects/*/locations/*/repositories/*/workflowInvocations/*}:cancel" + body: "*" + }; + } + + // Returns WorkflowInvocationActions in a given WorkflowInvocation. + rpc QueryWorkflowInvocationActions(QueryWorkflowInvocationActionsRequest) returns (QueryWorkflowInvocationActionsResponse) { + option (google.api.http) = { + get: "/v1beta1/{name=projects/*/locations/*/repositories/*/workflowInvocations/*}:query" + }; + } +} + +// Represents a Dataform Git repository. +message Repository { + option (google.api.resource) = { + type: "dataform.googleapis.com/Repository" + pattern: "projects/{project}/locations/{location}/repositories/{repository}" + }; + + // Controls Git remote configuration for a repository. + message GitRemoteSettings { + // Indicates the status of a Git authentication token. + enum TokenStatus { + // Default value. This value is unused. + TOKEN_STATUS_UNSPECIFIED = 0; + + // The token could not be found in Secret Manager (or the Dataform + // Service Account did not have permission to access it). + NOT_FOUND = 1; + + // The token could not be used to authenticate against the Git remote. + INVALID = 2; + + // The token was used successfully to authenticate against the Git remote. + VALID = 3; + } + + // Required. The Git remote's URL. + string url = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. The Git remote's default branch name. + string default_branch = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. The name of the Secret Manager secret version to use as an + // authentication token for Git operations. Must be in the format + // `projects/*/secrets/*/versions/*`. + string authentication_token_secret_version = 3 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "secretmanager.googleapis.com/SecretVersion" + } + ]; + + // Output only. Indicates the status of the Git access token. + TokenStatus token_status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + } + + // Output only. The repository's name. + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. If set, configures this repository to be linked to a Git remote. + GitRemoteSettings git_remote_settings = 2 [(google.api.field_behavior) = OPTIONAL]; +} + +// `ListRepositories` request message. +message ListRepositoriesRequest { + // Required. The location in which to list repositories. Must be in the format + // `projects/*/locations/*`. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "locations.googleapis.com/Location" + } + ]; + + // Optional. Maximum number of repositories to return. The server may return fewer + // items than requested. If unspecified, the server will pick an appropriate + // default. + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Page token received from a previous `ListRepositories` call. + // Provide this to retrieve the subsequent page. + // + // When paginating, all other parameters provided to `ListRepositories` + // must match the call that provided the page token. + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. This field only supports ordering by `name`. If unspecified, the server + // will choose the ordering. If specified, the default order is ascending for + // the `name` field. + string order_by = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Filter for the returned list. + string filter = 5 [(google.api.field_behavior) = OPTIONAL]; +} + +// `ListRepositories` response message. +message ListRepositoriesResponse { + // List of repositories. + repeated Repository repositories = 1; + + // A token which can be sent as `page_token` to retrieve the next page. + // If this field is omitted, there are no subsequent pages. + string next_page_token = 2; + + // Locations which could not be reached. + repeated string unreachable = 3; +} + +// `GetRepository` request message. +message GetRepositoryRequest { + // Required. The repository's name. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dataform.googleapis.com/Repository" + } + ]; +} + +// `CreateRepository` request message. +message CreateRepositoryRequest { + // Required. The location in which to create the repository. Must be in the format + // `projects/*/locations/*`. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "locations.googleapis.com/Location" + } + ]; + + // Required. The repository to create. + Repository repository = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. The ID to use for the repository, which will become the final component of + // the repository's resource name. + string repository_id = 3 [(google.api.field_behavior) = REQUIRED]; +} + +// `UpdateRepository` request message. +message UpdateRepositoryRequest { + // Optional. Specifies the fields to be updated in the repository. If left unset, + // all fields will be updated. + google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Required. The repository to update. + Repository repository = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// `DeleteRepository` request message. +message DeleteRepositoryRequest { + // Required. The repository's name. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dataform.googleapis.com/Repository" + } + ]; + + // If set to true, any child resources of this repository will also be + // deleted. (Otherwise, the request will only succeed if the repository has no + // child resources.) + bool force = 2; +} + +// `FetchRemoteBranches` request message. +message FetchRemoteBranchesRequest { + // Required. The repository's name. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dataform.googleapis.com/Repository" + } + ]; +} + +// `FetchRemoteBranches` response message. +message FetchRemoteBranchesResponse { + // The remote repository's branch names. + repeated string branches = 1; +} + +// Represents a Dataform Git workspace. +message Workspace { + option (google.api.resource) = { + type: "dataform.googleapis.com/Workspace" + pattern: "projects/{project}/locations/{location}/repositories/{repository}/workspaces/{workspace}" + }; + + // Output only. The workspace's name. + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// `ListWorkspaces` request message. +message ListWorkspacesRequest { + // Required. The repository in which to list workspaces. Must be in the + // format `projects/*/locations/*/repositories/*`. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dataform.googleapis.com/Repository" + } + ]; + + // Optional. Maximum number of workspaces to return. The server may return fewer + // items than requested. If unspecified, the server will pick an appropriate + // default. + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Page token received from a previous `ListWorkspaces` call. + // Provide this to retrieve the subsequent page. + // + // When paginating, all other parameters provided to `ListWorkspaces` + // must match the call that provided the page token. + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. This field only supports ordering by `name`. If unspecified, the server + // will choose the ordering. If specified, the default order is ascending for + // the `name` field. + string order_by = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Filter for the returned list. + string filter = 5 [(google.api.field_behavior) = OPTIONAL]; +} + +// `ListWorkspaces` response message. +message ListWorkspacesResponse { + // List of workspaces. + repeated Workspace workspaces = 1; + + // A token, which can be sent as `page_token` to retrieve the next page. + // If this field is omitted, there are no subsequent pages. + string next_page_token = 2; + + // Locations which could not be reached. + repeated string unreachable = 3; +} + +// `GetWorkspace` request message. +message GetWorkspaceRequest { + // Required. The workspace's name. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dataform.googleapis.com/Workspace" + } + ]; +} + +// `CreateWorkspace` request message. +message CreateWorkspaceRequest { + // Required. The repository in which to create the workspace. Must be in the format + // `projects/*/locations/*/repositories/*`. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dataform.googleapis.com/Repository" + } + ]; + + // Required. The workspace to create. + Workspace workspace = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. The ID to use for the workspace, which will become the final component of + // the workspace's resource name. + string workspace_id = 3 [(google.api.field_behavior) = REQUIRED]; +} + +// `DeleteWorkspace` request message. +message DeleteWorkspaceRequest { + // Required. The workspace resource's name. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dataform.googleapis.com/Workspace" + } + ]; +} + +// Represents the author of a Git commit. +message CommitAuthor { + // Required. The commit author's name. + string name = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. The commit author's email address. + string email_address = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// `PullGitCommits` request message. +message PullGitCommitsRequest { + // Required. The workspace's name. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dataform.googleapis.com/Workspace" + } + ]; + + // Optional. The name of the branch in the Git remote from which to pull commits. + // If left unset, the repository's default branch name will be used. + string remote_branch = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Required. The author of any merge commit which may be created as a result of merging + // fetched Git commits into this workspace. + CommitAuthor author = 3 [(google.api.field_behavior) = REQUIRED]; +} + +// `PushGitCommits` request message. +message PushGitCommitsRequest { + // Required. The workspace's name. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dataform.googleapis.com/Workspace" + } + ]; + + // Optional. The name of the branch in the Git remote to which commits should be pushed. + // If left unset, the repository's default branch name will be used. + string remote_branch = 2 [(google.api.field_behavior) = OPTIONAL]; +} + +// `FetchFileGitStatuses` request message. +message FetchFileGitStatusesRequest { + // Required. The workspace's name. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dataform.googleapis.com/Workspace" + } + ]; +} + +// `FetchFileGitStatuses` response message. +message FetchFileGitStatusesResponse { + // Represents the Git state of a file with uncommitted changes. + message UncommittedFileChange { + // Indicates the status of an uncommitted file change. + enum State { + // Default value. This value is unused. + STATE_UNSPECIFIED = 0; + + // The file has been newly added. + ADDED = 1; + + // The file has been deleted. + DELETED = 2; + + // The file has been modified. + MODIFIED = 3; + + // The file contains merge conflicts. + HAS_CONFLICTS = 4; + } + + // The file's full path including filename, relative to the workspace root. + string path = 1; + + // Indicates the status of the file. + State state = 2; + } + + // A list of all files which have uncommitted Git changes. There will only be + // a single entry for any given file. + repeated UncommittedFileChange uncommitted_file_changes = 1; +} + +// `FetchGitAheadBehind` request message. +message FetchGitAheadBehindRequest { + // Required. The workspace's name. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dataform.googleapis.com/Workspace" + } + ]; + + // Optional. The name of the branch in the Git remote against which this workspace + // should be compared. If left unset, the repository's default branch name + // will be used. + string remote_branch = 2 [(google.api.field_behavior) = OPTIONAL]; +} + +// `FetchGitAheadBehind` response message. +message FetchGitAheadBehindResponse { + // The number of commits in the remote branch that are not in the workspace. + int32 commits_ahead = 1; + + // The number of commits in the workspace that are not in the remote branch. + int32 commits_behind = 2; +} + +// `CommitWorkspaceChanges` request message. +message CommitWorkspaceChangesRequest { + // Required. The workspace's name. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dataform.googleapis.com/Workspace" + } + ]; + + // Required. The commit's author. + CommitAuthor author = 4 [(google.api.field_behavior) = REQUIRED]; + + // Optional. The commit's message. + string commit_message = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Full file paths to commit including filename, rooted at workspace root. If + // left empty, all files will be committed. + repeated string paths = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// `ResetWorkspaceChanges` request message. +message ResetWorkspaceChangesRequest { + // Required. The workspace's name. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dataform.googleapis.com/Workspace" + } + ]; + + // Optional. Full file paths to reset back to their committed state including filename, + // rooted at workspace root. If left empty, all files will be reset. + repeated string paths = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If set to true, untracked files will be deleted. + bool clean = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// `FetchFileDiff` request message. +message FetchFileDiffRequest { + // Required. The workspace's name. + string workspace = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dataform.googleapis.com/Workspace" + } + ]; + + // Required. The file's full path including filename, relative to the workspace root. + string path = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// `FetchFileDiff` response message. +message FetchFileDiffResponse { + // The raw formatted Git diff for the file. + string formatted_diff = 1; +} + +// `QueryDirectoryContents` request message. +message QueryDirectoryContentsRequest { + // Required. The workspace's name. + string workspace = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dataform.googleapis.com/Workspace" + } + ]; + + // Optional. The directory's full path including directory name, relative to the + // workspace root. If left unset, the workspace root is used. + string path = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Maximum number of paths to return. The server may return fewer + // items than requested. If unspecified, the server will pick an appropriate + // default. + int32 page_size = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Page token received from a previous `QueryDirectoryContents` call. + // Provide this to retrieve the subsequent page. + // + // When paginating, all other parameters provided to + // `QueryDirectoryContents` must match the call that provided the page + // token. + string page_token = 4 [(google.api.field_behavior) = OPTIONAL]; +} + +// `QueryDirectoryContents` response message. +message QueryDirectoryContentsResponse { + // Represents a single entry in a workspace directory. + message DirectoryEntry { + oneof entry { + // A file in the directory. + string file = 1; + + // A child directory in the directory. + string directory = 2; + } + } + + // List of entries in the directory. + repeated DirectoryEntry directory_entries = 1; + + // A token, which can be sent as `page_token` to retrieve the next page. + // If this field is omitted, there are no subsequent pages. + string next_page_token = 2; +} + +// `MakeDirectory` request message. +message MakeDirectoryRequest { + // Required. The workspace's name. + string workspace = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dataform.googleapis.com/Workspace" + } + ]; + + // Required. The directory's full path including directory name, relative to the + // workspace root. + string path = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// `MakeDirectory` response message. +message MakeDirectoryResponse { + +} + +// `RemoveDirectory` request message. +message RemoveDirectoryRequest { + // Required. The workspace's name. + string workspace = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dataform.googleapis.com/Workspace" + } + ]; + + // Required. The directory's full path including directory name, relative to the + // workspace root. + string path = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// `MoveDirectory` request message. +message MoveDirectoryRequest { + // Required. The workspace's name. + string workspace = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dataform.googleapis.com/Workspace" + } + ]; + + // Required. The directory's full path including directory name, relative to the + // workspace root. + string path = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. The new path for the directory including directory name, rooted at + // workspace root. + string new_path = 3 [(google.api.field_behavior) = REQUIRED]; +} + +// `MoveDirectory` response message. +message MoveDirectoryResponse { + +} + +// `ReadFile` request message. +message ReadFileRequest { + // Required. The workspace's name. + string workspace = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dataform.googleapis.com/Workspace" + } + ]; + + // Required. The file's full path including filename, relative to the workspace root. + string path = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// `ReadFile` response message. +message ReadFileResponse { + // The file's contents. + bytes file_contents = 1; +} + +// `RemoveFile` request message. +message RemoveFileRequest { + // Required. The workspace's name. + string workspace = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dataform.googleapis.com/Workspace" + } + ]; + + // Required. The file's full path including filename, relative to the workspace root. + string path = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// `MoveFile` request message. +message MoveFileRequest { + // Required. The workspace's name. + string workspace = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dataform.googleapis.com/Workspace" + } + ]; + + // Required. The file's full path including filename, relative to the workspace root. + string path = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. The file's new path including filename, relative to the workspace root. + string new_path = 3 [(google.api.field_behavior) = REQUIRED]; +} + +// `MoveFile` response message. +message MoveFileResponse { + +} + +// `WriteFile` request message. +message WriteFileRequest { + // Required. The workspace's name. + string workspace = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dataform.googleapis.com/Workspace" + } + ]; + + // Required. The file. + string path = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. The file's contents. + bytes contents = 3 [(google.api.field_behavior) = REQUIRED]; +} + +// `WriteFile` response message. +message WriteFileResponse { + +} + +// `InstallNpmPackages` request message. +message InstallNpmPackagesRequest { + // Required. The workspace's name. + string workspace = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dataform.googleapis.com/Workspace" + } + ]; +} + +// `InstallNpmPackages` response message. +message InstallNpmPackagesResponse { + +} + +// Represents the result of compiling a Dataform project. +message CompilationResult { + option (google.api.resource) = { + type: "dataform.googleapis.com/CompilationResult" + pattern: "projects/{project}/locations/{location}/repositories/{repository}/compilationResults/{compilation_result}" + }; + + // Configures various aspects of Dataform code compilation. + message CodeCompilationConfig { + // Optional. The default database (Google Cloud project ID). + string default_database = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The default schema (BigQuery dataset ID). + string default_schema = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The default BigQuery location to use. Defaults to "US". + // See the BigQuery docs for a full list of locations: + // https://cloud.google.com/bigquery/docs/locations. + string default_location = 8 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The default schema (BigQuery dataset ID) for assertions. + string assertion_schema = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. User-defined variables that are made available to project code during + // compilation. + map vars = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The suffix that should be appended to all database (Google Cloud project + // ID) names. + string database_suffix = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The suffix that should be appended to all schema (BigQuery dataset ID) + // names. + string schema_suffix = 6 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The prefix that should be prepended to all table names. + string table_prefix = 7 [(google.api.field_behavior) = OPTIONAL]; + } + + // An error encountered when attempting to compile a Dataform project. + message CompilationError { + // Output only. The error's top level message. + string message = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The error's full stack trace. + string stack = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The path of the file where this error occurred, if available, relative to + // the project root. + string path = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The identifier of the action where this error occurred, if available. + Target action_target = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + } + + // Output only. The compilation result's name. + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + oneof source { + // Immutable. Git commit/tag/branch name at which the repository should be compiled. + // Must exist in the remote repository. + // Examples: + // - a commit SHA: `12ade345` + // - a tag: `tag1` + // - a branch name: `branch1` + string git_commitish = 2 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. The name of the workspace to compile. Must be in the format + // `projects/*/locations/*/repositories/*/workspaces/*`. + string workspace = 3 [ + (google.api.field_behavior) = IMMUTABLE, + (google.api.resource_reference) = { + type: "dataform.googleapis.com/Workspace" + } + ]; + } + + // Immutable. If set, fields of `code_compilation_overrides` override the default + // compilation settings that are specified in dataform.json. + CodeCompilationConfig code_compilation_config = 4 [(google.api.field_behavior) = IMMUTABLE]; + + // Output only. The version of `@dataform/core` that was used for compilation. + string dataform_core_version = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Errors encountered during project compilation. + repeated CompilationError compilation_errors = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// `ListCompilationResults` request message. +message ListCompilationResultsRequest { + // Required. The repository in which to list compilation results. Must be in the + // format `projects/*/locations/*/repositories/*`. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dataform.googleapis.com/Repository" + } + ]; + + // Optional. Maximum number of compilation results to return. The server may return + // fewer items than requested. If unspecified, the server will pick an + // appropriate default. + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Page token received from a previous `ListCompilationResults` call. + // Provide this to retrieve the subsequent page. + // + // When paginating, all other parameters provided to `ListCompilationResults` + // must match the call that provided the page token. + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// `ListCompilationResults` response message. +message ListCompilationResultsResponse { + // List of compilation results. + repeated CompilationResult compilation_results = 1; + + // A token, which can be sent as `page_token` to retrieve the next page. + // If this field is omitted, there are no subsequent pages. + string next_page_token = 2; + + // Locations which could not be reached. + repeated string unreachable = 3; +} + +// `GetCompilationResult` request message. +message GetCompilationResultRequest { + // Required. The compilation result's name. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dataform.googleapis.com/CompilationResult" + } + ]; +} + +// `CreateCompilationResult` request message. +message CreateCompilationResultRequest { + // Required. The repository in which to create the compilation result. Must be in the + // format `projects/*/locations/*/repositories/*`. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dataform.googleapis.com/Repository" + } + ]; + + // Required. The compilation result to create. + CompilationResult compilation_result = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// Represents an action identifier. If the action writes output, the output +// will be written to the referenced database object. +message Target { + // The action's database (Google Cloud project ID) . + string database = 1; + + // The action's schema (BigQuery dataset ID), within `database`. + string schema = 2; + + // The action's name, within `database` and `schema`. + string name = 3; +} + +// Describes a relation and its columns. +message RelationDescriptor { + // Describes a column. + message ColumnDescriptor { + // The identifier for the column. Each entry in `path` represents one level + // of nesting. + repeated string path = 1; + + // A textual description of the column. + string description = 2; + + // A list of BigQuery policy tags that will be applied to the column. + repeated string bigquery_policy_tags = 3; + } + + // A text description of the relation. + string description = 1; + + // A list of descriptions of columns within the relation. + repeated ColumnDescriptor columns = 2; + + // A set of BigQuery labels that should be applied to the relation. + map bigquery_labels = 3; +} + +// Represents a single Dataform action in a compilation result. +message CompilationResultAction { + // Represents a database relation. + message Relation { + // Indicates the type of this relation. + enum RelationType { + // Default value. This value is unused. + RELATION_TYPE_UNSPECIFIED = 0; + + // The relation is a table. + TABLE = 1; + + // The relation is a view. + VIEW = 2; + + // The relation is an incrementalized table. + INCREMENTAL_TABLE = 3; + + // The relation is a materialized view. + MATERIALIZED_VIEW = 4; + } + + // Contains settings for relations of type `INCREMENTAL_TABLE`. + message IncrementalTableConfig { + // The SELECT query which returns rows which should be inserted into the + // relation if it already exists and is not being refreshed. + string incremental_select_query = 1; + + // Whether this table should be protected from being refreshed. + bool refresh_disabled = 2; + + // A set of columns or SQL expressions used to define row uniqueness. + // If any duplicates are discovered (as defined by `unique_key_parts`), + // only the newly selected rows (as defined by `incremental_select_query`) + // will be included in the relation. + repeated string unique_key_parts = 3; + + // A SQL expression conditional used to limit the set of existing rows + // considered for a merge operation (see `unique_key_parts` for more + // information). + string update_partition_filter = 4; + + // SQL statements to be executed before inserting new rows into the + // relation. + repeated string incremental_pre_operations = 5; + + // SQL statements to be executed after inserting new rows into the + // relation. + repeated string incremental_post_operations = 6; + } + + // A list of actions that this action depends on. + repeated Target dependency_targets = 1; + + // Whether this action is disabled (i.e. should not be run). + bool disabled = 2; + + // Arbitrary, user-defined tags on this action. + repeated string tags = 3; + + // Descriptor for the relation and its columns. + RelationDescriptor relation_descriptor = 4; + + // The type of this relation. + RelationType relation_type = 5; + + // The SELECT query which returns rows which this relation should contain. + string select_query = 6; + + // SQL statements to be executed before creating the relation. + repeated string pre_operations = 7; + + // SQL statements to be executed after creating the relation. + repeated string post_operations = 8; + + // Configures `INCREMENTAL_TABLE` settings for this relation. Only set if + // `relation_type` is `INCREMENTAL_TABLE`. + IncrementalTableConfig incremental_table_config = 9; + + // The SQL expression used to partition the relation. + string partition_expression = 10; + + // A list of columns or SQL expressions used to cluster the table. + repeated string cluster_expressions = 11; + + // Sets the partition expiration in days. + int32 partition_expiration_days = 12; + + // Specifies whether queries on this table must include a predicate filter + // that filters on the partitioning column. + bool require_partition_filter = 13; + + // Additional options that will be provided as key/value pairs into the + // options clause of a create table/view statement. See + // https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language + // for more information on which options are supported. + map additional_options = 14; + } + + // Represents a list of arbitrary database operations. + message Operations { + // A list of actions that this action depends on. + repeated Target dependency_targets = 1; + + // Whether this action is disabled (i.e. should not be run). + bool disabled = 2; + + // Arbitrary, user-defined tags on this action. + repeated string tags = 3; + + // Descriptor for any output relation and its columns. Only set if + // `has_output` is true. + RelationDescriptor relation_descriptor = 6; + + // A list of arbitrary SQL statements that will be executed without + // alteration. + repeated string queries = 4; + + // Whether these operations produce an output relation. + bool has_output = 5; + } + + // Represents an assertion upon a SQL query which is required return zero + // rows. + message Assertion { + // A list of actions that this action depends on. + repeated Target dependency_targets = 1; + + // The parent action of this assertion. Only set if this assertion was + // automatically generated. + Target parent_action = 5; + + // Whether this action is disabled (i.e. should not be run). + bool disabled = 2; + + // Arbitrary, user-defined tags on this action. + repeated string tags = 3; + + // The SELECT query which must return zero rows in order for this assertion + // to succeed. + string select_query = 4; + + // Descriptor for the assertion's automatically-generated view and its + // columns. + RelationDescriptor relation_descriptor = 6; + } + + // Represents a relation which is not managed by Dataform but which may be + // referenced by Dataform actions. + message Declaration { + // Descriptor for the relation and its columns. Used as documentation only, + // i.e. values here will result in no changes to the relation's metadata. + RelationDescriptor relation_descriptor = 1; + } + + // This action's identifier. Unique within the compilation result. + Target target = 1; + + // The action's identifier if the project had been compiled without any + // overrides configured. Unique within the compilation result. + Target canonical_target = 2; + + // The full path including filename in which this action is located, relative + // to the workspace root. + string file_path = 3; + + oneof compiled_object { + // The database relation created/updated by this action. + Relation relation = 4; + + // The database operations executed by this action. + Operations operations = 5; + + // The assertion executed by this action. + Assertion assertion = 6; + + // The declaration declared by this action. + Declaration declaration = 7; + } +} + +// `QueryCompilationResultActions` request message. +message QueryCompilationResultActionsRequest { + // Required. The compilation result's name. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dataform.googleapis.com/CompilationResult" + } + ]; + + // Optional. Maximum number of compilation results to return. The server may return + // fewer items than requested. If unspecified, the server will pick an + // appropriate default. + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Page token received from a previous `QueryCompilationResultActions` call. + // Provide this to retrieve the subsequent page. + // + // When paginating, all other parameters provided to + // `QueryCompilationResultActions` must match the call that provided the page + // token. + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Optional filter for the returned list. Filtering is only currently + // supported on the `file_path` field. + string filter = 4 [(google.api.field_behavior) = OPTIONAL]; +} + +// `QueryCompilationResultActions` response message. +message QueryCompilationResultActionsResponse { + // List of compilation result actions. + repeated CompilationResultAction compilation_result_actions = 1; + + // A token, which can be sent as `page_token` to retrieve the next page. + // If this field is omitted, there are no subsequent pages. + string next_page_token = 2; +} + +// Represents a single invocation of a compilation result. +message WorkflowInvocation { + option (google.api.resource) = { + type: "dataform.googleapis.com/WorkflowInvocation" + pattern: "projects/{project}/locations/{location}/repositories/{repository}/workflowInvocations/{workflow_invocation}" + }; + + // Includes various configuration options for this workflow invocation. + // If both `included_targets` and `included_tags` are unset, all actions + // will be included. + message InvocationConfig { + // Immutable. The set of action identifiers to include. + repeated Target included_targets = 1 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. The set of tags to include. + repeated string included_tags = 2 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. When set to true, transitive dependencies of included actions will be + // executed. + bool transitive_dependencies_included = 3 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. When set to true, transitive dependents of included actions will be + // executed. + bool transitive_dependents_included = 4 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. When set to true, any incremental tables will be fully refreshed. + bool fully_refresh_incremental_tables_enabled = 5 [(google.api.field_behavior) = IMMUTABLE]; + } + + // Represents the current state of a workflow invocation. + enum State { + // Default value. This value is unused. + STATE_UNSPECIFIED = 0; + + // The workflow invocation is currently running. + RUNNING = 1; + + // The workflow invocation succeeded. A terminal state. + SUCCEEDED = 2; + + // The workflow invocation was cancelled. A terminal state. + CANCELLED = 3; + + // The workflow invocation failed. A terminal state. + FAILED = 4; + + // The workflow invocation is being cancelled, but some actions are still + // running. + CANCELING = 5; + } + + // Output only. The workflow invocation's name. + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Immutable. The name of the compilation result to compile. Must be in the format + // `projects/*/locations/*/repositories/*/compilationResults/*`. + string compilation_result = 2 [ + (google.api.field_behavior) = IMMUTABLE, + (google.api.resource_reference) = { + type: "dataform.googleapis.com/CompilationResult" + } + ]; + + // Immutable. If left unset, a default InvocationConfig will be used. + InvocationConfig invocation_config = 3 [(google.api.field_behavior) = IMMUTABLE]; + + // Output only. This workflow invocation's current state. + State state = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. This workflow invocation's timing details. + google.type.Interval invocation_timing = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// `ListWorkflowInvocations` request message. +message ListWorkflowInvocationsRequest { + // Required. The parent resource of the WorkflowInvocation type. Must be in the + // format `projects/*/locations/*/repositories/*`. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dataform.googleapis.com/Repository" + } + ]; + + // Optional. Maximum number of workflow invocations to return. The server may return + // fewer items than requested. If unspecified, the server will pick an + // appropriate default. + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Page token received from a previous `ListWorkflowInvocations` call. + // Provide this to retrieve the subsequent page. + // + // When paginating, all other parameters provided to `ListWorkflowInvocations` + // must match the call that provided the page token. + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// `ListWorkflowInvocations` response message. +message ListWorkflowInvocationsResponse { + // List of workflow invocations. + repeated WorkflowInvocation workflow_invocations = 1; + + // A token, which can be sent as `page_token` to retrieve the next page. + // If this field is omitted, there are no subsequent pages. + string next_page_token = 2; + + // Locations which could not be reached. + repeated string unreachable = 3; +} + +// `GetWorkflowInvocation` request message. +message GetWorkflowInvocationRequest { + // Required. The workflow invocation resource's name. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dataform.googleapis.com/WorkflowInvocation" + } + ]; +} + +// `CreateWorkflowInvocation` request message. +message CreateWorkflowInvocationRequest { + // Required. The repository in which to create the workflow invocation. Must be in the + // format `projects/*/locations/*/repositories/*`. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dataform.googleapis.com/Repository" + } + ]; + + // Required. The workflow invocation resource to create. + WorkflowInvocation workflow_invocation = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// `DeleteWorkflowInvocation` request message. +message DeleteWorkflowInvocationRequest { + // Required. The workflow invocation resource's name. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dataform.googleapis.com/WorkflowInvocation" + } + ]; +} + +// `CancelWorkflowInvocation` request message. +message CancelWorkflowInvocationRequest { + // Required. The workflow invocation resource's name. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dataform.googleapis.com/WorkflowInvocation" + } + ]; +} + +// Represents a single action in a workflow invocation. +message WorkflowInvocationAction { + // Represents the current state of an workflow invocation action. + enum State { + // The action has not yet been considered for invocation. + PENDING = 0; + + // The action is currently running. + RUNNING = 1; + + // Execution of the action was skipped because upstream dependencies did not + // all complete successfully. A terminal state. + SKIPPED = 2; + + // Execution of the action was disabled as per the configuration of the + // corresponding compilation result action. A terminal state. + DISABLED = 3; + + // The action succeeded. A terminal state. + SUCCEEDED = 4; + + // The action was cancelled. A terminal state. + CANCELLED = 5; + + // The action failed. A terminal state. + FAILED = 6; + } + + // Represents a workflow action that will run against BigQuery. + message BigQueryAction { + // Output only. The generated BigQuery SQL script that will be executed. + string sql_script = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + } + + // Output only. This action's identifier. Unique within the workflow invocation. + Target target = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The action's identifier if the project had been compiled without any + // overrides configured. Unique within the compilation result. + Target canonical_target = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. This action's current state. + State state = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. If and only if action's state is FAILED a failure reason is set. + string failure_reason = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. This action's timing details. + // `start_time` will be set if the action is in [RUNNING, SUCCEEDED, + // CANCELLED, FAILED] state. + // `end_time` will be set if the action is in [SUCCEEDED, CANCELLED, FAILED] + // state. + google.type.Interval invocation_timing = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The workflow action's bigquery action details. + BigQueryAction bigquery_action = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// `QueryWorkflowInvocationActions` request message. +message QueryWorkflowInvocationActionsRequest { + // Required. The workflow invocation's name. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dataform.googleapis.com/WorkflowInvocation" + } + ]; + + // Optional. Maximum number of workflow invocations to return. The server may return + // fewer items than requested. If unspecified, the server will pick an + // appropriate default. + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Page token received from a previous `QueryWorkflowInvocationActions` call. + // Provide this to retrieve the subsequent page. + // + // When paginating, all other parameters provided to + // `QueryWorkflowInvocationActions` must match the call that provided the page + // token. + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// `QueryWorkflowInvocationActions` response message. +message QueryWorkflowInvocationActionsResponse { + // List of workflow invocation actions. + repeated WorkflowInvocationAction workflow_invocation_actions = 1; + + // A token, which can be sent as `page_token` to retrieve the next page. + // If this field is omitted, there are no subsequent pages. + string next_page_token = 2; +} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CancelWorkflowInvocationRequestOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CancelWorkflowInvocationRequestOrBuilder.java deleted file mode 100644 index 4ccaec0..0000000 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CancelWorkflowInvocationRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1alpha2/dataform.proto - -package com.google.cloud.dataform.v1alpha2; - -public interface CancelWorkflowInvocationRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The workflow invocation resource's name.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The workflow invocation resource's name.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateCompilationResultRequestOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateCompilationResultRequestOrBuilder.java deleted file mode 100644 index 05eb7b8..0000000 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateCompilationResultRequestOrBuilder.java +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1alpha2/dataform.proto - -package com.google.cloud.dataform.v1alpha2; - -public interface CreateCompilationResultRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.CreateCompilationResultRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The repository in which to create the compilation result. Must be in the
-   * format `projects/*/locations/*/repositories/*`.
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The parent. - */ - java.lang.String getParent(); - /** - * - * - *
-   * Required. The repository in which to create the compilation result. Must be in the
-   * format `projects/*/locations/*/repositories/*`.
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for parent. - */ - com.google.protobuf.ByteString getParentBytes(); - - /** - * - * - *
-   * Required. The compilation result to create.
-   * 
- * - * - * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the compilationResult field is set. - */ - boolean hasCompilationResult(); - /** - * - * - *
-   * Required. The compilation result to create.
-   * 
- * - * - * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The compilationResult. - */ - com.google.cloud.dataform.v1alpha2.CompilationResult getCompilationResult(); - /** - * - * - *
-   * Required. The compilation result to create.
-   * 
- * - * - * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.dataform.v1alpha2.CompilationResultOrBuilder getCompilationResultOrBuilder(); -} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkflowInvocationRequestOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkflowInvocationRequestOrBuilder.java deleted file mode 100644 index 76d3f9d..0000000 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkflowInvocationRequestOrBuilder.java +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1alpha2/dataform.proto - -package com.google.cloud.dataform.v1alpha2; - -public interface CreateWorkflowInvocationRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The parent resource of the WorkflowInvocation type.
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The parent. - */ - java.lang.String getParent(); - /** - * - * - *
-   * Required. The parent resource of the WorkflowInvocation type.
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for parent. - */ - com.google.protobuf.ByteString getParentBytes(); - - /** - * - * - *
-   * Required. The workflow invocation resource to create.
-   * 
- * - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the workflowInvocation field is set. - */ - boolean hasWorkflowInvocation(); - /** - * - * - *
-   * Required. The workflow invocation resource to create.
-   * 
- * - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The workflowInvocation. - */ - com.google.cloud.dataform.v1alpha2.WorkflowInvocation getWorkflowInvocation(); - /** - * - * - *
-   * Required. The workflow invocation resource to create.
-   * 
- * - * - * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.dataform.v1alpha2.WorkflowInvocationOrBuilder getWorkflowInvocationOrBuilder(); -} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DataformProto.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DataformProto.java deleted file mode 100644 index 0a20fe4..0000000 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DataformProto.java +++ /dev/null @@ -1,1618 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1alpha2/dataform.proto - -package com.google.cloud.dataform.v1alpha2; - -public final class DataformProto { - private DataformProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_Repository_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_Repository_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_Repository_GitRemoteSettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_Repository_GitRemoteSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_GetRepositoryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_GetRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_CreateRepositoryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_CreateRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_UpdateRepositoryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_UpdateRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_DeleteRepositoryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_DeleteRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_Workspace_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_Workspace_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_GetWorkspaceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_GetWorkspaceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_CreateWorkspaceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_CreateWorkspaceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_DeleteWorkspaceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_DeleteWorkspaceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_CommitAuthor_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_CommitAuthor_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_PullGitCommitsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_PullGitCommitsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_PushGitCommitsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_PushGitCommitsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_UncommittedFileChange_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_UncommittedFileChange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_CommitWorkspaceChangesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_CommitWorkspaceChangesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_ResetWorkspaceChangesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_ResetWorkspaceChangesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_DirectoryEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_DirectoryEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_RemoveDirectoryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_RemoveDirectoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_ReadFileRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_ReadFileRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_ReadFileResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_ReadFileResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_RemoveFileRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_RemoveFileRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_MoveFileRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_MoveFileRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_MoveFileResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_MoveFileResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_WriteFileRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_WriteFileRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_WriteFileResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_WriteFileResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_CompilationResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_CompilationResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_VarsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_VarsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CompilationError_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CompilationError_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_GetCompilationResultRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_GetCompilationResultRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_CreateCompilationResultRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_CreateCompilationResultRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_Target_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_Target_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_ColumnDescriptor_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_ColumnDescriptor_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_BigqueryLabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_BigqueryLabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_IncrementalTableConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_IncrementalTableConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_AdditionalOptionsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_AdditionalOptionsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Operations_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Operations_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Assertion_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Assertion_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Declaration_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Declaration_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_InvocationConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_InvocationConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_GetWorkflowInvocationRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_GetWorkflowInvocationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_CreateWorkflowInvocationRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_CreateWorkflowInvocationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_DeleteWorkflowInvocationRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_DeleteWorkflowInvocationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_CancelWorkflowInvocationRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_CancelWorkflowInvocationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_BigQueryAction_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_BigQueryAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsResponse_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n-google/cloud/dataform/v1alpha2/datafor" - + "m.proto\022\036google.cloud.dataform.v1alpha2\032" - + "\034google/api/annotations.proto\032\027google/ap" - + "i/client.proto\032\037google/api/field_behavio" - + "r.proto\032\031google/api/resource.proto\032\033goog" - + "le/protobuf/empty.proto\032 google/protobuf" - + "/field_mask.proto\032\032google/type/interval." - + "proto\"\312\004\n\nRepository\022\021\n\004name\030\001 \001(\tB\003\340A\003\022" - + "^\n\023git_remote_settings\030\002 \001(\0132<.google.cl" - + "oud.dataform.v1alpha2.Repository.GitRemo" - + "teSettingsB\003\340A\001\032\334\002\n\021GitRemoteSettings\022\020\n" - + "\003url\030\001 \001(\tB\003\340A\002\022\033\n\016default_branch\030\002 \001(\tB" - + "\003\340A\002\022_\n#authentication_token_secret_vers" - + "ion\030\003 \001(\tB2\340A\002\372A,\n*secretmanager.googlea" - + "pis.com/SecretVersion\022c\n\014token_status\030\004 " - + "\001(\0162H.google.cloud.dataform.v1alpha2.Rep" - + "ository.GitRemoteSettings.TokenStatusB\003\340" - + "A\003\"R\n\013TokenStatus\022\034\n\030TOKEN_STATUS_UNSPEC" - + "IFIED\020\000\022\r\n\tNOT_FOUND\020\001\022\013\n\007INVALID\020\002\022\t\n\005V" - + "ALID\020\003:j\352Ag\n\"dataform.googleapis.com/Rep" - + "ository\022Aprojects/{project}/locations/{l" - + "ocation}/repositories/{repository}\"\261\001\n\027L" - + "istRepositoriesRequest\0229\n\006parent\030\001 \001(\tB)" - + "\340A\002\372A#\n!locations.googleapis.com/Locatio" - + "n\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030" - + "\003 \001(\tB\003\340A\001\022\025\n\010order_by\030\004 \001(\tB\003\340A\001\022\023\n\006fil" - + "ter\030\005 \001(\tB\003\340A\001\"\212\001\n\030ListRepositoriesRespo" - + "nse\022@\n\014repositories\030\001 \003(\0132*.google.cloud" - + ".dataform.v1alpha2.Repository\022\027\n\017next_pa" - + "ge_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"P\n\024G" - + "etRepositoryRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A" - + "$\n\"dataform.googleapis.com/Repository\"\265\001" - + "\n\027CreateRepositoryRequest\0229\n\006parent\030\001 \001(" - + "\tB)\340A\002\372A#\n!locations.googleapis.com/Loca" - + "tion\022C\n\nrepository\030\002 \001(\0132*.google.cloud." - + "dataform.v1alpha2.RepositoryB\003\340A\002\022\032\n\rrep" - + "ository_id\030\003 \001(\tB\003\340A\002\"\224\001\n\027UpdateReposito" - + "ryRequest\0224\n\013update_mask\030\001 \001(\0132\032.google." - + "protobuf.FieldMaskB\003\340A\001\022C\n\nrepository\030\002 " - + "\001(\0132*.google.cloud.dataform.v1alpha2.Rep" - + "ositoryB\003\340A\002\"b\n\027DeleteRepositoryRequest\022" - + "8\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"dataform.googleap" - + "is.com/Repository\022\r\n\005force\030\002 \001(\010\"V\n\032Fetc" - + "hRemoteBranchesRequest\0228\n\004name\030\001 \001(\tB*\340A" - + "\002\372A$\n\"dataform.googleapis.com/Repository" - + "\"/\n\033FetchRemoteBranchesResponse\022\020\n\010branc" - + "hes\030\001 \003(\t\"\241\001\n\tWorkspace\022\021\n\004name\030\001 \001(\tB\003\340" - + "A\003:\200\001\352A}\n!dataform.googleapis.com/Worksp" - + "ace\022Xprojects/{project}/locations/{locat" - + "ion}/repositories/{repository}/workspace" - + "s/{workspace}\"\260\001\n\025ListWorkspacesRequest\022" - + ":\n\006parent\030\001 \001(\tB*\340A\002\372A$\n\"dataform.google" - + "apis.com/Repository\022\026\n\tpage_size\030\002 \001(\005B\003" - + "\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001\022\025\n\010order_by" - + "\030\004 \001(\tB\003\340A\001\022\023\n\006filter\030\005 \001(\tB\003\340A\001\"\205\001\n\026Lis" - + "tWorkspacesResponse\022=\n\nworkspaces\030\001 \003(\0132" - + ").google.cloud.dataform.v1alpha2.Workspa" - + "ce\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unreachab" - + "le\030\003 \003(\t\"N\n\023GetWorkspaceRequest\0227\n\004name\030" - + "\001 \001(\tB)\340A\002\372A#\n!dataform.googleapis.com/W" - + "orkspace\"\262\001\n\026CreateWorkspaceRequest\022:\n\006p" - + "arent\030\001 \001(\tB*\340A\002\372A$\n\"dataform.googleapis" - + ".com/Repository\022A\n\tworkspace\030\002 \001(\0132).goo" - + "gle.cloud.dataform.v1alpha2.WorkspaceB\003\340" - + "A\002\022\031\n\014workspace_id\030\003 \001(\tB\003\340A\002\"Q\n\026DeleteW" - + "orkspaceRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!d" - + "ataform.googleapis.com/Workspace\"=\n\014Comm" - + "itAuthor\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\032\n\remail_add" - + "ress\030\002 \001(\tB\003\340A\002\"\257\001\n\025PullGitCommitsReques" - + "t\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dataform.google" - + "apis.com/Workspace\022\032\n\rremote_branch\030\002 \001(" - + "\tB\003\340A\001\022A\n\006author\030\003 \001(\0132,.google.cloud.da" - + "taform.v1alpha2.CommitAuthorB\003\340A\002\"l\n\025Pus" - + "hGitCommitsRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#" - + "\n!dataform.googleapis.com/Workspace\022\032\n\rr" - + "emote_branch\030\002 \001(\tB\003\340A\001\"V\n\033FetchFileGitS" - + "tatusesRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!da" - + "taform.googleapis.com/Workspace\"\376\002\n\034Fetc" - + "hFileGitStatusesResponse\022t\n\030uncommitted_" - + "file_changes\030\001 \003(\0132R.google.cloud.datafo" - + "rm.v1alpha2.FetchFileGitStatusesResponse" - + ".UncommittedFileChange\032\347\001\n\025UncommittedFi" - + "leChange\022\014\n\004path\030\001 \001(\t\022g\n\005state\030\002 \001(\0162X." - + "google.cloud.dataform.v1alpha2.FetchFile" - + "GitStatusesResponse.UncommittedFileChang" - + "e.State\"W\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022" - + "\t\n\005ADDED\020\001\022\013\n\007DELETED\020\002\022\014\n\010MODIFIED\020\003\022\021\n" - + "\rHAS_CONFLICTS\020\004\"q\n\032FetchGitAheadBehindR" - + "equest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dataform.g" - + "oogleapis.com/Workspace\022\032\n\rremote_branch" - + "\030\002 \001(\tB\003\340A\001\"L\n\033FetchGitAheadBehindRespon" - + "se\022\025\n\rcommits_ahead\030\001 \001(\005\022\026\n\016commits_beh" - + "ind\030\002 \001(\005\"\314\001\n\035CommitWorkspaceChangesRequ" - + "est\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dataform.goog" - + "leapis.com/Workspace\022A\n\006author\030\004 \001(\0132,.g" - + "oogle.cloud.dataform.v1alpha2.CommitAuth" - + "orB\003\340A\002\022\033\n\016commit_message\030\002 \001(\tB\003\340A\001\022\022\n\005" - + "paths\030\003 \003(\tB\003\340A\001\"\177\n\034ResetWorkspaceChange" - + "sRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dataform" - + ".googleapis.com/Workspace\022\022\n\005paths\030\002 \003(\t" - + "B\003\340A\001\022\022\n\005clean\030\003 \001(\010B\003\340A\001\"g\n\024FetchFileDi" - + "ffRequest\022<\n\tworkspace\030\001 \001(\tB)\340A\002\372A#\n!da" - + "taform.googleapis.com/Workspace\022\021\n\004path\030" - + "\002 \001(\tB\003\340A\002\"/\n\025FetchFileDiffResponse\022\026\n\016f" - + "ormatted_diff\030\001 \001(\t\"\241\001\n\035QueryDirectoryCo" - + "ntentsRequest\022<\n\tworkspace\030\001 \001(\tB)\340A\002\372A#" - + "\n!dataform.googleapis.com/Workspace\022\021\n\004p" - + "ath\030\002 \001(\tB\003\340A\001\022\026\n\tpage_size\030\003 \001(\005B\003\340A\001\022\027" - + "\n\npage_token\030\004 \001(\tB\003\340A\001\"\343\001\n\036QueryDirecto" - + "ryContentsResponse\022h\n\021directory_entries\030" - + "\001 \003(\0132M.google.cloud.dataform.v1alpha2.Q" - + "ueryDirectoryContentsResponse.DirectoryE" - + "ntry\022\027\n\017next_page_token\030\002 \001(\t\032>\n\016Directo" - + "ryEntry\022\016\n\004file\030\001 \001(\tH\000\022\023\n\tdirectory\030\002 \001" - + "(\tH\000B\007\n\005entry\"g\n\024MakeDirectoryRequest\022<\n" - + "\tworkspace\030\001 \001(\tB)\340A\002\372A#\n!dataform.googl" - + "eapis.com/Workspace\022\021\n\004path\030\002 \001(\tB\003\340A\002\"\027" - + "\n\025MakeDirectoryResponse\"i\n\026RemoveDirecto" - + "ryRequest\022<\n\tworkspace\030\001 \001(\tB)\340A\002\372A#\n!da" - + "taform.googleapis.com/Workspace\022\021\n\004path\030" - + "\002 \001(\tB\003\340A\002\"~\n\024MoveDirectoryRequest\022<\n\two" - + "rkspace\030\001 \001(\tB)\340A\002\372A#\n!dataform.googleap" - + "is.com/Workspace\022\021\n\004path\030\002 \001(\tB\003\340A\002\022\025\n\010n" - + "ew_path\030\003 \001(\tB\003\340A\002\"\027\n\025MoveDirectoryRespo" - + "nse\"b\n\017ReadFileRequest\022<\n\tworkspace\030\001 \001(" - + "\tB)\340A\002\372A#\n!dataform.googleapis.com/Works" - + "pace\022\021\n\004path\030\002 \001(\tB\003\340A\002\")\n\020ReadFileRespo" - + "nse\022\025\n\rfile_contents\030\001 \001(\014\"d\n\021RemoveFile" - + "Request\022<\n\tworkspace\030\001 \001(\tB)\340A\002\372A#\n!data" - + "form.googleapis.com/Workspace\022\021\n\004path\030\002 " - + "\001(\tB\003\340A\002\"y\n\017MoveFileRequest\022<\n\tworkspace" - + "\030\001 \001(\tB)\340A\002\372A#\n!dataform.googleapis.com/" - + "Workspace\022\021\n\004path\030\002 \001(\tB\003\340A\002\022\025\n\010new_path" - + "\030\003 \001(\tB\003\340A\002\"\022\n\020MoveFileResponse\"z\n\020Write" - + "FileRequest\022<\n\tworkspace\030\001 \001(\tB)\340A\002\372A#\n!" - + "dataform.googleapis.com/Workspace\022\021\n\004pat" - + "h\030\002 \001(\tB\003\340A\002\022\025\n\010contents\030\003 \001(\014B\003\340A\002\"\023\n\021W" - + "riteFileResponse\"Y\n\031InstallNpmPackagesRe" - + "quest\022<\n\tworkspace\030\001 \001(\tB)\340A\002\372A#\n!datafo" - + "rm.googleapis.com/Workspace\"\034\n\032InstallNp" - + "mPackagesResponse\"\265\010\n\021CompilationResult\022" - + "\021\n\004name\030\001 \001(\tB\003\340A\003\022\034\n\rgit_commitish\030\002 \001(" - + "\tB\003\340A\005H\000\022>\n\tworkspace\030\003 \001(\tB)\340A\005\372A#\n!dat" - + "aform.googleapis.com/WorkspaceH\000\022m\n\027code" - + "_compilation_config\030\004 \001(\0132G.google.cloud" - + ".dataform.v1alpha2.CompilationResult.Cod" - + "eCompilationConfigB\003\340A\005\022\"\n\025dataform_core" - + "_version\030\005 \001(\tB\003\340A\003\022c\n\022compilation_error" - + "s\030\006 \003(\0132B.google.cloud.dataform.v1alpha2" - + ".CompilationResult.CompilationErrorB\003\340A\003" - + "\032\371\002\n\025CodeCompilationConfig\022\035\n\020default_da" - + "tabase\030\001 \001(\tB\003\340A\001\022\033\n\016default_schema\030\002 \001(" - + "\tB\003\340A\001\022\035\n\020default_location\030\010 \001(\tB\003\340A\001\022\035\n" - + "\020assertion_schema\030\003 \001(\tB\003\340A\001\022d\n\004vars\030\004 \003" - + "(\0132Q.google.cloud.dataform.v1alpha2.Comp" - + "ilationResult.CodeCompilationConfig.Vars" - + "EntryB\003\340A\001\022\034\n\017database_suffix\030\005 \001(\tB\003\340A\001" - + "\022\032\n\rschema_suffix\030\006 \001(\tB\003\340A\001\022\031\n\014table_pr" - + "efix\030\007 \001(\tB\003\340A\001\032+\n\tVarsEntry\022\013\n\003key\030\001 \001(" - + "\t\022\r\n\005value\030\002 \001(\t:\0028\001\032\223\001\n\020CompilationErro" - + "r\022\024\n\007message\030\001 \001(\tB\003\340A\003\022\022\n\005stack\030\002 \001(\tB\003" - + "\340A\003\022\021\n\004path\030\003 \001(\tB\003\340A\003\022B\n\raction_target\030" - + "\004 \001(\0132&.google.cloud.dataform.v1alpha2.T" - + "argetB\003\340A\003:\232\001\352A\226\001\n)dataform.googleapis.c" - + "om/CompilationResult\022iprojects/{project}" - + "/locations/{location}/repositories/{repo" - + "sitory}/compilationResults/{compilation_" - + "result}B\010\n\006source\"\214\001\n\035ListCompilationRes" - + "ultsRequest\022:\n\006parent\030\001 \001(\tB*\340A\002\372A$\n\"dat" - + "aform.googleapis.com/Repository\022\026\n\tpage_" - + "size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001" - + "\"\236\001\n\036ListCompilationResultsResponse\022N\n\023c" - + "ompilation_results\030\001 \003(\01321.google.cloud." - + "dataform.v1alpha2.CompilationResult\022\027\n\017n" - + "ext_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(" - + "\t\"^\n\033GetCompilationResultRequest\022?\n\004name" - + "\030\001 \001(\tB1\340A\002\372A+\n)dataform.googleapis.com/" - + "CompilationResult\"\260\001\n\036CreateCompilationR" - + "esultRequest\022:\n\006parent\030\001 \001(\tB*\340A\002\372A$\n\"da" - + "taform.googleapis.com/Repository\022R\n\022comp" - + "ilation_result\030\002 \001(\01321.google.cloud.data" - + "form.v1alpha2.CompilationResultB\003\340A\002\"8\n\006" - + "Target\022\020\n\010database\030\001 \001(\t\022\016\n\006schema\030\002 \001(\t" - + "\022\014\n\004name\030\003 \001(\t\"\354\002\n\022RelationDescriptor\022\023\n" - + "\013description\030\001 \001(\t\022T\n\007columns\030\002 \003(\0132C.go" - + "ogle.cloud.dataform.v1alpha2.RelationDes" - + "criptor.ColumnDescriptor\022_\n\017bigquery_lab" - + "els\030\003 \003(\0132F.google.cloud.dataform.v1alph" - + "a2.RelationDescriptor.BigqueryLabelsEntr" - + "y\032S\n\020ColumnDescriptor\022\014\n\004path\030\001 \003(\t\022\023\n\013d" - + "escription\030\002 \001(\t\022\034\n\024bigquery_policy_tags" - + "\030\003 \003(\t\0325\n\023BigqueryLabelsEntry\022\013\n\003key\030\001 \001" - + "(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\344\021\n\027CompilationRes" - + "ultAction\0226\n\006target\030\001 \001(\0132&.google.cloud" - + ".dataform.v1alpha2.Target\022@\n\020canonical_t" - + "arget\030\002 \001(\0132&.google.cloud.dataform.v1al" - + "pha2.Target\022\021\n\tfile_path\030\003 \001(\t\022T\n\010relati" - + "on\030\004 \001(\0132@.google.cloud.dataform.v1alpha" - + "2.CompilationResultAction.RelationH\000\022X\n\n" - + "operations\030\005 \001(\0132B.google.cloud.dataform" - + ".v1alpha2.CompilationResultAction.Operat" - + "ionsH\000\022V\n\tassertion\030\006 \001(\0132A.google.cloud" - + ".dataform.v1alpha2.CompilationResultActi" - + "on.AssertionH\000\022Z\n\013declaration\030\007 \001(\0132C.go" - + "ogle.cloud.dataform.v1alpha2.Compilation" - + "ResultAction.DeclarationH\000\032\343\010\n\010Relation\022" - + "B\n\022dependency_targets\030\001 \003(\0132&.google.clo" - + "ud.dataform.v1alpha2.Target\022\020\n\010disabled\030" - + "\002 \001(\010\022\014\n\004tags\030\003 \003(\t\022O\n\023relation_descript" - + "or\030\004 \001(\01322.google.cloud.dataform.v1alpha" - + "2.RelationDescriptor\022d\n\rrelation_type\030\005 " - + "\001(\0162M.google.cloud.dataform.v1alpha2.Com" - + "pilationResultAction.Relation.RelationTy" - + "pe\022\024\n\014select_query\030\006 \001(\t\022\026\n\016pre_operatio" - + "ns\030\007 \003(\t\022\027\n\017post_operations\030\010 \003(\t\022y\n\030inc" - + "remental_table_config\030\t \001(\0132W.google.clo" - + "ud.dataform.v1alpha2.CompilationResultAc" - + "tion.Relation.IncrementalTableConfig\022\034\n\024" - + "partition_expression\030\n \001(\t\022\033\n\023cluster_ex" - + "pressions\030\013 \003(\t\022!\n\031partition_expiration_" - + "days\030\014 \001(\005\022 \n\030require_partition_filter\030\r" - + " \001(\010\022s\n\022additional_options\030\016 \003(\0132W.googl" - + "e.cloud.dataform.v1alpha2.CompilationRes" - + "ultAction.Relation.AdditionalOptionsEntr" - + "y\032\330\001\n\026IncrementalTableConfig\022 \n\030incremen" - + "tal_select_query\030\001 \001(\t\022\030\n\020refresh_disabl" - + "ed\030\002 \001(\010\022\030\n\020unique_key_parts\030\003 \003(\t\022\037\n\027up" - + "date_partition_filter\030\004 \001(\t\022\"\n\032increment" - + "al_pre_operations\030\005 \003(\t\022#\n\033incremental_p" - + "ost_operations\030\006 \003(\t\0328\n\026AdditionalOption" - + "sEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"p" - + "\n\014RelationType\022\035\n\031RELATION_TYPE_UNSPECIF" - + "IED\020\000\022\t\n\005TABLE\020\001\022\010\n\004VIEW\020\002\022\025\n\021INCREMENTA" - + "L_TABLE\020\003\022\025\n\021MATERIALIZED_VIEW\020\004\032\346\001\n\nOpe" - + "rations\022B\n\022dependency_targets\030\001 \003(\0132&.go" - + "ogle.cloud.dataform.v1alpha2.Target\022\020\n\010d" - + "isabled\030\002 \001(\010\022\014\n\004tags\030\003 \003(\t\022O\n\023relation_" - + "descriptor\030\006 \001(\01322.google.cloud.dataform" - + ".v1alpha2.RelationDescriptor\022\017\n\007queries\030" - + "\004 \003(\t\022\022\n\nhas_output\030\005 \001(\010\032\225\002\n\tAssertion\022" - + "B\n\022dependency_targets\030\001 \003(\0132&.google.clo" - + "ud.dataform.v1alpha2.Target\022=\n\rparent_ac" - + "tion\030\005 \001(\0132&.google.cloud.dataform.v1alp" - + "ha2.Target\022\020\n\010disabled\030\002 \001(\010\022\014\n\004tags\030\003 \003" - + "(\t\022\024\n\014select_query\030\004 \001(\t\022O\n\023relation_des" - + "criptor\030\006 \001(\01322.google.cloud.dataform.v1" - + "alpha2.RelationDescriptor\032^\n\013Declaration" - + "\022O\n\023relation_descriptor\030\001 \001(\01322.google.c" - + "loud.dataform.v1alpha2.RelationDescripto" - + "rB\021\n\017compiled_object\"\255\001\n$QueryCompilatio" - + "nResultActionsRequest\022?\n\004name\030\001 \001(\tB1\340A\002" - + "\372A+\n)dataform.googleapis.com/Compilation" - + "Result\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_t" - + "oken\030\003 \001(\tB\003\340A\001\022\023\n\006filter\030\004 \001(\tB\003\340A\001\"\235\001\n" - + "%QueryCompilationResultActionsResponse\022[" - + "\n\032compilation_result_actions\030\001 \003(\01327.goo" - + "gle.cloud.dataform.v1alpha2.CompilationR" - + "esultAction\022\027\n\017next_page_token\030\002 \001(\t\"\361\006\n" - + "\022WorkflowInvocation\022\021\n\004name\030\001 \001(\tB\003\340A\003\022M" - + "\n\022compilation_result\030\002 \001(\tB1\340A\005\372A+\n)data" - + "form.googleapis.com/CompilationResult\022c\n" - + "\021invocation_config\030\003 \001(\0132C.google.cloud." - + "dataform.v1alpha2.WorkflowInvocation.Inv" - + "ocationConfigB\003\340A\005\022L\n\005state\030\004 \001(\01628.goog" - + "le.cloud.dataform.v1alpha2.WorkflowInvoc" - + "ation.StateB\003\340A\003\0225\n\021invocation_timing\030\005 " - + "\001(\0132\025.google.type.IntervalB\003\340A\003\032\210\002\n\020Invo" - + "cationConfig\022E\n\020included_targets\030\001 \003(\0132&" - + ".google.cloud.dataform.v1alpha2.TargetB\003" - + "\340A\005\022\032\n\rincluded_tags\030\002 \003(\tB\003\340A\005\022-\n trans" - + "itive_dependencies_included\030\003 \001(\010B\003\340A\005\022+" - + "\n\036transitive_dependents_included\030\004 \001(\010B\003" - + "\340A\005\0225\n(fully_refresh_incremental_tables_" - + "enabled\030\005 \001(\010B\003\340A\005\"d\n\005State\022\025\n\021STATE_UNS" - + "PECIFIED\020\000\022\013\n\007RUNNING\020\001\022\r\n\tSUCCEEDED\020\002\022\r" - + "\n\tCANCELLED\020\003\022\n\n\006FAILED\020\004\022\r\n\tCANCELING\020\005" - + ":\235\001\352A\231\001\n*dataform.googleapis.com/Workflo" - + "wInvocation\022kprojects/{project}/location" - + "s/{location}/repositories/{repository}/w" - + "orkflowInvocations/{workflow_invocation}" - + "\"\215\001\n\036ListWorkflowInvocationsRequest\022:\n\006p" - + "arent\030\001 \001(\tB*\340A\002\372A$\n\"dataform.googleapis" - + ".com/Repository\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022" - + "\027\n\npage_token\030\003 \001(\tB\003\340A\001\"\241\001\n\037ListWorkflo" - + "wInvocationsResponse\022P\n\024workflow_invocat" - + "ions\030\001 \003(\01322.google.cloud.dataform.v1alp" - + "ha2.WorkflowInvocation\022\027\n\017next_page_toke" - + "n\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"`\n\034GetWorkf" - + "lowInvocationRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372" - + "A,\n*dataform.googleapis.com/WorkflowInvo" - + "cation\"\263\001\n\037CreateWorkflowInvocationReque" - + "st\022:\n\006parent\030\001 \001(\tB*\340A\002\372A$\n\"dataform.goo" - + "gleapis.com/Repository\022T\n\023workflow_invoc" - + "ation\030\002 \001(\01322.google.cloud.dataform.v1al" - + "pha2.WorkflowInvocationB\003\340A\002\"c\n\037DeleteWo" - + "rkflowInvocationRequest\022@\n\004name\030\001 \001(\tB2\340" - + "A\002\372A,\n*dataform.googleapis.com/WorkflowI" - + "nvocation\"c\n\037CancelWorkflowInvocationReq" - + "uest\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*dataform.goo" - + "gleapis.com/WorkflowInvocation\"\300\004\n\030Workf" - + "lowInvocationAction\022;\n\006target\030\001 \001(\0132&.go" - + "ogle.cloud.dataform.v1alpha2.TargetB\003\340A\003" - + "\022E\n\020canonical_target\030\002 \001(\0132&.google.clou" - + "d.dataform.v1alpha2.TargetB\003\340A\003\022R\n\005state" - + "\030\004 \001(\0162>.google.cloud.dataform.v1alpha2." - + "WorkflowInvocationAction.StateB\003\340A\003\022\033\n\016f" - + "ailure_reason\030\007 \001(\tB\003\340A\003\0225\n\021invocation_t" - + "iming\030\005 \001(\0132\025.google.type.IntervalB\003\340A\003\022" - + "e\n\017bigquery_action\030\006 \001(\0132G.google.cloud." - + "dataform.v1alpha2.WorkflowInvocationActi" - + "on.BigQueryActionB\003\340A\003\032)\n\016BigQueryAction" - + "\022\027\n\nsql_script\030\001 \001(\tB\003\340A\003\"f\n\005State\022\013\n\007PE" - + "NDING\020\000\022\013\n\007RUNNING\020\001\022\013\n\007SKIPPED\020\002\022\014\n\010DIS" - + "ABLED\020\003\022\r\n\tSUCCEEDED\020\004\022\r\n\tCANCELLED\020\005\022\n\n" - + "\006FAILED\020\006\"\232\001\n%QueryWorkflowInvocationAct" - + "ionsRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*dataf" - + "orm.googleapis.com/WorkflowInvocation\022\026\n" - + "\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(" - + "\tB\003\340A\001\"\240\001\n&QueryWorkflowInvocationAction" - + "sResponse\022]\n\033workflow_invocation_actions" - + "\030\001 \003(\01328.google.cloud.dataform.v1alpha2." - + "WorkflowInvocationAction\022\027\n\017next_page_to" - + "ken\030\002 \001(\t2\255?\n\010Dataform\022\316\001\n\020ListRepositor" - + "ies\0227.google.cloud.dataform.v1alpha2.Lis" - + "tRepositoriesRequest\0328.google.cloud.data" - + "form.v1alpha2.ListRepositoriesResponse\"G" - + "\202\323\344\223\0028\0226/v1alpha2/{parent=projects/*/loc" - + "ations/*}/repositories\332A\006parent\022\270\001\n\rGetR" - + "epository\0224.google.cloud.dataform.v1alph" - + "a2.GetRepositoryRequest\032*.google.cloud.d" - + "ataform.v1alpha2.Repository\"E\202\323\344\223\0028\0226/v1" - + "alpha2/{name=projects/*/locations/*/repo" - + "sitories/*}\332A\004name\022\345\001\n\020CreateRepository\022" - + "7.google.cloud.dataform.v1alpha2.CreateR" - + "epositoryRequest\032*.google.cloud.dataform" - + ".v1alpha2.Repository\"l\202\323\344\223\002D\"6/v1alpha2/" - + "{parent=projects/*/locations/*}/reposito" - + "ries:\nrepository\332A\037parent,repository,rep" - + "ository_id\022\347\001\n\020UpdateRepository\0227.google" - + ".cloud.dataform.v1alpha2.UpdateRepositor" - + "yRequest\032*.google.cloud.dataform.v1alpha" - + "2.Repository\"n\202\323\344\223\002O2A/v1alpha2/{reposit" - + "ory.name=projects/*/locations/*/reposito" - + "ries/*}:\nrepository\332A\026repository,update_" - + "mask\022\252\001\n\020DeleteRepository\0227.google.cloud" - + ".dataform.v1alpha2.DeleteRepositoryReque" - + "st\032\026.google.protobuf.Empty\"E\202\323\344\223\0028*6/v1a" - + "lpha2/{name=projects/*/locations/*/repos" - + "itories/*}\332A\004name\022\342\001\n\023FetchRemoteBranche" - + "s\022:.google.cloud.dataform.v1alpha2.Fetch" - + "RemoteBranchesRequest\032;.google.cloud.dat" - + "aform.v1alpha2.FetchRemoteBranchesRespon" - + "se\"R\202\323\344\223\002L\022J/v1alpha2/{name=projects/*/l" - + "ocations/*/repositories/*}:fetchRemoteBr" - + "anches\022\325\001\n\016ListWorkspaces\0225.google.cloud" - + ".dataform.v1alpha2.ListWorkspacesRequest" - + "\0326.google.cloud.dataform.v1alpha2.ListWo" - + "rkspacesResponse\"T\202\323\344\223\002E\022C/v1alpha2/{par" - + "ent=projects/*/locations/*/repositories/" - + "*}/workspaces\332A\006parent\022\302\001\n\014GetWorkspace\022" - + "3.google.cloud.dataform.v1alpha2.GetWork" - + "spaceRequest\032).google.cloud.dataform.v1a" - + "lpha2.Workspace\"R\202\323\344\223\002E\022C/v1alpha2/{name" - + "=projects/*/locations/*/repositories/*/w" - + "orkspaces/*}\332A\004name\022\354\001\n\017CreateWorkspace\022" - + "6.google.cloud.dataform.v1alpha2.CreateW" - + "orkspaceRequest\032).google.cloud.dataform." - + "v1alpha2.Workspace\"v\202\323\344\223\002P\"C/v1alpha2/{p" - + "arent=projects/*/locations/*/repositorie" - + "s/*}/workspaces:\tworkspace\332A\035parent,work" - + "space,workspace_id\022\265\001\n\017DeleteWorkspace\0226" - + ".google.cloud.dataform.v1alpha2.DeleteWo" - + "rkspaceRequest\032\026.google.protobuf.Empty\"R" - + "\202\323\344\223\002E*C/v1alpha2/{name=projects/*/locat" - + "ions/*/repositories/*/workspaces/*}\332A\004na" - + "me\022\363\001\n\022InstallNpmPackages\0229.google.cloud" - + ".dataform.v1alpha2.InstallNpmPackagesReq" - + "uest\032:.google.cloud.dataform.v1alpha2.In" - + "stallNpmPackagesResponse\"f\202\323\344\223\002`\"[/v1alp" - + "ha2/{workspace=projects/*/locations/*/re" - + "positories/*/workspaces/*}:installNpmPac" - + "kages:\001*\022\264\001\n\016PullGitCommits\0225.google.clo" - + "ud.dataform.v1alpha2.PullGitCommitsReque" - + "st\032\026.google.protobuf.Empty\"S\202\323\344\223\002M\"H/v1a" - + "lpha2/{name=projects/*/locations/*/repos" - + "itories/*/workspaces/*}:pull:\001*\022\264\001\n\016Push" - + "GitCommits\0225.google.cloud.dataform.v1alp" - + "ha2.PushGitCommitsRequest\032\026.google.proto" - + "buf.Empty\"S\202\323\344\223\002M\"H/v1alpha2/{name=proje" - + "cts/*/locations/*/repositories/*/workspa" - + "ces/*}:push:\001*\022\363\001\n\024FetchFileGitStatuses\022" - + ";.google.cloud.dataform.v1alpha2.FetchFi" - + "leGitStatusesRequest\032<.google.cloud.data" - + "form.v1alpha2.FetchFileGitStatusesRespon" - + "se\"`\202\323\344\223\002Z\022X/v1alpha2/{name=projects/*/l" - + "ocations/*/repositories/*/workspaces/*}:" - + "fetchFileGitStatuses\022\357\001\n\023FetchGitAheadBe" - + "hind\022:.google.cloud.dataform.v1alpha2.Fe" - + "tchGitAheadBehindRequest\032;.google.cloud." - + "dataform.v1alpha2.FetchGitAheadBehindRes", - "ponse\"_\202\323\344\223\002Y\022W/v1alpha2/{name=projects/" - + "*/locations/*/repositories/*/workspaces/" - + "*}:fetchGitAheadBehind\022\306\001\n\026CommitWorkspa" - + "ceChanges\022=.google.cloud.dataform.v1alph" - + "a2.CommitWorkspaceChangesRequest\032\026.googl" - + "e.protobuf.Empty\"U\202\323\344\223\002O\"J/v1alpha2/{nam" - + "e=projects/*/locations/*/repositories/*/" - + "workspaces/*}:commit:\001*\022\303\001\n\025ResetWorkspa" - + "ceChanges\022<.google.cloud.dataform.v1alph" - + "a2.ResetWorkspaceChangesRequest\032\026.google" - + ".protobuf.Empty\"T\202\323\344\223\002N\"I/v1alpha2/{name" - + "=projects/*/locations/*/repositories/*/w" - + "orkspaces/*}:reset:\001*\022\334\001\n\rFetchFileDiff\022" - + "4.google.cloud.dataform.v1alpha2.FetchFi" - + "leDiffRequest\0325.google.cloud.dataform.v1" - + "alpha2.FetchFileDiffResponse\"^\202\323\344\223\002X\022V/v" - + "1alpha2/{workspace=projects/*/locations/" - + "*/repositories/*/workspaces/*}:fetchFile" - + "Diff\022\200\002\n\026QueryDirectoryContents\022=.google" - + ".cloud.dataform.v1alpha2.QueryDirectoryC" - + "ontentsRequest\032>.google.cloud.dataform.v" - + "1alpha2.QueryDirectoryContentsResponse\"g" - + "\202\323\344\223\002a\022_/v1alpha2/{workspace=projects/*/" - + "locations/*/repositories/*/workspaces/*}" - + ":queryDirectoryContents\022\337\001\n\rMakeDirector" - + "y\0224.google.cloud.dataform.v1alpha2.MakeD" - + "irectoryRequest\0325.google.cloud.dataform." - + "v1alpha2.MakeDirectoryResponse\"a\202\323\344\223\002[\"V" - + "/v1alpha2/{workspace=projects/*/location" - + "s/*/repositories/*/workspaces/*}:makeDir" - + "ectory:\001*\022\306\001\n\017RemoveDirectory\0226.google.c" - + "loud.dataform.v1alpha2.RemoveDirectoryRe" - + "quest\032\026.google.protobuf.Empty\"c\202\323\344\223\002]\"X/" - + "v1alpha2/{workspace=projects/*/locations" - + "/*/repositories/*/workspaces/*}:removeDi" - + "rectory:\001*\022\337\001\n\rMoveDirectory\0224.google.cl" - + "oud.dataform.v1alpha2.MoveDirectoryReque" - + "st\0325.google.cloud.dataform.v1alpha2.Move" - + "DirectoryResponse\"a\202\323\344\223\002[\"V/v1alpha2/{wo" - + "rkspace=projects/*/locations/*/repositor" - + "ies/*/workspaces/*}:moveDirectory:\001*\022\310\001\n" - + "\010ReadFile\022/.google.cloud.dataform.v1alph" - + "a2.ReadFileRequest\0320.google.cloud.datafo" - + "rm.v1alpha2.ReadFileResponse\"Y\202\323\344\223\002S\022Q/v" - + "1alpha2/{workspace=projects/*/locations/" - + "*/repositories/*/workspaces/*}:readFile\022" - + "\267\001\n\nRemoveFile\0221.google.cloud.dataform.v" - + "1alpha2.RemoveFileRequest\032\026.google.proto" - + "buf.Empty\"^\202\323\344\223\002X\"S/v1alpha2/{workspace=" - + "projects/*/locations/*/repositories/*/wo" - + "rkspaces/*}:removeFile:\001*\022\313\001\n\010MoveFile\022/" - + ".google.cloud.dataform.v1alpha2.MoveFile" - + "Request\0320.google.cloud.dataform.v1alpha2" - + ".MoveFileResponse\"\\\202\323\344\223\002V\"Q/v1alpha2/{wo" - + "rkspace=projects/*/locations/*/repositor" - + "ies/*/workspaces/*}:moveFile:\001*\022\317\001\n\tWrit" - + "eFile\0220.google.cloud.dataform.v1alpha2.W" - + "riteFileRequest\0321.google.cloud.dataform." - + "v1alpha2.WriteFileResponse\"]\202\323\344\223\002W\"R/v1a" - + "lpha2/{workspace=projects/*/locations/*/" - + "repositories/*/workspaces/*}:writeFile:\001" - + "*\022\365\001\n\026ListCompilationResults\022=.google.cl" - + "oud.dataform.v1alpha2.ListCompilationRes" - + "ultsRequest\032>.google.cloud.dataform.v1al" - + "pha2.ListCompilationResultsResponse\"\\\202\323\344" - + "\223\002M\022K/v1alpha2/{parent=projects/*/locati" - + "ons/*/repositories/*}/compilationResults" - + "\332A\006parent\022\342\001\n\024GetCompilationResult\022;.goo" - + "gle.cloud.dataform.v1alpha2.GetCompilati" - + "onResultRequest\0321.google.cloud.dataform." - + "v1alpha2.CompilationResult\"Z\202\323\344\223\002M\022K/v1a" - + "lpha2/{name=projects/*/locations/*/repos" - + "itories/*/compilationResults/*}\332A\004name\022\222" - + "\002\n\027CreateCompilationResult\022>.google.clou" - + "d.dataform.v1alpha2.CreateCompilationRes" - + "ultRequest\0321.google.cloud.dataform.v1alp" - + "ha2.CompilationResult\"\203\001\202\323\344\223\002a\"K/v1alpha" - + "2/{parent=projects/*/locations/*/reposit" - + "ories/*}/compilationResults:\022compilation" - + "_result\332A\031parent,compilation_result\022\207\002\n\035" - + "QueryCompilationResultActions\022D.google.c" - + "loud.dataform.v1alpha2.QueryCompilationR" - + "esultActionsRequest\032E.google.cloud.dataf" - + "orm.v1alpha2.QueryCompilationResultActio" - + "nsResponse\"Y\202\323\344\223\002S\022Q/v1alpha2/{name=proj" - + "ects/*/locations/*/repositories/*/compil" - + "ationResults/*}:query\022\371\001\n\027ListWorkflowIn" - + "vocations\022>.google.cloud.dataform.v1alph" - + "a2.ListWorkflowInvocationsRequest\032?.goog" - + "le.cloud.dataform.v1alpha2.ListWorkflowI" - + "nvocationsResponse\"]\202\323\344\223\002N\022L/v1alpha2/{p" - + "arent=projects/*/locations/*/repositorie" - + "s/*}/workflowInvocations\332A\006parent\022\346\001\n\025Ge" - + "tWorkflowInvocation\022<.google.cloud.dataf" - + "orm.v1alpha2.GetWorkflowInvocationReques" - + "t\0322.google.cloud.dataform.v1alpha2.Workf" - + "lowInvocation\"[\202\323\344\223\002N\022L/v1alpha2/{name=p" - + "rojects/*/locations/*/repositories/*/wor" - + "kflowInvocations/*}\332A\004name\022\230\002\n\030CreateWor" - + "kflowInvocation\022?.google.cloud.dataform." - + "v1alpha2.CreateWorkflowInvocationRequest" - + "\0322.google.cloud.dataform.v1alpha2.Workfl" - + "owInvocation\"\206\001\202\323\344\223\002c\"L/v1alpha2/{parent" - + "=projects/*/locations/*/repositories/*}/" - + "workflowInvocations:\023workflow_invocation" - + "\332A\032parent,workflow_invocation\022\320\001\n\030Delete" - + "WorkflowInvocation\022?.google.cloud.datafo" - + "rm.v1alpha2.DeleteWorkflowInvocationRequ" - + "est\032\026.google.protobuf.Empty\"[\202\323\344\223\002N*L/v1" - + "alpha2/{name=projects/*/locations/*/repo" - + "sitories/*/workflowInvocations/*}\332A\004name" - + "\022\323\001\n\030CancelWorkflowInvocation\022?.google.c" - + "loud.dataform.v1alpha2.CancelWorkflowInv" - + "ocationRequest\032\026.google.protobuf.Empty\"^" - + "\202\323\344\223\002X\"S/v1alpha2/{name=projects/*/locat" - + "ions/*/repositories/*/workflowInvocation" - + "s/*}:cancel:\001*\022\213\002\n\036QueryWorkflowInvocati" - + "onActions\022E.google.cloud.dataform.v1alph" - + "a2.QueryWorkflowInvocationActionsRequest" - + "\032F.google.cloud.dataform.v1alpha2.QueryW" - + "orkflowInvocationActionsResponse\"Z\202\323\344\223\002T" - + "\022R/v1alpha2/{name=projects/*/locations/*" - + "/repositories/*/workflowInvocations/*}:q" - + "uery\032K\312A\027dataform.googleapis.com\322A.https" - + "://www.googleapis.com/auth/cloud-platfor" - + "mB\312\002\n\"com.google.cloud.dataform.v1alpha2" - + "B\rDataformProtoP\001ZFgoogle.golang.org/gen" - + "proto/googleapis/cloud/dataform/v1alpha2" - + ";dataform\252\002\036Google.Cloud.Dataform.V1Alph" - + "a2\312\002\036Google\\Cloud\\Dataform\\V1alpha2\352\002!Go" - + "ogle::Cloud::Dataform::V1alpha2\352Ad\n*secr" - + "etmanager.googleapis.com/SecretVersion\0226" - + "projects/{project}/secrets/{secret}/vers" - + "ions/{version}b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.type.IntervalProto.getDescriptor(), - }); - internal_static_google_cloud_dataform_v1alpha2_Repository_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_dataform_v1alpha2_Repository_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_Repository_descriptor, - new java.lang.String[] { - "Name", "GitRemoteSettings", - }); - internal_static_google_cloud_dataform_v1alpha2_Repository_GitRemoteSettings_descriptor = - internal_static_google_cloud_dataform_v1alpha2_Repository_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_dataform_v1alpha2_Repository_GitRemoteSettings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_Repository_GitRemoteSettings_descriptor, - new java.lang.String[] { - "Url", "DefaultBranch", "AuthenticationTokenSecretVersion", "TokenStatus", - }); - internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "OrderBy", "Filter", - }); - internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesResponse_descriptor, - new java.lang.String[] { - "Repositories", "NextPageToken", "Unreachable", - }); - internal_static_google_cloud_dataform_v1alpha2_GetRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_dataform_v1alpha2_GetRepositoryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_GetRepositoryRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_dataform_v1alpha2_CreateRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_dataform_v1alpha2_CreateRepositoryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_CreateRepositoryRequest_descriptor, - new java.lang.String[] { - "Parent", "Repository", "RepositoryId", - }); - internal_static_google_cloud_dataform_v1alpha2_UpdateRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_dataform_v1alpha2_UpdateRepositoryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_UpdateRepositoryRequest_descriptor, - new java.lang.String[] { - "UpdateMask", "Repository", - }); - internal_static_google_cloud_dataform_v1alpha2_DeleteRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_dataform_v1alpha2_DeleteRepositoryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_DeleteRepositoryRequest_descriptor, - new java.lang.String[] { - "Name", "Force", - }); - internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesResponse_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesResponse_descriptor, - new java.lang.String[] { - "Branches", - }); - internal_static_google_cloud_dataform_v1alpha2_Workspace_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_dataform_v1alpha2_Workspace_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_Workspace_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "OrderBy", "Filter", - }); - internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesResponse_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesResponse_descriptor, - new java.lang.String[] { - "Workspaces", "NextPageToken", "Unreachable", - }); - internal_static_google_cloud_dataform_v1alpha2_GetWorkspaceRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_dataform_v1alpha2_GetWorkspaceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_GetWorkspaceRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_dataform_v1alpha2_CreateWorkspaceRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_dataform_v1alpha2_CreateWorkspaceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_CreateWorkspaceRequest_descriptor, - new java.lang.String[] { - "Parent", "Workspace", "WorkspaceId", - }); - internal_static_google_cloud_dataform_v1alpha2_DeleteWorkspaceRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_dataform_v1alpha2_DeleteWorkspaceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_DeleteWorkspaceRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_dataform_v1alpha2_CommitAuthor_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_dataform_v1alpha2_CommitAuthor_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_CommitAuthor_descriptor, - new java.lang.String[] { - "Name", "EmailAddress", - }); - internal_static_google_cloud_dataform_v1alpha2_PullGitCommitsRequest_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_dataform_v1alpha2_PullGitCommitsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_PullGitCommitsRequest_descriptor, - new java.lang.String[] { - "Name", "RemoteBranch", "Author", - }); - internal_static_google_cloud_dataform_v1alpha2_PushGitCommitsRequest_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_dataform_v1alpha2_PushGitCommitsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_PushGitCommitsRequest_descriptor, - new java.lang.String[] { - "Name", "RemoteBranch", - }); - internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesRequest_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_descriptor, - new java.lang.String[] { - "UncommittedFileChanges", - }); - internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_UncommittedFileChange_descriptor = - internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_UncommittedFileChange_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_UncommittedFileChange_descriptor, - new java.lang.String[] { - "Path", "State", - }); - internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindRequest_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindRequest_descriptor, - new java.lang.String[] { - "Name", "RemoteBranch", - }); - internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindResponse_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindResponse_descriptor, - new java.lang.String[] { - "CommitsAhead", "CommitsBehind", - }); - internal_static_google_cloud_dataform_v1alpha2_CommitWorkspaceChangesRequest_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_cloud_dataform_v1alpha2_CommitWorkspaceChangesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_CommitWorkspaceChangesRequest_descriptor, - new java.lang.String[] { - "Name", "Author", "CommitMessage", "Paths", - }); - internal_static_google_cloud_dataform_v1alpha2_ResetWorkspaceChangesRequest_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_cloud_dataform_v1alpha2_ResetWorkspaceChangesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_ResetWorkspaceChangesRequest_descriptor, - new java.lang.String[] { - "Name", "Paths", "Clean", - }); - internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffRequest_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffRequest_descriptor, - new java.lang.String[] { - "Workspace", "Path", - }); - internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffResponse_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffResponse_descriptor, - new java.lang.String[] { - "FormattedDiff", - }); - internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsRequest_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsRequest_descriptor, - new java.lang.String[] { - "Workspace", "Path", "PageSize", "PageToken", - }); - internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_descriptor = - getDescriptor().getMessageTypes().get(27); - internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_descriptor, - new java.lang.String[] { - "DirectoryEntries", "NextPageToken", - }); - internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_DirectoryEntry_descriptor = - internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_DirectoryEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_DirectoryEntry_descriptor, - new java.lang.String[] { - "File", "Directory", "Entry", - }); - internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryRequest_descriptor = - getDescriptor().getMessageTypes().get(28); - internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryRequest_descriptor, - new java.lang.String[] { - "Workspace", "Path", - }); - internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryResponse_descriptor = - getDescriptor().getMessageTypes().get(29); - internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryResponse_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_dataform_v1alpha2_RemoveDirectoryRequest_descriptor = - getDescriptor().getMessageTypes().get(30); - internal_static_google_cloud_dataform_v1alpha2_RemoveDirectoryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_RemoveDirectoryRequest_descriptor, - new java.lang.String[] { - "Workspace", "Path", - }); - internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryRequest_descriptor = - getDescriptor().getMessageTypes().get(31); - internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryRequest_descriptor, - new java.lang.String[] { - "Workspace", "Path", "NewPath", - }); - internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryResponse_descriptor = - getDescriptor().getMessageTypes().get(32); - internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryResponse_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_dataform_v1alpha2_ReadFileRequest_descriptor = - getDescriptor().getMessageTypes().get(33); - internal_static_google_cloud_dataform_v1alpha2_ReadFileRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_ReadFileRequest_descriptor, - new java.lang.String[] { - "Workspace", "Path", - }); - internal_static_google_cloud_dataform_v1alpha2_ReadFileResponse_descriptor = - getDescriptor().getMessageTypes().get(34); - internal_static_google_cloud_dataform_v1alpha2_ReadFileResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_ReadFileResponse_descriptor, - new java.lang.String[] { - "FileContents", - }); - internal_static_google_cloud_dataform_v1alpha2_RemoveFileRequest_descriptor = - getDescriptor().getMessageTypes().get(35); - internal_static_google_cloud_dataform_v1alpha2_RemoveFileRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_RemoveFileRequest_descriptor, - new java.lang.String[] { - "Workspace", "Path", - }); - internal_static_google_cloud_dataform_v1alpha2_MoveFileRequest_descriptor = - getDescriptor().getMessageTypes().get(36); - internal_static_google_cloud_dataform_v1alpha2_MoveFileRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_MoveFileRequest_descriptor, - new java.lang.String[] { - "Workspace", "Path", "NewPath", - }); - internal_static_google_cloud_dataform_v1alpha2_MoveFileResponse_descriptor = - getDescriptor().getMessageTypes().get(37); - internal_static_google_cloud_dataform_v1alpha2_MoveFileResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_MoveFileResponse_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_dataform_v1alpha2_WriteFileRequest_descriptor = - getDescriptor().getMessageTypes().get(38); - internal_static_google_cloud_dataform_v1alpha2_WriteFileRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_WriteFileRequest_descriptor, - new java.lang.String[] { - "Workspace", "Path", "Contents", - }); - internal_static_google_cloud_dataform_v1alpha2_WriteFileResponse_descriptor = - getDescriptor().getMessageTypes().get(39); - internal_static_google_cloud_dataform_v1alpha2_WriteFileResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_WriteFileResponse_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesRequest_descriptor = - getDescriptor().getMessageTypes().get(40); - internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesRequest_descriptor, - new java.lang.String[] { - "Workspace", - }); - internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesResponse_descriptor = - getDescriptor().getMessageTypes().get(41); - internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesResponse_descriptor, - new java.lang.String[] {}); - internal_static_google_cloud_dataform_v1alpha2_CompilationResult_descriptor = - getDescriptor().getMessageTypes().get(42); - internal_static_google_cloud_dataform_v1alpha2_CompilationResult_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_CompilationResult_descriptor, - new java.lang.String[] { - "Name", - "GitCommitish", - "Workspace", - "CodeCompilationConfig", - "DataformCoreVersion", - "CompilationErrors", - "Source", - }); - internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_descriptor = - internal_static_google_cloud_dataform_v1alpha2_CompilationResult_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_descriptor, - new java.lang.String[] { - "DefaultDatabase", - "DefaultSchema", - "DefaultLocation", - "AssertionSchema", - "Vars", - "DatabaseSuffix", - "SchemaSuffix", - "TablePrefix", - }); - internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_VarsEntry_descriptor = - internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_VarsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_VarsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CompilationError_descriptor = - internal_static_google_cloud_dataform_v1alpha2_CompilationResult_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CompilationError_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CompilationError_descriptor, - new java.lang.String[] { - "Message", "Stack", "Path", "ActionTarget", - }); - internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsRequest_descriptor = - getDescriptor().getMessageTypes().get(43); - internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsResponse_descriptor = - getDescriptor().getMessageTypes().get(44); - internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsResponse_descriptor, - new java.lang.String[] { - "CompilationResults", "NextPageToken", "Unreachable", - }); - internal_static_google_cloud_dataform_v1alpha2_GetCompilationResultRequest_descriptor = - getDescriptor().getMessageTypes().get(45); - internal_static_google_cloud_dataform_v1alpha2_GetCompilationResultRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_GetCompilationResultRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_dataform_v1alpha2_CreateCompilationResultRequest_descriptor = - getDescriptor().getMessageTypes().get(46); - internal_static_google_cloud_dataform_v1alpha2_CreateCompilationResultRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_CreateCompilationResultRequest_descriptor, - new java.lang.String[] { - "Parent", "CompilationResult", - }); - internal_static_google_cloud_dataform_v1alpha2_Target_descriptor = - getDescriptor().getMessageTypes().get(47); - internal_static_google_cloud_dataform_v1alpha2_Target_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_Target_descriptor, - new java.lang.String[] { - "Database", "Schema", "Name", - }); - internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_descriptor = - getDescriptor().getMessageTypes().get(48); - internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_descriptor, - new java.lang.String[] { - "Description", "Columns", "BigqueryLabels", - }); - internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_ColumnDescriptor_descriptor = - internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_ColumnDescriptor_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_ColumnDescriptor_descriptor, - new java.lang.String[] { - "Path", "Description", "BigqueryPolicyTags", - }); - internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_BigqueryLabelsEntry_descriptor = - internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_BigqueryLabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_BigqueryLabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_descriptor = - getDescriptor().getMessageTypes().get(49); - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_descriptor, - new java.lang.String[] { - "Target", - "CanonicalTarget", - "FilePath", - "Relation", - "Operations", - "Assertion", - "Declaration", - "CompiledObject", - }); - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_descriptor = - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_descriptor, - new java.lang.String[] { - "DependencyTargets", - "Disabled", - "Tags", - "RelationDescriptor", - "RelationType", - "SelectQuery", - "PreOperations", - "PostOperations", - "IncrementalTableConfig", - "PartitionExpression", - "ClusterExpressions", - "PartitionExpirationDays", - "RequirePartitionFilter", - "AdditionalOptions", - }); - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_IncrementalTableConfig_descriptor = - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_IncrementalTableConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_IncrementalTableConfig_descriptor, - new java.lang.String[] { - "IncrementalSelectQuery", - "RefreshDisabled", - "UniqueKeyParts", - "UpdatePartitionFilter", - "IncrementalPreOperations", - "IncrementalPostOperations", - }); - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_AdditionalOptionsEntry_descriptor = - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_AdditionalOptionsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_AdditionalOptionsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Operations_descriptor = - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_descriptor - .getNestedTypes() - .get(1); - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Operations_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Operations_descriptor, - new java.lang.String[] { - "DependencyTargets", "Disabled", "Tags", "RelationDescriptor", "Queries", "HasOutput", - }); - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Assertion_descriptor = - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_descriptor - .getNestedTypes() - .get(2); - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Assertion_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Assertion_descriptor, - new java.lang.String[] { - "DependencyTargets", - "ParentAction", - "Disabled", - "Tags", - "SelectQuery", - "RelationDescriptor", - }); - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Declaration_descriptor = - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_descriptor - .getNestedTypes() - .get(3); - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Declaration_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Declaration_descriptor, - new java.lang.String[] { - "RelationDescriptor", - }); - internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsRequest_descriptor = - getDescriptor().getMessageTypes().get(50); - internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsRequest_descriptor, - new java.lang.String[] { - "Name", "PageSize", "PageToken", "Filter", - }); - internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsResponse_descriptor = - getDescriptor().getMessageTypes().get(51); - internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsResponse_descriptor, - new java.lang.String[] { - "CompilationResultActions", "NextPageToken", - }); - internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_descriptor = - getDescriptor().getMessageTypes().get(52); - internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_descriptor, - new java.lang.String[] { - "Name", "CompilationResult", "InvocationConfig", "State", "InvocationTiming", - }); - internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_InvocationConfig_descriptor = - internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_InvocationConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_InvocationConfig_descriptor, - new java.lang.String[] { - "IncludedTargets", - "IncludedTags", - "TransitiveDependenciesIncluded", - "TransitiveDependentsIncluded", - "FullyRefreshIncrementalTablesEnabled", - }); - internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsRequest_descriptor = - getDescriptor().getMessageTypes().get(53); - internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsResponse_descriptor = - getDescriptor().getMessageTypes().get(54); - internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsResponse_descriptor, - new java.lang.String[] { - "WorkflowInvocations", "NextPageToken", "Unreachable", - }); - internal_static_google_cloud_dataform_v1alpha2_GetWorkflowInvocationRequest_descriptor = - getDescriptor().getMessageTypes().get(55); - internal_static_google_cloud_dataform_v1alpha2_GetWorkflowInvocationRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_GetWorkflowInvocationRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_dataform_v1alpha2_CreateWorkflowInvocationRequest_descriptor = - getDescriptor().getMessageTypes().get(56); - internal_static_google_cloud_dataform_v1alpha2_CreateWorkflowInvocationRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_CreateWorkflowInvocationRequest_descriptor, - new java.lang.String[] { - "Parent", "WorkflowInvocation", - }); - internal_static_google_cloud_dataform_v1alpha2_DeleteWorkflowInvocationRequest_descriptor = - getDescriptor().getMessageTypes().get(57); - internal_static_google_cloud_dataform_v1alpha2_DeleteWorkflowInvocationRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_DeleteWorkflowInvocationRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_dataform_v1alpha2_CancelWorkflowInvocationRequest_descriptor = - getDescriptor().getMessageTypes().get(58); - internal_static_google_cloud_dataform_v1alpha2_CancelWorkflowInvocationRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_CancelWorkflowInvocationRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_descriptor = - getDescriptor().getMessageTypes().get(59); - internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_descriptor, - new java.lang.String[] { - "Target", - "CanonicalTarget", - "State", - "FailureReason", - "InvocationTiming", - "BigqueryAction", - }); - internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_BigQueryAction_descriptor = - internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_descriptor - .getNestedTypes() - .get(0); - internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_BigQueryAction_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_BigQueryAction_descriptor, - new java.lang.String[] { - "SqlScript", - }); - internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsRequest_descriptor = - getDescriptor().getMessageTypes().get(60); - internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsRequest_descriptor, - new java.lang.String[] { - "Name", "PageSize", "PageToken", - }); - internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsResponse_descriptor = - getDescriptor().getMessageTypes().get(61); - internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsResponse_descriptor, - new java.lang.String[] { - "WorkflowInvocationActions", "NextPageToken", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceDefinition); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.type.IntervalProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteRepositoryRequestOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteRepositoryRequestOrBuilder.java deleted file mode 100644 index 0343081..0000000 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteRepositoryRequestOrBuilder.java +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1alpha2/dataform.proto - -package com.google.cloud.dataform.v1alpha2; - -public interface DeleteRepositoryRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.DeleteRepositoryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The repository's name.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The repository's name.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); - - /** - * - * - *
-   * If set to true, any child resources of this repository will also be
-   * deleted. (Otherwise, the request will only succeed if the repository has no
-   * child resources.)
-   * 
- * - * bool force = 2; - * - * @return The force. - */ - boolean getForce(); -} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkflowInvocationRequestOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkflowInvocationRequestOrBuilder.java deleted file mode 100644 index f450f2d..0000000 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkflowInvocationRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1alpha2/dataform.proto - -package com.google.cloud.dataform.v1alpha2; - -public interface DeleteWorkflowInvocationRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The workflow invocation resource's name.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The workflow invocation resource's name.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkspaceRequestOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkspaceRequestOrBuilder.java deleted file mode 100644 index 61492c0..0000000 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkspaceRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1alpha2/dataform.proto - -package com.google.cloud.dataform.v1alpha2; - -public interface DeleteWorkspaceRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The workspace resource's name.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The workspace resource's name.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffRequestOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffRequestOrBuilder.java deleted file mode 100644 index 6be7a91..0000000 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffRequestOrBuilder.java +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1alpha2/dataform.proto - -package com.google.cloud.dataform.v1alpha2; - -public interface FetchFileDiffRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.FetchFileDiffRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The workspace's name.
-   * 
- * - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The workspace. - */ - java.lang.String getWorkspace(); - /** - * - * - *
-   * Required. The workspace's name.
-   * 
- * - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for workspace. - */ - com.google.protobuf.ByteString getWorkspaceBytes(); - - /** - * - * - *
-   * Required. The file's full path including filename, relative to the workspace root.
-   * 
- * - * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The path. - */ - java.lang.String getPath(); - /** - * - * - *
-   * Required. The file's full path including filename, relative to the workspace root.
-   * 
- * - * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for path. - */ - com.google.protobuf.ByteString getPathBytes(); -} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffResponseOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffResponseOrBuilder.java deleted file mode 100644 index 4d5cd39..0000000 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffResponseOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1alpha2/dataform.proto - -package com.google.cloud.dataform.v1alpha2; - -public interface FetchFileDiffResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.FetchFileDiffResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The raw formatted Git diff for the file.
-   * 
- * - * string formatted_diff = 1; - * - * @return The formattedDiff. - */ - java.lang.String getFormattedDiff(); - /** - * - * - *
-   * The raw formatted Git diff for the file.
-   * 
- * - * string formatted_diff = 1; - * - * @return The bytes for formattedDiff. - */ - com.google.protobuf.ByteString getFormattedDiffBytes(); -} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesRequestOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesRequestOrBuilder.java deleted file mode 100644 index c564ef1..0000000 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1alpha2/dataform.proto - -package com.google.cloud.dataform.v1alpha2; - -public interface FetchFileGitStatusesRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The workspace's name.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The workspace's name.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesResponseOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesResponseOrBuilder.java deleted file mode 100644 index c123410..0000000 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesResponseOrBuilder.java +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1alpha2/dataform.proto - -package com.google.cloud.dataform.v1alpha2; - -public interface FetchFileGitStatusesResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * A list of all files which have uncommitted Git changes. There will only be
-   * a single entry for any given file.
-   * 
- * - * - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; - * - */ - java.util.List< - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange> - getUncommittedFileChangesList(); - /** - * - * - *
-   * A list of all files which have uncommitted Git changes. There will only be
-   * a single entry for any given file.
-   * 
- * - * - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; - * - */ - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange - getUncommittedFileChanges(int index); - /** - * - * - *
-   * A list of all files which have uncommitted Git changes. There will only be
-   * a single entry for any given file.
-   * 
- * - * - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; - * - */ - int getUncommittedFileChangesCount(); - /** - * - * - *
-   * A list of all files which have uncommitted Git changes. There will only be
-   * a single entry for any given file.
-   * 
- * - * - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; - * - */ - java.util.List< - ? extends - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse - .UncommittedFileChangeOrBuilder> - getUncommittedFileChangesOrBuilderList(); - /** - * - * - *
-   * A list of all files which have uncommitted Git changes. There will only be
-   * a single entry for any given file.
-   * 
- * - * - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; - * - */ - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChangeOrBuilder - getUncommittedFileChangesOrBuilder(int index); -} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesRequestOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesRequestOrBuilder.java deleted file mode 100644 index 1d59ffa..0000000 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1alpha2/dataform.proto - -package com.google.cloud.dataform.v1alpha2; - -public interface FetchRemoteBranchesRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The repository's name.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The repository's name.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetCompilationResultRequestOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetCompilationResultRequestOrBuilder.java deleted file mode 100644 index 4e1931f..0000000 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetCompilationResultRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1alpha2/dataform.proto - -package com.google.cloud.dataform.v1alpha2; - -public interface GetCompilationResultRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.GetCompilationResultRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The compilation result's name.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The compilation result's name.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetRepositoryRequestOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetRepositoryRequestOrBuilder.java deleted file mode 100644 index d9148ec..0000000 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetRepositoryRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1alpha2/dataform.proto - -package com.google.cloud.dataform.v1alpha2; - -public interface GetRepositoryRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.GetRepositoryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The repository's name.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The repository's name.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkflowInvocationRequestOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkflowInvocationRequestOrBuilder.java deleted file mode 100644 index 269d948..0000000 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkflowInvocationRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1alpha2/dataform.proto - -package com.google.cloud.dataform.v1alpha2; - -public interface GetWorkflowInvocationRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The workflow invocation resource's name.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The workflow invocation resource's name.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkspaceRequestOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkspaceRequestOrBuilder.java deleted file mode 100644 index e9d02dd..0000000 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkspaceRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1alpha2/dataform.proto - -package com.google.cloud.dataform.v1alpha2; - -public interface GetWorkspaceRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.GetWorkspaceRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The workspace's name.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The workspace's name.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesRequestOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesRequestOrBuilder.java deleted file mode 100644 index db62253..0000000 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1alpha2/dataform.proto - -package com.google.cloud.dataform.v1alpha2; - -public interface InstallNpmPackagesRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The workspace's name.
-   * 
- * - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The workspace. - */ - java.lang.String getWorkspace(); - /** - * - * - *
-   * Required. The workspace's name.
-   * 
- * - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for workspace. - */ - com.google.protobuf.ByteString getWorkspaceBytes(); -} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesResponseOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesResponseOrBuilder.java deleted file mode 100644 index 0797c32..0000000 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesResponseOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1alpha2/dataform.proto - -package com.google.cloud.dataform.v1alpha2; - -public interface InstallNpmPackagesResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryResponseOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryResponseOrBuilder.java deleted file mode 100644 index 2738059..0000000 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryResponseOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1alpha2/dataform.proto - -package com.google.cloud.dataform.v1alpha2; - -public interface MakeDirectoryResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.MakeDirectoryResponse) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryResponseOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryResponseOrBuilder.java deleted file mode 100644 index c5c4027..0000000 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryResponseOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1alpha2/dataform.proto - -package com.google.cloud.dataform.v1alpha2; - -public interface MoveDirectoryResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.MoveDirectoryResponse) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileResponseOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileResponseOrBuilder.java deleted file mode 100644 index 8f91a34..0000000 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileResponseOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1alpha2/dataform.proto - -package com.google.cloud.dataform.v1alpha2; - -public interface MoveFileResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.MoveFileResponse) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsResponseOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsResponseOrBuilder.java deleted file mode 100644 index f3eb1dd..0000000 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsResponseOrBuilder.java +++ /dev/null @@ -1,120 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1alpha2/dataform.proto - -package com.google.cloud.dataform.v1alpha2; - -public interface QueryDirectoryContentsResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * List of entries in the directory.
-   * 
- * - * - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; - * - */ - java.util.List - getDirectoryEntriesList(); - /** - * - * - *
-   * List of entries in the directory.
-   * 
- * - * - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; - * - */ - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry - getDirectoryEntries(int index); - /** - * - * - *
-   * List of entries in the directory.
-   * 
- * - * - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; - * - */ - int getDirectoryEntriesCount(); - /** - * - * - *
-   * List of entries in the directory.
-   * 
- * - * - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; - * - */ - java.util.List< - ? extends - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse - .DirectoryEntryOrBuilder> - getDirectoryEntriesOrBuilderList(); - /** - * - * - *
-   * List of entries in the directory.
-   * 
- * - * - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; - * - */ - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntryOrBuilder - getDirectoryEntriesOrBuilder(int index); - - /** - * - * - *
-   * A token, which can be sent as `page_token` to retrieve the next page.
-   * If this field is omitted, there are no subsequent pages.
-   * 
- * - * string next_page_token = 2; - * - * @return The nextPageToken. - */ - java.lang.String getNextPageToken(); - /** - * - * - *
-   * A token, which can be sent as `page_token` to retrieve the next page.
-   * If this field is omitted, there are no subsequent pages.
-   * 
- * - * string next_page_token = 2; - * - * @return The bytes for nextPageToken. - */ - com.google.protobuf.ByteString getNextPageTokenBytes(); -} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileRequestOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileRequestOrBuilder.java deleted file mode 100644 index 6f4bb81..0000000 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileRequestOrBuilder.java +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1alpha2/dataform.proto - -package com.google.cloud.dataform.v1alpha2; - -public interface ReadFileRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.ReadFileRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The workspace's name.
-   * 
- * - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The workspace. - */ - java.lang.String getWorkspace(); - /** - * - * - *
-   * Required. The workspace's name.
-   * 
- * - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for workspace. - */ - com.google.protobuf.ByteString getWorkspaceBytes(); - - /** - * - * - *
-   * Required. The file's full path including filename, relative to the workspace root.
-   * 
- * - * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The path. - */ - java.lang.String getPath(); - /** - * - * - *
-   * Required. The file's full path including filename, relative to the workspace root.
-   * 
- * - * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for path. - */ - com.google.protobuf.ByteString getPathBytes(); -} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileResponseOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileResponseOrBuilder.java deleted file mode 100644 index e16e9ae..0000000 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileResponseOrBuilder.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1alpha2/dataform.proto - -package com.google.cloud.dataform.v1alpha2; - -public interface ReadFileResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.ReadFileResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The file's contents.
-   * 
- * - * bytes file_contents = 1; - * - * @return The fileContents. - */ - com.google.protobuf.ByteString getFileContents(); -} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveFileRequestOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveFileRequestOrBuilder.java deleted file mode 100644 index 1811d3f..0000000 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveFileRequestOrBuilder.java +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1alpha2/dataform.proto - -package com.google.cloud.dataform.v1alpha2; - -public interface RemoveFileRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.RemoveFileRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The workspace's name.
-   * 
- * - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The workspace. - */ - java.lang.String getWorkspace(); - /** - * - * - *
-   * Required. The workspace's name.
-   * 
- * - * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for workspace. - */ - com.google.protobuf.ByteString getWorkspaceBytes(); - - /** - * - * - *
-   * Required. The file's full path including filename, relative to the workspace root.
-   * 
- * - * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The path. - */ - java.lang.String getPath(); - /** - * - * - *
-   * Required. The file's full path including filename, relative to the workspace root.
-   * 
- * - * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * @return The bytes for path. - */ - com.google.protobuf.ByteString getPathBytes(); -} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkspaceOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkspaceOrBuilder.java deleted file mode 100644 index 86f01c0..0000000 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkspaceOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1alpha2/dataform.proto - -package com.google.cloud.dataform.v1alpha2; - -public interface WorkspaceOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.Workspace) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Output only. The workspace's name.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Output only. The workspace's name.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileResponseOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileResponseOrBuilder.java deleted file mode 100644 index 57e29a0..0000000 --- a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileResponseOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1alpha2/dataform.proto - -package com.google.cloud.dataform.v1alpha2; - -public interface WriteFileResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.WriteFileResponse) - com.google.protobuf.MessageOrBuilder {} From 8415ec52e574f9268c87d25633557a11ce536ef8 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Tue, 26 Jul 2022 08:52:12 +0000 Subject: [PATCH 2/4] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- google-cloud-dataform-bom/pom.xml | 10 + google-cloud-dataform/pom.xml | 9 + .../dataform/v1alpha2/DataformClient.java | 162 +- .../dataform/v1alpha2/DataformSettings.java | 37 +- .../dataform/v1alpha2/gapic_metadata.json | 0 .../cloud/dataform/v1alpha2/package-info.java | 0 .../dataform/v1alpha2/stub/DataformStub.java | 0 .../v1alpha2/stub/DataformStubSettings.java | 132 +- .../stub/GrpcDataformCallableFactory.java | 0 .../v1alpha2/stub/GrpcDataformStub.java | 1 - .../stub/HttpJsonDataformCallableFactory.java | 0 .../v1alpha2/stub/HttpJsonDataformStub.java | 0 .../dataform/v1beta1/DataformClient.java | 162 +- .../dataform/v1beta1/DataformSettings.java | 37 +- .../dataform/v1beta1/gapic_metadata.json | 0 .../cloud/dataform/v1beta1/package-info.java | 0 .../dataform/v1beta1/stub/DataformStub.java | 0 .../v1beta1/stub/DataformStubSettings.java | 132 +- .../stub/GrpcDataformCallableFactory.java | 0 .../v1beta1/stub/GrpcDataformStub.java | 1 - .../stub/HttpJsonDataformCallableFactory.java | 0 .../v1beta1/stub/HttpJsonDataformStub.java | 0 .../v1alpha2/DataformClientHttpJsonTest.java | 0 .../dataform/v1alpha2/DataformClientTest.java | 0 .../cloud/dataform/v1alpha2/MockDataform.java | 0 .../dataform/v1alpha2/MockDataformImpl.java | 0 .../dataform/v1alpha2/MockIAMPolicy.java | 0 .../dataform/v1alpha2/MockIAMPolicyImpl.java | 0 .../dataform/v1alpha2/MockLocations.java | 0 .../dataform/v1alpha2/MockLocationsImpl.java | 0 .../v1beta1/DataformClientHttpJsonTest.java | 0 .../dataform/v1beta1/DataformClientTest.java | 0 .../cloud/dataform/v1beta1/MockDataform.java | 0 .../dataform/v1beta1/MockDataformImpl.java | 0 .../cloud/dataform/v1beta1/MockIAMPolicy.java | 0 .../dataform/v1beta1/MockIAMPolicyImpl.java | 0 .../cloud/dataform/v1beta1/MockLocations.java | 0 .../dataform/v1beta1/MockLocationsImpl.java | 0 .../cloud/dataform/v1alpha2/DataformGrpc.java | 4569 ++++++++++++ grpc-google-cloud-dataform-v1beta1/pom.xml | 69 + .../cloud/dataform/v1beta1/DataformGrpc.java | 4558 ++++++++++++ .../cloud/dataform/v1alpha2/DataformGrpc.java | 3322 --------- ...celWorkflowInvocationRequestOrBuilder.java | 29 - ...eateCompilationResultRequestOrBuilder.java | 58 - ...ateWorkflowInvocationRequestOrBuilder.java | 56 - .../dataform/v1alpha2/DataformProto.java | 1452 ---- .../DeleteRepositoryRequestOrBuilder.java | 41 - ...eteWorkflowInvocationRequestOrBuilder.java | 29 - .../DeleteWorkspaceRequestOrBuilder.java | 29 - .../FetchFileDiffRequestOrBuilder.java | 49 - .../FetchFileDiffResponseOrBuilder.java | 29 - .../FetchFileGitStatusesRequestOrBuilder.java | 29 - ...FetchFileGitStatusesResponseOrBuilder.java | 58 - .../FetchRemoteBranchesRequestOrBuilder.java | 29 - .../GetCompilationResultRequestOrBuilder.java | 29 - .../GetRepositoryRequestOrBuilder.java | 29 - ...GetWorkflowInvocationRequestOrBuilder.java | 29 - .../GetWorkspaceRequestOrBuilder.java | 29 - .../InstallNpmPackagesRequestOrBuilder.java | 29 - .../InstallNpmPackagesResponseOrBuilder.java | 9 - .../MakeDirectoryResponseOrBuilder.java | 9 - .../MoveDirectoryResponseOrBuilder.java | 9 - .../v1alpha2/MoveFileResponseOrBuilder.java | 9 - ...eryDirectoryContentsResponseOrBuilder.java | 75 - .../v1alpha2/ReadFileRequestOrBuilder.java | 49 - .../v1alpha2/ReadFileResponseOrBuilder.java | 19 - .../v1alpha2/RemoveFileRequestOrBuilder.java | 49 - .../dataform/v1alpha2/WorkspaceOrBuilder.java | 29 - .../v1alpha2/WriteFileResponseOrBuilder.java | 9 - .../cloud/dataform/v1beta1/DataformGrpc.java | 3322 --------- ...celWorkflowInvocationRequestOrBuilder.java | 29 - ...eateCompilationResultRequestOrBuilder.java | 58 - ...ateWorkflowInvocationRequestOrBuilder.java | 58 - .../cloud/dataform/v1beta1/DataformProto.java | 1448 ---- .../DeleteRepositoryRequestOrBuilder.java | 41 - ...eteWorkflowInvocationRequestOrBuilder.java | 29 - .../DeleteWorkspaceRequestOrBuilder.java | 29 - .../FetchFileDiffRequestOrBuilder.java | 49 - .../FetchFileDiffResponseOrBuilder.java | 29 - .../FetchFileGitStatusesRequestOrBuilder.java | 29 - ...FetchFileGitStatusesResponseOrBuilder.java | 58 - .../FetchRemoteBranchesRequestOrBuilder.java | 29 - .../GetCompilationResultRequestOrBuilder.java | 29 - .../GetRepositoryRequestOrBuilder.java | 29 - ...GetWorkflowInvocationRequestOrBuilder.java | 29 - .../v1beta1/GetWorkspaceRequestOrBuilder.java | 29 - .../InstallNpmPackagesRequestOrBuilder.java | 29 - .../InstallNpmPackagesResponseOrBuilder.java | 9 - .../MakeDirectoryResponseOrBuilder.java | 9 - .../MoveDirectoryResponseOrBuilder.java | 9 - .../v1beta1/MoveFileResponseOrBuilder.java | 9 - ...eryDirectoryContentsResponseOrBuilder.java | 75 - .../v1beta1/ReadFileRequestOrBuilder.java | 49 - .../v1beta1/ReadFileResponseOrBuilder.java | 19 - .../v1beta1/RemoveFileRequestOrBuilder.java | 49 - .../dataform/v1beta1/WorkspaceOrBuilder.java | 29 - .../v1beta1/WriteFileResponseOrBuilder.java | 9 - pom.xml | 12 + .../CancelWorkflowInvocationRequest.java | 378 +- ...celWorkflowInvocationRequestOrBuilder.java | 54 + .../cloud/dataform/v1alpha2/CommitAuthor.java | 383 +- .../v1alpha2/CommitAuthorOrBuilder.java | 36 +- .../CommitWorkspaceChangesRequest.java | 699 +- ...ommitWorkspaceChangesRequestOrBuilder.java | 82 +- .../dataform/v1alpha2/CompilationResult.java | 3043 +++++--- .../v1alpha2/CompilationResultAction.java | 6485 +++++++++++------ .../CompilationResultActionOrBuilder.java | 99 +- .../v1alpha2/CompilationResultName.java | 0 .../v1alpha2/CompilationResultOrBuilder.java | 140 +- .../CreateCompilationResultRequest.java | 536 +- ...eateCompilationResultRequestOrBuilder.java | 97 + .../v1alpha2/CreateRepositoryRequest.java | 567 +- .../CreateRepositoryRequestOrBuilder.java | 64 +- .../CreateWorkflowInvocationRequest.java | 540 +- ...ateWorkflowInvocationRequestOrBuilder.java | 95 + .../v1alpha2/CreateWorkspaceRequest.java | 567 +- .../CreateWorkspaceRequestOrBuilder.java | 64 +- .../dataform/v1alpha2/DataformProto.java | 1618 ++++ .../v1alpha2/DeleteRepositoryRequest.java | 379 +- .../DeleteRepositoryRequestOrBuilder.java | 69 + .../DeleteWorkflowInvocationRequest.java | 378 +- ...eteWorkflowInvocationRequestOrBuilder.java | 54 + .../v1alpha2/DeleteWorkspaceRequest.java | 342 +- .../DeleteWorkspaceRequestOrBuilder.java | 54 + .../v1alpha2/FetchFileDiffRequest.java | 421 +- .../FetchFileDiffRequestOrBuilder.java | 79 + .../v1alpha2/FetchFileDiffResponse.java | 314 +- .../FetchFileDiffResponseOrBuilder.java | 50 + .../v1alpha2/FetchFileGitStatusesRequest.java | 360 +- .../FetchFileGitStatusesRequestOrBuilder.java | 54 + .../FetchFileGitStatusesResponse.java | 1243 ++-- ...FetchFileGitStatusesResponseOrBuilder.java | 99 + .../v1alpha2/FetchGitAheadBehindRequest.java | 429 +- .../FetchGitAheadBehindRequestOrBuilder.java | 44 +- .../v1alpha2/FetchGitAheadBehindResponse.java | 324 +- .../FetchGitAheadBehindResponseOrBuilder.java | 24 +- .../v1alpha2/FetchRemoteBranchesRequest.java | 350 +- .../FetchRemoteBranchesRequestOrBuilder.java | 54 + .../v1alpha2/FetchRemoteBranchesResponse.java | 364 +- .../FetchRemoteBranchesResponseOrBuilder.java | 36 +- .../v1alpha2/GetCompilationResultRequest.java | 360 +- .../GetCompilationResultRequestOrBuilder.java | 54 + .../v1alpha2/GetRepositoryRequest.java | 342 +- .../GetRepositoryRequestOrBuilder.java | 54 + .../GetWorkflowInvocationRequest.java | 363 +- ...GetWorkflowInvocationRequestOrBuilder.java | 54 + .../v1alpha2/GetWorkspaceRequest.java | 342 +- .../GetWorkspaceRequestOrBuilder.java | 54 + .../v1alpha2/InstallNpmPackagesRequest.java | 349 +- .../InstallNpmPackagesRequestOrBuilder.java | 54 + .../v1alpha2/InstallNpmPackagesResponse.java | 246 +- .../InstallNpmPackagesResponseOrBuilder.java | 24 + .../ListCompilationResultsRequest.java | 476 +- ...istCompilationResultsRequestOrBuilder.java | 47 +- .../ListCompilationResultsResponse.java | 686 +- ...stCompilationResultsResponseOrBuilder.java | 75 +- .../v1alpha2/ListRepositoriesRequest.java | 615 +- .../ListRepositoriesRequestOrBuilder.java | 65 +- .../v1alpha2/ListRepositoriesResponse.java | 568 +- .../ListRepositoriesResponseOrBuilder.java | 63 +- .../ListWorkflowInvocationsRequest.java | 487 +- ...stWorkflowInvocationsRequestOrBuilder.java | 47 +- .../ListWorkflowInvocationsResponse.java | 697 +- ...tWorkflowInvocationsResponseOrBuilder.java | 74 +- .../v1alpha2/ListWorkspacesRequest.java | 615 +- .../ListWorkspacesRequestOrBuilder.java | 65 +- .../v1alpha2/ListWorkspacesResponse.java | 574 +- .../ListWorkspacesResponseOrBuilder.java | 63 +- .../cloud/dataform/v1alpha2/LocationName.java | 0 .../v1alpha2/MakeDirectoryRequest.java | 421 +- .../MakeDirectoryRequestOrBuilder.java | 44 +- .../v1alpha2/MakeDirectoryResponse.java | 238 +- .../MakeDirectoryResponseOrBuilder.java | 24 + .../v1alpha2/MoveDirectoryRequest.java | 500 +- .../MoveDirectoryRequestOrBuilder.java | 53 +- .../v1alpha2/MoveDirectoryResponse.java | 238 +- .../MoveDirectoryResponseOrBuilder.java | 24 + .../dataform/v1alpha2/MoveFileRequest.java | 497 +- .../v1alpha2/MoveFileRequestOrBuilder.java | 53 +- .../dataform/v1alpha2/MoveFileResponse.java | 235 +- .../v1alpha2/MoveFileResponseOrBuilder.java | 24 + .../v1alpha2/PullGitCommitsRequest.java | 567 +- .../PullGitCommitsRequestOrBuilder.java | 64 +- .../v1alpha2/PushGitCommitsRequest.java | 421 +- .../PushGitCommitsRequestOrBuilder.java | 44 +- .../QueryCompilationResultActionsRequest.java | 583 +- ...pilationResultActionsRequestOrBuilder.java | 56 +- ...QueryCompilationResultActionsResponse.java | 648 +- ...ilationResultActionsResponseOrBuilder.java | 65 +- .../QueryDirectoryContentsRequest.java | 557 +- ...ueryDirectoryContentsRequestOrBuilder.java | 56 +- .../QueryDirectoryContentsResponse.java | 1249 ++-- ...eryDirectoryContentsResponseOrBuilder.java | 120 + ...QueryWorkflowInvocationActionsRequest.java | 505 +- ...flowInvocationActionsRequestOrBuilder.java | 47 +- ...ueryWorkflowInvocationActionsResponse.java | 655 +- ...lowInvocationActionsResponseOrBuilder.java | 68 +- .../dataform/v1alpha2/ReadFileRequest.java | 418 +- .../v1alpha2/ReadFileRequestOrBuilder.java | 79 + .../dataform/v1alpha2/ReadFileResponse.java | 268 +- .../v1alpha2/ReadFileResponseOrBuilder.java | 38 + .../dataform/v1alpha2/RelationDescriptor.java | 1470 ++-- .../v1alpha2/RelationDescriptorOrBuilder.java | 92 +- .../v1alpha2/RemoveDirectoryRequest.java | 421 +- .../RemoveDirectoryRequestOrBuilder.java | 44 +- .../dataform/v1alpha2/RemoveFileRequest.java | 418 +- .../v1alpha2/RemoveFileRequestOrBuilder.java | 79 + .../cloud/dataform/v1alpha2/Repository.java | 1222 ++-- .../dataform/v1alpha2/RepositoryName.java | 0 .../v1alpha2/RepositoryOrBuilder.java | 50 +- .../ResetWorkspaceChangesRequest.java | 511 +- ...ResetWorkspaceChangesRequestOrBuilder.java | 56 +- .../cloud/dataform/v1alpha2/Target.java | 459 +- .../dataform/v1alpha2/TargetOrBuilder.java | 45 +- .../v1alpha2/UpdateRepositoryRequest.java | 516 +- .../UpdateRepositoryRequestOrBuilder.java | 55 +- .../dataform/v1alpha2/WorkflowInvocation.java | 1769 +++-- .../v1alpha2/WorkflowInvocationAction.java | 1544 ++-- .../WorkflowInvocationActionOrBuilder.java | 121 +- .../v1alpha2/WorkflowInvocationName.java | 0 .../v1alpha2/WorkflowInvocationOrBuilder.java | 98 +- .../cloud/dataform/v1alpha2/Workspace.java | 301 +- .../dataform/v1alpha2/WorkspaceName.java | 0 .../dataform/v1alpha2/WorkspaceOrBuilder.java | 50 + .../dataform/v1alpha2/WriteFileRequest.java | 454 +- .../v1alpha2/WriteFileRequestOrBuilder.java | 47 +- .../dataform/v1alpha2/WriteFileResponse.java | 235 +- .../v1alpha2/WriteFileResponseOrBuilder.java | 24 + .../cloud/dataform/v1alpha2/dataform.proto | 0 .../clirr-ignored-differences.xml | 19 + proto-google-cloud-dataform-v1beta1/pom.xml | 46 + .../CancelWorkflowInvocationRequest.java | 374 +- ...celWorkflowInvocationRequestOrBuilder.java | 54 + .../cloud/dataform/v1beta1/CommitAuthor.java | 380 +- .../v1beta1/CommitAuthorOrBuilder.java | 36 +- .../CommitWorkspaceChangesRequest.java | 699 +- ...ommitWorkspaceChangesRequestOrBuilder.java | 82 +- .../dataform/v1beta1/CompilationResult.java | 3033 +++++--- .../v1beta1/CompilationResultAction.java | 6453 ++++++++++------ .../CompilationResultActionOrBuilder.java | 99 +- .../v1beta1/CompilationResultName.java | 0 .../v1beta1/CompilationResultOrBuilder.java | 140 +- .../CreateCompilationResultRequest.java | 525 +- ...eateCompilationResultRequestOrBuilder.java | 97 + .../v1beta1/CreateRepositoryRequest.java | 567 +- .../CreateRepositoryRequestOrBuilder.java | 64 +- .../CreateWorkflowInvocationRequest.java | 536 +- ...ateWorkflowInvocationRequestOrBuilder.java | 97 + .../v1beta1/CreateWorkspaceRequest.java | 567 +- .../CreateWorkspaceRequestOrBuilder.java | 64 +- .../cloud/dataform/v1beta1/DataformProto.java | 1612 ++++ .../v1beta1/DeleteRepositoryRequest.java | 379 +- .../DeleteRepositoryRequestOrBuilder.java | 69 + .../DeleteWorkflowInvocationRequest.java | 374 +- ...eteWorkflowInvocationRequestOrBuilder.java | 54 + .../v1beta1/DeleteWorkspaceRequest.java | 342 +- .../DeleteWorkspaceRequestOrBuilder.java | 54 + .../v1beta1/FetchFileDiffRequest.java | 421 +- .../FetchFileDiffRequestOrBuilder.java | 79 + .../v1beta1/FetchFileDiffResponse.java | 314 +- .../FetchFileDiffResponseOrBuilder.java | 50 + .../v1beta1/FetchFileGitStatusesRequest.java | 350 +- .../FetchFileGitStatusesRequestOrBuilder.java | 54 + .../v1beta1/FetchFileGitStatusesResponse.java | 1234 ++-- ...FetchFileGitStatusesResponseOrBuilder.java | 99 + .../v1beta1/FetchGitAheadBehindRequest.java | 428 +- .../FetchGitAheadBehindRequestOrBuilder.java | 44 +- .../v1beta1/FetchGitAheadBehindResponse.java | 314 +- .../FetchGitAheadBehindResponseOrBuilder.java | 24 +- .../v1beta1/FetchRemoteBranchesRequest.java | 349 +- .../FetchRemoteBranchesRequestOrBuilder.java | 54 + .../v1beta1/FetchRemoteBranchesResponse.java | 354 +- .../FetchRemoteBranchesResponseOrBuilder.java | 36 +- .../v1beta1/GetCompilationResultRequest.java | 350 +- .../GetCompilationResultRequestOrBuilder.java | 54 + .../v1beta1/GetRepositoryRequest.java | 342 +- .../GetRepositoryRequestOrBuilder.java | 54 + .../v1beta1/GetWorkflowInvocationRequest.java | 360 +- ...GetWorkflowInvocationRequestOrBuilder.java | 54 + .../dataform/v1beta1/GetWorkspaceRequest.java | 342 +- .../v1beta1/GetWorkspaceRequestOrBuilder.java | 54 + .../v1beta1/InstallNpmPackagesRequest.java | 342 +- .../InstallNpmPackagesRequestOrBuilder.java | 54 + .../v1beta1/InstallNpmPackagesResponse.java | 245 +- .../InstallNpmPackagesResponseOrBuilder.java | 24 + .../ListCompilationResultsRequest.java | 476 +- ...istCompilationResultsRequestOrBuilder.java | 47 +- .../ListCompilationResultsResponse.java | 655 +- ...stCompilationResultsResponseOrBuilder.java | 60 +- .../v1beta1/ListRepositoriesRequest.java | 615 +- .../ListRepositoriesRequestOrBuilder.java | 65 +- .../v1beta1/ListRepositoriesResponse.java | 571 +- .../ListRepositoriesResponseOrBuilder.java | 63 +- .../ListWorkflowInvocationsRequest.java | 479 +- ...stWorkflowInvocationsRequestOrBuilder.java | 47 +- .../ListWorkflowInvocationsResponse.java | 686 +- ...tWorkflowInvocationsResponseOrBuilder.java | 75 +- .../v1beta1/ListWorkspacesRequest.java | 615 +- .../ListWorkspacesRequestOrBuilder.java | 65 +- .../v1beta1/ListWorkspacesResponse.java | 574 +- .../ListWorkspacesResponseOrBuilder.java | 63 +- .../cloud/dataform/v1beta1/LocationName.java | 0 .../v1beta1/MakeDirectoryRequest.java | 421 +- .../MakeDirectoryRequestOrBuilder.java | 44 +- .../v1beta1/MakeDirectoryResponse.java | 238 +- .../MakeDirectoryResponseOrBuilder.java | 24 + .../v1beta1/MoveDirectoryRequest.java | 500 +- .../MoveDirectoryRequestOrBuilder.java | 53 +- .../v1beta1/MoveDirectoryResponse.java | 238 +- .../MoveDirectoryResponseOrBuilder.java | 24 + .../dataform/v1beta1/MoveFileRequest.java | 497 +- .../v1beta1/MoveFileRequestOrBuilder.java | 53 +- .../dataform/v1beta1/MoveFileResponse.java | 235 +- .../v1beta1/MoveFileResponseOrBuilder.java | 24 + .../v1beta1/PullGitCommitsRequest.java | 567 +- .../PullGitCommitsRequestOrBuilder.java | 64 +- .../v1beta1/PushGitCommitsRequest.java | 421 +- .../PushGitCommitsRequestOrBuilder.java | 44 +- .../QueryCompilationResultActionsRequest.java | 576 +- ...pilationResultActionsRequestOrBuilder.java | 56 +- ...QueryCompilationResultActionsResponse.java | 645 +- ...ilationResultActionsResponseOrBuilder.java | 65 +- .../QueryDirectoryContentsRequest.java | 557 +- ...ueryDirectoryContentsRequestOrBuilder.java | 56 +- .../QueryDirectoryContentsResponse.java | 1234 ++-- ...eryDirectoryContentsResponseOrBuilder.java | 120 + ...QueryWorkflowInvocationActionsRequest.java | 502 +- ...flowInvocationActionsRequestOrBuilder.java | 47 +- ...ueryWorkflowInvocationActionsResponse.java | 648 +- ...lowInvocationActionsResponseOrBuilder.java | 68 +- .../dataform/v1beta1/ReadFileRequest.java | 418 +- .../v1beta1/ReadFileRequestOrBuilder.java | 79 + .../dataform/v1beta1/ReadFileResponse.java | 268 +- .../v1beta1/ReadFileResponseOrBuilder.java | 38 + .../dataform/v1beta1/RelationDescriptor.java | 1464 ++-- .../v1beta1/RelationDescriptorOrBuilder.java | 92 +- .../v1beta1/RemoveDirectoryRequest.java | 421 +- .../RemoveDirectoryRequestOrBuilder.java | 44 +- .../dataform/v1beta1/RemoveFileRequest.java | 418 +- .../v1beta1/RemoveFileRequestOrBuilder.java | 79 + .../cloud/dataform/v1beta1/Repository.java | 1214 +-- .../dataform/v1beta1/RepositoryName.java | 0 .../dataform/v1beta1/RepositoryOrBuilder.java | 50 +- .../v1beta1/ResetWorkspaceChangesRequest.java | 508 +- ...ResetWorkspaceChangesRequestOrBuilder.java | 56 +- .../google/cloud/dataform/v1beta1/Target.java | 456 +- .../dataform/v1beta1/TargetOrBuilder.java | 45 +- .../v1beta1/UpdateRepositoryRequest.java | 516 +- .../UpdateRepositoryRequestOrBuilder.java | 55 +- .../dataform/v1beta1/WorkflowInvocation.java | 1771 +++-- .../v1beta1/WorkflowInvocationAction.java | 1540 ++-- .../WorkflowInvocationActionOrBuilder.java | 121 +- .../v1beta1/WorkflowInvocationName.java | 0 .../v1beta1/WorkflowInvocationOrBuilder.java | 98 +- .../cloud/dataform/v1beta1/Workspace.java | 301 +- .../cloud/dataform/v1beta1/WorkspaceName.java | 0 .../dataform/v1beta1/WorkspaceOrBuilder.java | 50 + .../dataform/v1beta1/WriteFileRequest.java | 454 +- .../v1beta1/WriteFileRequestOrBuilder.java | 47 +- .../dataform/v1beta1/WriteFileResponse.java | 235 +- .../v1beta1/WriteFileResponseOrBuilder.java | 24 + .../cloud/dataform/v1beta1/dataform.proto | 0 versions.txt | 2 + 363 files changed, 71596 insertions(+), 44392 deletions(-) rename {owl-bot-staging/v1alpha2/google-cloud-dataform => google-cloud-dataform}/src/main/java/com/google/cloud/dataform/v1alpha2/DataformClient.java (97%) rename {owl-bot-staging/v1alpha2/google-cloud-dataform => google-cloud-dataform}/src/main/java/com/google/cloud/dataform/v1alpha2/DataformSettings.java (96%) rename {owl-bot-staging/v1alpha2/google-cloud-dataform => google-cloud-dataform}/src/main/java/com/google/cloud/dataform/v1alpha2/gapic_metadata.json (100%) rename {owl-bot-staging/v1alpha2/google-cloud-dataform => google-cloud-dataform}/src/main/java/com/google/cloud/dataform/v1alpha2/package-info.java (100%) rename {owl-bot-staging/v1alpha2/google-cloud-dataform => google-cloud-dataform}/src/main/java/com/google/cloud/dataform/v1alpha2/stub/DataformStub.java (100%) rename {owl-bot-staging/v1alpha2/google-cloud-dataform => google-cloud-dataform}/src/main/java/com/google/cloud/dataform/v1alpha2/stub/DataformStubSettings.java (95%) rename {owl-bot-staging/v1alpha2/google-cloud-dataform => google-cloud-dataform}/src/main/java/com/google/cloud/dataform/v1alpha2/stub/GrpcDataformCallableFactory.java (100%) rename {owl-bot-staging/v1alpha2/google-cloud-dataform => google-cloud-dataform}/src/main/java/com/google/cloud/dataform/v1alpha2/stub/GrpcDataformStub.java (99%) rename {owl-bot-staging/v1alpha2/google-cloud-dataform => google-cloud-dataform}/src/main/java/com/google/cloud/dataform/v1alpha2/stub/HttpJsonDataformCallableFactory.java (100%) rename {owl-bot-staging/v1alpha2/google-cloud-dataform => google-cloud-dataform}/src/main/java/com/google/cloud/dataform/v1alpha2/stub/HttpJsonDataformStub.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-dataform => google-cloud-dataform}/src/main/java/com/google/cloud/dataform/v1beta1/DataformClient.java (97%) rename {owl-bot-staging/v1beta1/google-cloud-dataform => google-cloud-dataform}/src/main/java/com/google/cloud/dataform/v1beta1/DataformSettings.java (96%) rename {owl-bot-staging/v1beta1/google-cloud-dataform => google-cloud-dataform}/src/main/java/com/google/cloud/dataform/v1beta1/gapic_metadata.json (100%) rename {owl-bot-staging/v1beta1/google-cloud-dataform => google-cloud-dataform}/src/main/java/com/google/cloud/dataform/v1beta1/package-info.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-dataform => google-cloud-dataform}/src/main/java/com/google/cloud/dataform/v1beta1/stub/DataformStub.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-dataform => google-cloud-dataform}/src/main/java/com/google/cloud/dataform/v1beta1/stub/DataformStubSettings.java (95%) rename {owl-bot-staging/v1beta1/google-cloud-dataform => google-cloud-dataform}/src/main/java/com/google/cloud/dataform/v1beta1/stub/GrpcDataformCallableFactory.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-dataform => google-cloud-dataform}/src/main/java/com/google/cloud/dataform/v1beta1/stub/GrpcDataformStub.java (99%) rename {owl-bot-staging/v1beta1/google-cloud-dataform => google-cloud-dataform}/src/main/java/com/google/cloud/dataform/v1beta1/stub/HttpJsonDataformCallableFactory.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-dataform => google-cloud-dataform}/src/main/java/com/google/cloud/dataform/v1beta1/stub/HttpJsonDataformStub.java (100%) rename {owl-bot-staging/v1alpha2/google-cloud-dataform => google-cloud-dataform}/src/test/java/com/google/cloud/dataform/v1alpha2/DataformClientHttpJsonTest.java (100%) rename {owl-bot-staging/v1alpha2/google-cloud-dataform => google-cloud-dataform}/src/test/java/com/google/cloud/dataform/v1alpha2/DataformClientTest.java (100%) rename {owl-bot-staging/v1alpha2/google-cloud-dataform => google-cloud-dataform}/src/test/java/com/google/cloud/dataform/v1alpha2/MockDataform.java (100%) rename {owl-bot-staging/v1alpha2/google-cloud-dataform => google-cloud-dataform}/src/test/java/com/google/cloud/dataform/v1alpha2/MockDataformImpl.java (100%) rename {owl-bot-staging/v1alpha2/google-cloud-dataform => google-cloud-dataform}/src/test/java/com/google/cloud/dataform/v1alpha2/MockIAMPolicy.java (100%) rename {owl-bot-staging/v1alpha2/google-cloud-dataform => google-cloud-dataform}/src/test/java/com/google/cloud/dataform/v1alpha2/MockIAMPolicyImpl.java (100%) rename {owl-bot-staging/v1alpha2/google-cloud-dataform => google-cloud-dataform}/src/test/java/com/google/cloud/dataform/v1alpha2/MockLocations.java (100%) rename {owl-bot-staging/v1alpha2/google-cloud-dataform => google-cloud-dataform}/src/test/java/com/google/cloud/dataform/v1alpha2/MockLocationsImpl.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-dataform => google-cloud-dataform}/src/test/java/com/google/cloud/dataform/v1beta1/DataformClientHttpJsonTest.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-dataform => google-cloud-dataform}/src/test/java/com/google/cloud/dataform/v1beta1/DataformClientTest.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-dataform => google-cloud-dataform}/src/test/java/com/google/cloud/dataform/v1beta1/MockDataform.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-dataform => google-cloud-dataform}/src/test/java/com/google/cloud/dataform/v1beta1/MockDataformImpl.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-dataform => google-cloud-dataform}/src/test/java/com/google/cloud/dataform/v1beta1/MockIAMPolicy.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-dataform => google-cloud-dataform}/src/test/java/com/google/cloud/dataform/v1beta1/MockIAMPolicyImpl.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-dataform => google-cloud-dataform}/src/test/java/com/google/cloud/dataform/v1beta1/MockLocations.java (100%) rename {owl-bot-staging/v1beta1/google-cloud-dataform => google-cloud-dataform}/src/test/java/com/google/cloud/dataform/v1beta1/MockLocationsImpl.java (100%) create mode 100644 grpc-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DataformGrpc.java create mode 100644 grpc-google-cloud-dataform-v1beta1/pom.xml create mode 100644 grpc-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DataformGrpc.java delete mode 100644 owl-bot-staging/v1alpha2/grpc-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DataformGrpc.java delete mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CancelWorkflowInvocationRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateCompilationResultRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkflowInvocationRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DataformProto.java delete mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteRepositoryRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkflowInvocationRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkspaceRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetCompilationResultRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetRepositoryRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkflowInvocationRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkspaceRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveFileRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkspaceOrBuilder.java delete mode 100644 owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1beta1/grpc-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DataformGrpc.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CancelWorkflowInvocationRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateCompilationResultRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateWorkflowInvocationRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DataformProto.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteRepositoryRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteWorkflowInvocationRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteWorkspaceRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileDiffRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileDiffResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileGitStatusesRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileGitStatusesResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchRemoteBranchesRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetCompilationResultRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetRepositoryRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetWorkflowInvocationRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetWorkspaceRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/InstallNpmPackagesRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/InstallNpmPackagesResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MakeDirectoryResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveDirectoryResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveFileResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryDirectoryContentsResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ReadFileRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ReadFileResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RemoveFileRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkspaceOrBuilder.java delete mode 100644 owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WriteFileResponseOrBuilder.java rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/CancelWorkflowInvocationRequest.java (60%) create mode 100644 proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CancelWorkflowInvocationRequestOrBuilder.java rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/CommitAuthor.java (70%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/CommitAuthorOrBuilder.java (59%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/CommitWorkspaceChangesRequest.java (66%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/CommitWorkspaceChangesRequestOrBuilder.java (62%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResult.java (68%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResultAction.java (72%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResultActionOrBuilder.java (81%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResultName.java (100%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResultOrBuilder.java (61%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/CreateCompilationResultRequest.java (59%) create mode 100644 proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateCompilationResultRequestOrBuilder.java rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/CreateRepositoryRequest.java (65%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/CreateRepositoryRequestOrBuilder.java (54%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkflowInvocationRequest.java (58%) create mode 100644 proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkflowInvocationRequestOrBuilder.java rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkspaceRequest.java (65%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkspaceRequestOrBuilder.java (55%) create mode 100644 proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DataformProto.java rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteRepositoryRequest.java (66%) create mode 100644 proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteRepositoryRequestOrBuilder.java rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkflowInvocationRequest.java (60%) create mode 100644 proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkflowInvocationRequestOrBuilder.java rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkspaceRequest.java (64%) create mode 100644 proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkspaceRequestOrBuilder.java rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffRequest.java (66%) create mode 100644 proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffRequestOrBuilder.java rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffResponse.java (68%) create mode 100644 proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffResponseOrBuilder.java rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesRequest.java (62%) create mode 100644 proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesRequestOrBuilder.java rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesResponse.java (59%) create mode 100644 proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesResponseOrBuilder.java rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindRequest.java (66%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindRequestOrBuilder.java (54%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindResponse.java (67%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindResponseOrBuilder.java (52%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesRequest.java (63%) create mode 100644 proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesRequestOrBuilder.java rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesResponse.java (67%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesResponseOrBuilder.java (58%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/GetCompilationResultRequest.java (62%) create mode 100644 proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetCompilationResultRequestOrBuilder.java rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/GetRepositoryRequest.java (64%) create mode 100644 proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetRepositoryRequestOrBuilder.java rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkflowInvocationRequest.java (62%) create mode 100644 proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkflowInvocationRequestOrBuilder.java rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkspaceRequest.java (64%) create mode 100644 proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkspaceRequestOrBuilder.java rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesRequest.java (63%) create mode 100644 proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesRequestOrBuilder.java rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesResponse.java (64%) create mode 100644 proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesResponseOrBuilder.java rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsRequest.java (68%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsRequestOrBuilder.java (64%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsResponse.java (70%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsResponseOrBuilder.java (69%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesRequest.java (72%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesRequestOrBuilder.java (70%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesResponse.java (74%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesResponseOrBuilder.java (73%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsRequest.java (68%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsRequestOrBuilder.java (64%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsResponse.java (69%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsResponseOrBuilder.java (70%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesRequest.java (72%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesRequestOrBuilder.java (71%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesResponse.java (73%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesResponseOrBuilder.java (71%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/LocationName.java (100%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryRequest.java (66%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryRequestOrBuilder.java (50%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryResponse.java (65%) create mode 100644 proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryResponseOrBuilder.java rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryRequest.java (68%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryRequestOrBuilder.java (58%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryResponse.java (65%) create mode 100644 proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryResponseOrBuilder.java rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileRequest.java (68%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileRequestOrBuilder.java (57%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileResponse.java (65%) create mode 100644 proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileResponseOrBuilder.java rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/PullGitCommitsRequest.java (65%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/PullGitCommitsRequestOrBuilder.java (56%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/PushGitCommitsRequest.java (67%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/PushGitCommitsRequestOrBuilder.java (53%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsRequest.java (67%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsRequestOrBuilder.java (67%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsResponse.java (61%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsResponseOrBuilder.java (52%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsRequest.java (69%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsRequestOrBuilder.java (66%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsResponse.java (61%) create mode 100644 proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsResponseOrBuilder.java rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsRequest.java (65%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsRequestOrBuilder.java (62%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsResponse.java (61%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsResponseOrBuilder.java (53%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileRequest.java (66%) create mode 100644 proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileRequestOrBuilder.java rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileResponse.java (68%) create mode 100644 proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileResponseOrBuilder.java rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/RelationDescriptor.java (67%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/RelationDescriptorOrBuilder.java (62%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveDirectoryRequest.java (66%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveDirectoryRequestOrBuilder.java (50%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveFileRequest.java (66%) create mode 100644 proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveFileRequestOrBuilder.java rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/Repository.java (66%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/RepositoryName.java (100%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/RepositoryOrBuilder.java (51%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/ResetWorkspaceChangesRequest.java (68%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/ResetWorkspaceChangesRequestOrBuilder.java (65%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/Target.java (70%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/TargetOrBuilder.java (61%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/UpdateRepositoryRequest.java (64%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/UpdateRepositoryRequestOrBuilder.java (57%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocation.java (66%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocationAction.java (63%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocationActionOrBuilder.java (62%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocationName.java (100%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocationOrBuilder.java (57%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/Workspace.java (68%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/WorkspaceName.java (100%) create mode 100644 proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkspaceOrBuilder.java rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileRequest.java (67%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileRequestOrBuilder.java (51%) rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileResponse.java (66%) create mode 100644 proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileResponseOrBuilder.java rename {owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2 => proto-google-cloud-dataform-v1alpha2}/src/main/proto/google/cloud/dataform/v1alpha2/dataform.proto (100%) create mode 100644 proto-google-cloud-dataform-v1beta1/clirr-ignored-differences.xml create mode 100644 proto-google-cloud-dataform-v1beta1/pom.xml rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/CancelWorkflowInvocationRequest.java (60%) create mode 100644 proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CancelWorkflowInvocationRequestOrBuilder.java rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/CommitAuthor.java (70%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/CommitAuthorOrBuilder.java (58%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/CommitWorkspaceChangesRequest.java (66%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/CommitWorkspaceChangesRequestOrBuilder.java (62%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/CompilationResult.java (68%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/CompilationResultAction.java (72%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/CompilationResultActionOrBuilder.java (81%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/CompilationResultName.java (100%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/CompilationResultOrBuilder.java (61%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/CreateCompilationResultRequest.java (60%) create mode 100644 proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateCompilationResultRequestOrBuilder.java rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/CreateRepositoryRequest.java (65%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/CreateRepositoryRequestOrBuilder.java (54%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/CreateWorkflowInvocationRequest.java (60%) create mode 100644 proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateWorkflowInvocationRequestOrBuilder.java rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/CreateWorkspaceRequest.java (65%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/CreateWorkspaceRequestOrBuilder.java (55%) create mode 100644 proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DataformProto.java rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/DeleteRepositoryRequest.java (66%) create mode 100644 proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteRepositoryRequestOrBuilder.java rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/DeleteWorkflowInvocationRequest.java (60%) create mode 100644 proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteWorkflowInvocationRequestOrBuilder.java rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/DeleteWorkspaceRequest.java (64%) create mode 100644 proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteWorkspaceRequestOrBuilder.java rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileDiffRequest.java (66%) create mode 100644 proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileDiffRequestOrBuilder.java rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileDiffResponse.java (68%) create mode 100644 proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileDiffResponseOrBuilder.java rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileGitStatusesRequest.java (63%) create mode 100644 proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileGitStatusesRequestOrBuilder.java rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileGitStatusesResponse.java (59%) create mode 100644 proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileGitStatusesResponseOrBuilder.java rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/FetchGitAheadBehindRequest.java (67%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/FetchGitAheadBehindRequestOrBuilder.java (54%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/FetchGitAheadBehindResponse.java (68%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/FetchGitAheadBehindResponseOrBuilder.java (52%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/FetchRemoteBranchesRequest.java (63%) create mode 100644 proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchRemoteBranchesRequestOrBuilder.java rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/FetchRemoteBranchesResponse.java (68%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/FetchRemoteBranchesResponseOrBuilder.java (58%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/GetCompilationResultRequest.java (63%) create mode 100644 proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetCompilationResultRequestOrBuilder.java rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/GetRepositoryRequest.java (64%) create mode 100644 proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetRepositoryRequestOrBuilder.java rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/GetWorkflowInvocationRequest.java (62%) create mode 100644 proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetWorkflowInvocationRequestOrBuilder.java rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/GetWorkspaceRequest.java (64%) create mode 100644 proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetWorkspaceRequestOrBuilder.java rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/InstallNpmPackagesRequest.java (64%) create mode 100644 proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/InstallNpmPackagesRequestOrBuilder.java rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/InstallNpmPackagesResponse.java (64%) create mode 100644 proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/InstallNpmPackagesResponseOrBuilder.java rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/ListCompilationResultsRequest.java (68%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/ListCompilationResultsRequestOrBuilder.java (64%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/ListCompilationResultsResponse.java (71%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/ListCompilationResultsResponseOrBuilder.java (74%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/ListRepositoriesRequest.java (72%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/ListRepositoriesRequestOrBuilder.java (70%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/ListRepositoriesResponse.java (74%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/ListRepositoriesResponseOrBuilder.java (71%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkflowInvocationsRequest.java (68%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkflowInvocationsRequestOrBuilder.java (64%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkflowInvocationsResponse.java (70%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkflowInvocationsResponseOrBuilder.java (69%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkspacesRequest.java (72%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkspacesRequestOrBuilder.java (71%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkspacesResponse.java (73%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkspacesResponseOrBuilder.java (71%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/LocationName.java (100%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/MakeDirectoryRequest.java (66%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/MakeDirectoryRequestOrBuilder.java (50%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/MakeDirectoryResponse.java (65%) create mode 100644 proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MakeDirectoryResponseOrBuilder.java rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/MoveDirectoryRequest.java (68%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/MoveDirectoryRequestOrBuilder.java (58%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/MoveDirectoryResponse.java (65%) create mode 100644 proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveDirectoryResponseOrBuilder.java rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/MoveFileRequest.java (68%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/MoveFileRequestOrBuilder.java (57%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/MoveFileResponse.java (65%) create mode 100644 proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveFileResponseOrBuilder.java rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/PullGitCommitsRequest.java (65%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/PullGitCommitsRequestOrBuilder.java (56%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/PushGitCommitsRequest.java (67%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/PushGitCommitsRequestOrBuilder.java (53%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/QueryCompilationResultActionsRequest.java (68%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/QueryCompilationResultActionsRequestOrBuilder.java (67%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/QueryCompilationResultActionsResponse.java (62%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/QueryCompilationResultActionsResponseOrBuilder.java (52%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/QueryDirectoryContentsRequest.java (69%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/QueryDirectoryContentsRequestOrBuilder.java (66%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/QueryDirectoryContentsResponse.java (62%) create mode 100644 proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryDirectoryContentsResponseOrBuilder.java rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/QueryWorkflowInvocationActionsRequest.java (65%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/QueryWorkflowInvocationActionsRequestOrBuilder.java (62%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/QueryWorkflowInvocationActionsResponse.java (61%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/QueryWorkflowInvocationActionsResponseOrBuilder.java (53%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/ReadFileRequest.java (66%) create mode 100644 proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ReadFileRequestOrBuilder.java rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/ReadFileResponse.java (68%) create mode 100644 proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ReadFileResponseOrBuilder.java rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/RelationDescriptor.java (67%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/RelationDescriptorOrBuilder.java (62%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/RemoveDirectoryRequest.java (66%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/RemoveDirectoryRequestOrBuilder.java (50%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/RemoveFileRequest.java (66%) create mode 100644 proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RemoveFileRequestOrBuilder.java rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/Repository.java (66%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/RepositoryName.java (100%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/RepositoryOrBuilder.java (51%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/ResetWorkspaceChangesRequest.java (69%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/ResetWorkspaceChangesRequestOrBuilder.java (65%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/Target.java (70%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/TargetOrBuilder.java (61%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/UpdateRepositoryRequest.java (64%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/UpdateRepositoryRequestOrBuilder.java (57%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/WorkflowInvocation.java (66%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/WorkflowInvocationAction.java (63%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/WorkflowInvocationActionOrBuilder.java (62%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/WorkflowInvocationName.java (100%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/WorkflowInvocationOrBuilder.java (57%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/Workspace.java (68%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/WorkspaceName.java (100%) create mode 100644 proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkspaceOrBuilder.java rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/WriteFileRequest.java (67%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/WriteFileRequestOrBuilder.java (51%) rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/java/com/google/cloud/dataform/v1beta1/WriteFileResponse.java (65%) create mode 100644 proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WriteFileResponseOrBuilder.java rename {owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1 => proto-google-cloud-dataform-v1beta1}/src/main/proto/google/cloud/dataform/v1beta1/dataform.proto (100%) diff --git a/google-cloud-dataform-bom/pom.xml b/google-cloud-dataform-bom/pom.xml index 84bbf3d..2ccb48f 100644 --- a/google-cloud-dataform-bom/pom.xml +++ b/google-cloud-dataform-bom/pom.xml @@ -72,11 +72,21 @@ grpc-google-cloud-dataform-v1alpha2 0.1.0 + + com.google.api.grpc + grpc-google-cloud-dataform-v1beta1 + 0.1.0 + com.google.api.grpc proto-google-cloud-dataform-v1alpha2 0.1.0 + + com.google.api.grpc + proto-google-cloud-dataform-v1beta1 + 0.1.0 + diff --git a/google-cloud-dataform/pom.xml b/google-cloud-dataform/pom.xml index ea36667..f3d0c55 100644 --- a/google-cloud-dataform/pom.xml +++ b/google-cloud-dataform/pom.xml @@ -42,6 +42,10 @@ proto-google-common-protos + + com.google.api.grpc + proto-google-cloud-dataform-v1beta1 + com.google.api.grpc proto-google-cloud-dataform-v1alpha2 @@ -66,6 +70,11 @@ com.google.api.grpc grpc-google-common-protos + + com.google.api.grpc + grpc-google-cloud-dataform-v1beta1 + test + com.google.api.grpc proto-google-iam-v1 diff --git a/owl-bot-staging/v1alpha2/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/DataformClient.java b/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/DataformClient.java similarity index 97% rename from owl-bot-staging/v1alpha2/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/DataformClient.java rename to google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/DataformClient.java index 70032ff..18adcd6 100644 --- a/owl-bot-staging/v1alpha2/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/DataformClient.java +++ b/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/DataformClient.java @@ -68,13 +68,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -3723,7 +3723,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListRepositoriesPagedResponse extends AbstractPagedListResponse< - ListRepositoriesRequest, ListRepositoriesResponse, Repository, ListRepositoriesPage, + ListRepositoriesRequest, + ListRepositoriesResponse, + Repository, + ListRepositoriesPage, ListRepositoriesFixedSizeCollection> { public static ApiFuture createAsync( @@ -3773,7 +3776,10 @@ public ApiFuture createPageAsync( public static class ListRepositoriesFixedSizeCollection extends AbstractFixedSizeCollection< - ListRepositoriesRequest, ListRepositoriesResponse, Repository, ListRepositoriesPage, + ListRepositoriesRequest, + ListRepositoriesResponse, + Repository, + ListRepositoriesPage, ListRepositoriesFixedSizeCollection> { private ListRepositoriesFixedSizeCollection( @@ -3794,7 +3800,10 @@ protected ListRepositoriesFixedSizeCollection createCollection( public static class ListWorkspacesPagedResponse extends AbstractPagedListResponse< - ListWorkspacesRequest, ListWorkspacesResponse, Workspace, ListWorkspacesPage, + ListWorkspacesRequest, + ListWorkspacesResponse, + Workspace, + ListWorkspacesPage, ListWorkspacesFixedSizeCollection> { public static ApiFuture createAsync( @@ -3844,7 +3853,10 @@ public ApiFuture createPageAsync( public static class ListWorkspacesFixedSizeCollection extends AbstractFixedSizeCollection< - ListWorkspacesRequest, ListWorkspacesResponse, Workspace, ListWorkspacesPage, + ListWorkspacesRequest, + ListWorkspacesResponse, + Workspace, + ListWorkspacesPage, ListWorkspacesFixedSizeCollection> { private ListWorkspacesFixedSizeCollection(List pages, int collectionSize) { @@ -3864,13 +3876,16 @@ protected ListWorkspacesFixedSizeCollection createCollection( public static class QueryDirectoryContentsPagedResponse extends AbstractPagedListResponse< - QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, - QueryDirectoryContentsResponse.DirectoryEntry, QueryDirectoryContentsPage, + QueryDirectoryContentsRequest, + QueryDirectoryContentsResponse, + QueryDirectoryContentsResponse.DirectoryEntry, + QueryDirectoryContentsPage, QueryDirectoryContentsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< - QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, + QueryDirectoryContentsRequest, + QueryDirectoryContentsResponse, QueryDirectoryContentsResponse.DirectoryEntry> context, ApiFuture futureResponse) { @@ -3889,12 +3904,15 @@ private QueryDirectoryContentsPagedResponse(QueryDirectoryContentsPage page) { public static class QueryDirectoryContentsPage extends AbstractPage< - QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, - QueryDirectoryContentsResponse.DirectoryEntry, QueryDirectoryContentsPage> { + QueryDirectoryContentsRequest, + QueryDirectoryContentsResponse, + QueryDirectoryContentsResponse.DirectoryEntry, + QueryDirectoryContentsPage> { private QueryDirectoryContentsPage( PageContext< - QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, + QueryDirectoryContentsRequest, + QueryDirectoryContentsResponse, QueryDirectoryContentsResponse.DirectoryEntry> context, QueryDirectoryContentsResponse response) { @@ -3908,7 +3926,8 @@ private static QueryDirectoryContentsPage createEmptyPage() { @Override protected QueryDirectoryContentsPage createPage( PageContext< - QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, + QueryDirectoryContentsRequest, + QueryDirectoryContentsResponse, QueryDirectoryContentsResponse.DirectoryEntry> context, QueryDirectoryContentsResponse response) { @@ -3918,7 +3937,8 @@ protected QueryDirectoryContentsPage createPage( @Override public ApiFuture createPageAsync( PageContext< - QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, + QueryDirectoryContentsRequest, + QueryDirectoryContentsResponse, QueryDirectoryContentsResponse.DirectoryEntry> context, ApiFuture futureResponse) { @@ -3928,8 +3948,10 @@ public ApiFuture createPageAsync( public static class QueryDirectoryContentsFixedSizeCollection extends AbstractFixedSizeCollection< - QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, - QueryDirectoryContentsResponse.DirectoryEntry, QueryDirectoryContentsPage, + QueryDirectoryContentsRequest, + QueryDirectoryContentsResponse, + QueryDirectoryContentsResponse.DirectoryEntry, + QueryDirectoryContentsPage, QueryDirectoryContentsFixedSizeCollection> { private QueryDirectoryContentsFixedSizeCollection( @@ -3950,8 +3972,11 @@ protected QueryDirectoryContentsFixedSizeCollection createCollection( public static class ListCompilationResultsPagedResponse extends AbstractPagedListResponse< - ListCompilationResultsRequest, ListCompilationResultsResponse, CompilationResult, - ListCompilationResultsPage, ListCompilationResultsFixedSizeCollection> { + ListCompilationResultsRequest, + ListCompilationResultsResponse, + CompilationResult, + ListCompilationResultsPage, + ListCompilationResultsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< @@ -3973,7 +3998,9 @@ private ListCompilationResultsPagedResponse(ListCompilationResultsPage page) { public static class ListCompilationResultsPage extends AbstractPage< - ListCompilationResultsRequest, ListCompilationResultsResponse, CompilationResult, + ListCompilationResultsRequest, + ListCompilationResultsResponse, + CompilationResult, ListCompilationResultsPage> { private ListCompilationResultsPage( @@ -4009,8 +4036,11 @@ public ApiFuture createPageAsync( public static class ListCompilationResultsFixedSizeCollection extends AbstractFixedSizeCollection< - ListCompilationResultsRequest, ListCompilationResultsResponse, CompilationResult, - ListCompilationResultsPage, ListCompilationResultsFixedSizeCollection> { + ListCompilationResultsRequest, + ListCompilationResultsResponse, + CompilationResult, + ListCompilationResultsPage, + ListCompilationResultsFixedSizeCollection> { private ListCompilationResultsFixedSizeCollection( List pages, int collectionSize) { @@ -4030,13 +4060,16 @@ protected ListCompilationResultsFixedSizeCollection createCollection( public static class QueryCompilationResultActionsPagedResponse extends AbstractPagedListResponse< - QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, - CompilationResultAction, QueryCompilationResultActionsPage, + QueryCompilationResultActionsRequest, + QueryCompilationResultActionsResponse, + CompilationResultAction, + QueryCompilationResultActionsPage, QueryCompilationResultActionsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< - QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, + QueryCompilationResultActionsRequest, + QueryCompilationResultActionsResponse, CompilationResultAction> context, ApiFuture futureResponse) { @@ -4056,12 +4089,15 @@ private QueryCompilationResultActionsPagedResponse(QueryCompilationResultActions public static class QueryCompilationResultActionsPage extends AbstractPage< - QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, - CompilationResultAction, QueryCompilationResultActionsPage> { + QueryCompilationResultActionsRequest, + QueryCompilationResultActionsResponse, + CompilationResultAction, + QueryCompilationResultActionsPage> { private QueryCompilationResultActionsPage( PageContext< - QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, + QueryCompilationResultActionsRequest, + QueryCompilationResultActionsResponse, CompilationResultAction> context, QueryCompilationResultActionsResponse response) { @@ -4075,7 +4111,8 @@ private static QueryCompilationResultActionsPage createEmptyPage() { @Override protected QueryCompilationResultActionsPage createPage( PageContext< - QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, + QueryCompilationResultActionsRequest, + QueryCompilationResultActionsResponse, CompilationResultAction> context, QueryCompilationResultActionsResponse response) { @@ -4085,7 +4122,8 @@ protected QueryCompilationResultActionsPage createPage( @Override public ApiFuture createPageAsync( PageContext< - QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, + QueryCompilationResultActionsRequest, + QueryCompilationResultActionsResponse, CompilationResultAction> context, ApiFuture futureResponse) { @@ -4095,8 +4133,10 @@ public ApiFuture createPageAsync( public static class QueryCompilationResultActionsFixedSizeCollection extends AbstractFixedSizeCollection< - QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, - CompilationResultAction, QueryCompilationResultActionsPage, + QueryCompilationResultActionsRequest, + QueryCompilationResultActionsResponse, + CompilationResultAction, + QueryCompilationResultActionsPage, QueryCompilationResultActionsFixedSizeCollection> { private QueryCompilationResultActionsFixedSizeCollection( @@ -4117,8 +4157,11 @@ protected QueryCompilationResultActionsFixedSizeCollection createCollection( public static class ListWorkflowInvocationsPagedResponse extends AbstractPagedListResponse< - ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, WorkflowInvocation, - ListWorkflowInvocationsPage, ListWorkflowInvocationsFixedSizeCollection> { + ListWorkflowInvocationsRequest, + ListWorkflowInvocationsResponse, + WorkflowInvocation, + ListWorkflowInvocationsPage, + ListWorkflowInvocationsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< @@ -4140,7 +4183,9 @@ private ListWorkflowInvocationsPagedResponse(ListWorkflowInvocationsPage page) { public static class ListWorkflowInvocationsPage extends AbstractPage< - ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, WorkflowInvocation, + ListWorkflowInvocationsRequest, + ListWorkflowInvocationsResponse, + WorkflowInvocation, ListWorkflowInvocationsPage> { private ListWorkflowInvocationsPage( @@ -4176,8 +4221,11 @@ public ApiFuture createPageAsync( public static class ListWorkflowInvocationsFixedSizeCollection extends AbstractFixedSizeCollection< - ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, WorkflowInvocation, - ListWorkflowInvocationsPage, ListWorkflowInvocationsFixedSizeCollection> { + ListWorkflowInvocationsRequest, + ListWorkflowInvocationsResponse, + WorkflowInvocation, + ListWorkflowInvocationsPage, + ListWorkflowInvocationsFixedSizeCollection> { private ListWorkflowInvocationsFixedSizeCollection( List pages, int collectionSize) { @@ -4197,13 +4245,16 @@ protected ListWorkflowInvocationsFixedSizeCollection createCollection( public static class QueryWorkflowInvocationActionsPagedResponse extends AbstractPagedListResponse< - QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, - WorkflowInvocationAction, QueryWorkflowInvocationActionsPage, + QueryWorkflowInvocationActionsRequest, + QueryWorkflowInvocationActionsResponse, + WorkflowInvocationAction, + QueryWorkflowInvocationActionsPage, QueryWorkflowInvocationActionsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< - QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, + QueryWorkflowInvocationActionsRequest, + QueryWorkflowInvocationActionsResponse, WorkflowInvocationAction> context, ApiFuture futureResponse) { @@ -4223,12 +4274,15 @@ private QueryWorkflowInvocationActionsPagedResponse(QueryWorkflowInvocationActio public static class QueryWorkflowInvocationActionsPage extends AbstractPage< - QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, - WorkflowInvocationAction, QueryWorkflowInvocationActionsPage> { + QueryWorkflowInvocationActionsRequest, + QueryWorkflowInvocationActionsResponse, + WorkflowInvocationAction, + QueryWorkflowInvocationActionsPage> { private QueryWorkflowInvocationActionsPage( PageContext< - QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, + QueryWorkflowInvocationActionsRequest, + QueryWorkflowInvocationActionsResponse, WorkflowInvocationAction> context, QueryWorkflowInvocationActionsResponse response) { @@ -4242,7 +4296,8 @@ private static QueryWorkflowInvocationActionsPage createEmptyPage() { @Override protected QueryWorkflowInvocationActionsPage createPage( PageContext< - QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, + QueryWorkflowInvocationActionsRequest, + QueryWorkflowInvocationActionsResponse, WorkflowInvocationAction> context, QueryWorkflowInvocationActionsResponse response) { @@ -4252,7 +4307,8 @@ protected QueryWorkflowInvocationActionsPage createPage( @Override public ApiFuture createPageAsync( PageContext< - QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, + QueryWorkflowInvocationActionsRequest, + QueryWorkflowInvocationActionsResponse, WorkflowInvocationAction> context, ApiFuture futureResponse) { @@ -4262,8 +4318,10 @@ public ApiFuture createPageAsync( public static class QueryWorkflowInvocationActionsFixedSizeCollection extends AbstractFixedSizeCollection< - QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, - WorkflowInvocationAction, QueryWorkflowInvocationActionsPage, + QueryWorkflowInvocationActionsRequest, + QueryWorkflowInvocationActionsResponse, + WorkflowInvocationAction, + QueryWorkflowInvocationActionsPage, QueryWorkflowInvocationActionsFixedSizeCollection> { private QueryWorkflowInvocationActionsFixedSizeCollection( @@ -4284,7 +4342,10 @@ protected QueryWorkflowInvocationActionsFixedSizeCollection createCollection( public static class ListLocationsPagedResponse extends AbstractPagedListResponse< - ListLocationsRequest, ListLocationsResponse, Location, ListLocationsPage, + ListLocationsRequest, + ListLocationsResponse, + Location, + ListLocationsPage, ListLocationsFixedSizeCollection> { public static ApiFuture createAsync( @@ -4334,7 +4395,10 @@ public ApiFuture createPageAsync( public static class ListLocationsFixedSizeCollection extends AbstractFixedSizeCollection< - ListLocationsRequest, ListLocationsResponse, Location, ListLocationsPage, + ListLocationsRequest, + ListLocationsResponse, + Location, + ListLocationsPage, ListLocationsFixedSizeCollection> { private ListLocationsFixedSizeCollection(List pages, int collectionSize) { diff --git a/owl-bot-staging/v1alpha2/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/DataformSettings.java b/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/DataformSettings.java similarity index 96% rename from owl-bot-staging/v1alpha2/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/DataformSettings.java rename to google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/DataformSettings.java index 93e693e..c9b9a2e 100644 --- a/owl-bot-staging/v1alpha2/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/DataformSettings.java +++ b/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/DataformSettings.java @@ -35,7 +35,6 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.dataform.v1alpha2.stub.DataformStubSettings; @@ -60,9 +59,9 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (dataform.googleapis.com) and default port (443) are used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • The default service address (dataform.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -190,7 +189,8 @@ public UnaryCallSettings fetchFileD /** Returns the object with the settings used for calls to queryDirectoryContents. */ public PagedCallSettings< - QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, + QueryDirectoryContentsRequest, + QueryDirectoryContentsResponse, QueryDirectoryContentsPagedResponse> queryDirectoryContentsSettings() { return ((DataformStubSettings) getStubSettings()).queryDirectoryContentsSettings(); @@ -233,7 +233,8 @@ public UnaryCallSettings writeFileSettings( /** Returns the object with the settings used for calls to listCompilationResults. */ public PagedCallSettings< - ListCompilationResultsRequest, ListCompilationResultsResponse, + ListCompilationResultsRequest, + ListCompilationResultsResponse, ListCompilationResultsPagedResponse> listCompilationResultsSettings() { return ((DataformStubSettings) getStubSettings()).listCompilationResultsSettings(); @@ -253,7 +254,8 @@ public UnaryCallSettings writeFileSettings( /** Returns the object with the settings used for calls to queryCompilationResultActions. */ public PagedCallSettings< - QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, + QueryCompilationResultActionsRequest, + QueryCompilationResultActionsResponse, QueryCompilationResultActionsPagedResponse> queryCompilationResultActionsSettings() { return ((DataformStubSettings) getStubSettings()).queryCompilationResultActionsSettings(); @@ -261,7 +263,8 @@ public UnaryCallSettings writeFileSettings( /** Returns the object with the settings used for calls to listWorkflowInvocations. */ public PagedCallSettings< - ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, + ListWorkflowInvocationsRequest, + ListWorkflowInvocationsResponse, ListWorkflowInvocationsPagedResponse> listWorkflowInvocationsSettings() { return ((DataformStubSettings) getStubSettings()).listWorkflowInvocationsSettings(); @@ -293,7 +296,8 @@ public UnaryCallSettings writeFileSettings( /** Returns the object with the settings used for calls to queryWorkflowInvocationActions. */ public PagedCallSettings< - QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, + QueryWorkflowInvocationActionsRequest, + QueryWorkflowInvocationActionsResponse, QueryWorkflowInvocationActionsPagedResponse> queryWorkflowInvocationActionsSettings() { return ((DataformStubSettings) getStubSettings()).queryWorkflowInvocationActionsSettings(); @@ -545,7 +549,8 @@ public UnaryCallSettings.Builder pushGitCommitsSet /** Returns the builder for the settings used for calls to queryDirectoryContents. */ public PagedCallSettings.Builder< - QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, + QueryDirectoryContentsRequest, + QueryDirectoryContentsResponse, QueryDirectoryContentsPagedResponse> queryDirectoryContentsSettings() { return getStubSettingsBuilder().queryDirectoryContentsSettings(); @@ -590,7 +595,8 @@ public UnaryCallSettings.Builder writeFileS /** Returns the builder for the settings used for calls to listCompilationResults. */ public PagedCallSettings.Builder< - ListCompilationResultsRequest, ListCompilationResultsResponse, + ListCompilationResultsRequest, + ListCompilationResultsResponse, ListCompilationResultsPagedResponse> listCompilationResultsSettings() { return getStubSettingsBuilder().listCompilationResultsSettings(); @@ -610,7 +616,8 @@ public UnaryCallSettings.Builder writeFileS /** Returns the builder for the settings used for calls to queryCompilationResultActions. */ public PagedCallSettings.Builder< - QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, + QueryCompilationResultActionsRequest, + QueryCompilationResultActionsResponse, QueryCompilationResultActionsPagedResponse> queryCompilationResultActionsSettings() { return getStubSettingsBuilder().queryCompilationResultActionsSettings(); @@ -618,7 +625,8 @@ public UnaryCallSettings.Builder writeFileS /** Returns the builder for the settings used for calls to listWorkflowInvocations. */ public PagedCallSettings.Builder< - ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, + ListWorkflowInvocationsRequest, + ListWorkflowInvocationsResponse, ListWorkflowInvocationsPagedResponse> listWorkflowInvocationsSettings() { return getStubSettingsBuilder().listWorkflowInvocationsSettings(); @@ -650,7 +658,8 @@ public UnaryCallSettings.Builder writeFileS /** Returns the builder for the settings used for calls to queryWorkflowInvocationActions. */ public PagedCallSettings.Builder< - QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, + QueryWorkflowInvocationActionsRequest, + QueryWorkflowInvocationActionsResponse, QueryWorkflowInvocationActionsPagedResponse> queryWorkflowInvocationActionsSettings() { return getStubSettingsBuilder().queryWorkflowInvocationActionsSettings(); diff --git a/owl-bot-staging/v1alpha2/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/gapic_metadata.json b/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1alpha2/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/gapic_metadata.json rename to google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/gapic_metadata.json diff --git a/owl-bot-staging/v1alpha2/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/package-info.java b/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/package-info.java similarity index 100% rename from owl-bot-staging/v1alpha2/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/package-info.java rename to google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/package-info.java diff --git a/owl-bot-staging/v1alpha2/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/DataformStub.java b/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/DataformStub.java similarity index 100% rename from owl-bot-staging/v1alpha2/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/DataformStub.java rename to google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/DataformStub.java diff --git a/owl-bot-staging/v1alpha2/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/DataformStubSettings.java b/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/DataformStubSettings.java similarity index 95% rename from owl-bot-staging/v1alpha2/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/DataformStubSettings.java rename to google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/DataformStubSettings.java index ad0666c..f322026 100644 --- a/owl-bot-staging/v1alpha2/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/DataformStubSettings.java +++ b/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/DataformStubSettings.java @@ -134,9 +134,9 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (dataform.googleapis.com) and default port (443) are used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • The default service address (dataform.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -197,7 +197,8 @@ public class DataformStubSettings extends StubSettings { private final UnaryCallSettings fetchFileDiffSettings; private final PagedCallSettings< - QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, + QueryDirectoryContentsRequest, + QueryDirectoryContentsResponse, QueryDirectoryContentsPagedResponse> queryDirectoryContentsSettings; private final UnaryCallSettings @@ -210,7 +211,8 @@ public class DataformStubSettings extends StubSettings { private final UnaryCallSettings moveFileSettings; private final UnaryCallSettings writeFileSettings; private final PagedCallSettings< - ListCompilationResultsRequest, ListCompilationResultsResponse, + ListCompilationResultsRequest, + ListCompilationResultsResponse, ListCompilationResultsPagedResponse> listCompilationResultsSettings; private final UnaryCallSettings @@ -218,11 +220,13 @@ public class DataformStubSettings extends StubSettings { private final UnaryCallSettings createCompilationResultSettings; private final PagedCallSettings< - QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, + QueryCompilationResultActionsRequest, + QueryCompilationResultActionsResponse, QueryCompilationResultActionsPagedResponse> queryCompilationResultActionsSettings; private final PagedCallSettings< - ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, + ListWorkflowInvocationsRequest, + ListWorkflowInvocationsResponse, ListWorkflowInvocationsPagedResponse> listWorkflowInvocationsSettings; private final UnaryCallSettings @@ -234,7 +238,8 @@ public class DataformStubSettings extends StubSettings { private final UnaryCallSettings cancelWorkflowInvocationSettings; private final PagedCallSettings< - QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, + QueryWorkflowInvocationActionsRequest, + QueryWorkflowInvocationActionsResponse, QueryWorkflowInvocationActionsPagedResponse> queryWorkflowInvocationActionsSettings; private final PagedCallSettings< @@ -323,11 +328,13 @@ public Iterable extractResources(ListWorkspacesResponse payload) { }; private static final PagedListDescriptor< - QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, + QueryDirectoryContentsRequest, + QueryDirectoryContentsResponse, QueryDirectoryContentsResponse.DirectoryEntry> QUERY_DIRECTORY_CONTENTS_PAGE_STR_DESC = new PagedListDescriptor< - QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, + QueryDirectoryContentsRequest, + QueryDirectoryContentsResponse, QueryDirectoryContentsResponse.DirectoryEntry>() { @Override public String emptyToken() { @@ -411,11 +418,13 @@ public Iterable extractResources( }; private static final PagedListDescriptor< - QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, + QueryCompilationResultActionsRequest, + QueryCompilationResultActionsResponse, CompilationResultAction> QUERY_COMPILATION_RESULT_ACTIONS_PAGE_STR_DESC = new PagedListDescriptor< - QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, + QueryCompilationResultActionsRequest, + QueryCompilationResultActionsResponse, CompilationResultAction>() { @Override public String emptyToken() { @@ -461,7 +470,8 @@ public Iterable extractResources( ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, WorkflowInvocation> LIST_WORKFLOW_INVOCATIONS_PAGE_STR_DESC = new PagedListDescriptor< - ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, + ListWorkflowInvocationsRequest, + ListWorkflowInvocationsResponse, WorkflowInvocation>() { @Override public String emptyToken() { @@ -502,11 +512,13 @@ public Iterable extractResources( }; private static final PagedListDescriptor< - QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, + QueryWorkflowInvocationActionsRequest, + QueryWorkflowInvocationActionsResponse, WorkflowInvocationAction> QUERY_WORKFLOW_INVOCATION_ACTIONS_PAGE_STR_DESC = new PagedListDescriptor< - QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, + QueryWorkflowInvocationActionsRequest, + QueryWorkflowInvocationActionsResponse, WorkflowInvocationAction>() { @Override public String emptyToken() { @@ -621,11 +633,13 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, + QueryDirectoryContentsRequest, + QueryDirectoryContentsResponse, QueryDirectoryContentsPagedResponse> QUERY_DIRECTORY_CONTENTS_PAGE_STR_FACT = new PagedListResponseFactory< - QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, + QueryDirectoryContentsRequest, + QueryDirectoryContentsResponse, QueryDirectoryContentsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -635,7 +649,8 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, + QueryDirectoryContentsRequest, + QueryDirectoryContentsResponse, QueryDirectoryContentsResponse.DirectoryEntry> pageContext = PageContext.create( @@ -645,11 +660,13 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListCompilationResultsRequest, ListCompilationResultsResponse, + ListCompilationResultsRequest, + ListCompilationResultsResponse, ListCompilationResultsPagedResponse> LIST_COMPILATION_RESULTS_PAGE_STR_FACT = new PagedListResponseFactory< - ListCompilationResultsRequest, ListCompilationResultsResponse, + ListCompilationResultsRequest, + ListCompilationResultsResponse, ListCompilationResultsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -659,7 +676,8 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListCompilationResultsRequest, ListCompilationResultsResponse, + ListCompilationResultsRequest, + ListCompilationResultsResponse, CompilationResult> pageContext = PageContext.create( @@ -669,11 +687,13 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, + QueryCompilationResultActionsRequest, + QueryCompilationResultActionsResponse, QueryCompilationResultActionsPagedResponse> QUERY_COMPILATION_RESULT_ACTIONS_PAGE_STR_FACT = new PagedListResponseFactory< - QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, + QueryCompilationResultActionsRequest, + QueryCompilationResultActionsResponse, QueryCompilationResultActionsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -684,7 +704,8 @@ public ApiFuture getFuturePagedRespo ApiCallContext context, ApiFuture futureResponse) { PageContext< - QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, + QueryCompilationResultActionsRequest, + QueryCompilationResultActionsResponse, CompilationResultAction> pageContext = PageContext.create( @@ -698,11 +719,13 @@ public ApiFuture getFuturePagedRespo }; private static final PagedListResponseFactory< - ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, + ListWorkflowInvocationsRequest, + ListWorkflowInvocationsResponse, ListWorkflowInvocationsPagedResponse> LIST_WORKFLOW_INVOCATIONS_PAGE_STR_FACT = new PagedListResponseFactory< - ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, + ListWorkflowInvocationsRequest, + ListWorkflowInvocationsResponse, ListWorkflowInvocationsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -712,7 +735,8 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, + ListWorkflowInvocationsRequest, + ListWorkflowInvocationsResponse, WorkflowInvocation> pageContext = PageContext.create( @@ -722,11 +746,13 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, + QueryWorkflowInvocationActionsRequest, + QueryWorkflowInvocationActionsResponse, QueryWorkflowInvocationActionsPagedResponse> QUERY_WORKFLOW_INVOCATION_ACTIONS_PAGE_STR_FACT = new PagedListResponseFactory< - QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, + QueryWorkflowInvocationActionsRequest, + QueryWorkflowInvocationActionsResponse, QueryWorkflowInvocationActionsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -738,7 +764,8 @@ public ApiFuture getFuturePagedResp ApiCallContext context, ApiFuture futureResponse) { PageContext< - QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, + QueryWorkflowInvocationActionsRequest, + QueryWorkflowInvocationActionsResponse, WorkflowInvocationAction> pageContext = PageContext.create( @@ -868,7 +895,8 @@ public UnaryCallSettings fetchFileD /** Returns the object with the settings used for calls to queryDirectoryContents. */ public PagedCallSettings< - QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, + QueryDirectoryContentsRequest, + QueryDirectoryContentsResponse, QueryDirectoryContentsPagedResponse> queryDirectoryContentsSettings() { return queryDirectoryContentsSettings; @@ -911,7 +939,8 @@ public UnaryCallSettings writeFileSettings( /** Returns the object with the settings used for calls to listCompilationResults. */ public PagedCallSettings< - ListCompilationResultsRequest, ListCompilationResultsResponse, + ListCompilationResultsRequest, + ListCompilationResultsResponse, ListCompilationResultsPagedResponse> listCompilationResultsSettings() { return listCompilationResultsSettings; @@ -931,7 +960,8 @@ public UnaryCallSettings writeFileSettings( /** Returns the object with the settings used for calls to queryCompilationResultActions. */ public PagedCallSettings< - QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, + QueryCompilationResultActionsRequest, + QueryCompilationResultActionsResponse, QueryCompilationResultActionsPagedResponse> queryCompilationResultActionsSettings() { return queryCompilationResultActionsSettings; @@ -939,7 +969,8 @@ public UnaryCallSettings writeFileSettings( /** Returns the object with the settings used for calls to listWorkflowInvocations. */ public PagedCallSettings< - ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, + ListWorkflowInvocationsRequest, + ListWorkflowInvocationsResponse, ListWorkflowInvocationsPagedResponse> listWorkflowInvocationsSettings() { return listWorkflowInvocationsSettings; @@ -971,7 +1002,8 @@ public UnaryCallSettings writeFileSettings( /** Returns the object with the settings used for calls to queryWorkflowInvocationActions. */ public PagedCallSettings< - QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, + QueryWorkflowInvocationActionsRequest, + QueryWorkflowInvocationActionsResponse, QueryWorkflowInvocationActionsPagedResponse> queryWorkflowInvocationActionsSettings() { return queryWorkflowInvocationActionsSettings; @@ -1191,7 +1223,8 @@ public static class Builder extends StubSettings.Builder fetchFileDiffSettings; private final PagedCallSettings.Builder< - QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, + QueryDirectoryContentsRequest, + QueryDirectoryContentsResponse, QueryDirectoryContentsPagedResponse> queryDirectoryContentsSettings; private final UnaryCallSettings.Builder @@ -1204,7 +1237,8 @@ public static class Builder extends StubSettings.Builder moveFileSettings; private final UnaryCallSettings.Builder writeFileSettings; private final PagedCallSettings.Builder< - ListCompilationResultsRequest, ListCompilationResultsResponse, + ListCompilationResultsRequest, + ListCompilationResultsResponse, ListCompilationResultsPagedResponse> listCompilationResultsSettings; private final UnaryCallSettings.Builder @@ -1212,11 +1246,13 @@ public static class Builder extends StubSettings.Builder createCompilationResultSettings; private final PagedCallSettings.Builder< - QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, + QueryCompilationResultActionsRequest, + QueryCompilationResultActionsResponse, QueryCompilationResultActionsPagedResponse> queryCompilationResultActionsSettings; private final PagedCallSettings.Builder< - ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, + ListWorkflowInvocationsRequest, + ListWorkflowInvocationsResponse, ListWorkflowInvocationsPagedResponse> listWorkflowInvocationsSettings; private final UnaryCallSettings.Builder @@ -1228,7 +1264,8 @@ public static class Builder extends StubSettings.Builder cancelWorkflowInvocationSettings; private final PagedCallSettings.Builder< - QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, + QueryWorkflowInvocationActionsRequest, + QueryWorkflowInvocationActionsResponse, QueryWorkflowInvocationActionsPagedResponse> queryWorkflowInvocationActionsSettings; private final PagedCallSettings.Builder< @@ -1806,7 +1843,8 @@ public UnaryCallSettings.Builder pushGitCommitsSet /** Returns the builder for the settings used for calls to queryDirectoryContents. */ public PagedCallSettings.Builder< - QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, + QueryDirectoryContentsRequest, + QueryDirectoryContentsResponse, QueryDirectoryContentsPagedResponse> queryDirectoryContentsSettings() { return queryDirectoryContentsSettings; @@ -1851,7 +1889,8 @@ public UnaryCallSettings.Builder writeFileS /** Returns the builder for the settings used for calls to listCompilationResults. */ public PagedCallSettings.Builder< - ListCompilationResultsRequest, ListCompilationResultsResponse, + ListCompilationResultsRequest, + ListCompilationResultsResponse, ListCompilationResultsPagedResponse> listCompilationResultsSettings() { return listCompilationResultsSettings; @@ -1871,7 +1910,8 @@ public UnaryCallSettings.Builder writeFileS /** Returns the builder for the settings used for calls to queryCompilationResultActions. */ public PagedCallSettings.Builder< - QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, + QueryCompilationResultActionsRequest, + QueryCompilationResultActionsResponse, QueryCompilationResultActionsPagedResponse> queryCompilationResultActionsSettings() { return queryCompilationResultActionsSettings; @@ -1879,7 +1919,8 @@ public UnaryCallSettings.Builder writeFileS /** Returns the builder for the settings used for calls to listWorkflowInvocations. */ public PagedCallSettings.Builder< - ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, + ListWorkflowInvocationsRequest, + ListWorkflowInvocationsResponse, ListWorkflowInvocationsPagedResponse> listWorkflowInvocationsSettings() { return listWorkflowInvocationsSettings; @@ -1911,7 +1952,8 @@ public UnaryCallSettings.Builder writeFileS /** Returns the builder for the settings used for calls to queryWorkflowInvocationActions. */ public PagedCallSettings.Builder< - QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, + QueryWorkflowInvocationActionsRequest, + QueryWorkflowInvocationActionsResponse, QueryWorkflowInvocationActionsPagedResponse> queryWorkflowInvocationActionsSettings() { return queryWorkflowInvocationActionsSettings; diff --git a/owl-bot-staging/v1alpha2/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/GrpcDataformCallableFactory.java b/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/GrpcDataformCallableFactory.java similarity index 100% rename from owl-bot-staging/v1alpha2/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/GrpcDataformCallableFactory.java rename to google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/GrpcDataformCallableFactory.java diff --git a/owl-bot-staging/v1alpha2/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/GrpcDataformStub.java b/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/GrpcDataformStub.java similarity index 99% rename from owl-bot-staging/v1alpha2/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/GrpcDataformStub.java rename to google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/GrpcDataformStub.java index 740fd28..207a9ac 100644 --- a/owl-bot-staging/v1alpha2/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/GrpcDataformStub.java +++ b/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/GrpcDataformStub.java @@ -104,7 +104,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/v1alpha2/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/HttpJsonDataformCallableFactory.java b/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/HttpJsonDataformCallableFactory.java similarity index 100% rename from owl-bot-staging/v1alpha2/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/HttpJsonDataformCallableFactory.java rename to google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/HttpJsonDataformCallableFactory.java diff --git a/owl-bot-staging/v1alpha2/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/HttpJsonDataformStub.java b/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/HttpJsonDataformStub.java similarity index 100% rename from owl-bot-staging/v1alpha2/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/HttpJsonDataformStub.java rename to google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1alpha2/stub/HttpJsonDataformStub.java diff --git a/owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/DataformClient.java b/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/DataformClient.java similarity index 97% rename from owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/DataformClient.java rename to google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/DataformClient.java index 7bed55f..a652923 100644 --- a/owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/DataformClient.java +++ b/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/DataformClient.java @@ -63,13 +63,13 @@ * methods: * *

    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -3541,7 +3541,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListRepositoriesPagedResponse extends AbstractPagedListResponse< - ListRepositoriesRequest, ListRepositoriesResponse, Repository, ListRepositoriesPage, + ListRepositoriesRequest, + ListRepositoriesResponse, + Repository, + ListRepositoriesPage, ListRepositoriesFixedSizeCollection> { public static ApiFuture createAsync( @@ -3591,7 +3594,10 @@ public ApiFuture createPageAsync( public static class ListRepositoriesFixedSizeCollection extends AbstractFixedSizeCollection< - ListRepositoriesRequest, ListRepositoriesResponse, Repository, ListRepositoriesPage, + ListRepositoriesRequest, + ListRepositoriesResponse, + Repository, + ListRepositoriesPage, ListRepositoriesFixedSizeCollection> { private ListRepositoriesFixedSizeCollection( @@ -3612,7 +3618,10 @@ protected ListRepositoriesFixedSizeCollection createCollection( public static class ListWorkspacesPagedResponse extends AbstractPagedListResponse< - ListWorkspacesRequest, ListWorkspacesResponse, Workspace, ListWorkspacesPage, + ListWorkspacesRequest, + ListWorkspacesResponse, + Workspace, + ListWorkspacesPage, ListWorkspacesFixedSizeCollection> { public static ApiFuture createAsync( @@ -3662,7 +3671,10 @@ public ApiFuture createPageAsync( public static class ListWorkspacesFixedSizeCollection extends AbstractFixedSizeCollection< - ListWorkspacesRequest, ListWorkspacesResponse, Workspace, ListWorkspacesPage, + ListWorkspacesRequest, + ListWorkspacesResponse, + Workspace, + ListWorkspacesPage, ListWorkspacesFixedSizeCollection> { private ListWorkspacesFixedSizeCollection(List pages, int collectionSize) { @@ -3682,13 +3694,16 @@ protected ListWorkspacesFixedSizeCollection createCollection( public static class QueryDirectoryContentsPagedResponse extends AbstractPagedListResponse< - QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, - QueryDirectoryContentsResponse.DirectoryEntry, QueryDirectoryContentsPage, + QueryDirectoryContentsRequest, + QueryDirectoryContentsResponse, + QueryDirectoryContentsResponse.DirectoryEntry, + QueryDirectoryContentsPage, QueryDirectoryContentsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< - QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, + QueryDirectoryContentsRequest, + QueryDirectoryContentsResponse, QueryDirectoryContentsResponse.DirectoryEntry> context, ApiFuture futureResponse) { @@ -3707,12 +3722,15 @@ private QueryDirectoryContentsPagedResponse(QueryDirectoryContentsPage page) { public static class QueryDirectoryContentsPage extends AbstractPage< - QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, - QueryDirectoryContentsResponse.DirectoryEntry, QueryDirectoryContentsPage> { + QueryDirectoryContentsRequest, + QueryDirectoryContentsResponse, + QueryDirectoryContentsResponse.DirectoryEntry, + QueryDirectoryContentsPage> { private QueryDirectoryContentsPage( PageContext< - QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, + QueryDirectoryContentsRequest, + QueryDirectoryContentsResponse, QueryDirectoryContentsResponse.DirectoryEntry> context, QueryDirectoryContentsResponse response) { @@ -3726,7 +3744,8 @@ private static QueryDirectoryContentsPage createEmptyPage() { @Override protected QueryDirectoryContentsPage createPage( PageContext< - QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, + QueryDirectoryContentsRequest, + QueryDirectoryContentsResponse, QueryDirectoryContentsResponse.DirectoryEntry> context, QueryDirectoryContentsResponse response) { @@ -3736,7 +3755,8 @@ protected QueryDirectoryContentsPage createPage( @Override public ApiFuture createPageAsync( PageContext< - QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, + QueryDirectoryContentsRequest, + QueryDirectoryContentsResponse, QueryDirectoryContentsResponse.DirectoryEntry> context, ApiFuture futureResponse) { @@ -3746,8 +3766,10 @@ public ApiFuture createPageAsync( public static class QueryDirectoryContentsFixedSizeCollection extends AbstractFixedSizeCollection< - QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, - QueryDirectoryContentsResponse.DirectoryEntry, QueryDirectoryContentsPage, + QueryDirectoryContentsRequest, + QueryDirectoryContentsResponse, + QueryDirectoryContentsResponse.DirectoryEntry, + QueryDirectoryContentsPage, QueryDirectoryContentsFixedSizeCollection> { private QueryDirectoryContentsFixedSizeCollection( @@ -3768,8 +3790,11 @@ protected QueryDirectoryContentsFixedSizeCollection createCollection( public static class ListCompilationResultsPagedResponse extends AbstractPagedListResponse< - ListCompilationResultsRequest, ListCompilationResultsResponse, CompilationResult, - ListCompilationResultsPage, ListCompilationResultsFixedSizeCollection> { + ListCompilationResultsRequest, + ListCompilationResultsResponse, + CompilationResult, + ListCompilationResultsPage, + ListCompilationResultsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< @@ -3791,7 +3816,9 @@ private ListCompilationResultsPagedResponse(ListCompilationResultsPage page) { public static class ListCompilationResultsPage extends AbstractPage< - ListCompilationResultsRequest, ListCompilationResultsResponse, CompilationResult, + ListCompilationResultsRequest, + ListCompilationResultsResponse, + CompilationResult, ListCompilationResultsPage> { private ListCompilationResultsPage( @@ -3827,8 +3854,11 @@ public ApiFuture createPageAsync( public static class ListCompilationResultsFixedSizeCollection extends AbstractFixedSizeCollection< - ListCompilationResultsRequest, ListCompilationResultsResponse, CompilationResult, - ListCompilationResultsPage, ListCompilationResultsFixedSizeCollection> { + ListCompilationResultsRequest, + ListCompilationResultsResponse, + CompilationResult, + ListCompilationResultsPage, + ListCompilationResultsFixedSizeCollection> { private ListCompilationResultsFixedSizeCollection( List pages, int collectionSize) { @@ -3848,13 +3878,16 @@ protected ListCompilationResultsFixedSizeCollection createCollection( public static class QueryCompilationResultActionsPagedResponse extends AbstractPagedListResponse< - QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, - CompilationResultAction, QueryCompilationResultActionsPage, + QueryCompilationResultActionsRequest, + QueryCompilationResultActionsResponse, + CompilationResultAction, + QueryCompilationResultActionsPage, QueryCompilationResultActionsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< - QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, + QueryCompilationResultActionsRequest, + QueryCompilationResultActionsResponse, CompilationResultAction> context, ApiFuture futureResponse) { @@ -3874,12 +3907,15 @@ private QueryCompilationResultActionsPagedResponse(QueryCompilationResultActions public static class QueryCompilationResultActionsPage extends AbstractPage< - QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, - CompilationResultAction, QueryCompilationResultActionsPage> { + QueryCompilationResultActionsRequest, + QueryCompilationResultActionsResponse, + CompilationResultAction, + QueryCompilationResultActionsPage> { private QueryCompilationResultActionsPage( PageContext< - QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, + QueryCompilationResultActionsRequest, + QueryCompilationResultActionsResponse, CompilationResultAction> context, QueryCompilationResultActionsResponse response) { @@ -3893,7 +3929,8 @@ private static QueryCompilationResultActionsPage createEmptyPage() { @Override protected QueryCompilationResultActionsPage createPage( PageContext< - QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, + QueryCompilationResultActionsRequest, + QueryCompilationResultActionsResponse, CompilationResultAction> context, QueryCompilationResultActionsResponse response) { @@ -3903,7 +3940,8 @@ protected QueryCompilationResultActionsPage createPage( @Override public ApiFuture createPageAsync( PageContext< - QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, + QueryCompilationResultActionsRequest, + QueryCompilationResultActionsResponse, CompilationResultAction> context, ApiFuture futureResponse) { @@ -3913,8 +3951,10 @@ public ApiFuture createPageAsync( public static class QueryCompilationResultActionsFixedSizeCollection extends AbstractFixedSizeCollection< - QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, - CompilationResultAction, QueryCompilationResultActionsPage, + QueryCompilationResultActionsRequest, + QueryCompilationResultActionsResponse, + CompilationResultAction, + QueryCompilationResultActionsPage, QueryCompilationResultActionsFixedSizeCollection> { private QueryCompilationResultActionsFixedSizeCollection( @@ -3935,8 +3975,11 @@ protected QueryCompilationResultActionsFixedSizeCollection createCollection( public static class ListWorkflowInvocationsPagedResponse extends AbstractPagedListResponse< - ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, WorkflowInvocation, - ListWorkflowInvocationsPage, ListWorkflowInvocationsFixedSizeCollection> { + ListWorkflowInvocationsRequest, + ListWorkflowInvocationsResponse, + WorkflowInvocation, + ListWorkflowInvocationsPage, + ListWorkflowInvocationsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< @@ -3958,7 +4001,9 @@ private ListWorkflowInvocationsPagedResponse(ListWorkflowInvocationsPage page) { public static class ListWorkflowInvocationsPage extends AbstractPage< - ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, WorkflowInvocation, + ListWorkflowInvocationsRequest, + ListWorkflowInvocationsResponse, + WorkflowInvocation, ListWorkflowInvocationsPage> { private ListWorkflowInvocationsPage( @@ -3994,8 +4039,11 @@ public ApiFuture createPageAsync( public static class ListWorkflowInvocationsFixedSizeCollection extends AbstractFixedSizeCollection< - ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, WorkflowInvocation, - ListWorkflowInvocationsPage, ListWorkflowInvocationsFixedSizeCollection> { + ListWorkflowInvocationsRequest, + ListWorkflowInvocationsResponse, + WorkflowInvocation, + ListWorkflowInvocationsPage, + ListWorkflowInvocationsFixedSizeCollection> { private ListWorkflowInvocationsFixedSizeCollection( List pages, int collectionSize) { @@ -4015,13 +4063,16 @@ protected ListWorkflowInvocationsFixedSizeCollection createCollection( public static class QueryWorkflowInvocationActionsPagedResponse extends AbstractPagedListResponse< - QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, - WorkflowInvocationAction, QueryWorkflowInvocationActionsPage, + QueryWorkflowInvocationActionsRequest, + QueryWorkflowInvocationActionsResponse, + WorkflowInvocationAction, + QueryWorkflowInvocationActionsPage, QueryWorkflowInvocationActionsFixedSizeCollection> { public static ApiFuture createAsync( PageContext< - QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, + QueryWorkflowInvocationActionsRequest, + QueryWorkflowInvocationActionsResponse, WorkflowInvocationAction> context, ApiFuture futureResponse) { @@ -4041,12 +4092,15 @@ private QueryWorkflowInvocationActionsPagedResponse(QueryWorkflowInvocationActio public static class QueryWorkflowInvocationActionsPage extends AbstractPage< - QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, - WorkflowInvocationAction, QueryWorkflowInvocationActionsPage> { + QueryWorkflowInvocationActionsRequest, + QueryWorkflowInvocationActionsResponse, + WorkflowInvocationAction, + QueryWorkflowInvocationActionsPage> { private QueryWorkflowInvocationActionsPage( PageContext< - QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, + QueryWorkflowInvocationActionsRequest, + QueryWorkflowInvocationActionsResponse, WorkflowInvocationAction> context, QueryWorkflowInvocationActionsResponse response) { @@ -4060,7 +4114,8 @@ private static QueryWorkflowInvocationActionsPage createEmptyPage() { @Override protected QueryWorkflowInvocationActionsPage createPage( PageContext< - QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, + QueryWorkflowInvocationActionsRequest, + QueryWorkflowInvocationActionsResponse, WorkflowInvocationAction> context, QueryWorkflowInvocationActionsResponse response) { @@ -4070,7 +4125,8 @@ protected QueryWorkflowInvocationActionsPage createPage( @Override public ApiFuture createPageAsync( PageContext< - QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, + QueryWorkflowInvocationActionsRequest, + QueryWorkflowInvocationActionsResponse, WorkflowInvocationAction> context, ApiFuture futureResponse) { @@ -4080,8 +4136,10 @@ public ApiFuture createPageAsync( public static class QueryWorkflowInvocationActionsFixedSizeCollection extends AbstractFixedSizeCollection< - QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, - WorkflowInvocationAction, QueryWorkflowInvocationActionsPage, + QueryWorkflowInvocationActionsRequest, + QueryWorkflowInvocationActionsResponse, + WorkflowInvocationAction, + QueryWorkflowInvocationActionsPage, QueryWorkflowInvocationActionsFixedSizeCollection> { private QueryWorkflowInvocationActionsFixedSizeCollection( @@ -4102,7 +4160,10 @@ protected QueryWorkflowInvocationActionsFixedSizeCollection createCollection( public static class ListLocationsPagedResponse extends AbstractPagedListResponse< - ListLocationsRequest, ListLocationsResponse, Location, ListLocationsPage, + ListLocationsRequest, + ListLocationsResponse, + Location, + ListLocationsPage, ListLocationsFixedSizeCollection> { public static ApiFuture createAsync( @@ -4152,7 +4213,10 @@ public ApiFuture createPageAsync( public static class ListLocationsFixedSizeCollection extends AbstractFixedSizeCollection< - ListLocationsRequest, ListLocationsResponse, Location, ListLocationsPage, + ListLocationsRequest, + ListLocationsResponse, + Location, + ListLocationsPage, ListLocationsFixedSizeCollection> { private ListLocationsFixedSizeCollection(List pages, int collectionSize) { diff --git a/owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/DataformSettings.java b/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/DataformSettings.java similarity index 96% rename from owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/DataformSettings.java rename to google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/DataformSettings.java index 163a01e..29c0bda 100644 --- a/owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/DataformSettings.java +++ b/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/DataformSettings.java @@ -35,7 +35,6 @@ import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.dataform.v1beta1.stub.DataformStubSettings; @@ -55,9 +54,9 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (dataform.googleapis.com) and default port (443) are used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • The default service address (dataform.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -185,7 +184,8 @@ public UnaryCallSettings fetchFileD /** Returns the object with the settings used for calls to queryDirectoryContents. */ public PagedCallSettings< - QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, + QueryDirectoryContentsRequest, + QueryDirectoryContentsResponse, QueryDirectoryContentsPagedResponse> queryDirectoryContentsSettings() { return ((DataformStubSettings) getStubSettings()).queryDirectoryContentsSettings(); @@ -228,7 +228,8 @@ public UnaryCallSettings writeFileSettings( /** Returns the object with the settings used for calls to listCompilationResults. */ public PagedCallSettings< - ListCompilationResultsRequest, ListCompilationResultsResponse, + ListCompilationResultsRequest, + ListCompilationResultsResponse, ListCompilationResultsPagedResponse> listCompilationResultsSettings() { return ((DataformStubSettings) getStubSettings()).listCompilationResultsSettings(); @@ -248,7 +249,8 @@ public UnaryCallSettings writeFileSettings( /** Returns the object with the settings used for calls to queryCompilationResultActions. */ public PagedCallSettings< - QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, + QueryCompilationResultActionsRequest, + QueryCompilationResultActionsResponse, QueryCompilationResultActionsPagedResponse> queryCompilationResultActionsSettings() { return ((DataformStubSettings) getStubSettings()).queryCompilationResultActionsSettings(); @@ -256,7 +258,8 @@ public UnaryCallSettings writeFileSettings( /** Returns the object with the settings used for calls to listWorkflowInvocations. */ public PagedCallSettings< - ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, + ListWorkflowInvocationsRequest, + ListWorkflowInvocationsResponse, ListWorkflowInvocationsPagedResponse> listWorkflowInvocationsSettings() { return ((DataformStubSettings) getStubSettings()).listWorkflowInvocationsSettings(); @@ -288,7 +291,8 @@ public UnaryCallSettings writeFileSettings( /** Returns the object with the settings used for calls to queryWorkflowInvocationActions. */ public PagedCallSettings< - QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, + QueryWorkflowInvocationActionsRequest, + QueryWorkflowInvocationActionsResponse, QueryWorkflowInvocationActionsPagedResponse> queryWorkflowInvocationActionsSettings() { return ((DataformStubSettings) getStubSettings()).queryWorkflowInvocationActionsSettings(); @@ -524,7 +528,8 @@ public UnaryCallSettings.Builder pushGitCommitsSet /** Returns the builder for the settings used for calls to queryDirectoryContents. */ public PagedCallSettings.Builder< - QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, + QueryDirectoryContentsRequest, + QueryDirectoryContentsResponse, QueryDirectoryContentsPagedResponse> queryDirectoryContentsSettings() { return getStubSettingsBuilder().queryDirectoryContentsSettings(); @@ -569,7 +574,8 @@ public UnaryCallSettings.Builder writeFileS /** Returns the builder for the settings used for calls to listCompilationResults. */ public PagedCallSettings.Builder< - ListCompilationResultsRequest, ListCompilationResultsResponse, + ListCompilationResultsRequest, + ListCompilationResultsResponse, ListCompilationResultsPagedResponse> listCompilationResultsSettings() { return getStubSettingsBuilder().listCompilationResultsSettings(); @@ -589,7 +595,8 @@ public UnaryCallSettings.Builder writeFileS /** Returns the builder for the settings used for calls to queryCompilationResultActions. */ public PagedCallSettings.Builder< - QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, + QueryCompilationResultActionsRequest, + QueryCompilationResultActionsResponse, QueryCompilationResultActionsPagedResponse> queryCompilationResultActionsSettings() { return getStubSettingsBuilder().queryCompilationResultActionsSettings(); @@ -597,7 +604,8 @@ public UnaryCallSettings.Builder writeFileS /** Returns the builder for the settings used for calls to listWorkflowInvocations. */ public PagedCallSettings.Builder< - ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, + ListWorkflowInvocationsRequest, + ListWorkflowInvocationsResponse, ListWorkflowInvocationsPagedResponse> listWorkflowInvocationsSettings() { return getStubSettingsBuilder().listWorkflowInvocationsSettings(); @@ -629,7 +637,8 @@ public UnaryCallSettings.Builder writeFileS /** Returns the builder for the settings used for calls to queryWorkflowInvocationActions. */ public PagedCallSettings.Builder< - QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, + QueryWorkflowInvocationActionsRequest, + QueryWorkflowInvocationActionsResponse, QueryWorkflowInvocationActionsPagedResponse> queryWorkflowInvocationActionsSettings() { return getStubSettingsBuilder().queryWorkflowInvocationActionsSettings(); diff --git a/owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/gapic_metadata.json b/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/gapic_metadata.json rename to google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/gapic_metadata.json diff --git a/owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/package-info.java b/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/package-info.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/package-info.java rename to google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/package-info.java diff --git a/owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/DataformStub.java b/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/DataformStub.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/DataformStub.java rename to google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/DataformStub.java diff --git a/owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/DataformStubSettings.java b/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/DataformStubSettings.java similarity index 95% rename from owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/DataformStubSettings.java rename to google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/DataformStubSettings.java index ebae867..0ad9497 100644 --- a/owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/DataformStubSettings.java +++ b/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/DataformStubSettings.java @@ -129,9 +129,9 @@ *

The default instance has everything set to sensible defaults: * *

    - *
  • The default service address (dataform.googleapis.com) and default port (443) are used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
  • The default service address (dataform.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. *
* *

The builder of this class is recursive, so contained classes are themselves builders. When @@ -192,7 +192,8 @@ public class DataformStubSettings extends StubSettings { private final UnaryCallSettings fetchFileDiffSettings; private final PagedCallSettings< - QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, + QueryDirectoryContentsRequest, + QueryDirectoryContentsResponse, QueryDirectoryContentsPagedResponse> queryDirectoryContentsSettings; private final UnaryCallSettings @@ -205,7 +206,8 @@ public class DataformStubSettings extends StubSettings { private final UnaryCallSettings moveFileSettings; private final UnaryCallSettings writeFileSettings; private final PagedCallSettings< - ListCompilationResultsRequest, ListCompilationResultsResponse, + ListCompilationResultsRequest, + ListCompilationResultsResponse, ListCompilationResultsPagedResponse> listCompilationResultsSettings; private final UnaryCallSettings @@ -213,11 +215,13 @@ public class DataformStubSettings extends StubSettings { private final UnaryCallSettings createCompilationResultSettings; private final PagedCallSettings< - QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, + QueryCompilationResultActionsRequest, + QueryCompilationResultActionsResponse, QueryCompilationResultActionsPagedResponse> queryCompilationResultActionsSettings; private final PagedCallSettings< - ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, + ListWorkflowInvocationsRequest, + ListWorkflowInvocationsResponse, ListWorkflowInvocationsPagedResponse> listWorkflowInvocationsSettings; private final UnaryCallSettings @@ -229,7 +233,8 @@ public class DataformStubSettings extends StubSettings { private final UnaryCallSettings cancelWorkflowInvocationSettings; private final PagedCallSettings< - QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, + QueryWorkflowInvocationActionsRequest, + QueryWorkflowInvocationActionsResponse, QueryWorkflowInvocationActionsPagedResponse> queryWorkflowInvocationActionsSettings; private final PagedCallSettings< @@ -314,11 +319,13 @@ public Iterable extractResources(ListWorkspacesResponse payload) { }; private static final PagedListDescriptor< - QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, + QueryDirectoryContentsRequest, + QueryDirectoryContentsResponse, QueryDirectoryContentsResponse.DirectoryEntry> QUERY_DIRECTORY_CONTENTS_PAGE_STR_DESC = new PagedListDescriptor< - QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, + QueryDirectoryContentsRequest, + QueryDirectoryContentsResponse, QueryDirectoryContentsResponse.DirectoryEntry>() { @Override public String emptyToken() { @@ -402,11 +409,13 @@ public Iterable extractResources( }; private static final PagedListDescriptor< - QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, + QueryCompilationResultActionsRequest, + QueryCompilationResultActionsResponse, CompilationResultAction> QUERY_COMPILATION_RESULT_ACTIONS_PAGE_STR_DESC = new PagedListDescriptor< - QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, + QueryCompilationResultActionsRequest, + QueryCompilationResultActionsResponse, CompilationResultAction>() { @Override public String emptyToken() { @@ -452,7 +461,8 @@ public Iterable extractResources( ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, WorkflowInvocation> LIST_WORKFLOW_INVOCATIONS_PAGE_STR_DESC = new PagedListDescriptor< - ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, + ListWorkflowInvocationsRequest, + ListWorkflowInvocationsResponse, WorkflowInvocation>() { @Override public String emptyToken() { @@ -493,11 +503,13 @@ public Iterable extractResources( }; private static final PagedListDescriptor< - QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, + QueryWorkflowInvocationActionsRequest, + QueryWorkflowInvocationActionsResponse, WorkflowInvocationAction> QUERY_WORKFLOW_INVOCATION_ACTIONS_PAGE_STR_DESC = new PagedListDescriptor< - QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, + QueryWorkflowInvocationActionsRequest, + QueryWorkflowInvocationActionsResponse, WorkflowInvocationAction>() { @Override public String emptyToken() { @@ -612,11 +624,13 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, + QueryDirectoryContentsRequest, + QueryDirectoryContentsResponse, QueryDirectoryContentsPagedResponse> QUERY_DIRECTORY_CONTENTS_PAGE_STR_FACT = new PagedListResponseFactory< - QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, + QueryDirectoryContentsRequest, + QueryDirectoryContentsResponse, QueryDirectoryContentsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -626,7 +640,8 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, + QueryDirectoryContentsRequest, + QueryDirectoryContentsResponse, QueryDirectoryContentsResponse.DirectoryEntry> pageContext = PageContext.create( @@ -636,11 +651,13 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListCompilationResultsRequest, ListCompilationResultsResponse, + ListCompilationResultsRequest, + ListCompilationResultsResponse, ListCompilationResultsPagedResponse> LIST_COMPILATION_RESULTS_PAGE_STR_FACT = new PagedListResponseFactory< - ListCompilationResultsRequest, ListCompilationResultsResponse, + ListCompilationResultsRequest, + ListCompilationResultsResponse, ListCompilationResultsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -650,7 +667,8 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListCompilationResultsRequest, ListCompilationResultsResponse, + ListCompilationResultsRequest, + ListCompilationResultsResponse, CompilationResult> pageContext = PageContext.create( @@ -660,11 +678,13 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, + QueryCompilationResultActionsRequest, + QueryCompilationResultActionsResponse, QueryCompilationResultActionsPagedResponse> QUERY_COMPILATION_RESULT_ACTIONS_PAGE_STR_FACT = new PagedListResponseFactory< - QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, + QueryCompilationResultActionsRequest, + QueryCompilationResultActionsResponse, QueryCompilationResultActionsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -675,7 +695,8 @@ public ApiFuture getFuturePagedRespo ApiCallContext context, ApiFuture futureResponse) { PageContext< - QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, + QueryCompilationResultActionsRequest, + QueryCompilationResultActionsResponse, CompilationResultAction> pageContext = PageContext.create( @@ -689,11 +710,13 @@ public ApiFuture getFuturePagedRespo }; private static final PagedListResponseFactory< - ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, + ListWorkflowInvocationsRequest, + ListWorkflowInvocationsResponse, ListWorkflowInvocationsPagedResponse> LIST_WORKFLOW_INVOCATIONS_PAGE_STR_FACT = new PagedListResponseFactory< - ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, + ListWorkflowInvocationsRequest, + ListWorkflowInvocationsResponse, ListWorkflowInvocationsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -703,7 +726,8 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, + ListWorkflowInvocationsRequest, + ListWorkflowInvocationsResponse, WorkflowInvocation> pageContext = PageContext.create( @@ -713,11 +737,13 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, + QueryWorkflowInvocationActionsRequest, + QueryWorkflowInvocationActionsResponse, QueryWorkflowInvocationActionsPagedResponse> QUERY_WORKFLOW_INVOCATION_ACTIONS_PAGE_STR_FACT = new PagedListResponseFactory< - QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, + QueryWorkflowInvocationActionsRequest, + QueryWorkflowInvocationActionsResponse, QueryWorkflowInvocationActionsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -729,7 +755,8 @@ public ApiFuture getFuturePagedResp ApiCallContext context, ApiFuture futureResponse) { PageContext< - QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, + QueryWorkflowInvocationActionsRequest, + QueryWorkflowInvocationActionsResponse, WorkflowInvocationAction> pageContext = PageContext.create( @@ -859,7 +886,8 @@ public UnaryCallSettings fetchFileD /** Returns the object with the settings used for calls to queryDirectoryContents. */ public PagedCallSettings< - QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, + QueryDirectoryContentsRequest, + QueryDirectoryContentsResponse, QueryDirectoryContentsPagedResponse> queryDirectoryContentsSettings() { return queryDirectoryContentsSettings; @@ -902,7 +930,8 @@ public UnaryCallSettings writeFileSettings( /** Returns the object with the settings used for calls to listCompilationResults. */ public PagedCallSettings< - ListCompilationResultsRequest, ListCompilationResultsResponse, + ListCompilationResultsRequest, + ListCompilationResultsResponse, ListCompilationResultsPagedResponse> listCompilationResultsSettings() { return listCompilationResultsSettings; @@ -922,7 +951,8 @@ public UnaryCallSettings writeFileSettings( /** Returns the object with the settings used for calls to queryCompilationResultActions. */ public PagedCallSettings< - QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, + QueryCompilationResultActionsRequest, + QueryCompilationResultActionsResponse, QueryCompilationResultActionsPagedResponse> queryCompilationResultActionsSettings() { return queryCompilationResultActionsSettings; @@ -930,7 +960,8 @@ public UnaryCallSettings writeFileSettings( /** Returns the object with the settings used for calls to listWorkflowInvocations. */ public PagedCallSettings< - ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, + ListWorkflowInvocationsRequest, + ListWorkflowInvocationsResponse, ListWorkflowInvocationsPagedResponse> listWorkflowInvocationsSettings() { return listWorkflowInvocationsSettings; @@ -962,7 +993,8 @@ public UnaryCallSettings writeFileSettings( /** Returns the object with the settings used for calls to queryWorkflowInvocationActions. */ public PagedCallSettings< - QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, + QueryWorkflowInvocationActionsRequest, + QueryWorkflowInvocationActionsResponse, QueryWorkflowInvocationActionsPagedResponse> queryWorkflowInvocationActionsSettings() { return queryWorkflowInvocationActionsSettings; @@ -1163,7 +1195,8 @@ public static class Builder extends StubSettings.Builder fetchFileDiffSettings; private final PagedCallSettings.Builder< - QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, + QueryDirectoryContentsRequest, + QueryDirectoryContentsResponse, QueryDirectoryContentsPagedResponse> queryDirectoryContentsSettings; private final UnaryCallSettings.Builder @@ -1176,7 +1209,8 @@ public static class Builder extends StubSettings.Builder moveFileSettings; private final UnaryCallSettings.Builder writeFileSettings; private final PagedCallSettings.Builder< - ListCompilationResultsRequest, ListCompilationResultsResponse, + ListCompilationResultsRequest, + ListCompilationResultsResponse, ListCompilationResultsPagedResponse> listCompilationResultsSettings; private final UnaryCallSettings.Builder @@ -1184,11 +1218,13 @@ public static class Builder extends StubSettings.Builder createCompilationResultSettings; private final PagedCallSettings.Builder< - QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, + QueryCompilationResultActionsRequest, + QueryCompilationResultActionsResponse, QueryCompilationResultActionsPagedResponse> queryCompilationResultActionsSettings; private final PagedCallSettings.Builder< - ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, + ListWorkflowInvocationsRequest, + ListWorkflowInvocationsResponse, ListWorkflowInvocationsPagedResponse> listWorkflowInvocationsSettings; private final UnaryCallSettings.Builder @@ -1200,7 +1236,8 @@ public static class Builder extends StubSettings.Builder cancelWorkflowInvocationSettings; private final PagedCallSettings.Builder< - QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, + QueryWorkflowInvocationActionsRequest, + QueryWorkflowInvocationActionsResponse, QueryWorkflowInvocationActionsPagedResponse> queryWorkflowInvocationActionsSettings; private final PagedCallSettings.Builder< @@ -1747,7 +1784,8 @@ public UnaryCallSettings.Builder pushGitCommitsSet /** Returns the builder for the settings used for calls to queryDirectoryContents. */ public PagedCallSettings.Builder< - QueryDirectoryContentsRequest, QueryDirectoryContentsResponse, + QueryDirectoryContentsRequest, + QueryDirectoryContentsResponse, QueryDirectoryContentsPagedResponse> queryDirectoryContentsSettings() { return queryDirectoryContentsSettings; @@ -1792,7 +1830,8 @@ public UnaryCallSettings.Builder writeFileS /** Returns the builder for the settings used for calls to listCompilationResults. */ public PagedCallSettings.Builder< - ListCompilationResultsRequest, ListCompilationResultsResponse, + ListCompilationResultsRequest, + ListCompilationResultsResponse, ListCompilationResultsPagedResponse> listCompilationResultsSettings() { return listCompilationResultsSettings; @@ -1812,7 +1851,8 @@ public UnaryCallSettings.Builder writeFileS /** Returns the builder for the settings used for calls to queryCompilationResultActions. */ public PagedCallSettings.Builder< - QueryCompilationResultActionsRequest, QueryCompilationResultActionsResponse, + QueryCompilationResultActionsRequest, + QueryCompilationResultActionsResponse, QueryCompilationResultActionsPagedResponse> queryCompilationResultActionsSettings() { return queryCompilationResultActionsSettings; @@ -1820,7 +1860,8 @@ public UnaryCallSettings.Builder writeFileS /** Returns the builder for the settings used for calls to listWorkflowInvocations. */ public PagedCallSettings.Builder< - ListWorkflowInvocationsRequest, ListWorkflowInvocationsResponse, + ListWorkflowInvocationsRequest, + ListWorkflowInvocationsResponse, ListWorkflowInvocationsPagedResponse> listWorkflowInvocationsSettings() { return listWorkflowInvocationsSettings; @@ -1852,7 +1893,8 @@ public UnaryCallSettings.Builder writeFileS /** Returns the builder for the settings used for calls to queryWorkflowInvocationActions. */ public PagedCallSettings.Builder< - QueryWorkflowInvocationActionsRequest, QueryWorkflowInvocationActionsResponse, + QueryWorkflowInvocationActionsRequest, + QueryWorkflowInvocationActionsResponse, QueryWorkflowInvocationActionsPagedResponse> queryWorkflowInvocationActionsSettings() { return queryWorkflowInvocationActionsSettings; diff --git a/owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/GrpcDataformCallableFactory.java b/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/GrpcDataformCallableFactory.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/GrpcDataformCallableFactory.java rename to google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/GrpcDataformCallableFactory.java diff --git a/owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/GrpcDataformStub.java b/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/GrpcDataformStub.java similarity index 99% rename from owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/GrpcDataformStub.java rename to google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/GrpcDataformStub.java index 3176270..aaac507 100644 --- a/owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/GrpcDataformStub.java +++ b/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/GrpcDataformStub.java @@ -99,7 +99,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/HttpJsonDataformCallableFactory.java b/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/HttpJsonDataformCallableFactory.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/HttpJsonDataformCallableFactory.java rename to google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/HttpJsonDataformCallableFactory.java diff --git a/owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/HttpJsonDataformStub.java b/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/HttpJsonDataformStub.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/HttpJsonDataformStub.java rename to google-cloud-dataform/src/main/java/com/google/cloud/dataform/v1beta1/stub/HttpJsonDataformStub.java diff --git a/owl-bot-staging/v1alpha2/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/DataformClientHttpJsonTest.java b/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/DataformClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/v1alpha2/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/DataformClientHttpJsonTest.java rename to google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/DataformClientHttpJsonTest.java diff --git a/owl-bot-staging/v1alpha2/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/DataformClientTest.java b/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/DataformClientTest.java similarity index 100% rename from owl-bot-staging/v1alpha2/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/DataformClientTest.java rename to google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/DataformClientTest.java diff --git a/owl-bot-staging/v1alpha2/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/MockDataform.java b/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/MockDataform.java similarity index 100% rename from owl-bot-staging/v1alpha2/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/MockDataform.java rename to google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/MockDataform.java diff --git a/owl-bot-staging/v1alpha2/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/MockDataformImpl.java b/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/MockDataformImpl.java similarity index 100% rename from owl-bot-staging/v1alpha2/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/MockDataformImpl.java rename to google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/MockDataformImpl.java diff --git a/owl-bot-staging/v1alpha2/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/MockIAMPolicy.java b/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/MockIAMPolicy.java similarity index 100% rename from owl-bot-staging/v1alpha2/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/MockIAMPolicy.java rename to google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/MockIAMPolicy.java diff --git a/owl-bot-staging/v1alpha2/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/MockIAMPolicyImpl.java b/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/MockIAMPolicyImpl.java similarity index 100% rename from owl-bot-staging/v1alpha2/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/MockIAMPolicyImpl.java rename to google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/MockIAMPolicyImpl.java diff --git a/owl-bot-staging/v1alpha2/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/MockLocations.java b/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/MockLocations.java similarity index 100% rename from owl-bot-staging/v1alpha2/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/MockLocations.java rename to google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/MockLocations.java diff --git a/owl-bot-staging/v1alpha2/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/MockLocationsImpl.java b/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/MockLocationsImpl.java similarity index 100% rename from owl-bot-staging/v1alpha2/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/MockLocationsImpl.java rename to google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1alpha2/MockLocationsImpl.java diff --git a/owl-bot-staging/v1beta1/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/DataformClientHttpJsonTest.java b/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/DataformClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/DataformClientHttpJsonTest.java rename to google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/DataformClientHttpJsonTest.java diff --git a/owl-bot-staging/v1beta1/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/DataformClientTest.java b/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/DataformClientTest.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/DataformClientTest.java rename to google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/DataformClientTest.java diff --git a/owl-bot-staging/v1beta1/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/MockDataform.java b/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/MockDataform.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/MockDataform.java rename to google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/MockDataform.java diff --git a/owl-bot-staging/v1beta1/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/MockDataformImpl.java b/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/MockDataformImpl.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/MockDataformImpl.java rename to google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/MockDataformImpl.java diff --git a/owl-bot-staging/v1beta1/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/MockIAMPolicy.java b/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/MockIAMPolicy.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/MockIAMPolicy.java rename to google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/MockIAMPolicy.java diff --git a/owl-bot-staging/v1beta1/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/MockIAMPolicyImpl.java b/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/MockIAMPolicyImpl.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/MockIAMPolicyImpl.java rename to google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/MockIAMPolicyImpl.java diff --git a/owl-bot-staging/v1beta1/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/MockLocations.java b/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/MockLocations.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/MockLocations.java rename to google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/MockLocations.java diff --git a/owl-bot-staging/v1beta1/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/MockLocationsImpl.java b/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/MockLocationsImpl.java similarity index 100% rename from owl-bot-staging/v1beta1/google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/MockLocationsImpl.java rename to google-cloud-dataform/src/test/java/com/google/cloud/dataform/v1beta1/MockLocationsImpl.java diff --git a/grpc-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DataformGrpc.java b/grpc-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DataformGrpc.java new file mode 100644 index 0000000..539404f --- /dev/null +++ b/grpc-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DataformGrpc.java @@ -0,0 +1,4569 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.dataform.v1alpha2; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *

+ * Dataform is a service to develop, create, document, test, and update curated
+ * tables in BigQuery.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/dataform/v1alpha2/dataform.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class DataformGrpc { + + private DataformGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.dataform.v1alpha2.Dataform"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest, + com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse> + getListRepositoriesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListRepositories", + requestType = com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest.class, + responseType = com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest, + com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse> + getListRepositoriesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest, + com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse> + getListRepositoriesMethod; + if ((getListRepositoriesMethod = DataformGrpc.getListRepositoriesMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getListRepositoriesMethod = DataformGrpc.getListRepositoriesMethod) == null) { + DataformGrpc.getListRepositoriesMethod = + getListRepositoriesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRepositories")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse + .getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("ListRepositories")) + .build(); + } + } + } + return getListRepositoriesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.GetRepositoryRequest, + com.google.cloud.dataform.v1alpha2.Repository> + getGetRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetRepository", + requestType = com.google.cloud.dataform.v1alpha2.GetRepositoryRequest.class, + responseType = com.google.cloud.dataform.v1alpha2.Repository.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.GetRepositoryRequest, + com.google.cloud.dataform.v1alpha2.Repository> + getGetRepositoryMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.GetRepositoryRequest, + com.google.cloud.dataform.v1alpha2.Repository> + getGetRepositoryMethod; + if ((getGetRepositoryMethod = DataformGrpc.getGetRepositoryMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getGetRepositoryMethod = DataformGrpc.getGetRepositoryMethod) == null) { + DataformGrpc.getGetRepositoryMethod = + getGetRepositoryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.GetRepositoryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.Repository.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("GetRepository")) + .build(); + } + } + } + return getGetRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest, + com.google.cloud.dataform.v1alpha2.Repository> + getCreateRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateRepository", + requestType = com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest.class, + responseType = com.google.cloud.dataform.v1alpha2.Repository.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest, + com.google.cloud.dataform.v1alpha2.Repository> + getCreateRepositoryMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest, + com.google.cloud.dataform.v1alpha2.Repository> + getCreateRepositoryMethod; + if ((getCreateRepositoryMethod = DataformGrpc.getCreateRepositoryMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getCreateRepositoryMethod = DataformGrpc.getCreateRepositoryMethod) == null) { + DataformGrpc.getCreateRepositoryMethod = + getCreateRepositoryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.Repository.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("CreateRepository")) + .build(); + } + } + } + return getCreateRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest, + com.google.cloud.dataform.v1alpha2.Repository> + getUpdateRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateRepository", + requestType = com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest.class, + responseType = com.google.cloud.dataform.v1alpha2.Repository.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest, + com.google.cloud.dataform.v1alpha2.Repository> + getUpdateRepositoryMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest, + com.google.cloud.dataform.v1alpha2.Repository> + getUpdateRepositoryMethod; + if ((getUpdateRepositoryMethod = DataformGrpc.getUpdateRepositoryMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getUpdateRepositoryMethod = DataformGrpc.getUpdateRepositoryMethod) == null) { + DataformGrpc.getUpdateRepositoryMethod = + getUpdateRepositoryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.Repository.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("UpdateRepository")) + .build(); + } + } + } + return getUpdateRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest, com.google.protobuf.Empty> + getDeleteRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteRepository", + requestType = com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest, com.google.protobuf.Empty> + getDeleteRepositoryMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest, com.google.protobuf.Empty> + getDeleteRepositoryMethod; + if ((getDeleteRepositoryMethod = DataformGrpc.getDeleteRepositoryMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getDeleteRepositoryMethod = DataformGrpc.getDeleteRepositoryMethod) == null) { + DataformGrpc.getDeleteRepositoryMethod = + getDeleteRepositoryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("DeleteRepository")) + .build(); + } + } + } + return getDeleteRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest, + com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse> + getFetchRemoteBranchesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "FetchRemoteBranches", + requestType = com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest.class, + responseType = com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest, + com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse> + getFetchRemoteBranchesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest, + com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse> + getFetchRemoteBranchesMethod; + if ((getFetchRemoteBranchesMethod = DataformGrpc.getFetchRemoteBranchesMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getFetchRemoteBranchesMethod = DataformGrpc.getFetchRemoteBranchesMethod) == null) { + DataformGrpc.getFetchRemoteBranchesMethod = + getFetchRemoteBranchesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "FetchRemoteBranches")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DataformMethodDescriptorSupplier("FetchRemoteBranches")) + .build(); + } + } + } + return getFetchRemoteBranchesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest, + com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse> + getListWorkspacesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListWorkspaces", + requestType = com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest.class, + responseType = com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest, + com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse> + getListWorkspacesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest, + com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse> + getListWorkspacesMethod; + if ((getListWorkspacesMethod = DataformGrpc.getListWorkspacesMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getListWorkspacesMethod = DataformGrpc.getListWorkspacesMethod) == null) { + DataformGrpc.getListWorkspacesMethod = + getListWorkspacesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListWorkspaces")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse + .getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("ListWorkspaces")) + .build(); + } + } + } + return getListWorkspacesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest, + com.google.cloud.dataform.v1alpha2.Workspace> + getGetWorkspaceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetWorkspace", + requestType = com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest.class, + responseType = com.google.cloud.dataform.v1alpha2.Workspace.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest, + com.google.cloud.dataform.v1alpha2.Workspace> + getGetWorkspaceMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest, + com.google.cloud.dataform.v1alpha2.Workspace> + getGetWorkspaceMethod; + if ((getGetWorkspaceMethod = DataformGrpc.getGetWorkspaceMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getGetWorkspaceMethod = DataformGrpc.getGetWorkspaceMethod) == null) { + DataformGrpc.getGetWorkspaceMethod = + getGetWorkspaceMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetWorkspace")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.Workspace.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("GetWorkspace")) + .build(); + } + } + } + return getGetWorkspaceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest, + com.google.cloud.dataform.v1alpha2.Workspace> + getCreateWorkspaceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateWorkspace", + requestType = com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest.class, + responseType = com.google.cloud.dataform.v1alpha2.Workspace.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest, + com.google.cloud.dataform.v1alpha2.Workspace> + getCreateWorkspaceMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest, + com.google.cloud.dataform.v1alpha2.Workspace> + getCreateWorkspaceMethod; + if ((getCreateWorkspaceMethod = DataformGrpc.getCreateWorkspaceMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getCreateWorkspaceMethod = DataformGrpc.getCreateWorkspaceMethod) == null) { + DataformGrpc.getCreateWorkspaceMethod = + getCreateWorkspaceMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateWorkspace")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.Workspace.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("CreateWorkspace")) + .build(); + } + } + } + return getCreateWorkspaceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest, com.google.protobuf.Empty> + getDeleteWorkspaceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteWorkspace", + requestType = com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest, com.google.protobuf.Empty> + getDeleteWorkspaceMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest, com.google.protobuf.Empty> + getDeleteWorkspaceMethod; + if ((getDeleteWorkspaceMethod = DataformGrpc.getDeleteWorkspaceMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getDeleteWorkspaceMethod = DataformGrpc.getDeleteWorkspaceMethod) == null) { + DataformGrpc.getDeleteWorkspaceMethod = + getDeleteWorkspaceMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteWorkspace")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("DeleteWorkspace")) + .build(); + } + } + } + return getDeleteWorkspaceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest, + com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse> + getInstallNpmPackagesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "InstallNpmPackages", + requestType = com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest.class, + responseType = com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest, + com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse> + getInstallNpmPackagesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest, + com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse> + getInstallNpmPackagesMethod; + if ((getInstallNpmPackagesMethod = DataformGrpc.getInstallNpmPackagesMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getInstallNpmPackagesMethod = DataformGrpc.getInstallNpmPackagesMethod) == null) { + DataformGrpc.getInstallNpmPackagesMethod = + getInstallNpmPackagesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "InstallNpmPackages")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DataformMethodDescriptorSupplier("InstallNpmPackages")) + .build(); + } + } + } + return getInstallNpmPackagesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest, com.google.protobuf.Empty> + getPullGitCommitsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "PullGitCommits", + requestType = com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest, com.google.protobuf.Empty> + getPullGitCommitsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest, com.google.protobuf.Empty> + getPullGitCommitsMethod; + if ((getPullGitCommitsMethod = DataformGrpc.getPullGitCommitsMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getPullGitCommitsMethod = DataformGrpc.getPullGitCommitsMethod) == null) { + DataformGrpc.getPullGitCommitsMethod = + getPullGitCommitsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PullGitCommits")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("PullGitCommits")) + .build(); + } + } + } + return getPullGitCommitsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest, com.google.protobuf.Empty> + getPushGitCommitsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "PushGitCommits", + requestType = com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest, com.google.protobuf.Empty> + getPushGitCommitsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest, com.google.protobuf.Empty> + getPushGitCommitsMethod; + if ((getPushGitCommitsMethod = DataformGrpc.getPushGitCommitsMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getPushGitCommitsMethod = DataformGrpc.getPushGitCommitsMethod) == null) { + DataformGrpc.getPushGitCommitsMethod = + getPushGitCommitsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PushGitCommits")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("PushGitCommits")) + .build(); + } + } + } + return getPushGitCommitsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest, + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse> + getFetchFileGitStatusesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "FetchFileGitStatuses", + requestType = com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest.class, + responseType = com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest, + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse> + getFetchFileGitStatusesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest, + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse> + getFetchFileGitStatusesMethod; + if ((getFetchFileGitStatusesMethod = DataformGrpc.getFetchFileGitStatusesMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getFetchFileGitStatusesMethod = DataformGrpc.getFetchFileGitStatusesMethod) == null) { + DataformGrpc.getFetchFileGitStatusesMethod = + getFetchFileGitStatusesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "FetchFileGitStatuses")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DataformMethodDescriptorSupplier("FetchFileGitStatuses")) + .build(); + } + } + } + return getFetchFileGitStatusesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest, + com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse> + getFetchGitAheadBehindMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "FetchGitAheadBehind", + requestType = com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest.class, + responseType = com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest, + com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse> + getFetchGitAheadBehindMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest, + com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse> + getFetchGitAheadBehindMethod; + if ((getFetchGitAheadBehindMethod = DataformGrpc.getFetchGitAheadBehindMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getFetchGitAheadBehindMethod = DataformGrpc.getFetchGitAheadBehindMethod) == null) { + DataformGrpc.getFetchGitAheadBehindMethod = + getFetchGitAheadBehindMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "FetchGitAheadBehind")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DataformMethodDescriptorSupplier("FetchGitAheadBehind")) + .build(); + } + } + } + return getFetchGitAheadBehindMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest, + com.google.protobuf.Empty> + getCommitWorkspaceChangesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CommitWorkspaceChanges", + requestType = com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest, + com.google.protobuf.Empty> + getCommitWorkspaceChangesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest, + com.google.protobuf.Empty> + getCommitWorkspaceChangesMethod; + if ((getCommitWorkspaceChangesMethod = DataformGrpc.getCommitWorkspaceChangesMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getCommitWorkspaceChangesMethod = DataformGrpc.getCommitWorkspaceChangesMethod) + == null) { + DataformGrpc.getCommitWorkspaceChangesMethod = + getCommitWorkspaceChangesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CommitWorkspaceChanges")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new DataformMethodDescriptorSupplier("CommitWorkspaceChanges")) + .build(); + } + } + } + return getCommitWorkspaceChangesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest, + com.google.protobuf.Empty> + getResetWorkspaceChangesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ResetWorkspaceChanges", + requestType = com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest, + com.google.protobuf.Empty> + getResetWorkspaceChangesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest, + com.google.protobuf.Empty> + getResetWorkspaceChangesMethod; + if ((getResetWorkspaceChangesMethod = DataformGrpc.getResetWorkspaceChangesMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getResetWorkspaceChangesMethod = DataformGrpc.getResetWorkspaceChangesMethod) + == null) { + DataformGrpc.getResetWorkspaceChangesMethod = + getResetWorkspaceChangesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ResetWorkspaceChanges")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new DataformMethodDescriptorSupplier("ResetWorkspaceChanges")) + .build(); + } + } + } + return getResetWorkspaceChangesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest, + com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse> + getFetchFileDiffMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "FetchFileDiff", + requestType = com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest.class, + responseType = com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest, + com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse> + getFetchFileDiffMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest, + com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse> + getFetchFileDiffMethod; + if ((getFetchFileDiffMethod = DataformGrpc.getFetchFileDiffMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getFetchFileDiffMethod = DataformGrpc.getFetchFileDiffMethod) == null) { + DataformGrpc.getFetchFileDiffMethod = + getFetchFileDiffMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FetchFileDiff")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse + .getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("FetchFileDiff")) + .build(); + } + } + } + return getFetchFileDiffMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest, + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse> + getQueryDirectoryContentsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "QueryDirectoryContents", + requestType = com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest.class, + responseType = com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest, + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse> + getQueryDirectoryContentsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest, + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse> + getQueryDirectoryContentsMethod; + if ((getQueryDirectoryContentsMethod = DataformGrpc.getQueryDirectoryContentsMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getQueryDirectoryContentsMethod = DataformGrpc.getQueryDirectoryContentsMethod) + == null) { + DataformGrpc.getQueryDirectoryContentsMethod = + getQueryDirectoryContentsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "QueryDirectoryContents")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DataformMethodDescriptorSupplier("QueryDirectoryContents")) + .build(); + } + } + } + return getQueryDirectoryContentsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest, + com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse> + getMakeDirectoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "MakeDirectory", + requestType = com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest.class, + responseType = com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest, + com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse> + getMakeDirectoryMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest, + com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse> + getMakeDirectoryMethod; + if ((getMakeDirectoryMethod = DataformGrpc.getMakeDirectoryMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getMakeDirectoryMethod = DataformGrpc.getMakeDirectoryMethod) == null) { + DataformGrpc.getMakeDirectoryMethod = + getMakeDirectoryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "MakeDirectory")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse + .getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("MakeDirectory")) + .build(); + } + } + } + return getMakeDirectoryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest, com.google.protobuf.Empty> + getRemoveDirectoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RemoveDirectory", + requestType = com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest, com.google.protobuf.Empty> + getRemoveDirectoryMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest, com.google.protobuf.Empty> + getRemoveDirectoryMethod; + if ((getRemoveDirectoryMethod = DataformGrpc.getRemoveDirectoryMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getRemoveDirectoryMethod = DataformGrpc.getRemoveDirectoryMethod) == null) { + DataformGrpc.getRemoveDirectoryMethod = + getRemoveDirectoryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RemoveDirectory")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("RemoveDirectory")) + .build(); + } + } + } + return getRemoveDirectoryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest, + com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse> + getMoveDirectoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "MoveDirectory", + requestType = com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest.class, + responseType = com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest, + com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse> + getMoveDirectoryMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest, + com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse> + getMoveDirectoryMethod; + if ((getMoveDirectoryMethod = DataformGrpc.getMoveDirectoryMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getMoveDirectoryMethod = DataformGrpc.getMoveDirectoryMethod) == null) { + DataformGrpc.getMoveDirectoryMethod = + getMoveDirectoryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "MoveDirectory")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse + .getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("MoveDirectory")) + .build(); + } + } + } + return getMoveDirectoryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.ReadFileRequest, + com.google.cloud.dataform.v1alpha2.ReadFileResponse> + getReadFileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ReadFile", + requestType = com.google.cloud.dataform.v1alpha2.ReadFileRequest.class, + responseType = com.google.cloud.dataform.v1alpha2.ReadFileResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.ReadFileRequest, + com.google.cloud.dataform.v1alpha2.ReadFileResponse> + getReadFileMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.ReadFileRequest, + com.google.cloud.dataform.v1alpha2.ReadFileResponse> + getReadFileMethod; + if ((getReadFileMethod = DataformGrpc.getReadFileMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getReadFileMethod = DataformGrpc.getReadFileMethod) == null) { + DataformGrpc.getReadFileMethod = + getReadFileMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReadFile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.ReadFileRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.ReadFileResponse + .getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("ReadFile")) + .build(); + } + } + } + return getReadFileMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.RemoveFileRequest, com.google.protobuf.Empty> + getRemoveFileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RemoveFile", + requestType = com.google.cloud.dataform.v1alpha2.RemoveFileRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.RemoveFileRequest, com.google.protobuf.Empty> + getRemoveFileMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.RemoveFileRequest, com.google.protobuf.Empty> + getRemoveFileMethod; + if ((getRemoveFileMethod = DataformGrpc.getRemoveFileMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getRemoveFileMethod = DataformGrpc.getRemoveFileMethod) == null) { + DataformGrpc.getRemoveFileMethod = + getRemoveFileMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RemoveFile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.RemoveFileRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("RemoveFile")) + .build(); + } + } + } + return getRemoveFileMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.MoveFileRequest, + com.google.cloud.dataform.v1alpha2.MoveFileResponse> + getMoveFileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "MoveFile", + requestType = com.google.cloud.dataform.v1alpha2.MoveFileRequest.class, + responseType = com.google.cloud.dataform.v1alpha2.MoveFileResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.MoveFileRequest, + com.google.cloud.dataform.v1alpha2.MoveFileResponse> + getMoveFileMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.MoveFileRequest, + com.google.cloud.dataform.v1alpha2.MoveFileResponse> + getMoveFileMethod; + if ((getMoveFileMethod = DataformGrpc.getMoveFileMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getMoveFileMethod = DataformGrpc.getMoveFileMethod) == null) { + DataformGrpc.getMoveFileMethod = + getMoveFileMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "MoveFile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.MoveFileRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.MoveFileResponse + .getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("MoveFile")) + .build(); + } + } + } + return getMoveFileMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.WriteFileRequest, + com.google.cloud.dataform.v1alpha2.WriteFileResponse> + getWriteFileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "WriteFile", + requestType = com.google.cloud.dataform.v1alpha2.WriteFileRequest.class, + responseType = com.google.cloud.dataform.v1alpha2.WriteFileResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.WriteFileRequest, + com.google.cloud.dataform.v1alpha2.WriteFileResponse> + getWriteFileMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.WriteFileRequest, + com.google.cloud.dataform.v1alpha2.WriteFileResponse> + getWriteFileMethod; + if ((getWriteFileMethod = DataformGrpc.getWriteFileMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getWriteFileMethod = DataformGrpc.getWriteFileMethod) == null) { + DataformGrpc.getWriteFileMethod = + getWriteFileMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "WriteFile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.WriteFileRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.WriteFileResponse + .getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("WriteFile")) + .build(); + } + } + } + return getWriteFileMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest, + com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse> + getListCompilationResultsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListCompilationResults", + requestType = com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest.class, + responseType = com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest, + com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse> + getListCompilationResultsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest, + com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse> + getListCompilationResultsMethod; + if ((getListCompilationResultsMethod = DataformGrpc.getListCompilationResultsMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getListCompilationResultsMethod = DataformGrpc.getListCompilationResultsMethod) + == null) { + DataformGrpc.getListCompilationResultsMethod = + getListCompilationResultsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListCompilationResults")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DataformMethodDescriptorSupplier("ListCompilationResults")) + .build(); + } + } + } + return getListCompilationResultsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest, + com.google.cloud.dataform.v1alpha2.CompilationResult> + getGetCompilationResultMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetCompilationResult", + requestType = com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest.class, + responseType = com.google.cloud.dataform.v1alpha2.CompilationResult.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest, + com.google.cloud.dataform.v1alpha2.CompilationResult> + getGetCompilationResultMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest, + com.google.cloud.dataform.v1alpha2.CompilationResult> + getGetCompilationResultMethod; + if ((getGetCompilationResultMethod = DataformGrpc.getGetCompilationResultMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getGetCompilationResultMethod = DataformGrpc.getGetCompilationResultMethod) == null) { + DataformGrpc.getGetCompilationResultMethod = + getGetCompilationResultMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetCompilationResult")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.CompilationResult + .getDefaultInstance())) + .setSchemaDescriptor( + new DataformMethodDescriptorSupplier("GetCompilationResult")) + .build(); + } + } + } + return getGetCompilationResultMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest, + com.google.cloud.dataform.v1alpha2.CompilationResult> + getCreateCompilationResultMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateCompilationResult", + requestType = com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest.class, + responseType = com.google.cloud.dataform.v1alpha2.CompilationResult.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest, + com.google.cloud.dataform.v1alpha2.CompilationResult> + getCreateCompilationResultMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest, + com.google.cloud.dataform.v1alpha2.CompilationResult> + getCreateCompilationResultMethod; + if ((getCreateCompilationResultMethod = DataformGrpc.getCreateCompilationResultMethod) + == null) { + synchronized (DataformGrpc.class) { + if ((getCreateCompilationResultMethod = DataformGrpc.getCreateCompilationResultMethod) + == null) { + DataformGrpc.getCreateCompilationResultMethod = + getCreateCompilationResultMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateCompilationResult")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.CompilationResult + .getDefaultInstance())) + .setSchemaDescriptor( + new DataformMethodDescriptorSupplier("CreateCompilationResult")) + .build(); + } + } + } + return getCreateCompilationResultMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest, + com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse> + getQueryCompilationResultActionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "QueryCompilationResultActions", + requestType = com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest.class, + responseType = com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest, + com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse> + getQueryCompilationResultActionsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest, + com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse> + getQueryCompilationResultActionsMethod; + if ((getQueryCompilationResultActionsMethod = + DataformGrpc.getQueryCompilationResultActionsMethod) + == null) { + synchronized (DataformGrpc.class) { + if ((getQueryCompilationResultActionsMethod = + DataformGrpc.getQueryCompilationResultActionsMethod) + == null) { + DataformGrpc.getQueryCompilationResultActionsMethod = + getQueryCompilationResultActionsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "QueryCompilationResultActions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2 + .QueryCompilationResultActionsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2 + .QueryCompilationResultActionsResponse.getDefaultInstance())) + .setSchemaDescriptor( + new DataformMethodDescriptorSupplier("QueryCompilationResultActions")) + .build(); + } + } + } + return getQueryCompilationResultActionsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest, + com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse> + getListWorkflowInvocationsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListWorkflowInvocations", + requestType = com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest.class, + responseType = com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest, + com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse> + getListWorkflowInvocationsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest, + com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse> + getListWorkflowInvocationsMethod; + if ((getListWorkflowInvocationsMethod = DataformGrpc.getListWorkflowInvocationsMethod) + == null) { + synchronized (DataformGrpc.class) { + if ((getListWorkflowInvocationsMethod = DataformGrpc.getListWorkflowInvocationsMethod) + == null) { + DataformGrpc.getListWorkflowInvocationsMethod = + getListWorkflowInvocationsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListWorkflowInvocations")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DataformMethodDescriptorSupplier("ListWorkflowInvocations")) + .build(); + } + } + } + return getListWorkflowInvocationsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest, + com.google.cloud.dataform.v1alpha2.WorkflowInvocation> + getGetWorkflowInvocationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetWorkflowInvocation", + requestType = com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest.class, + responseType = com.google.cloud.dataform.v1alpha2.WorkflowInvocation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest, + com.google.cloud.dataform.v1alpha2.WorkflowInvocation> + getGetWorkflowInvocationMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest, + com.google.cloud.dataform.v1alpha2.WorkflowInvocation> + getGetWorkflowInvocationMethod; + if ((getGetWorkflowInvocationMethod = DataformGrpc.getGetWorkflowInvocationMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getGetWorkflowInvocationMethod = DataformGrpc.getGetWorkflowInvocationMethod) + == null) { + DataformGrpc.getGetWorkflowInvocationMethod = + getGetWorkflowInvocationMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetWorkflowInvocation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.WorkflowInvocation + .getDefaultInstance())) + .setSchemaDescriptor( + new DataformMethodDescriptorSupplier("GetWorkflowInvocation")) + .build(); + } + } + } + return getGetWorkflowInvocationMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest, + com.google.cloud.dataform.v1alpha2.WorkflowInvocation> + getCreateWorkflowInvocationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateWorkflowInvocation", + requestType = com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest.class, + responseType = com.google.cloud.dataform.v1alpha2.WorkflowInvocation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest, + com.google.cloud.dataform.v1alpha2.WorkflowInvocation> + getCreateWorkflowInvocationMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest, + com.google.cloud.dataform.v1alpha2.WorkflowInvocation> + getCreateWorkflowInvocationMethod; + if ((getCreateWorkflowInvocationMethod = DataformGrpc.getCreateWorkflowInvocationMethod) + == null) { + synchronized (DataformGrpc.class) { + if ((getCreateWorkflowInvocationMethod = DataformGrpc.getCreateWorkflowInvocationMethod) + == null) { + DataformGrpc.getCreateWorkflowInvocationMethod = + getCreateWorkflowInvocationMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateWorkflowInvocation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.WorkflowInvocation + .getDefaultInstance())) + .setSchemaDescriptor( + new DataformMethodDescriptorSupplier("CreateWorkflowInvocation")) + .build(); + } + } + } + return getCreateWorkflowInvocationMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest, + com.google.protobuf.Empty> + getDeleteWorkflowInvocationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteWorkflowInvocation", + requestType = com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest, + com.google.protobuf.Empty> + getDeleteWorkflowInvocationMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest, + com.google.protobuf.Empty> + getDeleteWorkflowInvocationMethod; + if ((getDeleteWorkflowInvocationMethod = DataformGrpc.getDeleteWorkflowInvocationMethod) + == null) { + synchronized (DataformGrpc.class) { + if ((getDeleteWorkflowInvocationMethod = DataformGrpc.getDeleteWorkflowInvocationMethod) + == null) { + DataformGrpc.getDeleteWorkflowInvocationMethod = + getDeleteWorkflowInvocationMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteWorkflowInvocation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new DataformMethodDescriptorSupplier("DeleteWorkflowInvocation")) + .build(); + } + } + } + return getDeleteWorkflowInvocationMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest, + com.google.protobuf.Empty> + getCancelWorkflowInvocationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CancelWorkflowInvocation", + requestType = com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest, + com.google.protobuf.Empty> + getCancelWorkflowInvocationMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest, + com.google.protobuf.Empty> + getCancelWorkflowInvocationMethod; + if ((getCancelWorkflowInvocationMethod = DataformGrpc.getCancelWorkflowInvocationMethod) + == null) { + synchronized (DataformGrpc.class) { + if ((getCancelWorkflowInvocationMethod = DataformGrpc.getCancelWorkflowInvocationMethod) + == null) { + DataformGrpc.getCancelWorkflowInvocationMethod = + getCancelWorkflowInvocationMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CancelWorkflowInvocation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new DataformMethodDescriptorSupplier("CancelWorkflowInvocation")) + .build(); + } + } + } + return getCancelWorkflowInvocationMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest, + com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse> + getQueryWorkflowInvocationActionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "QueryWorkflowInvocationActions", + requestType = com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest.class, + responseType = + com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest, + com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse> + getQueryWorkflowInvocationActionsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest, + com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse> + getQueryWorkflowInvocationActionsMethod; + if ((getQueryWorkflowInvocationActionsMethod = + DataformGrpc.getQueryWorkflowInvocationActionsMethod) + == null) { + synchronized (DataformGrpc.class) { + if ((getQueryWorkflowInvocationActionsMethod = + DataformGrpc.getQueryWorkflowInvocationActionsMethod) + == null) { + DataformGrpc.getQueryWorkflowInvocationActionsMethod = + getQueryWorkflowInvocationActionsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "QueryWorkflowInvocationActions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2 + .QueryWorkflowInvocationActionsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1alpha2 + .QueryWorkflowInvocationActionsResponse.getDefaultInstance())) + .setSchemaDescriptor( + new DataformMethodDescriptorSupplier("QueryWorkflowInvocationActions")) + .build(); + } + } + } + return getQueryWorkflowInvocationActionsMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static DataformStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataformStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataformStub(channel, callOptions); + } + }; + return DataformStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static DataformBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataformBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataformBlockingStub(channel, callOptions); + } + }; + return DataformBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static DataformFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataformFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataformFutureStub(channel, callOptions); + } + }; + return DataformFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * Dataform is a service to develop, create, document, test, and update curated
+   * tables in BigQuery.
+   * 
+ */ + public abstract static class DataformImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Lists Repositories in a given project and location.
+     * 
+ */ + public void listRepositories( + com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListRepositoriesMethod(), responseObserver); + } + + /** + * + * + *
+     * Fetches a single Repository.
+     * 
+ */ + public void getRepository( + com.google.cloud.dataform.v1alpha2.GetRepositoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetRepositoryMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new Repository in a given project and location.
+     * 
+ */ + public void createRepository( + com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateRepositoryMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a single Repository.
+     * 
+ */ + public void updateRepository( + com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateRepositoryMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a single Repository.
+     * 
+ */ + public void deleteRepository( + com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteRepositoryMethod(), responseObserver); + } + + /** + * + * + *
+     * Fetches a Repository's remote branches.
+     * 
+ */ + public void fetchRemoteBranches( + com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getFetchRemoteBranchesMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists Workspaces in a given Repository.
+     * 
+ */ + public void listWorkspaces( + com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListWorkspacesMethod(), responseObserver); + } + + /** + * + * + *
+     * Fetches a single Workspace.
+     * 
+ */ + public void getWorkspace( + com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetWorkspaceMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new Workspace in a given Repository.
+     * 
+ */ + public void createWorkspace( + com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateWorkspaceMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a single Workspace.
+     * 
+ */ + public void deleteWorkspace( + com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteWorkspaceMethod(), responseObserver); + } + + /** + * + * + *
+     * Installs dependency NPM packages (inside a Workspace).
+     * 
+ */ + public void installNpmPackages( + com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getInstallNpmPackagesMethod(), responseObserver); + } + + /** + * + * + *
+     * Pulls Git commits from the Repository's remote into a Workspace.
+     * 
+ */ + public void pullGitCommits( + com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getPullGitCommitsMethod(), responseObserver); + } + + /** + * + * + *
+     * Pushes Git commits from a Workspace to the Repository's remote.
+     * 
+ */ + public void pushGitCommits( + com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getPushGitCommitsMethod(), responseObserver); + } + + /** + * + * + *
+     * Fetches Git statuses for the files in a Workspace.
+     * 
+ */ + public void fetchFileGitStatuses( + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getFetchFileGitStatusesMethod(), responseObserver); + } + + /** + * + * + *
+     * Fetches Git ahead/behind against a remote branch.
+     * 
+ */ + public void fetchGitAheadBehind( + com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getFetchGitAheadBehindMethod(), responseObserver); + } + + /** + * + * + *
+     * Applies a Git commit for uncommitted files in a Workspace.
+     * 
+ */ + public void commitWorkspaceChanges( + com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCommitWorkspaceChangesMethod(), responseObserver); + } + + /** + * + * + *
+     * Performs a Git reset for uncommitted files in a Workspace.
+     * 
+ */ + public void resetWorkspaceChanges( + com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getResetWorkspaceChangesMethod(), responseObserver); + } + + /** + * + * + *
+     * Fetches Git diff for an uncommitted file in a Workspace.
+     * 
+ */ + public void fetchFileDiff( + com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getFetchFileDiffMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns the contents of a given Workspace directory.
+     * 
+ */ + public void queryDirectoryContents( + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getQueryDirectoryContentsMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a directory inside a Workspace.
+     * 
+ */ + public void makeDirectory( + com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getMakeDirectoryMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a directory (inside a Workspace) and all of its contents.
+     * 
+ */ + public void removeDirectory( + com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRemoveDirectoryMethod(), responseObserver); + } + + /** + * + * + *
+     * Moves a directory (inside a Workspace), and all of its contents, to a new
+     * location.
+     * 
+ */ + public void moveDirectory( + com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getMoveDirectoryMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns the contents of a file (inside a Workspace).
+     * 
+ */ + public void readFile( + com.google.cloud.dataform.v1alpha2.ReadFileRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getReadFileMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a file (inside a Workspace).
+     * 
+ */ + public void removeFile( + com.google.cloud.dataform.v1alpha2.RemoveFileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRemoveFileMethod(), responseObserver); + } + + /** + * + * + *
+     * Moves a file (inside a Workspace) to a new location.
+     * 
+ */ + public void moveFile( + com.google.cloud.dataform.v1alpha2.MoveFileRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getMoveFileMethod(), responseObserver); + } + + /** + * + * + *
+     * Writes to a file (inside a Workspace).
+     * 
+ */ + public void writeFile( + com.google.cloud.dataform.v1alpha2.WriteFileRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getWriteFileMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists CompilationResults in a given Repository.
+     * 
+ */ + public void listCompilationResults( + com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListCompilationResultsMethod(), responseObserver); + } + + /** + * + * + *
+     * Fetches a single CompilationResult.
+     * 
+ */ + public void getCompilationResult( + com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetCompilationResultMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new CompilationResult in a given project and location.
+     * 
+ */ + public void createCompilationResult( + com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateCompilationResultMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns CompilationResultActions in a given CompilationResult.
+     * 
+ */ + public void queryCompilationResultActions( + com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getQueryCompilationResultActionsMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists WorkflowInvocations in a given Repository.
+     * 
+ */ + public void listWorkflowInvocations( + com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListWorkflowInvocationsMethod(), responseObserver); + } + + /** + * + * + *
+     * Fetches a single WorkflowInvocation.
+     * 
+ */ + public void getWorkflowInvocation( + com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetWorkflowInvocationMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new WorkflowInvocation in a given Repository.
+     * 
+ */ + public void createWorkflowInvocation( + com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateWorkflowInvocationMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a single WorkflowInvocation.
+     * 
+ */ + public void deleteWorkflowInvocation( + com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteWorkflowInvocationMethod(), responseObserver); + } + + /** + * + * + *
+     * Requests cancellation of a running WorkflowInvocation.
+     * 
+ */ + public void cancelWorkflowInvocation( + com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCancelWorkflowInvocationMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns WorkflowInvocationActions in a given WorkflowInvocation.
+     * 
+ */ + public void queryWorkflowInvocationActions( + com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getQueryWorkflowInvocationActionsMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListRepositoriesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest, + com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse>( + this, METHODID_LIST_REPOSITORIES))) + .addMethod( + getGetRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.GetRepositoryRequest, + com.google.cloud.dataform.v1alpha2.Repository>( + this, METHODID_GET_REPOSITORY))) + .addMethod( + getCreateRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest, + com.google.cloud.dataform.v1alpha2.Repository>( + this, METHODID_CREATE_REPOSITORY))) + .addMethod( + getUpdateRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest, + com.google.cloud.dataform.v1alpha2.Repository>( + this, METHODID_UPDATE_REPOSITORY))) + .addMethod( + getDeleteRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_REPOSITORY))) + .addMethod( + getFetchRemoteBranchesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest, + com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse>( + this, METHODID_FETCH_REMOTE_BRANCHES))) + .addMethod( + getListWorkspacesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest, + com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse>( + this, METHODID_LIST_WORKSPACES))) + .addMethod( + getGetWorkspaceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest, + com.google.cloud.dataform.v1alpha2.Workspace>(this, METHODID_GET_WORKSPACE))) + .addMethod( + getCreateWorkspaceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest, + com.google.cloud.dataform.v1alpha2.Workspace>( + this, METHODID_CREATE_WORKSPACE))) + .addMethod( + getDeleteWorkspaceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_WORKSPACE))) + .addMethod( + getInstallNpmPackagesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest, + com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse>( + this, METHODID_INSTALL_NPM_PACKAGES))) + .addMethod( + getPullGitCommitsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest, + com.google.protobuf.Empty>(this, METHODID_PULL_GIT_COMMITS))) + .addMethod( + getPushGitCommitsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest, + com.google.protobuf.Empty>(this, METHODID_PUSH_GIT_COMMITS))) + .addMethod( + getFetchFileGitStatusesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest, + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse>( + this, METHODID_FETCH_FILE_GIT_STATUSES))) + .addMethod( + getFetchGitAheadBehindMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest, + com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse>( + this, METHODID_FETCH_GIT_AHEAD_BEHIND))) + .addMethod( + getCommitWorkspaceChangesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest, + com.google.protobuf.Empty>(this, METHODID_COMMIT_WORKSPACE_CHANGES))) + .addMethod( + getResetWorkspaceChangesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest, + com.google.protobuf.Empty>(this, METHODID_RESET_WORKSPACE_CHANGES))) + .addMethod( + getFetchFileDiffMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest, + com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse>( + this, METHODID_FETCH_FILE_DIFF))) + .addMethod( + getQueryDirectoryContentsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest, + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse>( + this, METHODID_QUERY_DIRECTORY_CONTENTS))) + .addMethod( + getMakeDirectoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest, + com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse>( + this, METHODID_MAKE_DIRECTORY))) + .addMethod( + getRemoveDirectoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest, + com.google.protobuf.Empty>(this, METHODID_REMOVE_DIRECTORY))) + .addMethod( + getMoveDirectoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest, + com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse>( + this, METHODID_MOVE_DIRECTORY))) + .addMethod( + getReadFileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.ReadFileRequest, + com.google.cloud.dataform.v1alpha2.ReadFileResponse>( + this, METHODID_READ_FILE))) + .addMethod( + getRemoveFileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.RemoveFileRequest, + com.google.protobuf.Empty>(this, METHODID_REMOVE_FILE))) + .addMethod( + getMoveFileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.MoveFileRequest, + com.google.cloud.dataform.v1alpha2.MoveFileResponse>( + this, METHODID_MOVE_FILE))) + .addMethod( + getWriteFileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.WriteFileRequest, + com.google.cloud.dataform.v1alpha2.WriteFileResponse>( + this, METHODID_WRITE_FILE))) + .addMethod( + getListCompilationResultsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest, + com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse>( + this, METHODID_LIST_COMPILATION_RESULTS))) + .addMethod( + getGetCompilationResultMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest, + com.google.cloud.dataform.v1alpha2.CompilationResult>( + this, METHODID_GET_COMPILATION_RESULT))) + .addMethod( + getCreateCompilationResultMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest, + com.google.cloud.dataform.v1alpha2.CompilationResult>( + this, METHODID_CREATE_COMPILATION_RESULT))) + .addMethod( + getQueryCompilationResultActionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest, + com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse>( + this, METHODID_QUERY_COMPILATION_RESULT_ACTIONS))) + .addMethod( + getListWorkflowInvocationsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest, + com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse>( + this, METHODID_LIST_WORKFLOW_INVOCATIONS))) + .addMethod( + getGetWorkflowInvocationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest, + com.google.cloud.dataform.v1alpha2.WorkflowInvocation>( + this, METHODID_GET_WORKFLOW_INVOCATION))) + .addMethod( + getCreateWorkflowInvocationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest, + com.google.cloud.dataform.v1alpha2.WorkflowInvocation>( + this, METHODID_CREATE_WORKFLOW_INVOCATION))) + .addMethod( + getDeleteWorkflowInvocationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_WORKFLOW_INVOCATION))) + .addMethod( + getCancelWorkflowInvocationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest, + com.google.protobuf.Empty>(this, METHODID_CANCEL_WORKFLOW_INVOCATION))) + .addMethod( + getQueryWorkflowInvocationActionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest, + com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse>( + this, METHODID_QUERY_WORKFLOW_INVOCATION_ACTIONS))) + .build(); + } + } + + /** + * + * + *
+   * Dataform is a service to develop, create, document, test, and update curated
+   * tables in BigQuery.
+   * 
+ */ + public static final class DataformStub extends io.grpc.stub.AbstractAsyncStub { + private DataformStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataformStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataformStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists Repositories in a given project and location.
+     * 
+ */ + public void listRepositories( + com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Fetches a single Repository.
+     * 
+ */ + public void getRepository( + com.google.cloud.dataform.v1alpha2.GetRepositoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a new Repository in a given project and location.
+     * 
+ */ + public void createRepository( + com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a single Repository.
+     * 
+ */ + public void updateRepository( + com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a single Repository.
+     * 
+ */ + public void deleteRepository( + com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Fetches a Repository's remote branches.
+     * 
+ */ + public void fetchRemoteBranches( + com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getFetchRemoteBranchesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists Workspaces in a given Repository.
+     * 
+ */ + public void listWorkspaces( + com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListWorkspacesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Fetches a single Workspace.
+     * 
+ */ + public void getWorkspace( + com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetWorkspaceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a new Workspace in a given Repository.
+     * 
+ */ + public void createWorkspace( + com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateWorkspaceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a single Workspace.
+     * 
+ */ + public void deleteWorkspace( + com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteWorkspaceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Installs dependency NPM packages (inside a Workspace).
+     * 
+ */ + public void installNpmPackages( + com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getInstallNpmPackagesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Pulls Git commits from the Repository's remote into a Workspace.
+     * 
+ */ + public void pullGitCommits( + com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getPullGitCommitsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Pushes Git commits from a Workspace to the Repository's remote.
+     * 
+ */ + public void pushGitCommits( + com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getPushGitCommitsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Fetches Git statuses for the files in a Workspace.
+     * 
+ */ + public void fetchFileGitStatuses( + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getFetchFileGitStatusesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Fetches Git ahead/behind against a remote branch.
+     * 
+ */ + public void fetchGitAheadBehind( + com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getFetchGitAheadBehindMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Applies a Git commit for uncommitted files in a Workspace.
+     * 
+ */ + public void commitWorkspaceChanges( + com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCommitWorkspaceChangesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Performs a Git reset for uncommitted files in a Workspace.
+     * 
+ */ + public void resetWorkspaceChanges( + com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getResetWorkspaceChangesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Fetches Git diff for an uncommitted file in a Workspace.
+     * 
+ */ + public void fetchFileDiff( + com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getFetchFileDiffMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns the contents of a given Workspace directory.
+     * 
+ */ + public void queryDirectoryContents( + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getQueryDirectoryContentsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a directory inside a Workspace.
+     * 
+ */ + public void makeDirectory( + com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getMakeDirectoryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a directory (inside a Workspace) and all of its contents.
+     * 
+ */ + public void removeDirectory( + com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRemoveDirectoryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Moves a directory (inside a Workspace), and all of its contents, to a new
+     * location.
+     * 
+ */ + public void moveDirectory( + com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getMoveDirectoryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns the contents of a file (inside a Workspace).
+     * 
+ */ + public void readFile( + com.google.cloud.dataform.v1alpha2.ReadFileRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getReadFileMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Deletes a file (inside a Workspace).
+     * 
+ */ + public void removeFile( + com.google.cloud.dataform.v1alpha2.RemoveFileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRemoveFileMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Moves a file (inside a Workspace) to a new location.
+     * 
+ */ + public void moveFile( + com.google.cloud.dataform.v1alpha2.MoveFileRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getMoveFileMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Writes to a file (inside a Workspace).
+     * 
+ */ + public void writeFile( + com.google.cloud.dataform.v1alpha2.WriteFileRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getWriteFileMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Lists CompilationResults in a given Repository.
+     * 
+ */ + public void listCompilationResults( + com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListCompilationResultsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Fetches a single CompilationResult.
+     * 
+ */ + public void getCompilationResult( + com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetCompilationResultMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a new CompilationResult in a given project and location.
+     * 
+ */ + public void createCompilationResult( + com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateCompilationResultMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns CompilationResultActions in a given CompilationResult.
+     * 
+ */ + public void queryCompilationResultActions( + com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getQueryCompilationResultActionsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists WorkflowInvocations in a given Repository.
+     * 
+ */ + public void listWorkflowInvocations( + com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListWorkflowInvocationsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Fetches a single WorkflowInvocation.
+     * 
+ */ + public void getWorkflowInvocation( + com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetWorkflowInvocationMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a new WorkflowInvocation in a given Repository.
+     * 
+ */ + public void createWorkflowInvocation( + com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateWorkflowInvocationMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a single WorkflowInvocation.
+     * 
+ */ + public void deleteWorkflowInvocation( + com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteWorkflowInvocationMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Requests cancellation of a running WorkflowInvocation.
+     * 
+ */ + public void cancelWorkflowInvocation( + com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCancelWorkflowInvocationMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns WorkflowInvocationActions in a given WorkflowInvocation.
+     * 
+ */ + public void queryWorkflowInvocationActions( + com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getQueryWorkflowInvocationActionsMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * Dataform is a service to develop, create, document, test, and update curated
+   * tables in BigQuery.
+   * 
+ */ + public static final class DataformBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private DataformBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataformBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataformBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists Repositories in a given project and location.
+     * 
+ */ + public com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse listRepositories( + com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListRepositoriesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Fetches a single Repository.
+     * 
+ */ + public com.google.cloud.dataform.v1alpha2.Repository getRepository( + com.google.cloud.dataform.v1alpha2.GetRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetRepositoryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new Repository in a given project and location.
+     * 
+ */ + public com.google.cloud.dataform.v1alpha2.Repository createRepository( + com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateRepositoryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a single Repository.
+     * 
+ */ + public com.google.cloud.dataform.v1alpha2.Repository updateRepository( + com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateRepositoryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a single Repository.
+     * 
+ */ + public com.google.protobuf.Empty deleteRepository( + com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteRepositoryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Fetches a Repository's remote branches.
+     * 
+ */ + public com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse fetchRemoteBranches( + com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getFetchRemoteBranchesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists Workspaces in a given Repository.
+     * 
+ */ + public com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse listWorkspaces( + com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListWorkspacesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Fetches a single Workspace.
+     * 
+ */ + public com.google.cloud.dataform.v1alpha2.Workspace getWorkspace( + com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetWorkspaceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new Workspace in a given Repository.
+     * 
+ */ + public com.google.cloud.dataform.v1alpha2.Workspace createWorkspace( + com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateWorkspaceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a single Workspace.
+     * 
+ */ + public com.google.protobuf.Empty deleteWorkspace( + com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteWorkspaceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Installs dependency NPM packages (inside a Workspace).
+     * 
+ */ + public com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse installNpmPackages( + com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getInstallNpmPackagesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Pulls Git commits from the Repository's remote into a Workspace.
+     * 
+ */ + public com.google.protobuf.Empty pullGitCommits( + com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getPullGitCommitsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Pushes Git commits from a Workspace to the Repository's remote.
+     * 
+ */ + public com.google.protobuf.Empty pushGitCommits( + com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getPushGitCommitsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Fetches Git statuses for the files in a Workspace.
+     * 
+ */ + public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse fetchFileGitStatuses( + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getFetchFileGitStatusesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Fetches Git ahead/behind against a remote branch.
+     * 
+ */ + public com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse fetchGitAheadBehind( + com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getFetchGitAheadBehindMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Applies a Git commit for uncommitted files in a Workspace.
+     * 
+ */ + public com.google.protobuf.Empty commitWorkspaceChanges( + com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCommitWorkspaceChangesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Performs a Git reset for uncommitted files in a Workspace.
+     * 
+ */ + public com.google.protobuf.Empty resetWorkspaceChanges( + com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getResetWorkspaceChangesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Fetches Git diff for an uncommitted file in a Workspace.
+     * 
+ */ + public com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse fetchFileDiff( + com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getFetchFileDiffMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns the contents of a given Workspace directory.
+     * 
+ */ + public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse queryDirectoryContents( + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getQueryDirectoryContentsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a directory inside a Workspace.
+     * 
+ */ + public com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse makeDirectory( + com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getMakeDirectoryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a directory (inside a Workspace) and all of its contents.
+     * 
+ */ + public com.google.protobuf.Empty removeDirectory( + com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRemoveDirectoryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Moves a directory (inside a Workspace), and all of its contents, to a new
+     * location.
+     * 
+ */ + public com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse moveDirectory( + com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getMoveDirectoryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns the contents of a file (inside a Workspace).
+     * 
+ */ + public com.google.cloud.dataform.v1alpha2.ReadFileResponse readFile( + com.google.cloud.dataform.v1alpha2.ReadFileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getReadFileMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a file (inside a Workspace).
+     * 
+ */ + public com.google.protobuf.Empty removeFile( + com.google.cloud.dataform.v1alpha2.RemoveFileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRemoveFileMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Moves a file (inside a Workspace) to a new location.
+     * 
+ */ + public com.google.cloud.dataform.v1alpha2.MoveFileResponse moveFile( + com.google.cloud.dataform.v1alpha2.MoveFileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getMoveFileMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Writes to a file (inside a Workspace).
+     * 
+ */ + public com.google.cloud.dataform.v1alpha2.WriteFileResponse writeFile( + com.google.cloud.dataform.v1alpha2.WriteFileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getWriteFileMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists CompilationResults in a given Repository.
+     * 
+ */ + public com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse listCompilationResults( + com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListCompilationResultsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Fetches a single CompilationResult.
+     * 
+ */ + public com.google.cloud.dataform.v1alpha2.CompilationResult getCompilationResult( + com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetCompilationResultMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new CompilationResult in a given project and location.
+     * 
+ */ + public com.google.cloud.dataform.v1alpha2.CompilationResult createCompilationResult( + com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateCompilationResultMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns CompilationResultActions in a given CompilationResult.
+     * 
+ */ + public com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse + queryCompilationResultActions( + com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getQueryCompilationResultActionsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists WorkflowInvocations in a given Repository.
+     * 
+ */ + public com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse + listWorkflowInvocations( + com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListWorkflowInvocationsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Fetches a single WorkflowInvocation.
+     * 
+ */ + public com.google.cloud.dataform.v1alpha2.WorkflowInvocation getWorkflowInvocation( + com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetWorkflowInvocationMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new WorkflowInvocation in a given Repository.
+     * 
+ */ + public com.google.cloud.dataform.v1alpha2.WorkflowInvocation createWorkflowInvocation( + com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateWorkflowInvocationMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a single WorkflowInvocation.
+     * 
+ */ + public com.google.protobuf.Empty deleteWorkflowInvocation( + com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteWorkflowInvocationMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Requests cancellation of a running WorkflowInvocation.
+     * 
+ */ + public com.google.protobuf.Empty cancelWorkflowInvocation( + com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCancelWorkflowInvocationMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns WorkflowInvocationActions in a given WorkflowInvocation.
+     * 
+ */ + public com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse + queryWorkflowInvocationActions( + com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getQueryWorkflowInvocationActionsMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * Dataform is a service to develop, create, document, test, and update curated
+   * tables in BigQuery.
+   * 
+ */ + public static final class DataformFutureStub + extends io.grpc.stub.AbstractFutureStub { + private DataformFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataformFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataformFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists Repositories in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse> + listRepositories(com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Fetches a single Repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataform.v1alpha2.Repository> + getRepository(com.google.cloud.dataform.v1alpha2.GetRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new Repository in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataform.v1alpha2.Repository> + createRepository(com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a single Repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataform.v1alpha2.Repository> + updateRepository(com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a single Repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteRepository(com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Fetches a Repository's remote branches.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse> + fetchRemoteBranches(com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getFetchRemoteBranchesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists Workspaces in a given Repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse> + listWorkspaces(com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListWorkspacesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Fetches a single Workspace.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataform.v1alpha2.Workspace> + getWorkspace(com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetWorkspaceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new Workspace in a given Repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataform.v1alpha2.Workspace> + createWorkspace(com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateWorkspaceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a single Workspace.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteWorkspace(com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteWorkspaceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Installs dependency NPM packages (inside a Workspace).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse> + installNpmPackages(com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getInstallNpmPackagesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Pulls Git commits from the Repository's remote into a Workspace.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + pullGitCommits(com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getPullGitCommitsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Pushes Git commits from a Workspace to the Repository's remote.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + pushGitCommits(com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getPushGitCommitsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Fetches Git statuses for the files in a Workspace.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse> + fetchFileGitStatuses( + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getFetchFileGitStatusesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Fetches Git ahead/behind against a remote branch.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse> + fetchGitAheadBehind(com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getFetchGitAheadBehindMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Applies a Git commit for uncommitted files in a Workspace.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + commitWorkspaceChanges( + com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCommitWorkspaceChangesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Performs a Git reset for uncommitted files in a Workspace.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + resetWorkspaceChanges( + com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getResetWorkspaceChangesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Fetches Git diff for an uncommitted file in a Workspace.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse> + fetchFileDiff(com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getFetchFileDiffMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns the contents of a given Workspace directory.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse> + queryDirectoryContents( + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getQueryDirectoryContentsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a directory inside a Workspace.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse> + makeDirectory(com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getMakeDirectoryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a directory (inside a Workspace) and all of its contents.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + removeDirectory(com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRemoveDirectoryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Moves a directory (inside a Workspace), and all of its contents, to a new
+     * location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse> + moveDirectory(com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getMoveDirectoryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns the contents of a file (inside a Workspace).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataform.v1alpha2.ReadFileResponse> + readFile(com.google.cloud.dataform.v1alpha2.ReadFileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getReadFileMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a file (inside a Workspace).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture removeFile( + com.google.cloud.dataform.v1alpha2.RemoveFileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRemoveFileMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Moves a file (inside a Workspace) to a new location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataform.v1alpha2.MoveFileResponse> + moveFile(com.google.cloud.dataform.v1alpha2.MoveFileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getMoveFileMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Writes to a file (inside a Workspace).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataform.v1alpha2.WriteFileResponse> + writeFile(com.google.cloud.dataform.v1alpha2.WriteFileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getWriteFileMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists CompilationResults in a given Repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse> + listCompilationResults( + com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListCompilationResultsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Fetches a single CompilationResult.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataform.v1alpha2.CompilationResult> + getCompilationResult( + com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetCompilationResultMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new CompilationResult in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataform.v1alpha2.CompilationResult> + createCompilationResult( + com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateCompilationResultMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns CompilationResultActions in a given CompilationResult.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse> + queryCompilationResultActions( + com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getQueryCompilationResultActionsMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Lists WorkflowInvocations in a given Repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse> + listWorkflowInvocations( + com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListWorkflowInvocationsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Fetches a single WorkflowInvocation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataform.v1alpha2.WorkflowInvocation> + getWorkflowInvocation( + com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetWorkflowInvocationMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new WorkflowInvocation in a given Repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataform.v1alpha2.WorkflowInvocation> + createWorkflowInvocation( + com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateWorkflowInvocationMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a single WorkflowInvocation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteWorkflowInvocation( + com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteWorkflowInvocationMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Requests cancellation of a running WorkflowInvocation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + cancelWorkflowInvocation( + com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCancelWorkflowInvocationMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns WorkflowInvocationActions in a given WorkflowInvocation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse> + queryWorkflowInvocationActions( + com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getQueryWorkflowInvocationActionsMethod(), getCallOptions()), + request); + } + } + + private static final int METHODID_LIST_REPOSITORIES = 0; + private static final int METHODID_GET_REPOSITORY = 1; + private static final int METHODID_CREATE_REPOSITORY = 2; + private static final int METHODID_UPDATE_REPOSITORY = 3; + private static final int METHODID_DELETE_REPOSITORY = 4; + private static final int METHODID_FETCH_REMOTE_BRANCHES = 5; + private static final int METHODID_LIST_WORKSPACES = 6; + private static final int METHODID_GET_WORKSPACE = 7; + private static final int METHODID_CREATE_WORKSPACE = 8; + private static final int METHODID_DELETE_WORKSPACE = 9; + private static final int METHODID_INSTALL_NPM_PACKAGES = 10; + private static final int METHODID_PULL_GIT_COMMITS = 11; + private static final int METHODID_PUSH_GIT_COMMITS = 12; + private static final int METHODID_FETCH_FILE_GIT_STATUSES = 13; + private static final int METHODID_FETCH_GIT_AHEAD_BEHIND = 14; + private static final int METHODID_COMMIT_WORKSPACE_CHANGES = 15; + private static final int METHODID_RESET_WORKSPACE_CHANGES = 16; + private static final int METHODID_FETCH_FILE_DIFF = 17; + private static final int METHODID_QUERY_DIRECTORY_CONTENTS = 18; + private static final int METHODID_MAKE_DIRECTORY = 19; + private static final int METHODID_REMOVE_DIRECTORY = 20; + private static final int METHODID_MOVE_DIRECTORY = 21; + private static final int METHODID_READ_FILE = 22; + private static final int METHODID_REMOVE_FILE = 23; + private static final int METHODID_MOVE_FILE = 24; + private static final int METHODID_WRITE_FILE = 25; + private static final int METHODID_LIST_COMPILATION_RESULTS = 26; + private static final int METHODID_GET_COMPILATION_RESULT = 27; + private static final int METHODID_CREATE_COMPILATION_RESULT = 28; + private static final int METHODID_QUERY_COMPILATION_RESULT_ACTIONS = 29; + private static final int METHODID_LIST_WORKFLOW_INVOCATIONS = 30; + private static final int METHODID_GET_WORKFLOW_INVOCATION = 31; + private static final int METHODID_CREATE_WORKFLOW_INVOCATION = 32; + private static final int METHODID_DELETE_WORKFLOW_INVOCATION = 33; + private static final int METHODID_CANCEL_WORKFLOW_INVOCATION = 34; + private static final int METHODID_QUERY_WORKFLOW_INVOCATION_ACTIONS = 35; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final DataformImplBase serviceImpl; + private final int methodId; + + MethodHandlers(DataformImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_LIST_REPOSITORIES: + serviceImpl.listRepositories( + (com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse>) + responseObserver); + break; + case METHODID_GET_REPOSITORY: + serviceImpl.getRepository( + (com.google.cloud.dataform.v1alpha2.GetRepositoryRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_REPOSITORY: + serviceImpl.createRepository( + (com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_REPOSITORY: + serviceImpl.updateRepository( + (com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_REPOSITORY: + serviceImpl.deleteRepository( + (com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_FETCH_REMOTE_BRANCHES: + serviceImpl.fetchRemoteBranches( + (com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse>) + responseObserver); + break; + case METHODID_LIST_WORKSPACES: + serviceImpl.listWorkspaces( + (com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse>) + responseObserver); + break; + case METHODID_GET_WORKSPACE: + serviceImpl.getWorkspace( + (com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_WORKSPACE: + serviceImpl.createWorkspace( + (com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_WORKSPACE: + serviceImpl.deleteWorkspace( + (com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_INSTALL_NPM_PACKAGES: + serviceImpl.installNpmPackages( + (com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse>) + responseObserver); + break; + case METHODID_PULL_GIT_COMMITS: + serviceImpl.pullGitCommits( + (com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_PUSH_GIT_COMMITS: + serviceImpl.pushGitCommits( + (com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_FETCH_FILE_GIT_STATUSES: + serviceImpl.fetchFileGitStatuses( + (com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse>) + responseObserver); + break; + case METHODID_FETCH_GIT_AHEAD_BEHIND: + serviceImpl.fetchGitAheadBehind( + (com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse>) + responseObserver); + break; + case METHODID_COMMIT_WORKSPACE_CHANGES: + serviceImpl.commitWorkspaceChanges( + (com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RESET_WORKSPACE_CHANGES: + serviceImpl.resetWorkspaceChanges( + (com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_FETCH_FILE_DIFF: + serviceImpl.fetchFileDiff( + (com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse>) + responseObserver); + break; + case METHODID_QUERY_DIRECTORY_CONTENTS: + serviceImpl.queryDirectoryContents( + (com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse>) + responseObserver); + break; + case METHODID_MAKE_DIRECTORY: + serviceImpl.makeDirectory( + (com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse>) + responseObserver); + break; + case METHODID_REMOVE_DIRECTORY: + serviceImpl.removeDirectory( + (com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_MOVE_DIRECTORY: + serviceImpl.moveDirectory( + (com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse>) + responseObserver); + break; + case METHODID_READ_FILE: + serviceImpl.readFile( + (com.google.cloud.dataform.v1alpha2.ReadFileRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_REMOVE_FILE: + serviceImpl.removeFile( + (com.google.cloud.dataform.v1alpha2.RemoveFileRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_MOVE_FILE: + serviceImpl.moveFile( + (com.google.cloud.dataform.v1alpha2.MoveFileRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_WRITE_FILE: + serviceImpl.writeFile( + (com.google.cloud.dataform.v1alpha2.WriteFileRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_COMPILATION_RESULTS: + serviceImpl.listCompilationResults( + (com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse>) + responseObserver); + break; + case METHODID_GET_COMPILATION_RESULT: + serviceImpl.getCompilationResult( + (com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_COMPILATION_RESULT: + serviceImpl.createCompilationResult( + (com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_QUERY_COMPILATION_RESULT_ACTIONS: + serviceImpl.queryCompilationResultActions( + (com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse>) + responseObserver); + break; + case METHODID_LIST_WORKFLOW_INVOCATIONS: + serviceImpl.listWorkflowInvocations( + (com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse>) + responseObserver); + break; + case METHODID_GET_WORKFLOW_INVOCATION: + serviceImpl.getWorkflowInvocation( + (com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_WORKFLOW_INVOCATION: + serviceImpl.createWorkflowInvocation( + (com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_WORKFLOW_INVOCATION: + serviceImpl.deleteWorkflowInvocation( + (com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CANCEL_WORKFLOW_INVOCATION: + serviceImpl.cancelWorkflowInvocation( + (com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_QUERY_WORKFLOW_INVOCATION_ACTIONS: + serviceImpl.queryWorkflowInvocationActions( + (com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse>) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private abstract static class DataformBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + DataformBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("Dataform"); + } + } + + private static final class DataformFileDescriptorSupplier extends DataformBaseDescriptorSupplier { + DataformFileDescriptorSupplier() {} + } + + private static final class DataformMethodDescriptorSupplier extends DataformBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + DataformMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (DataformGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new DataformFileDescriptorSupplier()) + .addMethod(getListRepositoriesMethod()) + .addMethod(getGetRepositoryMethod()) + .addMethod(getCreateRepositoryMethod()) + .addMethod(getUpdateRepositoryMethod()) + .addMethod(getDeleteRepositoryMethod()) + .addMethod(getFetchRemoteBranchesMethod()) + .addMethod(getListWorkspacesMethod()) + .addMethod(getGetWorkspaceMethod()) + .addMethod(getCreateWorkspaceMethod()) + .addMethod(getDeleteWorkspaceMethod()) + .addMethod(getInstallNpmPackagesMethod()) + .addMethod(getPullGitCommitsMethod()) + .addMethod(getPushGitCommitsMethod()) + .addMethod(getFetchFileGitStatusesMethod()) + .addMethod(getFetchGitAheadBehindMethod()) + .addMethod(getCommitWorkspaceChangesMethod()) + .addMethod(getResetWorkspaceChangesMethod()) + .addMethod(getFetchFileDiffMethod()) + .addMethod(getQueryDirectoryContentsMethod()) + .addMethod(getMakeDirectoryMethod()) + .addMethod(getRemoveDirectoryMethod()) + .addMethod(getMoveDirectoryMethod()) + .addMethod(getReadFileMethod()) + .addMethod(getRemoveFileMethod()) + .addMethod(getMoveFileMethod()) + .addMethod(getWriteFileMethod()) + .addMethod(getListCompilationResultsMethod()) + .addMethod(getGetCompilationResultMethod()) + .addMethod(getCreateCompilationResultMethod()) + .addMethod(getQueryCompilationResultActionsMethod()) + .addMethod(getListWorkflowInvocationsMethod()) + .addMethod(getGetWorkflowInvocationMethod()) + .addMethod(getCreateWorkflowInvocationMethod()) + .addMethod(getDeleteWorkflowInvocationMethod()) + .addMethod(getCancelWorkflowInvocationMethod()) + .addMethod(getQueryWorkflowInvocationActionsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/grpc-google-cloud-dataform-v1beta1/pom.xml b/grpc-google-cloud-dataform-v1beta1/pom.xml new file mode 100644 index 0000000..30f9641 --- /dev/null +++ b/grpc-google-cloud-dataform-v1beta1/pom.xml @@ -0,0 +1,69 @@ + + 4.0.0 + com.google.api.grpc + grpc-google-cloud-dataform-v1beta1 + 0.1.0 + grpc-google-cloud-dataform-v1beta1 + GRPC library for google-cloud-dataform + + com.google.cloud + google-cloud-dataform-parent + 0.1.0 + + + + io.grpc + grpc-api + + + io.grpc + grpc-stub + + + io.grpc + grpc-protobuf + + + com.google.protobuf + protobuf-java + + + com.google.api.grpc + proto-google-common-protos + + + com.google.api.grpc + proto-google-cloud-dataform-v1beta1 + + + com.google.guava + guava + + + + + + java9 + + [9,) + + + + javax.annotation + javax.annotation-api + + + + + + + + + org.codehaus.mojo + flatten-maven-plugin + + + + \ No newline at end of file diff --git a/grpc-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DataformGrpc.java b/grpc-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DataformGrpc.java new file mode 100644 index 0000000..e76c2ad --- /dev/null +++ b/grpc-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DataformGrpc.java @@ -0,0 +1,4558 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.google.cloud.dataform.v1beta1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * Dataform is a service to develop, create, document, test, and update curated
+ * tables in BigQuery.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/dataform/v1beta1/dataform.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class DataformGrpc { + + private DataformGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.dataform.v1beta1.Dataform"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.ListRepositoriesRequest, + com.google.cloud.dataform.v1beta1.ListRepositoriesResponse> + getListRepositoriesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListRepositories", + requestType = com.google.cloud.dataform.v1beta1.ListRepositoriesRequest.class, + responseType = com.google.cloud.dataform.v1beta1.ListRepositoriesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.ListRepositoriesRequest, + com.google.cloud.dataform.v1beta1.ListRepositoriesResponse> + getListRepositoriesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.ListRepositoriesRequest, + com.google.cloud.dataform.v1beta1.ListRepositoriesResponse> + getListRepositoriesMethod; + if ((getListRepositoriesMethod = DataformGrpc.getListRepositoriesMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getListRepositoriesMethod = DataformGrpc.getListRepositoriesMethod) == null) { + DataformGrpc.getListRepositoriesMethod = + getListRepositoriesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRepositories")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.ListRepositoriesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.ListRepositoriesResponse + .getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("ListRepositories")) + .build(); + } + } + } + return getListRepositoriesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.GetRepositoryRequest, + com.google.cloud.dataform.v1beta1.Repository> + getGetRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetRepository", + requestType = com.google.cloud.dataform.v1beta1.GetRepositoryRequest.class, + responseType = com.google.cloud.dataform.v1beta1.Repository.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.GetRepositoryRequest, + com.google.cloud.dataform.v1beta1.Repository> + getGetRepositoryMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.GetRepositoryRequest, + com.google.cloud.dataform.v1beta1.Repository> + getGetRepositoryMethod; + if ((getGetRepositoryMethod = DataformGrpc.getGetRepositoryMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getGetRepositoryMethod = DataformGrpc.getGetRepositoryMethod) == null) { + DataformGrpc.getGetRepositoryMethod = + getGetRepositoryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.GetRepositoryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.Repository.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("GetRepository")) + .build(); + } + } + } + return getGetRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.CreateRepositoryRequest, + com.google.cloud.dataform.v1beta1.Repository> + getCreateRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateRepository", + requestType = com.google.cloud.dataform.v1beta1.CreateRepositoryRequest.class, + responseType = com.google.cloud.dataform.v1beta1.Repository.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.CreateRepositoryRequest, + com.google.cloud.dataform.v1beta1.Repository> + getCreateRepositoryMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.CreateRepositoryRequest, + com.google.cloud.dataform.v1beta1.Repository> + getCreateRepositoryMethod; + if ((getCreateRepositoryMethod = DataformGrpc.getCreateRepositoryMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getCreateRepositoryMethod = DataformGrpc.getCreateRepositoryMethod) == null) { + DataformGrpc.getCreateRepositoryMethod = + getCreateRepositoryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.CreateRepositoryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.Repository.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("CreateRepository")) + .build(); + } + } + } + return getCreateRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest, + com.google.cloud.dataform.v1beta1.Repository> + getUpdateRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateRepository", + requestType = com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest.class, + responseType = com.google.cloud.dataform.v1beta1.Repository.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest, + com.google.cloud.dataform.v1beta1.Repository> + getUpdateRepositoryMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest, + com.google.cloud.dataform.v1beta1.Repository> + getUpdateRepositoryMethod; + if ((getUpdateRepositoryMethod = DataformGrpc.getUpdateRepositoryMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getUpdateRepositoryMethod = DataformGrpc.getUpdateRepositoryMethod) == null) { + DataformGrpc.getUpdateRepositoryMethod = + getUpdateRepositoryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.Repository.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("UpdateRepository")) + .build(); + } + } + } + return getUpdateRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest, com.google.protobuf.Empty> + getDeleteRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteRepository", + requestType = com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest, com.google.protobuf.Empty> + getDeleteRepositoryMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest, com.google.protobuf.Empty> + getDeleteRepositoryMethod; + if ((getDeleteRepositoryMethod = DataformGrpc.getDeleteRepositoryMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getDeleteRepositoryMethod = DataformGrpc.getDeleteRepositoryMethod) == null) { + DataformGrpc.getDeleteRepositoryMethod = + getDeleteRepositoryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("DeleteRepository")) + .build(); + } + } + } + return getDeleteRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest, + com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse> + getFetchRemoteBranchesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "FetchRemoteBranches", + requestType = com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest.class, + responseType = com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest, + com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse> + getFetchRemoteBranchesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest, + com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse> + getFetchRemoteBranchesMethod; + if ((getFetchRemoteBranchesMethod = DataformGrpc.getFetchRemoteBranchesMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getFetchRemoteBranchesMethod = DataformGrpc.getFetchRemoteBranchesMethod) == null) { + DataformGrpc.getFetchRemoteBranchesMethod = + getFetchRemoteBranchesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "FetchRemoteBranches")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DataformMethodDescriptorSupplier("FetchRemoteBranches")) + .build(); + } + } + } + return getFetchRemoteBranchesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.ListWorkspacesRequest, + com.google.cloud.dataform.v1beta1.ListWorkspacesResponse> + getListWorkspacesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListWorkspaces", + requestType = com.google.cloud.dataform.v1beta1.ListWorkspacesRequest.class, + responseType = com.google.cloud.dataform.v1beta1.ListWorkspacesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.ListWorkspacesRequest, + com.google.cloud.dataform.v1beta1.ListWorkspacesResponse> + getListWorkspacesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.ListWorkspacesRequest, + com.google.cloud.dataform.v1beta1.ListWorkspacesResponse> + getListWorkspacesMethod; + if ((getListWorkspacesMethod = DataformGrpc.getListWorkspacesMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getListWorkspacesMethod = DataformGrpc.getListWorkspacesMethod) == null) { + DataformGrpc.getListWorkspacesMethod = + getListWorkspacesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListWorkspaces")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.ListWorkspacesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.ListWorkspacesResponse + .getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("ListWorkspaces")) + .build(); + } + } + } + return getListWorkspacesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.GetWorkspaceRequest, + com.google.cloud.dataform.v1beta1.Workspace> + getGetWorkspaceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetWorkspace", + requestType = com.google.cloud.dataform.v1beta1.GetWorkspaceRequest.class, + responseType = com.google.cloud.dataform.v1beta1.Workspace.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.GetWorkspaceRequest, + com.google.cloud.dataform.v1beta1.Workspace> + getGetWorkspaceMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.GetWorkspaceRequest, + com.google.cloud.dataform.v1beta1.Workspace> + getGetWorkspaceMethod; + if ((getGetWorkspaceMethod = DataformGrpc.getGetWorkspaceMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getGetWorkspaceMethod = DataformGrpc.getGetWorkspaceMethod) == null) { + DataformGrpc.getGetWorkspaceMethod = + getGetWorkspaceMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetWorkspace")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.GetWorkspaceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.Workspace.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("GetWorkspace")) + .build(); + } + } + } + return getGetWorkspaceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest, + com.google.cloud.dataform.v1beta1.Workspace> + getCreateWorkspaceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateWorkspace", + requestType = com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest.class, + responseType = com.google.cloud.dataform.v1beta1.Workspace.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest, + com.google.cloud.dataform.v1beta1.Workspace> + getCreateWorkspaceMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest, + com.google.cloud.dataform.v1beta1.Workspace> + getCreateWorkspaceMethod; + if ((getCreateWorkspaceMethod = DataformGrpc.getCreateWorkspaceMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getCreateWorkspaceMethod = DataformGrpc.getCreateWorkspaceMethod) == null) { + DataformGrpc.getCreateWorkspaceMethod = + getCreateWorkspaceMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateWorkspace")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.Workspace.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("CreateWorkspace")) + .build(); + } + } + } + return getCreateWorkspaceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest, com.google.protobuf.Empty> + getDeleteWorkspaceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteWorkspace", + requestType = com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest, com.google.protobuf.Empty> + getDeleteWorkspaceMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest, com.google.protobuf.Empty> + getDeleteWorkspaceMethod; + if ((getDeleteWorkspaceMethod = DataformGrpc.getDeleteWorkspaceMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getDeleteWorkspaceMethod = DataformGrpc.getDeleteWorkspaceMethod) == null) { + DataformGrpc.getDeleteWorkspaceMethod = + getDeleteWorkspaceMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteWorkspace")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("DeleteWorkspace")) + .build(); + } + } + } + return getDeleteWorkspaceMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest, + com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse> + getInstallNpmPackagesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "InstallNpmPackages", + requestType = com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest.class, + responseType = com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest, + com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse> + getInstallNpmPackagesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest, + com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse> + getInstallNpmPackagesMethod; + if ((getInstallNpmPackagesMethod = DataformGrpc.getInstallNpmPackagesMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getInstallNpmPackagesMethod = DataformGrpc.getInstallNpmPackagesMethod) == null) { + DataformGrpc.getInstallNpmPackagesMethod = + getInstallNpmPackagesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "InstallNpmPackages")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DataformMethodDescriptorSupplier("InstallNpmPackages")) + .build(); + } + } + } + return getInstallNpmPackagesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.PullGitCommitsRequest, com.google.protobuf.Empty> + getPullGitCommitsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "PullGitCommits", + requestType = com.google.cloud.dataform.v1beta1.PullGitCommitsRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.PullGitCommitsRequest, com.google.protobuf.Empty> + getPullGitCommitsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.PullGitCommitsRequest, com.google.protobuf.Empty> + getPullGitCommitsMethod; + if ((getPullGitCommitsMethod = DataformGrpc.getPullGitCommitsMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getPullGitCommitsMethod = DataformGrpc.getPullGitCommitsMethod) == null) { + DataformGrpc.getPullGitCommitsMethod = + getPullGitCommitsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PullGitCommits")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.PullGitCommitsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("PullGitCommits")) + .build(); + } + } + } + return getPullGitCommitsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.PushGitCommitsRequest, com.google.protobuf.Empty> + getPushGitCommitsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "PushGitCommits", + requestType = com.google.cloud.dataform.v1beta1.PushGitCommitsRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.PushGitCommitsRequest, com.google.protobuf.Empty> + getPushGitCommitsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.PushGitCommitsRequest, com.google.protobuf.Empty> + getPushGitCommitsMethod; + if ((getPushGitCommitsMethod = DataformGrpc.getPushGitCommitsMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getPushGitCommitsMethod = DataformGrpc.getPushGitCommitsMethod) == null) { + DataformGrpc.getPushGitCommitsMethod = + getPushGitCommitsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PushGitCommits")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.PushGitCommitsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("PushGitCommits")) + .build(); + } + } + } + return getPushGitCommitsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest, + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse> + getFetchFileGitStatusesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "FetchFileGitStatuses", + requestType = com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest.class, + responseType = com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest, + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse> + getFetchFileGitStatusesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest, + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse> + getFetchFileGitStatusesMethod; + if ((getFetchFileGitStatusesMethod = DataformGrpc.getFetchFileGitStatusesMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getFetchFileGitStatusesMethod = DataformGrpc.getFetchFileGitStatusesMethod) == null) { + DataformGrpc.getFetchFileGitStatusesMethod = + getFetchFileGitStatusesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "FetchFileGitStatuses")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DataformMethodDescriptorSupplier("FetchFileGitStatuses")) + .build(); + } + } + } + return getFetchFileGitStatusesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest, + com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse> + getFetchGitAheadBehindMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "FetchGitAheadBehind", + requestType = com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest.class, + responseType = com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest, + com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse> + getFetchGitAheadBehindMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest, + com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse> + getFetchGitAheadBehindMethod; + if ((getFetchGitAheadBehindMethod = DataformGrpc.getFetchGitAheadBehindMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getFetchGitAheadBehindMethod = DataformGrpc.getFetchGitAheadBehindMethod) == null) { + DataformGrpc.getFetchGitAheadBehindMethod = + getFetchGitAheadBehindMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "FetchGitAheadBehind")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DataformMethodDescriptorSupplier("FetchGitAheadBehind")) + .build(); + } + } + } + return getFetchGitAheadBehindMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest, + com.google.protobuf.Empty> + getCommitWorkspaceChangesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CommitWorkspaceChanges", + requestType = com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest, + com.google.protobuf.Empty> + getCommitWorkspaceChangesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest, + com.google.protobuf.Empty> + getCommitWorkspaceChangesMethod; + if ((getCommitWorkspaceChangesMethod = DataformGrpc.getCommitWorkspaceChangesMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getCommitWorkspaceChangesMethod = DataformGrpc.getCommitWorkspaceChangesMethod) + == null) { + DataformGrpc.getCommitWorkspaceChangesMethod = + getCommitWorkspaceChangesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CommitWorkspaceChanges")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new DataformMethodDescriptorSupplier("CommitWorkspaceChanges")) + .build(); + } + } + } + return getCommitWorkspaceChangesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest, com.google.protobuf.Empty> + getResetWorkspaceChangesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ResetWorkspaceChanges", + requestType = com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest, com.google.protobuf.Empty> + getResetWorkspaceChangesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest, + com.google.protobuf.Empty> + getResetWorkspaceChangesMethod; + if ((getResetWorkspaceChangesMethod = DataformGrpc.getResetWorkspaceChangesMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getResetWorkspaceChangesMethod = DataformGrpc.getResetWorkspaceChangesMethod) + == null) { + DataformGrpc.getResetWorkspaceChangesMethod = + getResetWorkspaceChangesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ResetWorkspaceChanges")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new DataformMethodDescriptorSupplier("ResetWorkspaceChanges")) + .build(); + } + } + } + return getResetWorkspaceChangesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.FetchFileDiffRequest, + com.google.cloud.dataform.v1beta1.FetchFileDiffResponse> + getFetchFileDiffMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "FetchFileDiff", + requestType = com.google.cloud.dataform.v1beta1.FetchFileDiffRequest.class, + responseType = com.google.cloud.dataform.v1beta1.FetchFileDiffResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.FetchFileDiffRequest, + com.google.cloud.dataform.v1beta1.FetchFileDiffResponse> + getFetchFileDiffMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.FetchFileDiffRequest, + com.google.cloud.dataform.v1beta1.FetchFileDiffResponse> + getFetchFileDiffMethod; + if ((getFetchFileDiffMethod = DataformGrpc.getFetchFileDiffMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getFetchFileDiffMethod = DataformGrpc.getFetchFileDiffMethod) == null) { + DataformGrpc.getFetchFileDiffMethod = + getFetchFileDiffMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FetchFileDiff")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.FetchFileDiffRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.FetchFileDiffResponse + .getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("FetchFileDiff")) + .build(); + } + } + } + return getFetchFileDiffMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest, + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse> + getQueryDirectoryContentsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "QueryDirectoryContents", + requestType = com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest.class, + responseType = com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest, + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse> + getQueryDirectoryContentsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest, + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse> + getQueryDirectoryContentsMethod; + if ((getQueryDirectoryContentsMethod = DataformGrpc.getQueryDirectoryContentsMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getQueryDirectoryContentsMethod = DataformGrpc.getQueryDirectoryContentsMethod) + == null) { + DataformGrpc.getQueryDirectoryContentsMethod = + getQueryDirectoryContentsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "QueryDirectoryContents")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DataformMethodDescriptorSupplier("QueryDirectoryContents")) + .build(); + } + } + } + return getQueryDirectoryContentsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.MakeDirectoryRequest, + com.google.cloud.dataform.v1beta1.MakeDirectoryResponse> + getMakeDirectoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "MakeDirectory", + requestType = com.google.cloud.dataform.v1beta1.MakeDirectoryRequest.class, + responseType = com.google.cloud.dataform.v1beta1.MakeDirectoryResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.MakeDirectoryRequest, + com.google.cloud.dataform.v1beta1.MakeDirectoryResponse> + getMakeDirectoryMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.MakeDirectoryRequest, + com.google.cloud.dataform.v1beta1.MakeDirectoryResponse> + getMakeDirectoryMethod; + if ((getMakeDirectoryMethod = DataformGrpc.getMakeDirectoryMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getMakeDirectoryMethod = DataformGrpc.getMakeDirectoryMethod) == null) { + DataformGrpc.getMakeDirectoryMethod = + getMakeDirectoryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "MakeDirectory")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.MakeDirectoryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.MakeDirectoryResponse + .getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("MakeDirectory")) + .build(); + } + } + } + return getMakeDirectoryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest, com.google.protobuf.Empty> + getRemoveDirectoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RemoveDirectory", + requestType = com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest, com.google.protobuf.Empty> + getRemoveDirectoryMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest, com.google.protobuf.Empty> + getRemoveDirectoryMethod; + if ((getRemoveDirectoryMethod = DataformGrpc.getRemoveDirectoryMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getRemoveDirectoryMethod = DataformGrpc.getRemoveDirectoryMethod) == null) { + DataformGrpc.getRemoveDirectoryMethod = + getRemoveDirectoryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RemoveDirectory")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("RemoveDirectory")) + .build(); + } + } + } + return getRemoveDirectoryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.MoveDirectoryRequest, + com.google.cloud.dataform.v1beta1.MoveDirectoryResponse> + getMoveDirectoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "MoveDirectory", + requestType = com.google.cloud.dataform.v1beta1.MoveDirectoryRequest.class, + responseType = com.google.cloud.dataform.v1beta1.MoveDirectoryResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.MoveDirectoryRequest, + com.google.cloud.dataform.v1beta1.MoveDirectoryResponse> + getMoveDirectoryMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.MoveDirectoryRequest, + com.google.cloud.dataform.v1beta1.MoveDirectoryResponse> + getMoveDirectoryMethod; + if ((getMoveDirectoryMethod = DataformGrpc.getMoveDirectoryMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getMoveDirectoryMethod = DataformGrpc.getMoveDirectoryMethod) == null) { + DataformGrpc.getMoveDirectoryMethod = + getMoveDirectoryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "MoveDirectory")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.MoveDirectoryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.MoveDirectoryResponse + .getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("MoveDirectory")) + .build(); + } + } + } + return getMoveDirectoryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.ReadFileRequest, + com.google.cloud.dataform.v1beta1.ReadFileResponse> + getReadFileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ReadFile", + requestType = com.google.cloud.dataform.v1beta1.ReadFileRequest.class, + responseType = com.google.cloud.dataform.v1beta1.ReadFileResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.ReadFileRequest, + com.google.cloud.dataform.v1beta1.ReadFileResponse> + getReadFileMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.ReadFileRequest, + com.google.cloud.dataform.v1beta1.ReadFileResponse> + getReadFileMethod; + if ((getReadFileMethod = DataformGrpc.getReadFileMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getReadFileMethod = DataformGrpc.getReadFileMethod) == null) { + DataformGrpc.getReadFileMethod = + getReadFileMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReadFile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.ReadFileRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.ReadFileResponse + .getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("ReadFile")) + .build(); + } + } + } + return getReadFileMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.RemoveFileRequest, com.google.protobuf.Empty> + getRemoveFileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "RemoveFile", + requestType = com.google.cloud.dataform.v1beta1.RemoveFileRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.RemoveFileRequest, com.google.protobuf.Empty> + getRemoveFileMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.RemoveFileRequest, com.google.protobuf.Empty> + getRemoveFileMethod; + if ((getRemoveFileMethod = DataformGrpc.getRemoveFileMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getRemoveFileMethod = DataformGrpc.getRemoveFileMethod) == null) { + DataformGrpc.getRemoveFileMethod = + getRemoveFileMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RemoveFile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.RemoveFileRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("RemoveFile")) + .build(); + } + } + } + return getRemoveFileMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.MoveFileRequest, + com.google.cloud.dataform.v1beta1.MoveFileResponse> + getMoveFileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "MoveFile", + requestType = com.google.cloud.dataform.v1beta1.MoveFileRequest.class, + responseType = com.google.cloud.dataform.v1beta1.MoveFileResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.MoveFileRequest, + com.google.cloud.dataform.v1beta1.MoveFileResponse> + getMoveFileMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.MoveFileRequest, + com.google.cloud.dataform.v1beta1.MoveFileResponse> + getMoveFileMethod; + if ((getMoveFileMethod = DataformGrpc.getMoveFileMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getMoveFileMethod = DataformGrpc.getMoveFileMethod) == null) { + DataformGrpc.getMoveFileMethod = + getMoveFileMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "MoveFile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.MoveFileRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.MoveFileResponse + .getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("MoveFile")) + .build(); + } + } + } + return getMoveFileMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.WriteFileRequest, + com.google.cloud.dataform.v1beta1.WriteFileResponse> + getWriteFileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "WriteFile", + requestType = com.google.cloud.dataform.v1beta1.WriteFileRequest.class, + responseType = com.google.cloud.dataform.v1beta1.WriteFileResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.WriteFileRequest, + com.google.cloud.dataform.v1beta1.WriteFileResponse> + getWriteFileMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.WriteFileRequest, + com.google.cloud.dataform.v1beta1.WriteFileResponse> + getWriteFileMethod; + if ((getWriteFileMethod = DataformGrpc.getWriteFileMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getWriteFileMethod = DataformGrpc.getWriteFileMethod) == null) { + DataformGrpc.getWriteFileMethod = + getWriteFileMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "WriteFile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.WriteFileRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.WriteFileResponse + .getDefaultInstance())) + .setSchemaDescriptor(new DataformMethodDescriptorSupplier("WriteFile")) + .build(); + } + } + } + return getWriteFileMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest, + com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse> + getListCompilationResultsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListCompilationResults", + requestType = com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest.class, + responseType = com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest, + com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse> + getListCompilationResultsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest, + com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse> + getListCompilationResultsMethod; + if ((getListCompilationResultsMethod = DataformGrpc.getListCompilationResultsMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getListCompilationResultsMethod = DataformGrpc.getListCompilationResultsMethod) + == null) { + DataformGrpc.getListCompilationResultsMethod = + getListCompilationResultsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListCompilationResults")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DataformMethodDescriptorSupplier("ListCompilationResults")) + .build(); + } + } + } + return getListCompilationResultsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.GetCompilationResultRequest, + com.google.cloud.dataform.v1beta1.CompilationResult> + getGetCompilationResultMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetCompilationResult", + requestType = com.google.cloud.dataform.v1beta1.GetCompilationResultRequest.class, + responseType = com.google.cloud.dataform.v1beta1.CompilationResult.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.GetCompilationResultRequest, + com.google.cloud.dataform.v1beta1.CompilationResult> + getGetCompilationResultMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.GetCompilationResultRequest, + com.google.cloud.dataform.v1beta1.CompilationResult> + getGetCompilationResultMethod; + if ((getGetCompilationResultMethod = DataformGrpc.getGetCompilationResultMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getGetCompilationResultMethod = DataformGrpc.getGetCompilationResultMethod) == null) { + DataformGrpc.getGetCompilationResultMethod = + getGetCompilationResultMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetCompilationResult")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.GetCompilationResultRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.CompilationResult + .getDefaultInstance())) + .setSchemaDescriptor( + new DataformMethodDescriptorSupplier("GetCompilationResult")) + .build(); + } + } + } + return getGetCompilationResultMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest, + com.google.cloud.dataform.v1beta1.CompilationResult> + getCreateCompilationResultMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateCompilationResult", + requestType = com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest.class, + responseType = com.google.cloud.dataform.v1beta1.CompilationResult.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest, + com.google.cloud.dataform.v1beta1.CompilationResult> + getCreateCompilationResultMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest, + com.google.cloud.dataform.v1beta1.CompilationResult> + getCreateCompilationResultMethod; + if ((getCreateCompilationResultMethod = DataformGrpc.getCreateCompilationResultMethod) + == null) { + synchronized (DataformGrpc.class) { + if ((getCreateCompilationResultMethod = DataformGrpc.getCreateCompilationResultMethod) + == null) { + DataformGrpc.getCreateCompilationResultMethod = + getCreateCompilationResultMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateCompilationResult")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.CompilationResult + .getDefaultInstance())) + .setSchemaDescriptor( + new DataformMethodDescriptorSupplier("CreateCompilationResult")) + .build(); + } + } + } + return getCreateCompilationResultMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest, + com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse> + getQueryCompilationResultActionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "QueryCompilationResultActions", + requestType = com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest.class, + responseType = com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest, + com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse> + getQueryCompilationResultActionsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest, + com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse> + getQueryCompilationResultActionsMethod; + if ((getQueryCompilationResultActionsMethod = + DataformGrpc.getQueryCompilationResultActionsMethod) + == null) { + synchronized (DataformGrpc.class) { + if ((getQueryCompilationResultActionsMethod = + DataformGrpc.getQueryCompilationResultActionsMethod) + == null) { + DataformGrpc.getQueryCompilationResultActionsMethod = + getQueryCompilationResultActionsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "QueryCompilationResultActions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1 + .QueryCompilationResultActionsResponse.getDefaultInstance())) + .setSchemaDescriptor( + new DataformMethodDescriptorSupplier("QueryCompilationResultActions")) + .build(); + } + } + } + return getQueryCompilationResultActionsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest, + com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse> + getListWorkflowInvocationsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListWorkflowInvocations", + requestType = com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest.class, + responseType = com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest, + com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse> + getListWorkflowInvocationsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest, + com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse> + getListWorkflowInvocationsMethod; + if ((getListWorkflowInvocationsMethod = DataformGrpc.getListWorkflowInvocationsMethod) + == null) { + synchronized (DataformGrpc.class) { + if ((getListWorkflowInvocationsMethod = DataformGrpc.getListWorkflowInvocationsMethod) + == null) { + DataformGrpc.getListWorkflowInvocationsMethod = + getListWorkflowInvocationsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListWorkflowInvocations")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new DataformMethodDescriptorSupplier("ListWorkflowInvocations")) + .build(); + } + } + } + return getListWorkflowInvocationsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest, + com.google.cloud.dataform.v1beta1.WorkflowInvocation> + getGetWorkflowInvocationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetWorkflowInvocation", + requestType = com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest.class, + responseType = com.google.cloud.dataform.v1beta1.WorkflowInvocation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest, + com.google.cloud.dataform.v1beta1.WorkflowInvocation> + getGetWorkflowInvocationMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest, + com.google.cloud.dataform.v1beta1.WorkflowInvocation> + getGetWorkflowInvocationMethod; + if ((getGetWorkflowInvocationMethod = DataformGrpc.getGetWorkflowInvocationMethod) == null) { + synchronized (DataformGrpc.class) { + if ((getGetWorkflowInvocationMethod = DataformGrpc.getGetWorkflowInvocationMethod) + == null) { + DataformGrpc.getGetWorkflowInvocationMethod = + getGetWorkflowInvocationMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetWorkflowInvocation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.WorkflowInvocation + .getDefaultInstance())) + .setSchemaDescriptor( + new DataformMethodDescriptorSupplier("GetWorkflowInvocation")) + .build(); + } + } + } + return getGetWorkflowInvocationMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest, + com.google.cloud.dataform.v1beta1.WorkflowInvocation> + getCreateWorkflowInvocationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateWorkflowInvocation", + requestType = com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest.class, + responseType = com.google.cloud.dataform.v1beta1.WorkflowInvocation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest, + com.google.cloud.dataform.v1beta1.WorkflowInvocation> + getCreateWorkflowInvocationMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest, + com.google.cloud.dataform.v1beta1.WorkflowInvocation> + getCreateWorkflowInvocationMethod; + if ((getCreateWorkflowInvocationMethod = DataformGrpc.getCreateWorkflowInvocationMethod) + == null) { + synchronized (DataformGrpc.class) { + if ((getCreateWorkflowInvocationMethod = DataformGrpc.getCreateWorkflowInvocationMethod) + == null) { + DataformGrpc.getCreateWorkflowInvocationMethod = + getCreateWorkflowInvocationMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateWorkflowInvocation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.WorkflowInvocation + .getDefaultInstance())) + .setSchemaDescriptor( + new DataformMethodDescriptorSupplier("CreateWorkflowInvocation")) + .build(); + } + } + } + return getCreateWorkflowInvocationMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest, + com.google.protobuf.Empty> + getDeleteWorkflowInvocationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteWorkflowInvocation", + requestType = com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest, + com.google.protobuf.Empty> + getDeleteWorkflowInvocationMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest, + com.google.protobuf.Empty> + getDeleteWorkflowInvocationMethod; + if ((getDeleteWorkflowInvocationMethod = DataformGrpc.getDeleteWorkflowInvocationMethod) + == null) { + synchronized (DataformGrpc.class) { + if ((getDeleteWorkflowInvocationMethod = DataformGrpc.getDeleteWorkflowInvocationMethod) + == null) { + DataformGrpc.getDeleteWorkflowInvocationMethod = + getDeleteWorkflowInvocationMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteWorkflowInvocation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new DataformMethodDescriptorSupplier("DeleteWorkflowInvocation")) + .build(); + } + } + } + return getDeleteWorkflowInvocationMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest, + com.google.protobuf.Empty> + getCancelWorkflowInvocationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CancelWorkflowInvocation", + requestType = com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest, + com.google.protobuf.Empty> + getCancelWorkflowInvocationMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest, + com.google.protobuf.Empty> + getCancelWorkflowInvocationMethod; + if ((getCancelWorkflowInvocationMethod = DataformGrpc.getCancelWorkflowInvocationMethod) + == null) { + synchronized (DataformGrpc.class) { + if ((getCancelWorkflowInvocationMethod = DataformGrpc.getCancelWorkflowInvocationMethod) + == null) { + DataformGrpc.getCancelWorkflowInvocationMethod = + getCancelWorkflowInvocationMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CancelWorkflowInvocation")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new DataformMethodDescriptorSupplier("CancelWorkflowInvocation")) + .build(); + } + } + } + return getCancelWorkflowInvocationMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest, + com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse> + getQueryWorkflowInvocationActionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "QueryWorkflowInvocationActions", + requestType = com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest.class, + responseType = com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest, + com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse> + getQueryWorkflowInvocationActionsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest, + com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse> + getQueryWorkflowInvocationActionsMethod; + if ((getQueryWorkflowInvocationActionsMethod = + DataformGrpc.getQueryWorkflowInvocationActionsMethod) + == null) { + synchronized (DataformGrpc.class) { + if ((getQueryWorkflowInvocationActionsMethod = + DataformGrpc.getQueryWorkflowInvocationActionsMethod) + == null) { + DataformGrpc.getQueryWorkflowInvocationActionsMethod = + getQueryWorkflowInvocationActionsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "QueryWorkflowInvocationActions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1 + .QueryWorkflowInvocationActionsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.dataform.v1beta1 + .QueryWorkflowInvocationActionsResponse.getDefaultInstance())) + .setSchemaDescriptor( + new DataformMethodDescriptorSupplier("QueryWorkflowInvocationActions")) + .build(); + } + } + } + return getQueryWorkflowInvocationActionsMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static DataformStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataformStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataformStub(channel, callOptions); + } + }; + return DataformStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static DataformBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataformBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataformBlockingStub(channel, callOptions); + } + }; + return DataformBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static DataformFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DataformFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataformFutureStub(channel, callOptions); + } + }; + return DataformFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * Dataform is a service to develop, create, document, test, and update curated
+   * tables in BigQuery.
+   * 
+ */ + public abstract static class DataformImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Lists Repositories in a given project and location.
+     * 
+ */ + public void listRepositories( + com.google.cloud.dataform.v1beta1.ListRepositoriesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListRepositoriesMethod(), responseObserver); + } + + /** + * + * + *
+     * Fetches a single Repository.
+     * 
+ */ + public void getRepository( + com.google.cloud.dataform.v1beta1.GetRepositoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetRepositoryMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new Repository in a given project and location.
+     * 
+ */ + public void createRepository( + com.google.cloud.dataform.v1beta1.CreateRepositoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateRepositoryMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a single Repository.
+     * 
+ */ + public void updateRepository( + com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateRepositoryMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a single Repository.
+     * 
+ */ + public void deleteRepository( + com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteRepositoryMethod(), responseObserver); + } + + /** + * + * + *
+     * Fetches a Repository's remote branches.
+     * 
+ */ + public void fetchRemoteBranches( + com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getFetchRemoteBranchesMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists Workspaces in a given Repository.
+     * 
+ */ + public void listWorkspaces( + com.google.cloud.dataform.v1beta1.ListWorkspacesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListWorkspacesMethod(), responseObserver); + } + + /** + * + * + *
+     * Fetches a single Workspace.
+     * 
+ */ + public void getWorkspace( + com.google.cloud.dataform.v1beta1.GetWorkspaceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetWorkspaceMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new Workspace in a given Repository.
+     * 
+ */ + public void createWorkspace( + com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateWorkspaceMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a single Workspace.
+     * 
+ */ + public void deleteWorkspace( + com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteWorkspaceMethod(), responseObserver); + } + + /** + * + * + *
+     * Installs dependency NPM packages (inside a Workspace).
+     * 
+ */ + public void installNpmPackages( + com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getInstallNpmPackagesMethod(), responseObserver); + } + + /** + * + * + *
+     * Pulls Git commits from the Repository's remote into a Workspace.
+     * 
+ */ + public void pullGitCommits( + com.google.cloud.dataform.v1beta1.PullGitCommitsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getPullGitCommitsMethod(), responseObserver); + } + + /** + * + * + *
+     * Pushes Git commits from a Workspace to the Repository's remote.
+     * 
+ */ + public void pushGitCommits( + com.google.cloud.dataform.v1beta1.PushGitCommitsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getPushGitCommitsMethod(), responseObserver); + } + + /** + * + * + *
+     * Fetches Git statuses for the files in a Workspace.
+     * 
+ */ + public void fetchFileGitStatuses( + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getFetchFileGitStatusesMethod(), responseObserver); + } + + /** + * + * + *
+     * Fetches Git ahead/behind against a remote branch.
+     * 
+ */ + public void fetchGitAheadBehind( + com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getFetchGitAheadBehindMethod(), responseObserver); + } + + /** + * + * + *
+     * Applies a Git commit for uncommitted files in a Workspace.
+     * 
+ */ + public void commitWorkspaceChanges( + com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCommitWorkspaceChangesMethod(), responseObserver); + } + + /** + * + * + *
+     * Performs a Git reset for uncommitted files in a Workspace.
+     * 
+ */ + public void resetWorkspaceChanges( + com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getResetWorkspaceChangesMethod(), responseObserver); + } + + /** + * + * + *
+     * Fetches Git diff for an uncommitted file in a Workspace.
+     * 
+ */ + public void fetchFileDiff( + com.google.cloud.dataform.v1beta1.FetchFileDiffRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getFetchFileDiffMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns the contents of a given Workspace directory.
+     * 
+ */ + public void queryDirectoryContents( + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getQueryDirectoryContentsMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a directory inside a Workspace.
+     * 
+ */ + public void makeDirectory( + com.google.cloud.dataform.v1beta1.MakeDirectoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getMakeDirectoryMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a directory (inside a Workspace) and all of its contents.
+     * 
+ */ + public void removeDirectory( + com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getRemoveDirectoryMethod(), responseObserver); + } + + /** + * + * + *
+     * Moves a directory (inside a Workspace), and all of its contents, to a new
+     * location.
+     * 
+ */ + public void moveDirectory( + com.google.cloud.dataform.v1beta1.MoveDirectoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getMoveDirectoryMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns the contents of a file (inside a Workspace).
+     * 
+ */ + public void readFile( + com.google.cloud.dataform.v1beta1.ReadFileRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getReadFileMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a file (inside a Workspace).
+     * 
+ */ + public void removeFile( + com.google.cloud.dataform.v1beta1.RemoveFileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRemoveFileMethod(), responseObserver); + } + + /** + * + * + *
+     * Moves a file (inside a Workspace) to a new location.
+     * 
+ */ + public void moveFile( + com.google.cloud.dataform.v1beta1.MoveFileRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getMoveFileMethod(), responseObserver); + } + + /** + * + * + *
+     * Writes to a file (inside a Workspace).
+     * 
+ */ + public void writeFile( + com.google.cloud.dataform.v1beta1.WriteFileRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getWriteFileMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists CompilationResults in a given Repository.
+     * 
+ */ + public void listCompilationResults( + com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListCompilationResultsMethod(), responseObserver); + } + + /** + * + * + *
+     * Fetches a single CompilationResult.
+     * 
+ */ + public void getCompilationResult( + com.google.cloud.dataform.v1beta1.GetCompilationResultRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetCompilationResultMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new CompilationResult in a given project and location.
+     * 
+ */ + public void createCompilationResult( + com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateCompilationResultMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns CompilationResultActions in a given CompilationResult.
+     * 
+ */ + public void queryCompilationResultActions( + com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getQueryCompilationResultActionsMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists WorkflowInvocations in a given Repository.
+     * 
+ */ + public void listWorkflowInvocations( + com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListWorkflowInvocationsMethod(), responseObserver); + } + + /** + * + * + *
+     * Fetches a single WorkflowInvocation.
+     * 
+ */ + public void getWorkflowInvocation( + com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetWorkflowInvocationMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new WorkflowInvocation in a given Repository.
+     * 
+ */ + public void createWorkflowInvocation( + com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateWorkflowInvocationMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a single WorkflowInvocation.
+     * 
+ */ + public void deleteWorkflowInvocation( + com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteWorkflowInvocationMethod(), responseObserver); + } + + /** + * + * + *
+     * Requests cancellation of a running WorkflowInvocation.
+     * 
+ */ + public void cancelWorkflowInvocation( + com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCancelWorkflowInvocationMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns WorkflowInvocationActions in a given WorkflowInvocation.
+     * 
+ */ + public void queryWorkflowInvocationActions( + com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getQueryWorkflowInvocationActionsMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListRepositoriesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.ListRepositoriesRequest, + com.google.cloud.dataform.v1beta1.ListRepositoriesResponse>( + this, METHODID_LIST_REPOSITORIES))) + .addMethod( + getGetRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.GetRepositoryRequest, + com.google.cloud.dataform.v1beta1.Repository>(this, METHODID_GET_REPOSITORY))) + .addMethod( + getCreateRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.CreateRepositoryRequest, + com.google.cloud.dataform.v1beta1.Repository>( + this, METHODID_CREATE_REPOSITORY))) + .addMethod( + getUpdateRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest, + com.google.cloud.dataform.v1beta1.Repository>( + this, METHODID_UPDATE_REPOSITORY))) + .addMethod( + getDeleteRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_REPOSITORY))) + .addMethod( + getFetchRemoteBranchesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest, + com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse>( + this, METHODID_FETCH_REMOTE_BRANCHES))) + .addMethod( + getListWorkspacesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.ListWorkspacesRequest, + com.google.cloud.dataform.v1beta1.ListWorkspacesResponse>( + this, METHODID_LIST_WORKSPACES))) + .addMethod( + getGetWorkspaceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.GetWorkspaceRequest, + com.google.cloud.dataform.v1beta1.Workspace>(this, METHODID_GET_WORKSPACE))) + .addMethod( + getCreateWorkspaceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest, + com.google.cloud.dataform.v1beta1.Workspace>( + this, METHODID_CREATE_WORKSPACE))) + .addMethod( + getDeleteWorkspaceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_WORKSPACE))) + .addMethod( + getInstallNpmPackagesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest, + com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse>( + this, METHODID_INSTALL_NPM_PACKAGES))) + .addMethod( + getPullGitCommitsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.PullGitCommitsRequest, + com.google.protobuf.Empty>(this, METHODID_PULL_GIT_COMMITS))) + .addMethod( + getPushGitCommitsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.PushGitCommitsRequest, + com.google.protobuf.Empty>(this, METHODID_PUSH_GIT_COMMITS))) + .addMethod( + getFetchFileGitStatusesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest, + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse>( + this, METHODID_FETCH_FILE_GIT_STATUSES))) + .addMethod( + getFetchGitAheadBehindMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest, + com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse>( + this, METHODID_FETCH_GIT_AHEAD_BEHIND))) + .addMethod( + getCommitWorkspaceChangesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest, + com.google.protobuf.Empty>(this, METHODID_COMMIT_WORKSPACE_CHANGES))) + .addMethod( + getResetWorkspaceChangesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest, + com.google.protobuf.Empty>(this, METHODID_RESET_WORKSPACE_CHANGES))) + .addMethod( + getFetchFileDiffMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.FetchFileDiffRequest, + com.google.cloud.dataform.v1beta1.FetchFileDiffResponse>( + this, METHODID_FETCH_FILE_DIFF))) + .addMethod( + getQueryDirectoryContentsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest, + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse>( + this, METHODID_QUERY_DIRECTORY_CONTENTS))) + .addMethod( + getMakeDirectoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.MakeDirectoryRequest, + com.google.cloud.dataform.v1beta1.MakeDirectoryResponse>( + this, METHODID_MAKE_DIRECTORY))) + .addMethod( + getRemoveDirectoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest, + com.google.protobuf.Empty>(this, METHODID_REMOVE_DIRECTORY))) + .addMethod( + getMoveDirectoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.MoveDirectoryRequest, + com.google.cloud.dataform.v1beta1.MoveDirectoryResponse>( + this, METHODID_MOVE_DIRECTORY))) + .addMethod( + getReadFileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.ReadFileRequest, + com.google.cloud.dataform.v1beta1.ReadFileResponse>( + this, METHODID_READ_FILE))) + .addMethod( + getRemoveFileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.RemoveFileRequest, + com.google.protobuf.Empty>(this, METHODID_REMOVE_FILE))) + .addMethod( + getMoveFileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.MoveFileRequest, + com.google.cloud.dataform.v1beta1.MoveFileResponse>( + this, METHODID_MOVE_FILE))) + .addMethod( + getWriteFileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.WriteFileRequest, + com.google.cloud.dataform.v1beta1.WriteFileResponse>( + this, METHODID_WRITE_FILE))) + .addMethod( + getListCompilationResultsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest, + com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse>( + this, METHODID_LIST_COMPILATION_RESULTS))) + .addMethod( + getGetCompilationResultMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.GetCompilationResultRequest, + com.google.cloud.dataform.v1beta1.CompilationResult>( + this, METHODID_GET_COMPILATION_RESULT))) + .addMethod( + getCreateCompilationResultMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest, + com.google.cloud.dataform.v1beta1.CompilationResult>( + this, METHODID_CREATE_COMPILATION_RESULT))) + .addMethod( + getQueryCompilationResultActionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest, + com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse>( + this, METHODID_QUERY_COMPILATION_RESULT_ACTIONS))) + .addMethod( + getListWorkflowInvocationsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest, + com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse>( + this, METHODID_LIST_WORKFLOW_INVOCATIONS))) + .addMethod( + getGetWorkflowInvocationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest, + com.google.cloud.dataform.v1beta1.WorkflowInvocation>( + this, METHODID_GET_WORKFLOW_INVOCATION))) + .addMethod( + getCreateWorkflowInvocationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest, + com.google.cloud.dataform.v1beta1.WorkflowInvocation>( + this, METHODID_CREATE_WORKFLOW_INVOCATION))) + .addMethod( + getDeleteWorkflowInvocationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_WORKFLOW_INVOCATION))) + .addMethod( + getCancelWorkflowInvocationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest, + com.google.protobuf.Empty>(this, METHODID_CANCEL_WORKFLOW_INVOCATION))) + .addMethod( + getQueryWorkflowInvocationActionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest, + com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse>( + this, METHODID_QUERY_WORKFLOW_INVOCATION_ACTIONS))) + .build(); + } + } + + /** + * + * + *
+   * Dataform is a service to develop, create, document, test, and update curated
+   * tables in BigQuery.
+   * 
+ */ + public static final class DataformStub extends io.grpc.stub.AbstractAsyncStub { + private DataformStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataformStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataformStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists Repositories in a given project and location.
+     * 
+ */ + public void listRepositories( + com.google.cloud.dataform.v1beta1.ListRepositoriesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Fetches a single Repository.
+     * 
+ */ + public void getRepository( + com.google.cloud.dataform.v1beta1.GetRepositoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a new Repository in a given project and location.
+     * 
+ */ + public void createRepository( + com.google.cloud.dataform.v1beta1.CreateRepositoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a single Repository.
+     * 
+ */ + public void updateRepository( + com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a single Repository.
+     * 
+ */ + public void deleteRepository( + com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Fetches a Repository's remote branches.
+     * 
+ */ + public void fetchRemoteBranches( + com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getFetchRemoteBranchesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists Workspaces in a given Repository.
+     * 
+ */ + public void listWorkspaces( + com.google.cloud.dataform.v1beta1.ListWorkspacesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListWorkspacesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Fetches a single Workspace.
+     * 
+ */ + public void getWorkspace( + com.google.cloud.dataform.v1beta1.GetWorkspaceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetWorkspaceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a new Workspace in a given Repository.
+     * 
+ */ + public void createWorkspace( + com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateWorkspaceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a single Workspace.
+     * 
+ */ + public void deleteWorkspace( + com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteWorkspaceMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Installs dependency NPM packages (inside a Workspace).
+     * 
+ */ + public void installNpmPackages( + com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getInstallNpmPackagesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Pulls Git commits from the Repository's remote into a Workspace.
+     * 
+ */ + public void pullGitCommits( + com.google.cloud.dataform.v1beta1.PullGitCommitsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getPullGitCommitsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Pushes Git commits from a Workspace to the Repository's remote.
+     * 
+ */ + public void pushGitCommits( + com.google.cloud.dataform.v1beta1.PushGitCommitsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getPushGitCommitsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Fetches Git statuses for the files in a Workspace.
+     * 
+ */ + public void fetchFileGitStatuses( + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getFetchFileGitStatusesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Fetches Git ahead/behind against a remote branch.
+     * 
+ */ + public void fetchGitAheadBehind( + com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getFetchGitAheadBehindMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Applies a Git commit for uncommitted files in a Workspace.
+     * 
+ */ + public void commitWorkspaceChanges( + com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCommitWorkspaceChangesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Performs a Git reset for uncommitted files in a Workspace.
+     * 
+ */ + public void resetWorkspaceChanges( + com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getResetWorkspaceChangesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Fetches Git diff for an uncommitted file in a Workspace.
+     * 
+ */ + public void fetchFileDiff( + com.google.cloud.dataform.v1beta1.FetchFileDiffRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getFetchFileDiffMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns the contents of a given Workspace directory.
+     * 
+ */ + public void queryDirectoryContents( + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getQueryDirectoryContentsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a directory inside a Workspace.
+     * 
+ */ + public void makeDirectory( + com.google.cloud.dataform.v1beta1.MakeDirectoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getMakeDirectoryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a directory (inside a Workspace) and all of its contents.
+     * 
+ */ + public void removeDirectory( + com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRemoveDirectoryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Moves a directory (inside a Workspace), and all of its contents, to a new
+     * location.
+     * 
+ */ + public void moveDirectory( + com.google.cloud.dataform.v1beta1.MoveDirectoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getMoveDirectoryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns the contents of a file (inside a Workspace).
+     * 
+ */ + public void readFile( + com.google.cloud.dataform.v1beta1.ReadFileRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getReadFileMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Deletes a file (inside a Workspace).
+     * 
+ */ + public void removeFile( + com.google.cloud.dataform.v1beta1.RemoveFileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getRemoveFileMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Moves a file (inside a Workspace) to a new location.
+     * 
+ */ + public void moveFile( + com.google.cloud.dataform.v1beta1.MoveFileRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getMoveFileMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Writes to a file (inside a Workspace).
+     * 
+ */ + public void writeFile( + com.google.cloud.dataform.v1beta1.WriteFileRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getWriteFileMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Lists CompilationResults in a given Repository.
+     * 
+ */ + public void listCompilationResults( + com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListCompilationResultsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Fetches a single CompilationResult.
+     * 
+ */ + public void getCompilationResult( + com.google.cloud.dataform.v1beta1.GetCompilationResultRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetCompilationResultMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a new CompilationResult in a given project and location.
+     * 
+ */ + public void createCompilationResult( + com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateCompilationResultMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns CompilationResultActions in a given CompilationResult.
+     * 
+ */ + public void queryCompilationResultActions( + com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getQueryCompilationResultActionsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists WorkflowInvocations in a given Repository.
+     * 
+ */ + public void listWorkflowInvocations( + com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListWorkflowInvocationsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Fetches a single WorkflowInvocation.
+     * 
+ */ + public void getWorkflowInvocation( + com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetWorkflowInvocationMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a new WorkflowInvocation in a given Repository.
+     * 
+ */ + public void createWorkflowInvocation( + com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateWorkflowInvocationMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a single WorkflowInvocation.
+     * 
+ */ + public void deleteWorkflowInvocation( + com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteWorkflowInvocationMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Requests cancellation of a running WorkflowInvocation.
+     * 
+ */ + public void cancelWorkflowInvocation( + com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCancelWorkflowInvocationMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns WorkflowInvocationActions in a given WorkflowInvocation.
+     * 
+ */ + public void queryWorkflowInvocationActions( + com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getQueryWorkflowInvocationActionsMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * Dataform is a service to develop, create, document, test, and update curated
+   * tables in BigQuery.
+   * 
+ */ + public static final class DataformBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private DataformBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataformBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataformBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists Repositories in a given project and location.
+     * 
+ */ + public com.google.cloud.dataform.v1beta1.ListRepositoriesResponse listRepositories( + com.google.cloud.dataform.v1beta1.ListRepositoriesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListRepositoriesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Fetches a single Repository.
+     * 
+ */ + public com.google.cloud.dataform.v1beta1.Repository getRepository( + com.google.cloud.dataform.v1beta1.GetRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetRepositoryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new Repository in a given project and location.
+     * 
+ */ + public com.google.cloud.dataform.v1beta1.Repository createRepository( + com.google.cloud.dataform.v1beta1.CreateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateRepositoryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a single Repository.
+     * 
+ */ + public com.google.cloud.dataform.v1beta1.Repository updateRepository( + com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateRepositoryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a single Repository.
+     * 
+ */ + public com.google.protobuf.Empty deleteRepository( + com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteRepositoryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Fetches a Repository's remote branches.
+     * 
+ */ + public com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse fetchRemoteBranches( + com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getFetchRemoteBranchesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists Workspaces in a given Repository.
+     * 
+ */ + public com.google.cloud.dataform.v1beta1.ListWorkspacesResponse listWorkspaces( + com.google.cloud.dataform.v1beta1.ListWorkspacesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListWorkspacesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Fetches a single Workspace.
+     * 
+ */ + public com.google.cloud.dataform.v1beta1.Workspace getWorkspace( + com.google.cloud.dataform.v1beta1.GetWorkspaceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetWorkspaceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new Workspace in a given Repository.
+     * 
+ */ + public com.google.cloud.dataform.v1beta1.Workspace createWorkspace( + com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateWorkspaceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a single Workspace.
+     * 
+ */ + public com.google.protobuf.Empty deleteWorkspace( + com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteWorkspaceMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Installs dependency NPM packages (inside a Workspace).
+     * 
+ */ + public com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse installNpmPackages( + com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getInstallNpmPackagesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Pulls Git commits from the Repository's remote into a Workspace.
+     * 
+ */ + public com.google.protobuf.Empty pullGitCommits( + com.google.cloud.dataform.v1beta1.PullGitCommitsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getPullGitCommitsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Pushes Git commits from a Workspace to the Repository's remote.
+     * 
+ */ + public com.google.protobuf.Empty pushGitCommits( + com.google.cloud.dataform.v1beta1.PushGitCommitsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getPushGitCommitsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Fetches Git statuses for the files in a Workspace.
+     * 
+ */ + public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse fetchFileGitStatuses( + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getFetchFileGitStatusesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Fetches Git ahead/behind against a remote branch.
+     * 
+ */ + public com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse fetchGitAheadBehind( + com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getFetchGitAheadBehindMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Applies a Git commit for uncommitted files in a Workspace.
+     * 
+ */ + public com.google.protobuf.Empty commitWorkspaceChanges( + com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCommitWorkspaceChangesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Performs a Git reset for uncommitted files in a Workspace.
+     * 
+ */ + public com.google.protobuf.Empty resetWorkspaceChanges( + com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getResetWorkspaceChangesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Fetches Git diff for an uncommitted file in a Workspace.
+     * 
+ */ + public com.google.cloud.dataform.v1beta1.FetchFileDiffResponse fetchFileDiff( + com.google.cloud.dataform.v1beta1.FetchFileDiffRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getFetchFileDiffMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns the contents of a given Workspace directory.
+     * 
+ */ + public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse queryDirectoryContents( + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getQueryDirectoryContentsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a directory inside a Workspace.
+     * 
+ */ + public com.google.cloud.dataform.v1beta1.MakeDirectoryResponse makeDirectory( + com.google.cloud.dataform.v1beta1.MakeDirectoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getMakeDirectoryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a directory (inside a Workspace) and all of its contents.
+     * 
+ */ + public com.google.protobuf.Empty removeDirectory( + com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRemoveDirectoryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Moves a directory (inside a Workspace), and all of its contents, to a new
+     * location.
+     * 
+ */ + public com.google.cloud.dataform.v1beta1.MoveDirectoryResponse moveDirectory( + com.google.cloud.dataform.v1beta1.MoveDirectoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getMoveDirectoryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns the contents of a file (inside a Workspace).
+     * 
+ */ + public com.google.cloud.dataform.v1beta1.ReadFileResponse readFile( + com.google.cloud.dataform.v1beta1.ReadFileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getReadFileMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a file (inside a Workspace).
+     * 
+ */ + public com.google.protobuf.Empty removeFile( + com.google.cloud.dataform.v1beta1.RemoveFileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRemoveFileMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Moves a file (inside a Workspace) to a new location.
+     * 
+ */ + public com.google.cloud.dataform.v1beta1.MoveFileResponse moveFile( + com.google.cloud.dataform.v1beta1.MoveFileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getMoveFileMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Writes to a file (inside a Workspace).
+     * 
+ */ + public com.google.cloud.dataform.v1beta1.WriteFileResponse writeFile( + com.google.cloud.dataform.v1beta1.WriteFileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getWriteFileMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists CompilationResults in a given Repository.
+     * 
+ */ + public com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse listCompilationResults( + com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListCompilationResultsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Fetches a single CompilationResult.
+     * 
+ */ + public com.google.cloud.dataform.v1beta1.CompilationResult getCompilationResult( + com.google.cloud.dataform.v1beta1.GetCompilationResultRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetCompilationResultMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new CompilationResult in a given project and location.
+     * 
+ */ + public com.google.cloud.dataform.v1beta1.CompilationResult createCompilationResult( + com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateCompilationResultMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns CompilationResultActions in a given CompilationResult.
+     * 
+ */ + public com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse + queryCompilationResultActions( + com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getQueryCompilationResultActionsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists WorkflowInvocations in a given Repository.
+     * 
+ */ + public com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse + listWorkflowInvocations( + com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListWorkflowInvocationsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Fetches a single WorkflowInvocation.
+     * 
+ */ + public com.google.cloud.dataform.v1beta1.WorkflowInvocation getWorkflowInvocation( + com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetWorkflowInvocationMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new WorkflowInvocation in a given Repository.
+     * 
+ */ + public com.google.cloud.dataform.v1beta1.WorkflowInvocation createWorkflowInvocation( + com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateWorkflowInvocationMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a single WorkflowInvocation.
+     * 
+ */ + public com.google.protobuf.Empty deleteWorkflowInvocation( + com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteWorkflowInvocationMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Requests cancellation of a running WorkflowInvocation.
+     * 
+ */ + public com.google.protobuf.Empty cancelWorkflowInvocation( + com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCancelWorkflowInvocationMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns WorkflowInvocationActions in a given WorkflowInvocation.
+     * 
+ */ + public com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse + queryWorkflowInvocationActions( + com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getQueryWorkflowInvocationActionsMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * Dataform is a service to develop, create, document, test, and update curated
+   * tables in BigQuery.
+   * 
+ */ + public static final class DataformFutureStub + extends io.grpc.stub.AbstractFutureStub { + private DataformFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DataformFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DataformFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists Repositories in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataform.v1beta1.ListRepositoriesResponse> + listRepositories(com.google.cloud.dataform.v1beta1.ListRepositoriesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Fetches a single Repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataform.v1beta1.Repository> + getRepository(com.google.cloud.dataform.v1beta1.GetRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new Repository in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataform.v1beta1.Repository> + createRepository(com.google.cloud.dataform.v1beta1.CreateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a single Repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataform.v1beta1.Repository> + updateRepository(com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a single Repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteRepository(com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Fetches a Repository's remote branches.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse> + fetchRemoteBranches(com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getFetchRemoteBranchesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists Workspaces in a given Repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataform.v1beta1.ListWorkspacesResponse> + listWorkspaces(com.google.cloud.dataform.v1beta1.ListWorkspacesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListWorkspacesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Fetches a single Workspace.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataform.v1beta1.Workspace> + getWorkspace(com.google.cloud.dataform.v1beta1.GetWorkspaceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetWorkspaceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new Workspace in a given Repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataform.v1beta1.Workspace> + createWorkspace(com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateWorkspaceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a single Workspace.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteWorkspace(com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteWorkspaceMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Installs dependency NPM packages (inside a Workspace).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse> + installNpmPackages(com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getInstallNpmPackagesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Pulls Git commits from the Repository's remote into a Workspace.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + pullGitCommits(com.google.cloud.dataform.v1beta1.PullGitCommitsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getPullGitCommitsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Pushes Git commits from a Workspace to the Repository's remote.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + pushGitCommits(com.google.cloud.dataform.v1beta1.PushGitCommitsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getPushGitCommitsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Fetches Git statuses for the files in a Workspace.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse> + fetchFileGitStatuses( + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getFetchFileGitStatusesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Fetches Git ahead/behind against a remote branch.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse> + fetchGitAheadBehind(com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getFetchGitAheadBehindMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Applies a Git commit for uncommitted files in a Workspace.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + commitWorkspaceChanges( + com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCommitWorkspaceChangesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Performs a Git reset for uncommitted files in a Workspace.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + resetWorkspaceChanges( + com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getResetWorkspaceChangesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Fetches Git diff for an uncommitted file in a Workspace.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataform.v1beta1.FetchFileDiffResponse> + fetchFileDiff(com.google.cloud.dataform.v1beta1.FetchFileDiffRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getFetchFileDiffMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns the contents of a given Workspace directory.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse> + queryDirectoryContents( + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getQueryDirectoryContentsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a directory inside a Workspace.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataform.v1beta1.MakeDirectoryResponse> + makeDirectory(com.google.cloud.dataform.v1beta1.MakeDirectoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getMakeDirectoryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a directory (inside a Workspace) and all of its contents.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + removeDirectory(com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRemoveDirectoryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Moves a directory (inside a Workspace), and all of its contents, to a new
+     * location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataform.v1beta1.MoveDirectoryResponse> + moveDirectory(com.google.cloud.dataform.v1beta1.MoveDirectoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getMoveDirectoryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns the contents of a file (inside a Workspace).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataform.v1beta1.ReadFileResponse> + readFile(com.google.cloud.dataform.v1beta1.ReadFileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getReadFileMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a file (inside a Workspace).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture removeFile( + com.google.cloud.dataform.v1beta1.RemoveFileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRemoveFileMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Moves a file (inside a Workspace) to a new location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataform.v1beta1.MoveFileResponse> + moveFile(com.google.cloud.dataform.v1beta1.MoveFileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getMoveFileMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Writes to a file (inside a Workspace).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataform.v1beta1.WriteFileResponse> + writeFile(com.google.cloud.dataform.v1beta1.WriteFileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getWriteFileMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists CompilationResults in a given Repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse> + listCompilationResults( + com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListCompilationResultsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Fetches a single CompilationResult.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataform.v1beta1.CompilationResult> + getCompilationResult( + com.google.cloud.dataform.v1beta1.GetCompilationResultRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetCompilationResultMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new CompilationResult in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataform.v1beta1.CompilationResult> + createCompilationResult( + com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateCompilationResultMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns CompilationResultActions in a given CompilationResult.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse> + queryCompilationResultActions( + com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getQueryCompilationResultActionsMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Lists WorkflowInvocations in a given Repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse> + listWorkflowInvocations( + com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListWorkflowInvocationsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Fetches a single WorkflowInvocation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataform.v1beta1.WorkflowInvocation> + getWorkflowInvocation( + com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetWorkflowInvocationMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new WorkflowInvocation in a given Repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataform.v1beta1.WorkflowInvocation> + createWorkflowInvocation( + com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateWorkflowInvocationMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a single WorkflowInvocation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteWorkflowInvocation( + com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteWorkflowInvocationMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Requests cancellation of a running WorkflowInvocation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + cancelWorkflowInvocation( + com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCancelWorkflowInvocationMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns WorkflowInvocationActions in a given WorkflowInvocation.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse> + queryWorkflowInvocationActions( + com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getQueryWorkflowInvocationActionsMethod(), getCallOptions()), + request); + } + } + + private static final int METHODID_LIST_REPOSITORIES = 0; + private static final int METHODID_GET_REPOSITORY = 1; + private static final int METHODID_CREATE_REPOSITORY = 2; + private static final int METHODID_UPDATE_REPOSITORY = 3; + private static final int METHODID_DELETE_REPOSITORY = 4; + private static final int METHODID_FETCH_REMOTE_BRANCHES = 5; + private static final int METHODID_LIST_WORKSPACES = 6; + private static final int METHODID_GET_WORKSPACE = 7; + private static final int METHODID_CREATE_WORKSPACE = 8; + private static final int METHODID_DELETE_WORKSPACE = 9; + private static final int METHODID_INSTALL_NPM_PACKAGES = 10; + private static final int METHODID_PULL_GIT_COMMITS = 11; + private static final int METHODID_PUSH_GIT_COMMITS = 12; + private static final int METHODID_FETCH_FILE_GIT_STATUSES = 13; + private static final int METHODID_FETCH_GIT_AHEAD_BEHIND = 14; + private static final int METHODID_COMMIT_WORKSPACE_CHANGES = 15; + private static final int METHODID_RESET_WORKSPACE_CHANGES = 16; + private static final int METHODID_FETCH_FILE_DIFF = 17; + private static final int METHODID_QUERY_DIRECTORY_CONTENTS = 18; + private static final int METHODID_MAKE_DIRECTORY = 19; + private static final int METHODID_REMOVE_DIRECTORY = 20; + private static final int METHODID_MOVE_DIRECTORY = 21; + private static final int METHODID_READ_FILE = 22; + private static final int METHODID_REMOVE_FILE = 23; + private static final int METHODID_MOVE_FILE = 24; + private static final int METHODID_WRITE_FILE = 25; + private static final int METHODID_LIST_COMPILATION_RESULTS = 26; + private static final int METHODID_GET_COMPILATION_RESULT = 27; + private static final int METHODID_CREATE_COMPILATION_RESULT = 28; + private static final int METHODID_QUERY_COMPILATION_RESULT_ACTIONS = 29; + private static final int METHODID_LIST_WORKFLOW_INVOCATIONS = 30; + private static final int METHODID_GET_WORKFLOW_INVOCATION = 31; + private static final int METHODID_CREATE_WORKFLOW_INVOCATION = 32; + private static final int METHODID_DELETE_WORKFLOW_INVOCATION = 33; + private static final int METHODID_CANCEL_WORKFLOW_INVOCATION = 34; + private static final int METHODID_QUERY_WORKFLOW_INVOCATION_ACTIONS = 35; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final DataformImplBase serviceImpl; + private final int methodId; + + MethodHandlers(DataformImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_LIST_REPOSITORIES: + serviceImpl.listRepositories( + (com.google.cloud.dataform.v1beta1.ListRepositoriesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.dataform.v1beta1.ListRepositoriesResponse>) + responseObserver); + break; + case METHODID_GET_REPOSITORY: + serviceImpl.getRepository( + (com.google.cloud.dataform.v1beta1.GetRepositoryRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_REPOSITORY: + serviceImpl.createRepository( + (com.google.cloud.dataform.v1beta1.CreateRepositoryRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_REPOSITORY: + serviceImpl.updateRepository( + (com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_REPOSITORY: + serviceImpl.deleteRepository( + (com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_FETCH_REMOTE_BRANCHES: + serviceImpl.fetchRemoteBranches( + (com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse>) + responseObserver); + break; + case METHODID_LIST_WORKSPACES: + serviceImpl.listWorkspaces( + (com.google.cloud.dataform.v1beta1.ListWorkspacesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.dataform.v1beta1.ListWorkspacesResponse>) + responseObserver); + break; + case METHODID_GET_WORKSPACE: + serviceImpl.getWorkspace( + (com.google.cloud.dataform.v1beta1.GetWorkspaceRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_WORKSPACE: + serviceImpl.createWorkspace( + (com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_WORKSPACE: + serviceImpl.deleteWorkspace( + (com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_INSTALL_NPM_PACKAGES: + serviceImpl.installNpmPackages( + (com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse>) + responseObserver); + break; + case METHODID_PULL_GIT_COMMITS: + serviceImpl.pullGitCommits( + (com.google.cloud.dataform.v1beta1.PullGitCommitsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_PUSH_GIT_COMMITS: + serviceImpl.pushGitCommits( + (com.google.cloud.dataform.v1beta1.PushGitCommitsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_FETCH_FILE_GIT_STATUSES: + serviceImpl.fetchFileGitStatuses( + (com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse>) + responseObserver); + break; + case METHODID_FETCH_GIT_AHEAD_BEHIND: + serviceImpl.fetchGitAheadBehind( + (com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse>) + responseObserver); + break; + case METHODID_COMMIT_WORKSPACE_CHANGES: + serviceImpl.commitWorkspaceChanges( + (com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_RESET_WORKSPACE_CHANGES: + serviceImpl.resetWorkspaceChanges( + (com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_FETCH_FILE_DIFF: + serviceImpl.fetchFileDiff( + (com.google.cloud.dataform.v1beta1.FetchFileDiffRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_QUERY_DIRECTORY_CONTENTS: + serviceImpl.queryDirectoryContents( + (com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse>) + responseObserver); + break; + case METHODID_MAKE_DIRECTORY: + serviceImpl.makeDirectory( + (com.google.cloud.dataform.v1beta1.MakeDirectoryRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_REMOVE_DIRECTORY: + serviceImpl.removeDirectory( + (com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_MOVE_DIRECTORY: + serviceImpl.moveDirectory( + (com.google.cloud.dataform.v1beta1.MoveDirectoryRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_READ_FILE: + serviceImpl.readFile( + (com.google.cloud.dataform.v1beta1.ReadFileRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_REMOVE_FILE: + serviceImpl.removeFile( + (com.google.cloud.dataform.v1beta1.RemoveFileRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_MOVE_FILE: + serviceImpl.moveFile( + (com.google.cloud.dataform.v1beta1.MoveFileRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_WRITE_FILE: + serviceImpl.writeFile( + (com.google.cloud.dataform.v1beta1.WriteFileRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_COMPILATION_RESULTS: + serviceImpl.listCompilationResults( + (com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse>) + responseObserver); + break; + case METHODID_GET_COMPILATION_RESULT: + serviceImpl.getCompilationResult( + (com.google.cloud.dataform.v1beta1.GetCompilationResultRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_COMPILATION_RESULT: + serviceImpl.createCompilationResult( + (com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_QUERY_COMPILATION_RESULT_ACTIONS: + serviceImpl.queryCompilationResultActions( + (com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse>) + responseObserver); + break; + case METHODID_LIST_WORKFLOW_INVOCATIONS: + serviceImpl.listWorkflowInvocations( + (com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse>) + responseObserver); + break; + case METHODID_GET_WORKFLOW_INVOCATION: + serviceImpl.getWorkflowInvocation( + (com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_WORKFLOW_INVOCATION: + serviceImpl.createWorkflowInvocation( + (com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_WORKFLOW_INVOCATION: + serviceImpl.deleteWorkflowInvocation( + (com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CANCEL_WORKFLOW_INVOCATION: + serviceImpl.cancelWorkflowInvocation( + (com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_QUERY_WORKFLOW_INVOCATION_ACTIONS: + serviceImpl.queryWorkflowInvocationActions( + (com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse>) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private abstract static class DataformBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + DataformBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("Dataform"); + } + } + + private static final class DataformFileDescriptorSupplier extends DataformBaseDescriptorSupplier { + DataformFileDescriptorSupplier() {} + } + + private static final class DataformMethodDescriptorSupplier extends DataformBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + DataformMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (DataformGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new DataformFileDescriptorSupplier()) + .addMethod(getListRepositoriesMethod()) + .addMethod(getGetRepositoryMethod()) + .addMethod(getCreateRepositoryMethod()) + .addMethod(getUpdateRepositoryMethod()) + .addMethod(getDeleteRepositoryMethod()) + .addMethod(getFetchRemoteBranchesMethod()) + .addMethod(getListWorkspacesMethod()) + .addMethod(getGetWorkspaceMethod()) + .addMethod(getCreateWorkspaceMethod()) + .addMethod(getDeleteWorkspaceMethod()) + .addMethod(getInstallNpmPackagesMethod()) + .addMethod(getPullGitCommitsMethod()) + .addMethod(getPushGitCommitsMethod()) + .addMethod(getFetchFileGitStatusesMethod()) + .addMethod(getFetchGitAheadBehindMethod()) + .addMethod(getCommitWorkspaceChangesMethod()) + .addMethod(getResetWorkspaceChangesMethod()) + .addMethod(getFetchFileDiffMethod()) + .addMethod(getQueryDirectoryContentsMethod()) + .addMethod(getMakeDirectoryMethod()) + .addMethod(getRemoveDirectoryMethod()) + .addMethod(getMoveDirectoryMethod()) + .addMethod(getReadFileMethod()) + .addMethod(getRemoveFileMethod()) + .addMethod(getMoveFileMethod()) + .addMethod(getWriteFileMethod()) + .addMethod(getListCompilationResultsMethod()) + .addMethod(getGetCompilationResultMethod()) + .addMethod(getCreateCompilationResultMethod()) + .addMethod(getQueryCompilationResultActionsMethod()) + .addMethod(getListWorkflowInvocationsMethod()) + .addMethod(getGetWorkflowInvocationMethod()) + .addMethod(getCreateWorkflowInvocationMethod()) + .addMethod(getDeleteWorkflowInvocationMethod()) + .addMethod(getCancelWorkflowInvocationMethod()) + .addMethod(getQueryWorkflowInvocationActionsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/v1alpha2/grpc-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DataformGrpc.java b/owl-bot-staging/v1alpha2/grpc-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DataformGrpc.java deleted file mode 100644 index 288a945..0000000 --- a/owl-bot-staging/v1alpha2/grpc-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DataformGrpc.java +++ /dev/null @@ -1,3322 +0,0 @@ -package com.google.cloud.dataform.v1alpha2; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * Dataform is a service to develop, create, document, test, and update curated
- * tables in BigQuery.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/dataform/v1alpha2/dataform.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class DataformGrpc { - - private DataformGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.dataform.v1alpha2.Dataform"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getListRepositoriesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListRepositories", - requestType = com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest.class, - responseType = com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListRepositoriesMethod() { - io.grpc.MethodDescriptor getListRepositoriesMethod; - if ((getListRepositoriesMethod = DataformGrpc.getListRepositoriesMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getListRepositoriesMethod = DataformGrpc.getListRepositoriesMethod) == null) { - DataformGrpc.getListRepositoriesMethod = getListRepositoriesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRepositories")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("ListRepositories")) - .build(); - } - } - } - return getListRepositoriesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetRepository", - requestType = com.google.cloud.dataform.v1alpha2.GetRepositoryRequest.class, - responseType = com.google.cloud.dataform.v1alpha2.Repository.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetRepositoryMethod() { - io.grpc.MethodDescriptor getGetRepositoryMethod; - if ((getGetRepositoryMethod = DataformGrpc.getGetRepositoryMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getGetRepositoryMethod = DataformGrpc.getGetRepositoryMethod) == null) { - DataformGrpc.getGetRepositoryMethod = getGetRepositoryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.GetRepositoryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.Repository.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("GetRepository")) - .build(); - } - } - } - return getGetRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateRepository", - requestType = com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest.class, - responseType = com.google.cloud.dataform.v1alpha2.Repository.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateRepositoryMethod() { - io.grpc.MethodDescriptor getCreateRepositoryMethod; - if ((getCreateRepositoryMethod = DataformGrpc.getCreateRepositoryMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getCreateRepositoryMethod = DataformGrpc.getCreateRepositoryMethod) == null) { - DataformGrpc.getCreateRepositoryMethod = getCreateRepositoryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.Repository.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("CreateRepository")) - .build(); - } - } - } - return getCreateRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateRepository", - requestType = com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest.class, - responseType = com.google.cloud.dataform.v1alpha2.Repository.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateRepositoryMethod() { - io.grpc.MethodDescriptor getUpdateRepositoryMethod; - if ((getUpdateRepositoryMethod = DataformGrpc.getUpdateRepositoryMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getUpdateRepositoryMethod = DataformGrpc.getUpdateRepositoryMethod) == null) { - DataformGrpc.getUpdateRepositoryMethod = getUpdateRepositoryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.Repository.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("UpdateRepository")) - .build(); - } - } - } - return getUpdateRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteRepository", - requestType = com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteRepositoryMethod() { - io.grpc.MethodDescriptor getDeleteRepositoryMethod; - if ((getDeleteRepositoryMethod = DataformGrpc.getDeleteRepositoryMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getDeleteRepositoryMethod = DataformGrpc.getDeleteRepositoryMethod) == null) { - DataformGrpc.getDeleteRepositoryMethod = getDeleteRepositoryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("DeleteRepository")) - .build(); - } - } - } - return getDeleteRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor getFetchRemoteBranchesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "FetchRemoteBranches", - requestType = com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest.class, - responseType = com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getFetchRemoteBranchesMethod() { - io.grpc.MethodDescriptor getFetchRemoteBranchesMethod; - if ((getFetchRemoteBranchesMethod = DataformGrpc.getFetchRemoteBranchesMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getFetchRemoteBranchesMethod = DataformGrpc.getFetchRemoteBranchesMethod) == null) { - DataformGrpc.getFetchRemoteBranchesMethod = getFetchRemoteBranchesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FetchRemoteBranches")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("FetchRemoteBranches")) - .build(); - } - } - } - return getFetchRemoteBranchesMethod; - } - - private static volatile io.grpc.MethodDescriptor getListWorkspacesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListWorkspaces", - requestType = com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest.class, - responseType = com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListWorkspacesMethod() { - io.grpc.MethodDescriptor getListWorkspacesMethod; - if ((getListWorkspacesMethod = DataformGrpc.getListWorkspacesMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getListWorkspacesMethod = DataformGrpc.getListWorkspacesMethod) == null) { - DataformGrpc.getListWorkspacesMethod = getListWorkspacesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListWorkspaces")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("ListWorkspaces")) - .build(); - } - } - } - return getListWorkspacesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetWorkspaceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetWorkspace", - requestType = com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest.class, - responseType = com.google.cloud.dataform.v1alpha2.Workspace.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetWorkspaceMethod() { - io.grpc.MethodDescriptor getGetWorkspaceMethod; - if ((getGetWorkspaceMethod = DataformGrpc.getGetWorkspaceMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getGetWorkspaceMethod = DataformGrpc.getGetWorkspaceMethod) == null) { - DataformGrpc.getGetWorkspaceMethod = getGetWorkspaceMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetWorkspace")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.Workspace.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("GetWorkspace")) - .build(); - } - } - } - return getGetWorkspaceMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateWorkspaceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateWorkspace", - requestType = com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest.class, - responseType = com.google.cloud.dataform.v1alpha2.Workspace.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateWorkspaceMethod() { - io.grpc.MethodDescriptor getCreateWorkspaceMethod; - if ((getCreateWorkspaceMethod = DataformGrpc.getCreateWorkspaceMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getCreateWorkspaceMethod = DataformGrpc.getCreateWorkspaceMethod) == null) { - DataformGrpc.getCreateWorkspaceMethod = getCreateWorkspaceMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateWorkspace")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.Workspace.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("CreateWorkspace")) - .build(); - } - } - } - return getCreateWorkspaceMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteWorkspaceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteWorkspace", - requestType = com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteWorkspaceMethod() { - io.grpc.MethodDescriptor getDeleteWorkspaceMethod; - if ((getDeleteWorkspaceMethod = DataformGrpc.getDeleteWorkspaceMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getDeleteWorkspaceMethod = DataformGrpc.getDeleteWorkspaceMethod) == null) { - DataformGrpc.getDeleteWorkspaceMethod = getDeleteWorkspaceMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteWorkspace")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("DeleteWorkspace")) - .build(); - } - } - } - return getDeleteWorkspaceMethod; - } - - private static volatile io.grpc.MethodDescriptor getInstallNpmPackagesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "InstallNpmPackages", - requestType = com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest.class, - responseType = com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getInstallNpmPackagesMethod() { - io.grpc.MethodDescriptor getInstallNpmPackagesMethod; - if ((getInstallNpmPackagesMethod = DataformGrpc.getInstallNpmPackagesMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getInstallNpmPackagesMethod = DataformGrpc.getInstallNpmPackagesMethod) == null) { - DataformGrpc.getInstallNpmPackagesMethod = getInstallNpmPackagesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "InstallNpmPackages")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("InstallNpmPackages")) - .build(); - } - } - } - return getInstallNpmPackagesMethod; - } - - private static volatile io.grpc.MethodDescriptor getPullGitCommitsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "PullGitCommits", - requestType = com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getPullGitCommitsMethod() { - io.grpc.MethodDescriptor getPullGitCommitsMethod; - if ((getPullGitCommitsMethod = DataformGrpc.getPullGitCommitsMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getPullGitCommitsMethod = DataformGrpc.getPullGitCommitsMethod) == null) { - DataformGrpc.getPullGitCommitsMethod = getPullGitCommitsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PullGitCommits")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("PullGitCommits")) - .build(); - } - } - } - return getPullGitCommitsMethod; - } - - private static volatile io.grpc.MethodDescriptor getPushGitCommitsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "PushGitCommits", - requestType = com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getPushGitCommitsMethod() { - io.grpc.MethodDescriptor getPushGitCommitsMethod; - if ((getPushGitCommitsMethod = DataformGrpc.getPushGitCommitsMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getPushGitCommitsMethod = DataformGrpc.getPushGitCommitsMethod) == null) { - DataformGrpc.getPushGitCommitsMethod = getPushGitCommitsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PushGitCommits")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("PushGitCommits")) - .build(); - } - } - } - return getPushGitCommitsMethod; - } - - private static volatile io.grpc.MethodDescriptor getFetchFileGitStatusesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "FetchFileGitStatuses", - requestType = com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest.class, - responseType = com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getFetchFileGitStatusesMethod() { - io.grpc.MethodDescriptor getFetchFileGitStatusesMethod; - if ((getFetchFileGitStatusesMethod = DataformGrpc.getFetchFileGitStatusesMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getFetchFileGitStatusesMethod = DataformGrpc.getFetchFileGitStatusesMethod) == null) { - DataformGrpc.getFetchFileGitStatusesMethod = getFetchFileGitStatusesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FetchFileGitStatuses")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("FetchFileGitStatuses")) - .build(); - } - } - } - return getFetchFileGitStatusesMethod; - } - - private static volatile io.grpc.MethodDescriptor getFetchGitAheadBehindMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "FetchGitAheadBehind", - requestType = com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest.class, - responseType = com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getFetchGitAheadBehindMethod() { - io.grpc.MethodDescriptor getFetchGitAheadBehindMethod; - if ((getFetchGitAheadBehindMethod = DataformGrpc.getFetchGitAheadBehindMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getFetchGitAheadBehindMethod = DataformGrpc.getFetchGitAheadBehindMethod) == null) { - DataformGrpc.getFetchGitAheadBehindMethod = getFetchGitAheadBehindMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FetchGitAheadBehind")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("FetchGitAheadBehind")) - .build(); - } - } - } - return getFetchGitAheadBehindMethod; - } - - private static volatile io.grpc.MethodDescriptor getCommitWorkspaceChangesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CommitWorkspaceChanges", - requestType = com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCommitWorkspaceChangesMethod() { - io.grpc.MethodDescriptor getCommitWorkspaceChangesMethod; - if ((getCommitWorkspaceChangesMethod = DataformGrpc.getCommitWorkspaceChangesMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getCommitWorkspaceChangesMethod = DataformGrpc.getCommitWorkspaceChangesMethod) == null) { - DataformGrpc.getCommitWorkspaceChangesMethod = getCommitWorkspaceChangesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CommitWorkspaceChanges")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("CommitWorkspaceChanges")) - .build(); - } - } - } - return getCommitWorkspaceChangesMethod; - } - - private static volatile io.grpc.MethodDescriptor getResetWorkspaceChangesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ResetWorkspaceChanges", - requestType = com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getResetWorkspaceChangesMethod() { - io.grpc.MethodDescriptor getResetWorkspaceChangesMethod; - if ((getResetWorkspaceChangesMethod = DataformGrpc.getResetWorkspaceChangesMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getResetWorkspaceChangesMethod = DataformGrpc.getResetWorkspaceChangesMethod) == null) { - DataformGrpc.getResetWorkspaceChangesMethod = getResetWorkspaceChangesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResetWorkspaceChanges")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("ResetWorkspaceChanges")) - .build(); - } - } - } - return getResetWorkspaceChangesMethod; - } - - private static volatile io.grpc.MethodDescriptor getFetchFileDiffMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "FetchFileDiff", - requestType = com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest.class, - responseType = com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getFetchFileDiffMethod() { - io.grpc.MethodDescriptor getFetchFileDiffMethod; - if ((getFetchFileDiffMethod = DataformGrpc.getFetchFileDiffMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getFetchFileDiffMethod = DataformGrpc.getFetchFileDiffMethod) == null) { - DataformGrpc.getFetchFileDiffMethod = getFetchFileDiffMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FetchFileDiff")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("FetchFileDiff")) - .build(); - } - } - } - return getFetchFileDiffMethod; - } - - private static volatile io.grpc.MethodDescriptor getQueryDirectoryContentsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "QueryDirectoryContents", - requestType = com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest.class, - responseType = com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getQueryDirectoryContentsMethod() { - io.grpc.MethodDescriptor getQueryDirectoryContentsMethod; - if ((getQueryDirectoryContentsMethod = DataformGrpc.getQueryDirectoryContentsMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getQueryDirectoryContentsMethod = DataformGrpc.getQueryDirectoryContentsMethod) == null) { - DataformGrpc.getQueryDirectoryContentsMethod = getQueryDirectoryContentsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "QueryDirectoryContents")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("QueryDirectoryContents")) - .build(); - } - } - } - return getQueryDirectoryContentsMethod; - } - - private static volatile io.grpc.MethodDescriptor getMakeDirectoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "MakeDirectory", - requestType = com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest.class, - responseType = com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getMakeDirectoryMethod() { - io.grpc.MethodDescriptor getMakeDirectoryMethod; - if ((getMakeDirectoryMethod = DataformGrpc.getMakeDirectoryMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getMakeDirectoryMethod = DataformGrpc.getMakeDirectoryMethod) == null) { - DataformGrpc.getMakeDirectoryMethod = getMakeDirectoryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "MakeDirectory")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("MakeDirectory")) - .build(); - } - } - } - return getMakeDirectoryMethod; - } - - private static volatile io.grpc.MethodDescriptor getRemoveDirectoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RemoveDirectory", - requestType = com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getRemoveDirectoryMethod() { - io.grpc.MethodDescriptor getRemoveDirectoryMethod; - if ((getRemoveDirectoryMethod = DataformGrpc.getRemoveDirectoryMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getRemoveDirectoryMethod = DataformGrpc.getRemoveDirectoryMethod) == null) { - DataformGrpc.getRemoveDirectoryMethod = getRemoveDirectoryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RemoveDirectory")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("RemoveDirectory")) - .build(); - } - } - } - return getRemoveDirectoryMethod; - } - - private static volatile io.grpc.MethodDescriptor getMoveDirectoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "MoveDirectory", - requestType = com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest.class, - responseType = com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getMoveDirectoryMethod() { - io.grpc.MethodDescriptor getMoveDirectoryMethod; - if ((getMoveDirectoryMethod = DataformGrpc.getMoveDirectoryMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getMoveDirectoryMethod = DataformGrpc.getMoveDirectoryMethod) == null) { - DataformGrpc.getMoveDirectoryMethod = getMoveDirectoryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "MoveDirectory")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("MoveDirectory")) - .build(); - } - } - } - return getMoveDirectoryMethod; - } - - private static volatile io.grpc.MethodDescriptor getReadFileMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ReadFile", - requestType = com.google.cloud.dataform.v1alpha2.ReadFileRequest.class, - responseType = com.google.cloud.dataform.v1alpha2.ReadFileResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getReadFileMethod() { - io.grpc.MethodDescriptor getReadFileMethod; - if ((getReadFileMethod = DataformGrpc.getReadFileMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getReadFileMethod = DataformGrpc.getReadFileMethod) == null) { - DataformGrpc.getReadFileMethod = getReadFileMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReadFile")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.ReadFileRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.ReadFileResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("ReadFile")) - .build(); - } - } - } - return getReadFileMethod; - } - - private static volatile io.grpc.MethodDescriptor getRemoveFileMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RemoveFile", - requestType = com.google.cloud.dataform.v1alpha2.RemoveFileRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getRemoveFileMethod() { - io.grpc.MethodDescriptor getRemoveFileMethod; - if ((getRemoveFileMethod = DataformGrpc.getRemoveFileMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getRemoveFileMethod = DataformGrpc.getRemoveFileMethod) == null) { - DataformGrpc.getRemoveFileMethod = getRemoveFileMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RemoveFile")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.RemoveFileRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("RemoveFile")) - .build(); - } - } - } - return getRemoveFileMethod; - } - - private static volatile io.grpc.MethodDescriptor getMoveFileMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "MoveFile", - requestType = com.google.cloud.dataform.v1alpha2.MoveFileRequest.class, - responseType = com.google.cloud.dataform.v1alpha2.MoveFileResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getMoveFileMethod() { - io.grpc.MethodDescriptor getMoveFileMethod; - if ((getMoveFileMethod = DataformGrpc.getMoveFileMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getMoveFileMethod = DataformGrpc.getMoveFileMethod) == null) { - DataformGrpc.getMoveFileMethod = getMoveFileMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "MoveFile")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.MoveFileRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.MoveFileResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("MoveFile")) - .build(); - } - } - } - return getMoveFileMethod; - } - - private static volatile io.grpc.MethodDescriptor getWriteFileMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "WriteFile", - requestType = com.google.cloud.dataform.v1alpha2.WriteFileRequest.class, - responseType = com.google.cloud.dataform.v1alpha2.WriteFileResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getWriteFileMethod() { - io.grpc.MethodDescriptor getWriteFileMethod; - if ((getWriteFileMethod = DataformGrpc.getWriteFileMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getWriteFileMethod = DataformGrpc.getWriteFileMethod) == null) { - DataformGrpc.getWriteFileMethod = getWriteFileMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "WriteFile")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.WriteFileRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.WriteFileResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("WriteFile")) - .build(); - } - } - } - return getWriteFileMethod; - } - - private static volatile io.grpc.MethodDescriptor getListCompilationResultsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListCompilationResults", - requestType = com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest.class, - responseType = com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListCompilationResultsMethod() { - io.grpc.MethodDescriptor getListCompilationResultsMethod; - if ((getListCompilationResultsMethod = DataformGrpc.getListCompilationResultsMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getListCompilationResultsMethod = DataformGrpc.getListCompilationResultsMethod) == null) { - DataformGrpc.getListCompilationResultsMethod = getListCompilationResultsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCompilationResults")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("ListCompilationResults")) - .build(); - } - } - } - return getListCompilationResultsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetCompilationResultMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetCompilationResult", - requestType = com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest.class, - responseType = com.google.cloud.dataform.v1alpha2.CompilationResult.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetCompilationResultMethod() { - io.grpc.MethodDescriptor getGetCompilationResultMethod; - if ((getGetCompilationResultMethod = DataformGrpc.getGetCompilationResultMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getGetCompilationResultMethod = DataformGrpc.getGetCompilationResultMethod) == null) { - DataformGrpc.getGetCompilationResultMethod = getGetCompilationResultMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCompilationResult")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.CompilationResult.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("GetCompilationResult")) - .build(); - } - } - } - return getGetCompilationResultMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateCompilationResultMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateCompilationResult", - requestType = com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest.class, - responseType = com.google.cloud.dataform.v1alpha2.CompilationResult.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateCompilationResultMethod() { - io.grpc.MethodDescriptor getCreateCompilationResultMethod; - if ((getCreateCompilationResultMethod = DataformGrpc.getCreateCompilationResultMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getCreateCompilationResultMethod = DataformGrpc.getCreateCompilationResultMethod) == null) { - DataformGrpc.getCreateCompilationResultMethod = getCreateCompilationResultMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCompilationResult")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.CompilationResult.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("CreateCompilationResult")) - .build(); - } - } - } - return getCreateCompilationResultMethod; - } - - private static volatile io.grpc.MethodDescriptor getQueryCompilationResultActionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "QueryCompilationResultActions", - requestType = com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest.class, - responseType = com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getQueryCompilationResultActionsMethod() { - io.grpc.MethodDescriptor getQueryCompilationResultActionsMethod; - if ((getQueryCompilationResultActionsMethod = DataformGrpc.getQueryCompilationResultActionsMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getQueryCompilationResultActionsMethod = DataformGrpc.getQueryCompilationResultActionsMethod) == null) { - DataformGrpc.getQueryCompilationResultActionsMethod = getQueryCompilationResultActionsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "QueryCompilationResultActions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("QueryCompilationResultActions")) - .build(); - } - } - } - return getQueryCompilationResultActionsMethod; - } - - private static volatile io.grpc.MethodDescriptor getListWorkflowInvocationsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListWorkflowInvocations", - requestType = com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest.class, - responseType = com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListWorkflowInvocationsMethod() { - io.grpc.MethodDescriptor getListWorkflowInvocationsMethod; - if ((getListWorkflowInvocationsMethod = DataformGrpc.getListWorkflowInvocationsMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getListWorkflowInvocationsMethod = DataformGrpc.getListWorkflowInvocationsMethod) == null) { - DataformGrpc.getListWorkflowInvocationsMethod = getListWorkflowInvocationsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListWorkflowInvocations")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("ListWorkflowInvocations")) - .build(); - } - } - } - return getListWorkflowInvocationsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetWorkflowInvocationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetWorkflowInvocation", - requestType = com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest.class, - responseType = com.google.cloud.dataform.v1alpha2.WorkflowInvocation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetWorkflowInvocationMethod() { - io.grpc.MethodDescriptor getGetWorkflowInvocationMethod; - if ((getGetWorkflowInvocationMethod = DataformGrpc.getGetWorkflowInvocationMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getGetWorkflowInvocationMethod = DataformGrpc.getGetWorkflowInvocationMethod) == null) { - DataformGrpc.getGetWorkflowInvocationMethod = getGetWorkflowInvocationMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetWorkflowInvocation")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("GetWorkflowInvocation")) - .build(); - } - } - } - return getGetWorkflowInvocationMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateWorkflowInvocationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateWorkflowInvocation", - requestType = com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest.class, - responseType = com.google.cloud.dataform.v1alpha2.WorkflowInvocation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateWorkflowInvocationMethod() { - io.grpc.MethodDescriptor getCreateWorkflowInvocationMethod; - if ((getCreateWorkflowInvocationMethod = DataformGrpc.getCreateWorkflowInvocationMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getCreateWorkflowInvocationMethod = DataformGrpc.getCreateWorkflowInvocationMethod) == null) { - DataformGrpc.getCreateWorkflowInvocationMethod = getCreateWorkflowInvocationMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateWorkflowInvocation")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("CreateWorkflowInvocation")) - .build(); - } - } - } - return getCreateWorkflowInvocationMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteWorkflowInvocationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteWorkflowInvocation", - requestType = com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteWorkflowInvocationMethod() { - io.grpc.MethodDescriptor getDeleteWorkflowInvocationMethod; - if ((getDeleteWorkflowInvocationMethod = DataformGrpc.getDeleteWorkflowInvocationMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getDeleteWorkflowInvocationMethod = DataformGrpc.getDeleteWorkflowInvocationMethod) == null) { - DataformGrpc.getDeleteWorkflowInvocationMethod = getDeleteWorkflowInvocationMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteWorkflowInvocation")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("DeleteWorkflowInvocation")) - .build(); - } - } - } - return getDeleteWorkflowInvocationMethod; - } - - private static volatile io.grpc.MethodDescriptor getCancelWorkflowInvocationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CancelWorkflowInvocation", - requestType = com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCancelWorkflowInvocationMethod() { - io.grpc.MethodDescriptor getCancelWorkflowInvocationMethod; - if ((getCancelWorkflowInvocationMethod = DataformGrpc.getCancelWorkflowInvocationMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getCancelWorkflowInvocationMethod = DataformGrpc.getCancelWorkflowInvocationMethod) == null) { - DataformGrpc.getCancelWorkflowInvocationMethod = getCancelWorkflowInvocationMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelWorkflowInvocation")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("CancelWorkflowInvocation")) - .build(); - } - } - } - return getCancelWorkflowInvocationMethod; - } - - private static volatile io.grpc.MethodDescriptor getQueryWorkflowInvocationActionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "QueryWorkflowInvocationActions", - requestType = com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest.class, - responseType = com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getQueryWorkflowInvocationActionsMethod() { - io.grpc.MethodDescriptor getQueryWorkflowInvocationActionsMethod; - if ((getQueryWorkflowInvocationActionsMethod = DataformGrpc.getQueryWorkflowInvocationActionsMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getQueryWorkflowInvocationActionsMethod = DataformGrpc.getQueryWorkflowInvocationActionsMethod) == null) { - DataformGrpc.getQueryWorkflowInvocationActionsMethod = getQueryWorkflowInvocationActionsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "QueryWorkflowInvocationActions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("QueryWorkflowInvocationActions")) - .build(); - } - } - } - return getQueryWorkflowInvocationActionsMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static DataformStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataformStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataformStub(channel, callOptions); - } - }; - return DataformStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static DataformBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataformBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataformBlockingStub(channel, callOptions); - } - }; - return DataformBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static DataformFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataformFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataformFutureStub(channel, callOptions); - } - }; - return DataformFutureStub.newStub(factory, channel); - } - - /** - *
-   * Dataform is a service to develop, create, document, test, and update curated
-   * tables in BigQuery.
-   * 
- */ - public static abstract class DataformImplBase implements io.grpc.BindableService { - - /** - *
-     * Lists Repositories in a given project and location.
-     * 
- */ - public void listRepositories(com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListRepositoriesMethod(), responseObserver); - } - - /** - *
-     * Fetches a single Repository.
-     * 
- */ - public void getRepository(com.google.cloud.dataform.v1alpha2.GetRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetRepositoryMethod(), responseObserver); - } - - /** - *
-     * Creates a new Repository in a given project and location.
-     * 
- */ - public void createRepository(com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateRepositoryMethod(), responseObserver); - } - - /** - *
-     * Updates a single Repository.
-     * 
- */ - public void updateRepository(com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateRepositoryMethod(), responseObserver); - } - - /** - *
-     * Deletes a single Repository.
-     * 
- */ - public void deleteRepository(com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteRepositoryMethod(), responseObserver); - } - - /** - *
-     * Fetches a Repository's remote branches.
-     * 
- */ - public void fetchRemoteBranches(com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFetchRemoteBranchesMethod(), responseObserver); - } - - /** - *
-     * Lists Workspaces in a given Repository.
-     * 
- */ - public void listWorkspaces(com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListWorkspacesMethod(), responseObserver); - } - - /** - *
-     * Fetches a single Workspace.
-     * 
- */ - public void getWorkspace(com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetWorkspaceMethod(), responseObserver); - } - - /** - *
-     * Creates a new Workspace in a given Repository.
-     * 
- */ - public void createWorkspace(com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateWorkspaceMethod(), responseObserver); - } - - /** - *
-     * Deletes a single Workspace.
-     * 
- */ - public void deleteWorkspace(com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteWorkspaceMethod(), responseObserver); - } - - /** - *
-     * Installs dependency NPM packages (inside a Workspace).
-     * 
- */ - public void installNpmPackages(com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getInstallNpmPackagesMethod(), responseObserver); - } - - /** - *
-     * Pulls Git commits from the Repository's remote into a Workspace.
-     * 
- */ - public void pullGitCommits(com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPullGitCommitsMethod(), responseObserver); - } - - /** - *
-     * Pushes Git commits from a Workspace to the Repository's remote.
-     * 
- */ - public void pushGitCommits(com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPushGitCommitsMethod(), responseObserver); - } - - /** - *
-     * Fetches Git statuses for the files in a Workspace.
-     * 
- */ - public void fetchFileGitStatuses(com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFetchFileGitStatusesMethod(), responseObserver); - } - - /** - *
-     * Fetches Git ahead/behind against a remote branch.
-     * 
- */ - public void fetchGitAheadBehind(com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFetchGitAheadBehindMethod(), responseObserver); - } - - /** - *
-     * Applies a Git commit for uncommitted files in a Workspace.
-     * 
- */ - public void commitWorkspaceChanges(com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCommitWorkspaceChangesMethod(), responseObserver); - } - - /** - *
-     * Performs a Git reset for uncommitted files in a Workspace.
-     * 
- */ - public void resetWorkspaceChanges(com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getResetWorkspaceChangesMethod(), responseObserver); - } - - /** - *
-     * Fetches Git diff for an uncommitted file in a Workspace.
-     * 
- */ - public void fetchFileDiff(com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFetchFileDiffMethod(), responseObserver); - } - - /** - *
-     * Returns the contents of a given Workspace directory.
-     * 
- */ - public void queryDirectoryContents(com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getQueryDirectoryContentsMethod(), responseObserver); - } - - /** - *
-     * Creates a directory inside a Workspace.
-     * 
- */ - public void makeDirectory(com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getMakeDirectoryMethod(), responseObserver); - } - - /** - *
-     * Deletes a directory (inside a Workspace) and all of its contents.
-     * 
- */ - public void removeDirectory(com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRemoveDirectoryMethod(), responseObserver); - } - - /** - *
-     * Moves a directory (inside a Workspace), and all of its contents, to a new
-     * location.
-     * 
- */ - public void moveDirectory(com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getMoveDirectoryMethod(), responseObserver); - } - - /** - *
-     * Returns the contents of a file (inside a Workspace).
-     * 
- */ - public void readFile(com.google.cloud.dataform.v1alpha2.ReadFileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getReadFileMethod(), responseObserver); - } - - /** - *
-     * Deletes a file (inside a Workspace).
-     * 
- */ - public void removeFile(com.google.cloud.dataform.v1alpha2.RemoveFileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRemoveFileMethod(), responseObserver); - } - - /** - *
-     * Moves a file (inside a Workspace) to a new location.
-     * 
- */ - public void moveFile(com.google.cloud.dataform.v1alpha2.MoveFileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getMoveFileMethod(), responseObserver); - } - - /** - *
-     * Writes to a file (inside a Workspace).
-     * 
- */ - public void writeFile(com.google.cloud.dataform.v1alpha2.WriteFileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getWriteFileMethod(), responseObserver); - } - - /** - *
-     * Lists CompilationResults in a given Repository.
-     * 
- */ - public void listCompilationResults(com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListCompilationResultsMethod(), responseObserver); - } - - /** - *
-     * Fetches a single CompilationResult.
-     * 
- */ - public void getCompilationResult(com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetCompilationResultMethod(), responseObserver); - } - - /** - *
-     * Creates a new CompilationResult in a given project and location.
-     * 
- */ - public void createCompilationResult(com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateCompilationResultMethod(), responseObserver); - } - - /** - *
-     * Returns CompilationResultActions in a given CompilationResult.
-     * 
- */ - public void queryCompilationResultActions(com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getQueryCompilationResultActionsMethod(), responseObserver); - } - - /** - *
-     * Lists WorkflowInvocations in a given Repository.
-     * 
- */ - public void listWorkflowInvocations(com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListWorkflowInvocationsMethod(), responseObserver); - } - - /** - *
-     * Fetches a single WorkflowInvocation.
-     * 
- */ - public void getWorkflowInvocation(com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetWorkflowInvocationMethod(), responseObserver); - } - - /** - *
-     * Creates a new WorkflowInvocation in a given Repository.
-     * 
- */ - public void createWorkflowInvocation(com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateWorkflowInvocationMethod(), responseObserver); - } - - /** - *
-     * Deletes a single WorkflowInvocation.
-     * 
- */ - public void deleteWorkflowInvocation(com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteWorkflowInvocationMethod(), responseObserver); - } - - /** - *
-     * Requests cancellation of a running WorkflowInvocation.
-     * 
- */ - public void cancelWorkflowInvocation(com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCancelWorkflowInvocationMethod(), responseObserver); - } - - /** - *
-     * Returns WorkflowInvocationActions in a given WorkflowInvocation.
-     * 
- */ - public void queryWorkflowInvocationActions(com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getQueryWorkflowInvocationActionsMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListRepositoriesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest, - com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse>( - this, METHODID_LIST_REPOSITORIES))) - .addMethod( - getGetRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.GetRepositoryRequest, - com.google.cloud.dataform.v1alpha2.Repository>( - this, METHODID_GET_REPOSITORY))) - .addMethod( - getCreateRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest, - com.google.cloud.dataform.v1alpha2.Repository>( - this, METHODID_CREATE_REPOSITORY))) - .addMethod( - getUpdateRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest, - com.google.cloud.dataform.v1alpha2.Repository>( - this, METHODID_UPDATE_REPOSITORY))) - .addMethod( - getDeleteRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_REPOSITORY))) - .addMethod( - getFetchRemoteBranchesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest, - com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse>( - this, METHODID_FETCH_REMOTE_BRANCHES))) - .addMethod( - getListWorkspacesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest, - com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse>( - this, METHODID_LIST_WORKSPACES))) - .addMethod( - getGetWorkspaceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest, - com.google.cloud.dataform.v1alpha2.Workspace>( - this, METHODID_GET_WORKSPACE))) - .addMethod( - getCreateWorkspaceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest, - com.google.cloud.dataform.v1alpha2.Workspace>( - this, METHODID_CREATE_WORKSPACE))) - .addMethod( - getDeleteWorkspaceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_WORKSPACE))) - .addMethod( - getInstallNpmPackagesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest, - com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse>( - this, METHODID_INSTALL_NPM_PACKAGES))) - .addMethod( - getPullGitCommitsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest, - com.google.protobuf.Empty>( - this, METHODID_PULL_GIT_COMMITS))) - .addMethod( - getPushGitCommitsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest, - com.google.protobuf.Empty>( - this, METHODID_PUSH_GIT_COMMITS))) - .addMethod( - getFetchFileGitStatusesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest, - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse>( - this, METHODID_FETCH_FILE_GIT_STATUSES))) - .addMethod( - getFetchGitAheadBehindMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest, - com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse>( - this, METHODID_FETCH_GIT_AHEAD_BEHIND))) - .addMethod( - getCommitWorkspaceChangesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest, - com.google.protobuf.Empty>( - this, METHODID_COMMIT_WORKSPACE_CHANGES))) - .addMethod( - getResetWorkspaceChangesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest, - com.google.protobuf.Empty>( - this, METHODID_RESET_WORKSPACE_CHANGES))) - .addMethod( - getFetchFileDiffMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest, - com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse>( - this, METHODID_FETCH_FILE_DIFF))) - .addMethod( - getQueryDirectoryContentsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest, - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse>( - this, METHODID_QUERY_DIRECTORY_CONTENTS))) - .addMethod( - getMakeDirectoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest, - com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse>( - this, METHODID_MAKE_DIRECTORY))) - .addMethod( - getRemoveDirectoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest, - com.google.protobuf.Empty>( - this, METHODID_REMOVE_DIRECTORY))) - .addMethod( - getMoveDirectoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest, - com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse>( - this, METHODID_MOVE_DIRECTORY))) - .addMethod( - getReadFileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.ReadFileRequest, - com.google.cloud.dataform.v1alpha2.ReadFileResponse>( - this, METHODID_READ_FILE))) - .addMethod( - getRemoveFileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.RemoveFileRequest, - com.google.protobuf.Empty>( - this, METHODID_REMOVE_FILE))) - .addMethod( - getMoveFileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.MoveFileRequest, - com.google.cloud.dataform.v1alpha2.MoveFileResponse>( - this, METHODID_MOVE_FILE))) - .addMethod( - getWriteFileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.WriteFileRequest, - com.google.cloud.dataform.v1alpha2.WriteFileResponse>( - this, METHODID_WRITE_FILE))) - .addMethod( - getListCompilationResultsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest, - com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse>( - this, METHODID_LIST_COMPILATION_RESULTS))) - .addMethod( - getGetCompilationResultMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest, - com.google.cloud.dataform.v1alpha2.CompilationResult>( - this, METHODID_GET_COMPILATION_RESULT))) - .addMethod( - getCreateCompilationResultMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest, - com.google.cloud.dataform.v1alpha2.CompilationResult>( - this, METHODID_CREATE_COMPILATION_RESULT))) - .addMethod( - getQueryCompilationResultActionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest, - com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse>( - this, METHODID_QUERY_COMPILATION_RESULT_ACTIONS))) - .addMethod( - getListWorkflowInvocationsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest, - com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse>( - this, METHODID_LIST_WORKFLOW_INVOCATIONS))) - .addMethod( - getGetWorkflowInvocationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest, - com.google.cloud.dataform.v1alpha2.WorkflowInvocation>( - this, METHODID_GET_WORKFLOW_INVOCATION))) - .addMethod( - getCreateWorkflowInvocationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest, - com.google.cloud.dataform.v1alpha2.WorkflowInvocation>( - this, METHODID_CREATE_WORKFLOW_INVOCATION))) - .addMethod( - getDeleteWorkflowInvocationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_WORKFLOW_INVOCATION))) - .addMethod( - getCancelWorkflowInvocationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest, - com.google.protobuf.Empty>( - this, METHODID_CANCEL_WORKFLOW_INVOCATION))) - .addMethod( - getQueryWorkflowInvocationActionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest, - com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse>( - this, METHODID_QUERY_WORKFLOW_INVOCATION_ACTIONS))) - .build(); - } - } - - /** - *
-   * Dataform is a service to develop, create, document, test, and update curated
-   * tables in BigQuery.
-   * 
- */ - public static final class DataformStub extends io.grpc.stub.AbstractAsyncStub { - private DataformStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataformStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataformStub(channel, callOptions); - } - - /** - *
-     * Lists Repositories in a given project and location.
-     * 
- */ - public void listRepositories(com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Fetches a single Repository.
-     * 
- */ - public void getRepository(com.google.cloud.dataform.v1alpha2.GetRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new Repository in a given project and location.
-     * 
- */ - public void createRepository(com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a single Repository.
-     * 
- */ - public void updateRepository(com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a single Repository.
-     * 
- */ - public void deleteRepository(com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Fetches a Repository's remote branches.
-     * 
- */ - public void fetchRemoteBranches(com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getFetchRemoteBranchesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists Workspaces in a given Repository.
-     * 
- */ - public void listWorkspaces(com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListWorkspacesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Fetches a single Workspace.
-     * 
- */ - public void getWorkspace(com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetWorkspaceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new Workspace in a given Repository.
-     * 
- */ - public void createWorkspace(com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateWorkspaceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a single Workspace.
-     * 
- */ - public void deleteWorkspace(com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteWorkspaceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Installs dependency NPM packages (inside a Workspace).
-     * 
- */ - public void installNpmPackages(com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getInstallNpmPackagesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Pulls Git commits from the Repository's remote into a Workspace.
-     * 
- */ - public void pullGitCommits(com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getPullGitCommitsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Pushes Git commits from a Workspace to the Repository's remote.
-     * 
- */ - public void pushGitCommits(com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getPushGitCommitsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Fetches Git statuses for the files in a Workspace.
-     * 
- */ - public void fetchFileGitStatuses(com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getFetchFileGitStatusesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Fetches Git ahead/behind against a remote branch.
-     * 
- */ - public void fetchGitAheadBehind(com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getFetchGitAheadBehindMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Applies a Git commit for uncommitted files in a Workspace.
-     * 
- */ - public void commitWorkspaceChanges(com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCommitWorkspaceChangesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Performs a Git reset for uncommitted files in a Workspace.
-     * 
- */ - public void resetWorkspaceChanges(com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getResetWorkspaceChangesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Fetches Git diff for an uncommitted file in a Workspace.
-     * 
- */ - public void fetchFileDiff(com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getFetchFileDiffMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns the contents of a given Workspace directory.
-     * 
- */ - public void queryDirectoryContents(com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getQueryDirectoryContentsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a directory inside a Workspace.
-     * 
- */ - public void makeDirectory(com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getMakeDirectoryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a directory (inside a Workspace) and all of its contents.
-     * 
- */ - public void removeDirectory(com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRemoveDirectoryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Moves a directory (inside a Workspace), and all of its contents, to a new
-     * location.
-     * 
- */ - public void moveDirectory(com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getMoveDirectoryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns the contents of a file (inside a Workspace).
-     * 
- */ - public void readFile(com.google.cloud.dataform.v1alpha2.ReadFileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getReadFileMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a file (inside a Workspace).
-     * 
- */ - public void removeFile(com.google.cloud.dataform.v1alpha2.RemoveFileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRemoveFileMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Moves a file (inside a Workspace) to a new location.
-     * 
- */ - public void moveFile(com.google.cloud.dataform.v1alpha2.MoveFileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getMoveFileMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Writes to a file (inside a Workspace).
-     * 
- */ - public void writeFile(com.google.cloud.dataform.v1alpha2.WriteFileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getWriteFileMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists CompilationResults in a given Repository.
-     * 
- */ - public void listCompilationResults(com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListCompilationResultsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Fetches a single CompilationResult.
-     * 
- */ - public void getCompilationResult(com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetCompilationResultMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new CompilationResult in a given project and location.
-     * 
- */ - public void createCompilationResult(com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateCompilationResultMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns CompilationResultActions in a given CompilationResult.
-     * 
- */ - public void queryCompilationResultActions(com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getQueryCompilationResultActionsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists WorkflowInvocations in a given Repository.
-     * 
- */ - public void listWorkflowInvocations(com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListWorkflowInvocationsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Fetches a single WorkflowInvocation.
-     * 
- */ - public void getWorkflowInvocation(com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetWorkflowInvocationMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new WorkflowInvocation in a given Repository.
-     * 
- */ - public void createWorkflowInvocation(com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateWorkflowInvocationMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a single WorkflowInvocation.
-     * 
- */ - public void deleteWorkflowInvocation(com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteWorkflowInvocationMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Requests cancellation of a running WorkflowInvocation.
-     * 
- */ - public void cancelWorkflowInvocation(com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCancelWorkflowInvocationMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns WorkflowInvocationActions in a given WorkflowInvocation.
-     * 
- */ - public void queryWorkflowInvocationActions(com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getQueryWorkflowInvocationActionsMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
-   * Dataform is a service to develop, create, document, test, and update curated
-   * tables in BigQuery.
-   * 
- */ - public static final class DataformBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private DataformBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataformBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataformBlockingStub(channel, callOptions); - } - - /** - *
-     * Lists Repositories in a given project and location.
-     * 
- */ - public com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse listRepositories(com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListRepositoriesMethod(), getCallOptions(), request); - } - - /** - *
-     * Fetches a single Repository.
-     * 
- */ - public com.google.cloud.dataform.v1alpha2.Repository getRepository(com.google.cloud.dataform.v1alpha2.GetRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetRepositoryMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new Repository in a given project and location.
-     * 
- */ - public com.google.cloud.dataform.v1alpha2.Repository createRepository(com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateRepositoryMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a single Repository.
-     * 
- */ - public com.google.cloud.dataform.v1alpha2.Repository updateRepository(com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateRepositoryMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a single Repository.
-     * 
- */ - public com.google.protobuf.Empty deleteRepository(com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteRepositoryMethod(), getCallOptions(), request); - } - - /** - *
-     * Fetches a Repository's remote branches.
-     * 
- */ - public com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse fetchRemoteBranches(com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getFetchRemoteBranchesMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists Workspaces in a given Repository.
-     * 
- */ - public com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse listWorkspaces(com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListWorkspacesMethod(), getCallOptions(), request); - } - - /** - *
-     * Fetches a single Workspace.
-     * 
- */ - public com.google.cloud.dataform.v1alpha2.Workspace getWorkspace(com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetWorkspaceMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new Workspace in a given Repository.
-     * 
- */ - public com.google.cloud.dataform.v1alpha2.Workspace createWorkspace(com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateWorkspaceMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a single Workspace.
-     * 
- */ - public com.google.protobuf.Empty deleteWorkspace(com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteWorkspaceMethod(), getCallOptions(), request); - } - - /** - *
-     * Installs dependency NPM packages (inside a Workspace).
-     * 
- */ - public com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse installNpmPackages(com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getInstallNpmPackagesMethod(), getCallOptions(), request); - } - - /** - *
-     * Pulls Git commits from the Repository's remote into a Workspace.
-     * 
- */ - public com.google.protobuf.Empty pullGitCommits(com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getPullGitCommitsMethod(), getCallOptions(), request); - } - - /** - *
-     * Pushes Git commits from a Workspace to the Repository's remote.
-     * 
- */ - public com.google.protobuf.Empty pushGitCommits(com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getPushGitCommitsMethod(), getCallOptions(), request); - } - - /** - *
-     * Fetches Git statuses for the files in a Workspace.
-     * 
- */ - public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse fetchFileGitStatuses(com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getFetchFileGitStatusesMethod(), getCallOptions(), request); - } - - /** - *
-     * Fetches Git ahead/behind against a remote branch.
-     * 
- */ - public com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse fetchGitAheadBehind(com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getFetchGitAheadBehindMethod(), getCallOptions(), request); - } - - /** - *
-     * Applies a Git commit for uncommitted files in a Workspace.
-     * 
- */ - public com.google.protobuf.Empty commitWorkspaceChanges(com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCommitWorkspaceChangesMethod(), getCallOptions(), request); - } - - /** - *
-     * Performs a Git reset for uncommitted files in a Workspace.
-     * 
- */ - public com.google.protobuf.Empty resetWorkspaceChanges(com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getResetWorkspaceChangesMethod(), getCallOptions(), request); - } - - /** - *
-     * Fetches Git diff for an uncommitted file in a Workspace.
-     * 
- */ - public com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse fetchFileDiff(com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getFetchFileDiffMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns the contents of a given Workspace directory.
-     * 
- */ - public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse queryDirectoryContents(com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getQueryDirectoryContentsMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a directory inside a Workspace.
-     * 
- */ - public com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse makeDirectory(com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getMakeDirectoryMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a directory (inside a Workspace) and all of its contents.
-     * 
- */ - public com.google.protobuf.Empty removeDirectory(com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRemoveDirectoryMethod(), getCallOptions(), request); - } - - /** - *
-     * Moves a directory (inside a Workspace), and all of its contents, to a new
-     * location.
-     * 
- */ - public com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse moveDirectory(com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getMoveDirectoryMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns the contents of a file (inside a Workspace).
-     * 
- */ - public com.google.cloud.dataform.v1alpha2.ReadFileResponse readFile(com.google.cloud.dataform.v1alpha2.ReadFileRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getReadFileMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a file (inside a Workspace).
-     * 
- */ - public com.google.protobuf.Empty removeFile(com.google.cloud.dataform.v1alpha2.RemoveFileRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRemoveFileMethod(), getCallOptions(), request); - } - - /** - *
-     * Moves a file (inside a Workspace) to a new location.
-     * 
- */ - public com.google.cloud.dataform.v1alpha2.MoveFileResponse moveFile(com.google.cloud.dataform.v1alpha2.MoveFileRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getMoveFileMethod(), getCallOptions(), request); - } - - /** - *
-     * Writes to a file (inside a Workspace).
-     * 
- */ - public com.google.cloud.dataform.v1alpha2.WriteFileResponse writeFile(com.google.cloud.dataform.v1alpha2.WriteFileRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getWriteFileMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists CompilationResults in a given Repository.
-     * 
- */ - public com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse listCompilationResults(com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListCompilationResultsMethod(), getCallOptions(), request); - } - - /** - *
-     * Fetches a single CompilationResult.
-     * 
- */ - public com.google.cloud.dataform.v1alpha2.CompilationResult getCompilationResult(com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetCompilationResultMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new CompilationResult in a given project and location.
-     * 
- */ - public com.google.cloud.dataform.v1alpha2.CompilationResult createCompilationResult(com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateCompilationResultMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns CompilationResultActions in a given CompilationResult.
-     * 
- */ - public com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse queryCompilationResultActions(com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getQueryCompilationResultActionsMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists WorkflowInvocations in a given Repository.
-     * 
- */ - public com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse listWorkflowInvocations(com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListWorkflowInvocationsMethod(), getCallOptions(), request); - } - - /** - *
-     * Fetches a single WorkflowInvocation.
-     * 
- */ - public com.google.cloud.dataform.v1alpha2.WorkflowInvocation getWorkflowInvocation(com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetWorkflowInvocationMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new WorkflowInvocation in a given Repository.
-     * 
- */ - public com.google.cloud.dataform.v1alpha2.WorkflowInvocation createWorkflowInvocation(com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateWorkflowInvocationMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a single WorkflowInvocation.
-     * 
- */ - public com.google.protobuf.Empty deleteWorkflowInvocation(com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteWorkflowInvocationMethod(), getCallOptions(), request); - } - - /** - *
-     * Requests cancellation of a running WorkflowInvocation.
-     * 
- */ - public com.google.protobuf.Empty cancelWorkflowInvocation(com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCancelWorkflowInvocationMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns WorkflowInvocationActions in a given WorkflowInvocation.
-     * 
- */ - public com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse queryWorkflowInvocationActions(com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getQueryWorkflowInvocationActionsMethod(), getCallOptions(), request); - } - } - - /** - *
-   * Dataform is a service to develop, create, document, test, and update curated
-   * tables in BigQuery.
-   * 
- */ - public static final class DataformFutureStub extends io.grpc.stub.AbstractFutureStub { - private DataformFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataformFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataformFutureStub(channel, callOptions); - } - - /** - *
-     * Lists Repositories in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listRepositories( - com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request); - } - - /** - *
-     * Fetches a single Repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getRepository( - com.google.cloud.dataform.v1alpha2.GetRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new Repository in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createRepository( - com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a single Repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateRepository( - com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a single Repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteRepository( - com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request); - } - - /** - *
-     * Fetches a Repository's remote branches.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture fetchRemoteBranches( - com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getFetchRemoteBranchesMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists Workspaces in a given Repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listWorkspaces( - com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListWorkspacesMethod(), getCallOptions()), request); - } - - /** - *
-     * Fetches a single Workspace.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getWorkspace( - com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetWorkspaceMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new Workspace in a given Repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createWorkspace( - com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateWorkspaceMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a single Workspace.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteWorkspace( - com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteWorkspaceMethod(), getCallOptions()), request); - } - - /** - *
-     * Installs dependency NPM packages (inside a Workspace).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture installNpmPackages( - com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getInstallNpmPackagesMethod(), getCallOptions()), request); - } - - /** - *
-     * Pulls Git commits from the Repository's remote into a Workspace.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture pullGitCommits( - com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getPullGitCommitsMethod(), getCallOptions()), request); - } - - /** - *
-     * Pushes Git commits from a Workspace to the Repository's remote.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture pushGitCommits( - com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getPushGitCommitsMethod(), getCallOptions()), request); - } - - /** - *
-     * Fetches Git statuses for the files in a Workspace.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture fetchFileGitStatuses( - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getFetchFileGitStatusesMethod(), getCallOptions()), request); - } - - /** - *
-     * Fetches Git ahead/behind against a remote branch.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture fetchGitAheadBehind( - com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getFetchGitAheadBehindMethod(), getCallOptions()), request); - } - - /** - *
-     * Applies a Git commit for uncommitted files in a Workspace.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture commitWorkspaceChanges( - com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCommitWorkspaceChangesMethod(), getCallOptions()), request); - } - - /** - *
-     * Performs a Git reset for uncommitted files in a Workspace.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture resetWorkspaceChanges( - com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getResetWorkspaceChangesMethod(), getCallOptions()), request); - } - - /** - *
-     * Fetches Git diff for an uncommitted file in a Workspace.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture fetchFileDiff( - com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getFetchFileDiffMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns the contents of a given Workspace directory.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture queryDirectoryContents( - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getQueryDirectoryContentsMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a directory inside a Workspace.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture makeDirectory( - com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getMakeDirectoryMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a directory (inside a Workspace) and all of its contents.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture removeDirectory( - com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRemoveDirectoryMethod(), getCallOptions()), request); - } - - /** - *
-     * Moves a directory (inside a Workspace), and all of its contents, to a new
-     * location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture moveDirectory( - com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getMoveDirectoryMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns the contents of a file (inside a Workspace).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture readFile( - com.google.cloud.dataform.v1alpha2.ReadFileRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getReadFileMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a file (inside a Workspace).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture removeFile( - com.google.cloud.dataform.v1alpha2.RemoveFileRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRemoveFileMethod(), getCallOptions()), request); - } - - /** - *
-     * Moves a file (inside a Workspace) to a new location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture moveFile( - com.google.cloud.dataform.v1alpha2.MoveFileRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getMoveFileMethod(), getCallOptions()), request); - } - - /** - *
-     * Writes to a file (inside a Workspace).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture writeFile( - com.google.cloud.dataform.v1alpha2.WriteFileRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getWriteFileMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists CompilationResults in a given Repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listCompilationResults( - com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListCompilationResultsMethod(), getCallOptions()), request); - } - - /** - *
-     * Fetches a single CompilationResult.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getCompilationResult( - com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetCompilationResultMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new CompilationResult in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createCompilationResult( - com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateCompilationResultMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns CompilationResultActions in a given CompilationResult.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture queryCompilationResultActions( - com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getQueryCompilationResultActionsMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists WorkflowInvocations in a given Repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listWorkflowInvocations( - com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListWorkflowInvocationsMethod(), getCallOptions()), request); - } - - /** - *
-     * Fetches a single WorkflowInvocation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getWorkflowInvocation( - com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetWorkflowInvocationMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new WorkflowInvocation in a given Repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createWorkflowInvocation( - com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateWorkflowInvocationMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a single WorkflowInvocation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteWorkflowInvocation( - com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteWorkflowInvocationMethod(), getCallOptions()), request); - } - - /** - *
-     * Requests cancellation of a running WorkflowInvocation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture cancelWorkflowInvocation( - com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCancelWorkflowInvocationMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns WorkflowInvocationActions in a given WorkflowInvocation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture queryWorkflowInvocationActions( - com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getQueryWorkflowInvocationActionsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_LIST_REPOSITORIES = 0; - private static final int METHODID_GET_REPOSITORY = 1; - private static final int METHODID_CREATE_REPOSITORY = 2; - private static final int METHODID_UPDATE_REPOSITORY = 3; - private static final int METHODID_DELETE_REPOSITORY = 4; - private static final int METHODID_FETCH_REMOTE_BRANCHES = 5; - private static final int METHODID_LIST_WORKSPACES = 6; - private static final int METHODID_GET_WORKSPACE = 7; - private static final int METHODID_CREATE_WORKSPACE = 8; - private static final int METHODID_DELETE_WORKSPACE = 9; - private static final int METHODID_INSTALL_NPM_PACKAGES = 10; - private static final int METHODID_PULL_GIT_COMMITS = 11; - private static final int METHODID_PUSH_GIT_COMMITS = 12; - private static final int METHODID_FETCH_FILE_GIT_STATUSES = 13; - private static final int METHODID_FETCH_GIT_AHEAD_BEHIND = 14; - private static final int METHODID_COMMIT_WORKSPACE_CHANGES = 15; - private static final int METHODID_RESET_WORKSPACE_CHANGES = 16; - private static final int METHODID_FETCH_FILE_DIFF = 17; - private static final int METHODID_QUERY_DIRECTORY_CONTENTS = 18; - private static final int METHODID_MAKE_DIRECTORY = 19; - private static final int METHODID_REMOVE_DIRECTORY = 20; - private static final int METHODID_MOVE_DIRECTORY = 21; - private static final int METHODID_READ_FILE = 22; - private static final int METHODID_REMOVE_FILE = 23; - private static final int METHODID_MOVE_FILE = 24; - private static final int METHODID_WRITE_FILE = 25; - private static final int METHODID_LIST_COMPILATION_RESULTS = 26; - private static final int METHODID_GET_COMPILATION_RESULT = 27; - private static final int METHODID_CREATE_COMPILATION_RESULT = 28; - private static final int METHODID_QUERY_COMPILATION_RESULT_ACTIONS = 29; - private static final int METHODID_LIST_WORKFLOW_INVOCATIONS = 30; - private static final int METHODID_GET_WORKFLOW_INVOCATION = 31; - private static final int METHODID_CREATE_WORKFLOW_INVOCATION = 32; - private static final int METHODID_DELETE_WORKFLOW_INVOCATION = 33; - private static final int METHODID_CANCEL_WORKFLOW_INVOCATION = 34; - private static final int METHODID_QUERY_WORKFLOW_INVOCATION_ACTIONS = 35; - - private static final class MethodHandlers implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final DataformImplBase serviceImpl; - private final int methodId; - - MethodHandlers(DataformImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_LIST_REPOSITORIES: - serviceImpl.listRepositories((com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_REPOSITORY: - serviceImpl.getRepository((com.google.cloud.dataform.v1alpha2.GetRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_REPOSITORY: - serviceImpl.createRepository((com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_REPOSITORY: - serviceImpl.updateRepository((com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_REPOSITORY: - serviceImpl.deleteRepository((com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_FETCH_REMOTE_BRANCHES: - serviceImpl.fetchRemoteBranches((com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_WORKSPACES: - serviceImpl.listWorkspaces((com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_WORKSPACE: - serviceImpl.getWorkspace((com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_WORKSPACE: - serviceImpl.createWorkspace((com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_WORKSPACE: - serviceImpl.deleteWorkspace((com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_INSTALL_NPM_PACKAGES: - serviceImpl.installNpmPackages((com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_PULL_GIT_COMMITS: - serviceImpl.pullGitCommits((com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_PUSH_GIT_COMMITS: - serviceImpl.pushGitCommits((com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_FETCH_FILE_GIT_STATUSES: - serviceImpl.fetchFileGitStatuses((com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_FETCH_GIT_AHEAD_BEHIND: - serviceImpl.fetchGitAheadBehind((com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_COMMIT_WORKSPACE_CHANGES: - serviceImpl.commitWorkspaceChanges((com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_RESET_WORKSPACE_CHANGES: - serviceImpl.resetWorkspaceChanges((com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_FETCH_FILE_DIFF: - serviceImpl.fetchFileDiff((com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_QUERY_DIRECTORY_CONTENTS: - serviceImpl.queryDirectoryContents((com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_MAKE_DIRECTORY: - serviceImpl.makeDirectory((com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_REMOVE_DIRECTORY: - serviceImpl.removeDirectory((com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_MOVE_DIRECTORY: - serviceImpl.moveDirectory((com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_READ_FILE: - serviceImpl.readFile((com.google.cloud.dataform.v1alpha2.ReadFileRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_REMOVE_FILE: - serviceImpl.removeFile((com.google.cloud.dataform.v1alpha2.RemoveFileRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_MOVE_FILE: - serviceImpl.moveFile((com.google.cloud.dataform.v1alpha2.MoveFileRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_WRITE_FILE: - serviceImpl.writeFile((com.google.cloud.dataform.v1alpha2.WriteFileRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_COMPILATION_RESULTS: - serviceImpl.listCompilationResults((com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_COMPILATION_RESULT: - serviceImpl.getCompilationResult((com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_COMPILATION_RESULT: - serviceImpl.createCompilationResult((com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_QUERY_COMPILATION_RESULT_ACTIONS: - serviceImpl.queryCompilationResultActions((com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_WORKFLOW_INVOCATIONS: - serviceImpl.listWorkflowInvocations((com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_WORKFLOW_INVOCATION: - serviceImpl.getWorkflowInvocation((com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_WORKFLOW_INVOCATION: - serviceImpl.createWorkflowInvocation((com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_WORKFLOW_INVOCATION: - serviceImpl.deleteWorkflowInvocation((com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CANCEL_WORKFLOW_INVOCATION: - serviceImpl.cancelWorkflowInvocation((com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_QUERY_WORKFLOW_INVOCATION_ACTIONS: - serviceImpl.queryWorkflowInvocationActions((com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private static abstract class DataformBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - DataformBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("Dataform"); - } - } - - private static final class DataformFileDescriptorSupplier - extends DataformBaseDescriptorSupplier { - DataformFileDescriptorSupplier() {} - } - - private static final class DataformMethodDescriptorSupplier - extends DataformBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - DataformMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (DataformGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new DataformFileDescriptorSupplier()) - .addMethod(getListRepositoriesMethod()) - .addMethod(getGetRepositoryMethod()) - .addMethod(getCreateRepositoryMethod()) - .addMethod(getUpdateRepositoryMethod()) - .addMethod(getDeleteRepositoryMethod()) - .addMethod(getFetchRemoteBranchesMethod()) - .addMethod(getListWorkspacesMethod()) - .addMethod(getGetWorkspaceMethod()) - .addMethod(getCreateWorkspaceMethod()) - .addMethod(getDeleteWorkspaceMethod()) - .addMethod(getInstallNpmPackagesMethod()) - .addMethod(getPullGitCommitsMethod()) - .addMethod(getPushGitCommitsMethod()) - .addMethod(getFetchFileGitStatusesMethod()) - .addMethod(getFetchGitAheadBehindMethod()) - .addMethod(getCommitWorkspaceChangesMethod()) - .addMethod(getResetWorkspaceChangesMethod()) - .addMethod(getFetchFileDiffMethod()) - .addMethod(getQueryDirectoryContentsMethod()) - .addMethod(getMakeDirectoryMethod()) - .addMethod(getRemoveDirectoryMethod()) - .addMethod(getMoveDirectoryMethod()) - .addMethod(getReadFileMethod()) - .addMethod(getRemoveFileMethod()) - .addMethod(getMoveFileMethod()) - .addMethod(getWriteFileMethod()) - .addMethod(getListCompilationResultsMethod()) - .addMethod(getGetCompilationResultMethod()) - .addMethod(getCreateCompilationResultMethod()) - .addMethod(getQueryCompilationResultActionsMethod()) - .addMethod(getListWorkflowInvocationsMethod()) - .addMethod(getGetWorkflowInvocationMethod()) - .addMethod(getCreateWorkflowInvocationMethod()) - .addMethod(getDeleteWorkflowInvocationMethod()) - .addMethod(getCancelWorkflowInvocationMethod()) - .addMethod(getQueryWorkflowInvocationActionsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CancelWorkflowInvocationRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CancelWorkflowInvocationRequestOrBuilder.java deleted file mode 100644 index 671053d..0000000 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CancelWorkflowInvocationRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1alpha2/dataform.proto - -package com.google.cloud.dataform.v1alpha2; - -public interface CancelWorkflowInvocationRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The workflow invocation resource's name.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The workflow invocation resource's name.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateCompilationResultRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateCompilationResultRequestOrBuilder.java deleted file mode 100644 index d845a74..0000000 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateCompilationResultRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1alpha2/dataform.proto - -package com.google.cloud.dataform.v1alpha2; - -public interface CreateCompilationResultRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.CreateCompilationResultRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The repository in which to create the compilation result. Must be in the
-   * format `projects/*/locations/*/repositories/*`.
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The parent. - */ - java.lang.String getParent(); - /** - *
-   * Required. The repository in which to create the compilation result. Must be in the
-   * format `projects/*/locations/*/repositories/*`.
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for parent. - */ - com.google.protobuf.ByteString - getParentBytes(); - - /** - *
-   * Required. The compilation result to create.
-   * 
- * - * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the compilationResult field is set. - */ - boolean hasCompilationResult(); - /** - *
-   * Required. The compilation result to create.
-   * 
- * - * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The compilationResult. - */ - com.google.cloud.dataform.v1alpha2.CompilationResult getCompilationResult(); - /** - *
-   * Required. The compilation result to create.
-   * 
- * - * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.cloud.dataform.v1alpha2.CompilationResultOrBuilder getCompilationResultOrBuilder(); -} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkflowInvocationRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkflowInvocationRequestOrBuilder.java deleted file mode 100644 index 868481e..0000000 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkflowInvocationRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1alpha2/dataform.proto - -package com.google.cloud.dataform.v1alpha2; - -public interface CreateWorkflowInvocationRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The parent resource of the WorkflowInvocation type.
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The parent. - */ - java.lang.String getParent(); - /** - *
-   * Required. The parent resource of the WorkflowInvocation type.
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for parent. - */ - com.google.protobuf.ByteString - getParentBytes(); - - /** - *
-   * Required. The workflow invocation resource to create.
-   * 
- * - * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the workflowInvocation field is set. - */ - boolean hasWorkflowInvocation(); - /** - *
-   * Required. The workflow invocation resource to create.
-   * 
- * - * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The workflowInvocation. - */ - com.google.cloud.dataform.v1alpha2.WorkflowInvocation getWorkflowInvocation(); - /** - *
-   * Required. The workflow invocation resource to create.
-   * 
- * - * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.cloud.dataform.v1alpha2.WorkflowInvocationOrBuilder getWorkflowInvocationOrBuilder(); -} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DataformProto.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DataformProto.java deleted file mode 100644 index 56f843d..0000000 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DataformProto.java +++ /dev/null @@ -1,1452 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1alpha2/dataform.proto - -package com.google.cloud.dataform.v1alpha2; - -public final class DataformProto { - private DataformProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_Repository_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_Repository_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_Repository_GitRemoteSettings_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_Repository_GitRemoteSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_GetRepositoryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_GetRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_CreateRepositoryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_CreateRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_UpdateRepositoryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_UpdateRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_DeleteRepositoryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_DeleteRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_Workspace_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_Workspace_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_GetWorkspaceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_GetWorkspaceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_CreateWorkspaceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_CreateWorkspaceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_DeleteWorkspaceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_DeleteWorkspaceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_CommitAuthor_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_CommitAuthor_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_PullGitCommitsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_PullGitCommitsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_PushGitCommitsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_PushGitCommitsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_UncommittedFileChange_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_UncommittedFileChange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_CommitWorkspaceChangesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_CommitWorkspaceChangesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_ResetWorkspaceChangesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_ResetWorkspaceChangesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_DirectoryEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_DirectoryEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_RemoveDirectoryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_RemoveDirectoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_ReadFileRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_ReadFileRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_ReadFileResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_ReadFileResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_RemoveFileRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_RemoveFileRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_MoveFileRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_MoveFileRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_MoveFileResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_MoveFileResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_WriteFileRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_WriteFileRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_WriteFileResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_WriteFileResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_CompilationResult_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_CompilationResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_VarsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_VarsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CompilationError_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CompilationError_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_GetCompilationResultRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_GetCompilationResultRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_CreateCompilationResultRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_CreateCompilationResultRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_Target_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_Target_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_ColumnDescriptor_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_ColumnDescriptor_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_BigqueryLabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_BigqueryLabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_IncrementalTableConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_IncrementalTableConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_AdditionalOptionsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_AdditionalOptionsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Operations_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Operations_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Assertion_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Assertion_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Declaration_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Declaration_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_InvocationConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_InvocationConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_GetWorkflowInvocationRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_GetWorkflowInvocationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_CreateWorkflowInvocationRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_CreateWorkflowInvocationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_DeleteWorkflowInvocationRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_DeleteWorkflowInvocationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_CancelWorkflowInvocationRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_CancelWorkflowInvocationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_BigQueryAction_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_BigQueryAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsResponse_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n-google/cloud/dataform/v1alpha2/datafor" + - "m.proto\022\036google.cloud.dataform.v1alpha2\032" + - "\034google/api/annotations.proto\032\027google/ap" + - "i/client.proto\032\037google/api/field_behavio" + - "r.proto\032\031google/api/resource.proto\032\033goog" + - "le/protobuf/empty.proto\032 google/protobuf" + - "/field_mask.proto\032\032google/type/interval." + - "proto\"\312\004\n\nRepository\022\021\n\004name\030\001 \001(\tB\003\340A\003\022" + - "^\n\023git_remote_settings\030\002 \001(\0132<.google.cl" + - "oud.dataform.v1alpha2.Repository.GitRemo" + - "teSettingsB\003\340A\001\032\334\002\n\021GitRemoteSettings\022\020\n" + - "\003url\030\001 \001(\tB\003\340A\002\022\033\n\016default_branch\030\002 \001(\tB" + - "\003\340A\002\022_\n#authentication_token_secret_vers" + - "ion\030\003 \001(\tB2\340A\002\372A,\n*secretmanager.googlea" + - "pis.com/SecretVersion\022c\n\014token_status\030\004 " + - "\001(\0162H.google.cloud.dataform.v1alpha2.Rep" + - "ository.GitRemoteSettings.TokenStatusB\003\340" + - "A\003\"R\n\013TokenStatus\022\034\n\030TOKEN_STATUS_UNSPEC" + - "IFIED\020\000\022\r\n\tNOT_FOUND\020\001\022\013\n\007INVALID\020\002\022\t\n\005V" + - "ALID\020\003:j\352Ag\n\"dataform.googleapis.com/Rep" + - "ository\022Aprojects/{project}/locations/{l" + - "ocation}/repositories/{repository}\"\261\001\n\027L" + - "istRepositoriesRequest\0229\n\006parent\030\001 \001(\tB)" + - "\340A\002\372A#\n!locations.googleapis.com/Locatio" + - "n\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030" + - "\003 \001(\tB\003\340A\001\022\025\n\010order_by\030\004 \001(\tB\003\340A\001\022\023\n\006fil" + - "ter\030\005 \001(\tB\003\340A\001\"\212\001\n\030ListRepositoriesRespo" + - "nse\022@\n\014repositories\030\001 \003(\0132*.google.cloud" + - ".dataform.v1alpha2.Repository\022\027\n\017next_pa" + - "ge_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"P\n\024G" + - "etRepositoryRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A" + - "$\n\"dataform.googleapis.com/Repository\"\265\001" + - "\n\027CreateRepositoryRequest\0229\n\006parent\030\001 \001(" + - "\tB)\340A\002\372A#\n!locations.googleapis.com/Loca" + - "tion\022C\n\nrepository\030\002 \001(\0132*.google.cloud." + - "dataform.v1alpha2.RepositoryB\003\340A\002\022\032\n\rrep" + - "ository_id\030\003 \001(\tB\003\340A\002\"\224\001\n\027UpdateReposito" + - "ryRequest\0224\n\013update_mask\030\001 \001(\0132\032.google." + - "protobuf.FieldMaskB\003\340A\001\022C\n\nrepository\030\002 " + - "\001(\0132*.google.cloud.dataform.v1alpha2.Rep" + - "ositoryB\003\340A\002\"b\n\027DeleteRepositoryRequest\022" + - "8\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"dataform.googleap" + - "is.com/Repository\022\r\n\005force\030\002 \001(\010\"V\n\032Fetc" + - "hRemoteBranchesRequest\0228\n\004name\030\001 \001(\tB*\340A" + - "\002\372A$\n\"dataform.googleapis.com/Repository" + - "\"/\n\033FetchRemoteBranchesResponse\022\020\n\010branc" + - "hes\030\001 \003(\t\"\241\001\n\tWorkspace\022\021\n\004name\030\001 \001(\tB\003\340" + - "A\003:\200\001\352A}\n!dataform.googleapis.com/Worksp" + - "ace\022Xprojects/{project}/locations/{locat" + - "ion}/repositories/{repository}/workspace" + - "s/{workspace}\"\260\001\n\025ListWorkspacesRequest\022" + - ":\n\006parent\030\001 \001(\tB*\340A\002\372A$\n\"dataform.google" + - "apis.com/Repository\022\026\n\tpage_size\030\002 \001(\005B\003" + - "\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001\022\025\n\010order_by" + - "\030\004 \001(\tB\003\340A\001\022\023\n\006filter\030\005 \001(\tB\003\340A\001\"\205\001\n\026Lis" + - "tWorkspacesResponse\022=\n\nworkspaces\030\001 \003(\0132" + - ").google.cloud.dataform.v1alpha2.Workspa" + - "ce\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unreachab" + - "le\030\003 \003(\t\"N\n\023GetWorkspaceRequest\0227\n\004name\030" + - "\001 \001(\tB)\340A\002\372A#\n!dataform.googleapis.com/W" + - "orkspace\"\262\001\n\026CreateWorkspaceRequest\022:\n\006p" + - "arent\030\001 \001(\tB*\340A\002\372A$\n\"dataform.googleapis" + - ".com/Repository\022A\n\tworkspace\030\002 \001(\0132).goo" + - "gle.cloud.dataform.v1alpha2.WorkspaceB\003\340" + - "A\002\022\031\n\014workspace_id\030\003 \001(\tB\003\340A\002\"Q\n\026DeleteW" + - "orkspaceRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!d" + - "ataform.googleapis.com/Workspace\"=\n\014Comm" + - "itAuthor\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\032\n\remail_add" + - "ress\030\002 \001(\tB\003\340A\002\"\257\001\n\025PullGitCommitsReques" + - "t\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dataform.google" + - "apis.com/Workspace\022\032\n\rremote_branch\030\002 \001(" + - "\tB\003\340A\001\022A\n\006author\030\003 \001(\0132,.google.cloud.da" + - "taform.v1alpha2.CommitAuthorB\003\340A\002\"l\n\025Pus" + - "hGitCommitsRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#" + - "\n!dataform.googleapis.com/Workspace\022\032\n\rr" + - "emote_branch\030\002 \001(\tB\003\340A\001\"V\n\033FetchFileGitS" + - "tatusesRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!da" + - "taform.googleapis.com/Workspace\"\376\002\n\034Fetc" + - "hFileGitStatusesResponse\022t\n\030uncommitted_" + - "file_changes\030\001 \003(\0132R.google.cloud.datafo" + - "rm.v1alpha2.FetchFileGitStatusesResponse" + - ".UncommittedFileChange\032\347\001\n\025UncommittedFi" + - "leChange\022\014\n\004path\030\001 \001(\t\022g\n\005state\030\002 \001(\0162X." + - "google.cloud.dataform.v1alpha2.FetchFile" + - "GitStatusesResponse.UncommittedFileChang" + - "e.State\"W\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022" + - "\t\n\005ADDED\020\001\022\013\n\007DELETED\020\002\022\014\n\010MODIFIED\020\003\022\021\n" + - "\rHAS_CONFLICTS\020\004\"q\n\032FetchGitAheadBehindR" + - "equest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dataform.g" + - "oogleapis.com/Workspace\022\032\n\rremote_branch" + - "\030\002 \001(\tB\003\340A\001\"L\n\033FetchGitAheadBehindRespon" + - "se\022\025\n\rcommits_ahead\030\001 \001(\005\022\026\n\016commits_beh" + - "ind\030\002 \001(\005\"\314\001\n\035CommitWorkspaceChangesRequ" + - "est\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dataform.goog" + - "leapis.com/Workspace\022A\n\006author\030\004 \001(\0132,.g" + - "oogle.cloud.dataform.v1alpha2.CommitAuth" + - "orB\003\340A\002\022\033\n\016commit_message\030\002 \001(\tB\003\340A\001\022\022\n\005" + - "paths\030\003 \003(\tB\003\340A\001\"\177\n\034ResetWorkspaceChange" + - "sRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dataform" + - ".googleapis.com/Workspace\022\022\n\005paths\030\002 \003(\t" + - "B\003\340A\001\022\022\n\005clean\030\003 \001(\010B\003\340A\001\"g\n\024FetchFileDi" + - "ffRequest\022<\n\tworkspace\030\001 \001(\tB)\340A\002\372A#\n!da" + - "taform.googleapis.com/Workspace\022\021\n\004path\030" + - "\002 \001(\tB\003\340A\002\"/\n\025FetchFileDiffResponse\022\026\n\016f" + - "ormatted_diff\030\001 \001(\t\"\241\001\n\035QueryDirectoryCo" + - "ntentsRequest\022<\n\tworkspace\030\001 \001(\tB)\340A\002\372A#" + - "\n!dataform.googleapis.com/Workspace\022\021\n\004p" + - "ath\030\002 \001(\tB\003\340A\001\022\026\n\tpage_size\030\003 \001(\005B\003\340A\001\022\027" + - "\n\npage_token\030\004 \001(\tB\003\340A\001\"\343\001\n\036QueryDirecto" + - "ryContentsResponse\022h\n\021directory_entries\030" + - "\001 \003(\0132M.google.cloud.dataform.v1alpha2.Q" + - "ueryDirectoryContentsResponse.DirectoryE" + - "ntry\022\027\n\017next_page_token\030\002 \001(\t\032>\n\016Directo" + - "ryEntry\022\016\n\004file\030\001 \001(\tH\000\022\023\n\tdirectory\030\002 \001" + - "(\tH\000B\007\n\005entry\"g\n\024MakeDirectoryRequest\022<\n" + - "\tworkspace\030\001 \001(\tB)\340A\002\372A#\n!dataform.googl" + - "eapis.com/Workspace\022\021\n\004path\030\002 \001(\tB\003\340A\002\"\027" + - "\n\025MakeDirectoryResponse\"i\n\026RemoveDirecto" + - "ryRequest\022<\n\tworkspace\030\001 \001(\tB)\340A\002\372A#\n!da" + - "taform.googleapis.com/Workspace\022\021\n\004path\030" + - "\002 \001(\tB\003\340A\002\"~\n\024MoveDirectoryRequest\022<\n\two" + - "rkspace\030\001 \001(\tB)\340A\002\372A#\n!dataform.googleap" + - "is.com/Workspace\022\021\n\004path\030\002 \001(\tB\003\340A\002\022\025\n\010n" + - "ew_path\030\003 \001(\tB\003\340A\002\"\027\n\025MoveDirectoryRespo" + - "nse\"b\n\017ReadFileRequest\022<\n\tworkspace\030\001 \001(" + - "\tB)\340A\002\372A#\n!dataform.googleapis.com/Works" + - "pace\022\021\n\004path\030\002 \001(\tB\003\340A\002\")\n\020ReadFileRespo" + - "nse\022\025\n\rfile_contents\030\001 \001(\014\"d\n\021RemoveFile" + - "Request\022<\n\tworkspace\030\001 \001(\tB)\340A\002\372A#\n!data" + - "form.googleapis.com/Workspace\022\021\n\004path\030\002 " + - "\001(\tB\003\340A\002\"y\n\017MoveFileRequest\022<\n\tworkspace" + - "\030\001 \001(\tB)\340A\002\372A#\n!dataform.googleapis.com/" + - "Workspace\022\021\n\004path\030\002 \001(\tB\003\340A\002\022\025\n\010new_path" + - "\030\003 \001(\tB\003\340A\002\"\022\n\020MoveFileResponse\"z\n\020Write" + - "FileRequest\022<\n\tworkspace\030\001 \001(\tB)\340A\002\372A#\n!" + - "dataform.googleapis.com/Workspace\022\021\n\004pat" + - "h\030\002 \001(\tB\003\340A\002\022\025\n\010contents\030\003 \001(\014B\003\340A\002\"\023\n\021W" + - "riteFileResponse\"Y\n\031InstallNpmPackagesRe" + - "quest\022<\n\tworkspace\030\001 \001(\tB)\340A\002\372A#\n!datafo" + - "rm.googleapis.com/Workspace\"\034\n\032InstallNp" + - "mPackagesResponse\"\265\010\n\021CompilationResult\022" + - "\021\n\004name\030\001 \001(\tB\003\340A\003\022\034\n\rgit_commitish\030\002 \001(" + - "\tB\003\340A\005H\000\022>\n\tworkspace\030\003 \001(\tB)\340A\005\372A#\n!dat" + - "aform.googleapis.com/WorkspaceH\000\022m\n\027code" + - "_compilation_config\030\004 \001(\0132G.google.cloud" + - ".dataform.v1alpha2.CompilationResult.Cod" + - "eCompilationConfigB\003\340A\005\022\"\n\025dataform_core" + - "_version\030\005 \001(\tB\003\340A\003\022c\n\022compilation_error" + - "s\030\006 \003(\0132B.google.cloud.dataform.v1alpha2" + - ".CompilationResult.CompilationErrorB\003\340A\003" + - "\032\371\002\n\025CodeCompilationConfig\022\035\n\020default_da" + - "tabase\030\001 \001(\tB\003\340A\001\022\033\n\016default_schema\030\002 \001(" + - "\tB\003\340A\001\022\035\n\020default_location\030\010 \001(\tB\003\340A\001\022\035\n" + - "\020assertion_schema\030\003 \001(\tB\003\340A\001\022d\n\004vars\030\004 \003" + - "(\0132Q.google.cloud.dataform.v1alpha2.Comp" + - "ilationResult.CodeCompilationConfig.Vars" + - "EntryB\003\340A\001\022\034\n\017database_suffix\030\005 \001(\tB\003\340A\001" + - "\022\032\n\rschema_suffix\030\006 \001(\tB\003\340A\001\022\031\n\014table_pr" + - "efix\030\007 \001(\tB\003\340A\001\032+\n\tVarsEntry\022\013\n\003key\030\001 \001(" + - "\t\022\r\n\005value\030\002 \001(\t:\0028\001\032\223\001\n\020CompilationErro" + - "r\022\024\n\007message\030\001 \001(\tB\003\340A\003\022\022\n\005stack\030\002 \001(\tB\003" + - "\340A\003\022\021\n\004path\030\003 \001(\tB\003\340A\003\022B\n\raction_target\030" + - "\004 \001(\0132&.google.cloud.dataform.v1alpha2.T" + - "argetB\003\340A\003:\232\001\352A\226\001\n)dataform.googleapis.c" + - "om/CompilationResult\022iprojects/{project}" + - "/locations/{location}/repositories/{repo" + - "sitory}/compilationResults/{compilation_" + - "result}B\010\n\006source\"\214\001\n\035ListCompilationRes" + - "ultsRequest\022:\n\006parent\030\001 \001(\tB*\340A\002\372A$\n\"dat" + - "aform.googleapis.com/Repository\022\026\n\tpage_" + - "size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001" + - "\"\236\001\n\036ListCompilationResultsResponse\022N\n\023c" + - "ompilation_results\030\001 \003(\01321.google.cloud." + - "dataform.v1alpha2.CompilationResult\022\027\n\017n" + - "ext_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(" + - "\t\"^\n\033GetCompilationResultRequest\022?\n\004name" + - "\030\001 \001(\tB1\340A\002\372A+\n)dataform.googleapis.com/" + - "CompilationResult\"\260\001\n\036CreateCompilationR" + - "esultRequest\022:\n\006parent\030\001 \001(\tB*\340A\002\372A$\n\"da" + - "taform.googleapis.com/Repository\022R\n\022comp" + - "ilation_result\030\002 \001(\01321.google.cloud.data" + - "form.v1alpha2.CompilationResultB\003\340A\002\"8\n\006" + - "Target\022\020\n\010database\030\001 \001(\t\022\016\n\006schema\030\002 \001(\t" + - "\022\014\n\004name\030\003 \001(\t\"\354\002\n\022RelationDescriptor\022\023\n" + - "\013description\030\001 \001(\t\022T\n\007columns\030\002 \003(\0132C.go" + - "ogle.cloud.dataform.v1alpha2.RelationDes" + - "criptor.ColumnDescriptor\022_\n\017bigquery_lab" + - "els\030\003 \003(\0132F.google.cloud.dataform.v1alph" + - "a2.RelationDescriptor.BigqueryLabelsEntr" + - "y\032S\n\020ColumnDescriptor\022\014\n\004path\030\001 \003(\t\022\023\n\013d" + - "escription\030\002 \001(\t\022\034\n\024bigquery_policy_tags" + - "\030\003 \003(\t\0325\n\023BigqueryLabelsEntry\022\013\n\003key\030\001 \001" + - "(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\344\021\n\027CompilationRes" + - "ultAction\0226\n\006target\030\001 \001(\0132&.google.cloud" + - ".dataform.v1alpha2.Target\022@\n\020canonical_t" + - "arget\030\002 \001(\0132&.google.cloud.dataform.v1al" + - "pha2.Target\022\021\n\tfile_path\030\003 \001(\t\022T\n\010relati" + - "on\030\004 \001(\0132@.google.cloud.dataform.v1alpha" + - "2.CompilationResultAction.RelationH\000\022X\n\n" + - "operations\030\005 \001(\0132B.google.cloud.dataform" + - ".v1alpha2.CompilationResultAction.Operat" + - "ionsH\000\022V\n\tassertion\030\006 \001(\0132A.google.cloud" + - ".dataform.v1alpha2.CompilationResultActi" + - "on.AssertionH\000\022Z\n\013declaration\030\007 \001(\0132C.go" + - "ogle.cloud.dataform.v1alpha2.Compilation" + - "ResultAction.DeclarationH\000\032\343\010\n\010Relation\022" + - "B\n\022dependency_targets\030\001 \003(\0132&.google.clo" + - "ud.dataform.v1alpha2.Target\022\020\n\010disabled\030" + - "\002 \001(\010\022\014\n\004tags\030\003 \003(\t\022O\n\023relation_descript" + - "or\030\004 \001(\01322.google.cloud.dataform.v1alpha" + - "2.RelationDescriptor\022d\n\rrelation_type\030\005 " + - "\001(\0162M.google.cloud.dataform.v1alpha2.Com" + - "pilationResultAction.Relation.RelationTy" + - "pe\022\024\n\014select_query\030\006 \001(\t\022\026\n\016pre_operatio" + - "ns\030\007 \003(\t\022\027\n\017post_operations\030\010 \003(\t\022y\n\030inc" + - "remental_table_config\030\t \001(\0132W.google.clo" + - "ud.dataform.v1alpha2.CompilationResultAc" + - "tion.Relation.IncrementalTableConfig\022\034\n\024" + - "partition_expression\030\n \001(\t\022\033\n\023cluster_ex" + - "pressions\030\013 \003(\t\022!\n\031partition_expiration_" + - "days\030\014 \001(\005\022 \n\030require_partition_filter\030\r" + - " \001(\010\022s\n\022additional_options\030\016 \003(\0132W.googl" + - "e.cloud.dataform.v1alpha2.CompilationRes" + - "ultAction.Relation.AdditionalOptionsEntr" + - "y\032\330\001\n\026IncrementalTableConfig\022 \n\030incremen" + - "tal_select_query\030\001 \001(\t\022\030\n\020refresh_disabl" + - "ed\030\002 \001(\010\022\030\n\020unique_key_parts\030\003 \003(\t\022\037\n\027up" + - "date_partition_filter\030\004 \001(\t\022\"\n\032increment" + - "al_pre_operations\030\005 \003(\t\022#\n\033incremental_p" + - "ost_operations\030\006 \003(\t\0328\n\026AdditionalOption" + - "sEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"p" + - "\n\014RelationType\022\035\n\031RELATION_TYPE_UNSPECIF" + - "IED\020\000\022\t\n\005TABLE\020\001\022\010\n\004VIEW\020\002\022\025\n\021INCREMENTA" + - "L_TABLE\020\003\022\025\n\021MATERIALIZED_VIEW\020\004\032\346\001\n\nOpe" + - "rations\022B\n\022dependency_targets\030\001 \003(\0132&.go" + - "ogle.cloud.dataform.v1alpha2.Target\022\020\n\010d" + - "isabled\030\002 \001(\010\022\014\n\004tags\030\003 \003(\t\022O\n\023relation_" + - "descriptor\030\006 \001(\01322.google.cloud.dataform" + - ".v1alpha2.RelationDescriptor\022\017\n\007queries\030" + - "\004 \003(\t\022\022\n\nhas_output\030\005 \001(\010\032\225\002\n\tAssertion\022" + - "B\n\022dependency_targets\030\001 \003(\0132&.google.clo" + - "ud.dataform.v1alpha2.Target\022=\n\rparent_ac" + - "tion\030\005 \001(\0132&.google.cloud.dataform.v1alp" + - "ha2.Target\022\020\n\010disabled\030\002 \001(\010\022\014\n\004tags\030\003 \003" + - "(\t\022\024\n\014select_query\030\004 \001(\t\022O\n\023relation_des" + - "criptor\030\006 \001(\01322.google.cloud.dataform.v1" + - "alpha2.RelationDescriptor\032^\n\013Declaration" + - "\022O\n\023relation_descriptor\030\001 \001(\01322.google.c" + - "loud.dataform.v1alpha2.RelationDescripto" + - "rB\021\n\017compiled_object\"\255\001\n$QueryCompilatio" + - "nResultActionsRequest\022?\n\004name\030\001 \001(\tB1\340A\002" + - "\372A+\n)dataform.googleapis.com/Compilation" + - "Result\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_t" + - "oken\030\003 \001(\tB\003\340A\001\022\023\n\006filter\030\004 \001(\tB\003\340A\001\"\235\001\n" + - "%QueryCompilationResultActionsResponse\022[" + - "\n\032compilation_result_actions\030\001 \003(\01327.goo" + - "gle.cloud.dataform.v1alpha2.CompilationR" + - "esultAction\022\027\n\017next_page_token\030\002 \001(\t\"\361\006\n" + - "\022WorkflowInvocation\022\021\n\004name\030\001 \001(\tB\003\340A\003\022M" + - "\n\022compilation_result\030\002 \001(\tB1\340A\005\372A+\n)data" + - "form.googleapis.com/CompilationResult\022c\n" + - "\021invocation_config\030\003 \001(\0132C.google.cloud." + - "dataform.v1alpha2.WorkflowInvocation.Inv" + - "ocationConfigB\003\340A\005\022L\n\005state\030\004 \001(\01628.goog" + - "le.cloud.dataform.v1alpha2.WorkflowInvoc" + - "ation.StateB\003\340A\003\0225\n\021invocation_timing\030\005 " + - "\001(\0132\025.google.type.IntervalB\003\340A\003\032\210\002\n\020Invo" + - "cationConfig\022E\n\020included_targets\030\001 \003(\0132&" + - ".google.cloud.dataform.v1alpha2.TargetB\003" + - "\340A\005\022\032\n\rincluded_tags\030\002 \003(\tB\003\340A\005\022-\n trans" + - "itive_dependencies_included\030\003 \001(\010B\003\340A\005\022+" + - "\n\036transitive_dependents_included\030\004 \001(\010B\003" + - "\340A\005\0225\n(fully_refresh_incremental_tables_" + - "enabled\030\005 \001(\010B\003\340A\005\"d\n\005State\022\025\n\021STATE_UNS" + - "PECIFIED\020\000\022\013\n\007RUNNING\020\001\022\r\n\tSUCCEEDED\020\002\022\r" + - "\n\tCANCELLED\020\003\022\n\n\006FAILED\020\004\022\r\n\tCANCELING\020\005" + - ":\235\001\352A\231\001\n*dataform.googleapis.com/Workflo" + - "wInvocation\022kprojects/{project}/location" + - "s/{location}/repositories/{repository}/w" + - "orkflowInvocations/{workflow_invocation}" + - "\"\215\001\n\036ListWorkflowInvocationsRequest\022:\n\006p" + - "arent\030\001 \001(\tB*\340A\002\372A$\n\"dataform.googleapis" + - ".com/Repository\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022" + - "\027\n\npage_token\030\003 \001(\tB\003\340A\001\"\241\001\n\037ListWorkflo" + - "wInvocationsResponse\022P\n\024workflow_invocat" + - "ions\030\001 \003(\01322.google.cloud.dataform.v1alp" + - "ha2.WorkflowInvocation\022\027\n\017next_page_toke" + - "n\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"`\n\034GetWorkf" + - "lowInvocationRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372" + - "A,\n*dataform.googleapis.com/WorkflowInvo" + - "cation\"\263\001\n\037CreateWorkflowInvocationReque" + - "st\022:\n\006parent\030\001 \001(\tB*\340A\002\372A$\n\"dataform.goo" + - "gleapis.com/Repository\022T\n\023workflow_invoc" + - "ation\030\002 \001(\01322.google.cloud.dataform.v1al" + - "pha2.WorkflowInvocationB\003\340A\002\"c\n\037DeleteWo" + - "rkflowInvocationRequest\022@\n\004name\030\001 \001(\tB2\340" + - "A\002\372A,\n*dataform.googleapis.com/WorkflowI" + - "nvocation\"c\n\037CancelWorkflowInvocationReq" + - "uest\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*dataform.goo" + - "gleapis.com/WorkflowInvocation\"\300\004\n\030Workf" + - "lowInvocationAction\022;\n\006target\030\001 \001(\0132&.go" + - "ogle.cloud.dataform.v1alpha2.TargetB\003\340A\003" + - "\022E\n\020canonical_target\030\002 \001(\0132&.google.clou" + - "d.dataform.v1alpha2.TargetB\003\340A\003\022R\n\005state" + - "\030\004 \001(\0162>.google.cloud.dataform.v1alpha2." + - "WorkflowInvocationAction.StateB\003\340A\003\022\033\n\016f" + - "ailure_reason\030\007 \001(\tB\003\340A\003\0225\n\021invocation_t" + - "iming\030\005 \001(\0132\025.google.type.IntervalB\003\340A\003\022" + - "e\n\017bigquery_action\030\006 \001(\0132G.google.cloud." + - "dataform.v1alpha2.WorkflowInvocationActi" + - "on.BigQueryActionB\003\340A\003\032)\n\016BigQueryAction" + - "\022\027\n\nsql_script\030\001 \001(\tB\003\340A\003\"f\n\005State\022\013\n\007PE" + - "NDING\020\000\022\013\n\007RUNNING\020\001\022\013\n\007SKIPPED\020\002\022\014\n\010DIS" + - "ABLED\020\003\022\r\n\tSUCCEEDED\020\004\022\r\n\tCANCELLED\020\005\022\n\n" + - "\006FAILED\020\006\"\232\001\n%QueryWorkflowInvocationAct" + - "ionsRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*dataf" + - "orm.googleapis.com/WorkflowInvocation\022\026\n" + - "\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(" + - "\tB\003\340A\001\"\240\001\n&QueryWorkflowInvocationAction" + - "sResponse\022]\n\033workflow_invocation_actions" + - "\030\001 \003(\01328.google.cloud.dataform.v1alpha2." + - "WorkflowInvocationAction\022\027\n\017next_page_to" + - "ken\030\002 \001(\t2\255?\n\010Dataform\022\316\001\n\020ListRepositor" + - "ies\0227.google.cloud.dataform.v1alpha2.Lis" + - "tRepositoriesRequest\0328.google.cloud.data" + - "form.v1alpha2.ListRepositoriesResponse\"G" + - "\202\323\344\223\0028\0226/v1alpha2/{parent=projects/*/loc" + - "ations/*}/repositories\332A\006parent\022\270\001\n\rGetR" + - "epository\0224.google.cloud.dataform.v1alph" + - "a2.GetRepositoryRequest\032*.google.cloud.d" + - "ataform.v1alpha2.Repository\"E\202\323\344\223\0028\0226/v1" + - "alpha2/{name=projects/*/locations/*/repo" + - "sitories/*}\332A\004name\022\345\001\n\020CreateRepository\022" + - "7.google.cloud.dataform.v1alpha2.CreateR" + - "epositoryRequest\032*.google.cloud.dataform" + - ".v1alpha2.Repository\"l\202\323\344\223\002D\"6/v1alpha2/" + - "{parent=projects/*/locations/*}/reposito" + - "ries:\nrepository\332A\037parent,repository,rep" + - "ository_id\022\347\001\n\020UpdateRepository\0227.google" + - ".cloud.dataform.v1alpha2.UpdateRepositor" + - "yRequest\032*.google.cloud.dataform.v1alpha" + - "2.Repository\"n\202\323\344\223\002O2A/v1alpha2/{reposit" + - "ory.name=projects/*/locations/*/reposito" + - "ries/*}:\nrepository\332A\026repository,update_" + - "mask\022\252\001\n\020DeleteRepository\0227.google.cloud" + - ".dataform.v1alpha2.DeleteRepositoryReque" + - "st\032\026.google.protobuf.Empty\"E\202\323\344\223\0028*6/v1a" + - "lpha2/{name=projects/*/locations/*/repos" + - "itories/*}\332A\004name\022\342\001\n\023FetchRemoteBranche" + - "s\022:.google.cloud.dataform.v1alpha2.Fetch" + - "RemoteBranchesRequest\032;.google.cloud.dat" + - "aform.v1alpha2.FetchRemoteBranchesRespon" + - "se\"R\202\323\344\223\002L\022J/v1alpha2/{name=projects/*/l" + - "ocations/*/repositories/*}:fetchRemoteBr" + - "anches\022\325\001\n\016ListWorkspaces\0225.google.cloud" + - ".dataform.v1alpha2.ListWorkspacesRequest" + - "\0326.google.cloud.dataform.v1alpha2.ListWo" + - "rkspacesResponse\"T\202\323\344\223\002E\022C/v1alpha2/{par" + - "ent=projects/*/locations/*/repositories/" + - "*}/workspaces\332A\006parent\022\302\001\n\014GetWorkspace\022" + - "3.google.cloud.dataform.v1alpha2.GetWork" + - "spaceRequest\032).google.cloud.dataform.v1a" + - "lpha2.Workspace\"R\202\323\344\223\002E\022C/v1alpha2/{name" + - "=projects/*/locations/*/repositories/*/w" + - "orkspaces/*}\332A\004name\022\354\001\n\017CreateWorkspace\022" + - "6.google.cloud.dataform.v1alpha2.CreateW" + - "orkspaceRequest\032).google.cloud.dataform." + - "v1alpha2.Workspace\"v\202\323\344\223\002P\"C/v1alpha2/{p" + - "arent=projects/*/locations/*/repositorie" + - "s/*}/workspaces:\tworkspace\332A\035parent,work" + - "space,workspace_id\022\265\001\n\017DeleteWorkspace\0226" + - ".google.cloud.dataform.v1alpha2.DeleteWo" + - "rkspaceRequest\032\026.google.protobuf.Empty\"R" + - "\202\323\344\223\002E*C/v1alpha2/{name=projects/*/locat" + - "ions/*/repositories/*/workspaces/*}\332A\004na" + - "me\022\363\001\n\022InstallNpmPackages\0229.google.cloud" + - ".dataform.v1alpha2.InstallNpmPackagesReq" + - "uest\032:.google.cloud.dataform.v1alpha2.In" + - "stallNpmPackagesResponse\"f\202\323\344\223\002`\"[/v1alp" + - "ha2/{workspace=projects/*/locations/*/re" + - "positories/*/workspaces/*}:installNpmPac" + - "kages:\001*\022\264\001\n\016PullGitCommits\0225.google.clo" + - "ud.dataform.v1alpha2.PullGitCommitsReque" + - "st\032\026.google.protobuf.Empty\"S\202\323\344\223\002M\"H/v1a" + - "lpha2/{name=projects/*/locations/*/repos" + - "itories/*/workspaces/*}:pull:\001*\022\264\001\n\016Push" + - "GitCommits\0225.google.cloud.dataform.v1alp" + - "ha2.PushGitCommitsRequest\032\026.google.proto" + - "buf.Empty\"S\202\323\344\223\002M\"H/v1alpha2/{name=proje" + - "cts/*/locations/*/repositories/*/workspa" + - "ces/*}:push:\001*\022\363\001\n\024FetchFileGitStatuses\022" + - ";.google.cloud.dataform.v1alpha2.FetchFi" + - "leGitStatusesRequest\032<.google.cloud.data" + - "form.v1alpha2.FetchFileGitStatusesRespon" + - "se\"`\202\323\344\223\002Z\022X/v1alpha2/{name=projects/*/l" + - "ocations/*/repositories/*/workspaces/*}:" + - "fetchFileGitStatuses\022\357\001\n\023FetchGitAheadBe" + - "hind\022:.google.cloud.dataform.v1alpha2.Fe" + - "tchGitAheadBehindRequest\032;.google.cloud." + - "dataform.v1alpha2.FetchGitAheadBehindRes", - "ponse\"_\202\323\344\223\002Y\022W/v1alpha2/{name=projects/" + - "*/locations/*/repositories/*/workspaces/" + - "*}:fetchGitAheadBehind\022\306\001\n\026CommitWorkspa" + - "ceChanges\022=.google.cloud.dataform.v1alph" + - "a2.CommitWorkspaceChangesRequest\032\026.googl" + - "e.protobuf.Empty\"U\202\323\344\223\002O\"J/v1alpha2/{nam" + - "e=projects/*/locations/*/repositories/*/" + - "workspaces/*}:commit:\001*\022\303\001\n\025ResetWorkspa" + - "ceChanges\022<.google.cloud.dataform.v1alph" + - "a2.ResetWorkspaceChangesRequest\032\026.google" + - ".protobuf.Empty\"T\202\323\344\223\002N\"I/v1alpha2/{name" + - "=projects/*/locations/*/repositories/*/w" + - "orkspaces/*}:reset:\001*\022\334\001\n\rFetchFileDiff\022" + - "4.google.cloud.dataform.v1alpha2.FetchFi" + - "leDiffRequest\0325.google.cloud.dataform.v1" + - "alpha2.FetchFileDiffResponse\"^\202\323\344\223\002X\022V/v" + - "1alpha2/{workspace=projects/*/locations/" + - "*/repositories/*/workspaces/*}:fetchFile" + - "Diff\022\200\002\n\026QueryDirectoryContents\022=.google" + - ".cloud.dataform.v1alpha2.QueryDirectoryC" + - "ontentsRequest\032>.google.cloud.dataform.v" + - "1alpha2.QueryDirectoryContentsResponse\"g" + - "\202\323\344\223\002a\022_/v1alpha2/{workspace=projects/*/" + - "locations/*/repositories/*/workspaces/*}" + - ":queryDirectoryContents\022\337\001\n\rMakeDirector" + - "y\0224.google.cloud.dataform.v1alpha2.MakeD" + - "irectoryRequest\0325.google.cloud.dataform." + - "v1alpha2.MakeDirectoryResponse\"a\202\323\344\223\002[\"V" + - "/v1alpha2/{workspace=projects/*/location" + - "s/*/repositories/*/workspaces/*}:makeDir" + - "ectory:\001*\022\306\001\n\017RemoveDirectory\0226.google.c" + - "loud.dataform.v1alpha2.RemoveDirectoryRe" + - "quest\032\026.google.protobuf.Empty\"c\202\323\344\223\002]\"X/" + - "v1alpha2/{workspace=projects/*/locations" + - "/*/repositories/*/workspaces/*}:removeDi" + - "rectory:\001*\022\337\001\n\rMoveDirectory\0224.google.cl" + - "oud.dataform.v1alpha2.MoveDirectoryReque" + - "st\0325.google.cloud.dataform.v1alpha2.Move" + - "DirectoryResponse\"a\202\323\344\223\002[\"V/v1alpha2/{wo" + - "rkspace=projects/*/locations/*/repositor" + - "ies/*/workspaces/*}:moveDirectory:\001*\022\310\001\n" + - "\010ReadFile\022/.google.cloud.dataform.v1alph" + - "a2.ReadFileRequest\0320.google.cloud.datafo" + - "rm.v1alpha2.ReadFileResponse\"Y\202\323\344\223\002S\022Q/v" + - "1alpha2/{workspace=projects/*/locations/" + - "*/repositories/*/workspaces/*}:readFile\022" + - "\267\001\n\nRemoveFile\0221.google.cloud.dataform.v" + - "1alpha2.RemoveFileRequest\032\026.google.proto" + - "buf.Empty\"^\202\323\344\223\002X\"S/v1alpha2/{workspace=" + - "projects/*/locations/*/repositories/*/wo" + - "rkspaces/*}:removeFile:\001*\022\313\001\n\010MoveFile\022/" + - ".google.cloud.dataform.v1alpha2.MoveFile" + - "Request\0320.google.cloud.dataform.v1alpha2" + - ".MoveFileResponse\"\\\202\323\344\223\002V\"Q/v1alpha2/{wo" + - "rkspace=projects/*/locations/*/repositor" + - "ies/*/workspaces/*}:moveFile:\001*\022\317\001\n\tWrit" + - "eFile\0220.google.cloud.dataform.v1alpha2.W" + - "riteFileRequest\0321.google.cloud.dataform." + - "v1alpha2.WriteFileResponse\"]\202\323\344\223\002W\"R/v1a" + - "lpha2/{workspace=projects/*/locations/*/" + - "repositories/*/workspaces/*}:writeFile:\001" + - "*\022\365\001\n\026ListCompilationResults\022=.google.cl" + - "oud.dataform.v1alpha2.ListCompilationRes" + - "ultsRequest\032>.google.cloud.dataform.v1al" + - "pha2.ListCompilationResultsResponse\"\\\202\323\344" + - "\223\002M\022K/v1alpha2/{parent=projects/*/locati" + - "ons/*/repositories/*}/compilationResults" + - "\332A\006parent\022\342\001\n\024GetCompilationResult\022;.goo" + - "gle.cloud.dataform.v1alpha2.GetCompilati" + - "onResultRequest\0321.google.cloud.dataform." + - "v1alpha2.CompilationResult\"Z\202\323\344\223\002M\022K/v1a" + - "lpha2/{name=projects/*/locations/*/repos" + - "itories/*/compilationResults/*}\332A\004name\022\222" + - "\002\n\027CreateCompilationResult\022>.google.clou" + - "d.dataform.v1alpha2.CreateCompilationRes" + - "ultRequest\0321.google.cloud.dataform.v1alp" + - "ha2.CompilationResult\"\203\001\202\323\344\223\002a\"K/v1alpha" + - "2/{parent=projects/*/locations/*/reposit" + - "ories/*}/compilationResults:\022compilation" + - "_result\332A\031parent,compilation_result\022\207\002\n\035" + - "QueryCompilationResultActions\022D.google.c" + - "loud.dataform.v1alpha2.QueryCompilationR" + - "esultActionsRequest\032E.google.cloud.dataf" + - "orm.v1alpha2.QueryCompilationResultActio" + - "nsResponse\"Y\202\323\344\223\002S\022Q/v1alpha2/{name=proj" + - "ects/*/locations/*/repositories/*/compil" + - "ationResults/*}:query\022\371\001\n\027ListWorkflowIn" + - "vocations\022>.google.cloud.dataform.v1alph" + - "a2.ListWorkflowInvocationsRequest\032?.goog" + - "le.cloud.dataform.v1alpha2.ListWorkflowI" + - "nvocationsResponse\"]\202\323\344\223\002N\022L/v1alpha2/{p" + - "arent=projects/*/locations/*/repositorie" + - "s/*}/workflowInvocations\332A\006parent\022\346\001\n\025Ge" + - "tWorkflowInvocation\022<.google.cloud.dataf" + - "orm.v1alpha2.GetWorkflowInvocationReques" + - "t\0322.google.cloud.dataform.v1alpha2.Workf" + - "lowInvocation\"[\202\323\344\223\002N\022L/v1alpha2/{name=p" + - "rojects/*/locations/*/repositories/*/wor" + - "kflowInvocations/*}\332A\004name\022\230\002\n\030CreateWor" + - "kflowInvocation\022?.google.cloud.dataform." + - "v1alpha2.CreateWorkflowInvocationRequest" + - "\0322.google.cloud.dataform.v1alpha2.Workfl" + - "owInvocation\"\206\001\202\323\344\223\002c\"L/v1alpha2/{parent" + - "=projects/*/locations/*/repositories/*}/" + - "workflowInvocations:\023workflow_invocation" + - "\332A\032parent,workflow_invocation\022\320\001\n\030Delete" + - "WorkflowInvocation\022?.google.cloud.datafo" + - "rm.v1alpha2.DeleteWorkflowInvocationRequ" + - "est\032\026.google.protobuf.Empty\"[\202\323\344\223\002N*L/v1" + - "alpha2/{name=projects/*/locations/*/repo" + - "sitories/*/workflowInvocations/*}\332A\004name" + - "\022\323\001\n\030CancelWorkflowInvocation\022?.google.c" + - "loud.dataform.v1alpha2.CancelWorkflowInv" + - "ocationRequest\032\026.google.protobuf.Empty\"^" + - "\202\323\344\223\002X\"S/v1alpha2/{name=projects/*/locat" + - "ions/*/repositories/*/workflowInvocation" + - "s/*}:cancel:\001*\022\213\002\n\036QueryWorkflowInvocati" + - "onActions\022E.google.cloud.dataform.v1alph" + - "a2.QueryWorkflowInvocationActionsRequest" + - "\032F.google.cloud.dataform.v1alpha2.QueryW" + - "orkflowInvocationActionsResponse\"Z\202\323\344\223\002T" + - "\022R/v1alpha2/{name=projects/*/locations/*" + - "/repositories/*/workflowInvocations/*}:q" + - "uery\032K\312A\027dataform.googleapis.com\322A.https" + - "://www.googleapis.com/auth/cloud-platfor" + - "mB\312\002\n\"com.google.cloud.dataform.v1alpha2" + - "B\rDataformProtoP\001ZFgoogle.golang.org/gen" + - "proto/googleapis/cloud/dataform/v1alpha2" + - ";dataform\252\002\036Google.Cloud.Dataform.V1Alph" + - "a2\312\002\036Google\\Cloud\\Dataform\\V1alpha2\352\002!Go" + - "ogle::Cloud::Dataform::V1alpha2\352Ad\n*secr" + - "etmanager.googleapis.com/SecretVersion\0226" + - "projects/{project}/secrets/{secret}/vers" + - "ions/{version}b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.type.IntervalProto.getDescriptor(), - }); - internal_static_google_cloud_dataform_v1alpha2_Repository_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_dataform_v1alpha2_Repository_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_Repository_descriptor, - new java.lang.String[] { "Name", "GitRemoteSettings", }); - internal_static_google_cloud_dataform_v1alpha2_Repository_GitRemoteSettings_descriptor = - internal_static_google_cloud_dataform_v1alpha2_Repository_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataform_v1alpha2_Repository_GitRemoteSettings_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_Repository_GitRemoteSettings_descriptor, - new java.lang.String[] { "Url", "DefaultBranch", "AuthenticationTokenSecretVersion", "TokenStatus", }); - internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "OrderBy", "Filter", }); - internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesResponse_descriptor, - new java.lang.String[] { "Repositories", "NextPageToken", "Unreachable", }); - internal_static_google_cloud_dataform_v1alpha2_GetRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_dataform_v1alpha2_GetRepositoryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_GetRepositoryRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_dataform_v1alpha2_CreateRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_dataform_v1alpha2_CreateRepositoryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_CreateRepositoryRequest_descriptor, - new java.lang.String[] { "Parent", "Repository", "RepositoryId", }); - internal_static_google_cloud_dataform_v1alpha2_UpdateRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_dataform_v1alpha2_UpdateRepositoryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_UpdateRepositoryRequest_descriptor, - new java.lang.String[] { "UpdateMask", "Repository", }); - internal_static_google_cloud_dataform_v1alpha2_DeleteRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_dataform_v1alpha2_DeleteRepositoryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_DeleteRepositoryRequest_descriptor, - new java.lang.String[] { "Name", "Force", }); - internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesResponse_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesResponse_descriptor, - new java.lang.String[] { "Branches", }); - internal_static_google_cloud_dataform_v1alpha2_Workspace_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_dataform_v1alpha2_Workspace_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_Workspace_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "OrderBy", "Filter", }); - internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesResponse_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesResponse_descriptor, - new java.lang.String[] { "Workspaces", "NextPageToken", "Unreachable", }); - internal_static_google_cloud_dataform_v1alpha2_GetWorkspaceRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_dataform_v1alpha2_GetWorkspaceRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_GetWorkspaceRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_dataform_v1alpha2_CreateWorkspaceRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_dataform_v1alpha2_CreateWorkspaceRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_CreateWorkspaceRequest_descriptor, - new java.lang.String[] { "Parent", "Workspace", "WorkspaceId", }); - internal_static_google_cloud_dataform_v1alpha2_DeleteWorkspaceRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_dataform_v1alpha2_DeleteWorkspaceRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_DeleteWorkspaceRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_dataform_v1alpha2_CommitAuthor_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_dataform_v1alpha2_CommitAuthor_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_CommitAuthor_descriptor, - new java.lang.String[] { "Name", "EmailAddress", }); - internal_static_google_cloud_dataform_v1alpha2_PullGitCommitsRequest_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_dataform_v1alpha2_PullGitCommitsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_PullGitCommitsRequest_descriptor, - new java.lang.String[] { "Name", "RemoteBranch", "Author", }); - internal_static_google_cloud_dataform_v1alpha2_PushGitCommitsRequest_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_dataform_v1alpha2_PushGitCommitsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_PushGitCommitsRequest_descriptor, - new java.lang.String[] { "Name", "RemoteBranch", }); - internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesRequest_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_descriptor, - new java.lang.String[] { "UncommittedFileChanges", }); - internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_UncommittedFileChange_descriptor = - internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_UncommittedFileChange_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_UncommittedFileChange_descriptor, - new java.lang.String[] { "Path", "State", }); - internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindRequest_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindRequest_descriptor, - new java.lang.String[] { "Name", "RemoteBranch", }); - internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindResponse_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindResponse_descriptor, - new java.lang.String[] { "CommitsAhead", "CommitsBehind", }); - internal_static_google_cloud_dataform_v1alpha2_CommitWorkspaceChangesRequest_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_cloud_dataform_v1alpha2_CommitWorkspaceChangesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_CommitWorkspaceChangesRequest_descriptor, - new java.lang.String[] { "Name", "Author", "CommitMessage", "Paths", }); - internal_static_google_cloud_dataform_v1alpha2_ResetWorkspaceChangesRequest_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_cloud_dataform_v1alpha2_ResetWorkspaceChangesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_ResetWorkspaceChangesRequest_descriptor, - new java.lang.String[] { "Name", "Paths", "Clean", }); - internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffRequest_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffRequest_descriptor, - new java.lang.String[] { "Workspace", "Path", }); - internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffResponse_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffResponse_descriptor, - new java.lang.String[] { "FormattedDiff", }); - internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsRequest_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsRequest_descriptor, - new java.lang.String[] { "Workspace", "Path", "PageSize", "PageToken", }); - internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_descriptor = - getDescriptor().getMessageTypes().get(27); - internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_descriptor, - new java.lang.String[] { "DirectoryEntries", "NextPageToken", }); - internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_DirectoryEntry_descriptor = - internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_DirectoryEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_DirectoryEntry_descriptor, - new java.lang.String[] { "File", "Directory", "Entry", }); - internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryRequest_descriptor = - getDescriptor().getMessageTypes().get(28); - internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryRequest_descriptor, - new java.lang.String[] { "Workspace", "Path", }); - internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryResponse_descriptor = - getDescriptor().getMessageTypes().get(29); - internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryResponse_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_dataform_v1alpha2_RemoveDirectoryRequest_descriptor = - getDescriptor().getMessageTypes().get(30); - internal_static_google_cloud_dataform_v1alpha2_RemoveDirectoryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_RemoveDirectoryRequest_descriptor, - new java.lang.String[] { "Workspace", "Path", }); - internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryRequest_descriptor = - getDescriptor().getMessageTypes().get(31); - internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryRequest_descriptor, - new java.lang.String[] { "Workspace", "Path", "NewPath", }); - internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryResponse_descriptor = - getDescriptor().getMessageTypes().get(32); - internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryResponse_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_dataform_v1alpha2_ReadFileRequest_descriptor = - getDescriptor().getMessageTypes().get(33); - internal_static_google_cloud_dataform_v1alpha2_ReadFileRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_ReadFileRequest_descriptor, - new java.lang.String[] { "Workspace", "Path", }); - internal_static_google_cloud_dataform_v1alpha2_ReadFileResponse_descriptor = - getDescriptor().getMessageTypes().get(34); - internal_static_google_cloud_dataform_v1alpha2_ReadFileResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_ReadFileResponse_descriptor, - new java.lang.String[] { "FileContents", }); - internal_static_google_cloud_dataform_v1alpha2_RemoveFileRequest_descriptor = - getDescriptor().getMessageTypes().get(35); - internal_static_google_cloud_dataform_v1alpha2_RemoveFileRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_RemoveFileRequest_descriptor, - new java.lang.String[] { "Workspace", "Path", }); - internal_static_google_cloud_dataform_v1alpha2_MoveFileRequest_descriptor = - getDescriptor().getMessageTypes().get(36); - internal_static_google_cloud_dataform_v1alpha2_MoveFileRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_MoveFileRequest_descriptor, - new java.lang.String[] { "Workspace", "Path", "NewPath", }); - internal_static_google_cloud_dataform_v1alpha2_MoveFileResponse_descriptor = - getDescriptor().getMessageTypes().get(37); - internal_static_google_cloud_dataform_v1alpha2_MoveFileResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_MoveFileResponse_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_dataform_v1alpha2_WriteFileRequest_descriptor = - getDescriptor().getMessageTypes().get(38); - internal_static_google_cloud_dataform_v1alpha2_WriteFileRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_WriteFileRequest_descriptor, - new java.lang.String[] { "Workspace", "Path", "Contents", }); - internal_static_google_cloud_dataform_v1alpha2_WriteFileResponse_descriptor = - getDescriptor().getMessageTypes().get(39); - internal_static_google_cloud_dataform_v1alpha2_WriteFileResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_WriteFileResponse_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesRequest_descriptor = - getDescriptor().getMessageTypes().get(40); - internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesRequest_descriptor, - new java.lang.String[] { "Workspace", }); - internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesResponse_descriptor = - getDescriptor().getMessageTypes().get(41); - internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesResponse_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_dataform_v1alpha2_CompilationResult_descriptor = - getDescriptor().getMessageTypes().get(42); - internal_static_google_cloud_dataform_v1alpha2_CompilationResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_CompilationResult_descriptor, - new java.lang.String[] { "Name", "GitCommitish", "Workspace", "CodeCompilationConfig", "DataformCoreVersion", "CompilationErrors", "Source", }); - internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_descriptor = - internal_static_google_cloud_dataform_v1alpha2_CompilationResult_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_descriptor, - new java.lang.String[] { "DefaultDatabase", "DefaultSchema", "DefaultLocation", "AssertionSchema", "Vars", "DatabaseSuffix", "SchemaSuffix", "TablePrefix", }); - internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_VarsEntry_descriptor = - internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_VarsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_VarsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CompilationError_descriptor = - internal_static_google_cloud_dataform_v1alpha2_CompilationResult_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CompilationError_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CompilationError_descriptor, - new java.lang.String[] { "Message", "Stack", "Path", "ActionTarget", }); - internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsRequest_descriptor = - getDescriptor().getMessageTypes().get(43); - internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsResponse_descriptor = - getDescriptor().getMessageTypes().get(44); - internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsResponse_descriptor, - new java.lang.String[] { "CompilationResults", "NextPageToken", "Unreachable", }); - internal_static_google_cloud_dataform_v1alpha2_GetCompilationResultRequest_descriptor = - getDescriptor().getMessageTypes().get(45); - internal_static_google_cloud_dataform_v1alpha2_GetCompilationResultRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_GetCompilationResultRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_dataform_v1alpha2_CreateCompilationResultRequest_descriptor = - getDescriptor().getMessageTypes().get(46); - internal_static_google_cloud_dataform_v1alpha2_CreateCompilationResultRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_CreateCompilationResultRequest_descriptor, - new java.lang.String[] { "Parent", "CompilationResult", }); - internal_static_google_cloud_dataform_v1alpha2_Target_descriptor = - getDescriptor().getMessageTypes().get(47); - internal_static_google_cloud_dataform_v1alpha2_Target_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_Target_descriptor, - new java.lang.String[] { "Database", "Schema", "Name", }); - internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_descriptor = - getDescriptor().getMessageTypes().get(48); - internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_descriptor, - new java.lang.String[] { "Description", "Columns", "BigqueryLabels", }); - internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_ColumnDescriptor_descriptor = - internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_ColumnDescriptor_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_ColumnDescriptor_descriptor, - new java.lang.String[] { "Path", "Description", "BigqueryPolicyTags", }); - internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_BigqueryLabelsEntry_descriptor = - internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_BigqueryLabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_BigqueryLabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_descriptor = - getDescriptor().getMessageTypes().get(49); - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_descriptor, - new java.lang.String[] { "Target", "CanonicalTarget", "FilePath", "Relation", "Operations", "Assertion", "Declaration", "CompiledObject", }); - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_descriptor = - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_descriptor, - new java.lang.String[] { "DependencyTargets", "Disabled", "Tags", "RelationDescriptor", "RelationType", "SelectQuery", "PreOperations", "PostOperations", "IncrementalTableConfig", "PartitionExpression", "ClusterExpressions", "PartitionExpirationDays", "RequirePartitionFilter", "AdditionalOptions", }); - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_IncrementalTableConfig_descriptor = - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_IncrementalTableConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_IncrementalTableConfig_descriptor, - new java.lang.String[] { "IncrementalSelectQuery", "RefreshDisabled", "UniqueKeyParts", "UpdatePartitionFilter", "IncrementalPreOperations", "IncrementalPostOperations", }); - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_AdditionalOptionsEntry_descriptor = - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_AdditionalOptionsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_AdditionalOptionsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Operations_descriptor = - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Operations_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Operations_descriptor, - new java.lang.String[] { "DependencyTargets", "Disabled", "Tags", "RelationDescriptor", "Queries", "HasOutput", }); - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Assertion_descriptor = - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Assertion_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Assertion_descriptor, - new java.lang.String[] { "DependencyTargets", "ParentAction", "Disabled", "Tags", "SelectQuery", "RelationDescriptor", }); - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Declaration_descriptor = - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Declaration_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Declaration_descriptor, - new java.lang.String[] { "RelationDescriptor", }); - internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsRequest_descriptor = - getDescriptor().getMessageTypes().get(50); - internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsRequest_descriptor, - new java.lang.String[] { "Name", "PageSize", "PageToken", "Filter", }); - internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsResponse_descriptor = - getDescriptor().getMessageTypes().get(51); - internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsResponse_descriptor, - new java.lang.String[] { "CompilationResultActions", "NextPageToken", }); - internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_descriptor = - getDescriptor().getMessageTypes().get(52); - internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_descriptor, - new java.lang.String[] { "Name", "CompilationResult", "InvocationConfig", "State", "InvocationTiming", }); - internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_InvocationConfig_descriptor = - internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_InvocationConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_InvocationConfig_descriptor, - new java.lang.String[] { "IncludedTargets", "IncludedTags", "TransitiveDependenciesIncluded", "TransitiveDependentsIncluded", "FullyRefreshIncrementalTablesEnabled", }); - internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsRequest_descriptor = - getDescriptor().getMessageTypes().get(53); - internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsResponse_descriptor = - getDescriptor().getMessageTypes().get(54); - internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsResponse_descriptor, - new java.lang.String[] { "WorkflowInvocations", "NextPageToken", "Unreachable", }); - internal_static_google_cloud_dataform_v1alpha2_GetWorkflowInvocationRequest_descriptor = - getDescriptor().getMessageTypes().get(55); - internal_static_google_cloud_dataform_v1alpha2_GetWorkflowInvocationRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_GetWorkflowInvocationRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_dataform_v1alpha2_CreateWorkflowInvocationRequest_descriptor = - getDescriptor().getMessageTypes().get(56); - internal_static_google_cloud_dataform_v1alpha2_CreateWorkflowInvocationRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_CreateWorkflowInvocationRequest_descriptor, - new java.lang.String[] { "Parent", "WorkflowInvocation", }); - internal_static_google_cloud_dataform_v1alpha2_DeleteWorkflowInvocationRequest_descriptor = - getDescriptor().getMessageTypes().get(57); - internal_static_google_cloud_dataform_v1alpha2_DeleteWorkflowInvocationRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_DeleteWorkflowInvocationRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_dataform_v1alpha2_CancelWorkflowInvocationRequest_descriptor = - getDescriptor().getMessageTypes().get(58); - internal_static_google_cloud_dataform_v1alpha2_CancelWorkflowInvocationRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_CancelWorkflowInvocationRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_descriptor = - getDescriptor().getMessageTypes().get(59); - internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_descriptor, - new java.lang.String[] { "Target", "CanonicalTarget", "State", "FailureReason", "InvocationTiming", "BigqueryAction", }); - internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_BigQueryAction_descriptor = - internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_BigQueryAction_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_BigQueryAction_descriptor, - new java.lang.String[] { "SqlScript", }); - internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsRequest_descriptor = - getDescriptor().getMessageTypes().get(60); - internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsRequest_descriptor, - new java.lang.String[] { "Name", "PageSize", "PageToken", }); - internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsResponse_descriptor = - getDescriptor().getMessageTypes().get(61); - internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsResponse_descriptor, - new java.lang.String[] { "WorkflowInvocationActions", "NextPageToken", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceDefinition); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.type.IntervalProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteRepositoryRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteRepositoryRequestOrBuilder.java deleted file mode 100644 index 7aa2cc5..0000000 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteRepositoryRequestOrBuilder.java +++ /dev/null @@ -1,41 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1alpha2/dataform.proto - -package com.google.cloud.dataform.v1alpha2; - -public interface DeleteRepositoryRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.DeleteRepositoryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The repository's name.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The repository's name.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - *
-   * If set to true, any child resources of this repository will also be
-   * deleted. (Otherwise, the request will only succeed if the repository has no
-   * child resources.)
-   * 
- * - * bool force = 2; - * @return The force. - */ - boolean getForce(); -} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkflowInvocationRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkflowInvocationRequestOrBuilder.java deleted file mode 100644 index 7f6ca0e..0000000 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkflowInvocationRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1alpha2/dataform.proto - -package com.google.cloud.dataform.v1alpha2; - -public interface DeleteWorkflowInvocationRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The workflow invocation resource's name.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The workflow invocation resource's name.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkspaceRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkspaceRequestOrBuilder.java deleted file mode 100644 index 0e09025..0000000 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkspaceRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1alpha2/dataform.proto - -package com.google.cloud.dataform.v1alpha2; - -public interface DeleteWorkspaceRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The workspace resource's name.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The workspace resource's name.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffRequestOrBuilder.java deleted file mode 100644 index 8e6ec1b..0000000 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffRequestOrBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1alpha2/dataform.proto - -package com.google.cloud.dataform.v1alpha2; - -public interface FetchFileDiffRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.FetchFileDiffRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The workspace's name.
-   * 
- * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The workspace. - */ - java.lang.String getWorkspace(); - /** - *
-   * Required. The workspace's name.
-   * 
- * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for workspace. - */ - com.google.protobuf.ByteString - getWorkspaceBytes(); - - /** - *
-   * Required. The file's full path including filename, relative to the workspace root.
-   * 
- * - * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The path. - */ - java.lang.String getPath(); - /** - *
-   * Required. The file's full path including filename, relative to the workspace root.
-   * 
- * - * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The bytes for path. - */ - com.google.protobuf.ByteString - getPathBytes(); -} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffResponseOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffResponseOrBuilder.java deleted file mode 100644 index ef29687..0000000 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffResponseOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1alpha2/dataform.proto - -package com.google.cloud.dataform.v1alpha2; - -public interface FetchFileDiffResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.FetchFileDiffResponse) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The raw formatted Git diff for the file.
-   * 
- * - * string formatted_diff = 1; - * @return The formattedDiff. - */ - java.lang.String getFormattedDiff(); - /** - *
-   * The raw formatted Git diff for the file.
-   * 
- * - * string formatted_diff = 1; - * @return The bytes for formattedDiff. - */ - com.google.protobuf.ByteString - getFormattedDiffBytes(); -} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesRequestOrBuilder.java deleted file mode 100644 index 548bfdc..0000000 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1alpha2/dataform.proto - -package com.google.cloud.dataform.v1alpha2; - -public interface FetchFileGitStatusesRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The workspace's name.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The workspace's name.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesResponseOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesResponseOrBuilder.java deleted file mode 100644 index ef6510b..0000000 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesResponseOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1alpha2/dataform.proto - -package com.google.cloud.dataform.v1alpha2; - -public interface FetchFileGitStatusesResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * A list of all files which have uncommitted Git changes. There will only be
-   * a single entry for any given file.
-   * 
- * - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; - */ - java.util.List - getUncommittedFileChangesList(); - /** - *
-   * A list of all files which have uncommitted Git changes. There will only be
-   * a single entry for any given file.
-   * 
- * - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; - */ - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange getUncommittedFileChanges(int index); - /** - *
-   * A list of all files which have uncommitted Git changes. There will only be
-   * a single entry for any given file.
-   * 
- * - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; - */ - int getUncommittedFileChangesCount(); - /** - *
-   * A list of all files which have uncommitted Git changes. There will only be
-   * a single entry for any given file.
-   * 
- * - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; - */ - java.util.List - getUncommittedFileChangesOrBuilderList(); - /** - *
-   * A list of all files which have uncommitted Git changes. There will only be
-   * a single entry for any given file.
-   * 
- * - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; - */ - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChangeOrBuilder getUncommittedFileChangesOrBuilder( - int index); -} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesRequestOrBuilder.java deleted file mode 100644 index bb595d9..0000000 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1alpha2/dataform.proto - -package com.google.cloud.dataform.v1alpha2; - -public interface FetchRemoteBranchesRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The repository's name.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The repository's name.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetCompilationResultRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetCompilationResultRequestOrBuilder.java deleted file mode 100644 index 6dff935..0000000 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetCompilationResultRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1alpha2/dataform.proto - -package com.google.cloud.dataform.v1alpha2; - -public interface GetCompilationResultRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.GetCompilationResultRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The compilation result's name.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The compilation result's name.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetRepositoryRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetRepositoryRequestOrBuilder.java deleted file mode 100644 index c1d7617..0000000 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetRepositoryRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1alpha2/dataform.proto - -package com.google.cloud.dataform.v1alpha2; - -public interface GetRepositoryRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.GetRepositoryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The repository's name.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The repository's name.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkflowInvocationRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkflowInvocationRequestOrBuilder.java deleted file mode 100644 index 3a748f7..0000000 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkflowInvocationRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1alpha2/dataform.proto - -package com.google.cloud.dataform.v1alpha2; - -public interface GetWorkflowInvocationRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The workflow invocation resource's name.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The workflow invocation resource's name.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkspaceRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkspaceRequestOrBuilder.java deleted file mode 100644 index 9be1f97..0000000 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkspaceRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1alpha2/dataform.proto - -package com.google.cloud.dataform.v1alpha2; - -public interface GetWorkspaceRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.GetWorkspaceRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The workspace's name.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The workspace's name.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesRequestOrBuilder.java deleted file mode 100644 index b0bb54b..0000000 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1alpha2/dataform.proto - -package com.google.cloud.dataform.v1alpha2; - -public interface InstallNpmPackagesRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The workspace's name.
-   * 
- * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The workspace. - */ - java.lang.String getWorkspace(); - /** - *
-   * Required. The workspace's name.
-   * 
- * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for workspace. - */ - com.google.protobuf.ByteString - getWorkspaceBytes(); -} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesResponseOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesResponseOrBuilder.java deleted file mode 100644 index 6d29bd6..0000000 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesResponseOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1alpha2/dataform.proto - -package com.google.cloud.dataform.v1alpha2; - -public interface InstallNpmPackagesResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryResponseOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryResponseOrBuilder.java deleted file mode 100644 index 89028c6..0000000 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryResponseOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1alpha2/dataform.proto - -package com.google.cloud.dataform.v1alpha2; - -public interface MakeDirectoryResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.MakeDirectoryResponse) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryResponseOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryResponseOrBuilder.java deleted file mode 100644 index e945182..0000000 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryResponseOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1alpha2/dataform.proto - -package com.google.cloud.dataform.v1alpha2; - -public interface MoveDirectoryResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.MoveDirectoryResponse) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileResponseOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileResponseOrBuilder.java deleted file mode 100644 index fd10a62..0000000 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileResponseOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1alpha2/dataform.proto - -package com.google.cloud.dataform.v1alpha2; - -public interface MoveFileResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.MoveFileResponse) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsResponseOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsResponseOrBuilder.java deleted file mode 100644 index ed6d6ea..0000000 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsResponseOrBuilder.java +++ /dev/null @@ -1,75 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1alpha2/dataform.proto - -package com.google.cloud.dataform.v1alpha2; - -public interface QueryDirectoryContentsResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * List of entries in the directory.
-   * 
- * - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; - */ - java.util.List - getDirectoryEntriesList(); - /** - *
-   * List of entries in the directory.
-   * 
- * - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; - */ - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry getDirectoryEntries(int index); - /** - *
-   * List of entries in the directory.
-   * 
- * - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; - */ - int getDirectoryEntriesCount(); - /** - *
-   * List of entries in the directory.
-   * 
- * - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; - */ - java.util.List - getDirectoryEntriesOrBuilderList(); - /** - *
-   * List of entries in the directory.
-   * 
- * - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; - */ - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntryOrBuilder getDirectoryEntriesOrBuilder( - int index); - - /** - *
-   * A token, which can be sent as `page_token` to retrieve the next page.
-   * If this field is omitted, there are no subsequent pages.
-   * 
- * - * string next_page_token = 2; - * @return The nextPageToken. - */ - java.lang.String getNextPageToken(); - /** - *
-   * A token, which can be sent as `page_token` to retrieve the next page.
-   * If this field is omitted, there are no subsequent pages.
-   * 
- * - * string next_page_token = 2; - * @return The bytes for nextPageToken. - */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); -} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileRequestOrBuilder.java deleted file mode 100644 index d6f8ef3..0000000 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileRequestOrBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1alpha2/dataform.proto - -package com.google.cloud.dataform.v1alpha2; - -public interface ReadFileRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.ReadFileRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The workspace's name.
-   * 
- * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The workspace. - */ - java.lang.String getWorkspace(); - /** - *
-   * Required. The workspace's name.
-   * 
- * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for workspace. - */ - com.google.protobuf.ByteString - getWorkspaceBytes(); - - /** - *
-   * Required. The file's full path including filename, relative to the workspace root.
-   * 
- * - * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The path. - */ - java.lang.String getPath(); - /** - *
-   * Required. The file's full path including filename, relative to the workspace root.
-   * 
- * - * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The bytes for path. - */ - com.google.protobuf.ByteString - getPathBytes(); -} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileResponseOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileResponseOrBuilder.java deleted file mode 100644 index eb8e5ed..0000000 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileResponseOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1alpha2/dataform.proto - -package com.google.cloud.dataform.v1alpha2; - -public interface ReadFileResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.ReadFileResponse) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The file's contents.
-   * 
- * - * bytes file_contents = 1; - * @return The fileContents. - */ - com.google.protobuf.ByteString getFileContents(); -} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveFileRequestOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveFileRequestOrBuilder.java deleted file mode 100644 index d254469..0000000 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveFileRequestOrBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1alpha2/dataform.proto - -package com.google.cloud.dataform.v1alpha2; - -public interface RemoveFileRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.RemoveFileRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The workspace's name.
-   * 
- * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The workspace. - */ - java.lang.String getWorkspace(); - /** - *
-   * Required. The workspace's name.
-   * 
- * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for workspace. - */ - com.google.protobuf.ByteString - getWorkspaceBytes(); - - /** - *
-   * Required. The file's full path including filename, relative to the workspace root.
-   * 
- * - * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The path. - */ - java.lang.String getPath(); - /** - *
-   * Required. The file's full path including filename, relative to the workspace root.
-   * 
- * - * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The bytes for path. - */ - com.google.protobuf.ByteString - getPathBytes(); -} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkspaceOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkspaceOrBuilder.java deleted file mode 100644 index fffe1bc..0000000 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkspaceOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1alpha2/dataform.proto - -package com.google.cloud.dataform.v1alpha2; - -public interface WorkspaceOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.Workspace) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Output only. The workspace's name.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Output only. The workspace's name.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileResponseOrBuilder.java b/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileResponseOrBuilder.java deleted file mode 100644 index 1801969..0000000 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileResponseOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1alpha2/dataform.proto - -package com.google.cloud.dataform.v1alpha2; - -public interface WriteFileResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.WriteFileResponse) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v1beta1/grpc-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DataformGrpc.java b/owl-bot-staging/v1beta1/grpc-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DataformGrpc.java deleted file mode 100644 index b7efc4c..0000000 --- a/owl-bot-staging/v1beta1/grpc-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DataformGrpc.java +++ /dev/null @@ -1,3322 +0,0 @@ -package com.google.cloud.dataform.v1beta1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * Dataform is a service to develop, create, document, test, and update curated
- * tables in BigQuery.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/dataform/v1beta1/dataform.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class DataformGrpc { - - private DataformGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.dataform.v1beta1.Dataform"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getListRepositoriesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListRepositories", - requestType = com.google.cloud.dataform.v1beta1.ListRepositoriesRequest.class, - responseType = com.google.cloud.dataform.v1beta1.ListRepositoriesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListRepositoriesMethod() { - io.grpc.MethodDescriptor getListRepositoriesMethod; - if ((getListRepositoriesMethod = DataformGrpc.getListRepositoriesMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getListRepositoriesMethod = DataformGrpc.getListRepositoriesMethod) == null) { - DataformGrpc.getListRepositoriesMethod = getListRepositoriesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRepositories")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.ListRepositoriesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.ListRepositoriesResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("ListRepositories")) - .build(); - } - } - } - return getListRepositoriesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetRepository", - requestType = com.google.cloud.dataform.v1beta1.GetRepositoryRequest.class, - responseType = com.google.cloud.dataform.v1beta1.Repository.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetRepositoryMethod() { - io.grpc.MethodDescriptor getGetRepositoryMethod; - if ((getGetRepositoryMethod = DataformGrpc.getGetRepositoryMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getGetRepositoryMethod = DataformGrpc.getGetRepositoryMethod) == null) { - DataformGrpc.getGetRepositoryMethod = getGetRepositoryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.GetRepositoryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.Repository.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("GetRepository")) - .build(); - } - } - } - return getGetRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateRepository", - requestType = com.google.cloud.dataform.v1beta1.CreateRepositoryRequest.class, - responseType = com.google.cloud.dataform.v1beta1.Repository.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateRepositoryMethod() { - io.grpc.MethodDescriptor getCreateRepositoryMethod; - if ((getCreateRepositoryMethod = DataformGrpc.getCreateRepositoryMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getCreateRepositoryMethod = DataformGrpc.getCreateRepositoryMethod) == null) { - DataformGrpc.getCreateRepositoryMethod = getCreateRepositoryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.CreateRepositoryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.Repository.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("CreateRepository")) - .build(); - } - } - } - return getCreateRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateRepository", - requestType = com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest.class, - responseType = com.google.cloud.dataform.v1beta1.Repository.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateRepositoryMethod() { - io.grpc.MethodDescriptor getUpdateRepositoryMethod; - if ((getUpdateRepositoryMethod = DataformGrpc.getUpdateRepositoryMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getUpdateRepositoryMethod = DataformGrpc.getUpdateRepositoryMethod) == null) { - DataformGrpc.getUpdateRepositoryMethod = getUpdateRepositoryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.Repository.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("UpdateRepository")) - .build(); - } - } - } - return getUpdateRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteRepository", - requestType = com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteRepositoryMethod() { - io.grpc.MethodDescriptor getDeleteRepositoryMethod; - if ((getDeleteRepositoryMethod = DataformGrpc.getDeleteRepositoryMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getDeleteRepositoryMethod = DataformGrpc.getDeleteRepositoryMethod) == null) { - DataformGrpc.getDeleteRepositoryMethod = getDeleteRepositoryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("DeleteRepository")) - .build(); - } - } - } - return getDeleteRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor getFetchRemoteBranchesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "FetchRemoteBranches", - requestType = com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest.class, - responseType = com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getFetchRemoteBranchesMethod() { - io.grpc.MethodDescriptor getFetchRemoteBranchesMethod; - if ((getFetchRemoteBranchesMethod = DataformGrpc.getFetchRemoteBranchesMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getFetchRemoteBranchesMethod = DataformGrpc.getFetchRemoteBranchesMethod) == null) { - DataformGrpc.getFetchRemoteBranchesMethod = getFetchRemoteBranchesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FetchRemoteBranches")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("FetchRemoteBranches")) - .build(); - } - } - } - return getFetchRemoteBranchesMethod; - } - - private static volatile io.grpc.MethodDescriptor getListWorkspacesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListWorkspaces", - requestType = com.google.cloud.dataform.v1beta1.ListWorkspacesRequest.class, - responseType = com.google.cloud.dataform.v1beta1.ListWorkspacesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListWorkspacesMethod() { - io.grpc.MethodDescriptor getListWorkspacesMethod; - if ((getListWorkspacesMethod = DataformGrpc.getListWorkspacesMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getListWorkspacesMethod = DataformGrpc.getListWorkspacesMethod) == null) { - DataformGrpc.getListWorkspacesMethod = getListWorkspacesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListWorkspaces")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.ListWorkspacesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.ListWorkspacesResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("ListWorkspaces")) - .build(); - } - } - } - return getListWorkspacesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetWorkspaceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetWorkspace", - requestType = com.google.cloud.dataform.v1beta1.GetWorkspaceRequest.class, - responseType = com.google.cloud.dataform.v1beta1.Workspace.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetWorkspaceMethod() { - io.grpc.MethodDescriptor getGetWorkspaceMethod; - if ((getGetWorkspaceMethod = DataformGrpc.getGetWorkspaceMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getGetWorkspaceMethod = DataformGrpc.getGetWorkspaceMethod) == null) { - DataformGrpc.getGetWorkspaceMethod = getGetWorkspaceMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetWorkspace")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.GetWorkspaceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.Workspace.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("GetWorkspace")) - .build(); - } - } - } - return getGetWorkspaceMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateWorkspaceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateWorkspace", - requestType = com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest.class, - responseType = com.google.cloud.dataform.v1beta1.Workspace.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateWorkspaceMethod() { - io.grpc.MethodDescriptor getCreateWorkspaceMethod; - if ((getCreateWorkspaceMethod = DataformGrpc.getCreateWorkspaceMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getCreateWorkspaceMethod = DataformGrpc.getCreateWorkspaceMethod) == null) { - DataformGrpc.getCreateWorkspaceMethod = getCreateWorkspaceMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateWorkspace")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.Workspace.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("CreateWorkspace")) - .build(); - } - } - } - return getCreateWorkspaceMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteWorkspaceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteWorkspace", - requestType = com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteWorkspaceMethod() { - io.grpc.MethodDescriptor getDeleteWorkspaceMethod; - if ((getDeleteWorkspaceMethod = DataformGrpc.getDeleteWorkspaceMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getDeleteWorkspaceMethod = DataformGrpc.getDeleteWorkspaceMethod) == null) { - DataformGrpc.getDeleteWorkspaceMethod = getDeleteWorkspaceMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteWorkspace")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("DeleteWorkspace")) - .build(); - } - } - } - return getDeleteWorkspaceMethod; - } - - private static volatile io.grpc.MethodDescriptor getInstallNpmPackagesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "InstallNpmPackages", - requestType = com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest.class, - responseType = com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getInstallNpmPackagesMethod() { - io.grpc.MethodDescriptor getInstallNpmPackagesMethod; - if ((getInstallNpmPackagesMethod = DataformGrpc.getInstallNpmPackagesMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getInstallNpmPackagesMethod = DataformGrpc.getInstallNpmPackagesMethod) == null) { - DataformGrpc.getInstallNpmPackagesMethod = getInstallNpmPackagesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "InstallNpmPackages")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("InstallNpmPackages")) - .build(); - } - } - } - return getInstallNpmPackagesMethod; - } - - private static volatile io.grpc.MethodDescriptor getPullGitCommitsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "PullGitCommits", - requestType = com.google.cloud.dataform.v1beta1.PullGitCommitsRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getPullGitCommitsMethod() { - io.grpc.MethodDescriptor getPullGitCommitsMethod; - if ((getPullGitCommitsMethod = DataformGrpc.getPullGitCommitsMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getPullGitCommitsMethod = DataformGrpc.getPullGitCommitsMethod) == null) { - DataformGrpc.getPullGitCommitsMethod = getPullGitCommitsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PullGitCommits")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.PullGitCommitsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("PullGitCommits")) - .build(); - } - } - } - return getPullGitCommitsMethod; - } - - private static volatile io.grpc.MethodDescriptor getPushGitCommitsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "PushGitCommits", - requestType = com.google.cloud.dataform.v1beta1.PushGitCommitsRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getPushGitCommitsMethod() { - io.grpc.MethodDescriptor getPushGitCommitsMethod; - if ((getPushGitCommitsMethod = DataformGrpc.getPushGitCommitsMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getPushGitCommitsMethod = DataformGrpc.getPushGitCommitsMethod) == null) { - DataformGrpc.getPushGitCommitsMethod = getPushGitCommitsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PushGitCommits")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.PushGitCommitsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("PushGitCommits")) - .build(); - } - } - } - return getPushGitCommitsMethod; - } - - private static volatile io.grpc.MethodDescriptor getFetchFileGitStatusesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "FetchFileGitStatuses", - requestType = com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest.class, - responseType = com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getFetchFileGitStatusesMethod() { - io.grpc.MethodDescriptor getFetchFileGitStatusesMethod; - if ((getFetchFileGitStatusesMethod = DataformGrpc.getFetchFileGitStatusesMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getFetchFileGitStatusesMethod = DataformGrpc.getFetchFileGitStatusesMethod) == null) { - DataformGrpc.getFetchFileGitStatusesMethod = getFetchFileGitStatusesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FetchFileGitStatuses")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("FetchFileGitStatuses")) - .build(); - } - } - } - return getFetchFileGitStatusesMethod; - } - - private static volatile io.grpc.MethodDescriptor getFetchGitAheadBehindMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "FetchGitAheadBehind", - requestType = com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest.class, - responseType = com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getFetchGitAheadBehindMethod() { - io.grpc.MethodDescriptor getFetchGitAheadBehindMethod; - if ((getFetchGitAheadBehindMethod = DataformGrpc.getFetchGitAheadBehindMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getFetchGitAheadBehindMethod = DataformGrpc.getFetchGitAheadBehindMethod) == null) { - DataformGrpc.getFetchGitAheadBehindMethod = getFetchGitAheadBehindMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FetchGitAheadBehind")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("FetchGitAheadBehind")) - .build(); - } - } - } - return getFetchGitAheadBehindMethod; - } - - private static volatile io.grpc.MethodDescriptor getCommitWorkspaceChangesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CommitWorkspaceChanges", - requestType = com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCommitWorkspaceChangesMethod() { - io.grpc.MethodDescriptor getCommitWorkspaceChangesMethod; - if ((getCommitWorkspaceChangesMethod = DataformGrpc.getCommitWorkspaceChangesMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getCommitWorkspaceChangesMethod = DataformGrpc.getCommitWorkspaceChangesMethod) == null) { - DataformGrpc.getCommitWorkspaceChangesMethod = getCommitWorkspaceChangesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CommitWorkspaceChanges")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("CommitWorkspaceChanges")) - .build(); - } - } - } - return getCommitWorkspaceChangesMethod; - } - - private static volatile io.grpc.MethodDescriptor getResetWorkspaceChangesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ResetWorkspaceChanges", - requestType = com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getResetWorkspaceChangesMethod() { - io.grpc.MethodDescriptor getResetWorkspaceChangesMethod; - if ((getResetWorkspaceChangesMethod = DataformGrpc.getResetWorkspaceChangesMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getResetWorkspaceChangesMethod = DataformGrpc.getResetWorkspaceChangesMethod) == null) { - DataformGrpc.getResetWorkspaceChangesMethod = getResetWorkspaceChangesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResetWorkspaceChanges")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("ResetWorkspaceChanges")) - .build(); - } - } - } - return getResetWorkspaceChangesMethod; - } - - private static volatile io.grpc.MethodDescriptor getFetchFileDiffMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "FetchFileDiff", - requestType = com.google.cloud.dataform.v1beta1.FetchFileDiffRequest.class, - responseType = com.google.cloud.dataform.v1beta1.FetchFileDiffResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getFetchFileDiffMethod() { - io.grpc.MethodDescriptor getFetchFileDiffMethod; - if ((getFetchFileDiffMethod = DataformGrpc.getFetchFileDiffMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getFetchFileDiffMethod = DataformGrpc.getFetchFileDiffMethod) == null) { - DataformGrpc.getFetchFileDiffMethod = getFetchFileDiffMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "FetchFileDiff")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.FetchFileDiffRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.FetchFileDiffResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("FetchFileDiff")) - .build(); - } - } - } - return getFetchFileDiffMethod; - } - - private static volatile io.grpc.MethodDescriptor getQueryDirectoryContentsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "QueryDirectoryContents", - requestType = com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest.class, - responseType = com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getQueryDirectoryContentsMethod() { - io.grpc.MethodDescriptor getQueryDirectoryContentsMethod; - if ((getQueryDirectoryContentsMethod = DataformGrpc.getQueryDirectoryContentsMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getQueryDirectoryContentsMethod = DataformGrpc.getQueryDirectoryContentsMethod) == null) { - DataformGrpc.getQueryDirectoryContentsMethod = getQueryDirectoryContentsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "QueryDirectoryContents")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("QueryDirectoryContents")) - .build(); - } - } - } - return getQueryDirectoryContentsMethod; - } - - private static volatile io.grpc.MethodDescriptor getMakeDirectoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "MakeDirectory", - requestType = com.google.cloud.dataform.v1beta1.MakeDirectoryRequest.class, - responseType = com.google.cloud.dataform.v1beta1.MakeDirectoryResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getMakeDirectoryMethod() { - io.grpc.MethodDescriptor getMakeDirectoryMethod; - if ((getMakeDirectoryMethod = DataformGrpc.getMakeDirectoryMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getMakeDirectoryMethod = DataformGrpc.getMakeDirectoryMethod) == null) { - DataformGrpc.getMakeDirectoryMethod = getMakeDirectoryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "MakeDirectory")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.MakeDirectoryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.MakeDirectoryResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("MakeDirectory")) - .build(); - } - } - } - return getMakeDirectoryMethod; - } - - private static volatile io.grpc.MethodDescriptor getRemoveDirectoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RemoveDirectory", - requestType = com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getRemoveDirectoryMethod() { - io.grpc.MethodDescriptor getRemoveDirectoryMethod; - if ((getRemoveDirectoryMethod = DataformGrpc.getRemoveDirectoryMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getRemoveDirectoryMethod = DataformGrpc.getRemoveDirectoryMethod) == null) { - DataformGrpc.getRemoveDirectoryMethod = getRemoveDirectoryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RemoveDirectory")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("RemoveDirectory")) - .build(); - } - } - } - return getRemoveDirectoryMethod; - } - - private static volatile io.grpc.MethodDescriptor getMoveDirectoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "MoveDirectory", - requestType = com.google.cloud.dataform.v1beta1.MoveDirectoryRequest.class, - responseType = com.google.cloud.dataform.v1beta1.MoveDirectoryResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getMoveDirectoryMethod() { - io.grpc.MethodDescriptor getMoveDirectoryMethod; - if ((getMoveDirectoryMethod = DataformGrpc.getMoveDirectoryMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getMoveDirectoryMethod = DataformGrpc.getMoveDirectoryMethod) == null) { - DataformGrpc.getMoveDirectoryMethod = getMoveDirectoryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "MoveDirectory")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.MoveDirectoryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.MoveDirectoryResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("MoveDirectory")) - .build(); - } - } - } - return getMoveDirectoryMethod; - } - - private static volatile io.grpc.MethodDescriptor getReadFileMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ReadFile", - requestType = com.google.cloud.dataform.v1beta1.ReadFileRequest.class, - responseType = com.google.cloud.dataform.v1beta1.ReadFileResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getReadFileMethod() { - io.grpc.MethodDescriptor getReadFileMethod; - if ((getReadFileMethod = DataformGrpc.getReadFileMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getReadFileMethod = DataformGrpc.getReadFileMethod) == null) { - DataformGrpc.getReadFileMethod = getReadFileMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReadFile")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.ReadFileRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.ReadFileResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("ReadFile")) - .build(); - } - } - } - return getReadFileMethod; - } - - private static volatile io.grpc.MethodDescriptor getRemoveFileMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "RemoveFile", - requestType = com.google.cloud.dataform.v1beta1.RemoveFileRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getRemoveFileMethod() { - io.grpc.MethodDescriptor getRemoveFileMethod; - if ((getRemoveFileMethod = DataformGrpc.getRemoveFileMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getRemoveFileMethod = DataformGrpc.getRemoveFileMethod) == null) { - DataformGrpc.getRemoveFileMethod = getRemoveFileMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RemoveFile")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.RemoveFileRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("RemoveFile")) - .build(); - } - } - } - return getRemoveFileMethod; - } - - private static volatile io.grpc.MethodDescriptor getMoveFileMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "MoveFile", - requestType = com.google.cloud.dataform.v1beta1.MoveFileRequest.class, - responseType = com.google.cloud.dataform.v1beta1.MoveFileResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getMoveFileMethod() { - io.grpc.MethodDescriptor getMoveFileMethod; - if ((getMoveFileMethod = DataformGrpc.getMoveFileMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getMoveFileMethod = DataformGrpc.getMoveFileMethod) == null) { - DataformGrpc.getMoveFileMethod = getMoveFileMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "MoveFile")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.MoveFileRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.MoveFileResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("MoveFile")) - .build(); - } - } - } - return getMoveFileMethod; - } - - private static volatile io.grpc.MethodDescriptor getWriteFileMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "WriteFile", - requestType = com.google.cloud.dataform.v1beta1.WriteFileRequest.class, - responseType = com.google.cloud.dataform.v1beta1.WriteFileResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getWriteFileMethod() { - io.grpc.MethodDescriptor getWriteFileMethod; - if ((getWriteFileMethod = DataformGrpc.getWriteFileMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getWriteFileMethod = DataformGrpc.getWriteFileMethod) == null) { - DataformGrpc.getWriteFileMethod = getWriteFileMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "WriteFile")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.WriteFileRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.WriteFileResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("WriteFile")) - .build(); - } - } - } - return getWriteFileMethod; - } - - private static volatile io.grpc.MethodDescriptor getListCompilationResultsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListCompilationResults", - requestType = com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest.class, - responseType = com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListCompilationResultsMethod() { - io.grpc.MethodDescriptor getListCompilationResultsMethod; - if ((getListCompilationResultsMethod = DataformGrpc.getListCompilationResultsMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getListCompilationResultsMethod = DataformGrpc.getListCompilationResultsMethod) == null) { - DataformGrpc.getListCompilationResultsMethod = getListCompilationResultsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCompilationResults")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("ListCompilationResults")) - .build(); - } - } - } - return getListCompilationResultsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetCompilationResultMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetCompilationResult", - requestType = com.google.cloud.dataform.v1beta1.GetCompilationResultRequest.class, - responseType = com.google.cloud.dataform.v1beta1.CompilationResult.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetCompilationResultMethod() { - io.grpc.MethodDescriptor getGetCompilationResultMethod; - if ((getGetCompilationResultMethod = DataformGrpc.getGetCompilationResultMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getGetCompilationResultMethod = DataformGrpc.getGetCompilationResultMethod) == null) { - DataformGrpc.getGetCompilationResultMethod = getGetCompilationResultMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCompilationResult")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.GetCompilationResultRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.CompilationResult.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("GetCompilationResult")) - .build(); - } - } - } - return getGetCompilationResultMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateCompilationResultMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateCompilationResult", - requestType = com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest.class, - responseType = com.google.cloud.dataform.v1beta1.CompilationResult.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateCompilationResultMethod() { - io.grpc.MethodDescriptor getCreateCompilationResultMethod; - if ((getCreateCompilationResultMethod = DataformGrpc.getCreateCompilationResultMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getCreateCompilationResultMethod = DataformGrpc.getCreateCompilationResultMethod) == null) { - DataformGrpc.getCreateCompilationResultMethod = getCreateCompilationResultMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCompilationResult")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.CompilationResult.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("CreateCompilationResult")) - .build(); - } - } - } - return getCreateCompilationResultMethod; - } - - private static volatile io.grpc.MethodDescriptor getQueryCompilationResultActionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "QueryCompilationResultActions", - requestType = com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest.class, - responseType = com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getQueryCompilationResultActionsMethod() { - io.grpc.MethodDescriptor getQueryCompilationResultActionsMethod; - if ((getQueryCompilationResultActionsMethod = DataformGrpc.getQueryCompilationResultActionsMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getQueryCompilationResultActionsMethod = DataformGrpc.getQueryCompilationResultActionsMethod) == null) { - DataformGrpc.getQueryCompilationResultActionsMethod = getQueryCompilationResultActionsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "QueryCompilationResultActions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("QueryCompilationResultActions")) - .build(); - } - } - } - return getQueryCompilationResultActionsMethod; - } - - private static volatile io.grpc.MethodDescriptor getListWorkflowInvocationsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListWorkflowInvocations", - requestType = com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest.class, - responseType = com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListWorkflowInvocationsMethod() { - io.grpc.MethodDescriptor getListWorkflowInvocationsMethod; - if ((getListWorkflowInvocationsMethod = DataformGrpc.getListWorkflowInvocationsMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getListWorkflowInvocationsMethod = DataformGrpc.getListWorkflowInvocationsMethod) == null) { - DataformGrpc.getListWorkflowInvocationsMethod = getListWorkflowInvocationsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListWorkflowInvocations")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("ListWorkflowInvocations")) - .build(); - } - } - } - return getListWorkflowInvocationsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetWorkflowInvocationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetWorkflowInvocation", - requestType = com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest.class, - responseType = com.google.cloud.dataform.v1beta1.WorkflowInvocation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetWorkflowInvocationMethod() { - io.grpc.MethodDescriptor getGetWorkflowInvocationMethod; - if ((getGetWorkflowInvocationMethod = DataformGrpc.getGetWorkflowInvocationMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getGetWorkflowInvocationMethod = DataformGrpc.getGetWorkflowInvocationMethod) == null) { - DataformGrpc.getGetWorkflowInvocationMethod = getGetWorkflowInvocationMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetWorkflowInvocation")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.WorkflowInvocation.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("GetWorkflowInvocation")) - .build(); - } - } - } - return getGetWorkflowInvocationMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateWorkflowInvocationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateWorkflowInvocation", - requestType = com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest.class, - responseType = com.google.cloud.dataform.v1beta1.WorkflowInvocation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateWorkflowInvocationMethod() { - io.grpc.MethodDescriptor getCreateWorkflowInvocationMethod; - if ((getCreateWorkflowInvocationMethod = DataformGrpc.getCreateWorkflowInvocationMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getCreateWorkflowInvocationMethod = DataformGrpc.getCreateWorkflowInvocationMethod) == null) { - DataformGrpc.getCreateWorkflowInvocationMethod = getCreateWorkflowInvocationMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateWorkflowInvocation")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.WorkflowInvocation.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("CreateWorkflowInvocation")) - .build(); - } - } - } - return getCreateWorkflowInvocationMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteWorkflowInvocationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteWorkflowInvocation", - requestType = com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteWorkflowInvocationMethod() { - io.grpc.MethodDescriptor getDeleteWorkflowInvocationMethod; - if ((getDeleteWorkflowInvocationMethod = DataformGrpc.getDeleteWorkflowInvocationMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getDeleteWorkflowInvocationMethod = DataformGrpc.getDeleteWorkflowInvocationMethod) == null) { - DataformGrpc.getDeleteWorkflowInvocationMethod = getDeleteWorkflowInvocationMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteWorkflowInvocation")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("DeleteWorkflowInvocation")) - .build(); - } - } - } - return getDeleteWorkflowInvocationMethod; - } - - private static volatile io.grpc.MethodDescriptor getCancelWorkflowInvocationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CancelWorkflowInvocation", - requestType = com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCancelWorkflowInvocationMethod() { - io.grpc.MethodDescriptor getCancelWorkflowInvocationMethod; - if ((getCancelWorkflowInvocationMethod = DataformGrpc.getCancelWorkflowInvocationMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getCancelWorkflowInvocationMethod = DataformGrpc.getCancelWorkflowInvocationMethod) == null) { - DataformGrpc.getCancelWorkflowInvocationMethod = getCancelWorkflowInvocationMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelWorkflowInvocation")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("CancelWorkflowInvocation")) - .build(); - } - } - } - return getCancelWorkflowInvocationMethod; - } - - private static volatile io.grpc.MethodDescriptor getQueryWorkflowInvocationActionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "QueryWorkflowInvocationActions", - requestType = com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest.class, - responseType = com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getQueryWorkflowInvocationActionsMethod() { - io.grpc.MethodDescriptor getQueryWorkflowInvocationActionsMethod; - if ((getQueryWorkflowInvocationActionsMethod = DataformGrpc.getQueryWorkflowInvocationActionsMethod) == null) { - synchronized (DataformGrpc.class) { - if ((getQueryWorkflowInvocationActionsMethod = DataformGrpc.getQueryWorkflowInvocationActionsMethod) == null) { - DataformGrpc.getQueryWorkflowInvocationActionsMethod = getQueryWorkflowInvocationActionsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "QueryWorkflowInvocationActions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse.getDefaultInstance())) - .setSchemaDescriptor(new DataformMethodDescriptorSupplier("QueryWorkflowInvocationActions")) - .build(); - } - } - } - return getQueryWorkflowInvocationActionsMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static DataformStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataformStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataformStub(channel, callOptions); - } - }; - return DataformStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static DataformBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataformBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataformBlockingStub(channel, callOptions); - } - }; - return DataformBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static DataformFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DataformFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataformFutureStub(channel, callOptions); - } - }; - return DataformFutureStub.newStub(factory, channel); - } - - /** - *
-   * Dataform is a service to develop, create, document, test, and update curated
-   * tables in BigQuery.
-   * 
- */ - public static abstract class DataformImplBase implements io.grpc.BindableService { - - /** - *
-     * Lists Repositories in a given project and location.
-     * 
- */ - public void listRepositories(com.google.cloud.dataform.v1beta1.ListRepositoriesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListRepositoriesMethod(), responseObserver); - } - - /** - *
-     * Fetches a single Repository.
-     * 
- */ - public void getRepository(com.google.cloud.dataform.v1beta1.GetRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetRepositoryMethod(), responseObserver); - } - - /** - *
-     * Creates a new Repository in a given project and location.
-     * 
- */ - public void createRepository(com.google.cloud.dataform.v1beta1.CreateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateRepositoryMethod(), responseObserver); - } - - /** - *
-     * Updates a single Repository.
-     * 
- */ - public void updateRepository(com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateRepositoryMethod(), responseObserver); - } - - /** - *
-     * Deletes a single Repository.
-     * 
- */ - public void deleteRepository(com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteRepositoryMethod(), responseObserver); - } - - /** - *
-     * Fetches a Repository's remote branches.
-     * 
- */ - public void fetchRemoteBranches(com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFetchRemoteBranchesMethod(), responseObserver); - } - - /** - *
-     * Lists Workspaces in a given Repository.
-     * 
- */ - public void listWorkspaces(com.google.cloud.dataform.v1beta1.ListWorkspacesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListWorkspacesMethod(), responseObserver); - } - - /** - *
-     * Fetches a single Workspace.
-     * 
- */ - public void getWorkspace(com.google.cloud.dataform.v1beta1.GetWorkspaceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetWorkspaceMethod(), responseObserver); - } - - /** - *
-     * Creates a new Workspace in a given Repository.
-     * 
- */ - public void createWorkspace(com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateWorkspaceMethod(), responseObserver); - } - - /** - *
-     * Deletes a single Workspace.
-     * 
- */ - public void deleteWorkspace(com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteWorkspaceMethod(), responseObserver); - } - - /** - *
-     * Installs dependency NPM packages (inside a Workspace).
-     * 
- */ - public void installNpmPackages(com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getInstallNpmPackagesMethod(), responseObserver); - } - - /** - *
-     * Pulls Git commits from the Repository's remote into a Workspace.
-     * 
- */ - public void pullGitCommits(com.google.cloud.dataform.v1beta1.PullGitCommitsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPullGitCommitsMethod(), responseObserver); - } - - /** - *
-     * Pushes Git commits from a Workspace to the Repository's remote.
-     * 
- */ - public void pushGitCommits(com.google.cloud.dataform.v1beta1.PushGitCommitsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPushGitCommitsMethod(), responseObserver); - } - - /** - *
-     * Fetches Git statuses for the files in a Workspace.
-     * 
- */ - public void fetchFileGitStatuses(com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFetchFileGitStatusesMethod(), responseObserver); - } - - /** - *
-     * Fetches Git ahead/behind against a remote branch.
-     * 
- */ - public void fetchGitAheadBehind(com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFetchGitAheadBehindMethod(), responseObserver); - } - - /** - *
-     * Applies a Git commit for uncommitted files in a Workspace.
-     * 
- */ - public void commitWorkspaceChanges(com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCommitWorkspaceChangesMethod(), responseObserver); - } - - /** - *
-     * Performs a Git reset for uncommitted files in a Workspace.
-     * 
- */ - public void resetWorkspaceChanges(com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getResetWorkspaceChangesMethod(), responseObserver); - } - - /** - *
-     * Fetches Git diff for an uncommitted file in a Workspace.
-     * 
- */ - public void fetchFileDiff(com.google.cloud.dataform.v1beta1.FetchFileDiffRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFetchFileDiffMethod(), responseObserver); - } - - /** - *
-     * Returns the contents of a given Workspace directory.
-     * 
- */ - public void queryDirectoryContents(com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getQueryDirectoryContentsMethod(), responseObserver); - } - - /** - *
-     * Creates a directory inside a Workspace.
-     * 
- */ - public void makeDirectory(com.google.cloud.dataform.v1beta1.MakeDirectoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getMakeDirectoryMethod(), responseObserver); - } - - /** - *
-     * Deletes a directory (inside a Workspace) and all of its contents.
-     * 
- */ - public void removeDirectory(com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRemoveDirectoryMethod(), responseObserver); - } - - /** - *
-     * Moves a directory (inside a Workspace), and all of its contents, to a new
-     * location.
-     * 
- */ - public void moveDirectory(com.google.cloud.dataform.v1beta1.MoveDirectoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getMoveDirectoryMethod(), responseObserver); - } - - /** - *
-     * Returns the contents of a file (inside a Workspace).
-     * 
- */ - public void readFile(com.google.cloud.dataform.v1beta1.ReadFileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getReadFileMethod(), responseObserver); - } - - /** - *
-     * Deletes a file (inside a Workspace).
-     * 
- */ - public void removeFile(com.google.cloud.dataform.v1beta1.RemoveFileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRemoveFileMethod(), responseObserver); - } - - /** - *
-     * Moves a file (inside a Workspace) to a new location.
-     * 
- */ - public void moveFile(com.google.cloud.dataform.v1beta1.MoveFileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getMoveFileMethod(), responseObserver); - } - - /** - *
-     * Writes to a file (inside a Workspace).
-     * 
- */ - public void writeFile(com.google.cloud.dataform.v1beta1.WriteFileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getWriteFileMethod(), responseObserver); - } - - /** - *
-     * Lists CompilationResults in a given Repository.
-     * 
- */ - public void listCompilationResults(com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListCompilationResultsMethod(), responseObserver); - } - - /** - *
-     * Fetches a single CompilationResult.
-     * 
- */ - public void getCompilationResult(com.google.cloud.dataform.v1beta1.GetCompilationResultRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetCompilationResultMethod(), responseObserver); - } - - /** - *
-     * Creates a new CompilationResult in a given project and location.
-     * 
- */ - public void createCompilationResult(com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateCompilationResultMethod(), responseObserver); - } - - /** - *
-     * Returns CompilationResultActions in a given CompilationResult.
-     * 
- */ - public void queryCompilationResultActions(com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getQueryCompilationResultActionsMethod(), responseObserver); - } - - /** - *
-     * Lists WorkflowInvocations in a given Repository.
-     * 
- */ - public void listWorkflowInvocations(com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListWorkflowInvocationsMethod(), responseObserver); - } - - /** - *
-     * Fetches a single WorkflowInvocation.
-     * 
- */ - public void getWorkflowInvocation(com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetWorkflowInvocationMethod(), responseObserver); - } - - /** - *
-     * Creates a new WorkflowInvocation in a given Repository.
-     * 
- */ - public void createWorkflowInvocation(com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateWorkflowInvocationMethod(), responseObserver); - } - - /** - *
-     * Deletes a single WorkflowInvocation.
-     * 
- */ - public void deleteWorkflowInvocation(com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteWorkflowInvocationMethod(), responseObserver); - } - - /** - *
-     * Requests cancellation of a running WorkflowInvocation.
-     * 
- */ - public void cancelWorkflowInvocation(com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCancelWorkflowInvocationMethod(), responseObserver); - } - - /** - *
-     * Returns WorkflowInvocationActions in a given WorkflowInvocation.
-     * 
- */ - public void queryWorkflowInvocationActions(com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getQueryWorkflowInvocationActionsMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListRepositoriesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1beta1.ListRepositoriesRequest, - com.google.cloud.dataform.v1beta1.ListRepositoriesResponse>( - this, METHODID_LIST_REPOSITORIES))) - .addMethod( - getGetRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1beta1.GetRepositoryRequest, - com.google.cloud.dataform.v1beta1.Repository>( - this, METHODID_GET_REPOSITORY))) - .addMethod( - getCreateRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1beta1.CreateRepositoryRequest, - com.google.cloud.dataform.v1beta1.Repository>( - this, METHODID_CREATE_REPOSITORY))) - .addMethod( - getUpdateRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest, - com.google.cloud.dataform.v1beta1.Repository>( - this, METHODID_UPDATE_REPOSITORY))) - .addMethod( - getDeleteRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_REPOSITORY))) - .addMethod( - getFetchRemoteBranchesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest, - com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse>( - this, METHODID_FETCH_REMOTE_BRANCHES))) - .addMethod( - getListWorkspacesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1beta1.ListWorkspacesRequest, - com.google.cloud.dataform.v1beta1.ListWorkspacesResponse>( - this, METHODID_LIST_WORKSPACES))) - .addMethod( - getGetWorkspaceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1beta1.GetWorkspaceRequest, - com.google.cloud.dataform.v1beta1.Workspace>( - this, METHODID_GET_WORKSPACE))) - .addMethod( - getCreateWorkspaceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest, - com.google.cloud.dataform.v1beta1.Workspace>( - this, METHODID_CREATE_WORKSPACE))) - .addMethod( - getDeleteWorkspaceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_WORKSPACE))) - .addMethod( - getInstallNpmPackagesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest, - com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse>( - this, METHODID_INSTALL_NPM_PACKAGES))) - .addMethod( - getPullGitCommitsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1beta1.PullGitCommitsRequest, - com.google.protobuf.Empty>( - this, METHODID_PULL_GIT_COMMITS))) - .addMethod( - getPushGitCommitsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1beta1.PushGitCommitsRequest, - com.google.protobuf.Empty>( - this, METHODID_PUSH_GIT_COMMITS))) - .addMethod( - getFetchFileGitStatusesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest, - com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse>( - this, METHODID_FETCH_FILE_GIT_STATUSES))) - .addMethod( - getFetchGitAheadBehindMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest, - com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse>( - this, METHODID_FETCH_GIT_AHEAD_BEHIND))) - .addMethod( - getCommitWorkspaceChangesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest, - com.google.protobuf.Empty>( - this, METHODID_COMMIT_WORKSPACE_CHANGES))) - .addMethod( - getResetWorkspaceChangesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest, - com.google.protobuf.Empty>( - this, METHODID_RESET_WORKSPACE_CHANGES))) - .addMethod( - getFetchFileDiffMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1beta1.FetchFileDiffRequest, - com.google.cloud.dataform.v1beta1.FetchFileDiffResponse>( - this, METHODID_FETCH_FILE_DIFF))) - .addMethod( - getQueryDirectoryContentsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest, - com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse>( - this, METHODID_QUERY_DIRECTORY_CONTENTS))) - .addMethod( - getMakeDirectoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1beta1.MakeDirectoryRequest, - com.google.cloud.dataform.v1beta1.MakeDirectoryResponse>( - this, METHODID_MAKE_DIRECTORY))) - .addMethod( - getRemoveDirectoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest, - com.google.protobuf.Empty>( - this, METHODID_REMOVE_DIRECTORY))) - .addMethod( - getMoveDirectoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1beta1.MoveDirectoryRequest, - com.google.cloud.dataform.v1beta1.MoveDirectoryResponse>( - this, METHODID_MOVE_DIRECTORY))) - .addMethod( - getReadFileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1beta1.ReadFileRequest, - com.google.cloud.dataform.v1beta1.ReadFileResponse>( - this, METHODID_READ_FILE))) - .addMethod( - getRemoveFileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1beta1.RemoveFileRequest, - com.google.protobuf.Empty>( - this, METHODID_REMOVE_FILE))) - .addMethod( - getMoveFileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1beta1.MoveFileRequest, - com.google.cloud.dataform.v1beta1.MoveFileResponse>( - this, METHODID_MOVE_FILE))) - .addMethod( - getWriteFileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1beta1.WriteFileRequest, - com.google.cloud.dataform.v1beta1.WriteFileResponse>( - this, METHODID_WRITE_FILE))) - .addMethod( - getListCompilationResultsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest, - com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse>( - this, METHODID_LIST_COMPILATION_RESULTS))) - .addMethod( - getGetCompilationResultMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1beta1.GetCompilationResultRequest, - com.google.cloud.dataform.v1beta1.CompilationResult>( - this, METHODID_GET_COMPILATION_RESULT))) - .addMethod( - getCreateCompilationResultMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest, - com.google.cloud.dataform.v1beta1.CompilationResult>( - this, METHODID_CREATE_COMPILATION_RESULT))) - .addMethod( - getQueryCompilationResultActionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest, - com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse>( - this, METHODID_QUERY_COMPILATION_RESULT_ACTIONS))) - .addMethod( - getListWorkflowInvocationsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest, - com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse>( - this, METHODID_LIST_WORKFLOW_INVOCATIONS))) - .addMethod( - getGetWorkflowInvocationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest, - com.google.cloud.dataform.v1beta1.WorkflowInvocation>( - this, METHODID_GET_WORKFLOW_INVOCATION))) - .addMethod( - getCreateWorkflowInvocationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest, - com.google.cloud.dataform.v1beta1.WorkflowInvocation>( - this, METHODID_CREATE_WORKFLOW_INVOCATION))) - .addMethod( - getDeleteWorkflowInvocationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_WORKFLOW_INVOCATION))) - .addMethod( - getCancelWorkflowInvocationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest, - com.google.protobuf.Empty>( - this, METHODID_CANCEL_WORKFLOW_INVOCATION))) - .addMethod( - getQueryWorkflowInvocationActionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest, - com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse>( - this, METHODID_QUERY_WORKFLOW_INVOCATION_ACTIONS))) - .build(); - } - } - - /** - *
-   * Dataform is a service to develop, create, document, test, and update curated
-   * tables in BigQuery.
-   * 
- */ - public static final class DataformStub extends io.grpc.stub.AbstractAsyncStub { - private DataformStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataformStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataformStub(channel, callOptions); - } - - /** - *
-     * Lists Repositories in a given project and location.
-     * 
- */ - public void listRepositories(com.google.cloud.dataform.v1beta1.ListRepositoriesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Fetches a single Repository.
-     * 
- */ - public void getRepository(com.google.cloud.dataform.v1beta1.GetRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new Repository in a given project and location.
-     * 
- */ - public void createRepository(com.google.cloud.dataform.v1beta1.CreateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a single Repository.
-     * 
- */ - public void updateRepository(com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a single Repository.
-     * 
- */ - public void deleteRepository(com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Fetches a Repository's remote branches.
-     * 
- */ - public void fetchRemoteBranches(com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getFetchRemoteBranchesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists Workspaces in a given Repository.
-     * 
- */ - public void listWorkspaces(com.google.cloud.dataform.v1beta1.ListWorkspacesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListWorkspacesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Fetches a single Workspace.
-     * 
- */ - public void getWorkspace(com.google.cloud.dataform.v1beta1.GetWorkspaceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetWorkspaceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new Workspace in a given Repository.
-     * 
- */ - public void createWorkspace(com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateWorkspaceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a single Workspace.
-     * 
- */ - public void deleteWorkspace(com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteWorkspaceMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Installs dependency NPM packages (inside a Workspace).
-     * 
- */ - public void installNpmPackages(com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getInstallNpmPackagesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Pulls Git commits from the Repository's remote into a Workspace.
-     * 
- */ - public void pullGitCommits(com.google.cloud.dataform.v1beta1.PullGitCommitsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getPullGitCommitsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Pushes Git commits from a Workspace to the Repository's remote.
-     * 
- */ - public void pushGitCommits(com.google.cloud.dataform.v1beta1.PushGitCommitsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getPushGitCommitsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Fetches Git statuses for the files in a Workspace.
-     * 
- */ - public void fetchFileGitStatuses(com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getFetchFileGitStatusesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Fetches Git ahead/behind against a remote branch.
-     * 
- */ - public void fetchGitAheadBehind(com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getFetchGitAheadBehindMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Applies a Git commit for uncommitted files in a Workspace.
-     * 
- */ - public void commitWorkspaceChanges(com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCommitWorkspaceChangesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Performs a Git reset for uncommitted files in a Workspace.
-     * 
- */ - public void resetWorkspaceChanges(com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getResetWorkspaceChangesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Fetches Git diff for an uncommitted file in a Workspace.
-     * 
- */ - public void fetchFileDiff(com.google.cloud.dataform.v1beta1.FetchFileDiffRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getFetchFileDiffMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns the contents of a given Workspace directory.
-     * 
- */ - public void queryDirectoryContents(com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getQueryDirectoryContentsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a directory inside a Workspace.
-     * 
- */ - public void makeDirectory(com.google.cloud.dataform.v1beta1.MakeDirectoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getMakeDirectoryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a directory (inside a Workspace) and all of its contents.
-     * 
- */ - public void removeDirectory(com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRemoveDirectoryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Moves a directory (inside a Workspace), and all of its contents, to a new
-     * location.
-     * 
- */ - public void moveDirectory(com.google.cloud.dataform.v1beta1.MoveDirectoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getMoveDirectoryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns the contents of a file (inside a Workspace).
-     * 
- */ - public void readFile(com.google.cloud.dataform.v1beta1.ReadFileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getReadFileMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a file (inside a Workspace).
-     * 
- */ - public void removeFile(com.google.cloud.dataform.v1beta1.RemoveFileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getRemoveFileMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Moves a file (inside a Workspace) to a new location.
-     * 
- */ - public void moveFile(com.google.cloud.dataform.v1beta1.MoveFileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getMoveFileMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Writes to a file (inside a Workspace).
-     * 
- */ - public void writeFile(com.google.cloud.dataform.v1beta1.WriteFileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getWriteFileMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists CompilationResults in a given Repository.
-     * 
- */ - public void listCompilationResults(com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListCompilationResultsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Fetches a single CompilationResult.
-     * 
- */ - public void getCompilationResult(com.google.cloud.dataform.v1beta1.GetCompilationResultRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetCompilationResultMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new CompilationResult in a given project and location.
-     * 
- */ - public void createCompilationResult(com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateCompilationResultMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns CompilationResultActions in a given CompilationResult.
-     * 
- */ - public void queryCompilationResultActions(com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getQueryCompilationResultActionsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists WorkflowInvocations in a given Repository.
-     * 
- */ - public void listWorkflowInvocations(com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListWorkflowInvocationsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Fetches a single WorkflowInvocation.
-     * 
- */ - public void getWorkflowInvocation(com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetWorkflowInvocationMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new WorkflowInvocation in a given Repository.
-     * 
- */ - public void createWorkflowInvocation(com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateWorkflowInvocationMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a single WorkflowInvocation.
-     * 
- */ - public void deleteWorkflowInvocation(com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteWorkflowInvocationMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Requests cancellation of a running WorkflowInvocation.
-     * 
- */ - public void cancelWorkflowInvocation(com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCancelWorkflowInvocationMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns WorkflowInvocationActions in a given WorkflowInvocation.
-     * 
- */ - public void queryWorkflowInvocationActions(com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getQueryWorkflowInvocationActionsMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
-   * Dataform is a service to develop, create, document, test, and update curated
-   * tables in BigQuery.
-   * 
- */ - public static final class DataformBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private DataformBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataformBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataformBlockingStub(channel, callOptions); - } - - /** - *
-     * Lists Repositories in a given project and location.
-     * 
- */ - public com.google.cloud.dataform.v1beta1.ListRepositoriesResponse listRepositories(com.google.cloud.dataform.v1beta1.ListRepositoriesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListRepositoriesMethod(), getCallOptions(), request); - } - - /** - *
-     * Fetches a single Repository.
-     * 
- */ - public com.google.cloud.dataform.v1beta1.Repository getRepository(com.google.cloud.dataform.v1beta1.GetRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetRepositoryMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new Repository in a given project and location.
-     * 
- */ - public com.google.cloud.dataform.v1beta1.Repository createRepository(com.google.cloud.dataform.v1beta1.CreateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateRepositoryMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a single Repository.
-     * 
- */ - public com.google.cloud.dataform.v1beta1.Repository updateRepository(com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateRepositoryMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a single Repository.
-     * 
- */ - public com.google.protobuf.Empty deleteRepository(com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteRepositoryMethod(), getCallOptions(), request); - } - - /** - *
-     * Fetches a Repository's remote branches.
-     * 
- */ - public com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse fetchRemoteBranches(com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getFetchRemoteBranchesMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists Workspaces in a given Repository.
-     * 
- */ - public com.google.cloud.dataform.v1beta1.ListWorkspacesResponse listWorkspaces(com.google.cloud.dataform.v1beta1.ListWorkspacesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListWorkspacesMethod(), getCallOptions(), request); - } - - /** - *
-     * Fetches a single Workspace.
-     * 
- */ - public com.google.cloud.dataform.v1beta1.Workspace getWorkspace(com.google.cloud.dataform.v1beta1.GetWorkspaceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetWorkspaceMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new Workspace in a given Repository.
-     * 
- */ - public com.google.cloud.dataform.v1beta1.Workspace createWorkspace(com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateWorkspaceMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a single Workspace.
-     * 
- */ - public com.google.protobuf.Empty deleteWorkspace(com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteWorkspaceMethod(), getCallOptions(), request); - } - - /** - *
-     * Installs dependency NPM packages (inside a Workspace).
-     * 
- */ - public com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse installNpmPackages(com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getInstallNpmPackagesMethod(), getCallOptions(), request); - } - - /** - *
-     * Pulls Git commits from the Repository's remote into a Workspace.
-     * 
- */ - public com.google.protobuf.Empty pullGitCommits(com.google.cloud.dataform.v1beta1.PullGitCommitsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getPullGitCommitsMethod(), getCallOptions(), request); - } - - /** - *
-     * Pushes Git commits from a Workspace to the Repository's remote.
-     * 
- */ - public com.google.protobuf.Empty pushGitCommits(com.google.cloud.dataform.v1beta1.PushGitCommitsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getPushGitCommitsMethod(), getCallOptions(), request); - } - - /** - *
-     * Fetches Git statuses for the files in a Workspace.
-     * 
- */ - public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse fetchFileGitStatuses(com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getFetchFileGitStatusesMethod(), getCallOptions(), request); - } - - /** - *
-     * Fetches Git ahead/behind against a remote branch.
-     * 
- */ - public com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse fetchGitAheadBehind(com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getFetchGitAheadBehindMethod(), getCallOptions(), request); - } - - /** - *
-     * Applies a Git commit for uncommitted files in a Workspace.
-     * 
- */ - public com.google.protobuf.Empty commitWorkspaceChanges(com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCommitWorkspaceChangesMethod(), getCallOptions(), request); - } - - /** - *
-     * Performs a Git reset for uncommitted files in a Workspace.
-     * 
- */ - public com.google.protobuf.Empty resetWorkspaceChanges(com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getResetWorkspaceChangesMethod(), getCallOptions(), request); - } - - /** - *
-     * Fetches Git diff for an uncommitted file in a Workspace.
-     * 
- */ - public com.google.cloud.dataform.v1beta1.FetchFileDiffResponse fetchFileDiff(com.google.cloud.dataform.v1beta1.FetchFileDiffRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getFetchFileDiffMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns the contents of a given Workspace directory.
-     * 
- */ - public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse queryDirectoryContents(com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getQueryDirectoryContentsMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a directory inside a Workspace.
-     * 
- */ - public com.google.cloud.dataform.v1beta1.MakeDirectoryResponse makeDirectory(com.google.cloud.dataform.v1beta1.MakeDirectoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getMakeDirectoryMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a directory (inside a Workspace) and all of its contents.
-     * 
- */ - public com.google.protobuf.Empty removeDirectory(com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRemoveDirectoryMethod(), getCallOptions(), request); - } - - /** - *
-     * Moves a directory (inside a Workspace), and all of its contents, to a new
-     * location.
-     * 
- */ - public com.google.cloud.dataform.v1beta1.MoveDirectoryResponse moveDirectory(com.google.cloud.dataform.v1beta1.MoveDirectoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getMoveDirectoryMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns the contents of a file (inside a Workspace).
-     * 
- */ - public com.google.cloud.dataform.v1beta1.ReadFileResponse readFile(com.google.cloud.dataform.v1beta1.ReadFileRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getReadFileMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a file (inside a Workspace).
-     * 
- */ - public com.google.protobuf.Empty removeFile(com.google.cloud.dataform.v1beta1.RemoveFileRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRemoveFileMethod(), getCallOptions(), request); - } - - /** - *
-     * Moves a file (inside a Workspace) to a new location.
-     * 
- */ - public com.google.cloud.dataform.v1beta1.MoveFileResponse moveFile(com.google.cloud.dataform.v1beta1.MoveFileRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getMoveFileMethod(), getCallOptions(), request); - } - - /** - *
-     * Writes to a file (inside a Workspace).
-     * 
- */ - public com.google.cloud.dataform.v1beta1.WriteFileResponse writeFile(com.google.cloud.dataform.v1beta1.WriteFileRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getWriteFileMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists CompilationResults in a given Repository.
-     * 
- */ - public com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse listCompilationResults(com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListCompilationResultsMethod(), getCallOptions(), request); - } - - /** - *
-     * Fetches a single CompilationResult.
-     * 
- */ - public com.google.cloud.dataform.v1beta1.CompilationResult getCompilationResult(com.google.cloud.dataform.v1beta1.GetCompilationResultRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetCompilationResultMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new CompilationResult in a given project and location.
-     * 
- */ - public com.google.cloud.dataform.v1beta1.CompilationResult createCompilationResult(com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateCompilationResultMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns CompilationResultActions in a given CompilationResult.
-     * 
- */ - public com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse queryCompilationResultActions(com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getQueryCompilationResultActionsMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists WorkflowInvocations in a given Repository.
-     * 
- */ - public com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse listWorkflowInvocations(com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListWorkflowInvocationsMethod(), getCallOptions(), request); - } - - /** - *
-     * Fetches a single WorkflowInvocation.
-     * 
- */ - public com.google.cloud.dataform.v1beta1.WorkflowInvocation getWorkflowInvocation(com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetWorkflowInvocationMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new WorkflowInvocation in a given Repository.
-     * 
- */ - public com.google.cloud.dataform.v1beta1.WorkflowInvocation createWorkflowInvocation(com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateWorkflowInvocationMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a single WorkflowInvocation.
-     * 
- */ - public com.google.protobuf.Empty deleteWorkflowInvocation(com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteWorkflowInvocationMethod(), getCallOptions(), request); - } - - /** - *
-     * Requests cancellation of a running WorkflowInvocation.
-     * 
- */ - public com.google.protobuf.Empty cancelWorkflowInvocation(com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCancelWorkflowInvocationMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns WorkflowInvocationActions in a given WorkflowInvocation.
-     * 
- */ - public com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse queryWorkflowInvocationActions(com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getQueryWorkflowInvocationActionsMethod(), getCallOptions(), request); - } - } - - /** - *
-   * Dataform is a service to develop, create, document, test, and update curated
-   * tables in BigQuery.
-   * 
- */ - public static final class DataformFutureStub extends io.grpc.stub.AbstractFutureStub { - private DataformFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DataformFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DataformFutureStub(channel, callOptions); - } - - /** - *
-     * Lists Repositories in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listRepositories( - com.google.cloud.dataform.v1beta1.ListRepositoriesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request); - } - - /** - *
-     * Fetches a single Repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getRepository( - com.google.cloud.dataform.v1beta1.GetRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new Repository in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createRepository( - com.google.cloud.dataform.v1beta1.CreateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a single Repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateRepository( - com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a single Repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteRepository( - com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request); - } - - /** - *
-     * Fetches a Repository's remote branches.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture fetchRemoteBranches( - com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getFetchRemoteBranchesMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists Workspaces in a given Repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listWorkspaces( - com.google.cloud.dataform.v1beta1.ListWorkspacesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListWorkspacesMethod(), getCallOptions()), request); - } - - /** - *
-     * Fetches a single Workspace.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getWorkspace( - com.google.cloud.dataform.v1beta1.GetWorkspaceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetWorkspaceMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new Workspace in a given Repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createWorkspace( - com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateWorkspaceMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a single Workspace.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteWorkspace( - com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteWorkspaceMethod(), getCallOptions()), request); - } - - /** - *
-     * Installs dependency NPM packages (inside a Workspace).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture installNpmPackages( - com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getInstallNpmPackagesMethod(), getCallOptions()), request); - } - - /** - *
-     * Pulls Git commits from the Repository's remote into a Workspace.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture pullGitCommits( - com.google.cloud.dataform.v1beta1.PullGitCommitsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getPullGitCommitsMethod(), getCallOptions()), request); - } - - /** - *
-     * Pushes Git commits from a Workspace to the Repository's remote.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture pushGitCommits( - com.google.cloud.dataform.v1beta1.PushGitCommitsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getPushGitCommitsMethod(), getCallOptions()), request); - } - - /** - *
-     * Fetches Git statuses for the files in a Workspace.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture fetchFileGitStatuses( - com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getFetchFileGitStatusesMethod(), getCallOptions()), request); - } - - /** - *
-     * Fetches Git ahead/behind against a remote branch.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture fetchGitAheadBehind( - com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getFetchGitAheadBehindMethod(), getCallOptions()), request); - } - - /** - *
-     * Applies a Git commit for uncommitted files in a Workspace.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture commitWorkspaceChanges( - com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCommitWorkspaceChangesMethod(), getCallOptions()), request); - } - - /** - *
-     * Performs a Git reset for uncommitted files in a Workspace.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture resetWorkspaceChanges( - com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getResetWorkspaceChangesMethod(), getCallOptions()), request); - } - - /** - *
-     * Fetches Git diff for an uncommitted file in a Workspace.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture fetchFileDiff( - com.google.cloud.dataform.v1beta1.FetchFileDiffRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getFetchFileDiffMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns the contents of a given Workspace directory.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture queryDirectoryContents( - com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getQueryDirectoryContentsMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a directory inside a Workspace.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture makeDirectory( - com.google.cloud.dataform.v1beta1.MakeDirectoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getMakeDirectoryMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a directory (inside a Workspace) and all of its contents.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture removeDirectory( - com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRemoveDirectoryMethod(), getCallOptions()), request); - } - - /** - *
-     * Moves a directory (inside a Workspace), and all of its contents, to a new
-     * location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture moveDirectory( - com.google.cloud.dataform.v1beta1.MoveDirectoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getMoveDirectoryMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns the contents of a file (inside a Workspace).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture readFile( - com.google.cloud.dataform.v1beta1.ReadFileRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getReadFileMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a file (inside a Workspace).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture removeFile( - com.google.cloud.dataform.v1beta1.RemoveFileRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getRemoveFileMethod(), getCallOptions()), request); - } - - /** - *
-     * Moves a file (inside a Workspace) to a new location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture moveFile( - com.google.cloud.dataform.v1beta1.MoveFileRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getMoveFileMethod(), getCallOptions()), request); - } - - /** - *
-     * Writes to a file (inside a Workspace).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture writeFile( - com.google.cloud.dataform.v1beta1.WriteFileRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getWriteFileMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists CompilationResults in a given Repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listCompilationResults( - com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListCompilationResultsMethod(), getCallOptions()), request); - } - - /** - *
-     * Fetches a single CompilationResult.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getCompilationResult( - com.google.cloud.dataform.v1beta1.GetCompilationResultRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetCompilationResultMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new CompilationResult in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createCompilationResult( - com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateCompilationResultMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns CompilationResultActions in a given CompilationResult.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture queryCompilationResultActions( - com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getQueryCompilationResultActionsMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists WorkflowInvocations in a given Repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listWorkflowInvocations( - com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListWorkflowInvocationsMethod(), getCallOptions()), request); - } - - /** - *
-     * Fetches a single WorkflowInvocation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getWorkflowInvocation( - com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetWorkflowInvocationMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new WorkflowInvocation in a given Repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createWorkflowInvocation( - com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateWorkflowInvocationMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a single WorkflowInvocation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteWorkflowInvocation( - com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteWorkflowInvocationMethod(), getCallOptions()), request); - } - - /** - *
-     * Requests cancellation of a running WorkflowInvocation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture cancelWorkflowInvocation( - com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCancelWorkflowInvocationMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns WorkflowInvocationActions in a given WorkflowInvocation.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture queryWorkflowInvocationActions( - com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getQueryWorkflowInvocationActionsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_LIST_REPOSITORIES = 0; - private static final int METHODID_GET_REPOSITORY = 1; - private static final int METHODID_CREATE_REPOSITORY = 2; - private static final int METHODID_UPDATE_REPOSITORY = 3; - private static final int METHODID_DELETE_REPOSITORY = 4; - private static final int METHODID_FETCH_REMOTE_BRANCHES = 5; - private static final int METHODID_LIST_WORKSPACES = 6; - private static final int METHODID_GET_WORKSPACE = 7; - private static final int METHODID_CREATE_WORKSPACE = 8; - private static final int METHODID_DELETE_WORKSPACE = 9; - private static final int METHODID_INSTALL_NPM_PACKAGES = 10; - private static final int METHODID_PULL_GIT_COMMITS = 11; - private static final int METHODID_PUSH_GIT_COMMITS = 12; - private static final int METHODID_FETCH_FILE_GIT_STATUSES = 13; - private static final int METHODID_FETCH_GIT_AHEAD_BEHIND = 14; - private static final int METHODID_COMMIT_WORKSPACE_CHANGES = 15; - private static final int METHODID_RESET_WORKSPACE_CHANGES = 16; - private static final int METHODID_FETCH_FILE_DIFF = 17; - private static final int METHODID_QUERY_DIRECTORY_CONTENTS = 18; - private static final int METHODID_MAKE_DIRECTORY = 19; - private static final int METHODID_REMOVE_DIRECTORY = 20; - private static final int METHODID_MOVE_DIRECTORY = 21; - private static final int METHODID_READ_FILE = 22; - private static final int METHODID_REMOVE_FILE = 23; - private static final int METHODID_MOVE_FILE = 24; - private static final int METHODID_WRITE_FILE = 25; - private static final int METHODID_LIST_COMPILATION_RESULTS = 26; - private static final int METHODID_GET_COMPILATION_RESULT = 27; - private static final int METHODID_CREATE_COMPILATION_RESULT = 28; - private static final int METHODID_QUERY_COMPILATION_RESULT_ACTIONS = 29; - private static final int METHODID_LIST_WORKFLOW_INVOCATIONS = 30; - private static final int METHODID_GET_WORKFLOW_INVOCATION = 31; - private static final int METHODID_CREATE_WORKFLOW_INVOCATION = 32; - private static final int METHODID_DELETE_WORKFLOW_INVOCATION = 33; - private static final int METHODID_CANCEL_WORKFLOW_INVOCATION = 34; - private static final int METHODID_QUERY_WORKFLOW_INVOCATION_ACTIONS = 35; - - private static final class MethodHandlers implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final DataformImplBase serviceImpl; - private final int methodId; - - MethodHandlers(DataformImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_LIST_REPOSITORIES: - serviceImpl.listRepositories((com.google.cloud.dataform.v1beta1.ListRepositoriesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_REPOSITORY: - serviceImpl.getRepository((com.google.cloud.dataform.v1beta1.GetRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_REPOSITORY: - serviceImpl.createRepository((com.google.cloud.dataform.v1beta1.CreateRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_REPOSITORY: - serviceImpl.updateRepository((com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_REPOSITORY: - serviceImpl.deleteRepository((com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_FETCH_REMOTE_BRANCHES: - serviceImpl.fetchRemoteBranches((com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_WORKSPACES: - serviceImpl.listWorkspaces((com.google.cloud.dataform.v1beta1.ListWorkspacesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_WORKSPACE: - serviceImpl.getWorkspace((com.google.cloud.dataform.v1beta1.GetWorkspaceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_WORKSPACE: - serviceImpl.createWorkspace((com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_WORKSPACE: - serviceImpl.deleteWorkspace((com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_INSTALL_NPM_PACKAGES: - serviceImpl.installNpmPackages((com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_PULL_GIT_COMMITS: - serviceImpl.pullGitCommits((com.google.cloud.dataform.v1beta1.PullGitCommitsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_PUSH_GIT_COMMITS: - serviceImpl.pushGitCommits((com.google.cloud.dataform.v1beta1.PushGitCommitsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_FETCH_FILE_GIT_STATUSES: - serviceImpl.fetchFileGitStatuses((com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_FETCH_GIT_AHEAD_BEHIND: - serviceImpl.fetchGitAheadBehind((com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_COMMIT_WORKSPACE_CHANGES: - serviceImpl.commitWorkspaceChanges((com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_RESET_WORKSPACE_CHANGES: - serviceImpl.resetWorkspaceChanges((com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_FETCH_FILE_DIFF: - serviceImpl.fetchFileDiff((com.google.cloud.dataform.v1beta1.FetchFileDiffRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_QUERY_DIRECTORY_CONTENTS: - serviceImpl.queryDirectoryContents((com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_MAKE_DIRECTORY: - serviceImpl.makeDirectory((com.google.cloud.dataform.v1beta1.MakeDirectoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_REMOVE_DIRECTORY: - serviceImpl.removeDirectory((com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_MOVE_DIRECTORY: - serviceImpl.moveDirectory((com.google.cloud.dataform.v1beta1.MoveDirectoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_READ_FILE: - serviceImpl.readFile((com.google.cloud.dataform.v1beta1.ReadFileRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_REMOVE_FILE: - serviceImpl.removeFile((com.google.cloud.dataform.v1beta1.RemoveFileRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_MOVE_FILE: - serviceImpl.moveFile((com.google.cloud.dataform.v1beta1.MoveFileRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_WRITE_FILE: - serviceImpl.writeFile((com.google.cloud.dataform.v1beta1.WriteFileRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_COMPILATION_RESULTS: - serviceImpl.listCompilationResults((com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_COMPILATION_RESULT: - serviceImpl.getCompilationResult((com.google.cloud.dataform.v1beta1.GetCompilationResultRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_COMPILATION_RESULT: - serviceImpl.createCompilationResult((com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_QUERY_COMPILATION_RESULT_ACTIONS: - serviceImpl.queryCompilationResultActions((com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_WORKFLOW_INVOCATIONS: - serviceImpl.listWorkflowInvocations((com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_WORKFLOW_INVOCATION: - serviceImpl.getWorkflowInvocation((com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_WORKFLOW_INVOCATION: - serviceImpl.createWorkflowInvocation((com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_WORKFLOW_INVOCATION: - serviceImpl.deleteWorkflowInvocation((com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CANCEL_WORKFLOW_INVOCATION: - serviceImpl.cancelWorkflowInvocation((com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_QUERY_WORKFLOW_INVOCATION_ACTIONS: - serviceImpl.queryWorkflowInvocationActions((com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private static abstract class DataformBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - DataformBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("Dataform"); - } - } - - private static final class DataformFileDescriptorSupplier - extends DataformBaseDescriptorSupplier { - DataformFileDescriptorSupplier() {} - } - - private static final class DataformMethodDescriptorSupplier - extends DataformBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - DataformMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (DataformGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new DataformFileDescriptorSupplier()) - .addMethod(getListRepositoriesMethod()) - .addMethod(getGetRepositoryMethod()) - .addMethod(getCreateRepositoryMethod()) - .addMethod(getUpdateRepositoryMethod()) - .addMethod(getDeleteRepositoryMethod()) - .addMethod(getFetchRemoteBranchesMethod()) - .addMethod(getListWorkspacesMethod()) - .addMethod(getGetWorkspaceMethod()) - .addMethod(getCreateWorkspaceMethod()) - .addMethod(getDeleteWorkspaceMethod()) - .addMethod(getInstallNpmPackagesMethod()) - .addMethod(getPullGitCommitsMethod()) - .addMethod(getPushGitCommitsMethod()) - .addMethod(getFetchFileGitStatusesMethod()) - .addMethod(getFetchGitAheadBehindMethod()) - .addMethod(getCommitWorkspaceChangesMethod()) - .addMethod(getResetWorkspaceChangesMethod()) - .addMethod(getFetchFileDiffMethod()) - .addMethod(getQueryDirectoryContentsMethod()) - .addMethod(getMakeDirectoryMethod()) - .addMethod(getRemoveDirectoryMethod()) - .addMethod(getMoveDirectoryMethod()) - .addMethod(getReadFileMethod()) - .addMethod(getRemoveFileMethod()) - .addMethod(getMoveFileMethod()) - .addMethod(getWriteFileMethod()) - .addMethod(getListCompilationResultsMethod()) - .addMethod(getGetCompilationResultMethod()) - .addMethod(getCreateCompilationResultMethod()) - .addMethod(getQueryCompilationResultActionsMethod()) - .addMethod(getListWorkflowInvocationsMethod()) - .addMethod(getGetWorkflowInvocationMethod()) - .addMethod(getCreateWorkflowInvocationMethod()) - .addMethod(getDeleteWorkflowInvocationMethod()) - .addMethod(getCancelWorkflowInvocationMethod()) - .addMethod(getQueryWorkflowInvocationActionsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CancelWorkflowInvocationRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CancelWorkflowInvocationRequestOrBuilder.java deleted file mode 100644 index a79d35f..0000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CancelWorkflowInvocationRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1beta1/dataform.proto - -package com.google.cloud.dataform.v1beta1; - -public interface CancelWorkflowInvocationRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The workflow invocation resource's name.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The workflow invocation resource's name.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateCompilationResultRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateCompilationResultRequestOrBuilder.java deleted file mode 100644 index b414421..0000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateCompilationResultRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1beta1/dataform.proto - -package com.google.cloud.dataform.v1beta1; - -public interface CreateCompilationResultRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.CreateCompilationResultRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The repository in which to create the compilation result. Must be in the
-   * format `projects/*/locations/*/repositories/*`.
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The parent. - */ - java.lang.String getParent(); - /** - *
-   * Required. The repository in which to create the compilation result. Must be in the
-   * format `projects/*/locations/*/repositories/*`.
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for parent. - */ - com.google.protobuf.ByteString - getParentBytes(); - - /** - *
-   * Required. The compilation result to create.
-   * 
- * - * .google.cloud.dataform.v1beta1.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the compilationResult field is set. - */ - boolean hasCompilationResult(); - /** - *
-   * Required. The compilation result to create.
-   * 
- * - * .google.cloud.dataform.v1beta1.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The compilationResult. - */ - com.google.cloud.dataform.v1beta1.CompilationResult getCompilationResult(); - /** - *
-   * Required. The compilation result to create.
-   * 
- * - * .google.cloud.dataform.v1beta1.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.cloud.dataform.v1beta1.CompilationResultOrBuilder getCompilationResultOrBuilder(); -} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateWorkflowInvocationRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateWorkflowInvocationRequestOrBuilder.java deleted file mode 100644 index cfe0a9e..0000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateWorkflowInvocationRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1beta1/dataform.proto - -package com.google.cloud.dataform.v1beta1; - -public interface CreateWorkflowInvocationRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The repository in which to create the workflow invocation. Must be in the
-   * format `projects/*/locations/*/repositories/*`.
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The parent. - */ - java.lang.String getParent(); - /** - *
-   * Required. The repository in which to create the workflow invocation. Must be in the
-   * format `projects/*/locations/*/repositories/*`.
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for parent. - */ - com.google.protobuf.ByteString - getParentBytes(); - - /** - *
-   * Required. The workflow invocation resource to create.
-   * 
- * - * .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the workflowInvocation field is set. - */ - boolean hasWorkflowInvocation(); - /** - *
-   * Required. The workflow invocation resource to create.
-   * 
- * - * .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The workflowInvocation. - */ - com.google.cloud.dataform.v1beta1.WorkflowInvocation getWorkflowInvocation(); - /** - *
-   * Required. The workflow invocation resource to create.
-   * 
- * - * .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.cloud.dataform.v1beta1.WorkflowInvocationOrBuilder getWorkflowInvocationOrBuilder(); -} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DataformProto.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DataformProto.java deleted file mode 100644 index d954c4e..0000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DataformProto.java +++ /dev/null @@ -1,1448 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1beta1/dataform.proto - -package com.google.cloud.dataform.v1beta1; - -public final class DataformProto { - private DataformProto() {} - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistryLite registry) { - } - - public static void registerAllExtensions( - com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions( - (com.google.protobuf.ExtensionRegistryLite) registry); - } - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_Repository_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_Repository_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_Repository_GitRemoteSettings_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_Repository_GitRemoteSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_ListRepositoriesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_ListRepositoriesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_ListRepositoriesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_ListRepositoriesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_GetRepositoryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_GetRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_CreateRepositoryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_CreateRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_UpdateRepositoryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_UpdateRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_DeleteRepositoryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_DeleteRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_Workspace_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_Workspace_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_ListWorkspacesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_ListWorkspacesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_ListWorkspacesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_ListWorkspacesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_GetWorkspaceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_GetWorkspaceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_CreateWorkspaceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_CreateWorkspaceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_DeleteWorkspaceRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_DeleteWorkspaceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_CommitAuthor_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_CommitAuthor_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_PullGitCommitsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_PullGitCommitsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_PushGitCommitsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_PushGitCommitsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_UncommittedFileChange_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_UncommittedFileChange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_CommitWorkspaceChangesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_CommitWorkspaceChangesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_ResetWorkspaceChangesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_ResetWorkspaceChangesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_FetchFileDiffRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_FetchFileDiffRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_FetchFileDiffResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_FetchFileDiffResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_DirectoryEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_DirectoryEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_MakeDirectoryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_MakeDirectoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_MakeDirectoryResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_MakeDirectoryResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_RemoveDirectoryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_RemoveDirectoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_MoveDirectoryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_MoveDirectoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_MoveDirectoryResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_MoveDirectoryResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_ReadFileRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_ReadFileRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_ReadFileResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_ReadFileResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_RemoveFileRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_RemoveFileRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_MoveFileRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_MoveFileRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_MoveFileResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_MoveFileResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_WriteFileRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_WriteFileRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_WriteFileResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_WriteFileResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_CompilationResult_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_CompilationResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_CompilationResult_CodeCompilationConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_CompilationResult_CodeCompilationConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_CompilationResult_CodeCompilationConfig_VarsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_CompilationResult_CodeCompilationConfig_VarsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_CompilationResult_CompilationError_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_CompilationResult_CompilationError_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_GetCompilationResultRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_GetCompilationResultRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_CreateCompilationResultRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_CreateCompilationResultRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_Target_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_Target_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_ColumnDescriptor_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_ColumnDescriptor_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_BigqueryLabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_BigqueryLabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_IncrementalTableConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_IncrementalTableConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_AdditionalOptionsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_AdditionalOptionsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Operations_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Operations_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Assertion_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Assertion_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Declaration_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Declaration_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_InvocationConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_InvocationConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_GetWorkflowInvocationRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_GetWorkflowInvocationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_CreateWorkflowInvocationRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_CreateWorkflowInvocationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_DeleteWorkflowInvocationRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_DeleteWorkflowInvocationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_CancelWorkflowInvocationRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_CancelWorkflowInvocationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_BigQueryAction_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_BigQueryAction_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsResponse_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n,google/cloud/dataform/v1beta1/dataform" + - ".proto\022\035google.cloud.dataform.v1beta1\032\034g" + - "oogle/api/annotations.proto\032\027google/api/" + - "client.proto\032\037google/api/field_behavior." + - "proto\032\031google/api/resource.proto\032\033google" + - "/protobuf/empty.proto\032 google/protobuf/f" + - "ield_mask.proto\032\032google/type/interval.pr" + - "oto\"\310\004\n\nRepository\022\021\n\004name\030\001 \001(\tB\003\340A\003\022]\n" + - "\023git_remote_settings\030\002 \001(\0132;.google.clou" + - "d.dataform.v1beta1.Repository.GitRemoteS" + - "ettingsB\003\340A\001\032\333\002\n\021GitRemoteSettings\022\020\n\003ur" + - "l\030\001 \001(\tB\003\340A\002\022\033\n\016default_branch\030\002 \001(\tB\003\340A" + - "\002\022_\n#authentication_token_secret_version" + - "\030\003 \001(\tB2\340A\002\372A,\n*secretmanager.googleapis" + - ".com/SecretVersion\022b\n\014token_status\030\004 \001(\016" + - "2G.google.cloud.dataform.v1beta1.Reposit" + - "ory.GitRemoteSettings.TokenStatusB\003\340A\003\"R" + - "\n\013TokenStatus\022\034\n\030TOKEN_STATUS_UNSPECIFIE" + - "D\020\000\022\r\n\tNOT_FOUND\020\001\022\013\n\007INVALID\020\002\022\t\n\005VALID" + - "\020\003:j\352Ag\n\"dataform.googleapis.com/Reposit" + - "ory\022Aprojects/{project}/locations/{locat" + - "ion}/repositories/{repository}\"\261\001\n\027ListR" + - "epositoriesRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372" + - "A#\n!locations.googleapis.com/Location\022\026\n" + - "\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(" + - "\tB\003\340A\001\022\025\n\010order_by\030\004 \001(\tB\003\340A\001\022\023\n\006filter\030" + - "\005 \001(\tB\003\340A\001\"\211\001\n\030ListRepositoriesResponse\022" + - "?\n\014repositories\030\001 \003(\0132).google.cloud.dat" + - "aform.v1beta1.Repository\022\027\n\017next_page_to" + - "ken\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"P\n\024GetRep" + - "ositoryRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"da" + - "taform.googleapis.com/Repository\"\264\001\n\027Cre" + - "ateRepositoryRequest\0229\n\006parent\030\001 \001(\tB)\340A" + - "\002\372A#\n!locations.googleapis.com/Location\022" + - "B\n\nrepository\030\002 \001(\0132).google.cloud.dataf" + - "orm.v1beta1.RepositoryB\003\340A\002\022\032\n\rrepositor" + - "y_id\030\003 \001(\tB\003\340A\002\"\223\001\n\027UpdateRepositoryRequ" + - "est\0224\n\013update_mask\030\001 \001(\0132\032.google.protob" + - "uf.FieldMaskB\003\340A\001\022B\n\nrepository\030\002 \001(\0132)." + - "google.cloud.dataform.v1beta1.Repository" + - "B\003\340A\002\"b\n\027DeleteRepositoryRequest\0228\n\004name" + - "\030\001 \001(\tB*\340A\002\372A$\n\"dataform.googleapis.com/" + - "Repository\022\r\n\005force\030\002 \001(\010\"V\n\032FetchRemote" + - "BranchesRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"d" + - "ataform.googleapis.com/Repository\"/\n\033Fet" + - "chRemoteBranchesResponse\022\020\n\010branches\030\001 \003" + - "(\t\"\241\001\n\tWorkspace\022\021\n\004name\030\001 \001(\tB\003\340A\003:\200\001\352A" + - "}\n!dataform.googleapis.com/Workspace\022Xpr" + - "ojects/{project}/locations/{location}/re" + - "positories/{repository}/workspaces/{work" + - "space}\"\260\001\n\025ListWorkspacesRequest\022:\n\006pare" + - "nt\030\001 \001(\tB*\340A\002\372A$\n\"dataform.googleapis.co" + - "m/Repository\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\n" + - "page_token\030\003 \001(\tB\003\340A\001\022\025\n\010order_by\030\004 \001(\tB" + - "\003\340A\001\022\023\n\006filter\030\005 \001(\tB\003\340A\001\"\204\001\n\026ListWorksp" + - "acesResponse\022<\n\nworkspaces\030\001 \003(\0132(.googl" + - "e.cloud.dataform.v1beta1.Workspace\022\027\n\017ne" + - "xt_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t" + - "\"N\n\023GetWorkspaceRequest\0227\n\004name\030\001 \001(\tB)\340" + - "A\002\372A#\n!dataform.googleapis.com/Workspace" + - "\"\261\001\n\026CreateWorkspaceRequest\022:\n\006parent\030\001 " + - "\001(\tB*\340A\002\372A$\n\"dataform.googleapis.com/Rep" + - "ository\022@\n\tworkspace\030\002 \001(\0132(.google.clou" + - "d.dataform.v1beta1.WorkspaceB\003\340A\002\022\031\n\014wor" + - "kspace_id\030\003 \001(\tB\003\340A\002\"Q\n\026DeleteWorkspaceR" + - "equest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dataform.g" + - "oogleapis.com/Workspace\"=\n\014CommitAuthor\022" + - "\021\n\004name\030\001 \001(\tB\003\340A\002\022\032\n\remail_address\030\002 \001(" + - "\tB\003\340A\002\"\256\001\n\025PullGitCommitsRequest\0227\n\004name" + - "\030\001 \001(\tB)\340A\002\372A#\n!dataform.googleapis.com/" + - "Workspace\022\032\n\rremote_branch\030\002 \001(\tB\003\340A\001\022@\n" + - "\006author\030\003 \001(\0132+.google.cloud.dataform.v1" + - "beta1.CommitAuthorB\003\340A\002\"l\n\025PushGitCommit" + - "sRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dataform" + - ".googleapis.com/Workspace\022\032\n\rremote_bran" + - "ch\030\002 \001(\tB\003\340A\001\"V\n\033FetchFileGitStatusesReq" + - "uest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dataform.goo" + - "gleapis.com/Workspace\"\374\002\n\034FetchFileGitSt" + - "atusesResponse\022s\n\030uncommitted_file_chang" + - "es\030\001 \003(\0132Q.google.cloud.dataform.v1beta1" + - ".FetchFileGitStatusesResponse.Uncommitte" + - "dFileChange\032\346\001\n\025UncommittedFileChange\022\014\n" + - "\004path\030\001 \001(\t\022f\n\005state\030\002 \001(\0162W.google.clou" + - "d.dataform.v1beta1.FetchFileGitStatusesR" + - "esponse.UncommittedFileChange.State\"W\n\005S" + - "tate\022\025\n\021STATE_UNSPECIFIED\020\000\022\t\n\005ADDED\020\001\022\013" + - "\n\007DELETED\020\002\022\014\n\010MODIFIED\020\003\022\021\n\rHAS_CONFLIC" + - "TS\020\004\"q\n\032FetchGitAheadBehindRequest\0227\n\004na" + - "me\030\001 \001(\tB)\340A\002\372A#\n!dataform.googleapis.co" + - "m/Workspace\022\032\n\rremote_branch\030\002 \001(\tB\003\340A\001\"" + - "L\n\033FetchGitAheadBehindResponse\022\025\n\rcommit" + - "s_ahead\030\001 \001(\005\022\026\n\016commits_behind\030\002 \001(\005\"\313\001" + - "\n\035CommitWorkspaceChangesRequest\0227\n\004name\030" + - "\001 \001(\tB)\340A\002\372A#\n!dataform.googleapis.com/W" + - "orkspace\022@\n\006author\030\004 \001(\0132+.google.cloud." + - "dataform.v1beta1.CommitAuthorB\003\340A\002\022\033\n\016co" + - "mmit_message\030\002 \001(\tB\003\340A\001\022\022\n\005paths\030\003 \003(\tB\003" + - "\340A\001\"\177\n\034ResetWorkspaceChangesRequest\0227\n\004n" + - "ame\030\001 \001(\tB)\340A\002\372A#\n!dataform.googleapis.c" + - "om/Workspace\022\022\n\005paths\030\002 \003(\tB\003\340A\001\022\022\n\005clea" + - "n\030\003 \001(\010B\003\340A\001\"g\n\024FetchFileDiffRequest\022<\n\t" + - "workspace\030\001 \001(\tB)\340A\002\372A#\n!dataform.google" + - "apis.com/Workspace\022\021\n\004path\030\002 \001(\tB\003\340A\002\"/\n" + - "\025FetchFileDiffResponse\022\026\n\016formatted_diff" + - "\030\001 \001(\t\"\241\001\n\035QueryDirectoryContentsRequest" + - "\022<\n\tworkspace\030\001 \001(\tB)\340A\002\372A#\n!dataform.go" + - "ogleapis.com/Workspace\022\021\n\004path\030\002 \001(\tB\003\340A" + - "\001\022\026\n\tpage_size\030\003 \001(\005B\003\340A\001\022\027\n\npage_token\030" + - "\004 \001(\tB\003\340A\001\"\342\001\n\036QueryDirectoryContentsRes" + - "ponse\022g\n\021directory_entries\030\001 \003(\0132L.googl" + - "e.cloud.dataform.v1beta1.QueryDirectoryC" + - "ontentsResponse.DirectoryEntry\022\027\n\017next_p" + - "age_token\030\002 \001(\t\032>\n\016DirectoryEntry\022\016\n\004fil" + - "e\030\001 \001(\tH\000\022\023\n\tdirectory\030\002 \001(\tH\000B\007\n\005entry\"" + - "g\n\024MakeDirectoryRequest\022<\n\tworkspace\030\001 \001" + - "(\tB)\340A\002\372A#\n!dataform.googleapis.com/Work" + - "space\022\021\n\004path\030\002 \001(\tB\003\340A\002\"\027\n\025MakeDirector" + - "yResponse\"i\n\026RemoveDirectoryRequest\022<\n\tw" + - "orkspace\030\001 \001(\tB)\340A\002\372A#\n!dataform.googlea" + - "pis.com/Workspace\022\021\n\004path\030\002 \001(\tB\003\340A\002\"~\n\024" + - "MoveDirectoryRequest\022<\n\tworkspace\030\001 \001(\tB" + - ")\340A\002\372A#\n!dataform.googleapis.com/Workspa" + - "ce\022\021\n\004path\030\002 \001(\tB\003\340A\002\022\025\n\010new_path\030\003 \001(\tB" + - "\003\340A\002\"\027\n\025MoveDirectoryResponse\"b\n\017ReadFil" + - "eRequest\022<\n\tworkspace\030\001 \001(\tB)\340A\002\372A#\n!dat" + - "aform.googleapis.com/Workspace\022\021\n\004path\030\002" + - " \001(\tB\003\340A\002\")\n\020ReadFileResponse\022\025\n\rfile_co" + - "ntents\030\001 \001(\014\"d\n\021RemoveFileRequest\022<\n\twor" + - "kspace\030\001 \001(\tB)\340A\002\372A#\n!dataform.googleapi" + - "s.com/Workspace\022\021\n\004path\030\002 \001(\tB\003\340A\002\"y\n\017Mo" + - "veFileRequest\022<\n\tworkspace\030\001 \001(\tB)\340A\002\372A#" + - "\n!dataform.googleapis.com/Workspace\022\021\n\004p" + - "ath\030\002 \001(\tB\003\340A\002\022\025\n\010new_path\030\003 \001(\tB\003\340A\002\"\022\n" + - "\020MoveFileResponse\"z\n\020WriteFileRequest\022<\n" + - "\tworkspace\030\001 \001(\tB)\340A\002\372A#\n!dataform.googl" + - "eapis.com/Workspace\022\021\n\004path\030\002 \001(\tB\003\340A\002\022\025" + - "\n\010contents\030\003 \001(\014B\003\340A\002\"\023\n\021WriteFileRespon" + - "se\"Y\n\031InstallNpmPackagesRequest\022<\n\tworks" + - "pace\030\001 \001(\tB)\340A\002\372A#\n!dataform.googleapis." + - "com/Workspace\"\034\n\032InstallNpmPackagesRespo" + - "nse\"\261\010\n\021CompilationResult\022\021\n\004name\030\001 \001(\tB" + - "\003\340A\003\022\034\n\rgit_commitish\030\002 \001(\tB\003\340A\005H\000\022>\n\two" + - "rkspace\030\003 \001(\tB)\340A\005\372A#\n!dataform.googleap" + - "is.com/WorkspaceH\000\022l\n\027code_compilation_c" + - "onfig\030\004 \001(\0132F.google.cloud.dataform.v1be" + - "ta1.CompilationResult.CodeCompilationCon" + - "figB\003\340A\005\022\"\n\025dataform_core_version\030\005 \001(\tB" + - "\003\340A\003\022b\n\022compilation_errors\030\006 \003(\0132A.googl" + - "e.cloud.dataform.v1beta1.CompilationResu" + - "lt.CompilationErrorB\003\340A\003\032\370\002\n\025CodeCompila" + - "tionConfig\022\035\n\020default_database\030\001 \001(\tB\003\340A" + - "\001\022\033\n\016default_schema\030\002 \001(\tB\003\340A\001\022\035\n\020defaul" + - "t_location\030\010 \001(\tB\003\340A\001\022\035\n\020assertion_schem" + - "a\030\003 \001(\tB\003\340A\001\022c\n\004vars\030\004 \003(\0132P.google.clou" + - "d.dataform.v1beta1.CompilationResult.Cod" + - "eCompilationConfig.VarsEntryB\003\340A\001\022\034\n\017dat" + - "abase_suffix\030\005 \001(\tB\003\340A\001\022\032\n\rschema_suffix" + - "\030\006 \001(\tB\003\340A\001\022\031\n\014table_prefix\030\007 \001(\tB\003\340A\001\032+" + - "\n\tVarsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:" + - "\0028\001\032\222\001\n\020CompilationError\022\024\n\007message\030\001 \001(" + - "\tB\003\340A\003\022\022\n\005stack\030\002 \001(\tB\003\340A\003\022\021\n\004path\030\003 \001(\t" + - "B\003\340A\003\022A\n\raction_target\030\004 \001(\0132%.google.cl" + - "oud.dataform.v1beta1.TargetB\003\340A\003:\232\001\352A\226\001\n" + - ")dataform.googleapis.com/CompilationResu" + - "lt\022iprojects/{project}/locations/{locati" + - "on}/repositories/{repository}/compilatio" + - "nResults/{compilation_result}B\010\n\006source\"" + - "\214\001\n\035ListCompilationResultsRequest\022:\n\006par" + - "ent\030\001 \001(\tB*\340A\002\372A$\n\"dataform.googleapis.c" + - "om/Repository\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n" + - "\npage_token\030\003 \001(\tB\003\340A\001\"\235\001\n\036ListCompilati" + - "onResultsResponse\022M\n\023compilation_results" + - "\030\001 \003(\01320.google.cloud.dataform.v1beta1.C" + - "ompilationResult\022\027\n\017next_page_token\030\002 \001(" + - "\t\022\023\n\013unreachable\030\003 \003(\t\"^\n\033GetCompilation" + - "ResultRequest\022?\n\004name\030\001 \001(\tB1\340A\002\372A+\n)dat" + - "aform.googleapis.com/CompilationResult\"\257" + - "\001\n\036CreateCompilationResultRequest\022:\n\006par" + - "ent\030\001 \001(\tB*\340A\002\372A$\n\"dataform.googleapis.c" + - "om/Repository\022Q\n\022compilation_result\030\002 \001(" + - "\01320.google.cloud.dataform.v1beta1.Compil" + - "ationResultB\003\340A\002\"8\n\006Target\022\020\n\010database\030\001" + - " \001(\t\022\016\n\006schema\030\002 \001(\t\022\014\n\004name\030\003 \001(\t\"\352\002\n\022R" + - "elationDescriptor\022\023\n\013description\030\001 \001(\t\022S" + - "\n\007columns\030\002 \003(\0132B.google.cloud.dataform." + - "v1beta1.RelationDescriptor.ColumnDescrip" + - "tor\022^\n\017bigquery_labels\030\003 \003(\0132E.google.cl" + - "oud.dataform.v1beta1.RelationDescriptor." + - "BigqueryLabelsEntry\032S\n\020ColumnDescriptor\022" + - "\014\n\004path\030\001 \003(\t\022\023\n\013description\030\002 \001(\t\022\034\n\024bi" + - "gquery_policy_tags\030\003 \003(\t\0325\n\023BigqueryLabe" + - "lsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"" + - "\323\021\n\027CompilationResultAction\0225\n\006target\030\001 " + - "\001(\0132%.google.cloud.dataform.v1beta1.Targ" + - "et\022?\n\020canonical_target\030\002 \001(\0132%.google.cl" + - "oud.dataform.v1beta1.Target\022\021\n\tfile_path" + - "\030\003 \001(\t\022S\n\010relation\030\004 \001(\0132?.google.cloud." + - "dataform.v1beta1.CompilationResultAction" + - ".RelationH\000\022W\n\noperations\030\005 \001(\0132A.google" + - ".cloud.dataform.v1beta1.CompilationResul" + - "tAction.OperationsH\000\022U\n\tassertion\030\006 \001(\0132" + - "@.google.cloud.dataform.v1beta1.Compilat" + - "ionResultAction.AssertionH\000\022Y\n\013declarati" + - "on\030\007 \001(\0132B.google.cloud.dataform.v1beta1" + - ".CompilationResultAction.DeclarationH\000\032\336" + - "\010\n\010Relation\022A\n\022dependency_targets\030\001 \003(\0132" + - "%.google.cloud.dataform.v1beta1.Target\022\020" + - "\n\010disabled\030\002 \001(\010\022\014\n\004tags\030\003 \003(\t\022N\n\023relati" + - "on_descriptor\030\004 \001(\01321.google.cloud.dataf" + - "orm.v1beta1.RelationDescriptor\022c\n\rrelati" + - "on_type\030\005 \001(\0162L.google.cloud.dataform.v1" + - "beta1.CompilationResultAction.Relation.R" + - "elationType\022\024\n\014select_query\030\006 \001(\t\022\026\n\016pre" + - "_operations\030\007 \003(\t\022\027\n\017post_operations\030\010 \003" + - "(\t\022x\n\030incremental_table_config\030\t \001(\0132V.g" + - "oogle.cloud.dataform.v1beta1.Compilation" + - "ResultAction.Relation.IncrementalTableCo" + - "nfig\022\034\n\024partition_expression\030\n \001(\t\022\033\n\023cl" + - "uster_expressions\030\013 \003(\t\022!\n\031partition_exp" + - "iration_days\030\014 \001(\005\022 \n\030require_partition_" + - "filter\030\r \001(\010\022r\n\022additional_options\030\016 \003(\013" + - "2V.google.cloud.dataform.v1beta1.Compila" + - "tionResultAction.Relation.AdditionalOpti" + - "onsEntry\032\330\001\n\026IncrementalTableConfig\022 \n\030i" + - "ncremental_select_query\030\001 \001(\t\022\030\n\020refresh" + - "_disabled\030\002 \001(\010\022\030\n\020unique_key_parts\030\003 \003(" + - "\t\022\037\n\027update_partition_filter\030\004 \001(\t\022\"\n\032in" + - "cremental_pre_operations\030\005 \003(\t\022#\n\033increm" + - "ental_post_operations\030\006 \003(\t\0328\n\026Additiona" + - "lOptionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(" + - "\t:\0028\001\"p\n\014RelationType\022\035\n\031RELATION_TYPE_U" + - "NSPECIFIED\020\000\022\t\n\005TABLE\020\001\022\010\n\004VIEW\020\002\022\025\n\021INC" + - "REMENTAL_TABLE\020\003\022\025\n\021MATERIALIZED_VIEW\020\004\032" + - "\344\001\n\nOperations\022A\n\022dependency_targets\030\001 \003" + - "(\0132%.google.cloud.dataform.v1beta1.Targe" + - "t\022\020\n\010disabled\030\002 \001(\010\022\014\n\004tags\030\003 \003(\t\022N\n\023rel" + - "ation_descriptor\030\006 \001(\01321.google.cloud.da" + - "taform.v1beta1.RelationDescriptor\022\017\n\007que" + - "ries\030\004 \003(\t\022\022\n\nhas_output\030\005 \001(\010\032\222\002\n\tAsser" + - "tion\022A\n\022dependency_targets\030\001 \003(\0132%.googl" + - "e.cloud.dataform.v1beta1.Target\022<\n\rparen" + - "t_action\030\005 \001(\0132%.google.cloud.dataform.v" + - "1beta1.Target\022\020\n\010disabled\030\002 \001(\010\022\014\n\004tags\030" + - "\003 \003(\t\022\024\n\014select_query\030\004 \001(\t\022N\n\023relation_" + - "descriptor\030\006 \001(\01321.google.cloud.dataform" + - ".v1beta1.RelationDescriptor\032]\n\013Declarati" + - "on\022N\n\023relation_descriptor\030\001 \001(\01321.google" + - ".cloud.dataform.v1beta1.RelationDescript" + - "orB\021\n\017compiled_object\"\255\001\n$QueryCompilati" + - "onResultActionsRequest\022?\n\004name\030\001 \001(\tB1\340A" + - "\002\372A+\n)dataform.googleapis.com/Compilatio" + - "nResult\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_" + - "token\030\003 \001(\tB\003\340A\001\022\023\n\006filter\030\004 \001(\tB\003\340A\001\"\234\001" + - "\n%QueryCompilationResultActionsResponse\022" + - "Z\n\032compilation_result_actions\030\001 \003(\01326.go" + - "ogle.cloud.dataform.v1beta1.CompilationR" + - "esultAction\022\027\n\017next_page_token\030\002 \001(\t\"\356\006\n" + - "\022WorkflowInvocation\022\021\n\004name\030\001 \001(\tB\003\340A\003\022M" + - "\n\022compilation_result\030\002 \001(\tB1\340A\005\372A+\n)data" + - "form.googleapis.com/CompilationResult\022b\n" + - "\021invocation_config\030\003 \001(\0132B.google.cloud." + - "dataform.v1beta1.WorkflowInvocation.Invo" + - "cationConfigB\003\340A\005\022K\n\005state\030\004 \001(\01627.googl" + - "e.cloud.dataform.v1beta1.WorkflowInvocat" + - "ion.StateB\003\340A\003\0225\n\021invocation_timing\030\005 \001(" + - "\0132\025.google.type.IntervalB\003\340A\003\032\207\002\n\020Invoca" + - "tionConfig\022D\n\020included_targets\030\001 \003(\0132%.g" + - "oogle.cloud.dataform.v1beta1.TargetB\003\340A\005" + - "\022\032\n\rincluded_tags\030\002 \003(\tB\003\340A\005\022-\n transiti" + - "ve_dependencies_included\030\003 \001(\010B\003\340A\005\022+\n\036t" + - "ransitive_dependents_included\030\004 \001(\010B\003\340A\005" + - "\0225\n(fully_refresh_incremental_tables_ena" + - "bled\030\005 \001(\010B\003\340A\005\"d\n\005State\022\025\n\021STATE_UNSPEC" + - "IFIED\020\000\022\013\n\007RUNNING\020\001\022\r\n\tSUCCEEDED\020\002\022\r\n\tC" + - "ANCELLED\020\003\022\n\n\006FAILED\020\004\022\r\n\tCANCELING\020\005:\235\001" + - "\352A\231\001\n*dataform.googleapis.com/WorkflowIn" + - "vocation\022kprojects/{project}/locations/{" + - "location}/repositories/{repository}/work" + - "flowInvocations/{workflow_invocation}\"\215\001" + - "\n\036ListWorkflowInvocationsRequest\022:\n\006pare" + - "nt\030\001 \001(\tB*\340A\002\372A$\n\"dataform.googleapis.co" + - "m/Repository\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\n" + - "page_token\030\003 \001(\tB\003\340A\001\"\240\001\n\037ListWorkflowIn" + - "vocationsResponse\022O\n\024workflow_invocation" + - "s\030\001 \003(\01321.google.cloud.dataform.v1beta1." + - "WorkflowInvocation\022\027\n\017next_page_token\030\002 " + - "\001(\t\022\023\n\013unreachable\030\003 \003(\t\"`\n\034GetWorkflowI" + - "nvocationRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*" + - "dataform.googleapis.com/WorkflowInvocati" + - "on\"\262\001\n\037CreateWorkflowInvocationRequest\022:" + - "\n\006parent\030\001 \001(\tB*\340A\002\372A$\n\"dataform.googlea" + - "pis.com/Repository\022S\n\023workflow_invocatio" + - "n\030\002 \001(\01321.google.cloud.dataform.v1beta1." + - "WorkflowInvocationB\003\340A\002\"c\n\037DeleteWorkflo" + - "wInvocationRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A," + - "\n*dataform.googleapis.com/WorkflowInvoca" + - "tion\"c\n\037CancelWorkflowInvocationRequest\022" + - "@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*dataform.googleap" + - "is.com/WorkflowInvocation\"\274\004\n\030WorkflowIn" + - "vocationAction\022:\n\006target\030\001 \001(\0132%.google." + - "cloud.dataform.v1beta1.TargetB\003\340A\003\022D\n\020ca" + - "nonical_target\030\002 \001(\0132%.google.cloud.data" + - "form.v1beta1.TargetB\003\340A\003\022Q\n\005state\030\004 \001(\0162" + - "=.google.cloud.dataform.v1beta1.Workflow" + - "InvocationAction.StateB\003\340A\003\022\033\n\016failure_r" + - "eason\030\007 \001(\tB\003\340A\003\0225\n\021invocation_timing\030\005 " + - "\001(\0132\025.google.type.IntervalB\003\340A\003\022d\n\017bigqu" + - "ery_action\030\006 \001(\0132F.google.cloud.dataform" + - ".v1beta1.WorkflowInvocationAction.BigQue" + - "ryActionB\003\340A\003\032)\n\016BigQueryAction\022\027\n\nsql_s" + - "cript\030\001 \001(\tB\003\340A\003\"f\n\005State\022\013\n\007PENDING\020\000\022\013" + - "\n\007RUNNING\020\001\022\013\n\007SKIPPED\020\002\022\014\n\010DISABLED\020\003\022\r" + - "\n\tSUCCEEDED\020\004\022\r\n\tCANCELLED\020\005\022\n\n\006FAILED\020\006" + - "\"\232\001\n%QueryWorkflowInvocationActionsReque" + - "st\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*dataform.googl" + - "eapis.com/WorkflowInvocation\022\026\n\tpage_siz" + - "e\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001\"\237\001" + - "\n&QueryWorkflowInvocationActionsResponse" + - "\022\\\n\033workflow_invocation_actions\030\001 \003(\01327." + - "google.cloud.dataform.v1beta1.WorkflowIn" + - "vocationAction\022\027\n\017next_page_token\030\002 \001(\t2" + - "\313>\n\010Dataform\022\313\001\n\020ListRepositories\0226.goog" + - "le.cloud.dataform.v1beta1.ListRepositori" + - "esRequest\0327.google.cloud.dataform.v1beta" + - "1.ListRepositoriesResponse\"F\202\323\344\223\0027\0225/v1b" + - "eta1/{parent=projects/*/locations/*}/rep" + - "ositories\332A\006parent\022\265\001\n\rGetRepository\0223.g" + - "oogle.cloud.dataform.v1beta1.GetReposito" + - "ryRequest\032).google.cloud.dataform.v1beta" + - "1.Repository\"D\202\323\344\223\0027\0225/v1beta1/{name=pro" + - "jects/*/locations/*/repositories/*}\332A\004na" + - "me\022\342\001\n\020CreateRepository\0226.google.cloud.d" + - "ataform.v1beta1.CreateRepositoryRequest\032" + - ").google.cloud.dataform.v1beta1.Reposito" + - "ry\"k\202\323\344\223\002C\"5/v1beta1/{parent=projects/*/" + - "locations/*}/repositories:\nrepository\332A\037" + - "parent,repository,repository_id\022\344\001\n\020Upda" + - "teRepository\0226.google.cloud.dataform.v1b" + - "eta1.UpdateRepositoryRequest\032).google.cl" + - "oud.dataform.v1beta1.Repository\"m\202\323\344\223\002N2" + - "@/v1beta1/{repository.name=projects/*/lo" + - "cations/*/repositories/*}:\nrepository\332A\026" + - "repository,update_mask\022\250\001\n\020DeleteReposit" + - "ory\0226.google.cloud.dataform.v1beta1.Dele" + - "teRepositoryRequest\032\026.google.protobuf.Em" + - "pty\"D\202\323\344\223\0027*5/v1beta1/{name=projects/*/l" + - "ocations/*/repositories/*}\332A\004name\022\337\001\n\023Fe" + - "tchRemoteBranches\0229.google.cloud.datafor" + - "m.v1beta1.FetchRemoteBranchesRequest\032:.g" + - "oogle.cloud.dataform.v1beta1.FetchRemote" + - "BranchesResponse\"Q\202\323\344\223\002K\022I/v1beta1/{name" + - "=projects/*/locations/*/repositories/*}:" + - "fetchRemoteBranches\022\322\001\n\016ListWorkspaces\0224" + - ".google.cloud.dataform.v1beta1.ListWorks" + - "pacesRequest\0325.google.cloud.dataform.v1b" + - "eta1.ListWorkspacesResponse\"S\202\323\344\223\002D\022B/v1" + - "beta1/{parent=projects/*/locations/*/rep" + - "ositories/*}/workspaces\332A\006parent\022\277\001\n\014Get" + - "Workspace\0222.google.cloud.dataform.v1beta" + - "1.GetWorkspaceRequest\032(.google.cloud.dat" + - "aform.v1beta1.Workspace\"Q\202\323\344\223\002D\022B/v1beta" + - "1/{name=projects/*/locations/*/repositor" + - "ies/*/workspaces/*}\332A\004name\022\351\001\n\017CreateWor" + - "kspace\0225.google.cloud.dataform.v1beta1.C" + - "reateWorkspaceRequest\032(.google.cloud.dat" + - "aform.v1beta1.Workspace\"u\202\323\344\223\002O\"B/v1beta" + - "1/{parent=projects/*/locations/*/reposit" + - "ories/*}/workspaces:\tworkspace\332A\035parent," + - "workspace,workspace_id\022\263\001\n\017DeleteWorkspa" + - "ce\0225.google.cloud.dataform.v1beta1.Delet" + - "eWorkspaceRequest\032\026.google.protobuf.Empt" + - "y\"Q\202\323\344\223\002D*B/v1beta1/{name=projects/*/loc" + - "ations/*/repositories/*/workspaces/*}\332A\004" + - "name\022\360\001\n\022InstallNpmPackages\0228.google.clo" + - "ud.dataform.v1beta1.InstallNpmPackagesRe" + - "quest\0329.google.cloud.dataform.v1beta1.In" + - "stallNpmPackagesResponse\"e\202\323\344\223\002_\"Z/v1bet" + - "a1/{workspace=projects/*/locations/*/rep" + - "ositories/*/workspaces/*}:installNpmPack" + - "ages:\001*\022\262\001\n\016PullGitCommits\0224.google.clou" + - "d.dataform.v1beta1.PullGitCommitsRequest" + - "\032\026.google.protobuf.Empty\"R\202\323\344\223\002L\"G/v1bet" + - "a1/{name=projects/*/locations/*/reposito" + - "ries/*/workspaces/*}:pull:\001*\022\262\001\n\016PushGit" + - "Commits\0224.google.cloud.dataform.v1beta1." + - "PushGitCommitsRequest\032\026.google.protobuf." + - "Empty\"R\202\323\344\223\002L\"G/v1beta1/{name=projects/*" + - "/locations/*/repositories/*/workspaces/*" + - "}:push:\001*\022\360\001\n\024FetchFileGitStatuses\022:.goo" + - "gle.cloud.dataform.v1beta1.FetchFileGitS" + - "tatusesRequest\032;.google.cloud.dataform.v" + - "1beta1.FetchFileGitStatusesResponse\"_\202\323\344" + - "\223\002Y\022W/v1beta1/{name=projects/*/locations" + - "/*/repositories/*/workspaces/*}:fetchFil" + - "eGitStatuses\022\354\001\n\023FetchGitAheadBehind\0229.g" + - "oogle.cloud.dataform.v1beta1.FetchGitAhe" + - "adBehindRequest\032:.google.cloud.dataform." + - "v1beta1.FetchGitAheadBehindResponse\"^\202\323\344" + - "\223\002X\022V/v1beta1/{name=projects/*/locations" + - "/*/repositories/*/workspaces/*}:fetchGit", - "AheadBehind\022\304\001\n\026CommitWorkspaceChanges\022<" + - ".google.cloud.dataform.v1beta1.CommitWor" + - "kspaceChangesRequest\032\026.google.protobuf.E" + - "mpty\"T\202\323\344\223\002N\"I/v1beta1/{name=projects/*/" + - "locations/*/repositories/*/workspaces/*}" + - ":commit:\001*\022\301\001\n\025ResetWorkspaceChanges\022;.g" + - "oogle.cloud.dataform.v1beta1.ResetWorksp" + - "aceChangesRequest\032\026.google.protobuf.Empt" + - "y\"S\202\323\344\223\002M\"H/v1beta1/{name=projects/*/loc" + - "ations/*/repositories/*/workspaces/*}:re" + - "set:\001*\022\331\001\n\rFetchFileDiff\0223.google.cloud." + - "dataform.v1beta1.FetchFileDiffRequest\0324." + - "google.cloud.dataform.v1beta1.FetchFileD" + - "iffResponse\"]\202\323\344\223\002W\022U/v1beta1/{workspace" + - "=projects/*/locations/*/repositories/*/w" + - "orkspaces/*}:fetchFileDiff\022\375\001\n\026QueryDire" + - "ctoryContents\022<.google.cloud.dataform.v1" + - "beta1.QueryDirectoryContentsRequest\032=.go" + - "ogle.cloud.dataform.v1beta1.QueryDirecto" + - "ryContentsResponse\"f\202\323\344\223\002`\022^/v1beta1/{wo" + - "rkspace=projects/*/locations/*/repositor" + - "ies/*/workspaces/*}:queryDirectoryConten" + - "ts\022\334\001\n\rMakeDirectory\0223.google.cloud.data" + - "form.v1beta1.MakeDirectoryRequest\0324.goog" + - "le.cloud.dataform.v1beta1.MakeDirectoryR" + - "esponse\"`\202\323\344\223\002Z\"U/v1beta1/{workspace=pro" + - "jects/*/locations/*/repositories/*/works" + - "paces/*}:makeDirectory:\001*\022\304\001\n\017RemoveDire" + - "ctory\0225.google.cloud.dataform.v1beta1.Re" + - "moveDirectoryRequest\032\026.google.protobuf.E" + - "mpty\"b\202\323\344\223\002\\\"W/v1beta1/{workspace=projec" + - "ts/*/locations/*/repositories/*/workspac" + - "es/*}:removeDirectory:\001*\022\334\001\n\rMoveDirecto" + - "ry\0223.google.cloud.dataform.v1beta1.MoveD" + - "irectoryRequest\0324.google.cloud.dataform." + - "v1beta1.MoveDirectoryResponse\"`\202\323\344\223\002Z\"U/" + - "v1beta1/{workspace=projects/*/locations/" + - "*/repositories/*/workspaces/*}:moveDirec" + - "tory:\001*\022\305\001\n\010ReadFile\022..google.cloud.data" + - "form.v1beta1.ReadFileRequest\032/.google.cl" + - "oud.dataform.v1beta1.ReadFileResponse\"X\202" + - "\323\344\223\002R\022P/v1beta1/{workspace=projects/*/lo" + - "cations/*/repositories/*/workspaces/*}:r" + - "eadFile\022\265\001\n\nRemoveFile\0220.google.cloud.da" + - "taform.v1beta1.RemoveFileRequest\032\026.googl" + - "e.protobuf.Empty\"]\202\323\344\223\002W\"R/v1beta1/{work" + - "space=projects/*/locations/*/repositorie" + - "s/*/workspaces/*}:removeFile:\001*\022\310\001\n\010Move" + - "File\022..google.cloud.dataform.v1beta1.Mov" + - "eFileRequest\032/.google.cloud.dataform.v1b" + - "eta1.MoveFileResponse\"[\202\323\344\223\002U\"P/v1beta1/" + - "{workspace=projects/*/locations/*/reposi" + - "tories/*/workspaces/*}:moveFile:\001*\022\314\001\n\tW" + - "riteFile\022/.google.cloud.dataform.v1beta1" + - ".WriteFileRequest\0320.google.cloud.datafor" + - "m.v1beta1.WriteFileResponse\"\\\202\323\344\223\002V\"Q/v1" + - "beta1/{workspace=projects/*/locations/*/" + - "repositories/*/workspaces/*}:writeFile:\001" + - "*\022\362\001\n\026ListCompilationResults\022<.google.cl" + - "oud.dataform.v1beta1.ListCompilationResu" + - "ltsRequest\032=.google.cloud.dataform.v1bet" + - "a1.ListCompilationResultsResponse\"[\202\323\344\223\002" + - "L\022J/v1beta1/{parent=projects/*/locations" + - "/*/repositories/*}/compilationResults\332A\006" + - "parent\022\337\001\n\024GetCompilationResult\022:.google" + - ".cloud.dataform.v1beta1.GetCompilationRe" + - "sultRequest\0320.google.cloud.dataform.v1be" + - "ta1.CompilationResult\"Y\202\323\344\223\002L\022J/v1beta1/" + - "{name=projects/*/locations/*/repositorie" + - "s/*/compilationResults/*}\332A\004name\022\217\002\n\027Cre" + - "ateCompilationResult\022=.google.cloud.data" + - "form.v1beta1.CreateCompilationResultRequ" + - "est\0320.google.cloud.dataform.v1beta1.Comp" + - "ilationResult\"\202\001\202\323\344\223\002`\"J/v1beta1/{parent" + - "=projects/*/locations/*/repositories/*}/" + - "compilationResults:\022compilation_result\332A" + - "\031parent,compilation_result\022\204\002\n\035QueryComp" + - "ilationResultActions\022C.google.cloud.data" + - "form.v1beta1.QueryCompilationResultActio" + - "nsRequest\032D.google.cloud.dataform.v1beta" + - "1.QueryCompilationResultActionsResponse\"" + - "X\202\323\344\223\002R\022P/v1beta1/{name=projects/*/locat" + - "ions/*/repositories/*/compilationResults" + - "/*}:query\022\366\001\n\027ListWorkflowInvocations\022=." + - "google.cloud.dataform.v1beta1.ListWorkfl" + - "owInvocationsRequest\032>.google.cloud.data" + - "form.v1beta1.ListWorkflowInvocationsResp" + - "onse\"\\\202\323\344\223\002M\022K/v1beta1/{parent=projects/" + - "*/locations/*/repositories/*}/workflowIn" + - "vocations\332A\006parent\022\343\001\n\025GetWorkflowInvoca" + - "tion\022;.google.cloud.dataform.v1beta1.Get" + - "WorkflowInvocationRequest\0321.google.cloud" + - ".dataform.v1beta1.WorkflowInvocation\"Z\202\323" + - "\344\223\002M\022K/v1beta1/{name=projects/*/location" + - "s/*/repositories/*/workflowInvocations/*" + - "}\332A\004name\022\225\002\n\030CreateWorkflowInvocation\022>." + - "google.cloud.dataform.v1beta1.CreateWork" + - "flowInvocationRequest\0321.google.cloud.dat" + - "aform.v1beta1.WorkflowInvocation\"\205\001\202\323\344\223\002" + - "b\"K/v1beta1/{parent=projects/*/locations" + - "/*/repositories/*}/workflowInvocations:\023" + - "workflow_invocation\332A\032parent,workflow_in" + - "vocation\022\316\001\n\030DeleteWorkflowInvocation\022>." + - "google.cloud.dataform.v1beta1.DeleteWork" + - "flowInvocationRequest\032\026.google.protobuf." + - "Empty\"Z\202\323\344\223\002M*K/v1beta1/{name=projects/*" + - "/locations/*/repositories/*/workflowInvo" + - "cations/*}\332A\004name\022\321\001\n\030CancelWorkflowInvo" + - "cation\022>.google.cloud.dataform.v1beta1.C" + - "ancelWorkflowInvocationRequest\032\026.google." + - "protobuf.Empty\"]\202\323\344\223\002W\"R/v1beta1/{name=p" + - "rojects/*/locations/*/repositories/*/wor" + - "kflowInvocations/*}:cancel:\001*\022\210\002\n\036QueryW" + - "orkflowInvocationActions\022D.google.cloud." + - "dataform.v1beta1.QueryWorkflowInvocation" + - "ActionsRequest\032E.google.cloud.dataform.v" + - "1beta1.QueryWorkflowInvocationActionsRes" + - "ponse\"Y\202\323\344\223\002S\022Q/v1beta1/{name=projects/*" + - "/locations/*/repositories/*/workflowInvo" + - "cations/*}:query\032K\312A\027dataform.googleapis" + - ".com\322A.https://www.googleapis.com/auth/c" + - "loud-platformB\305\002\n!com.google.cloud.dataf" + - "orm.v1beta1B\rDataformProtoP\001ZEgoogle.gol" + - "ang.org/genproto/googleapis/cloud/datafo" + - "rm/v1beta1;dataform\252\002\035Google.Cloud.Dataf" + - "orm.V1Beta1\312\002\035Google\\Cloud\\Dataform\\V1be" + - "ta1\352\002 Google::Cloud::Dataform::V1beta1\352A" + - "d\n*secretmanager.googleapis.com/SecretVe" + - "rsion\0226projects/{project}/secrets/{secre" + - "t}/versions/{version}b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.type.IntervalProto.getDescriptor(), - }); - internal_static_google_cloud_dataform_v1beta1_Repository_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_dataform_v1beta1_Repository_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_Repository_descriptor, - new java.lang.String[] { "Name", "GitRemoteSettings", }); - internal_static_google_cloud_dataform_v1beta1_Repository_GitRemoteSettings_descriptor = - internal_static_google_cloud_dataform_v1beta1_Repository_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataform_v1beta1_Repository_GitRemoteSettings_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_Repository_GitRemoteSettings_descriptor, - new java.lang.String[] { "Url", "DefaultBranch", "AuthenticationTokenSecretVersion", "TokenStatus", }); - internal_static_google_cloud_dataform_v1beta1_ListRepositoriesRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_dataform_v1beta1_ListRepositoriesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_ListRepositoriesRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "OrderBy", "Filter", }); - internal_static_google_cloud_dataform_v1beta1_ListRepositoriesResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_dataform_v1beta1_ListRepositoriesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_ListRepositoriesResponse_descriptor, - new java.lang.String[] { "Repositories", "NextPageToken", "Unreachable", }); - internal_static_google_cloud_dataform_v1beta1_GetRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_dataform_v1beta1_GetRepositoryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_GetRepositoryRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_dataform_v1beta1_CreateRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_dataform_v1beta1_CreateRepositoryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_CreateRepositoryRequest_descriptor, - new java.lang.String[] { "Parent", "Repository", "RepositoryId", }); - internal_static_google_cloud_dataform_v1beta1_UpdateRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_dataform_v1beta1_UpdateRepositoryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_UpdateRepositoryRequest_descriptor, - new java.lang.String[] { "UpdateMask", "Repository", }); - internal_static_google_cloud_dataform_v1beta1_DeleteRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_dataform_v1beta1_DeleteRepositoryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_DeleteRepositoryRequest_descriptor, - new java.lang.String[] { "Name", "Force", }); - internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesResponse_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesResponse_descriptor, - new java.lang.String[] { "Branches", }); - internal_static_google_cloud_dataform_v1beta1_Workspace_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_dataform_v1beta1_Workspace_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_Workspace_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_dataform_v1beta1_ListWorkspacesRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_dataform_v1beta1_ListWorkspacesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_ListWorkspacesRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "OrderBy", "Filter", }); - internal_static_google_cloud_dataform_v1beta1_ListWorkspacesResponse_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_dataform_v1beta1_ListWorkspacesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_ListWorkspacesResponse_descriptor, - new java.lang.String[] { "Workspaces", "NextPageToken", "Unreachable", }); - internal_static_google_cloud_dataform_v1beta1_GetWorkspaceRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_dataform_v1beta1_GetWorkspaceRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_GetWorkspaceRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_dataform_v1beta1_CreateWorkspaceRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_dataform_v1beta1_CreateWorkspaceRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_CreateWorkspaceRequest_descriptor, - new java.lang.String[] { "Parent", "Workspace", "WorkspaceId", }); - internal_static_google_cloud_dataform_v1beta1_DeleteWorkspaceRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_dataform_v1beta1_DeleteWorkspaceRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_DeleteWorkspaceRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_dataform_v1beta1_CommitAuthor_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_dataform_v1beta1_CommitAuthor_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_CommitAuthor_descriptor, - new java.lang.String[] { "Name", "EmailAddress", }); - internal_static_google_cloud_dataform_v1beta1_PullGitCommitsRequest_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_dataform_v1beta1_PullGitCommitsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_PullGitCommitsRequest_descriptor, - new java.lang.String[] { "Name", "RemoteBranch", "Author", }); - internal_static_google_cloud_dataform_v1beta1_PushGitCommitsRequest_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_dataform_v1beta1_PushGitCommitsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_PushGitCommitsRequest_descriptor, - new java.lang.String[] { "Name", "RemoteBranch", }); - internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesRequest_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_descriptor, - new java.lang.String[] { "UncommittedFileChanges", }); - internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_UncommittedFileChange_descriptor = - internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_UncommittedFileChange_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_UncommittedFileChange_descriptor, - new java.lang.String[] { "Path", "State", }); - internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindRequest_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindRequest_descriptor, - new java.lang.String[] { "Name", "RemoteBranch", }); - internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindResponse_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindResponse_descriptor, - new java.lang.String[] { "CommitsAhead", "CommitsBehind", }); - internal_static_google_cloud_dataform_v1beta1_CommitWorkspaceChangesRequest_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_cloud_dataform_v1beta1_CommitWorkspaceChangesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_CommitWorkspaceChangesRequest_descriptor, - new java.lang.String[] { "Name", "Author", "CommitMessage", "Paths", }); - internal_static_google_cloud_dataform_v1beta1_ResetWorkspaceChangesRequest_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_cloud_dataform_v1beta1_ResetWorkspaceChangesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_ResetWorkspaceChangesRequest_descriptor, - new java.lang.String[] { "Name", "Paths", "Clean", }); - internal_static_google_cloud_dataform_v1beta1_FetchFileDiffRequest_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_cloud_dataform_v1beta1_FetchFileDiffRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_FetchFileDiffRequest_descriptor, - new java.lang.String[] { "Workspace", "Path", }); - internal_static_google_cloud_dataform_v1beta1_FetchFileDiffResponse_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_cloud_dataform_v1beta1_FetchFileDiffResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_FetchFileDiffResponse_descriptor, - new java.lang.String[] { "FormattedDiff", }); - internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsRequest_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsRequest_descriptor, - new java.lang.String[] { "Workspace", "Path", "PageSize", "PageToken", }); - internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_descriptor = - getDescriptor().getMessageTypes().get(27); - internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_descriptor, - new java.lang.String[] { "DirectoryEntries", "NextPageToken", }); - internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_DirectoryEntry_descriptor = - internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_DirectoryEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_DirectoryEntry_descriptor, - new java.lang.String[] { "File", "Directory", "Entry", }); - internal_static_google_cloud_dataform_v1beta1_MakeDirectoryRequest_descriptor = - getDescriptor().getMessageTypes().get(28); - internal_static_google_cloud_dataform_v1beta1_MakeDirectoryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_MakeDirectoryRequest_descriptor, - new java.lang.String[] { "Workspace", "Path", }); - internal_static_google_cloud_dataform_v1beta1_MakeDirectoryResponse_descriptor = - getDescriptor().getMessageTypes().get(29); - internal_static_google_cloud_dataform_v1beta1_MakeDirectoryResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_MakeDirectoryResponse_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_dataform_v1beta1_RemoveDirectoryRequest_descriptor = - getDescriptor().getMessageTypes().get(30); - internal_static_google_cloud_dataform_v1beta1_RemoveDirectoryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_RemoveDirectoryRequest_descriptor, - new java.lang.String[] { "Workspace", "Path", }); - internal_static_google_cloud_dataform_v1beta1_MoveDirectoryRequest_descriptor = - getDescriptor().getMessageTypes().get(31); - internal_static_google_cloud_dataform_v1beta1_MoveDirectoryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_MoveDirectoryRequest_descriptor, - new java.lang.String[] { "Workspace", "Path", "NewPath", }); - internal_static_google_cloud_dataform_v1beta1_MoveDirectoryResponse_descriptor = - getDescriptor().getMessageTypes().get(32); - internal_static_google_cloud_dataform_v1beta1_MoveDirectoryResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_MoveDirectoryResponse_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_dataform_v1beta1_ReadFileRequest_descriptor = - getDescriptor().getMessageTypes().get(33); - internal_static_google_cloud_dataform_v1beta1_ReadFileRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_ReadFileRequest_descriptor, - new java.lang.String[] { "Workspace", "Path", }); - internal_static_google_cloud_dataform_v1beta1_ReadFileResponse_descriptor = - getDescriptor().getMessageTypes().get(34); - internal_static_google_cloud_dataform_v1beta1_ReadFileResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_ReadFileResponse_descriptor, - new java.lang.String[] { "FileContents", }); - internal_static_google_cloud_dataform_v1beta1_RemoveFileRequest_descriptor = - getDescriptor().getMessageTypes().get(35); - internal_static_google_cloud_dataform_v1beta1_RemoveFileRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_RemoveFileRequest_descriptor, - new java.lang.String[] { "Workspace", "Path", }); - internal_static_google_cloud_dataform_v1beta1_MoveFileRequest_descriptor = - getDescriptor().getMessageTypes().get(36); - internal_static_google_cloud_dataform_v1beta1_MoveFileRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_MoveFileRequest_descriptor, - new java.lang.String[] { "Workspace", "Path", "NewPath", }); - internal_static_google_cloud_dataform_v1beta1_MoveFileResponse_descriptor = - getDescriptor().getMessageTypes().get(37); - internal_static_google_cloud_dataform_v1beta1_MoveFileResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_MoveFileResponse_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_dataform_v1beta1_WriteFileRequest_descriptor = - getDescriptor().getMessageTypes().get(38); - internal_static_google_cloud_dataform_v1beta1_WriteFileRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_WriteFileRequest_descriptor, - new java.lang.String[] { "Workspace", "Path", "Contents", }); - internal_static_google_cloud_dataform_v1beta1_WriteFileResponse_descriptor = - getDescriptor().getMessageTypes().get(39); - internal_static_google_cloud_dataform_v1beta1_WriteFileResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_WriteFileResponse_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesRequest_descriptor = - getDescriptor().getMessageTypes().get(40); - internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesRequest_descriptor, - new java.lang.String[] { "Workspace", }); - internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesResponse_descriptor = - getDescriptor().getMessageTypes().get(41); - internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesResponse_descriptor, - new java.lang.String[] { }); - internal_static_google_cloud_dataform_v1beta1_CompilationResult_descriptor = - getDescriptor().getMessageTypes().get(42); - internal_static_google_cloud_dataform_v1beta1_CompilationResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_CompilationResult_descriptor, - new java.lang.String[] { "Name", "GitCommitish", "Workspace", "CodeCompilationConfig", "DataformCoreVersion", "CompilationErrors", "Source", }); - internal_static_google_cloud_dataform_v1beta1_CompilationResult_CodeCompilationConfig_descriptor = - internal_static_google_cloud_dataform_v1beta1_CompilationResult_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataform_v1beta1_CompilationResult_CodeCompilationConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_CompilationResult_CodeCompilationConfig_descriptor, - new java.lang.String[] { "DefaultDatabase", "DefaultSchema", "DefaultLocation", "AssertionSchema", "Vars", "DatabaseSuffix", "SchemaSuffix", "TablePrefix", }); - internal_static_google_cloud_dataform_v1beta1_CompilationResult_CodeCompilationConfig_VarsEntry_descriptor = - internal_static_google_cloud_dataform_v1beta1_CompilationResult_CodeCompilationConfig_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataform_v1beta1_CompilationResult_CodeCompilationConfig_VarsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_CompilationResult_CodeCompilationConfig_VarsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_dataform_v1beta1_CompilationResult_CompilationError_descriptor = - internal_static_google_cloud_dataform_v1beta1_CompilationResult_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_dataform_v1beta1_CompilationResult_CompilationError_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_CompilationResult_CompilationError_descriptor, - new java.lang.String[] { "Message", "Stack", "Path", "ActionTarget", }); - internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsRequest_descriptor = - getDescriptor().getMessageTypes().get(43); - internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsResponse_descriptor = - getDescriptor().getMessageTypes().get(44); - internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsResponse_descriptor, - new java.lang.String[] { "CompilationResults", "NextPageToken", "Unreachable", }); - internal_static_google_cloud_dataform_v1beta1_GetCompilationResultRequest_descriptor = - getDescriptor().getMessageTypes().get(45); - internal_static_google_cloud_dataform_v1beta1_GetCompilationResultRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_GetCompilationResultRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_dataform_v1beta1_CreateCompilationResultRequest_descriptor = - getDescriptor().getMessageTypes().get(46); - internal_static_google_cloud_dataform_v1beta1_CreateCompilationResultRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_CreateCompilationResultRequest_descriptor, - new java.lang.String[] { "Parent", "CompilationResult", }); - internal_static_google_cloud_dataform_v1beta1_Target_descriptor = - getDescriptor().getMessageTypes().get(47); - internal_static_google_cloud_dataform_v1beta1_Target_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_Target_descriptor, - new java.lang.String[] { "Database", "Schema", "Name", }); - internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_descriptor = - getDescriptor().getMessageTypes().get(48); - internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_descriptor, - new java.lang.String[] { "Description", "Columns", "BigqueryLabels", }); - internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_ColumnDescriptor_descriptor = - internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_ColumnDescriptor_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_ColumnDescriptor_descriptor, - new java.lang.String[] { "Path", "Description", "BigqueryPolicyTags", }); - internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_BigqueryLabelsEntry_descriptor = - internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_BigqueryLabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_BigqueryLabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_descriptor = - getDescriptor().getMessageTypes().get(49); - internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_descriptor, - new java.lang.String[] { "Target", "CanonicalTarget", "FilePath", "Relation", "Operations", "Assertion", "Declaration", "CompiledObject", }); - internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_descriptor = - internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_descriptor, - new java.lang.String[] { "DependencyTargets", "Disabled", "Tags", "RelationDescriptor", "RelationType", "SelectQuery", "PreOperations", "PostOperations", "IncrementalTableConfig", "PartitionExpression", "ClusterExpressions", "PartitionExpirationDays", "RequirePartitionFilter", "AdditionalOptions", }); - internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_IncrementalTableConfig_descriptor = - internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_IncrementalTableConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_IncrementalTableConfig_descriptor, - new java.lang.String[] { "IncrementalSelectQuery", "RefreshDisabled", "UniqueKeyParts", "UpdatePartitionFilter", "IncrementalPreOperations", "IncrementalPostOperations", }); - internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_AdditionalOptionsEntry_descriptor = - internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_AdditionalOptionsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_AdditionalOptionsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Operations_descriptor = - internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Operations_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Operations_descriptor, - new java.lang.String[] { "DependencyTargets", "Disabled", "Tags", "RelationDescriptor", "Queries", "HasOutput", }); - internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Assertion_descriptor = - internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Assertion_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Assertion_descriptor, - new java.lang.String[] { "DependencyTargets", "ParentAction", "Disabled", "Tags", "SelectQuery", "RelationDescriptor", }); - internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Declaration_descriptor = - internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_descriptor.getNestedTypes().get(3); - internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Declaration_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Declaration_descriptor, - new java.lang.String[] { "RelationDescriptor", }); - internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsRequest_descriptor = - getDescriptor().getMessageTypes().get(50); - internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsRequest_descriptor, - new java.lang.String[] { "Name", "PageSize", "PageToken", "Filter", }); - internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsResponse_descriptor = - getDescriptor().getMessageTypes().get(51); - internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsResponse_descriptor, - new java.lang.String[] { "CompilationResultActions", "NextPageToken", }); - internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_descriptor = - getDescriptor().getMessageTypes().get(52); - internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_descriptor, - new java.lang.String[] { "Name", "CompilationResult", "InvocationConfig", "State", "InvocationTiming", }); - internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_InvocationConfig_descriptor = - internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_InvocationConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_InvocationConfig_descriptor, - new java.lang.String[] { "IncludedTargets", "IncludedTags", "TransitiveDependenciesIncluded", "TransitiveDependentsIncluded", "FullyRefreshIncrementalTablesEnabled", }); - internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsRequest_descriptor = - getDescriptor().getMessageTypes().get(53); - internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsResponse_descriptor = - getDescriptor().getMessageTypes().get(54); - internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsResponse_descriptor, - new java.lang.String[] { "WorkflowInvocations", "NextPageToken", "Unreachable", }); - internal_static_google_cloud_dataform_v1beta1_GetWorkflowInvocationRequest_descriptor = - getDescriptor().getMessageTypes().get(55); - internal_static_google_cloud_dataform_v1beta1_GetWorkflowInvocationRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_GetWorkflowInvocationRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_dataform_v1beta1_CreateWorkflowInvocationRequest_descriptor = - getDescriptor().getMessageTypes().get(56); - internal_static_google_cloud_dataform_v1beta1_CreateWorkflowInvocationRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_CreateWorkflowInvocationRequest_descriptor, - new java.lang.String[] { "Parent", "WorkflowInvocation", }); - internal_static_google_cloud_dataform_v1beta1_DeleteWorkflowInvocationRequest_descriptor = - getDescriptor().getMessageTypes().get(57); - internal_static_google_cloud_dataform_v1beta1_DeleteWorkflowInvocationRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_DeleteWorkflowInvocationRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_dataform_v1beta1_CancelWorkflowInvocationRequest_descriptor = - getDescriptor().getMessageTypes().get(58); - internal_static_google_cloud_dataform_v1beta1_CancelWorkflowInvocationRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_CancelWorkflowInvocationRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_descriptor = - getDescriptor().getMessageTypes().get(59); - internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_descriptor, - new java.lang.String[] { "Target", "CanonicalTarget", "State", "FailureReason", "InvocationTiming", "BigqueryAction", }); - internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_BigQueryAction_descriptor = - internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_BigQueryAction_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_BigQueryAction_descriptor, - new java.lang.String[] { "SqlScript", }); - internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsRequest_descriptor = - getDescriptor().getMessageTypes().get(60); - internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsRequest_descriptor, - new java.lang.String[] { "Name", "PageSize", "PageToken", }); - internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsResponse_descriptor = - getDescriptor().getMessageTypes().get(61); - internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsResponse_descriptor, - new java.lang.String[] { "WorkflowInvocationActions", "NextPageToken", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceDefinition); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.type.IntervalProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteRepositoryRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteRepositoryRequestOrBuilder.java deleted file mode 100644 index 57725bb..0000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteRepositoryRequestOrBuilder.java +++ /dev/null @@ -1,41 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1beta1/dataform.proto - -package com.google.cloud.dataform.v1beta1; - -public interface DeleteRepositoryRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.DeleteRepositoryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The repository's name.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The repository's name.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); - - /** - *
-   * If set to true, any child resources of this repository will also be
-   * deleted. (Otherwise, the request will only succeed if the repository has no
-   * child resources.)
-   * 
- * - * bool force = 2; - * @return The force. - */ - boolean getForce(); -} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteWorkflowInvocationRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteWorkflowInvocationRequestOrBuilder.java deleted file mode 100644 index fcd278d..0000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteWorkflowInvocationRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1beta1/dataform.proto - -package com.google.cloud.dataform.v1beta1; - -public interface DeleteWorkflowInvocationRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The workflow invocation resource's name.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The workflow invocation resource's name.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteWorkspaceRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteWorkspaceRequestOrBuilder.java deleted file mode 100644 index f17aae7..0000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteWorkspaceRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1beta1/dataform.proto - -package com.google.cloud.dataform.v1beta1; - -public interface DeleteWorkspaceRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.DeleteWorkspaceRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The workspace resource's name.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The workspace resource's name.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileDiffRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileDiffRequestOrBuilder.java deleted file mode 100644 index 58d3dcd..0000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileDiffRequestOrBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1beta1/dataform.proto - -package com.google.cloud.dataform.v1beta1; - -public interface FetchFileDiffRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.FetchFileDiffRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The workspace's name.
-   * 
- * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The workspace. - */ - java.lang.String getWorkspace(); - /** - *
-   * Required. The workspace's name.
-   * 
- * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for workspace. - */ - com.google.protobuf.ByteString - getWorkspaceBytes(); - - /** - *
-   * Required. The file's full path including filename, relative to the workspace root.
-   * 
- * - * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The path. - */ - java.lang.String getPath(); - /** - *
-   * Required. The file's full path including filename, relative to the workspace root.
-   * 
- * - * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The bytes for path. - */ - com.google.protobuf.ByteString - getPathBytes(); -} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileDiffResponseOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileDiffResponseOrBuilder.java deleted file mode 100644 index 1032d85..0000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileDiffResponseOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1beta1/dataform.proto - -package com.google.cloud.dataform.v1beta1; - -public interface FetchFileDiffResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.FetchFileDiffResponse) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The raw formatted Git diff for the file.
-   * 
- * - * string formatted_diff = 1; - * @return The formattedDiff. - */ - java.lang.String getFormattedDiff(); - /** - *
-   * The raw formatted Git diff for the file.
-   * 
- * - * string formatted_diff = 1; - * @return The bytes for formattedDiff. - */ - com.google.protobuf.ByteString - getFormattedDiffBytes(); -} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileGitStatusesRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileGitStatusesRequestOrBuilder.java deleted file mode 100644 index 07de315..0000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileGitStatusesRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1beta1/dataform.proto - -package com.google.cloud.dataform.v1beta1; - -public interface FetchFileGitStatusesRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The workspace's name.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The workspace's name.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileGitStatusesResponseOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileGitStatusesResponseOrBuilder.java deleted file mode 100644 index fc9f10f..0000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileGitStatusesResponseOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1beta1/dataform.proto - -package com.google.cloud.dataform.v1beta1; - -public interface FetchFileGitStatusesResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * A list of all files which have uncommitted Git changes. There will only be
-   * a single entry for any given file.
-   * 
- * - * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; - */ - java.util.List - getUncommittedFileChangesList(); - /** - *
-   * A list of all files which have uncommitted Git changes. There will only be
-   * a single entry for any given file.
-   * 
- * - * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; - */ - com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange getUncommittedFileChanges(int index); - /** - *
-   * A list of all files which have uncommitted Git changes. There will only be
-   * a single entry for any given file.
-   * 
- * - * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; - */ - int getUncommittedFileChangesCount(); - /** - *
-   * A list of all files which have uncommitted Git changes. There will only be
-   * a single entry for any given file.
-   * 
- * - * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; - */ - java.util.List - getUncommittedFileChangesOrBuilderList(); - /** - *
-   * A list of all files which have uncommitted Git changes. There will only be
-   * a single entry for any given file.
-   * 
- * - * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; - */ - com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChangeOrBuilder getUncommittedFileChangesOrBuilder( - int index); -} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchRemoteBranchesRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchRemoteBranchesRequestOrBuilder.java deleted file mode 100644 index 793b723..0000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchRemoteBranchesRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1beta1/dataform.proto - -package com.google.cloud.dataform.v1beta1; - -public interface FetchRemoteBranchesRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The repository's name.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The repository's name.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetCompilationResultRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetCompilationResultRequestOrBuilder.java deleted file mode 100644 index 689fa15..0000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetCompilationResultRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1beta1/dataform.proto - -package com.google.cloud.dataform.v1beta1; - -public interface GetCompilationResultRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.GetCompilationResultRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The compilation result's name.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The compilation result's name.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetRepositoryRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetRepositoryRequestOrBuilder.java deleted file mode 100644 index af2c633..0000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetRepositoryRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1beta1/dataform.proto - -package com.google.cloud.dataform.v1beta1; - -public interface GetRepositoryRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.GetRepositoryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The repository's name.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The repository's name.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetWorkflowInvocationRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetWorkflowInvocationRequestOrBuilder.java deleted file mode 100644 index 84e2dec..0000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetWorkflowInvocationRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1beta1/dataform.proto - -package com.google.cloud.dataform.v1beta1; - -public interface GetWorkflowInvocationRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The workflow invocation resource's name.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The workflow invocation resource's name.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetWorkspaceRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetWorkspaceRequestOrBuilder.java deleted file mode 100644 index a894ebb..0000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetWorkspaceRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1beta1/dataform.proto - -package com.google.cloud.dataform.v1beta1; - -public interface GetWorkspaceRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.GetWorkspaceRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The workspace's name.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The workspace's name.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/InstallNpmPackagesRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/InstallNpmPackagesRequestOrBuilder.java deleted file mode 100644 index e4e148b..0000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/InstallNpmPackagesRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1beta1/dataform.proto - -package com.google.cloud.dataform.v1beta1; - -public interface InstallNpmPackagesRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.InstallNpmPackagesRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The workspace's name.
-   * 
- * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The workspace. - */ - java.lang.String getWorkspace(); - /** - *
-   * Required. The workspace's name.
-   * 
- * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for workspace. - */ - com.google.protobuf.ByteString - getWorkspaceBytes(); -} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/InstallNpmPackagesResponseOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/InstallNpmPackagesResponseOrBuilder.java deleted file mode 100644 index 83a7cb1..0000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/InstallNpmPackagesResponseOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1beta1/dataform.proto - -package com.google.cloud.dataform.v1beta1; - -public interface InstallNpmPackagesResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.InstallNpmPackagesResponse) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MakeDirectoryResponseOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MakeDirectoryResponseOrBuilder.java deleted file mode 100644 index 8fb2811..0000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MakeDirectoryResponseOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1beta1/dataform.proto - -package com.google.cloud.dataform.v1beta1; - -public interface MakeDirectoryResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.MakeDirectoryResponse) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveDirectoryResponseOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveDirectoryResponseOrBuilder.java deleted file mode 100644 index 09b8435..0000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveDirectoryResponseOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1beta1/dataform.proto - -package com.google.cloud.dataform.v1beta1; - -public interface MoveDirectoryResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.MoveDirectoryResponse) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveFileResponseOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveFileResponseOrBuilder.java deleted file mode 100644 index 2cfa499..0000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveFileResponseOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1beta1/dataform.proto - -package com.google.cloud.dataform.v1beta1; - -public interface MoveFileResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.MoveFileResponse) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryDirectoryContentsResponseOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryDirectoryContentsResponseOrBuilder.java deleted file mode 100644 index ccb013a..0000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryDirectoryContentsResponseOrBuilder.java +++ /dev/null @@ -1,75 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1beta1/dataform.proto - -package com.google.cloud.dataform.v1beta1; - -public interface QueryDirectoryContentsResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * List of entries in the directory.
-   * 
- * - * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; - */ - java.util.List - getDirectoryEntriesList(); - /** - *
-   * List of entries in the directory.
-   * 
- * - * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; - */ - com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry getDirectoryEntries(int index); - /** - *
-   * List of entries in the directory.
-   * 
- * - * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; - */ - int getDirectoryEntriesCount(); - /** - *
-   * List of entries in the directory.
-   * 
- * - * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; - */ - java.util.List - getDirectoryEntriesOrBuilderList(); - /** - *
-   * List of entries in the directory.
-   * 
- * - * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; - */ - com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntryOrBuilder getDirectoryEntriesOrBuilder( - int index); - - /** - *
-   * A token, which can be sent as `page_token` to retrieve the next page.
-   * If this field is omitted, there are no subsequent pages.
-   * 
- * - * string next_page_token = 2; - * @return The nextPageToken. - */ - java.lang.String getNextPageToken(); - /** - *
-   * A token, which can be sent as `page_token` to retrieve the next page.
-   * If this field is omitted, there are no subsequent pages.
-   * 
- * - * string next_page_token = 2; - * @return The bytes for nextPageToken. - */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); -} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ReadFileRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ReadFileRequestOrBuilder.java deleted file mode 100644 index 8137c2b..0000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ReadFileRequestOrBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1beta1/dataform.proto - -package com.google.cloud.dataform.v1beta1; - -public interface ReadFileRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.ReadFileRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The workspace's name.
-   * 
- * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The workspace. - */ - java.lang.String getWorkspace(); - /** - *
-   * Required. The workspace's name.
-   * 
- * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for workspace. - */ - com.google.protobuf.ByteString - getWorkspaceBytes(); - - /** - *
-   * Required. The file's full path including filename, relative to the workspace root.
-   * 
- * - * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The path. - */ - java.lang.String getPath(); - /** - *
-   * Required. The file's full path including filename, relative to the workspace root.
-   * 
- * - * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The bytes for path. - */ - com.google.protobuf.ByteString - getPathBytes(); -} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ReadFileResponseOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ReadFileResponseOrBuilder.java deleted file mode 100644 index cb5f158..0000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ReadFileResponseOrBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1beta1/dataform.proto - -package com.google.cloud.dataform.v1beta1; - -public interface ReadFileResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.ReadFileResponse) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The file's contents.
-   * 
- * - * bytes file_contents = 1; - * @return The fileContents. - */ - com.google.protobuf.ByteString getFileContents(); -} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RemoveFileRequestOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RemoveFileRequestOrBuilder.java deleted file mode 100644 index 5cbb66b..0000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RemoveFileRequestOrBuilder.java +++ /dev/null @@ -1,49 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1beta1/dataform.proto - -package com.google.cloud.dataform.v1beta1; - -public interface RemoveFileRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.RemoveFileRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The workspace's name.
-   * 
- * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The workspace. - */ - java.lang.String getWorkspace(); - /** - *
-   * Required. The workspace's name.
-   * 
- * - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for workspace. - */ - com.google.protobuf.ByteString - getWorkspaceBytes(); - - /** - *
-   * Required. The file's full path including filename, relative to the workspace root.
-   * 
- * - * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The path. - */ - java.lang.String getPath(); - /** - *
-   * Required. The file's full path including filename, relative to the workspace root.
-   * 
- * - * string path = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The bytes for path. - */ - com.google.protobuf.ByteString - getPathBytes(); -} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkspaceOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkspaceOrBuilder.java deleted file mode 100644 index b0142a4..0000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkspaceOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1beta1/dataform.proto - -package com.google.cloud.dataform.v1beta1; - -public interface WorkspaceOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.Workspace) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Output only. The workspace's name.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Output only. The workspace's name.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WriteFileResponseOrBuilder.java b/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WriteFileResponseOrBuilder.java deleted file mode 100644 index 50640d3..0000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WriteFileResponseOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/dataform/v1beta1/dataform.proto - -package com.google.cloud.dataform.v1beta1; - -public interface WriteFileResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.WriteFileResponse) - com.google.protobuf.MessageOrBuilder { -} diff --git a/pom.xml b/pom.xml index 3a19722..2275bf6 100644 --- a/pom.xml +++ b/pom.xml @@ -71,6 +71,16 @@ google-cloud-dataform 0.1.0
+ + com.google.api.grpc + proto-google-cloud-dataform-v1beta1 + 0.1.0 + + + com.google.api.grpc + grpc-google-cloud-dataform-v1beta1 + 0.1.0 + com.google.api.grpc grpc-google-cloud-dataform-v1alpha2 @@ -112,7 +122,9 @@ google-cloud-dataform grpc-google-cloud-dataform-v1alpha2 + grpc-google-cloud-dataform-v1beta1 proto-google-cloud-dataform-v1alpha2 + proto-google-cloud-dataform-v1beta1 google-cloud-dataform-bom diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CancelWorkflowInvocationRequest.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CancelWorkflowInvocationRequest.java similarity index 60% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CancelWorkflowInvocationRequest.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CancelWorkflowInvocationRequest.java index 157995b..5b085ac 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CancelWorkflowInvocationRequest.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CancelWorkflowInvocationRequest.java @@ -1,40 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * `CancelWorkflowInvocation` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest} */ -public final class CancelWorkflowInvocationRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CancelWorkflowInvocationRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest) CancelWorkflowInvocationRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CancelWorkflowInvocationRequest.newBuilder() to construct. - private CancelWorkflowInvocationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CancelWorkflowInvocationRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CancelWorkflowInvocationRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CancelWorkflowInvocationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CancelWorkflowInvocationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +71,20 @@ private CancelWorkflowInvocationRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +92,41 @@ private CancelWorkflowInvocationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CancelWorkflowInvocationRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CancelWorkflowInvocationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CancelWorkflowInvocationRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CancelWorkflowInvocationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest.class, com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest.class, + com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The workflow invocation resource's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -109,29 +135,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The workflow invocation resource's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +168,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +180,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +204,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest other = (com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest) obj; + com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest other = + (com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,134 +232,145 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `CancelWorkflowInvocation` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest) com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CancelWorkflowInvocationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CancelWorkflowInvocationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CancelWorkflowInvocationRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CancelWorkflowInvocationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest.class, com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest.class, + com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest.Builder.class); } - // Construct using com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest.newBuilder() + // Construct using + // com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,14 +380,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CancelWorkflowInvocationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CancelWorkflowInvocationRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest getDefaultInstanceForType() { - return com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest.getDefaultInstance(); + public com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest + getDefaultInstanceForType() { + return com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest + .getDefaultInstance(); } @java.lang.Override @@ -362,7 +403,8 @@ public com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest build( @java.lang.Override public com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest result = new com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest(this); + com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest result = + new com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,46 +414,51 @@ public com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest buildP public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest)other); + return mergeFrom( + (com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest other) { + if (other + == com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +482,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +496,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The workflow invocation resource's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -467,20 +520,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The workflow invocation resource's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -488,61 +544,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The workflow invocation resource's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The workflow invocation resource's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The workflow invocation resource's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,30 +621,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest) - private static final com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest(); } - public static com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CancelWorkflowInvocationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CancelWorkflowInvocationRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CancelWorkflowInvocationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CancelWorkflowInvocationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +658,8 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CancelWorkflowInvocationRequestOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CancelWorkflowInvocationRequestOrBuilder.java new file mode 100644 index 0000000..4ccaec0 --- /dev/null +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CancelWorkflowInvocationRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1alpha2/dataform.proto + +package com.google.cloud.dataform.v1alpha2; + +public interface CancelWorkflowInvocationRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.CancelWorkflowInvocationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The workflow invocation resource's name.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The workflow invocation resource's name.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CommitAuthor.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CommitAuthor.java similarity index 70% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CommitAuthor.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CommitAuthor.java index b0baf67..920a557 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CommitAuthor.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CommitAuthor.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * Represents the author of a Git commit.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.CommitAuthor} */ -public final class CommitAuthor extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CommitAuthor extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.CommitAuthor) CommitAuthorOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CommitAuthor.newBuilder() to construct. private CommitAuthor(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CommitAuthor() { name_ = ""; emailAddress_ = ""; @@ -26,16 +44,15 @@ private CommitAuthor() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CommitAuthor(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CommitAuthor( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private CommitAuthor( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - emailAddress_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + emailAddress_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +99,39 @@ private CommitAuthor( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CommitAuthor_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CommitAuthor_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CommitAuthor_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CommitAuthor_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CommitAuthor.class, com.google.cloud.dataform.v1alpha2.CommitAuthor.Builder.class); + com.google.cloud.dataform.v1alpha2.CommitAuthor.class, + com.google.cloud.dataform.v1alpha2.CommitAuthor.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The commit author's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -116,29 +140,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The commit author's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -149,11 +173,14 @@ public java.lang.String getName() { public static final int EMAIL_ADDRESS_FIELD_NUMBER = 2; private volatile java.lang.Object emailAddress_; /** + * + * *
    * Required. The commit author's email address.
    * 
* * string email_address = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The emailAddress. */ @java.lang.Override @@ -162,29 +189,29 @@ public java.lang.String getEmailAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); emailAddress_ = s; return s; } } /** + * + * *
    * Required. The commit author's email address.
    * 
* * string email_address = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for emailAddress. */ @java.lang.Override - public com.google.protobuf.ByteString - getEmailAddressBytes() { + public com.google.protobuf.ByteString getEmailAddressBytes() { java.lang.Object ref = emailAddress_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); emailAddress_ = b; return b; } else { @@ -193,6 +220,7 @@ public java.lang.String getEmailAddress() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,8 +232,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -235,17 +262,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.CommitAuthor)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.CommitAuthor other = (com.google.cloud.dataform.v1alpha2.CommitAuthor) obj; + com.google.cloud.dataform.v1alpha2.CommitAuthor other = + (com.google.cloud.dataform.v1alpha2.CommitAuthor) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getEmailAddress() - .equals(other.getEmailAddress())) return false; + if (!getName().equals(other.getName())) return false; + if (!getEmailAddress().equals(other.getEmailAddress())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -266,118 +292,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataform.v1alpha2.CommitAuthor parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataform.v1alpha2.CommitAuthor parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.CommitAuthor parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.CommitAuthor parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.CommitAuthor parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.CommitAuthor parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.CommitAuthor parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.CommitAuthor parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.CommitAuthor parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CommitAuthor parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.CommitAuthor parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.CommitAuthor parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.CommitAuthor parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.CommitAuthor parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.CommitAuthor prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents the author of a Git commit.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.CommitAuthor} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.CommitAuthor) com.google.cloud.dataform.v1alpha2.CommitAuthorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CommitAuthor_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CommitAuthor_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CommitAuthor_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CommitAuthor_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CommitAuthor.class, com.google.cloud.dataform.v1alpha2.CommitAuthor.Builder.class); + com.google.cloud.dataform.v1alpha2.CommitAuthor.class, + com.google.cloud.dataform.v1alpha2.CommitAuthor.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.CommitAuthor.newBuilder() @@ -385,16 +420,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -406,9 +440,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CommitAuthor_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CommitAuthor_descriptor; } @java.lang.Override @@ -427,7 +461,8 @@ public com.google.cloud.dataform.v1alpha2.CommitAuthor build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.CommitAuthor buildPartial() { - com.google.cloud.dataform.v1alpha2.CommitAuthor result = new com.google.cloud.dataform.v1alpha2.CommitAuthor(this); + com.google.cloud.dataform.v1alpha2.CommitAuthor result = + new com.google.cloud.dataform.v1alpha2.CommitAuthor(this); result.name_ = name_; result.emailAddress_ = emailAddress_; onBuilt(); @@ -438,38 +473,39 @@ public com.google.cloud.dataform.v1alpha2.CommitAuthor buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.CommitAuthor) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.CommitAuthor)other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.CommitAuthor) other); } else { super.mergeFrom(other); return this; @@ -477,7 +513,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.CommitAuthor other) { - if (other == com.google.cloud.dataform.v1alpha2.CommitAuthor.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1alpha2.CommitAuthor.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -517,18 +554,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The commit author's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -537,20 +576,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The commit author's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -558,54 +598,61 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The commit author's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The commit author's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The commit author's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -613,18 +660,20 @@ public Builder setNameBytes( private java.lang.Object emailAddress_ = ""; /** + * + * *
      * Required. The commit author's email address.
      * 
* * string email_address = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The emailAddress. */ public java.lang.String getEmailAddress() { java.lang.Object ref = emailAddress_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); emailAddress_ = s; return s; @@ -633,20 +682,21 @@ public java.lang.String getEmailAddress() { } } /** + * + * *
      * Required. The commit author's email address.
      * 
* * string email_address = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for emailAddress. */ - public com.google.protobuf.ByteString - getEmailAddressBytes() { + public com.google.protobuf.ByteString getEmailAddressBytes() { java.lang.Object ref = emailAddress_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); emailAddress_ = b; return b; } else { @@ -654,61 +704,68 @@ public java.lang.String getEmailAddress() { } } /** + * + * *
      * Required. The commit author's email address.
      * 
* * string email_address = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The emailAddress to set. * @return This builder for chaining. */ - public Builder setEmailAddress( - java.lang.String value) { + public Builder setEmailAddress(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + emailAddress_ = value; onChanged(); return this; } /** + * + * *
      * Required. The commit author's email address.
      * 
* * string email_address = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearEmailAddress() { - + emailAddress_ = getDefaultInstance().getEmailAddress(); onChanged(); return this; } /** + * + * *
      * Required. The commit author's email address.
      * 
* * string email_address = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for emailAddress to set. * @return This builder for chaining. */ - public Builder setEmailAddressBytes( - com.google.protobuf.ByteString value) { + public Builder setEmailAddressBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + emailAddress_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -718,12 +775,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.CommitAuthor) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.CommitAuthor) private static final com.google.cloud.dataform.v1alpha2.CommitAuthor DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.CommitAuthor(); } @@ -732,16 +789,16 @@ public static com.google.cloud.dataform.v1alpha2.CommitAuthor getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CommitAuthor parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CommitAuthor(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CommitAuthor parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CommitAuthor(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -756,6 +813,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.CommitAuthor getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CommitAuthorOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CommitAuthorOrBuilder.java similarity index 59% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CommitAuthorOrBuilder.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CommitAuthorOrBuilder.java index 9fb72c9..02d62ea 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CommitAuthorOrBuilder.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CommitAuthorOrBuilder.java @@ -1,49 +1,75 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface CommitAuthorOrBuilder extends +public interface CommitAuthorOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.CommitAuthor) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The commit author's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The commit author's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. The commit author's email address.
    * 
* * string email_address = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The emailAddress. */ java.lang.String getEmailAddress(); /** + * + * *
    * Required. The commit author's email address.
    * 
* * string email_address = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for emailAddress. */ - com.google.protobuf.ByteString - getEmailAddressBytes(); + com.google.protobuf.ByteString getEmailAddressBytes(); } diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CommitWorkspaceChangesRequest.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CommitWorkspaceChangesRequest.java similarity index 66% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CommitWorkspaceChangesRequest.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CommitWorkspaceChangesRequest.java index e5bac08..9f81dc0 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CommitWorkspaceChangesRequest.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CommitWorkspaceChangesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * `CommitWorkspaceChanges` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest} */ -public final class CommitWorkspaceChangesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CommitWorkspaceChangesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest) CommitWorkspaceChangesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CommitWorkspaceChangesRequest.newBuilder() to construct. private CommitWorkspaceChangesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CommitWorkspaceChangesRequest() { name_ = ""; commitMessage_ = ""; @@ -27,16 +45,15 @@ private CommitWorkspaceChangesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CommitWorkspaceChangesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CommitWorkspaceChangesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,47 +73,53 @@ private CommitWorkspaceChangesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - commitMessage_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - paths_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + name_ = s; + break; } - paths_.add(s); - break; - } - case 34: { - com.google.cloud.dataform.v1alpha2.CommitAuthor.Builder subBuilder = null; - if (author_ != null) { - subBuilder = author_.toBuilder(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + commitMessage_ = s; + break; } - author_ = input.readMessage(com.google.cloud.dataform.v1alpha2.CommitAuthor.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(author_); - author_ = subBuilder.buildPartial(); + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + paths_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + paths_.add(s); + break; } + case 34: + { + com.google.cloud.dataform.v1alpha2.CommitAuthor.Builder subBuilder = null; + if (author_ != null) { + subBuilder = author_.toBuilder(); + } + author_ = + input.readMessage( + com.google.cloud.dataform.v1alpha2.CommitAuthor.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(author_); + author_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,8 +127,7 @@ private CommitWorkspaceChangesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { paths_ = paths_.getUnmodifiableView(); @@ -114,27 +136,35 @@ private CommitWorkspaceChangesRequest( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CommitWorkspaceChangesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CommitWorkspaceChangesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CommitWorkspaceChangesRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CommitWorkspaceChangesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest.class, com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest.class, + com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The workspace's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -143,29 +173,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The workspace's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -176,11 +208,16 @@ public java.lang.String getName() { public static final int AUTHOR_FIELD_NUMBER = 4; private com.google.cloud.dataform.v1alpha2.CommitAuthor author_; /** + * + * *
    * Required. The commit's author.
    * 
* - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the author field is set. */ @java.lang.Override @@ -188,23 +225,34 @@ public boolean hasAuthor() { return author_ != null; } /** + * + * *
    * Required. The commit's author.
    * 
* - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The author. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.CommitAuthor getAuthor() { - return author_ == null ? com.google.cloud.dataform.v1alpha2.CommitAuthor.getDefaultInstance() : author_; + return author_ == null + ? com.google.cloud.dataform.v1alpha2.CommitAuthor.getDefaultInstance() + : author_; } /** + * + * *
    * Required. The commit's author.
    * 
* - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.CommitAuthorOrBuilder getAuthorOrBuilder() { @@ -214,11 +262,14 @@ public com.google.cloud.dataform.v1alpha2.CommitAuthorOrBuilder getAuthorOrBuild public static final int COMMIT_MESSAGE_FIELD_NUMBER = 2; private volatile java.lang.Object commitMessage_; /** + * + * *
    * Optional. The commit's message.
    * 
* * string commit_message = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The commitMessage. */ @java.lang.Override @@ -227,29 +278,29 @@ public java.lang.String getCommitMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); commitMessage_ = s; return s; } } /** + * + * *
    * Optional. The commit's message.
    * 
* * string commit_message = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for commitMessage. */ @java.lang.Override - public com.google.protobuf.ByteString - getCommitMessageBytes() { + public com.google.protobuf.ByteString getCommitMessageBytes() { java.lang.Object ref = commitMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); commitMessage_ = b; return b; } else { @@ -260,37 +311,45 @@ public java.lang.String getCommitMessage() { public static final int PATHS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList paths_; /** + * + * *
    * Optional. Full file paths to commit including filename, rooted at workspace root. If
    * left empty, all files will be committed.
    * 
* * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the paths. */ - public com.google.protobuf.ProtocolStringList - getPathsList() { + public com.google.protobuf.ProtocolStringList getPathsList() { return paths_; } /** + * + * *
    * Optional. Full file paths to commit including filename, rooted at workspace root. If
    * left empty, all files will be committed.
    * 
* * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of paths. */ public int getPathsCount() { return paths_.size(); } /** + * + * *
    * Optional. Full file paths to commit including filename, rooted at workspace root. If
    * left empty, all files will be committed.
    * 
* * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The paths at the given index. */ @@ -298,21 +357,24 @@ public java.lang.String getPaths(int index) { return paths_.get(index); } /** + * + * *
    * Optional. Full file paths to commit including filename, rooted at workspace root. If
    * left empty, all files will be committed.
    * 
* * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the paths at the given index. */ - public com.google.protobuf.ByteString - getPathsBytes(int index) { + public com.google.protobuf.ByteString getPathsBytes(int index) { return paths_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -324,8 +386,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -362,8 +423,7 @@ public int getSerializedSize() { size += 1 * getPathsList().size(); } if (author_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getAuthor()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getAuthor()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -373,24 +433,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest other = (com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest) obj; + com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest other = + (com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasAuthor() != other.hasAuthor()) return false; if (hasAuthor()) { - if (!getAuthor() - .equals(other.getAuthor())) return false; + if (!getAuthor().equals(other.getAuthor())) return false; } - if (!getCommitMessage() - .equals(other.getCommitMessage())) return false; - if (!getPathsList() - .equals(other.getPathsList())) return false; + if (!getCommitMessage().equals(other.getCommitMessage())) return false; + if (!getPathsList().equals(other.getPathsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -420,117 +477,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `CommitWorkspaceChanges` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest) com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CommitWorkspaceChangesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CommitWorkspaceChangesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CommitWorkspaceChangesRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CommitWorkspaceChangesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest.class, com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest.class, + com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest.newBuilder() @@ -538,16 +605,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -567,13 +633,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CommitWorkspaceChangesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CommitWorkspaceChangesRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest + getDefaultInstanceForType() { return com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest.getDefaultInstance(); } @@ -588,7 +655,8 @@ public com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest build() @java.lang.Override public com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest result = new com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest(this); + com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest result = + new com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest(this); int from_bitField0_ = bitField0_; result.name_ = name_; if (authorBuilder_ == null) { @@ -610,46 +678,50 @@ public com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest buildPar public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest)other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest other) { + if (other + == com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -690,7 +762,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -699,22 +773,27 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -723,20 +802,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -744,54 +826,67 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -799,39 +894,58 @@ public Builder setNameBytes( private com.google.cloud.dataform.v1alpha2.CommitAuthor author_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CommitAuthor, com.google.cloud.dataform.v1alpha2.CommitAuthor.Builder, com.google.cloud.dataform.v1alpha2.CommitAuthorOrBuilder> authorBuilder_; + com.google.cloud.dataform.v1alpha2.CommitAuthor, + com.google.cloud.dataform.v1alpha2.CommitAuthor.Builder, + com.google.cloud.dataform.v1alpha2.CommitAuthorOrBuilder> + authorBuilder_; /** + * + * *
      * Required. The commit's author.
      * 
* - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the author field is set. */ public boolean hasAuthor() { return authorBuilder_ != null || author_ != null; } /** + * + * *
      * Required. The commit's author.
      * 
* - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The author. */ public com.google.cloud.dataform.v1alpha2.CommitAuthor getAuthor() { if (authorBuilder_ == null) { - return author_ == null ? com.google.cloud.dataform.v1alpha2.CommitAuthor.getDefaultInstance() : author_; + return author_ == null + ? com.google.cloud.dataform.v1alpha2.CommitAuthor.getDefaultInstance() + : author_; } else { return authorBuilder_.getMessage(); } } /** + * + * *
      * Required. The commit's author.
      * 
* - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAuthor(com.google.cloud.dataform.v1alpha2.CommitAuthor value) { if (authorBuilder_ == null) { @@ -847,11 +961,15 @@ public Builder setAuthor(com.google.cloud.dataform.v1alpha2.CommitAuthor value) return this; } /** + * + * *
      * Required. The commit's author.
      * 
* - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAuthor( com.google.cloud.dataform.v1alpha2.CommitAuthor.Builder builderForValue) { @@ -865,17 +983,23 @@ public Builder setAuthor( return this; } /** + * + * *
      * Required. The commit's author.
      * 
* - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeAuthor(com.google.cloud.dataform.v1alpha2.CommitAuthor value) { if (authorBuilder_ == null) { if (author_ != null) { author_ = - com.google.cloud.dataform.v1alpha2.CommitAuthor.newBuilder(author_).mergeFrom(value).buildPartial(); + com.google.cloud.dataform.v1alpha2.CommitAuthor.newBuilder(author_) + .mergeFrom(value) + .buildPartial(); } else { author_ = value; } @@ -887,11 +1011,15 @@ public Builder mergeAuthor(com.google.cloud.dataform.v1alpha2.CommitAuthor value return this; } /** + * + * *
      * Required. The commit's author.
      * 
* - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAuthor() { if (authorBuilder_ == null) { @@ -905,48 +1033,64 @@ public Builder clearAuthor() { return this; } /** + * + * *
      * Required. The commit's author.
      * 
* - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataform.v1alpha2.CommitAuthor.Builder getAuthorBuilder() { - + onChanged(); return getAuthorFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The commit's author.
      * 
* - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataform.v1alpha2.CommitAuthorOrBuilder getAuthorOrBuilder() { if (authorBuilder_ != null) { return authorBuilder_.getMessageOrBuilder(); } else { - return author_ == null ? - com.google.cloud.dataform.v1alpha2.CommitAuthor.getDefaultInstance() : author_; + return author_ == null + ? com.google.cloud.dataform.v1alpha2.CommitAuthor.getDefaultInstance() + : author_; } } /** + * + * *
      * Required. The commit's author.
      * 
* - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CommitAuthor, com.google.cloud.dataform.v1alpha2.CommitAuthor.Builder, com.google.cloud.dataform.v1alpha2.CommitAuthorOrBuilder> + com.google.cloud.dataform.v1alpha2.CommitAuthor, + com.google.cloud.dataform.v1alpha2.CommitAuthor.Builder, + com.google.cloud.dataform.v1alpha2.CommitAuthorOrBuilder> getAuthorFieldBuilder() { if (authorBuilder_ == null) { - authorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CommitAuthor, com.google.cloud.dataform.v1alpha2.CommitAuthor.Builder, com.google.cloud.dataform.v1alpha2.CommitAuthorOrBuilder>( - getAuthor(), - getParentForChildren(), - isClean()); + authorBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.CommitAuthor, + com.google.cloud.dataform.v1alpha2.CommitAuthor.Builder, + com.google.cloud.dataform.v1alpha2.CommitAuthorOrBuilder>( + getAuthor(), getParentForChildren(), isClean()); author_ = null; } return authorBuilder_; @@ -954,18 +1098,20 @@ public com.google.cloud.dataform.v1alpha2.CommitAuthorOrBuilder getAuthorOrBuild private java.lang.Object commitMessage_ = ""; /** + * + * *
      * Optional. The commit's message.
      * 
* * string commit_message = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The commitMessage. */ public java.lang.String getCommitMessage() { java.lang.Object ref = commitMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); commitMessage_ = s; return s; @@ -974,20 +1120,21 @@ public java.lang.String getCommitMessage() { } } /** + * + * *
      * Optional. The commit's message.
      * 
* * string commit_message = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for commitMessage. */ - public com.google.protobuf.ByteString - getCommitMessageBytes() { + public com.google.protobuf.ByteString getCommitMessageBytes() { java.lang.Object ref = commitMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); commitMessage_ = b; return b; } else { @@ -995,98 +1142,115 @@ public java.lang.String getCommitMessage() { } } /** + * + * *
      * Optional. The commit's message.
      * 
* * string commit_message = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The commitMessage to set. * @return This builder for chaining. */ - public Builder setCommitMessage( - java.lang.String value) { + public Builder setCommitMessage(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + commitMessage_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The commit's message.
      * 
* * string commit_message = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearCommitMessage() { - + commitMessage_ = getDefaultInstance().getCommitMessage(); onChanged(); return this; } /** + * + * *
      * Optional. The commit's message.
      * 
* * string commit_message = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for commitMessage to set. * @return This builder for chaining. */ - public Builder setCommitMessageBytes( - com.google.protobuf.ByteString value) { + public Builder setCommitMessageBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + commitMessage_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList paths_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList paths_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensurePathsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { paths_ = new com.google.protobuf.LazyStringArrayList(paths_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Optional. Full file paths to commit including filename, rooted at workspace root. If
      * left empty, all files will be committed.
      * 
* * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the paths. */ - public com.google.protobuf.ProtocolStringList - getPathsList() { + public com.google.protobuf.ProtocolStringList getPathsList() { return paths_.getUnmodifiableView(); } /** + * + * *
      * Optional. Full file paths to commit including filename, rooted at workspace root. If
      * left empty, all files will be committed.
      * 
* * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of paths. */ public int getPathsCount() { return paths_.size(); } /** + * + * *
      * Optional. Full file paths to commit including filename, rooted at workspace root. If
      * left empty, all files will be committed.
      * 
* * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The paths at the given index. */ @@ -1094,85 +1258,95 @@ public java.lang.String getPaths(int index) { return paths_.get(index); } /** + * + * *
      * Optional. Full file paths to commit including filename, rooted at workspace root. If
      * left empty, all files will be committed.
      * 
* * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the paths at the given index. */ - public com.google.protobuf.ByteString - getPathsBytes(int index) { + public com.google.protobuf.ByteString getPathsBytes(int index) { return paths_.getByteString(index); } /** + * + * *
      * Optional. Full file paths to commit including filename, rooted at workspace root. If
      * left empty, all files will be committed.
      * 
* * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index to set the value at. * @param value The paths to set. * @return This builder for chaining. */ - public Builder setPaths( - int index, java.lang.String value) { + public Builder setPaths(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePathsIsMutable(); + throw new NullPointerException(); + } + ensurePathsIsMutable(); paths_.set(index, value); onChanged(); return this; } /** + * + * *
      * Optional. Full file paths to commit including filename, rooted at workspace root. If
      * left empty, all files will be committed.
      * 
* * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The paths to add. * @return This builder for chaining. */ - public Builder addPaths( - java.lang.String value) { + public Builder addPaths(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePathsIsMutable(); + throw new NullPointerException(); + } + ensurePathsIsMutable(); paths_.add(value); onChanged(); return this; } /** + * + * *
      * Optional. Full file paths to commit including filename, rooted at workspace root. If
      * left empty, all files will be committed.
      * 
* * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param values The paths to add. * @return This builder for chaining. */ - public Builder addAllPaths( - java.lang.Iterable values) { + public Builder addAllPaths(java.lang.Iterable values) { ensurePathsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, paths_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, paths_); onChanged(); return this; } /** + * + * *
      * Optional. Full file paths to commit including filename, rooted at workspace root. If
      * left empty, all files will be committed.
      * 
* * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPaths() { @@ -1182,29 +1356,31 @@ public Builder clearPaths() { return this; } /** + * + * *
      * Optional. Full file paths to commit including filename, rooted at workspace root. If
      * left empty, all files will be committed.
      * 
* * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes of the paths to add. * @return This builder for chaining. */ - public Builder addPathsBytes( - com.google.protobuf.ByteString value) { + public Builder addPathsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensurePathsIsMutable(); paths_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1214,30 +1390,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest) - private static final com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest(); } - public static com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CommitWorkspaceChangesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CommitWorkspaceChangesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CommitWorkspaceChangesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CommitWorkspaceChangesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1249,9 +1427,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CommitWorkspaceChangesRequestOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CommitWorkspaceChangesRequestOrBuilder.java similarity index 62% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CommitWorkspaceChangesRequestOrBuilder.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CommitWorkspaceChangesRequestOrBuilder.java index 00bf19e..fd5b033 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CommitWorkspaceChangesRequestOrBuilder.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CommitWorkspaceChangesRequestOrBuilder.java @@ -1,121 +1,175 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface CommitWorkspaceChangesRequestOrBuilder extends +public interface CommitWorkspaceChangesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.CommitWorkspaceChangesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The workspace's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The workspace's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. The commit's author.
    * 
* - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the author field is set. */ boolean hasAuthor(); /** + * + * *
    * Required. The commit's author.
    * 
* - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The author. */ com.google.cloud.dataform.v1alpha2.CommitAuthor getAuthor(); /** + * + * *
    * Required. The commit's author.
    * 
* - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.dataform.v1alpha2.CommitAuthorOrBuilder getAuthorOrBuilder(); /** + * + * *
    * Optional. The commit's message.
    * 
* * string commit_message = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The commitMessage. */ java.lang.String getCommitMessage(); /** + * + * *
    * Optional. The commit's message.
    * 
* * string commit_message = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for commitMessage. */ - com.google.protobuf.ByteString - getCommitMessageBytes(); + com.google.protobuf.ByteString getCommitMessageBytes(); /** + * + * *
    * Optional. Full file paths to commit including filename, rooted at workspace root. If
    * left empty, all files will be committed.
    * 
* * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the paths. */ - java.util.List - getPathsList(); + java.util.List getPathsList(); /** + * + * *
    * Optional. Full file paths to commit including filename, rooted at workspace root. If
    * left empty, all files will be committed.
    * 
* * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of paths. */ int getPathsCount(); /** + * + * *
    * Optional. Full file paths to commit including filename, rooted at workspace root. If
    * left empty, all files will be committed.
    * 
* * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The paths at the given index. */ java.lang.String getPaths(int index); /** + * + * *
    * Optional. Full file paths to commit including filename, rooted at workspace root. If
    * left empty, all files will be committed.
    * 
* * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the paths at the given index. */ - com.google.protobuf.ByteString - getPathsBytes(int index); + com.google.protobuf.ByteString getPathsBytes(int index); } diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResult.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResult.java similarity index 68% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResult.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResult.java index 0ab1d83..51c5a47 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResult.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResult.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * Represents the result of compiling a Dataform project.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.CompilationResult} */ -public final class CompilationResult extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CompilationResult extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.CompilationResult) CompilationResultOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CompilationResult.newBuilder() to construct. private CompilationResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CompilationResult() { name_ = ""; dataformCoreVersion_ = ""; @@ -27,16 +45,15 @@ private CompilationResult() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CompilationResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CompilationResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,59 +73,75 @@ private CompilationResult( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - sourceCase_ = 2; - source_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - sourceCase_ = 3; - source_ = s; - break; - } - case 34: { - com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.Builder subBuilder = null; - if (codeCompilationConfig_ != null) { - subBuilder = codeCompilationConfig_.toBuilder(); + name_ = s; + break; } - codeCompilationConfig_ = input.readMessage(com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(codeCompilationConfig_); - codeCompilationConfig_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + sourceCase_ = 2; + source_ = s; + break; } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + sourceCase_ = 3; + source_ = s; + break; + } + case 34: + { + com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.Builder + subBuilder = null; + if (codeCompilationConfig_ != null) { + subBuilder = codeCompilationConfig_.toBuilder(); + } + codeCompilationConfig_ = + input.readMessage( + com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(codeCompilationConfig_); + codeCompilationConfig_ = subBuilder.buildPartial(); + } - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - dataformCoreVersion_ = s; - break; - } - case 50: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - compilationErrors_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + dataformCoreVersion_ = s; + break; } - compilationErrors_.add( - input.readMessage(com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 50: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + compilationErrors_ = + new java.util.ArrayList< + com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError>(); + mutable_bitField0_ |= 0x00000001; + } + compilationErrors_.add( + input.readMessage( + com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError + .parser(), + extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -116,8 +149,7 @@ private CompilationResult( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { compilationErrors_ = java.util.Collections.unmodifiableList(compilationErrors_); @@ -126,64 +158,80 @@ private CompilationResult( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResult_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CompilationResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResult_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CompilationResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CompilationResult.class, com.google.cloud.dataform.v1alpha2.CompilationResult.Builder.class); + com.google.cloud.dataform.v1alpha2.CompilationResult.class, + com.google.cloud.dataform.v1alpha2.CompilationResult.Builder.class); } - public interface CodeCompilationConfigOrBuilder extends + public interface CodeCompilationConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Optional. The default database (Google Cloud project ID).
      * 
* * string default_database = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The defaultDatabase. */ java.lang.String getDefaultDatabase(); /** + * + * *
      * Optional. The default database (Google Cloud project ID).
      * 
* * string default_database = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for defaultDatabase. */ - com.google.protobuf.ByteString - getDefaultDatabaseBytes(); + com.google.protobuf.ByteString getDefaultDatabaseBytes(); /** + * + * *
      * Optional. The default schema (BigQuery dataset ID).
      * 
* * string default_schema = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The defaultSchema. */ java.lang.String getDefaultSchema(); /** + * + * *
      * Optional. The default schema (BigQuery dataset ID).
      * 
* * string default_schema = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for defaultSchema. */ - com.google.protobuf.ByteString - getDefaultSchemaBytes(); + com.google.protobuf.ByteString getDefaultSchemaBytes(); /** + * + * *
      * Optional. The default BigQuery location to use. Defaults to "US".
      * See the BigQuery docs for a full list of locations:
@@ -191,10 +239,13 @@ public interface CodeCompilationConfigOrBuilder extends
      * 
* * string default_location = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The defaultLocation. */ java.lang.String getDefaultLocation(); /** + * + * *
      * Optional. The default BigQuery location to use. Defaults to "US".
      * See the BigQuery docs for a full list of locations:
@@ -202,32 +253,39 @@ public interface CodeCompilationConfigOrBuilder extends
      * 
* * string default_location = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for defaultLocation. */ - com.google.protobuf.ByteString - getDefaultLocationBytes(); + com.google.protobuf.ByteString getDefaultLocationBytes(); /** + * + * *
      * Optional. The default schema (BigQuery dataset ID) for assertions.
      * 
* * string assertion_schema = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The assertionSchema. */ java.lang.String getAssertionSchema(); /** + * + * *
      * Optional. The default schema (BigQuery dataset ID) for assertions.
      * 
* * string assertion_schema = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for assertionSchema. */ - com.google.protobuf.ByteString - getAssertionSchemaBytes(); + com.google.protobuf.ByteString getAssertionSchemaBytes(); /** + * + * *
      * Optional. User-defined variables that are made available to project code during
      * compilation.
@@ -237,6 +295,8 @@ public interface CodeCompilationConfigOrBuilder extends
      */
     int getVarsCount();
     /**
+     *
+     *
      * 
      * Optional. User-defined variables that are made available to project code during
      * compilation.
@@ -244,15 +304,13 @@ public interface CodeCompilationConfigOrBuilder extends
      *
      * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
-    boolean containsVars(
-        java.lang.String key);
-    /**
-     * Use {@link #getVarsMap()} instead.
-     */
+    boolean containsVars(java.lang.String key);
+    /** Use {@link #getVarsMap()} instead. */
     @java.lang.Deprecated
-    java.util.Map
-    getVars();
+    java.util.Map getVars();
     /**
+     *
+     *
      * 
      * Optional. User-defined variables that are made available to project code during
      * compilation.
@@ -260,9 +318,10 @@ boolean containsVars(
      *
      * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
-    java.util.Map
-    getVarsMap();
+    java.util.Map getVarsMap();
     /**
+     *
+     *
      * 
      * Optional. User-defined variables that are made available to project code during
      * compilation.
@@ -272,11 +331,13 @@ boolean containsVars(
      */
 
     /* nullable */
-java.lang.String getVarsOrDefault(
+    java.lang.String getVarsOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue);
+        java.lang.String defaultValue);
     /**
+     *
+     *
      * 
      * Optional. User-defined variables that are made available to project code during
      * compilation.
@@ -284,90 +345,106 @@ java.lang.String getVarsOrDefault(
      *
      * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
-
-    java.lang.String getVarsOrThrow(
-        java.lang.String key);
+    java.lang.String getVarsOrThrow(java.lang.String key);
 
     /**
+     *
+     *
      * 
      * Optional. The suffix that should be appended to all database (Google Cloud project
      * ID) names.
      * 
* * string database_suffix = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The databaseSuffix. */ java.lang.String getDatabaseSuffix(); /** + * + * *
      * Optional. The suffix that should be appended to all database (Google Cloud project
      * ID) names.
      * 
* * string database_suffix = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for databaseSuffix. */ - com.google.protobuf.ByteString - getDatabaseSuffixBytes(); + com.google.protobuf.ByteString getDatabaseSuffixBytes(); /** + * + * *
      * Optional. The suffix that should be appended to all schema (BigQuery dataset ID)
      * names.
      * 
* * string schema_suffix = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The schemaSuffix. */ java.lang.String getSchemaSuffix(); /** + * + * *
      * Optional. The suffix that should be appended to all schema (BigQuery dataset ID)
      * names.
      * 
* * string schema_suffix = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for schemaSuffix. */ - com.google.protobuf.ByteString - getSchemaSuffixBytes(); + com.google.protobuf.ByteString getSchemaSuffixBytes(); /** + * + * *
      * Optional. The prefix that should be prepended to all table names.
      * 
* * string table_prefix = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The tablePrefix. */ java.lang.String getTablePrefix(); /** + * + * *
      * Optional. The prefix that should be prepended to all table names.
      * 
* * string table_prefix = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for tablePrefix. */ - com.google.protobuf.ByteString - getTablePrefixBytes(); + com.google.protobuf.ByteString getTablePrefixBytes(); } /** + * + * *
    * Configures various aspects of Dataform code compilation.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig} */ - public static final class CodeCompilationConfig extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CodeCompilationConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig) CodeCompilationConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CodeCompilationConfig.newBuilder() to construct. private CodeCompilationConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CodeCompilationConfig() { defaultDatabase_ = ""; defaultSchema_ = ""; @@ -380,16 +457,15 @@ private CodeCompilationConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CodeCompilationConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CodeCompilationConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -409,68 +485,75 @@ private CodeCompilationConfig( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - defaultDatabase_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + defaultDatabase_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - defaultSchema_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + defaultSchema_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - assertionSchema_ = s; - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - vars_ = com.google.protobuf.MapField.newMapField( - VarsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; + assertionSchema_ = s; + break; } - com.google.protobuf.MapEntry - vars__ = input.readMessage( - VarsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - vars_.getMutableMap().put( - vars__.getKey(), vars__.getValue()); - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + case 34: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + vars_ = + com.google.protobuf.MapField.newMapField(VarsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry vars__ = + input.readMessage( + VarsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + vars_.getMutableMap().put(vars__.getKey(), vars__.getValue()); + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - databaseSuffix_ = s; - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); + databaseSuffix_ = s; + break; + } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); - schemaSuffix_ = s; - break; - } - case 58: { - java.lang.String s = input.readStringRequireUtf8(); + schemaSuffix_ = s; + break; + } + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); - tablePrefix_ = s; - break; - } - case 66: { - java.lang.String s = input.readStringRequireUtf8(); + tablePrefix_ = s; + break; + } + case 66: + { + java.lang.String s = input.readStringRequireUtf8(); - defaultLocation_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + defaultLocation_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -478,46 +561,51 @@ private CodeCompilationConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 4: return internalGetVars(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.class, com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.Builder.class); + com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.class, + com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.Builder + .class); } public static final int DEFAULT_DATABASE_FIELD_NUMBER = 1; private volatile java.lang.Object defaultDatabase_; /** + * + * *
      * Optional. The default database (Google Cloud project ID).
      * 
* * string default_database = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The defaultDatabase. */ @java.lang.Override @@ -526,29 +614,29 @@ public java.lang.String getDefaultDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultDatabase_ = s; return s; } } /** + * + * *
      * Optional. The default database (Google Cloud project ID).
      * 
* * string default_database = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for defaultDatabase. */ @java.lang.Override - public com.google.protobuf.ByteString - getDefaultDatabaseBytes() { + public com.google.protobuf.ByteString getDefaultDatabaseBytes() { java.lang.Object ref = defaultDatabase_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); defaultDatabase_ = b; return b; } else { @@ -559,11 +647,14 @@ public java.lang.String getDefaultDatabase() { public static final int DEFAULT_SCHEMA_FIELD_NUMBER = 2; private volatile java.lang.Object defaultSchema_; /** + * + * *
      * Optional. The default schema (BigQuery dataset ID).
      * 
* * string default_schema = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The defaultSchema. */ @java.lang.Override @@ -572,29 +663,29 @@ public java.lang.String getDefaultSchema() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultSchema_ = s; return s; } } /** + * + * *
      * Optional. The default schema (BigQuery dataset ID).
      * 
* * string default_schema = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for defaultSchema. */ @java.lang.Override - public com.google.protobuf.ByteString - getDefaultSchemaBytes() { + public com.google.protobuf.ByteString getDefaultSchemaBytes() { java.lang.Object ref = defaultSchema_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); defaultSchema_ = b; return b; } else { @@ -605,6 +696,8 @@ public java.lang.String getDefaultSchema() { public static final int DEFAULT_LOCATION_FIELD_NUMBER = 8; private volatile java.lang.Object defaultLocation_; /** + * + * *
      * Optional. The default BigQuery location to use. Defaults to "US".
      * See the BigQuery docs for a full list of locations:
@@ -612,6 +705,7 @@ public java.lang.String getDefaultSchema() {
      * 
* * string default_location = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The defaultLocation. */ @java.lang.Override @@ -620,14 +714,15 @@ public java.lang.String getDefaultLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultLocation_ = s; return s; } } /** + * + * *
      * Optional. The default BigQuery location to use. Defaults to "US".
      * See the BigQuery docs for a full list of locations:
@@ -635,16 +730,15 @@ public java.lang.String getDefaultLocation() {
      * 
* * string default_location = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for defaultLocation. */ @java.lang.Override - public com.google.protobuf.ByteString - getDefaultLocationBytes() { + public com.google.protobuf.ByteString getDefaultLocationBytes() { java.lang.Object ref = defaultLocation_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); defaultLocation_ = b; return b; } else { @@ -655,11 +749,14 @@ public java.lang.String getDefaultLocation() { public static final int ASSERTION_SCHEMA_FIELD_NUMBER = 3; private volatile java.lang.Object assertionSchema_; /** + * + * *
      * Optional. The default schema (BigQuery dataset ID) for assertions.
      * 
* * string assertion_schema = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The assertionSchema. */ @java.lang.Override @@ -668,29 +765,29 @@ public java.lang.String getAssertionSchema() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assertionSchema_ = s; return s; } } /** + * + * *
      * Optional. The default schema (BigQuery dataset ID) for assertions.
      * 
* * string assertion_schema = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for assertionSchema. */ @java.lang.Override - public com.google.protobuf.ByteString - getAssertionSchemaBytes() { + public com.google.protobuf.ByteString getAssertionSchemaBytes() { java.lang.Object ref = assertionSchema_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); assertionSchema_ = b; return b; } else { @@ -699,24 +796,23 @@ public java.lang.String getAssertionSchema() { } public static final int VARS_FIELD_NUMBER = 4; + private static final class VarsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_VarsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> vars_; - private com.google.protobuf.MapField - internalGetVars() { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_VarsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + private com.google.protobuf.MapField vars_; + + private com.google.protobuf.MapField internalGetVars() { if (vars_ == null) { - return com.google.protobuf.MapField.emptyMapField( - VarsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(VarsDefaultEntryHolder.defaultEntry); } return vars_; } @@ -725,6 +821,8 @@ public int getVarsCount() { return internalGetVars().getMap().size(); } /** + * + * *
      * Optional. User-defined variables that are made available to project code during
      * compilation.
@@ -732,22 +830,22 @@ public int getVarsCount() {
      *
      * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
-
     @java.lang.Override
-    public boolean containsVars(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsVars(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetVars().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getVarsMap()} instead.
-     */
+    /** Use {@link #getVarsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getVars() {
       return getVarsMap();
     }
     /**
+     *
+     *
      * 
      * Optional. User-defined variables that are made available to project code during
      * compilation.
@@ -756,11 +854,12 @@ public java.util.Map getVars() {
      * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-
     public java.util.Map getVarsMap() {
       return internalGetVars().getMap();
     }
     /**
+     *
+     *
      * 
      * Optional. User-defined variables that are made available to project code during
      * compilation.
@@ -769,16 +868,16 @@ public java.util.Map getVarsMap() {
      * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-
-    public java.lang.String getVarsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetVars().getMap();
+    public java.lang.String getVarsOrDefault(java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetVars().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Optional. User-defined variables that are made available to project code during
      * compilation.
@@ -787,12 +886,11 @@ public java.lang.String getVarsOrDefault(
      * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-
-    public java.lang.String getVarsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetVars().getMap();
+    public java.lang.String getVarsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetVars().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -802,12 +900,15 @@ public java.lang.String getVarsOrThrow(
     public static final int DATABASE_SUFFIX_FIELD_NUMBER = 5;
     private volatile java.lang.Object databaseSuffix_;
     /**
+     *
+     *
      * 
      * Optional. The suffix that should be appended to all database (Google Cloud project
      * ID) names.
      * 
* * string database_suffix = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The databaseSuffix. */ @java.lang.Override @@ -816,30 +917,30 @@ public java.lang.String getDatabaseSuffix() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseSuffix_ = s; return s; } } /** + * + * *
      * Optional. The suffix that should be appended to all database (Google Cloud project
      * ID) names.
      * 
* * string database_suffix = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for databaseSuffix. */ @java.lang.Override - public com.google.protobuf.ByteString - getDatabaseSuffixBytes() { + public com.google.protobuf.ByteString getDatabaseSuffixBytes() { java.lang.Object ref = databaseSuffix_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); databaseSuffix_ = b; return b; } else { @@ -850,12 +951,15 @@ public java.lang.String getDatabaseSuffix() { public static final int SCHEMA_SUFFIX_FIELD_NUMBER = 6; private volatile java.lang.Object schemaSuffix_; /** + * + * *
      * Optional. The suffix that should be appended to all schema (BigQuery dataset ID)
      * names.
      * 
* * string schema_suffix = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The schemaSuffix. */ @java.lang.Override @@ -864,30 +968,30 @@ public java.lang.String getSchemaSuffix() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schemaSuffix_ = s; return s; } } /** + * + * *
      * Optional. The suffix that should be appended to all schema (BigQuery dataset ID)
      * names.
      * 
* * string schema_suffix = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for schemaSuffix. */ @java.lang.Override - public com.google.protobuf.ByteString - getSchemaSuffixBytes() { + public com.google.protobuf.ByteString getSchemaSuffixBytes() { java.lang.Object ref = schemaSuffix_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); schemaSuffix_ = b; return b; } else { @@ -898,11 +1002,14 @@ public java.lang.String getSchemaSuffix() { public static final int TABLE_PREFIX_FIELD_NUMBER = 7; private volatile java.lang.Object tablePrefix_; /** + * + * *
      * Optional. The prefix that should be prepended to all table names.
      * 
* * string table_prefix = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The tablePrefix. */ @java.lang.Override @@ -911,29 +1018,29 @@ public java.lang.String getTablePrefix() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tablePrefix_ = s; return s; } } /** + * + * *
      * Optional. The prefix that should be prepended to all table names.
      * 
* * string table_prefix = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for tablePrefix. */ @java.lang.Override - public com.google.protobuf.ByteString - getTablePrefixBytes() { + public com.google.protobuf.ByteString getTablePrefixBytes() { java.lang.Object ref = tablePrefix_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tablePrefix_ = b; return b; } else { @@ -942,6 +1049,7 @@ public java.lang.String getTablePrefix() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -953,8 +1061,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultDatabase_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, defaultDatabase_); } @@ -964,12 +1071,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(assertionSchema_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, assertionSchema_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetVars(), - VarsDefaultEntryHolder.defaultEntry, - 4); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetVars(), VarsDefaultEntryHolder.defaultEntry, 4); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(databaseSuffix_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, databaseSuffix_); } @@ -1000,15 +1103,15 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(assertionSchema_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, assertionSchema_); } - for (java.util.Map.Entry entry - : internalGetVars().getMap().entrySet()) { - com.google.protobuf.MapEntry - vars__ = VarsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, vars__); + for (java.util.Map.Entry entry : + internalGetVars().getMap().entrySet()) { + com.google.protobuf.MapEntry vars__ = + VarsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, vars__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(databaseSuffix_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, databaseSuffix_); @@ -1030,29 +1133,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig)) { + if (!(obj + instanceof com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig other = (com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig) obj; - - if (!getDefaultDatabase() - .equals(other.getDefaultDatabase())) return false; - if (!getDefaultSchema() - .equals(other.getDefaultSchema())) return false; - if (!getDefaultLocation() - .equals(other.getDefaultLocation())) return false; - if (!getAssertionSchema() - .equals(other.getAssertionSchema())) return false; - if (!internalGetVars().equals( - other.internalGetVars())) return false; - if (!getDatabaseSuffix() - .equals(other.getDatabaseSuffix())) return false; - if (!getSchemaSuffix() - .equals(other.getSchemaSuffix())) return false; - if (!getTablePrefix() - .equals(other.getTablePrefix())) return false; + com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig other = + (com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig) obj; + + if (!getDefaultDatabase().equals(other.getDefaultDatabase())) return false; + if (!getDefaultSchema().equals(other.getDefaultSchema())) return false; + if (!getDefaultLocation().equals(other.getDefaultLocation())) return false; + if (!getAssertionSchema().equals(other.getAssertionSchema())) return false; + if (!internalGetVars().equals(other.internalGetVars())) return false; + if (!getDatabaseSuffix().equals(other.getDatabaseSuffix())) return false; + if (!getSchemaSuffix().equals(other.getSchemaSuffix())) return false; + if (!getTablePrefix().equals(other.getTablePrefix())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1087,88 +1184,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1178,66 +1288,70 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Configures various aspects of Dataform code compilation.
      * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig) com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 4: return internalGetVars(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 4: return internalGetMutableVars(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.class, com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.Builder.class); + com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.class, + com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.Builder + .class); } - // Construct using com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.newBuilder() + // Construct using + // com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1260,19 +1374,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig getDefaultInstanceForType() { - return com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.getDefaultInstance(); + public com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig + getDefaultInstanceForType() { + return com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig build() { - com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig result = buildPartial(); + com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1280,8 +1397,10 @@ public com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfi } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig buildPartial() { - com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig result = new com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig(this); + public com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig + buildPartial() { + com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig result = + new com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig(this); int from_bitField0_ = bitField0_; result.defaultDatabase_ = defaultDatabase_; result.defaultSchema_ = defaultSchema_; @@ -1300,46 +1419,54 @@ public com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfi public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig)other); + if (other + instanceof com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig) { + return mergeFrom( + (com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig other) { - if (other == com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig other) { + if (other + == com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig + .getDefaultInstance()) return this; if (!other.getDefaultDatabase().isEmpty()) { defaultDatabase_ = other.defaultDatabase_; onChanged(); @@ -1356,8 +1483,7 @@ public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.CompilationResult.Co assertionSchema_ = other.assertionSchema_; onChanged(); } - internalGetMutableVars().mergeFrom( - other.internalGetVars()); + internalGetMutableVars().mergeFrom(other.internalGetVars()); if (!other.getDatabaseSuffix().isEmpty()) { databaseSuffix_ = other.databaseSuffix_; onChanged(); @@ -1385,11 +1511,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig parsedMessage = null; + com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1398,22 +1527,25 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object defaultDatabase_ = ""; /** + * + * *
        * Optional. The default database (Google Cloud project ID).
        * 
* * string default_database = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The defaultDatabase. */ public java.lang.String getDefaultDatabase() { java.lang.Object ref = defaultDatabase_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultDatabase_ = s; return s; @@ -1422,20 +1554,21 @@ public java.lang.String getDefaultDatabase() { } } /** + * + * *
        * Optional. The default database (Google Cloud project ID).
        * 
* * string default_database = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for defaultDatabase. */ - public com.google.protobuf.ByteString - getDefaultDatabaseBytes() { + public com.google.protobuf.ByteString getDefaultDatabaseBytes() { java.lang.Object ref = defaultDatabase_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); defaultDatabase_ = b; return b; } else { @@ -1443,54 +1576,61 @@ public java.lang.String getDefaultDatabase() { } } /** + * + * *
        * Optional. The default database (Google Cloud project ID).
        * 
* * string default_database = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The defaultDatabase to set. * @return This builder for chaining. */ - public Builder setDefaultDatabase( - java.lang.String value) { + public Builder setDefaultDatabase(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + defaultDatabase_ = value; onChanged(); return this; } /** + * + * *
        * Optional. The default database (Google Cloud project ID).
        * 
* * string default_database = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDefaultDatabase() { - + defaultDatabase_ = getDefaultInstance().getDefaultDatabase(); onChanged(); return this; } /** + * + * *
        * Optional. The default database (Google Cloud project ID).
        * 
* * string default_database = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for defaultDatabase to set. * @return This builder for chaining. */ - public Builder setDefaultDatabaseBytes( - com.google.protobuf.ByteString value) { + public Builder setDefaultDatabaseBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + defaultDatabase_ = value; onChanged(); return this; @@ -1498,18 +1638,20 @@ public Builder setDefaultDatabaseBytes( private java.lang.Object defaultSchema_ = ""; /** + * + * *
        * Optional. The default schema (BigQuery dataset ID).
        * 
* * string default_schema = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The defaultSchema. */ public java.lang.String getDefaultSchema() { java.lang.Object ref = defaultSchema_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultSchema_ = s; return s; @@ -1518,20 +1660,21 @@ public java.lang.String getDefaultSchema() { } } /** + * + * *
        * Optional. The default schema (BigQuery dataset ID).
        * 
* * string default_schema = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for defaultSchema. */ - public com.google.protobuf.ByteString - getDefaultSchemaBytes() { + public com.google.protobuf.ByteString getDefaultSchemaBytes() { java.lang.Object ref = defaultSchema_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); defaultSchema_ = b; return b; } else { @@ -1539,54 +1682,61 @@ public java.lang.String getDefaultSchema() { } } /** + * + * *
        * Optional. The default schema (BigQuery dataset ID).
        * 
* * string default_schema = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The defaultSchema to set. * @return This builder for chaining. */ - public Builder setDefaultSchema( - java.lang.String value) { + public Builder setDefaultSchema(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + defaultSchema_ = value; onChanged(); return this; } /** + * + * *
        * Optional. The default schema (BigQuery dataset ID).
        * 
* * string default_schema = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDefaultSchema() { - + defaultSchema_ = getDefaultInstance().getDefaultSchema(); onChanged(); return this; } /** + * + * *
        * Optional. The default schema (BigQuery dataset ID).
        * 
* * string default_schema = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for defaultSchema to set. * @return This builder for chaining. */ - public Builder setDefaultSchemaBytes( - com.google.protobuf.ByteString value) { + public Builder setDefaultSchemaBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + defaultSchema_ = value; onChanged(); return this; @@ -1594,6 +1744,8 @@ public Builder setDefaultSchemaBytes( private java.lang.Object defaultLocation_ = ""; /** + * + * *
        * Optional. The default BigQuery location to use. Defaults to "US".
        * See the BigQuery docs for a full list of locations:
@@ -1601,13 +1753,13 @@ public Builder setDefaultSchemaBytes(
        * 
* * string default_location = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The defaultLocation. */ public java.lang.String getDefaultLocation() { java.lang.Object ref = defaultLocation_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultLocation_ = s; return s; @@ -1616,6 +1768,8 @@ public java.lang.String getDefaultLocation() { } } /** + * + * *
        * Optional. The default BigQuery location to use. Defaults to "US".
        * See the BigQuery docs for a full list of locations:
@@ -1623,15 +1777,14 @@ public java.lang.String getDefaultLocation() {
        * 
* * string default_location = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for defaultLocation. */ - public com.google.protobuf.ByteString - getDefaultLocationBytes() { + public com.google.protobuf.ByteString getDefaultLocationBytes() { java.lang.Object ref = defaultLocation_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); defaultLocation_ = b; return b; } else { @@ -1639,6 +1792,8 @@ public java.lang.String getDefaultLocation() { } } /** + * + * *
        * Optional. The default BigQuery location to use. Defaults to "US".
        * See the BigQuery docs for a full list of locations:
@@ -1646,20 +1801,22 @@ public java.lang.String getDefaultLocation() {
        * 
* * string default_location = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The defaultLocation to set. * @return This builder for chaining. */ - public Builder setDefaultLocation( - java.lang.String value) { + public Builder setDefaultLocation(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + defaultLocation_ = value; onChanged(); return this; } /** + * + * *
        * Optional. The default BigQuery location to use. Defaults to "US".
        * See the BigQuery docs for a full list of locations:
@@ -1667,15 +1824,18 @@ public Builder setDefaultLocation(
        * 
* * string default_location = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDefaultLocation() { - + defaultLocation_ = getDefaultInstance().getDefaultLocation(); onChanged(); return this; } /** + * + * *
        * Optional. The default BigQuery location to use. Defaults to "US".
        * See the BigQuery docs for a full list of locations:
@@ -1683,16 +1843,16 @@ public Builder clearDefaultLocation() {
        * 
* * string default_location = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for defaultLocation to set. * @return This builder for chaining. */ - public Builder setDefaultLocationBytes( - com.google.protobuf.ByteString value) { + public Builder setDefaultLocationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + defaultLocation_ = value; onChanged(); return this; @@ -1700,18 +1860,20 @@ public Builder setDefaultLocationBytes( private java.lang.Object assertionSchema_ = ""; /** + * + * *
        * Optional. The default schema (BigQuery dataset ID) for assertions.
        * 
* * string assertion_schema = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The assertionSchema. */ public java.lang.String getAssertionSchema() { java.lang.Object ref = assertionSchema_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assertionSchema_ = s; return s; @@ -1720,20 +1882,21 @@ public java.lang.String getAssertionSchema() { } } /** + * + * *
        * Optional. The default schema (BigQuery dataset ID) for assertions.
        * 
* * string assertion_schema = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for assertionSchema. */ - public com.google.protobuf.ByteString - getAssertionSchemaBytes() { + public com.google.protobuf.ByteString getAssertionSchemaBytes() { java.lang.Object ref = assertionSchema_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); assertionSchema_ = b; return b; } else { @@ -1741,75 +1904,81 @@ public java.lang.String getAssertionSchema() { } } /** + * + * *
        * Optional. The default schema (BigQuery dataset ID) for assertions.
        * 
* * string assertion_schema = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The assertionSchema to set. * @return This builder for chaining. */ - public Builder setAssertionSchema( - java.lang.String value) { + public Builder setAssertionSchema(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + assertionSchema_ = value; onChanged(); return this; } /** + * + * *
        * Optional. The default schema (BigQuery dataset ID) for assertions.
        * 
* * string assertion_schema = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearAssertionSchema() { - + assertionSchema_ = getDefaultInstance().getAssertionSchema(); onChanged(); return this; } /** + * + * *
        * Optional. The default schema (BigQuery dataset ID) for assertions.
        * 
* * string assertion_schema = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for assertionSchema to set. * @return This builder for chaining. */ - public Builder setAssertionSchemaBytes( - com.google.protobuf.ByteString value) { + public Builder setAssertionSchemaBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + assertionSchema_ = value; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> vars_; - private com.google.protobuf.MapField - internalGetVars() { + private com.google.protobuf.MapField vars_; + + private com.google.protobuf.MapField internalGetVars() { if (vars_ == null) { - return com.google.protobuf.MapField.emptyMapField( - VarsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(VarsDefaultEntryHolder.defaultEntry); } return vars_; } + private com.google.protobuf.MapField - internalGetMutableVars() { - onChanged();; + internalGetMutableVars() { + onChanged(); + ; if (vars_ == null) { - vars_ = com.google.protobuf.MapField.newMapField( - VarsDefaultEntryHolder.defaultEntry); + vars_ = com.google.protobuf.MapField.newMapField(VarsDefaultEntryHolder.defaultEntry); } if (!vars_.isMutable()) { vars_ = vars_.copy(); @@ -1821,6 +1990,8 @@ public int getVarsCount() { return internalGetVars().getMap().size(); } /** + * + * *
        * Optional. User-defined variables that are made available to project code during
        * compilation.
@@ -1828,22 +1999,22 @@ public int getVarsCount() {
        *
        * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];
        */
-
       @java.lang.Override
-      public boolean containsVars(
-          java.lang.String key) {
-        if (key == null) { throw new NullPointerException("map key"); }
+      public boolean containsVars(java.lang.String key) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
         return internalGetVars().getMap().containsKey(key);
       }
-      /**
-       * Use {@link #getVarsMap()} instead.
-       */
+      /** Use {@link #getVarsMap()} instead. */
       @java.lang.Override
       @java.lang.Deprecated
       public java.util.Map getVars() {
         return getVarsMap();
       }
       /**
+       *
+       *
        * 
        * Optional. User-defined variables that are made available to project code during
        * compilation.
@@ -1852,11 +2023,12 @@ public java.util.Map getVars() {
        * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];
        */
       @java.lang.Override
-
       public java.util.Map getVarsMap() {
         return internalGetVars().getMap();
       }
       /**
+       *
+       *
        * 
        * Optional. User-defined variables that are made available to project code during
        * compilation.
@@ -1865,16 +2037,17 @@ public java.util.Map getVarsMap() {
        * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];
        */
       @java.lang.Override
-
       public java.lang.String getVarsOrDefault(
-          java.lang.String key,
-          java.lang.String defaultValue) {
-        if (key == null) { throw new NullPointerException("map key"); }
-        java.util.Map map =
-            internalGetVars().getMap();
+          java.lang.String key, java.lang.String defaultValue) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
+        java.util.Map map = internalGetVars().getMap();
         return map.containsKey(key) ? map.get(key) : defaultValue;
       }
       /**
+       *
+       *
        * 
        * Optional. User-defined variables that are made available to project code during
        * compilation.
@@ -1883,12 +2056,11 @@ public java.lang.String getVarsOrDefault(
        * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];
        */
       @java.lang.Override
-
-      public java.lang.String getVarsOrThrow(
-          java.lang.String key) {
-        if (key == null) { throw new NullPointerException("map key"); }
-        java.util.Map map =
-            internalGetVars().getMap();
+      public java.lang.String getVarsOrThrow(java.lang.String key) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
+        java.util.Map map = internalGetVars().getMap();
         if (!map.containsKey(key)) {
           throw new java.lang.IllegalArgumentException();
         }
@@ -1896,11 +2068,12 @@ public java.lang.String getVarsOrThrow(
       }
 
       public Builder clearVars() {
-        internalGetMutableVars().getMutableMap()
-            .clear();
+        internalGetMutableVars().getMutableMap().clear();
         return this;
       }
       /**
+       *
+       *
        * 
        * Optional. User-defined variables that are made available to project code during
        * compilation.
@@ -1908,23 +2081,21 @@ public Builder clearVars() {
        *
        * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];
        */
-
-      public Builder removeVars(
-          java.lang.String key) {
-        if (key == null) { throw new NullPointerException("map key"); }
-        internalGetMutableVars().getMutableMap()
-            .remove(key);
+      public Builder removeVars(java.lang.String key) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
+        internalGetMutableVars().getMutableMap().remove(key);
         return this;
       }
-      /**
-       * Use alternate mutation accessors instead.
-       */
+      /** Use alternate mutation accessors instead. */
       @java.lang.Deprecated
-      public java.util.Map
-      getMutableVars() {
+      public java.util.Map getMutableVars() {
         return internalGetMutableVars().getMutableMap();
       }
       /**
+       *
+       *
        * 
        * Optional. User-defined variables that are made available to project code during
        * compilation.
@@ -1932,19 +2103,20 @@ public Builder removeVars(
        *
        * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];
        */
-      public Builder putVars(
-          java.lang.String key,
-          java.lang.String value) {
-        if (key == null) { throw new NullPointerException("map key"); }
+      public Builder putVars(java.lang.String key, java.lang.String value) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
         if (value == null) {
-  throw new NullPointerException("map value");
-}
+          throw new NullPointerException("map value");
+        }
 
-        internalGetMutableVars().getMutableMap()
-            .put(key, value);
+        internalGetMutableVars().getMutableMap().put(key, value);
         return this;
       }
       /**
+       *
+       *
        * 
        * Optional. User-defined variables that are made available to project code during
        * compilation.
@@ -1952,29 +2124,28 @@ public Builder putVars(
        *
        * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];
        */
-
-      public Builder putAllVars(
-          java.util.Map values) {
-        internalGetMutableVars().getMutableMap()
-            .putAll(values);
+      public Builder putAllVars(java.util.Map values) {
+        internalGetMutableVars().getMutableMap().putAll(values);
         return this;
       }
 
       private java.lang.Object databaseSuffix_ = "";
       /**
+       *
+       *
        * 
        * Optional. The suffix that should be appended to all database (Google Cloud project
        * ID) names.
        * 
* * string database_suffix = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The databaseSuffix. */ public java.lang.String getDatabaseSuffix() { java.lang.Object ref = databaseSuffix_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseSuffix_ = s; return s; @@ -1983,21 +2154,22 @@ public java.lang.String getDatabaseSuffix() { } } /** + * + * *
        * Optional. The suffix that should be appended to all database (Google Cloud project
        * ID) names.
        * 
* * string database_suffix = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for databaseSuffix. */ - public com.google.protobuf.ByteString - getDatabaseSuffixBytes() { + public com.google.protobuf.ByteString getDatabaseSuffixBytes() { java.lang.Object ref = databaseSuffix_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); databaseSuffix_ = b; return b; } else { @@ -2005,57 +2177,64 @@ public java.lang.String getDatabaseSuffix() { } } /** + * + * *
        * Optional. The suffix that should be appended to all database (Google Cloud project
        * ID) names.
        * 
* * string database_suffix = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The databaseSuffix to set. * @return This builder for chaining. */ - public Builder setDatabaseSuffix( - java.lang.String value) { + public Builder setDatabaseSuffix(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + databaseSuffix_ = value; onChanged(); return this; } /** + * + * *
        * Optional. The suffix that should be appended to all database (Google Cloud project
        * ID) names.
        * 
* * string database_suffix = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDatabaseSuffix() { - + databaseSuffix_ = getDefaultInstance().getDatabaseSuffix(); onChanged(); return this; } /** + * + * *
        * Optional. The suffix that should be appended to all database (Google Cloud project
        * ID) names.
        * 
* * string database_suffix = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for databaseSuffix to set. * @return This builder for chaining. */ - public Builder setDatabaseSuffixBytes( - com.google.protobuf.ByteString value) { + public Builder setDatabaseSuffixBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + databaseSuffix_ = value; onChanged(); return this; @@ -2063,19 +2242,21 @@ public Builder setDatabaseSuffixBytes( private java.lang.Object schemaSuffix_ = ""; /** + * + * *
        * Optional. The suffix that should be appended to all schema (BigQuery dataset ID)
        * names.
        * 
* * string schema_suffix = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The schemaSuffix. */ public java.lang.String getSchemaSuffix() { java.lang.Object ref = schemaSuffix_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schemaSuffix_ = s; return s; @@ -2084,21 +2265,22 @@ public java.lang.String getSchemaSuffix() { } } /** + * + * *
        * Optional. The suffix that should be appended to all schema (BigQuery dataset ID)
        * names.
        * 
* * string schema_suffix = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for schemaSuffix. */ - public com.google.protobuf.ByteString - getSchemaSuffixBytes() { + public com.google.protobuf.ByteString getSchemaSuffixBytes() { java.lang.Object ref = schemaSuffix_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); schemaSuffix_ = b; return b; } else { @@ -2106,57 +2288,64 @@ public java.lang.String getSchemaSuffix() { } } /** + * + * *
        * Optional. The suffix that should be appended to all schema (BigQuery dataset ID)
        * names.
        * 
* * string schema_suffix = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The schemaSuffix to set. * @return This builder for chaining. */ - public Builder setSchemaSuffix( - java.lang.String value) { + public Builder setSchemaSuffix(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + schemaSuffix_ = value; onChanged(); return this; } /** + * + * *
        * Optional. The suffix that should be appended to all schema (BigQuery dataset ID)
        * names.
        * 
* * string schema_suffix = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearSchemaSuffix() { - + schemaSuffix_ = getDefaultInstance().getSchemaSuffix(); onChanged(); return this; } /** + * + * *
        * Optional. The suffix that should be appended to all schema (BigQuery dataset ID)
        * names.
        * 
* * string schema_suffix = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for schemaSuffix to set. * @return This builder for chaining. */ - public Builder setSchemaSuffixBytes( - com.google.protobuf.ByteString value) { + public Builder setSchemaSuffixBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + schemaSuffix_ = value; onChanged(); return this; @@ -2164,18 +2353,20 @@ public Builder setSchemaSuffixBytes( private java.lang.Object tablePrefix_ = ""; /** + * + * *
        * Optional. The prefix that should be prepended to all table names.
        * 
* * string table_prefix = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The tablePrefix. */ public java.lang.String getTablePrefix() { java.lang.Object ref = tablePrefix_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tablePrefix_ = s; return s; @@ -2184,20 +2375,21 @@ public java.lang.String getTablePrefix() { } } /** + * + * *
        * Optional. The prefix that should be prepended to all table names.
        * 
* * string table_prefix = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for tablePrefix. */ - public com.google.protobuf.ByteString - getTablePrefixBytes() { + public com.google.protobuf.ByteString getTablePrefixBytes() { java.lang.Object ref = tablePrefix_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tablePrefix_ = b; return b; } else { @@ -2205,58 +2397,66 @@ public java.lang.String getTablePrefix() { } } /** + * + * *
        * Optional. The prefix that should be prepended to all table names.
        * 
* * string table_prefix = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The tablePrefix to set. * @return This builder for chaining. */ - public Builder setTablePrefix( - java.lang.String value) { + public Builder setTablePrefix(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tablePrefix_ = value; onChanged(); return this; } /** + * + * *
        * Optional. The prefix that should be prepended to all table names.
        * 
* * string table_prefix = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearTablePrefix() { - + tablePrefix_ = getDefaultInstance().getTablePrefix(); onChanged(); return this; } /** + * + * *
        * Optional. The prefix that should be prepended to all table names.
        * 
* * string table_prefix = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for tablePrefix to set. * @return This builder for chaining. */ - public Builder setTablePrefixBytes( - com.google.protobuf.ByteString value) { + public Builder setTablePrefixBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tablePrefix_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2269,30 +2469,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig) - private static final com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig(); + DEFAULT_INSTANCE = + new com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig(); } - public static com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CodeCompilationConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CodeCompilationConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CodeCompilationConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CodeCompilationConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2304,121 +2507,154 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface CompilationErrorOrBuilder extends + public interface CompilationErrorOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.CompilationResult.CompilationError) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Output only. The error's top level message.
      * 
* * string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The message. */ java.lang.String getMessage(); /** + * + * *
      * Output only. The error's top level message.
      * 
* * string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for message. */ - com.google.protobuf.ByteString - getMessageBytes(); + com.google.protobuf.ByteString getMessageBytes(); /** + * + * *
      * Output only. The error's full stack trace.
      * 
* * string stack = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The stack. */ java.lang.String getStack(); /** + * + * *
      * Output only. The error's full stack trace.
      * 
* * string stack = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for stack. */ - com.google.protobuf.ByteString - getStackBytes(); + com.google.protobuf.ByteString getStackBytes(); /** + * + * *
      * Output only. The path of the file where this error occurred, if available, relative to
      * the project root.
      * 
* * string path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The path. */ java.lang.String getPath(); /** + * + * *
      * Output only. The path of the file where this error occurred, if available, relative to
      * the project root.
      * 
* * string path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for path. */ - com.google.protobuf.ByteString - getPathBytes(); + com.google.protobuf.ByteString getPathBytes(); /** + * + * *
      * Output only. The identifier of the action where this error occurred, if available.
      * 
* - * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the actionTarget field is set. */ boolean hasActionTarget(); /** + * + * *
      * Output only. The identifier of the action where this error occurred, if available.
      * 
* - * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The actionTarget. */ com.google.cloud.dataform.v1alpha2.Target getActionTarget(); /** + * + * *
      * Output only. The identifier of the action where this error occurred, if available.
      * 
* - * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.dataform.v1alpha2.TargetOrBuilder getActionTargetOrBuilder(); } /** + * + * *
    * An error encountered when attempting to compile a Dataform project.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.CompilationResult.CompilationError} */ - public static final class CompilationError extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CompilationError extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.CompilationResult.CompilationError) CompilationErrorOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CompilationError.newBuilder() to construct. private CompilationError(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CompilationError() { message_ = ""; stack_ = ""; @@ -2427,16 +2663,15 @@ private CompilationError() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CompilationError(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CompilationError( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2455,44 +2690,50 @@ private CompilationError( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - message_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + message_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - stack_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + stack_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - path_ = s; - break; - } - case 34: { - com.google.cloud.dataform.v1alpha2.Target.Builder subBuilder = null; - if (actionTarget_ != null) { - subBuilder = actionTarget_.toBuilder(); + path_ = s; + break; } - actionTarget_ = input.readMessage(com.google.cloud.dataform.v1alpha2.Target.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(actionTarget_); - actionTarget_ = subBuilder.buildPartial(); + case 34: + { + com.google.cloud.dataform.v1alpha2.Target.Builder subBuilder = null; + if (actionTarget_ != null) { + subBuilder = actionTarget_.toBuilder(); + } + actionTarget_ = + input.readMessage( + com.google.cloud.dataform.v1alpha2.Target.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(actionTarget_); + actionTarget_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2500,34 +2741,39 @@ private CompilationError( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CompilationError_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CompilationError_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CompilationError_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CompilationError_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.class, com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.Builder.class); + com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.class, + com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.Builder.class); } public static final int MESSAGE_FIELD_NUMBER = 1; private volatile java.lang.Object message_; /** + * + * *
      * Output only. The error's top level message.
      * 
* * string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The message. */ @java.lang.Override @@ -2536,29 +2782,29 @@ public java.lang.String getMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** + * + * *
      * Output only. The error's top level message.
      * 
* * string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { @@ -2569,11 +2815,14 @@ public java.lang.String getMessage() { public static final int STACK_FIELD_NUMBER = 2; private volatile java.lang.Object stack_; /** + * + * *
      * Output only. The error's full stack trace.
      * 
* * string stack = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The stack. */ @java.lang.Override @@ -2582,29 +2831,29 @@ public java.lang.String getStack() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stack_ = s; return s; } } /** + * + * *
      * Output only. The error's full stack trace.
      * 
* * string stack = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for stack. */ @java.lang.Override - public com.google.protobuf.ByteString - getStackBytes() { + public com.google.protobuf.ByteString getStackBytes() { java.lang.Object ref = stack_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); stack_ = b; return b; } else { @@ -2615,12 +2864,15 @@ public java.lang.String getStack() { public static final int PATH_FIELD_NUMBER = 3; private volatile java.lang.Object path_; /** + * + * *
      * Output only. The path of the file where this error occurred, if available, relative to
      * the project root.
      * 
* * string path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The path. */ @java.lang.Override @@ -2629,30 +2881,30 @@ public java.lang.String getPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } } /** + * + * *
      * Output only. The path of the file where this error occurred, if available, relative to
      * the project root.
      * 
* * string path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for path. */ @java.lang.Override - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); path_ = b; return b; } else { @@ -2663,11 +2915,16 @@ public java.lang.String getPath() { public static final int ACTION_TARGET_FIELD_NUMBER = 4; private com.google.cloud.dataform.v1alpha2.Target actionTarget_; /** + * + * *
      * Output only. The identifier of the action where this error occurred, if available.
      * 
* - * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the actionTarget field is set. */ @java.lang.Override @@ -2675,23 +2932,34 @@ public boolean hasActionTarget() { return actionTarget_ != null; } /** + * + * *
      * Output only. The identifier of the action where this error occurred, if available.
      * 
* - * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The actionTarget. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.Target getActionTarget() { - return actionTarget_ == null ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() : actionTarget_; + return actionTarget_ == null + ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() + : actionTarget_; } /** + * + * *
      * Output only. The identifier of the action where this error occurred, if available.
      * 
* - * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getActionTargetOrBuilder() { @@ -2699,6 +2967,7 @@ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getActionTargetOrBuild } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2710,8 +2979,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, message_); } @@ -2743,8 +3011,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, path_); } if (actionTarget_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getActionTarget()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getActionTarget()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2754,23 +3021,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError other = (com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError) obj; + com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError other = + (com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError) obj; - if (!getMessage() - .equals(other.getMessage())) return false; - if (!getStack() - .equals(other.getStack())) return false; - if (!getPath() - .equals(other.getPath())) return false; + if (!getMessage().equals(other.getMessage())) return false; + if (!getStack().equals(other.getStack())) return false; + if (!getPath().equals(other.getPath())) return false; if (hasActionTarget() != other.hasActionTarget()) return false; if (hasActionTarget()) { - if (!getActionTarget() - .equals(other.getActionTarget())) return false; + if (!getActionTarget().equals(other.getActionTarget())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -2799,87 +3063,95 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2889,44 +3161,50 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * An error encountered when attempting to compile a Dataform project.
      * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.CompilationResult.CompilationError} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.CompilationResult.CompilationError) com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationErrorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CompilationError_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CompilationError_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CompilationError_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CompilationError_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.class, com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.Builder.class); + com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.class, + com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.Builder + .class); } - // Construct using com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.newBuilder() + // Construct using + // com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -2946,19 +3224,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CompilationError_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CompilationError_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError getDefaultInstanceForType() { - return com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.getDefaultInstance(); + public com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError + getDefaultInstanceForType() { + return com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError build() { - com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError result = buildPartial(); + com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -2967,7 +3248,8 @@ public com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError bui @java.lang.Override public com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError buildPartial() { - com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError result = new com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError(this); + com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError result = + new com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError(this); result.message_ = message_; result.stack_ = stack_; result.path_ = path_; @@ -2984,46 +3266,54 @@ public com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError bui public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError)other); + if (other + instanceof com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError) { + return mergeFrom( + (com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError other) { - if (other == com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError other) { + if (other + == com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError + .getDefaultInstance()) return this; if (!other.getMessage().isEmpty()) { message_ = other.message_; onChanged(); @@ -3058,7 +3348,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3070,18 +3362,20 @@ public Builder mergeFrom( private java.lang.Object message_ = ""; /** + * + * *
        * Output only. The error's top level message.
        * 
* * string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; @@ -3090,20 +3384,21 @@ public java.lang.String getMessage() { } } /** + * + * *
        * Output only. The error's top level message.
        * 
* * string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for message. */ - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { @@ -3111,54 +3406,61 @@ public java.lang.String getMessage() { } } /** + * + * *
        * Output only. The error's top level message.
        * 
* * string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage( - java.lang.String value) { + public Builder setMessage(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + message_ = value; onChanged(); return this; } /** + * + * *
        * Output only. The error's top level message.
        * 
* * string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearMessage() { - + message_ = getDefaultInstance().getMessage(); onChanged(); return this; } /** + * + * *
        * Output only. The error's top level message.
        * 
* * string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes( - com.google.protobuf.ByteString value) { + public Builder setMessageBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + message_ = value; onChanged(); return this; @@ -3166,18 +3468,20 @@ public Builder setMessageBytes( private java.lang.Object stack_ = ""; /** + * + * *
        * Output only. The error's full stack trace.
        * 
* * string stack = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The stack. */ public java.lang.String getStack() { java.lang.Object ref = stack_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stack_ = s; return s; @@ -3186,20 +3490,21 @@ public java.lang.String getStack() { } } /** + * + * *
        * Output only. The error's full stack trace.
        * 
* * string stack = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for stack. */ - public com.google.protobuf.ByteString - getStackBytes() { + public com.google.protobuf.ByteString getStackBytes() { java.lang.Object ref = stack_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); stack_ = b; return b; } else { @@ -3207,54 +3512,61 @@ public java.lang.String getStack() { } } /** + * + * *
        * Output only. The error's full stack trace.
        * 
* * string stack = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The stack to set. * @return This builder for chaining. */ - public Builder setStack( - java.lang.String value) { + public Builder setStack(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + stack_ = value; onChanged(); return this; } /** + * + * *
        * Output only. The error's full stack trace.
        * 
* * string stack = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearStack() { - + stack_ = getDefaultInstance().getStack(); onChanged(); return this; } /** + * + * *
        * Output only. The error's full stack trace.
        * 
* * string stack = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for stack to set. * @return This builder for chaining. */ - public Builder setStackBytes( - com.google.protobuf.ByteString value) { + public Builder setStackBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + stack_ = value; onChanged(); return this; @@ -3262,19 +3574,21 @@ public Builder setStackBytes( private java.lang.Object path_ = ""; /** + * + * *
        * Output only. The path of the file where this error occurred, if available, relative to
        * the project root.
        * 
* * string path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; @@ -3283,21 +3597,22 @@ public java.lang.String getPath() { } } /** + * + * *
        * Output only. The path of the file where this error occurred, if available, relative to
        * the project root.
        * 
* * string path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for path. */ - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); path_ = b; return b; } else { @@ -3305,57 +3620,64 @@ public java.lang.String getPath() { } } /** + * + * *
        * Output only. The path of the file where this error occurred, if available, relative to
        * the project root.
        * 
* * string path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath( - java.lang.String value) { + public Builder setPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + path_ = value; onChanged(); return this; } /** + * + * *
        * Output only. The path of the file where this error occurred, if available, relative to
        * the project root.
        * 
* * string path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearPath() { - + path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** + * + * *
        * Output only. The path of the file where this error occurred, if available, relative to
        * the project root.
        * 
* * string path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes( - com.google.protobuf.ByteString value) { + public Builder setPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; onChanged(); return this; @@ -3363,39 +3685,58 @@ public Builder setPathBytes( private com.google.cloud.dataform.v1alpha2.Target actionTarget_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder> actionTargetBuilder_; + com.google.cloud.dataform.v1alpha2.Target, + com.google.cloud.dataform.v1alpha2.Target.Builder, + com.google.cloud.dataform.v1alpha2.TargetOrBuilder> + actionTargetBuilder_; /** + * + * *
        * Output only. The identifier of the action where this error occurred, if available.
        * 
* - * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the actionTarget field is set. */ public boolean hasActionTarget() { return actionTargetBuilder_ != null || actionTarget_ != null; } /** + * + * *
        * Output only. The identifier of the action where this error occurred, if available.
        * 
* - * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The actionTarget. */ public com.google.cloud.dataform.v1alpha2.Target getActionTarget() { if (actionTargetBuilder_ == null) { - return actionTarget_ == null ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() : actionTarget_; + return actionTarget_ == null + ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() + : actionTarget_; } else { return actionTargetBuilder_.getMessage(); } } /** + * + * *
        * Output only. The identifier of the action where this error occurred, if available.
        * 
* - * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setActionTarget(com.google.cloud.dataform.v1alpha2.Target value) { if (actionTargetBuilder_ == null) { @@ -3411,11 +3752,15 @@ public Builder setActionTarget(com.google.cloud.dataform.v1alpha2.Target value) return this; } /** + * + * *
        * Output only. The identifier of the action where this error occurred, if available.
        * 
* - * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setActionTarget( com.google.cloud.dataform.v1alpha2.Target.Builder builderForValue) { @@ -3429,17 +3774,23 @@ public Builder setActionTarget( return this; } /** + * + * *
        * Output only. The identifier of the action where this error occurred, if available.
        * 
* - * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeActionTarget(com.google.cloud.dataform.v1alpha2.Target value) { if (actionTargetBuilder_ == null) { if (actionTarget_ != null) { actionTarget_ = - com.google.cloud.dataform.v1alpha2.Target.newBuilder(actionTarget_).mergeFrom(value).buildPartial(); + com.google.cloud.dataform.v1alpha2.Target.newBuilder(actionTarget_) + .mergeFrom(value) + .buildPartial(); } else { actionTarget_ = value; } @@ -3451,11 +3802,15 @@ public Builder mergeActionTarget(com.google.cloud.dataform.v1alpha2.Target value return this; } /** + * + * *
        * Output only. The identifier of the action where this error occurred, if available.
        * 
* - * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearActionTarget() { if (actionTargetBuilder_ == null) { @@ -3469,52 +3824,69 @@ public Builder clearActionTarget() { return this; } /** + * + * *
        * Output only. The identifier of the action where this error occurred, if available.
        * 
* - * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.dataform.v1alpha2.Target.Builder getActionTargetBuilder() { - + onChanged(); return getActionTargetFieldBuilder().getBuilder(); } /** + * + * *
        * Output only. The identifier of the action where this error occurred, if available.
        * 
* - * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getActionTargetOrBuilder() { if (actionTargetBuilder_ != null) { return actionTargetBuilder_.getMessageOrBuilder(); } else { - return actionTarget_ == null ? - com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() : actionTarget_; + return actionTarget_ == null + ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() + : actionTarget_; } } /** + * + * *
        * Output only. The identifier of the action where this error occurred, if available.
        * 
* - * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder> + com.google.cloud.dataform.v1alpha2.Target, + com.google.cloud.dataform.v1alpha2.Target.Builder, + com.google.cloud.dataform.v1alpha2.TargetOrBuilder> getActionTargetFieldBuilder() { if (actionTargetBuilder_ == null) { - actionTargetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder>( - getActionTarget(), - getParentForChildren(), - isClean()); + actionTargetBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.Target, + com.google.cloud.dataform.v1alpha2.Target.Builder, + com.google.cloud.dataform.v1alpha2.TargetOrBuilder>( + getActionTarget(), getParentForChildren(), isClean()); actionTarget_ = null; } return actionTargetBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3527,30 +3899,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.CompilationResult.CompilationError) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.CompilationResult.CompilationError) - private static final com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError(); + DEFAULT_INSTANCE = + new com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError(); } - public static com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompilationError parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CompilationError(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompilationError parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CompilationError(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3562,21 +3937,24 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int sourceCase_ = 0; private java.lang.Object source_; + public enum SourceCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GIT_COMMITISH(2), WORKSPACE(3), SOURCE_NOT_SET(0); private final int value; + private SourceCase(int value) { this.value = value; } @@ -3592,31 +3970,37 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 2: return GIT_COMMITISH; - case 3: return WORKSPACE; - case 0: return SOURCE_NOT_SET; - default: return null; + case 2: + return GIT_COMMITISH; + case 3: + return WORKSPACE; + case 0: + return SOURCE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public SourceCase - getSourceCase() { - return SourceCase.forNumber( - sourceCase_); + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Output only. The compilation result's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -3625,29 +4009,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. The compilation result's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -3657,6 +4041,8 @@ public java.lang.String getName() { public static final int GIT_COMMITISH_FIELD_NUMBER = 2; /** + * + * *
    * Immutable. Git commit/tag/branch name at which the repository should be compiled.
    * Must exist in the remote repository.
@@ -3667,12 +4053,15 @@ public java.lang.String getName() {
    * 
* * string git_commitish = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return Whether the gitCommitish field is set. */ public boolean hasGitCommitish() { return sourceCase_ == 2; } /** + * + * *
    * Immutable. Git commit/tag/branch name at which the repository should be compiled.
    * Must exist in the remote repository.
@@ -3683,6 +4072,7 @@ public boolean hasGitCommitish() {
    * 
* * string git_commitish = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The gitCommitish. */ public java.lang.String getGitCommitish() { @@ -3693,8 +4083,7 @@ public java.lang.String getGitCommitish() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (sourceCase_ == 2) { source_ = s; @@ -3703,6 +4092,8 @@ public java.lang.String getGitCommitish() { } } /** + * + * *
    * Immutable. Git commit/tag/branch name at which the repository should be compiled.
    * Must exist in the remote repository.
@@ -3713,18 +4104,17 @@ public java.lang.String getGitCommitish() {
    * 
* * string git_commitish = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for gitCommitish. */ - public com.google.protobuf.ByteString - getGitCommitishBytes() { + public com.google.protobuf.ByteString getGitCommitishBytes() { java.lang.Object ref = ""; if (sourceCase_ == 2) { ref = source_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (sourceCase_ == 2) { source_ = b; } @@ -3736,24 +4126,34 @@ public java.lang.String getGitCommitish() { public static final int WORKSPACE_FIELD_NUMBER = 3; /** + * + * *
    * Immutable. The name of the workspace to compile. Must be in the format
    * `projects/*/locations/*/repositories/*/workspaces/*`.
    * 
* - * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return Whether the workspace field is set. */ public boolean hasWorkspace() { return sourceCase_ == 3; } /** + * + * *
    * Immutable. The name of the workspace to compile. Must be in the format
    * `projects/*/locations/*/repositories/*/workspaces/*`.
    * 
* - * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ public java.lang.String getWorkspace() { @@ -3764,8 +4164,7 @@ public java.lang.String getWorkspace() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (sourceCase_ == 3) { source_ = s; @@ -3774,24 +4173,27 @@ public java.lang.String getWorkspace() { } } /** + * + * *
    * Immutable. The name of the workspace to compile. Must be in the format
    * `projects/*/locations/*/repositories/*/workspaces/*`.
    * 
* - * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ - public com.google.protobuf.ByteString - getWorkspaceBytes() { + public com.google.protobuf.ByteString getWorkspaceBytes() { java.lang.Object ref = ""; if (sourceCase_ == 3) { ref = source_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (sourceCase_ == 3) { source_ = b; } @@ -3802,14 +4204,20 @@ public java.lang.String getWorkspace() { } public static final int CODE_COMPILATION_CONFIG_FIELD_NUMBER = 4; - private com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig codeCompilationConfig_; + private com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig + codeCompilationConfig_; /** + * + * *
    * Immutable. If set, fields of `code_compilation_overrides` override the default
    * compilation settings that are specified in dataform.json.
    * 
* - * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return Whether the codeCompilationConfig field is set. */ @java.lang.Override @@ -3817,39 +4225,56 @@ public boolean hasCodeCompilationConfig() { return codeCompilationConfig_ != null; } /** + * + * *
    * Immutable. If set, fields of `code_compilation_overrides` override the default
    * compilation settings that are specified in dataform.json.
    * 
* - * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The codeCompilationConfig. */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig getCodeCompilationConfig() { - return codeCompilationConfig_ == null ? com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.getDefaultInstance() : codeCompilationConfig_; + public com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig + getCodeCompilationConfig() { + return codeCompilationConfig_ == null + ? com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig + .getDefaultInstance() + : codeCompilationConfig_; } /** + * + * *
    * Immutable. If set, fields of `code_compilation_overrides` override the default
    * compilation settings that are specified in dataform.json.
    * 
* - * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfigOrBuilder getCodeCompilationConfigOrBuilder() { + public com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfigOrBuilder + getCodeCompilationConfigOrBuilder() { return getCodeCompilationConfig(); } public static final int DATAFORM_CORE_VERSION_FIELD_NUMBER = 5; private volatile java.lang.Object dataformCoreVersion_; /** + * + * *
    * Output only. The version of `@dataform/core` that was used for compilation.
    * 
* * string dataform_core_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The dataformCoreVersion. */ @java.lang.Override @@ -3858,29 +4283,29 @@ public java.lang.String getDataformCoreVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataformCoreVersion_ = s; return s; } } /** + * + * *
    * Output only. The version of `@dataform/core` that was used for compilation.
    * 
* * string dataform_core_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for dataformCoreVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getDataformCoreVersionBytes() { + public com.google.protobuf.ByteString getDataformCoreVersionBytes() { java.lang.Object ref = dataformCoreVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dataformCoreVersion_ = b; return b; } else { @@ -3889,66 +4314,91 @@ public java.lang.String getDataformCoreVersion() { } public static final int COMPILATION_ERRORS_FIELD_NUMBER = 6; - private java.util.List compilationErrors_; + private java.util.List + compilationErrors_; /** + * + * *
    * Output only. Errors encountered during project compilation.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List getCompilationErrorsList() { + public java.util.List + getCompilationErrorsList() { return compilationErrors_; } /** + * + * *
    * Output only. Errors encountered during project compilation.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationErrorOrBuilder> getCompilationErrorsOrBuilderList() { return compilationErrors_; } /** + * + * *
    * Output only. Errors encountered during project compilation.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getCompilationErrorsCount() { return compilationErrors_.size(); } /** + * + * *
    * Output only. Errors encountered during project compilation.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError getCompilationErrors(int index) { + public com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError getCompilationErrors( + int index) { return compilationErrors_.get(index); } /** + * + * *
    * Output only. Errors encountered during project compilation.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationErrorOrBuilder getCompilationErrorsOrBuilder( - int index) { + public com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationErrorOrBuilder + getCompilationErrorsOrBuilder(int index) { return compilationErrors_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3960,8 +4410,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -3999,15 +4448,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, source_); } if (codeCompilationConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getCodeCompilationConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCodeCompilationConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataformCoreVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, dataformCoreVersion_); } for (int i = 0; i < compilationErrors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, compilationErrors_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(6, compilationErrors_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -4017,33 +4466,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.CompilationResult)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.CompilationResult other = (com.google.cloud.dataform.v1alpha2.CompilationResult) obj; + com.google.cloud.dataform.v1alpha2.CompilationResult other = + (com.google.cloud.dataform.v1alpha2.CompilationResult) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasCodeCompilationConfig() != other.hasCodeCompilationConfig()) return false; if (hasCodeCompilationConfig()) { - if (!getCodeCompilationConfig() - .equals(other.getCodeCompilationConfig())) return false; + if (!getCodeCompilationConfig().equals(other.getCodeCompilationConfig())) return false; } - if (!getDataformCoreVersion() - .equals(other.getDataformCoreVersion())) return false; - if (!getCompilationErrorsList() - .equals(other.getCompilationErrorsList())) return false; + if (!getDataformCoreVersion().equals(other.getDataformCoreVersion())) return false; + if (!getCompilationErrorsList().equals(other.getCompilationErrorsList())) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 2: - if (!getGitCommitish() - .equals(other.getGitCommitish())) return false; + if (!getGitCommitish().equals(other.getGitCommitish())) return false; break; case 3: - if (!getWorkspace() - .equals(other.getWorkspace())) return false; + if (!getWorkspace().equals(other.getWorkspace())) return false; break; case 0: default: @@ -4089,117 +4533,126 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.CompilationResult parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.CompilationResult parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.CompilationResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.CompilationResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.CompilationResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.CompilationResult parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CompilationResult parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.CompilationResult parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.CompilationResult parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CompilationResult parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.CompilationResult parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.CompilationResult parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.CompilationResult parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.CompilationResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.CompilationResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents the result of compiling a Dataform project.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.CompilationResult} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.CompilationResult) com.google.cloud.dataform.v1alpha2.CompilationResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CompilationResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResult_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CompilationResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CompilationResult.class, com.google.cloud.dataform.v1alpha2.CompilationResult.Builder.class); + com.google.cloud.dataform.v1alpha2.CompilationResult.class, + com.google.cloud.dataform.v1alpha2.CompilationResult.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.CompilationResult.newBuilder() @@ -4207,17 +4660,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getCompilationErrorsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -4243,9 +4696,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CompilationResult_descriptor; } @java.lang.Override @@ -4264,7 +4717,8 @@ public com.google.cloud.dataform.v1alpha2.CompilationResult build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.CompilationResult buildPartial() { - com.google.cloud.dataform.v1alpha2.CompilationResult result = new com.google.cloud.dataform.v1alpha2.CompilationResult(this); + com.google.cloud.dataform.v1alpha2.CompilationResult result = + new com.google.cloud.dataform.v1alpha2.CompilationResult(this); int from_bitField0_ = bitField0_; result.name_ = name_; if (sourceCase_ == 2) { @@ -4297,38 +4751,39 @@ public com.google.cloud.dataform.v1alpha2.CompilationResult buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.CompilationResult) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.CompilationResult)other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.CompilationResult) other); } else { super.mergeFrom(other); return this; @@ -4336,7 +4791,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.CompilationResult other) { - if (other == com.google.cloud.dataform.v1alpha2.CompilationResult.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1alpha2.CompilationResult.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -4366,30 +4822,34 @@ public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.CompilationResult ot compilationErrorsBuilder_ = null; compilationErrors_ = other.compilationErrors_; bitField0_ = (bitField0_ & ~0x00000001); - compilationErrorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getCompilationErrorsFieldBuilder() : null; + compilationErrorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getCompilationErrorsFieldBuilder() + : null; } else { compilationErrorsBuilder_.addAllMessages(other.compilationErrors_); } } } switch (other.getSourceCase()) { - case GIT_COMMITISH: { - sourceCase_ = 2; - source_ = other.source_; - onChanged(); - break; - } - case WORKSPACE: { - sourceCase_ = 3; - source_ = other.source_; - onChanged(); - break; - } - case SOURCE_NOT_SET: { - break; - } + case GIT_COMMITISH: + { + sourceCase_ = 2; + source_ = other.source_; + onChanged(); + break; + } + case WORKSPACE: + { + sourceCase_ = 3; + source_ = other.source_; + onChanged(); + break; + } + case SOURCE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -4410,7 +4870,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.CompilationResult) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.CompilationResult) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -4419,12 +4880,12 @@ public Builder mergeFrom( } return this; } + private int sourceCase_ = 0; private java.lang.Object source_; - public SourceCase - getSourceCase() { - return SourceCase.forNumber( - sourceCase_); + + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); } public Builder clearSource() { @@ -4438,18 +4899,20 @@ public Builder clearSource() { private java.lang.Object name_ = ""; /** + * + * *
      * Output only. The compilation result's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -4458,20 +4921,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The compilation result's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -4479,60 +4943,69 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The compilation result's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The compilation result's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. The compilation result's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } /** + * + * *
      * Immutable. Git commit/tag/branch name at which the repository should be compiled.
      * Must exist in the remote repository.
@@ -4543,6 +5016,7 @@ public Builder setNameBytes(
      * 
* * string git_commitish = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return Whether the gitCommitish field is set. */ @java.lang.Override @@ -4550,6 +5024,8 @@ public boolean hasGitCommitish() { return sourceCase_ == 2; } /** + * + * *
      * Immutable. Git commit/tag/branch name at which the repository should be compiled.
      * Must exist in the remote repository.
@@ -4560,6 +5036,7 @@ public boolean hasGitCommitish() {
      * 
* * string git_commitish = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The gitCommitish. */ @java.lang.Override @@ -4569,8 +5046,7 @@ public java.lang.String getGitCommitish() { ref = source_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (sourceCase_ == 2) { source_ = s; @@ -4581,6 +5057,8 @@ public java.lang.String getGitCommitish() { } } /** + * + * *
      * Immutable. Git commit/tag/branch name at which the repository should be compiled.
      * Must exist in the remote repository.
@@ -4591,19 +5069,18 @@ public java.lang.String getGitCommitish() {
      * 
* * string git_commitish = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for gitCommitish. */ @java.lang.Override - public com.google.protobuf.ByteString - getGitCommitishBytes() { + public com.google.protobuf.ByteString getGitCommitishBytes() { java.lang.Object ref = ""; if (sourceCase_ == 2) { ref = source_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (sourceCase_ == 2) { source_ = b; } @@ -4613,6 +5090,8 @@ public java.lang.String getGitCommitish() { } } /** + * + * *
      * Immutable. Git commit/tag/branch name at which the repository should be compiled.
      * Must exist in the remote repository.
@@ -4623,20 +5102,22 @@ public java.lang.String getGitCommitish() {
      * 
* * string git_commitish = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The gitCommitish to set. * @return This builder for chaining. */ - public Builder setGitCommitish( - java.lang.String value) { + public Builder setGitCommitish(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - sourceCase_ = 2; + throw new NullPointerException(); + } + sourceCase_ = 2; source_ = value; onChanged(); return this; } /** + * + * *
      * Immutable. Git commit/tag/branch name at which the repository should be compiled.
      * Must exist in the remote repository.
@@ -4647,6 +5128,7 @@ public Builder setGitCommitish(
      * 
* * string git_commitish = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearGitCommitish() { @@ -4658,6 +5140,8 @@ public Builder clearGitCommitish() { return this; } /** + * + * *
      * Immutable. Git commit/tag/branch name at which the repository should be compiled.
      * Must exist in the remote repository.
@@ -4668,15 +5152,15 @@ public Builder clearGitCommitish() {
      * 
* * string git_commitish = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The bytes for gitCommitish to set. * @return This builder for chaining. */ - public Builder setGitCommitishBytes( - com.google.protobuf.ByteString value) { + public Builder setGitCommitishBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); sourceCase_ = 2; source_ = value; onChanged(); @@ -4684,12 +5168,17 @@ public Builder setGitCommitishBytes( } /** + * + * *
      * Immutable. The name of the workspace to compile. Must be in the format
      * `projects/*/locations/*/repositories/*/workspaces/*`.
      * 
* - * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return Whether the workspace field is set. */ @java.lang.Override @@ -4697,12 +5186,17 @@ public boolean hasWorkspace() { return sourceCase_ == 3; } /** + * + * *
      * Immutable. The name of the workspace to compile. Must be in the format
      * `projects/*/locations/*/repositories/*/workspaces/*`.
      * 
* - * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ @java.lang.Override @@ -4712,8 +5206,7 @@ public java.lang.String getWorkspace() { ref = source_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (sourceCase_ == 3) { source_ = s; @@ -4724,25 +5217,28 @@ public java.lang.String getWorkspace() { } } /** + * + * *
      * Immutable. The name of the workspace to compile. Must be in the format
      * `projects/*/locations/*/repositories/*/workspaces/*`.
      * 
* - * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ @java.lang.Override - public com.google.protobuf.ByteString - getWorkspaceBytes() { + public com.google.protobuf.ByteString getWorkspaceBytes() { java.lang.Object ref = ""; if (sourceCase_ == 3) { ref = source_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (sourceCase_ == 3) { source_ = b; } @@ -4752,32 +5248,41 @@ public java.lang.String getWorkspace() { } } /** + * + * *
      * Immutable. The name of the workspace to compile. Must be in the format
      * `projects/*/locations/*/repositories/*/workspaces/*`.
      * 
* - * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @param value The workspace to set. * @return This builder for chaining. */ - public Builder setWorkspace( - java.lang.String value) { + public Builder setWorkspace(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - sourceCase_ = 3; + throw new NullPointerException(); + } + sourceCase_ = 3; source_ = value; onChanged(); return this; } /** + * + * *
      * Immutable. The name of the workspace to compile. Must be in the format
      * `projects/*/locations/*/repositories/*/workspaces/*`.
      * 
* - * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearWorkspace() { @@ -4789,67 +5294,94 @@ public Builder clearWorkspace() { return this; } /** + * + * *
      * Immutable. The name of the workspace to compile. Must be in the format
      * `projects/*/locations/*/repositories/*/workspaces/*`.
      * 
* - * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for workspace to set. * @return This builder for chaining. */ - public Builder setWorkspaceBytes( - com.google.protobuf.ByteString value) { + public Builder setWorkspaceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); sourceCase_ = 3; source_ = value; onChanged(); return this; } - private com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig codeCompilationConfig_; + private com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig + codeCompilationConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig, com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.Builder, com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfigOrBuilder> codeCompilationConfigBuilder_; + com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig, + com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.Builder, + com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfigOrBuilder> + codeCompilationConfigBuilder_; /** + * + * *
      * Immutable. If set, fields of `code_compilation_overrides` override the default
      * compilation settings that are specified in dataform.json.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return Whether the codeCompilationConfig field is set. */ public boolean hasCodeCompilationConfig() { return codeCompilationConfigBuilder_ != null || codeCompilationConfig_ != null; } /** + * + * *
      * Immutable. If set, fields of `code_compilation_overrides` override the default
      * compilation settings that are specified in dataform.json.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The codeCompilationConfig. */ - public com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig getCodeCompilationConfig() { + public com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig + getCodeCompilationConfig() { if (codeCompilationConfigBuilder_ == null) { - return codeCompilationConfig_ == null ? com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.getDefaultInstance() : codeCompilationConfig_; + return codeCompilationConfig_ == null + ? com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig + .getDefaultInstance() + : codeCompilationConfig_; } else { return codeCompilationConfigBuilder_.getMessage(); } } /** + * + * *
      * Immutable. If set, fields of `code_compilation_overrides` override the default
      * compilation settings that are specified in dataform.json.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * */ - public Builder setCodeCompilationConfig(com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig value) { + public Builder setCodeCompilationConfig( + com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig value) { if (codeCompilationConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4863,15 +5395,20 @@ public Builder setCodeCompilationConfig(com.google.cloud.dataform.v1alpha2.Compi return this; } /** + * + * *
      * Immutable. If set, fields of `code_compilation_overrides` override the default
      * compilation settings that are specified in dataform.json.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public Builder setCodeCompilationConfig( - com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.Builder builderForValue) { + com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.Builder + builderForValue) { if (codeCompilationConfigBuilder_ == null) { codeCompilationConfig_ = builderForValue.build(); onChanged(); @@ -4882,18 +5419,26 @@ public Builder setCodeCompilationConfig( return this; } /** + * + * *
      * Immutable. If set, fields of `code_compilation_overrides` override the default
      * compilation settings that are specified in dataform.json.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * */ - public Builder mergeCodeCompilationConfig(com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig value) { + public Builder mergeCodeCompilationConfig( + com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig value) { if (codeCompilationConfigBuilder_ == null) { if (codeCompilationConfig_ != null) { codeCompilationConfig_ = - com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.newBuilder(codeCompilationConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.newBuilder( + codeCompilationConfig_) + .mergeFrom(value) + .buildPartial(); } else { codeCompilationConfig_ = value; } @@ -4905,12 +5450,16 @@ public Builder mergeCodeCompilationConfig(com.google.cloud.dataform.v1alpha2.Com return this; } /** + * + * *
      * Immutable. If set, fields of `code_compilation_overrides` override the default
      * compilation settings that are specified in dataform.json.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public Builder clearCodeCompilationConfig() { if (codeCompilationConfigBuilder_ == null) { @@ -4924,51 +5473,71 @@ public Builder clearCodeCompilationConfig() { return this; } /** + * + * *
      * Immutable. If set, fields of `code_compilation_overrides` override the default
      * compilation settings that are specified in dataform.json.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * */ - public com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.Builder getCodeCompilationConfigBuilder() { - + public com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.Builder + getCodeCompilationConfigBuilder() { + onChanged(); return getCodeCompilationConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Immutable. If set, fields of `code_compilation_overrides` override the default
      * compilation settings that are specified in dataform.json.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * */ - public com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfigOrBuilder getCodeCompilationConfigOrBuilder() { + public com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfigOrBuilder + getCodeCompilationConfigOrBuilder() { if (codeCompilationConfigBuilder_ != null) { return codeCompilationConfigBuilder_.getMessageOrBuilder(); } else { - return codeCompilationConfig_ == null ? - com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.getDefaultInstance() : codeCompilationConfig_; + return codeCompilationConfig_ == null + ? com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig + .getDefaultInstance() + : codeCompilationConfig_; } } /** + * + * *
      * Immutable. If set, fields of `code_compilation_overrides` override the default
      * compilation settings that are specified in dataform.json.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig, com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.Builder, com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfigOrBuilder> + com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig, + com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.Builder, + com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfigOrBuilder> getCodeCompilationConfigFieldBuilder() { if (codeCompilationConfigBuilder_ == null) { - codeCompilationConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig, com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.Builder, com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfigOrBuilder>( - getCodeCompilationConfig(), - getParentForChildren(), - isClean()); + codeCompilationConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig, + com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig.Builder, + com.google.cloud.dataform.v1alpha2.CompilationResult + .CodeCompilationConfigOrBuilder>( + getCodeCompilationConfig(), getParentForChildren(), isClean()); codeCompilationConfig_ = null; } return codeCompilationConfigBuilder_; @@ -4976,18 +5545,20 @@ public com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfi private java.lang.Object dataformCoreVersion_ = ""; /** + * + * *
      * Output only. The version of `@dataform/core` that was used for compilation.
      * 
* * string dataform_core_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The dataformCoreVersion. */ public java.lang.String getDataformCoreVersion() { java.lang.Object ref = dataformCoreVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataformCoreVersion_ = s; return s; @@ -4996,20 +5567,21 @@ public java.lang.String getDataformCoreVersion() { } } /** + * + * *
      * Output only. The version of `@dataform/core` that was used for compilation.
      * 
* * string dataform_core_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for dataformCoreVersion. */ - public com.google.protobuf.ByteString - getDataformCoreVersionBytes() { + public com.google.protobuf.ByteString getDataformCoreVersionBytes() { java.lang.Object ref = dataformCoreVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dataformCoreVersion_ = b; return b; } else { @@ -5017,79 +5589,98 @@ public java.lang.String getDataformCoreVersion() { } } /** + * + * *
      * Output only. The version of `@dataform/core` that was used for compilation.
      * 
* * string dataform_core_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The dataformCoreVersion to set. * @return This builder for chaining. */ - public Builder setDataformCoreVersion( - java.lang.String value) { + public Builder setDataformCoreVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dataformCoreVersion_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The version of `@dataform/core` that was used for compilation.
      * 
* * string dataform_core_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearDataformCoreVersion() { - + dataformCoreVersion_ = getDefaultInstance().getDataformCoreVersion(); onChanged(); return this; } /** + * + * *
      * Output only. The version of `@dataform/core` that was used for compilation.
      * 
* * string dataform_core_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for dataformCoreVersion to set. * @return This builder for chaining. */ - public Builder setDataformCoreVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setDataformCoreVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dataformCoreVersion_ = value; onChanged(); return this; } - private java.util.List compilationErrors_ = - java.util.Collections.emptyList(); + private java.util.List + compilationErrors_ = java.util.Collections.emptyList(); + private void ensureCompilationErrorsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - compilationErrors_ = new java.util.ArrayList(compilationErrors_); + compilationErrors_ = + new java.util.ArrayList< + com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError>( + compilationErrors_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError, com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.Builder, com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationErrorOrBuilder> compilationErrorsBuilder_; + com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError, + com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.Builder, + com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationErrorOrBuilder> + compilationErrorsBuilder_; /** + * + * *
      * Output only. Errors encountered during project compilation.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List getCompilationErrorsList() { + public java.util.List + getCompilationErrorsList() { if (compilationErrorsBuilder_ == null) { return java.util.Collections.unmodifiableList(compilationErrors_); } else { @@ -5097,11 +5688,15 @@ public java.util.List * Output only. Errors encountered during project compilation. *
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getCompilationErrorsCount() { if (compilationErrorsBuilder_ == null) { @@ -5111,13 +5706,18 @@ public int getCompilationErrorsCount() { } } /** + * + * *
      * Output only. Errors encountered during project compilation.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError getCompilationErrors(int index) { + public com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError + getCompilationErrors(int index) { if (compilationErrorsBuilder_ == null) { return compilationErrors_.get(index); } else { @@ -5125,11 +5725,15 @@ public com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError get } } /** + * + * *
      * Output only. Errors encountered during project compilation.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCompilationErrors( int index, com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError value) { @@ -5146,14 +5750,20 @@ public Builder setCompilationErrors( return this; } /** + * + * *
      * Output only. Errors encountered during project compilation.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCompilationErrors( - int index, com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.Builder builderForValue) { + int index, + com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.Builder + builderForValue) { if (compilationErrorsBuilder_ == null) { ensureCompilationErrorsIsMutable(); compilationErrors_.set(index, builderForValue.build()); @@ -5164,13 +5774,18 @@ public Builder setCompilationErrors( return this; } /** + * + * *
      * Output only. Errors encountered during project compilation.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addCompilationErrors(com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError value) { + public Builder addCompilationErrors( + com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError value) { if (compilationErrorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5184,11 +5799,15 @@ public Builder addCompilationErrors(com.google.cloud.dataform.v1alpha2.Compilati return this; } /** + * + * *
      * Output only. Errors encountered during project compilation.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addCompilationErrors( int index, com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError value) { @@ -5205,14 +5824,19 @@ public Builder addCompilationErrors( return this; } /** + * + * *
      * Output only. Errors encountered during project compilation.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addCompilationErrors( - com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.Builder builderForValue) { + com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.Builder + builderForValue) { if (compilationErrorsBuilder_ == null) { ensureCompilationErrorsIsMutable(); compilationErrors_.add(builderForValue.build()); @@ -5223,14 +5847,20 @@ public Builder addCompilationErrors( return this; } /** + * + * *
      * Output only. Errors encountered during project compilation.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addCompilationErrors( - int index, com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.Builder builderForValue) { + int index, + com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.Builder + builderForValue) { if (compilationErrorsBuilder_ == null) { ensureCompilationErrorsIsMutable(); compilationErrors_.add(index, builderForValue.build()); @@ -5241,18 +5871,23 @@ public Builder addCompilationErrors( return this; } /** + * + * *
      * Output only. Errors encountered during project compilation.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllCompilationErrors( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError> + values) { if (compilationErrorsBuilder_ == null) { ensureCompilationErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, compilationErrors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, compilationErrors_); onChanged(); } else { compilationErrorsBuilder_.addAllMessages(values); @@ -5260,11 +5895,15 @@ public Builder addAllCompilationErrors( return this; } /** + * + * *
      * Output only. Errors encountered during project compilation.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCompilationErrors() { if (compilationErrorsBuilder_ == null) { @@ -5277,11 +5916,15 @@ public Builder clearCompilationErrors() { return this; } /** + * + * *
      * Output only. Errors encountered during project compilation.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeCompilationErrors(int index) { if (compilationErrorsBuilder_ == null) { @@ -5294,39 +5937,54 @@ public Builder removeCompilationErrors(int index) { return this; } /** + * + * *
      * Output only. Errors encountered during project compilation.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.Builder getCompilationErrorsBuilder( - int index) { + public com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.Builder + getCompilationErrorsBuilder(int index) { return getCompilationErrorsFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. Errors encountered during project compilation.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationErrorOrBuilder getCompilationErrorsOrBuilder( - int index) { + public com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationErrorOrBuilder + getCompilationErrorsOrBuilder(int index) { if (compilationErrorsBuilder_ == null) { - return compilationErrors_.get(index); } else { + return compilationErrors_.get(index); + } else { return compilationErrorsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. Errors encountered during project compilation.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getCompilationErrorsOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationErrorOrBuilder> + getCompilationErrorsOrBuilderList() { if (compilationErrorsBuilder_ != null) { return compilationErrorsBuilder_.getMessageOrBuilderList(); } else { @@ -5334,45 +5992,70 @@ public com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationErrorOrBu } } /** + * + * *
      * Output only. Errors encountered during project compilation.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.Builder addCompilationErrorsBuilder() { - return getCompilationErrorsFieldBuilder().addBuilder( - com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.getDefaultInstance()); + public com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.Builder + addCompilationErrorsBuilder() { + return getCompilationErrorsFieldBuilder() + .addBuilder( + com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError + .getDefaultInstance()); } /** + * + * *
      * Output only. Errors encountered during project compilation.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.Builder addCompilationErrorsBuilder( - int index) { - return getCompilationErrorsFieldBuilder().addBuilder( - index, com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.getDefaultInstance()); + public com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.Builder + addCompilationErrorsBuilder(int index) { + return getCompilationErrorsFieldBuilder() + .addBuilder( + index, + com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError + .getDefaultInstance()); } /** + * + * *
      * Output only. Errors encountered during project compilation.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getCompilationErrorsBuilderList() { + public java.util.List< + com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.Builder> + getCompilationErrorsBuilderList() { return getCompilationErrorsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError, com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.Builder, com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationErrorOrBuilder> + com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError, + com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.Builder, + com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationErrorOrBuilder> getCompilationErrorsFieldBuilder() { if (compilationErrorsBuilder_ == null) { - compilationErrorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError, com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.Builder, com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationErrorOrBuilder>( + compilationErrorsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError, + com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.Builder, + com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationErrorOrBuilder>( compilationErrors_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -5381,9 +6064,9 @@ public com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError.Bui } return compilationErrorsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5393,12 +6076,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.CompilationResult) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.CompilationResult) private static final com.google.cloud.dataform.v1alpha2.CompilationResult DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.CompilationResult(); } @@ -5407,16 +6090,16 @@ public static com.google.cloud.dataform.v1alpha2.CompilationResult getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompilationResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CompilationResult(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompilationResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CompilationResult(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5431,6 +6114,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.CompilationResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResultAction.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResultAction.java similarity index 72% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResultAction.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResultAction.java index 23967a7..519ab40 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResultAction.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResultAction.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * Represents a single Dataform action in a compilation result.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.CompilationResultAction} */ -public final class CompilationResultAction extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CompilationResultAction extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.CompilationResultAction) CompilationResultActionOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CompilationResultAction.newBuilder() to construct. private CompilationResultAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CompilationResultAction() { filePath_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CompilationResultAction(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CompilationResultAction( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,101 +70,146 @@ private CompilationResultAction( case 0: done = true; break; - case 10: { - com.google.cloud.dataform.v1alpha2.Target.Builder subBuilder = null; - if (target_ != null) { - subBuilder = target_.toBuilder(); - } - target_ = input.readMessage(com.google.cloud.dataform.v1alpha2.Target.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(target_); - target_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.dataform.v1alpha2.Target.Builder subBuilder = null; + if (target_ != null) { + subBuilder = target_.toBuilder(); + } + target_ = + input.readMessage( + com.google.cloud.dataform.v1alpha2.Target.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(target_); + target_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.cloud.dataform.v1alpha2.Target.Builder subBuilder = null; - if (canonicalTarget_ != null) { - subBuilder = canonicalTarget_.toBuilder(); - } - canonicalTarget_ = input.readMessage(com.google.cloud.dataform.v1alpha2.Target.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(canonicalTarget_); - canonicalTarget_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.cloud.dataform.v1alpha2.Target.Builder subBuilder = null; + if (canonicalTarget_ != null) { + subBuilder = canonicalTarget_.toBuilder(); + } + canonicalTarget_ = + input.readMessage( + com.google.cloud.dataform.v1alpha2.Target.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(canonicalTarget_); + canonicalTarget_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - filePath_ = s; - break; - } - case 34: { - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.Builder subBuilder = null; - if (compiledObjectCase_ == 4) { - subBuilder = ((com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) compiledObject_).toBuilder(); - } - compiledObject_ = - input.readMessage(com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) compiledObject_); - compiledObject_ = subBuilder.buildPartial(); - } - compiledObjectCase_ = 4; - break; - } - case 42: { - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.Builder subBuilder = null; - if (compiledObjectCase_ == 5) { - subBuilder = ((com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) compiledObject_).toBuilder(); + break; } - compiledObject_ = - input.readMessage(com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) compiledObject_); - compiledObject_ = subBuilder.buildPartial(); + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + + filePath_ = s; + break; } - compiledObjectCase_ = 5; - break; - } - case 50: { - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.Builder subBuilder = null; - if (compiledObjectCase_ == 6) { - subBuilder = ((com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion) compiledObject_).toBuilder(); + case 34: + { + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.Builder + subBuilder = null; + if (compiledObjectCase_ == 4) { + subBuilder = + ((com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) + compiledObject_) + .toBuilder(); + } + compiledObject_ = + input.readMessage( + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) + compiledObject_); + compiledObject_ = subBuilder.buildPartial(); + } + compiledObjectCase_ = 4; + break; } - compiledObject_ = - input.readMessage(com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion) compiledObject_); - compiledObject_ = subBuilder.buildPartial(); + case 42: + { + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.Builder + subBuilder = null; + if (compiledObjectCase_ == 5) { + subBuilder = + ((com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) + compiledObject_) + .toBuilder(); + } + compiledObject_ = + input.readMessage( + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) + compiledObject_); + compiledObject_ = subBuilder.buildPartial(); + } + compiledObjectCase_ = 5; + break; } - compiledObjectCase_ = 6; - break; - } - case 58: { - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.Builder subBuilder = null; - if (compiledObjectCase_ == 7) { - subBuilder = ((com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration) compiledObject_).toBuilder(); + case 50: + { + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.Builder + subBuilder = null; + if (compiledObjectCase_ == 6) { + subBuilder = + ((com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion) + compiledObject_) + .toBuilder(); + } + compiledObject_ = + input.readMessage( + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion) + compiledObject_); + compiledObject_ = subBuilder.buildPartial(); + } + compiledObjectCase_ = 6; + break; } - compiledObject_ = - input.readMessage(com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration) compiledObject_); - compiledObject_ = subBuilder.buildPartial(); + case 58: + { + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.Builder + subBuilder = null; + if (compiledObjectCase_ == 7) { + subBuilder = + ((com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration) + compiledObject_) + .toBuilder(); + } + compiledObject_ = + input.readMessage( + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration) + compiledObject_); + compiledObject_ = subBuilder.buildPartial(); + } + compiledObjectCase_ = 7; + break; } - compiledObjectCase_ = 7; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -155,40 +217,46 @@ private CompilationResultAction( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CompilationResultAction.class, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Builder.class); + com.google.cloud.dataform.v1alpha2.CompilationResultAction.class, + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Builder.class); } - public interface RelationOrBuilder extends + public interface RelationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * A list of actions that this action depends on.
      * 
* * repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1; */ - java.util.List - getDependencyTargetsList(); + java.util.List getDependencyTargetsList(); /** + * + * *
      * A list of actions that this action depends on.
      * 
@@ -197,6 +265,8 @@ public interface RelationOrBuilder extends */ com.google.cloud.dataform.v1alpha2.Target getDependencyTargets(int index); /** + * + * *
      * A list of actions that this action depends on.
      * 
@@ -205,94 +275,118 @@ public interface RelationOrBuilder extends */ int getDependencyTargetsCount(); /** + * + * *
      * A list of actions that this action depends on.
      * 
* * repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1; */ - java.util.List + java.util.List getDependencyTargetsOrBuilderList(); /** + * + * *
      * A list of actions that this action depends on.
      * 
* * repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1; */ - com.google.cloud.dataform.v1alpha2.TargetOrBuilder getDependencyTargetsOrBuilder( - int index); + com.google.cloud.dataform.v1alpha2.TargetOrBuilder getDependencyTargetsOrBuilder(int index); /** + * + * *
      * Whether this action is disabled (i.e. should not be run).
      * 
* * bool disabled = 2; + * * @return The disabled. */ boolean getDisabled(); /** + * + * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; + * * @return A list containing the tags. */ - java.util.List - getTagsList(); + java.util.List getTagsList(); /** + * + * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; + * * @return The count of tags. */ int getTagsCount(); /** + * + * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; + * * @param index The index of the element to return. * @return The tags at the given index. */ java.lang.String getTags(int index); /** + * + * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; + * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - com.google.protobuf.ByteString - getTagsBytes(int index); + com.google.protobuf.ByteString getTagsBytes(int index); /** + * + * *
      * Descriptor for the relation and its columns.
      * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 4; + * * @return Whether the relationDescriptor field is set. */ boolean hasRelationDescriptor(); /** + * + * *
      * Descriptor for the relation and its columns.
      * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 4; + * * @return The relationDescriptor. */ com.google.cloud.dataform.v1alpha2.RelationDescriptor getRelationDescriptor(); /** + * + * *
      * Descriptor for the relation and its columns.
      * 
@@ -302,239 +396,315 @@ com.google.cloud.dataform.v1alpha2.TargetOrBuilder getDependencyTargetsOrBuilder com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder getRelationDescriptorOrBuilder(); /** + * + * *
      * The type of this relation.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType relation_type = 5; + * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType relation_type = 5; + * + * * @return The enum numeric value on the wire for relationType. */ int getRelationTypeValue(); /** + * + * *
      * The type of this relation.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType relation_type = 5; + * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType relation_type = 5; + * + * * @return The relationType. */ - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType getRelationType(); + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType + getRelationType(); /** + * + * *
      * The SELECT query which returns rows which this relation should contain.
      * 
* * string select_query = 6; + * * @return The selectQuery. */ java.lang.String getSelectQuery(); /** + * + * *
      * The SELECT query which returns rows which this relation should contain.
      * 
* * string select_query = 6; + * * @return The bytes for selectQuery. */ - com.google.protobuf.ByteString - getSelectQueryBytes(); + com.google.protobuf.ByteString getSelectQueryBytes(); /** + * + * *
      * SQL statements to be executed before creating the relation.
      * 
* * repeated string pre_operations = 7; + * * @return A list containing the preOperations. */ - java.util.List - getPreOperationsList(); + java.util.List getPreOperationsList(); /** + * + * *
      * SQL statements to be executed before creating the relation.
      * 
* * repeated string pre_operations = 7; + * * @return The count of preOperations. */ int getPreOperationsCount(); /** + * + * *
      * SQL statements to be executed before creating the relation.
      * 
* * repeated string pre_operations = 7; + * * @param index The index of the element to return. * @return The preOperations at the given index. */ java.lang.String getPreOperations(int index); /** + * + * *
      * SQL statements to be executed before creating the relation.
      * 
* * repeated string pre_operations = 7; + * * @param index The index of the value to return. * @return The bytes of the preOperations at the given index. */ - com.google.protobuf.ByteString - getPreOperationsBytes(int index); + com.google.protobuf.ByteString getPreOperationsBytes(int index); /** + * + * *
      * SQL statements to be executed after creating the relation.
      * 
* * repeated string post_operations = 8; + * * @return A list containing the postOperations. */ - java.util.List - getPostOperationsList(); + java.util.List getPostOperationsList(); /** + * + * *
      * SQL statements to be executed after creating the relation.
      * 
* * repeated string post_operations = 8; + * * @return The count of postOperations. */ int getPostOperationsCount(); /** + * + * *
      * SQL statements to be executed after creating the relation.
      * 
* * repeated string post_operations = 8; + * * @param index The index of the element to return. * @return The postOperations at the given index. */ java.lang.String getPostOperations(int index); /** + * + * *
      * SQL statements to be executed after creating the relation.
      * 
* * repeated string post_operations = 8; + * * @param index The index of the value to return. * @return The bytes of the postOperations at the given index. */ - com.google.protobuf.ByteString - getPostOperationsBytes(int index); + com.google.protobuf.ByteString getPostOperationsBytes(int index); /** + * + * *
      * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
      * `relation_type` is `INCREMENTAL_TABLE`.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * + * * @return Whether the incrementalTableConfig field is set. */ boolean hasIncrementalTableConfig(); /** + * + * *
      * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
      * `relation_type` is `INCREMENTAL_TABLE`.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * + * * @return The incrementalTableConfig. */ - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig getIncrementalTableConfig(); + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig + getIncrementalTableConfig(); /** + * + * *
      * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
      * `relation_type` is `INCREMENTAL_TABLE`.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * */ - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfigOrBuilder getIncrementalTableConfigOrBuilder(); + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfigOrBuilder + getIncrementalTableConfigOrBuilder(); /** + * + * *
      * The SQL expression used to partition the relation.
      * 
* * string partition_expression = 10; + * * @return The partitionExpression. */ java.lang.String getPartitionExpression(); /** + * + * *
      * The SQL expression used to partition the relation.
      * 
* * string partition_expression = 10; + * * @return The bytes for partitionExpression. */ - com.google.protobuf.ByteString - getPartitionExpressionBytes(); + com.google.protobuf.ByteString getPartitionExpressionBytes(); /** + * + * *
      * A list of columns or SQL expressions used to cluster the table.
      * 
* * repeated string cluster_expressions = 11; + * * @return A list containing the clusterExpressions. */ - java.util.List - getClusterExpressionsList(); + java.util.List getClusterExpressionsList(); /** + * + * *
      * A list of columns or SQL expressions used to cluster the table.
      * 
* * repeated string cluster_expressions = 11; + * * @return The count of clusterExpressions. */ int getClusterExpressionsCount(); /** + * + * *
      * A list of columns or SQL expressions used to cluster the table.
      * 
* * repeated string cluster_expressions = 11; + * * @param index The index of the element to return. * @return The clusterExpressions at the given index. */ java.lang.String getClusterExpressions(int index); /** + * + * *
      * A list of columns or SQL expressions used to cluster the table.
      * 
* * repeated string cluster_expressions = 11; + * * @param index The index of the value to return. * @return The bytes of the clusterExpressions at the given index. */ - com.google.protobuf.ByteString - getClusterExpressionsBytes(int index); + com.google.protobuf.ByteString getClusterExpressionsBytes(int index); /** + * + * *
      * Sets the partition expiration in days.
      * 
* * int32 partition_expiration_days = 12; + * * @return The partitionExpirationDays. */ int getPartitionExpirationDays(); /** + * + * *
      * Specifies whether queries on this table must include a predicate filter
      * that filters on the partitioning column.
      * 
* * bool require_partition_filter = 13; + * * @return The requirePartitionFilter. */ boolean getRequirePartitionFilter(); /** + * + * *
      * Additional options that will be provided as key/value pairs into the
      * options clause of a create table/view statement. See
@@ -546,6 +716,8 @@ com.google.cloud.dataform.v1alpha2.TargetOrBuilder getDependencyTargetsOrBuilder
      */
     int getAdditionalOptionsCount();
     /**
+     *
+     *
      * 
      * Additional options that will be provided as key/value pairs into the
      * options clause of a create table/view statement. See
@@ -555,15 +727,13 @@ com.google.cloud.dataform.v1alpha2.TargetOrBuilder getDependencyTargetsOrBuilder
      *
      * map<string, string> additional_options = 14;
      */
-    boolean containsAdditionalOptions(
-        java.lang.String key);
-    /**
-     * Use {@link #getAdditionalOptionsMap()} instead.
-     */
+    boolean containsAdditionalOptions(java.lang.String key);
+    /** Use {@link #getAdditionalOptionsMap()} instead. */
     @java.lang.Deprecated
-    java.util.Map
-    getAdditionalOptions();
+    java.util.Map getAdditionalOptions();
     /**
+     *
+     *
      * 
      * Additional options that will be provided as key/value pairs into the
      * options clause of a create table/view statement. See
@@ -573,9 +743,10 @@ boolean containsAdditionalOptions(
      *
      * map<string, string> additional_options = 14;
      */
-    java.util.Map
-    getAdditionalOptionsMap();
+    java.util.Map getAdditionalOptionsMap();
     /**
+     *
+     *
      * 
      * Additional options that will be provided as key/value pairs into the
      * options clause of a create table/view statement. See
@@ -587,11 +758,13 @@ boolean containsAdditionalOptions(
      */
 
     /* nullable */
-java.lang.String getAdditionalOptionsOrDefault(
+    java.lang.String getAdditionalOptionsOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue);
+        java.lang.String defaultValue);
     /**
+     *
+     *
      * 
      * Additional options that will be provided as key/value pairs into the
      * options clause of a create table/view statement. See
@@ -601,26 +774,27 @@ java.lang.String getAdditionalOptionsOrDefault(
      *
      * map<string, string> additional_options = 14;
      */
-
-    java.lang.String getAdditionalOptionsOrThrow(
-        java.lang.String key);
+    java.lang.String getAdditionalOptionsOrThrow(java.lang.String key);
   }
   /**
+   *
+   *
    * 
    * Represents a database relation.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.CompilationResultAction.Relation} */ - public static final class Relation extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Relation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) RelationOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Relation.newBuilder() to construct. private Relation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Relation() { dependencyTargets_ = java.util.Collections.emptyList(); tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -634,16 +808,15 @@ private Relation() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Relation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Relation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -663,130 +836,156 @@ private Relation( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - dependencyTargets_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - dependencyTargets_.add( - input.readMessage(com.google.cloud.dataform.v1alpha2.Target.parser(), extensionRegistry)); - break; - } - case 16: { - - disabled_ = input.readBool(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - tags_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + dependencyTargets_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + dependencyTargets_.add( + input.readMessage( + com.google.cloud.dataform.v1alpha2.Target.parser(), extensionRegistry)); + break; } - tags_.add(s); - break; - } - case 34: { - com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder subBuilder = null; - if (relationDescriptor_ != null) { - subBuilder = relationDescriptor_.toBuilder(); + case 16: + { + disabled_ = input.readBool(); + break; } - relationDescriptor_ = input.readMessage(com.google.cloud.dataform.v1alpha2.RelationDescriptor.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(relationDescriptor_); - relationDescriptor_ = subBuilder.buildPartial(); + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + tags_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + tags_.add(s); + break; } + case 34: + { + com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder subBuilder = null; + if (relationDescriptor_ != null) { + subBuilder = relationDescriptor_.toBuilder(); + } + relationDescriptor_ = + input.readMessage( + com.google.cloud.dataform.v1alpha2.RelationDescriptor.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(relationDescriptor_); + relationDescriptor_ = subBuilder.buildPartial(); + } - break; - } - case 40: { - int rawValue = input.readEnum(); - - relationType_ = rawValue; - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 40: + { + int rawValue = input.readEnum(); - selectQuery_ = s; - break; - } - case 58: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - preOperations_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000004; + relationType_ = rawValue; + break; } - preOperations_.add(s); - break; - } - case 66: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - postOperations_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000008; + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); + + selectQuery_ = s; + break; } - postOperations_.add(s); - break; - } - case 74: { - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig.Builder subBuilder = null; - if (incrementalTableConfig_ != null) { - subBuilder = incrementalTableConfig_.toBuilder(); + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + preOperations_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000004; + } + preOperations_.add(s); + break; } - incrementalTableConfig_ = input.readMessage(com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(incrementalTableConfig_); - incrementalTableConfig_ = subBuilder.buildPartial(); + case 66: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + postOperations_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000008; + } + postOperations_.add(s); + break; } + case 74: + { + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfig.Builder + subBuilder = null; + if (incrementalTableConfig_ != null) { + subBuilder = incrementalTableConfig_.toBuilder(); + } + incrementalTableConfig_ = + input.readMessage( + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(incrementalTableConfig_); + incrementalTableConfig_ = subBuilder.buildPartial(); + } - break; - } - case 82: { - java.lang.String s = input.readStringRequireUtf8(); - - partitionExpression_ = s; - break; - } - case 90: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - clusterExpressions_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000010; + break; } - clusterExpressions_.add(s); - break; - } - case 96: { - - partitionExpirationDays_ = input.readInt32(); - break; - } - case 104: { + case 82: + { + java.lang.String s = input.readStringRequireUtf8(); - requirePartitionFilter_ = input.readBool(); - break; - } - case 114: { - if (!((mutable_bitField0_ & 0x00000020) != 0)) { - additionalOptions_ = com.google.protobuf.MapField.newMapField( - AdditionalOptionsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000020; + partitionExpression_ = s; + break; } - com.google.protobuf.MapEntry - additionalOptions__ = input.readMessage( - AdditionalOptionsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - additionalOptions_.getMutableMap().put( - additionalOptions__.getKey(), additionalOptions__.getValue()); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 90: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000010) != 0)) { + clusterExpressions_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000010; + } + clusterExpressions_.add(s); + break; + } + case 96: + { + partitionExpirationDays_ = input.readInt32(); + break; + } + case 104: + { + requirePartitionFilter_ = input.readBool(); + break; + } + case 114: + { + if (!((mutable_bitField0_ & 0x00000020) != 0)) { + additionalOptions_ = + com.google.protobuf.MapField.newMapField( + AdditionalOptionsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000020; + } + com.google.protobuf.MapEntry + additionalOptions__ = + input.readMessage( + AdditionalOptionsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + additionalOptions_ + .getMutableMap() + .put(additionalOptions__.getKey(), additionalOptions__.getValue()); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -794,8 +993,7 @@ private Relation( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { dependencyTargets_ = java.util.Collections.unmodifiableList(dependencyTargets_); @@ -816,41 +1014,47 @@ private Relation( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 14: return internalGetAdditionalOptions(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.class, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.Builder.class); + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.class, + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.Builder.class); } /** + * + * *
      * Indicates the type of this relation.
      * 
* - * Protobuf enum {@code google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType} + * Protobuf enum {@code + * google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType} */ - public enum RelationType - implements com.google.protobuf.ProtocolMessageEnum { + public enum RelationType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Default value. This value is unused.
        * 
@@ -859,6 +1063,8 @@ public enum RelationType */ RELATION_TYPE_UNSPECIFIED(0), /** + * + * *
        * The relation is a table.
        * 
@@ -867,6 +1073,8 @@ public enum RelationType */ TABLE(1), /** + * + * *
        * The relation is a view.
        * 
@@ -875,6 +1083,8 @@ public enum RelationType */ VIEW(2), /** + * + * *
        * The relation is an incrementalized table.
        * 
@@ -883,6 +1093,8 @@ public enum RelationType */ INCREMENTAL_TABLE(3), /** + * + * *
        * The relation is a materialized view.
        * 
@@ -894,6 +1106,8 @@ public enum RelationType ; /** + * + * *
        * Default value. This value is unused.
        * 
@@ -902,6 +1116,8 @@ public enum RelationType */ public static final int RELATION_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * The relation is a table.
        * 
@@ -910,6 +1126,8 @@ public enum RelationType */ public static final int TABLE_VALUE = 1; /** + * + * *
        * The relation is a view.
        * 
@@ -918,6 +1136,8 @@ public enum RelationType */ public static final int VIEW_VALUE = 2; /** + * + * *
        * The relation is an incrementalized table.
        * 
@@ -926,6 +1146,8 @@ public enum RelationType */ public static final int INCREMENTAL_TABLE_VALUE = 3; /** + * + * *
        * The relation is a materialized view.
        * 
@@ -934,7 +1156,6 @@ public enum RelationType */ public static final int MATERIALIZED_VIEW_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -959,51 +1180,55 @@ public static RelationType valueOf(int value) { */ public static RelationType forNumber(int value) { switch (value) { - case 0: return RELATION_TYPE_UNSPECIFIED; - case 1: return TABLE; - case 2: return VIEW; - case 3: return INCREMENTAL_TABLE; - case 4: return MATERIALIZED_VIEW; - default: return null; + case 0: + return RELATION_TYPE_UNSPECIFIED; + case 1: + return TABLE; + case 2: + return VIEW; + case 3: + return INCREMENTAL_TABLE; + case 4: + return MATERIALIZED_VIEW; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - RelationType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RelationType findValueByNumber(int number) { - return RelationType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RelationType findValueByNumber(int number) { + return RelationType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.getDescriptor() + .getEnumTypes() + .get(0); } private static final RelationType[] VALUES = values(); - public static RelationType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static RelationType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -1020,43 +1245,54 @@ private RelationType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType) } - public interface IncrementalTableConfigOrBuilder extends + public interface IncrementalTableConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * The SELECT query which returns rows which should be inserted into the
        * relation if it already exists and is not being refreshed.
        * 
* * string incremental_select_query = 1; + * * @return The incrementalSelectQuery. */ java.lang.String getIncrementalSelectQuery(); /** + * + * *
        * The SELECT query which returns rows which should be inserted into the
        * relation if it already exists and is not being refreshed.
        * 
* * string incremental_select_query = 1; + * * @return The bytes for incrementalSelectQuery. */ - com.google.protobuf.ByteString - getIncrementalSelectQueryBytes(); + com.google.protobuf.ByteString getIncrementalSelectQueryBytes(); /** + * + * *
        * Whether this table should be protected from being refreshed.
        * 
* * bool refresh_disabled = 2; + * * @return The refreshDisabled. */ boolean getRefreshDisabled(); /** + * + * *
        * A set of columns or SQL expressions used to define row uniqueness.
        * If any duplicates are discovered (as defined by `unique_key_parts`),
@@ -1065,11 +1301,13 @@ public interface IncrementalTableConfigOrBuilder extends
        * 
* * repeated string unique_key_parts = 3; + * * @return A list containing the uniqueKeyParts. */ - java.util.List - getUniqueKeyPartsList(); + java.util.List getUniqueKeyPartsList(); /** + * + * *
        * A set of columns or SQL expressions used to define row uniqueness.
        * If any duplicates are discovered (as defined by `unique_key_parts`),
@@ -1078,10 +1316,13 @@ public interface IncrementalTableConfigOrBuilder extends
        * 
* * repeated string unique_key_parts = 3; + * * @return The count of uniqueKeyParts. */ int getUniqueKeyPartsCount(); /** + * + * *
        * A set of columns or SQL expressions used to define row uniqueness.
        * If any duplicates are discovered (as defined by `unique_key_parts`),
@@ -1090,11 +1331,14 @@ public interface IncrementalTableConfigOrBuilder extends
        * 
* * repeated string unique_key_parts = 3; + * * @param index The index of the element to return. * @return The uniqueKeyParts at the given index. */ java.lang.String getUniqueKeyParts(int index); /** + * + * *
        * A set of columns or SQL expressions used to define row uniqueness.
        * If any duplicates are discovered (as defined by `unique_key_parts`),
@@ -1103,13 +1347,15 @@ public interface IncrementalTableConfigOrBuilder extends
        * 
* * repeated string unique_key_parts = 3; + * * @param index The index of the value to return. * @return The bytes of the uniqueKeyParts at the given index. */ - com.google.protobuf.ByteString - getUniqueKeyPartsBytes(int index); + com.google.protobuf.ByteString getUniqueKeyPartsBytes(int index); /** + * + * *
        * A SQL expression conditional used to limit the set of existing rows
        * considered for a merge operation (see `unique_key_parts` for more
@@ -1117,10 +1363,13 @@ public interface IncrementalTableConfigOrBuilder extends
        * 
* * string update_partition_filter = 4; + * * @return The updatePartitionFilter. */ java.lang.String getUpdatePartitionFilter(); /** + * + * *
        * A SQL expression conditional used to limit the set of existing rows
        * considered for a merge operation (see `unique_key_parts` for more
@@ -1128,117 +1377,141 @@ public interface IncrementalTableConfigOrBuilder extends
        * 
* * string update_partition_filter = 4; + * * @return The bytes for updatePartitionFilter. */ - com.google.protobuf.ByteString - getUpdatePartitionFilterBytes(); + com.google.protobuf.ByteString getUpdatePartitionFilterBytes(); /** + * + * *
        * SQL statements to be executed before inserting new rows into the
        * relation.
        * 
* * repeated string incremental_pre_operations = 5; + * * @return A list containing the incrementalPreOperations. */ - java.util.List - getIncrementalPreOperationsList(); + java.util.List getIncrementalPreOperationsList(); /** + * + * *
        * SQL statements to be executed before inserting new rows into the
        * relation.
        * 
* * repeated string incremental_pre_operations = 5; + * * @return The count of incrementalPreOperations. */ int getIncrementalPreOperationsCount(); /** + * + * *
        * SQL statements to be executed before inserting new rows into the
        * relation.
        * 
* * repeated string incremental_pre_operations = 5; + * * @param index The index of the element to return. * @return The incrementalPreOperations at the given index. */ java.lang.String getIncrementalPreOperations(int index); /** + * + * *
        * SQL statements to be executed before inserting new rows into the
        * relation.
        * 
* * repeated string incremental_pre_operations = 5; + * * @param index The index of the value to return. * @return The bytes of the incrementalPreOperations at the given index. */ - com.google.protobuf.ByteString - getIncrementalPreOperationsBytes(int index); + com.google.protobuf.ByteString getIncrementalPreOperationsBytes(int index); /** + * + * *
        * SQL statements to be executed after inserting new rows into the
        * relation.
        * 
* * repeated string incremental_post_operations = 6; + * * @return A list containing the incrementalPostOperations. */ - java.util.List - getIncrementalPostOperationsList(); + java.util.List getIncrementalPostOperationsList(); /** + * + * *
        * SQL statements to be executed after inserting new rows into the
        * relation.
        * 
* * repeated string incremental_post_operations = 6; + * * @return The count of incrementalPostOperations. */ int getIncrementalPostOperationsCount(); /** + * + * *
        * SQL statements to be executed after inserting new rows into the
        * relation.
        * 
* * repeated string incremental_post_operations = 6; + * * @param index The index of the element to return. * @return The incrementalPostOperations at the given index. */ java.lang.String getIncrementalPostOperations(int index); /** + * + * *
        * SQL statements to be executed after inserting new rows into the
        * relation.
        * 
* * repeated string incremental_post_operations = 6; + * * @param index The index of the value to return. * @return The bytes of the incrementalPostOperations at the given index. */ - com.google.protobuf.ByteString - getIncrementalPostOperationsBytes(int index); + com.google.protobuf.ByteString getIncrementalPostOperationsBytes(int index); } /** + * + * *
      * Contains settings for relations of type `INCREMENTAL_TABLE`.
      * 
* - * Protobuf type {@code google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig} + * Protobuf type {@code + * google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig} */ - public static final class IncrementalTableConfig extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class IncrementalTableConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig) IncrementalTableConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IncrementalTableConfig.newBuilder() to construct. private IncrementalTableConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private IncrementalTableConfig() { incrementalSelectQuery_ = ""; uniqueKeyParts_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -1249,16 +1522,15 @@ private IncrementalTableConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new IncrementalTableConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private IncrementalTableConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1278,57 +1550,62 @@ private IncrementalTableConfig( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - incrementalSelectQuery_ = s; - break; - } - case 16: { - - refreshDisabled_ = input.readBool(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - uniqueKeyParts_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + incrementalSelectQuery_ = s; + break; } - uniqueKeyParts_.add(s); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + case 16: + { + refreshDisabled_ = input.readBool(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + uniqueKeyParts_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + uniqueKeyParts_.add(s); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - updatePartitionFilter_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - incrementalPreOperations_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + updatePartitionFilter_ = s; + break; } - incrementalPreOperations_.add(s); - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - incrementalPostOperations_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000004; + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + incrementalPreOperations_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + incrementalPreOperations_.add(s); + break; } - incrementalPostOperations_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + incrementalPostOperations_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000004; + } + incrementalPostOperations_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1336,8 +1613,8 @@ private IncrementalTableConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { uniqueKeyParts_ = uniqueKeyParts_.getUnmodifiableView(); @@ -1352,28 +1629,36 @@ private IncrementalTableConfig( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_IncrementalTableConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_IncrementalTableConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_IncrementalTableConfig_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_IncrementalTableConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig.class, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig.Builder.class); + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfig.class, + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfig.Builder.class); } public static final int INCREMENTAL_SELECT_QUERY_FIELD_NUMBER = 1; private volatile java.lang.Object incrementalSelectQuery_; /** + * + * *
        * The SELECT query which returns rows which should be inserted into the
        * relation if it already exists and is not being refreshed.
        * 
* * string incremental_select_query = 1; + * * @return The incrementalSelectQuery. */ @java.lang.Override @@ -1382,30 +1667,30 @@ public java.lang.String getIncrementalSelectQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); incrementalSelectQuery_ = s; return s; } } /** + * + * *
        * The SELECT query which returns rows which should be inserted into the
        * relation if it already exists and is not being refreshed.
        * 
* * string incremental_select_query = 1; + * * @return The bytes for incrementalSelectQuery. */ @java.lang.Override - public com.google.protobuf.ByteString - getIncrementalSelectQueryBytes() { + public com.google.protobuf.ByteString getIncrementalSelectQueryBytes() { java.lang.Object ref = incrementalSelectQuery_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); incrementalSelectQuery_ = b; return b; } else { @@ -1416,11 +1701,14 @@ public java.lang.String getIncrementalSelectQuery() { public static final int REFRESH_DISABLED_FIELD_NUMBER = 2; private boolean refreshDisabled_; /** + * + * *
        * Whether this table should be protected from being refreshed.
        * 
* * bool refresh_disabled = 2; + * * @return The refreshDisabled. */ @java.lang.Override @@ -1431,6 +1719,8 @@ public boolean getRefreshDisabled() { public static final int UNIQUE_KEY_PARTS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList uniqueKeyParts_; /** + * + * *
        * A set of columns or SQL expressions used to define row uniqueness.
        * If any duplicates are discovered (as defined by `unique_key_parts`),
@@ -1439,13 +1729,15 @@ public boolean getRefreshDisabled() {
        * 
* * repeated string unique_key_parts = 3; + * * @return A list containing the uniqueKeyParts. */ - public com.google.protobuf.ProtocolStringList - getUniqueKeyPartsList() { + public com.google.protobuf.ProtocolStringList getUniqueKeyPartsList() { return uniqueKeyParts_; } /** + * + * *
        * A set of columns or SQL expressions used to define row uniqueness.
        * If any duplicates are discovered (as defined by `unique_key_parts`),
@@ -1454,12 +1746,15 @@ public boolean getRefreshDisabled() {
        * 
* * repeated string unique_key_parts = 3; + * * @return The count of uniqueKeyParts. */ public int getUniqueKeyPartsCount() { return uniqueKeyParts_.size(); } /** + * + * *
        * A set of columns or SQL expressions used to define row uniqueness.
        * If any duplicates are discovered (as defined by `unique_key_parts`),
@@ -1468,6 +1763,7 @@ public int getUniqueKeyPartsCount() {
        * 
* * repeated string unique_key_parts = 3; + * * @param index The index of the element to return. * @return The uniqueKeyParts at the given index. */ @@ -1475,6 +1771,8 @@ public java.lang.String getUniqueKeyParts(int index) { return uniqueKeyParts_.get(index); } /** + * + * *
        * A set of columns or SQL expressions used to define row uniqueness.
        * If any duplicates are discovered (as defined by `unique_key_parts`),
@@ -1483,17 +1781,19 @@ public java.lang.String getUniqueKeyParts(int index) {
        * 
* * repeated string unique_key_parts = 3; + * * @param index The index of the value to return. * @return The bytes of the uniqueKeyParts at the given index. */ - public com.google.protobuf.ByteString - getUniqueKeyPartsBytes(int index) { + public com.google.protobuf.ByteString getUniqueKeyPartsBytes(int index) { return uniqueKeyParts_.getByteString(index); } public static final int UPDATE_PARTITION_FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object updatePartitionFilter_; /** + * + * *
        * A SQL expression conditional used to limit the set of existing rows
        * considered for a merge operation (see `unique_key_parts` for more
@@ -1501,6 +1801,7 @@ public java.lang.String getUniqueKeyParts(int index) {
        * 
* * string update_partition_filter = 4; + * * @return The updatePartitionFilter. */ @java.lang.Override @@ -1509,14 +1810,15 @@ public java.lang.String getUpdatePartitionFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); updatePartitionFilter_ = s; return s; } } /** + * + * *
        * A SQL expression conditional used to limit the set of existing rows
        * considered for a merge operation (see `unique_key_parts` for more
@@ -1524,16 +1826,15 @@ public java.lang.String getUpdatePartitionFilter() {
        * 
* * string update_partition_filter = 4; + * * @return The bytes for updatePartitionFilter. */ @java.lang.Override - public com.google.protobuf.ByteString - getUpdatePartitionFilterBytes() { + public com.google.protobuf.ByteString getUpdatePartitionFilterBytes() { java.lang.Object ref = updatePartitionFilter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); updatePartitionFilter_ = b; return b; } else { @@ -1544,37 +1845,45 @@ public java.lang.String getUpdatePartitionFilter() { public static final int INCREMENTAL_PRE_OPERATIONS_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList incrementalPreOperations_; /** + * + * *
        * SQL statements to be executed before inserting new rows into the
        * relation.
        * 
* * repeated string incremental_pre_operations = 5; + * * @return A list containing the incrementalPreOperations. */ - public com.google.protobuf.ProtocolStringList - getIncrementalPreOperationsList() { + public com.google.protobuf.ProtocolStringList getIncrementalPreOperationsList() { return incrementalPreOperations_; } /** + * + * *
        * SQL statements to be executed before inserting new rows into the
        * relation.
        * 
* * repeated string incremental_pre_operations = 5; + * * @return The count of incrementalPreOperations. */ public int getIncrementalPreOperationsCount() { return incrementalPreOperations_.size(); } /** + * + * *
        * SQL statements to be executed before inserting new rows into the
        * relation.
        * 
* * repeated string incremental_pre_operations = 5; + * * @param index The index of the element to return. * @return The incrementalPreOperations at the given index. */ @@ -1582,54 +1891,64 @@ public java.lang.String getIncrementalPreOperations(int index) { return incrementalPreOperations_.get(index); } /** + * + * *
        * SQL statements to be executed before inserting new rows into the
        * relation.
        * 
* * repeated string incremental_pre_operations = 5; + * * @param index The index of the value to return. * @return The bytes of the incrementalPreOperations at the given index. */ - public com.google.protobuf.ByteString - getIncrementalPreOperationsBytes(int index) { + public com.google.protobuf.ByteString getIncrementalPreOperationsBytes(int index) { return incrementalPreOperations_.getByteString(index); } public static final int INCREMENTAL_POST_OPERATIONS_FIELD_NUMBER = 6; private com.google.protobuf.LazyStringList incrementalPostOperations_; /** + * + * *
        * SQL statements to be executed after inserting new rows into the
        * relation.
        * 
* * repeated string incremental_post_operations = 6; + * * @return A list containing the incrementalPostOperations. */ - public com.google.protobuf.ProtocolStringList - getIncrementalPostOperationsList() { + public com.google.protobuf.ProtocolStringList getIncrementalPostOperationsList() { return incrementalPostOperations_; } /** + * + * *
        * SQL statements to be executed after inserting new rows into the
        * relation.
        * 
* * repeated string incremental_post_operations = 6; + * * @return The count of incrementalPostOperations. */ public int getIncrementalPostOperationsCount() { return incrementalPostOperations_.size(); } /** + * + * *
        * SQL statements to be executed after inserting new rows into the
        * relation.
        * 
* * repeated string incremental_post_operations = 6; + * * @param index The index of the element to return. * @return The incrementalPostOperations at the given index. */ @@ -1637,21 +1956,24 @@ public java.lang.String getIncrementalPostOperations(int index) { return incrementalPostOperations_.get(index); } /** + * + * *
        * SQL statements to be executed after inserting new rows into the
        * relation.
        * 
* * repeated string incremental_post_operations = 6; + * * @param index The index of the value to return. * @return The bytes of the incrementalPostOperations at the given index. */ - public com.google.protobuf.ByteString - getIncrementalPostOperationsBytes(int index) { + public com.google.protobuf.ByteString getIncrementalPostOperationsBytes(int index) { return incrementalPostOperations_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1663,8 +1985,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(incrementalSelectQuery_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, incrementalSelectQuery_); } @@ -1678,10 +1999,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 4, updatePartitionFilter_); } for (int i = 0; i < incrementalPreOperations_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, incrementalPreOperations_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 5, incrementalPreOperations_.getRaw(i)); } for (int i = 0; i < incrementalPostOperations_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 6, incrementalPostOperations_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 6, incrementalPostOperations_.getRaw(i)); } unknownFields.writeTo(output); } @@ -1693,11 +2016,11 @@ public int getSerializedSize() { size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(incrementalSelectQuery_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, incrementalSelectQuery_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(1, incrementalSelectQuery_); } if (refreshDisabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, refreshDisabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, refreshDisabled_); } { int dataSize = 0; @@ -1708,7 +2031,8 @@ public int getSerializedSize() { size += 1 * getUniqueKeyPartsList().size(); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(updatePartitionFilter_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, updatePartitionFilter_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(4, updatePartitionFilter_); } { int dataSize = 0; @@ -1734,25 +2058,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig)) { + if (!(obj + instanceof + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfig)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig other = (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig) obj; - - if (!getIncrementalSelectQuery() - .equals(other.getIncrementalSelectQuery())) return false; - if (getRefreshDisabled() - != other.getRefreshDisabled()) return false; - if (!getUniqueKeyPartsList() - .equals(other.getUniqueKeyPartsList())) return false; - if (!getUpdatePartitionFilter() - .equals(other.getUpdatePartitionFilter())) return false; - if (!getIncrementalPreOperationsList() - .equals(other.getIncrementalPreOperationsList())) return false; - if (!getIncrementalPostOperationsList() - .equals(other.getIncrementalPostOperationsList())) return false; + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig + other = + (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfig) + obj; + + if (!getIncrementalSelectQuery().equals(other.getIncrementalSelectQuery())) return false; + if (getRefreshDisabled() != other.getRefreshDisabled()) return false; + if (!getUniqueKeyPartsList().equals(other.getUniqueKeyPartsList())) return false; + if (!getUpdatePartitionFilter().equals(other.getUpdatePartitionFilter())) return false; + if (!getIncrementalPreOperationsList().equals(other.getIncrementalPreOperationsList())) + return false; + if (!getIncrementalPostOperationsList().equals(other.getIncrementalPostOperationsList())) + return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1767,8 +2094,7 @@ public int hashCode() { hash = (37 * hash) + INCREMENTAL_SELECT_QUERY_FIELD_NUMBER; hash = (53 * hash) + getIncrementalSelectQuery().hashCode(); hash = (37 * hash) + REFRESH_DISABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRefreshDisabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRefreshDisabled()); if (getUniqueKeyPartsCount() > 0) { hash = (37 * hash) + UNIQUE_KEY_PARTS_FIELD_NUMBER; hash = (53 * hash) + getUniqueKeyPartsList().hashCode(); @@ -1788,88 +2114,116 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfig + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfig + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfig + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfig + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfig + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfig + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfig + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfig + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfig + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfig + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfig + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1879,44 +2233,53 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * Contains settings for relations of type `INCREMENTAL_TABLE`.
        * 
* - * Protobuf type {@code google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig} + * Protobuf type {@code + * google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig) - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_IncrementalTableConfig_descriptor; + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_IncrementalTableConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_IncrementalTableConfig_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_IncrementalTableConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig.class, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig.Builder.class); + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfig.class, + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfig.Builder.class); } - // Construct using com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig.newBuilder() + // Construct using + // com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1936,19 +2299,25 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_IncrementalTableConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_IncrementalTableConfig_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig getDefaultInstanceForType() { - return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig.getDefaultInstance(); + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfig + getDefaultInstanceForType() { + return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfig.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig build() { - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig result = buildPartial(); + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfig + build() { + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1956,8 +2325,13 @@ public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.Incre } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig buildPartial() { - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig result = new com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig(this); + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfig + buildPartial() { + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig + result = + new com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfig(this); int from_bitField0_ = bitField0_; result.incrementalSelectQuery_ = incrementalSelectQuery_; result.refreshDisabled_ = refreshDisabled_; @@ -1985,46 +2359,60 @@ public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.Incre public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig)other); + if (other + instanceof + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfig) { + return mergeFrom( + (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfig) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig other) { - if (other == com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfig + other) { + if (other + == com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfig.getDefaultInstance()) return this; if (!other.getIncrementalSelectQuery().isEmpty()) { incrementalSelectQuery_ = other.incrementalSelectQuery_; onChanged(); @@ -2081,11 +2469,15 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig parsedMessage = null; + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2094,23 +2486,26 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object incrementalSelectQuery_ = ""; /** + * + * *
          * The SELECT query which returns rows which should be inserted into the
          * relation if it already exists and is not being refreshed.
          * 
* * string incremental_select_query = 1; + * * @return The incrementalSelectQuery. */ public java.lang.String getIncrementalSelectQuery() { java.lang.Object ref = incrementalSelectQuery_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); incrementalSelectQuery_ = s; return s; @@ -2119,21 +2514,22 @@ public java.lang.String getIncrementalSelectQuery() { } } /** + * + * *
          * The SELECT query which returns rows which should be inserted into the
          * relation if it already exists and is not being refreshed.
          * 
* * string incremental_select_query = 1; + * * @return The bytes for incrementalSelectQuery. */ - public com.google.protobuf.ByteString - getIncrementalSelectQueryBytes() { + public com.google.protobuf.ByteString getIncrementalSelectQueryBytes() { java.lang.Object ref = incrementalSelectQuery_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); incrementalSelectQuery_ = b; return b; } else { @@ -2141,69 +2537,79 @@ public java.lang.String getIncrementalSelectQuery() { } } /** + * + * *
          * The SELECT query which returns rows which should be inserted into the
          * relation if it already exists and is not being refreshed.
          * 
* * string incremental_select_query = 1; + * * @param value The incrementalSelectQuery to set. * @return This builder for chaining. */ - public Builder setIncrementalSelectQuery( - java.lang.String value) { + public Builder setIncrementalSelectQuery(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + incrementalSelectQuery_ = value; onChanged(); return this; } /** + * + * *
          * The SELECT query which returns rows which should be inserted into the
          * relation if it already exists and is not being refreshed.
          * 
* * string incremental_select_query = 1; + * * @return This builder for chaining. */ public Builder clearIncrementalSelectQuery() { - + incrementalSelectQuery_ = getDefaultInstance().getIncrementalSelectQuery(); onChanged(); return this; } /** + * + * *
          * The SELECT query which returns rows which should be inserted into the
          * relation if it already exists and is not being refreshed.
          * 
* * string incremental_select_query = 1; + * * @param value The bytes for incrementalSelectQuery to set. * @return This builder for chaining. */ - public Builder setIncrementalSelectQueryBytes( - com.google.protobuf.ByteString value) { + public Builder setIncrementalSelectQueryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + incrementalSelectQuery_ = value; onChanged(); return this; } - private boolean refreshDisabled_ ; + private boolean refreshDisabled_; /** + * + * *
          * Whether this table should be protected from being refreshed.
          * 
* * bool refresh_disabled = 2; + * * @return The refreshDisabled. */ @java.lang.Override @@ -2211,43 +2617,53 @@ public boolean getRefreshDisabled() { return refreshDisabled_; } /** + * + * *
          * Whether this table should be protected from being refreshed.
          * 
* * bool refresh_disabled = 2; + * * @param value The refreshDisabled to set. * @return This builder for chaining. */ public Builder setRefreshDisabled(boolean value) { - + refreshDisabled_ = value; onChanged(); return this; } /** + * + * *
          * Whether this table should be protected from being refreshed.
          * 
* * bool refresh_disabled = 2; + * * @return This builder for chaining. */ public Builder clearRefreshDisabled() { - + refreshDisabled_ = false; onChanged(); return this; } - private com.google.protobuf.LazyStringList uniqueKeyParts_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList uniqueKeyParts_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUniqueKeyPartsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { uniqueKeyParts_ = new com.google.protobuf.LazyStringArrayList(uniqueKeyParts_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
          * A set of columns or SQL expressions used to define row uniqueness.
          * If any duplicates are discovered (as defined by `unique_key_parts`),
@@ -2256,13 +2672,15 @@ private void ensureUniqueKeyPartsIsMutable() {
          * 
* * repeated string unique_key_parts = 3; + * * @return A list containing the uniqueKeyParts. */ - public com.google.protobuf.ProtocolStringList - getUniqueKeyPartsList() { + public com.google.protobuf.ProtocolStringList getUniqueKeyPartsList() { return uniqueKeyParts_.getUnmodifiableView(); } /** + * + * *
          * A set of columns or SQL expressions used to define row uniqueness.
          * If any duplicates are discovered (as defined by `unique_key_parts`),
@@ -2271,12 +2689,15 @@ private void ensureUniqueKeyPartsIsMutable() {
          * 
* * repeated string unique_key_parts = 3; + * * @return The count of uniqueKeyParts. */ public int getUniqueKeyPartsCount() { return uniqueKeyParts_.size(); } /** + * + * *
          * A set of columns or SQL expressions used to define row uniqueness.
          * If any duplicates are discovered (as defined by `unique_key_parts`),
@@ -2285,6 +2706,7 @@ public int getUniqueKeyPartsCount() {
          * 
* * repeated string unique_key_parts = 3; + * * @param index The index of the element to return. * @return The uniqueKeyParts at the given index. */ @@ -2292,6 +2714,8 @@ public java.lang.String getUniqueKeyParts(int index) { return uniqueKeyParts_.get(index); } /** + * + * *
          * A set of columns or SQL expressions used to define row uniqueness.
          * If any duplicates are discovered (as defined by `unique_key_parts`),
@@ -2300,14 +2724,16 @@ public java.lang.String getUniqueKeyParts(int index) {
          * 
* * repeated string unique_key_parts = 3; + * * @param index The index of the value to return. * @return The bytes of the uniqueKeyParts at the given index. */ - public com.google.protobuf.ByteString - getUniqueKeyPartsBytes(int index) { + public com.google.protobuf.ByteString getUniqueKeyPartsBytes(int index) { return uniqueKeyParts_.getByteString(index); } /** + * + * *
          * A set of columns or SQL expressions used to define row uniqueness.
          * If any duplicates are discovered (as defined by `unique_key_parts`),
@@ -2316,21 +2742,23 @@ public java.lang.String getUniqueKeyParts(int index) {
          * 
* * repeated string unique_key_parts = 3; + * * @param index The index to set the value at. * @param value The uniqueKeyParts to set. * @return This builder for chaining. */ - public Builder setUniqueKeyParts( - int index, java.lang.String value) { + public Builder setUniqueKeyParts(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUniqueKeyPartsIsMutable(); + throw new NullPointerException(); + } + ensureUniqueKeyPartsIsMutable(); uniqueKeyParts_.set(index, value); onChanged(); return this; } /** + * + * *
          * A set of columns or SQL expressions used to define row uniqueness.
          * If any duplicates are discovered (as defined by `unique_key_parts`),
@@ -2339,20 +2767,22 @@ public Builder setUniqueKeyParts(
          * 
* * repeated string unique_key_parts = 3; + * * @param value The uniqueKeyParts to add. * @return This builder for chaining. */ - public Builder addUniqueKeyParts( - java.lang.String value) { + public Builder addUniqueKeyParts(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUniqueKeyPartsIsMutable(); + throw new NullPointerException(); + } + ensureUniqueKeyPartsIsMutable(); uniqueKeyParts_.add(value); onChanged(); return this; } /** + * + * *
          * A set of columns or SQL expressions used to define row uniqueness.
          * If any duplicates are discovered (as defined by `unique_key_parts`),
@@ -2361,18 +2791,19 @@ public Builder addUniqueKeyParts(
          * 
* * repeated string unique_key_parts = 3; + * * @param values The uniqueKeyParts to add. * @return This builder for chaining. */ - public Builder addAllUniqueKeyParts( - java.lang.Iterable values) { + public Builder addAllUniqueKeyParts(java.lang.Iterable values) { ensureUniqueKeyPartsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, uniqueKeyParts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uniqueKeyParts_); onChanged(); return this; } /** + * + * *
          * A set of columns or SQL expressions used to define row uniqueness.
          * If any duplicates are discovered (as defined by `unique_key_parts`),
@@ -2381,6 +2812,7 @@ public Builder addAllUniqueKeyParts(
          * 
* * repeated string unique_key_parts = 3; + * * @return This builder for chaining. */ public Builder clearUniqueKeyParts() { @@ -2390,6 +2822,8 @@ public Builder clearUniqueKeyParts() { return this; } /** + * + * *
          * A set of columns or SQL expressions used to define row uniqueness.
          * If any duplicates are discovered (as defined by `unique_key_parts`),
@@ -2398,15 +2832,15 @@ public Builder clearUniqueKeyParts() {
          * 
* * repeated string unique_key_parts = 3; + * * @param value The bytes of the uniqueKeyParts to add. * @return This builder for chaining. */ - public Builder addUniqueKeyPartsBytes( - com.google.protobuf.ByteString value) { + public Builder addUniqueKeyPartsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUniqueKeyPartsIsMutable(); uniqueKeyParts_.add(value); onChanged(); @@ -2415,6 +2849,8 @@ public Builder addUniqueKeyPartsBytes( private java.lang.Object updatePartitionFilter_ = ""; /** + * + * *
          * A SQL expression conditional used to limit the set of existing rows
          * considered for a merge operation (see `unique_key_parts` for more
@@ -2422,13 +2858,13 @@ public Builder addUniqueKeyPartsBytes(
          * 
* * string update_partition_filter = 4; + * * @return The updatePartitionFilter. */ public java.lang.String getUpdatePartitionFilter() { java.lang.Object ref = updatePartitionFilter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); updatePartitionFilter_ = s; return s; @@ -2437,6 +2873,8 @@ public java.lang.String getUpdatePartitionFilter() { } } /** + * + * *
          * A SQL expression conditional used to limit the set of existing rows
          * considered for a merge operation (see `unique_key_parts` for more
@@ -2444,15 +2882,14 @@ public java.lang.String getUpdatePartitionFilter() {
          * 
* * string update_partition_filter = 4; + * * @return The bytes for updatePartitionFilter. */ - public com.google.protobuf.ByteString - getUpdatePartitionFilterBytes() { + public com.google.protobuf.ByteString getUpdatePartitionFilterBytes() { java.lang.Object ref = updatePartitionFilter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); updatePartitionFilter_ = b; return b; } else { @@ -2460,6 +2897,8 @@ public java.lang.String getUpdatePartitionFilter() { } } /** + * + * *
          * A SQL expression conditional used to limit the set of existing rows
          * considered for a merge operation (see `unique_key_parts` for more
@@ -2467,20 +2906,22 @@ public java.lang.String getUpdatePartitionFilter() {
          * 
* * string update_partition_filter = 4; + * * @param value The updatePartitionFilter to set. * @return This builder for chaining. */ - public Builder setUpdatePartitionFilter( - java.lang.String value) { + public Builder setUpdatePartitionFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + updatePartitionFilter_ = value; onChanged(); return this; } /** + * + * *
          * A SQL expression conditional used to limit the set of existing rows
          * considered for a merge operation (see `unique_key_parts` for more
@@ -2488,15 +2929,18 @@ public Builder setUpdatePartitionFilter(
          * 
* * string update_partition_filter = 4; + * * @return This builder for chaining. */ public Builder clearUpdatePartitionFilter() { - + updatePartitionFilter_ = getDefaultInstance().getUpdatePartitionFilter(); onChanged(); return this; } /** + * + * *
          * A SQL expression conditional used to limit the set of existing rows
          * considered for a merge operation (see `unique_key_parts` for more
@@ -2504,60 +2948,71 @@ public Builder clearUpdatePartitionFilter() {
          * 
* * string update_partition_filter = 4; + * * @param value The bytes for updatePartitionFilter to set. * @return This builder for chaining. */ - public Builder setUpdatePartitionFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setUpdatePartitionFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + updatePartitionFilter_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList incrementalPreOperations_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList incrementalPreOperations_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureIncrementalPreOperationsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - incrementalPreOperations_ = new com.google.protobuf.LazyStringArrayList(incrementalPreOperations_); + incrementalPreOperations_ = + new com.google.protobuf.LazyStringArrayList(incrementalPreOperations_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
          * SQL statements to be executed before inserting new rows into the
          * relation.
          * 
* * repeated string incremental_pre_operations = 5; + * * @return A list containing the incrementalPreOperations. */ - public com.google.protobuf.ProtocolStringList - getIncrementalPreOperationsList() { + public com.google.protobuf.ProtocolStringList getIncrementalPreOperationsList() { return incrementalPreOperations_.getUnmodifiableView(); } /** + * + * *
          * SQL statements to be executed before inserting new rows into the
          * relation.
          * 
* * repeated string incremental_pre_operations = 5; + * * @return The count of incrementalPreOperations. */ public int getIncrementalPreOperationsCount() { return incrementalPreOperations_.size(); } /** + * + * *
          * SQL statements to be executed before inserting new rows into the
          * relation.
          * 
* * repeated string incremental_pre_operations = 5; + * * @param index The index of the element to return. * @return The incrementalPreOperations at the given index. */ @@ -2565,85 +3020,95 @@ public java.lang.String getIncrementalPreOperations(int index) { return incrementalPreOperations_.get(index); } /** + * + * *
          * SQL statements to be executed before inserting new rows into the
          * relation.
          * 
* * repeated string incremental_pre_operations = 5; + * * @param index The index of the value to return. * @return The bytes of the incrementalPreOperations at the given index. */ - public com.google.protobuf.ByteString - getIncrementalPreOperationsBytes(int index) { + public com.google.protobuf.ByteString getIncrementalPreOperationsBytes(int index) { return incrementalPreOperations_.getByteString(index); } /** + * + * *
          * SQL statements to be executed before inserting new rows into the
          * relation.
          * 
* * repeated string incremental_pre_operations = 5; + * * @param index The index to set the value at. * @param value The incrementalPreOperations to set. * @return This builder for chaining. */ - public Builder setIncrementalPreOperations( - int index, java.lang.String value) { + public Builder setIncrementalPreOperations(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIncrementalPreOperationsIsMutable(); + throw new NullPointerException(); + } + ensureIncrementalPreOperationsIsMutable(); incrementalPreOperations_.set(index, value); onChanged(); return this; } /** + * + * *
          * SQL statements to be executed before inserting new rows into the
          * relation.
          * 
* * repeated string incremental_pre_operations = 5; + * * @param value The incrementalPreOperations to add. * @return This builder for chaining. */ - public Builder addIncrementalPreOperations( - java.lang.String value) { + public Builder addIncrementalPreOperations(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIncrementalPreOperationsIsMutable(); + throw new NullPointerException(); + } + ensureIncrementalPreOperationsIsMutable(); incrementalPreOperations_.add(value); onChanged(); return this; } /** + * + * *
          * SQL statements to be executed before inserting new rows into the
          * relation.
          * 
* * repeated string incremental_pre_operations = 5; + * * @param values The incrementalPreOperations to add. * @return This builder for chaining. */ - public Builder addAllIncrementalPreOperations( - java.lang.Iterable values) { + public Builder addAllIncrementalPreOperations(java.lang.Iterable values) { ensureIncrementalPreOperationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, incrementalPreOperations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, incrementalPreOperations_); onChanged(); return this; } /** + * + * *
          * SQL statements to be executed before inserting new rows into the
          * relation.
          * 
* * repeated string incremental_pre_operations = 5; + * * @return This builder for chaining. */ public Builder clearIncrementalPreOperations() { @@ -2653,66 +3118,79 @@ public Builder clearIncrementalPreOperations() { return this; } /** + * + * *
          * SQL statements to be executed before inserting new rows into the
          * relation.
          * 
* * repeated string incremental_pre_operations = 5; + * * @param value The bytes of the incrementalPreOperations to add. * @return This builder for chaining. */ - public Builder addIncrementalPreOperationsBytes( - com.google.protobuf.ByteString value) { + public Builder addIncrementalPreOperationsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureIncrementalPreOperationsIsMutable(); incrementalPreOperations_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList incrementalPostOperations_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList incrementalPostOperations_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureIncrementalPostOperationsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - incrementalPostOperations_ = new com.google.protobuf.LazyStringArrayList(incrementalPostOperations_); + incrementalPostOperations_ = + new com.google.protobuf.LazyStringArrayList(incrementalPostOperations_); bitField0_ |= 0x00000004; - } + } } /** + * + * *
          * SQL statements to be executed after inserting new rows into the
          * relation.
          * 
* * repeated string incremental_post_operations = 6; + * * @return A list containing the incrementalPostOperations. */ - public com.google.protobuf.ProtocolStringList - getIncrementalPostOperationsList() { + public com.google.protobuf.ProtocolStringList getIncrementalPostOperationsList() { return incrementalPostOperations_.getUnmodifiableView(); } /** + * + * *
          * SQL statements to be executed after inserting new rows into the
          * relation.
          * 
* * repeated string incremental_post_operations = 6; + * * @return The count of incrementalPostOperations. */ public int getIncrementalPostOperationsCount() { return incrementalPostOperations_.size(); } /** + * + * *
          * SQL statements to be executed after inserting new rows into the
          * relation.
          * 
* * repeated string incremental_post_operations = 6; + * * @param index The index of the element to return. * @return The incrementalPostOperations at the given index. */ @@ -2720,67 +3198,76 @@ public java.lang.String getIncrementalPostOperations(int index) { return incrementalPostOperations_.get(index); } /** + * + * *
          * SQL statements to be executed after inserting new rows into the
          * relation.
          * 
* * repeated string incremental_post_operations = 6; + * * @param index The index of the value to return. * @return The bytes of the incrementalPostOperations at the given index. */ - public com.google.protobuf.ByteString - getIncrementalPostOperationsBytes(int index) { + public com.google.protobuf.ByteString getIncrementalPostOperationsBytes(int index) { return incrementalPostOperations_.getByteString(index); } /** + * + * *
          * SQL statements to be executed after inserting new rows into the
          * relation.
          * 
* * repeated string incremental_post_operations = 6; + * * @param index The index to set the value at. * @param value The incrementalPostOperations to set. * @return This builder for chaining. */ - public Builder setIncrementalPostOperations( - int index, java.lang.String value) { + public Builder setIncrementalPostOperations(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIncrementalPostOperationsIsMutable(); + throw new NullPointerException(); + } + ensureIncrementalPostOperationsIsMutable(); incrementalPostOperations_.set(index, value); onChanged(); return this; } /** + * + * *
          * SQL statements to be executed after inserting new rows into the
          * relation.
          * 
* * repeated string incremental_post_operations = 6; + * * @param value The incrementalPostOperations to add. * @return This builder for chaining. */ - public Builder addIncrementalPostOperations( - java.lang.String value) { + public Builder addIncrementalPostOperations(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIncrementalPostOperationsIsMutable(); + throw new NullPointerException(); + } + ensureIncrementalPostOperationsIsMutable(); incrementalPostOperations_.add(value); onChanged(); return this; } /** + * + * *
          * SQL statements to be executed after inserting new rows into the
          * relation.
          * 
* * repeated string incremental_post_operations = 6; + * * @param values The incrementalPostOperations to add. * @return This builder for chaining. */ @@ -2793,12 +3280,15 @@ public Builder addAllIncrementalPostOperations( return this; } /** + * + * *
          * SQL statements to be executed after inserting new rows into the
          * relation.
          * 
* * repeated string incremental_post_operations = 6; + * * @return This builder for chaining. */ public Builder clearIncrementalPostOperations() { @@ -2808,26 +3298,29 @@ public Builder clearIncrementalPostOperations() { return this; } /** + * + * *
          * SQL statements to be executed after inserting new rows into the
          * relation.
          * 
* * repeated string incremental_post_operations = 6; + * * @param value The bytes of the incrementalPostOperations to add. * @return This builder for chaining. */ - public Builder addIncrementalPostOperationsBytes( - com.google.protobuf.ByteString value) { + public Builder addIncrementalPostOperationsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureIncrementalPostOperationsIsMutable(); incrementalPostOperations_.add(value); onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2840,30 +3333,36 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig) - private static final com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfig + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig(); + DEFAULT_INSTANCE = + new com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfig(); } - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IncrementalTableConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new IncrementalTableConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IncrementalTableConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IncrementalTableConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2875,15 +3374,18 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int DEPENDENCY_TARGETS_FIELD_NUMBER = 1; private java.util.List dependencyTargets_; /** + * + * *
      * A list of actions that this action depends on.
      * 
@@ -2895,6 +3397,8 @@ public java.util.List getDependencyTa return dependencyTargets_; } /** + * + * *
      * A list of actions that this action depends on.
      * 
@@ -2902,11 +3406,13 @@ public java.util.List getDependencyTa * repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDependencyTargetsOrBuilderList() { return dependencyTargets_; } /** + * + * *
      * A list of actions that this action depends on.
      * 
@@ -2918,6 +3424,8 @@ public int getDependencyTargetsCount() { return dependencyTargets_.size(); } /** + * + * *
      * A list of actions that this action depends on.
      * 
@@ -2929,6 +3437,8 @@ public com.google.cloud.dataform.v1alpha2.Target getDependencyTargets(int index) return dependencyTargets_.get(index); } /** + * + * *
      * A list of actions that this action depends on.
      * 
@@ -2944,11 +3454,14 @@ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getDependencyTargetsOr public static final int DISABLED_FIELD_NUMBER = 2; private boolean disabled_; /** + * + * *
      * Whether this action is disabled (i.e. should not be run).
      * 
* * bool disabled = 2; + * * @return The disabled. */ @java.lang.Override @@ -2959,34 +3472,42 @@ public boolean getDisabled() { public static final int TAGS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList tags_; /** + * + * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; + * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList - getTagsList() { + public com.google.protobuf.ProtocolStringList getTagsList() { return tags_; } /** + * + * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; + * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** + * + * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; + * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -2994,27 +3515,32 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** + * + * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; + * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString - getTagsBytes(int index) { + public com.google.protobuf.ByteString getTagsBytes(int index) { return tags_.getByteString(index); } public static final int RELATION_DESCRIPTOR_FIELD_NUMBER = 4; private com.google.cloud.dataform.v1alpha2.RelationDescriptor relationDescriptor_; /** + * + * *
      * Descriptor for the relation and its columns.
      * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 4; + * * @return Whether the relationDescriptor field is set. */ @java.lang.Override @@ -3022,18 +3548,25 @@ public boolean hasRelationDescriptor() { return relationDescriptor_ != null; } /** + * + * *
      * Descriptor for the relation and its columns.
      * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 4; + * * @return The relationDescriptor. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.RelationDescriptor getRelationDescriptor() { - return relationDescriptor_ == null ? com.google.cloud.dataform.v1alpha2.RelationDescriptor.getDefaultInstance() : relationDescriptor_; + return relationDescriptor_ == null + ? com.google.cloud.dataform.v1alpha2.RelationDescriptor.getDefaultInstance() + : relationDescriptor_; } /** + * + * *
      * Descriptor for the relation and its columns.
      * 
@@ -3041,45 +3574,67 @@ public com.google.cloud.dataform.v1alpha2.RelationDescriptor getRelationDescript * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 4; */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder getRelationDescriptorOrBuilder() { + public com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder + getRelationDescriptorOrBuilder() { return getRelationDescriptor(); } public static final int RELATION_TYPE_FIELD_NUMBER = 5; private int relationType_; /** + * + * *
      * The type of this relation.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType relation_type = 5; + * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType relation_type = 5; + * + * * @return The enum numeric value on the wire for relationType. */ - @java.lang.Override public int getRelationTypeValue() { + @java.lang.Override + public int getRelationTypeValue() { return relationType_; } /** + * + * *
      * The type of this relation.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType relation_type = 5; + * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType relation_type = 5; + * + * * @return The relationType. */ - @java.lang.Override public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType getRelationType() { + @java.lang.Override + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType + getRelationType() { @SuppressWarnings("deprecation") - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType result = com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType.valueOf(relationType_); - return result == null ? com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType.UNRECOGNIZED : result; + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType result = + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType.valueOf( + relationType_); + return result == null + ? com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType + .UNRECOGNIZED + : result; } public static final int SELECT_QUERY_FIELD_NUMBER = 6; private volatile java.lang.Object selectQuery_; /** + * + * *
      * The SELECT query which returns rows which this relation should contain.
      * 
* * string select_query = 6; + * * @return The selectQuery. */ @java.lang.Override @@ -3088,29 +3643,29 @@ public java.lang.String getSelectQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); selectQuery_ = s; return s; } } /** + * + * *
      * The SELECT query which returns rows which this relation should contain.
      * 
* * string select_query = 6; + * * @return The bytes for selectQuery. */ @java.lang.Override - public com.google.protobuf.ByteString - getSelectQueryBytes() { + public com.google.protobuf.ByteString getSelectQueryBytes() { java.lang.Object ref = selectQuery_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); selectQuery_ = b; return b; } else { @@ -3121,34 +3676,42 @@ public java.lang.String getSelectQuery() { public static final int PRE_OPERATIONS_FIELD_NUMBER = 7; private com.google.protobuf.LazyStringList preOperations_; /** + * + * *
      * SQL statements to be executed before creating the relation.
      * 
* * repeated string pre_operations = 7; + * * @return A list containing the preOperations. */ - public com.google.protobuf.ProtocolStringList - getPreOperationsList() { + public com.google.protobuf.ProtocolStringList getPreOperationsList() { return preOperations_; } /** + * + * *
      * SQL statements to be executed before creating the relation.
      * 
* * repeated string pre_operations = 7; + * * @return The count of preOperations. */ public int getPreOperationsCount() { return preOperations_.size(); } /** + * + * *
      * SQL statements to be executed before creating the relation.
      * 
* * repeated string pre_operations = 7; + * * @param index The index of the element to return. * @return The preOperations at the given index. */ @@ -3156,50 +3719,60 @@ public java.lang.String getPreOperations(int index) { return preOperations_.get(index); } /** + * + * *
      * SQL statements to be executed before creating the relation.
      * 
* * repeated string pre_operations = 7; + * * @param index The index of the value to return. * @return The bytes of the preOperations at the given index. */ - public com.google.protobuf.ByteString - getPreOperationsBytes(int index) { + public com.google.protobuf.ByteString getPreOperationsBytes(int index) { return preOperations_.getByteString(index); } public static final int POST_OPERATIONS_FIELD_NUMBER = 8; private com.google.protobuf.LazyStringList postOperations_; /** + * + * *
      * SQL statements to be executed after creating the relation.
      * 
* * repeated string post_operations = 8; + * * @return A list containing the postOperations. */ - public com.google.protobuf.ProtocolStringList - getPostOperationsList() { + public com.google.protobuf.ProtocolStringList getPostOperationsList() { return postOperations_; } /** + * + * *
      * SQL statements to be executed after creating the relation.
      * 
* * repeated string post_operations = 8; + * * @return The count of postOperations. */ public int getPostOperationsCount() { return postOperations_.size(); } /** + * + * *
      * SQL statements to be executed after creating the relation.
      * 
* * repeated string post_operations = 8; + * * @param index The index of the element to return. * @return The postOperations at the given index. */ @@ -3207,28 +3780,37 @@ public java.lang.String getPostOperations(int index) { return postOperations_.get(index); } /** + * + * *
      * SQL statements to be executed after creating the relation.
      * 
* * repeated string post_operations = 8; + * * @param index The index of the value to return. * @return The bytes of the postOperations at the given index. */ - public com.google.protobuf.ByteString - getPostOperationsBytes(int index) { + public com.google.protobuf.ByteString getPostOperationsBytes(int index) { return postOperations_.getByteString(index); } public static final int INCREMENTAL_TABLE_CONFIG_FIELD_NUMBER = 9; - private com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incrementalTableConfig_; + private com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfig + incrementalTableConfig_; /** + * + * *
      * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
      * `relation_type` is `INCREMENTAL_TABLE`.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * + * * @return Whether the incrementalTableConfig field is set. */ @java.lang.Override @@ -3236,39 +3818,58 @@ public boolean hasIncrementalTableConfig() { return incrementalTableConfig_ != null; } /** + * + * *
      * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
      * `relation_type` is `INCREMENTAL_TABLE`.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * + * * @return The incrementalTableConfig. */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig getIncrementalTableConfig() { - return incrementalTableConfig_ == null ? com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig.getDefaultInstance() : incrementalTableConfig_; + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfig + getIncrementalTableConfig() { + return incrementalTableConfig_ == null + ? com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfig.getDefaultInstance() + : incrementalTableConfig_; } /** + * + * *
      * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
      * `relation_type` is `INCREMENTAL_TABLE`.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfigOrBuilder getIncrementalTableConfigOrBuilder() { + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfigOrBuilder + getIncrementalTableConfigOrBuilder() { return getIncrementalTableConfig(); } public static final int PARTITION_EXPRESSION_FIELD_NUMBER = 10; private volatile java.lang.Object partitionExpression_; /** + * + * *
      * The SQL expression used to partition the relation.
      * 
* * string partition_expression = 10; + * * @return The partitionExpression. */ @java.lang.Override @@ -3277,29 +3878,29 @@ public java.lang.String getPartitionExpression() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); partitionExpression_ = s; return s; } } /** + * + * *
      * The SQL expression used to partition the relation.
      * 
* * string partition_expression = 10; + * * @return The bytes for partitionExpression. */ @java.lang.Override - public com.google.protobuf.ByteString - getPartitionExpressionBytes() { + public com.google.protobuf.ByteString getPartitionExpressionBytes() { java.lang.Object ref = partitionExpression_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); partitionExpression_ = b; return b; } else { @@ -3310,34 +3911,42 @@ public java.lang.String getPartitionExpression() { public static final int CLUSTER_EXPRESSIONS_FIELD_NUMBER = 11; private com.google.protobuf.LazyStringList clusterExpressions_; /** + * + * *
      * A list of columns or SQL expressions used to cluster the table.
      * 
* * repeated string cluster_expressions = 11; + * * @return A list containing the clusterExpressions. */ - public com.google.protobuf.ProtocolStringList - getClusterExpressionsList() { + public com.google.protobuf.ProtocolStringList getClusterExpressionsList() { return clusterExpressions_; } /** + * + * *
      * A list of columns or SQL expressions used to cluster the table.
      * 
* * repeated string cluster_expressions = 11; + * * @return The count of clusterExpressions. */ public int getClusterExpressionsCount() { return clusterExpressions_.size(); } /** + * + * *
      * A list of columns or SQL expressions used to cluster the table.
      * 
* * repeated string cluster_expressions = 11; + * * @param index The index of the element to return. * @return The clusterExpressions at the given index. */ @@ -3345,27 +3954,32 @@ public java.lang.String getClusterExpressions(int index) { return clusterExpressions_.get(index); } /** + * + * *
      * A list of columns or SQL expressions used to cluster the table.
      * 
* * repeated string cluster_expressions = 11; + * * @param index The index of the value to return. * @return The bytes of the clusterExpressions at the given index. */ - public com.google.protobuf.ByteString - getClusterExpressionsBytes(int index) { + public com.google.protobuf.ByteString getClusterExpressionsBytes(int index) { return clusterExpressions_.getByteString(index); } public static final int PARTITION_EXPIRATION_DAYS_FIELD_NUMBER = 12; private int partitionExpirationDays_; /** + * + * *
      * Sets the partition expiration in days.
      * 
* * int32 partition_expiration_days = 12; + * * @return The partitionExpirationDays. */ @java.lang.Override @@ -3376,12 +3990,15 @@ public int getPartitionExpirationDays() { public static final int REQUIRE_PARTITION_FILTER_FIELD_NUMBER = 13; private boolean requirePartitionFilter_; /** + * + * *
      * Specifies whether queries on this table must include a predicate filter
      * that filters on the partitioning column.
      * 
* * bool require_partition_filter = 13; + * * @return The requirePartitionFilter. */ @java.lang.Override @@ -3390,21 +4007,22 @@ public boolean getRequirePartitionFilter() { } public static final int ADDITIONAL_OPTIONS_FIELD_NUMBER = 14; + private static final class AdditionalOptionsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_AdditionalOptionsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> additionalOptions_; + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_AdditionalOptionsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + private com.google.protobuf.MapField additionalOptions_; + private com.google.protobuf.MapField - internalGetAdditionalOptions() { + internalGetAdditionalOptions() { if (additionalOptions_ == null) { return com.google.protobuf.MapField.emptyMapField( AdditionalOptionsDefaultEntryHolder.defaultEntry); @@ -3416,6 +4034,8 @@ public int getAdditionalOptionsCount() { return internalGetAdditionalOptions().getMap().size(); } /** + * + * *
      * Additional options that will be provided as key/value pairs into the
      * options clause of a create table/view statement. See
@@ -3425,22 +4045,22 @@ public int getAdditionalOptionsCount() {
      *
      * map<string, string> additional_options = 14;
      */
-
     @java.lang.Override
-    public boolean containsAdditionalOptions(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsAdditionalOptions(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetAdditionalOptions().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getAdditionalOptionsMap()} instead.
-     */
+    /** Use {@link #getAdditionalOptionsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getAdditionalOptions() {
       return getAdditionalOptionsMap();
     }
     /**
+     *
+     *
      * 
      * Additional options that will be provided as key/value pairs into the
      * options clause of a create table/view statement. See
@@ -3451,11 +4071,12 @@ public java.util.Map getAdditionalOptions()
      * map<string, string> additional_options = 14;
      */
     @java.lang.Override
-
     public java.util.Map getAdditionalOptionsMap() {
       return internalGetAdditionalOptions().getMap();
     }
     /**
+     *
+     *
      * 
      * Additional options that will be provided as key/value pairs into the
      * options clause of a create table/view statement. See
@@ -3466,16 +4087,18 @@ public java.util.Map getAdditionalOptionsMap
      * map<string, string> additional_options = 14;
      */
     @java.lang.Override
-
     public java.lang.String getAdditionalOptionsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetAdditionalOptions().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Additional options that will be provided as key/value pairs into the
      * options clause of a create table/view statement. See
@@ -3486,10 +4109,10 @@ public java.lang.String getAdditionalOptionsOrDefault(
      * map<string, string> additional_options = 14;
      */
     @java.lang.Override
-
-    public java.lang.String getAdditionalOptionsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public java.lang.String getAdditionalOptionsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetAdditionalOptions().getMap();
       if (!map.containsKey(key)) {
@@ -3499,6 +4122,7 @@ public java.lang.String getAdditionalOptionsOrThrow(
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -3510,8 +4134,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       for (int i = 0; i < dependencyTargets_.size(); i++) {
         output.writeMessage(1, dependencyTargets_.get(i));
       }
@@ -3524,7 +4147,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
       if (relationDescriptor_ != null) {
         output.writeMessage(4, getRelationDescriptor());
       }
-      if (relationType_ != com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType.RELATION_TYPE_UNSPECIFIED.getNumber()) {
+      if (relationType_
+          != com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType
+              .RELATION_TYPE_UNSPECIFIED
+              .getNumber()) {
         output.writeEnum(5, relationType_);
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(selectQuery_)) {
@@ -3543,7 +4169,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
         com.google.protobuf.GeneratedMessageV3.writeString(output, 10, partitionExpression_);
       }
       for (int i = 0; i < clusterExpressions_.size(); i++) {
-        com.google.protobuf.GeneratedMessageV3.writeString(output, 11, clusterExpressions_.getRaw(i));
+        com.google.protobuf.GeneratedMessageV3.writeString(
+            output, 11, clusterExpressions_.getRaw(i));
       }
       if (partitionExpirationDays_ != 0) {
         output.writeInt32(12, partitionExpirationDays_);
@@ -3551,8 +4178,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
       if (requirePartitionFilter_ != false) {
         output.writeBool(13, requirePartitionFilter_);
       }
-      com.google.protobuf.GeneratedMessageV3
-        .serializeStringMapTo(
+      com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
           output,
           internalGetAdditionalOptions(),
           AdditionalOptionsDefaultEntryHolder.defaultEntry,
@@ -3567,12 +4193,11 @@ public int getSerializedSize() {
 
       size = 0;
       for (int i = 0; i < dependencyTargets_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, dependencyTargets_.get(i));
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(1, dependencyTargets_.get(i));
       }
       if (disabled_ != false) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeBoolSize(2, disabled_);
+        size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, disabled_);
       }
       {
         int dataSize = 0;
@@ -3583,12 +4208,14 @@ public int getSerializedSize() {
         size += 1 * getTagsList().size();
       }
       if (relationDescriptor_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(4, getRelationDescriptor());
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(4, getRelationDescriptor());
       }
-      if (relationType_ != com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType.RELATION_TYPE_UNSPECIFIED.getNumber()) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeEnumSize(5, relationType_);
+      if (relationType_
+          != com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType
+              .RELATION_TYPE_UNSPECIFIED
+              .getNumber()) {
+        size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, relationType_);
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(selectQuery_)) {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, selectQuery_);
@@ -3610,8 +4237,9 @@ public int getSerializedSize() {
         size += 1 * getPostOperationsList().size();
       }
       if (incrementalTableConfig_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(9, getIncrementalTableConfig());
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(
+                9, getIncrementalTableConfig());
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partitionExpression_)) {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, partitionExpression_);
@@ -3625,22 +4253,21 @@ public int getSerializedSize() {
         size += 1 * getClusterExpressionsList().size();
       }
       if (partitionExpirationDays_ != 0) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeInt32Size(12, partitionExpirationDays_);
+        size +=
+            com.google.protobuf.CodedOutputStream.computeInt32Size(12, partitionExpirationDays_);
       }
       if (requirePartitionFilter_ != false) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeBoolSize(13, requirePartitionFilter_);
-      }
-      for (java.util.Map.Entry entry
-           : internalGetAdditionalOptions().getMap().entrySet()) {
-        com.google.protobuf.MapEntry
-        additionalOptions__ = AdditionalOptionsDefaultEntryHolder.defaultEntry.newBuilderForType()
-            .setKey(entry.getKey())
-            .setValue(entry.getValue())
-            .build();
-        size += com.google.protobuf.CodedOutputStream
-            .computeMessageSize(14, additionalOptions__);
+        size += com.google.protobuf.CodedOutputStream.computeBoolSize(13, requirePartitionFilter_);
+      }
+      for (java.util.Map.Entry entry :
+          internalGetAdditionalOptions().getMap().entrySet()) {
+        com.google.protobuf.MapEntry additionalOptions__ =
+            AdditionalOptionsDefaultEntryHolder.defaultEntry
+                .newBuilderForType()
+                .setKey(entry.getKey())
+                .setValue(entry.getValue())
+                .build();
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, additionalOptions__);
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -3650,46 +4277,35 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
       if (!(obj instanceof com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation)) {
         return super.equals(obj);
       }
-      com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation other = (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) obj;
+      com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation other =
+          (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) obj;
 
-      if (!getDependencyTargetsList()
-          .equals(other.getDependencyTargetsList())) return false;
-      if (getDisabled()
-          != other.getDisabled()) return false;
-      if (!getTagsList()
-          .equals(other.getTagsList())) return false;
+      if (!getDependencyTargetsList().equals(other.getDependencyTargetsList())) return false;
+      if (getDisabled() != other.getDisabled()) return false;
+      if (!getTagsList().equals(other.getTagsList())) return false;
       if (hasRelationDescriptor() != other.hasRelationDescriptor()) return false;
       if (hasRelationDescriptor()) {
-        if (!getRelationDescriptor()
-            .equals(other.getRelationDescriptor())) return false;
+        if (!getRelationDescriptor().equals(other.getRelationDescriptor())) return false;
       }
       if (relationType_ != other.relationType_) return false;
-      if (!getSelectQuery()
-          .equals(other.getSelectQuery())) return false;
-      if (!getPreOperationsList()
-          .equals(other.getPreOperationsList())) return false;
-      if (!getPostOperationsList()
-          .equals(other.getPostOperationsList())) return false;
+      if (!getSelectQuery().equals(other.getSelectQuery())) return false;
+      if (!getPreOperationsList().equals(other.getPreOperationsList())) return false;
+      if (!getPostOperationsList().equals(other.getPostOperationsList())) return false;
       if (hasIncrementalTableConfig() != other.hasIncrementalTableConfig()) return false;
       if (hasIncrementalTableConfig()) {
-        if (!getIncrementalTableConfig()
-            .equals(other.getIncrementalTableConfig())) return false;
-      }
-      if (!getPartitionExpression()
-          .equals(other.getPartitionExpression())) return false;
-      if (!getClusterExpressionsList()
-          .equals(other.getClusterExpressionsList())) return false;
-      if (getPartitionExpirationDays()
-          != other.getPartitionExpirationDays()) return false;
-      if (getRequirePartitionFilter()
-          != other.getRequirePartitionFilter()) return false;
-      if (!internalGetAdditionalOptions().equals(
-          other.internalGetAdditionalOptions())) return false;
+        if (!getIncrementalTableConfig().equals(other.getIncrementalTableConfig())) return false;
+      }
+      if (!getPartitionExpression().equals(other.getPartitionExpression())) return false;
+      if (!getClusterExpressionsList().equals(other.getClusterExpressionsList())) return false;
+      if (getPartitionExpirationDays() != other.getPartitionExpirationDays()) return false;
+      if (getRequirePartitionFilter() != other.getRequirePartitionFilter()) return false;
+      if (!internalGetAdditionalOptions().equals(other.internalGetAdditionalOptions()))
+        return false;
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
     }
@@ -3706,8 +4322,7 @@ public int hashCode() {
         hash = (53 * hash) + getDependencyTargetsList().hashCode();
       }
       hash = (37 * hash) + DISABLED_FIELD_NUMBER;
-      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
-          getDisabled());
+      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisabled());
       if (getTagsCount() > 0) {
         hash = (37 * hash) + TAGS_FIELD_NUMBER;
         hash = (53 * hash) + getTagsList().hashCode();
@@ -3741,8 +4356,7 @@ public int hashCode() {
       hash = (37 * hash) + PARTITION_EXPIRATION_DAYS_FIELD_NUMBER;
       hash = (53 * hash) + getPartitionExpirationDays();
       hash = (37 * hash) + REQUIRE_PARTITION_FILTER_FIELD_NUMBER;
-      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
-          getRequirePartitionFilter());
+      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequirePartitionFilter());
       if (!internalGetAdditionalOptions().getMap().isEmpty()) {
         hash = (37 * hash) + ADDITIONAL_OPTIONS_FIELD_NUMBER;
         hash = (53 * hash) + internalGetAdditionalOptions().hashCode();
@@ -3753,87 +4367,95 @@ public int hashCode() {
     }
 
     public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation parseFrom(
+        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation
+        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
-    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+
+    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation
+        parseDelimitedFrom(
+            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation prototype) {
+
+    public static Builder newBuilder(
+        com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -3843,67 +4465,71 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Represents a database relation.
      * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.CompilationResultAction.Relation} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) com.google.cloud.dataform.v1alpha2.CompilationResultAction.RelationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 14: return internalGetAdditionalOptions(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 14: return internalGetMutableAdditionalOptions(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.class, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.Builder.class); + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.class, + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.Builder.class); } - // Construct using com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.newBuilder() + // Construct using + // com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getDependencyTargetsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -3950,14 +4576,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation getDefaultInstanceForType() { - return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.getDefaultInstance(); + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + getDefaultInstanceForType() { + return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .getDefaultInstance(); } @java.lang.Override @@ -3971,7 +4599,8 @@ public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation build @java.lang.Override public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation buildPartial() { - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation result = new com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation(this); + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation result = + new com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation(this); int from_bitField0_ = bitField0_; if (dependencyTargetsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -4028,46 +4657,53 @@ public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation build public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation)other); + return mergeFrom( + (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation other) { - if (other == com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation other) { + if (other + == com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .getDefaultInstance()) return this; if (dependencyTargetsBuilder_ == null) { if (!other.dependencyTargets_.isEmpty()) { if (dependencyTargets_.isEmpty()) { @@ -4086,9 +4722,10 @@ public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.CompilationResultAct dependencyTargetsBuilder_ = null; dependencyTargets_ = other.dependencyTargets_; bitField0_ = (bitField0_ & ~0x00000001); - dependencyTargetsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDependencyTargetsFieldBuilder() : null; + dependencyTargetsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDependencyTargetsFieldBuilder() + : null; } else { dependencyTargetsBuilder_.addAllMessages(other.dependencyTargets_); } @@ -4160,8 +4797,7 @@ public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.CompilationResultAct if (other.getRequirePartitionFilter() != false) { setRequirePartitionFilter(other.getRequirePartitionFilter()); } - internalGetMutableAdditionalOptions().mergeFrom( - other.internalGetAdditionalOptions()); + internalGetMutableAdditionalOptions().mergeFrom(other.internalGetAdditionalOptions()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -4181,7 +4817,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -4190,21 +4828,30 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List dependencyTargets_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureDependencyTargetsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - dependencyTargets_ = new java.util.ArrayList(dependencyTargets_); + dependencyTargets_ = + new java.util.ArrayList( + dependencyTargets_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder> dependencyTargetsBuilder_; + com.google.cloud.dataform.v1alpha2.Target, + com.google.cloud.dataform.v1alpha2.Target.Builder, + com.google.cloud.dataform.v1alpha2.TargetOrBuilder> + dependencyTargetsBuilder_; /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -4219,6 +4866,8 @@ public java.util.List getDependencyTa } } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -4233,6 +4882,8 @@ public int getDependencyTargetsCount() { } } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -4247,6 +4898,8 @@ public com.google.cloud.dataform.v1alpha2.Target getDependencyTargets(int index) } } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -4268,6 +4921,8 @@ public Builder setDependencyTargets( return this; } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -4286,6 +4941,8 @@ public Builder setDependencyTargets( return this; } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -4306,6 +4963,8 @@ public Builder addDependencyTargets(com.google.cloud.dataform.v1alpha2.Target va return this; } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -4327,6 +4986,8 @@ public Builder addDependencyTargets( return this; } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -4345,6 +5006,8 @@ public Builder addDependencyTargets( return this; } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -4363,6 +5026,8 @@ public Builder addDependencyTargets( return this; } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -4373,8 +5038,7 @@ public Builder addAllDependencyTargets( java.lang.Iterable values) { if (dependencyTargetsBuilder_ == null) { ensureDependencyTargetsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, dependencyTargets_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dependencyTargets_); onChanged(); } else { dependencyTargetsBuilder_.addAllMessages(values); @@ -4382,6 +5046,8 @@ public Builder addAllDependencyTargets( return this; } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -4399,6 +5065,8 @@ public Builder clearDependencyTargets() { return this; } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -4416,6 +5084,8 @@ public Builder removeDependencyTargets(int index) { return this; } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -4427,6 +5097,8 @@ public com.google.cloud.dataform.v1alpha2.Target.Builder getDependencyTargetsBui return getDependencyTargetsFieldBuilder().getBuilder(index); } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -4436,19 +5108,22 @@ public com.google.cloud.dataform.v1alpha2.Target.Builder getDependencyTargetsBui public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getDependencyTargetsOrBuilder( int index) { if (dependencyTargetsBuilder_ == null) { - return dependencyTargets_.get(index); } else { + return dependencyTargets_.get(index); + } else { return dependencyTargetsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * A list of actions that this action depends on.
        * 
* * repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1; */ - public java.util.List - getDependencyTargetsOrBuilderList() { + public java.util.List + getDependencyTargetsOrBuilderList() { if (dependencyTargetsBuilder_ != null) { return dependencyTargetsBuilder_.getMessageOrBuilderList(); } else { @@ -4456,6 +5131,8 @@ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getDependencyTargetsOr } } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -4463,10 +5140,12 @@ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getDependencyTargetsOr * repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1; */ public com.google.cloud.dataform.v1alpha2.Target.Builder addDependencyTargetsBuilder() { - return getDependencyTargetsFieldBuilder().addBuilder( - com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance()); + return getDependencyTargetsFieldBuilder() + .addBuilder(com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance()); } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -4475,26 +5154,34 @@ public com.google.cloud.dataform.v1alpha2.Target.Builder addDependencyTargetsBui */ public com.google.cloud.dataform.v1alpha2.Target.Builder addDependencyTargetsBuilder( int index) { - return getDependencyTargetsFieldBuilder().addBuilder( - index, com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance()); + return getDependencyTargetsFieldBuilder() + .addBuilder(index, com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance()); } /** + * + * *
        * A list of actions that this action depends on.
        * 
* * repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1; */ - public java.util.List - getDependencyTargetsBuilderList() { + public java.util.List + getDependencyTargetsBuilderList() { return getDependencyTargetsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder> + com.google.cloud.dataform.v1alpha2.Target, + com.google.cloud.dataform.v1alpha2.Target.Builder, + com.google.cloud.dataform.v1alpha2.TargetOrBuilder> getDependencyTargetsFieldBuilder() { if (dependencyTargetsBuilder_ == null) { - dependencyTargetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder>( + dependencyTargetsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.Target, + com.google.cloud.dataform.v1alpha2.Target.Builder, + com.google.cloud.dataform.v1alpha2.TargetOrBuilder>( dependencyTargets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -4504,13 +5191,16 @@ public com.google.cloud.dataform.v1alpha2.Target.Builder addDependencyTargetsBui return dependencyTargetsBuilder_; } - private boolean disabled_ ; + private boolean disabled_; /** + * + * *
        * Whether this action is disabled (i.e. should not be run).
        * 
* * bool disabled = 2; + * * @return The disabled. */ @java.lang.Override @@ -4518,71 +5208,87 @@ public boolean getDisabled() { return disabled_; } /** + * + * *
        * Whether this action is disabled (i.e. should not be run).
        * 
* * bool disabled = 2; + * * @param value The disabled to set. * @return This builder for chaining. */ public Builder setDisabled(boolean value) { - + disabled_ = value; onChanged(); return this; } /** + * + * *
        * Whether this action is disabled (i.e. should not be run).
        * 
* * bool disabled = 2; + * * @return This builder for chaining. */ public Builder clearDisabled() { - + disabled_ = false; onChanged(); return this; } - private com.google.protobuf.LazyStringList tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList tags_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureTagsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { tags_ = new com.google.protobuf.LazyStringArrayList(tags_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; + * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList - getTagsList() { + public com.google.protobuf.ProtocolStringList getTagsList() { return tags_.getUnmodifiableView(); } /** + * + * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; + * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** + * + * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; + * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -4590,80 +5296,90 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** + * + * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; + * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString - getTagsBytes(int index) { + public com.google.protobuf.ByteString getTagsBytes(int index) { return tags_.getByteString(index); } /** + * + * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; + * * @param index The index to set the value at. * @param value The tags to set. * @return This builder for chaining. */ - public Builder setTags( - int index, java.lang.String value) { + public Builder setTags(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.set(index, value); onChanged(); return this; } /** + * + * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; + * * @param value The tags to add. * @return This builder for chaining. */ - public Builder addTags( - java.lang.String value) { + public Builder addTags(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } /** + * + * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; + * * @param values The tags to add. * @return This builder for chaining. */ - public Builder addAllTags( - java.lang.Iterable values) { + public Builder addAllTags(java.lang.Iterable values) { ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tags_); onChanged(); return this; } /** + * + * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; + * * @return This builder for chaining. */ public Builder clearTags() { @@ -4673,20 +5389,22 @@ public Builder clearTags() { return this; } /** + * + * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; + * * @param value The bytes of the tags to add. * @return This builder for chaining. */ - public Builder addTagsBytes( - com.google.protobuf.ByteString value) { + public Builder addTagsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureTagsIsMutable(); tags_.add(value); onChanged(); @@ -4695,41 +5413,55 @@ public Builder addTagsBytes( private com.google.cloud.dataform.v1alpha2.RelationDescriptor relationDescriptor_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.RelationDescriptor, com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder, com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder> relationDescriptorBuilder_; + com.google.cloud.dataform.v1alpha2.RelationDescriptor, + com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder, + com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder> + relationDescriptorBuilder_; /** + * + * *
        * Descriptor for the relation and its columns.
        * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 4; + * * @return Whether the relationDescriptor field is set. */ public boolean hasRelationDescriptor() { return relationDescriptorBuilder_ != null || relationDescriptor_ != null; } /** + * + * *
        * Descriptor for the relation and its columns.
        * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 4; + * * @return The relationDescriptor. */ public com.google.cloud.dataform.v1alpha2.RelationDescriptor getRelationDescriptor() { if (relationDescriptorBuilder_ == null) { - return relationDescriptor_ == null ? com.google.cloud.dataform.v1alpha2.RelationDescriptor.getDefaultInstance() : relationDescriptor_; + return relationDescriptor_ == null + ? com.google.cloud.dataform.v1alpha2.RelationDescriptor.getDefaultInstance() + : relationDescriptor_; } else { return relationDescriptorBuilder_.getMessage(); } } /** + * + * *
        * Descriptor for the relation and its columns.
        * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 4; */ - public Builder setRelationDescriptor(com.google.cloud.dataform.v1alpha2.RelationDescriptor value) { + public Builder setRelationDescriptor( + com.google.cloud.dataform.v1alpha2.RelationDescriptor value) { if (relationDescriptorBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4743,6 +5475,8 @@ public Builder setRelationDescriptor(com.google.cloud.dataform.v1alpha2.Relation return this; } /** + * + * *
        * Descriptor for the relation and its columns.
        * 
@@ -4761,17 +5495,23 @@ public Builder setRelationDescriptor( return this; } /** + * + * *
        * Descriptor for the relation and its columns.
        * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 4; */ - public Builder mergeRelationDescriptor(com.google.cloud.dataform.v1alpha2.RelationDescriptor value) { + public Builder mergeRelationDescriptor( + com.google.cloud.dataform.v1alpha2.RelationDescriptor value) { if (relationDescriptorBuilder_ == null) { if (relationDescriptor_ != null) { relationDescriptor_ = - com.google.cloud.dataform.v1alpha2.RelationDescriptor.newBuilder(relationDescriptor_).mergeFrom(value).buildPartial(); + com.google.cloud.dataform.v1alpha2.RelationDescriptor.newBuilder( + relationDescriptor_) + .mergeFrom(value) + .buildPartial(); } else { relationDescriptor_ = value; } @@ -4783,6 +5523,8 @@ public Builder mergeRelationDescriptor(com.google.cloud.dataform.v1alpha2.Relati return this; } /** + * + * *
        * Descriptor for the relation and its columns.
        * 
@@ -4801,33 +5543,42 @@ public Builder clearRelationDescriptor() { return this; } /** + * + * *
        * Descriptor for the relation and its columns.
        * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 4; */ - public com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder getRelationDescriptorBuilder() { - + public com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder + getRelationDescriptorBuilder() { + onChanged(); return getRelationDescriptorFieldBuilder().getBuilder(); } /** + * + * *
        * Descriptor for the relation and its columns.
        * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 4; */ - public com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder getRelationDescriptorOrBuilder() { + public com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder + getRelationDescriptorOrBuilder() { if (relationDescriptorBuilder_ != null) { return relationDescriptorBuilder_.getMessageOrBuilder(); } else { - return relationDescriptor_ == null ? - com.google.cloud.dataform.v1alpha2.RelationDescriptor.getDefaultInstance() : relationDescriptor_; + return relationDescriptor_ == null + ? com.google.cloud.dataform.v1alpha2.RelationDescriptor.getDefaultInstance() + : relationDescriptor_; } } /** + * + * *
        * Descriptor for the relation and its columns.
        * 
@@ -4835,14 +5586,17 @@ public com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder getRelatio * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.RelationDescriptor, com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder, com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder> + com.google.cloud.dataform.v1alpha2.RelationDescriptor, + com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder, + com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder> getRelationDescriptorFieldBuilder() { if (relationDescriptorBuilder_ == null) { - relationDescriptorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.RelationDescriptor, com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder, com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder>( - getRelationDescriptor(), - getParentForChildren(), - isClean()); + relationDescriptorBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.RelationDescriptor, + com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder, + com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder>( + getRelationDescriptor(), getParentForChildren(), isClean()); relationDescriptor_ = null; } return relationDescriptorBuilder_; @@ -4850,73 +5604,106 @@ public com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder getRelatio private int relationType_ = 0; /** + * + * *
        * The type of this relation.
        * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType relation_type = 5; + * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType relation_type = 5; + * + * * @return The enum numeric value on the wire for relationType. */ - @java.lang.Override public int getRelationTypeValue() { + @java.lang.Override + public int getRelationTypeValue() { return relationType_; } /** + * + * *
        * The type of this relation.
        * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType relation_type = 5; + * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType relation_type = 5; + * + * * @param value The enum numeric value on the wire for relationType to set. * @return This builder for chaining. */ public Builder setRelationTypeValue(int value) { - + relationType_ = value; onChanged(); return this; } /** + * + * *
        * The type of this relation.
        * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType relation_type = 5; + * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType relation_type = 5; + * + * * @return The relationType. */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType getRelationType() { + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType + getRelationType() { @SuppressWarnings("deprecation") - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType result = com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType.valueOf(relationType_); - return result == null ? com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType.UNRECOGNIZED : result; + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType result = + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType + .valueOf(relationType_); + return result == null + ? com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType + .UNRECOGNIZED + : result; } /** + * + * *
        * The type of this relation.
        * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType relation_type = 5; + * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType relation_type = 5; + * + * * @param value The relationType to set. * @return This builder for chaining. */ - public Builder setRelationType(com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType value) { + public Builder setRelationType( + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType value) { if (value == null) { throw new NullPointerException(); } - + relationType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * The type of this relation.
        * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType relation_type = 5; + * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.RelationType relation_type = 5; + * + * * @return This builder for chaining. */ public Builder clearRelationType() { - + relationType_ = 0; onChanged(); return this; @@ -4924,18 +5711,20 @@ public Builder clearRelationType() { private java.lang.Object selectQuery_ = ""; /** + * + * *
        * The SELECT query which returns rows which this relation should contain.
        * 
* * string select_query = 6; + * * @return The selectQuery. */ public java.lang.String getSelectQuery() { java.lang.Object ref = selectQuery_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); selectQuery_ = s; return s; @@ -4944,20 +5733,21 @@ public java.lang.String getSelectQuery() { } } /** + * + * *
        * The SELECT query which returns rows which this relation should contain.
        * 
* * string select_query = 6; + * * @return The bytes for selectQuery. */ - public com.google.protobuf.ByteString - getSelectQueryBytes() { + public com.google.protobuf.ByteString getSelectQueryBytes() { java.lang.Object ref = selectQuery_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); selectQuery_ = b; return b; } else { @@ -4965,95 +5755,112 @@ public java.lang.String getSelectQuery() { } } /** + * + * *
        * The SELECT query which returns rows which this relation should contain.
        * 
* * string select_query = 6; + * * @param value The selectQuery to set. * @return This builder for chaining. */ - public Builder setSelectQuery( - java.lang.String value) { + public Builder setSelectQuery(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + selectQuery_ = value; onChanged(); return this; } /** + * + * *
        * The SELECT query which returns rows which this relation should contain.
        * 
* * string select_query = 6; + * * @return This builder for chaining. */ public Builder clearSelectQuery() { - + selectQuery_ = getDefaultInstance().getSelectQuery(); onChanged(); return this; } /** + * + * *
        * The SELECT query which returns rows which this relation should contain.
        * 
* * string select_query = 6; + * * @param value The bytes for selectQuery to set. * @return This builder for chaining. */ - public Builder setSelectQueryBytes( - com.google.protobuf.ByteString value) { + public Builder setSelectQueryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + selectQuery_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList preOperations_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList preOperations_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensurePreOperationsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { preOperations_ = new com.google.protobuf.LazyStringArrayList(preOperations_); bitField0_ |= 0x00000004; - } + } } /** + * + * *
        * SQL statements to be executed before creating the relation.
        * 
* * repeated string pre_operations = 7; + * * @return A list containing the preOperations. */ - public com.google.protobuf.ProtocolStringList - getPreOperationsList() { + public com.google.protobuf.ProtocolStringList getPreOperationsList() { return preOperations_.getUnmodifiableView(); } /** + * + * *
        * SQL statements to be executed before creating the relation.
        * 
* * repeated string pre_operations = 7; + * * @return The count of preOperations. */ public int getPreOperationsCount() { return preOperations_.size(); } /** + * + * *
        * SQL statements to be executed before creating the relation.
        * 
* * repeated string pre_operations = 7; + * * @param index The index of the element to return. * @return The preOperations at the given index. */ @@ -5061,80 +5868,90 @@ public java.lang.String getPreOperations(int index) { return preOperations_.get(index); } /** + * + * *
        * SQL statements to be executed before creating the relation.
        * 
* * repeated string pre_operations = 7; + * * @param index The index of the value to return. * @return The bytes of the preOperations at the given index. */ - public com.google.protobuf.ByteString - getPreOperationsBytes(int index) { + public com.google.protobuf.ByteString getPreOperationsBytes(int index) { return preOperations_.getByteString(index); } /** + * + * *
        * SQL statements to be executed before creating the relation.
        * 
* * repeated string pre_operations = 7; + * * @param index The index to set the value at. * @param value The preOperations to set. * @return This builder for chaining. */ - public Builder setPreOperations( - int index, java.lang.String value) { + public Builder setPreOperations(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePreOperationsIsMutable(); + throw new NullPointerException(); + } + ensurePreOperationsIsMutable(); preOperations_.set(index, value); onChanged(); return this; } /** + * + * *
        * SQL statements to be executed before creating the relation.
        * 
* * repeated string pre_operations = 7; + * * @param value The preOperations to add. * @return This builder for chaining. */ - public Builder addPreOperations( - java.lang.String value) { + public Builder addPreOperations(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePreOperationsIsMutable(); + throw new NullPointerException(); + } + ensurePreOperationsIsMutable(); preOperations_.add(value); onChanged(); return this; } /** + * + * *
        * SQL statements to be executed before creating the relation.
        * 
* * repeated string pre_operations = 7; + * * @param values The preOperations to add. * @return This builder for chaining. */ - public Builder addAllPreOperations( - java.lang.Iterable values) { + public Builder addAllPreOperations(java.lang.Iterable values) { ensurePreOperationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, preOperations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, preOperations_); onChanged(); return this; } /** + * + * *
        * SQL statements to be executed before creating the relation.
        * 
* * repeated string pre_operations = 7; + * * @return This builder for chaining. */ public Builder clearPreOperations() { @@ -5144,62 +5961,74 @@ public Builder clearPreOperations() { return this; } /** + * + * *
        * SQL statements to be executed before creating the relation.
        * 
* * repeated string pre_operations = 7; + * * @param value The bytes of the preOperations to add. * @return This builder for chaining. */ - public Builder addPreOperationsBytes( - com.google.protobuf.ByteString value) { + public Builder addPreOperationsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensurePreOperationsIsMutable(); preOperations_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList postOperations_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList postOperations_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensurePostOperationsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { postOperations_ = new com.google.protobuf.LazyStringArrayList(postOperations_); bitField0_ |= 0x00000008; - } + } } /** + * + * *
        * SQL statements to be executed after creating the relation.
        * 
* * repeated string post_operations = 8; + * * @return A list containing the postOperations. */ - public com.google.protobuf.ProtocolStringList - getPostOperationsList() { + public com.google.protobuf.ProtocolStringList getPostOperationsList() { return postOperations_.getUnmodifiableView(); } /** + * + * *
        * SQL statements to be executed after creating the relation.
        * 
* * repeated string post_operations = 8; + * * @return The count of postOperations. */ public int getPostOperationsCount() { return postOperations_.size(); } /** + * + * *
        * SQL statements to be executed after creating the relation.
        * 
* * repeated string post_operations = 8; + * * @param index The index of the element to return. * @return The postOperations at the given index. */ @@ -5207,80 +6036,90 @@ public java.lang.String getPostOperations(int index) { return postOperations_.get(index); } /** + * + * *
        * SQL statements to be executed after creating the relation.
        * 
* * repeated string post_operations = 8; + * * @param index The index of the value to return. * @return The bytes of the postOperations at the given index. */ - public com.google.protobuf.ByteString - getPostOperationsBytes(int index) { + public com.google.protobuf.ByteString getPostOperationsBytes(int index) { return postOperations_.getByteString(index); } /** + * + * *
        * SQL statements to be executed after creating the relation.
        * 
* * repeated string post_operations = 8; + * * @param index The index to set the value at. * @param value The postOperations to set. * @return This builder for chaining. */ - public Builder setPostOperations( - int index, java.lang.String value) { + public Builder setPostOperations(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePostOperationsIsMutable(); + throw new NullPointerException(); + } + ensurePostOperationsIsMutable(); postOperations_.set(index, value); onChanged(); return this; } /** + * + * *
        * SQL statements to be executed after creating the relation.
        * 
* * repeated string post_operations = 8; + * * @param value The postOperations to add. * @return This builder for chaining. */ - public Builder addPostOperations( - java.lang.String value) { + public Builder addPostOperations(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePostOperationsIsMutable(); + throw new NullPointerException(); + } + ensurePostOperationsIsMutable(); postOperations_.add(value); onChanged(); return this; } /** + * + * *
        * SQL statements to be executed after creating the relation.
        * 
* * repeated string post_operations = 8; + * * @param values The postOperations to add. * @return This builder for chaining. */ - public Builder addAllPostOperations( - java.lang.Iterable values) { + public Builder addAllPostOperations(java.lang.Iterable values) { ensurePostOperationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, postOperations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, postOperations_); onChanged(); return this; } /** + * + * *
        * SQL statements to be executed after creating the relation.
        * 
* * repeated string post_operations = 8; + * * @return This builder for chaining. */ public Builder clearPostOperations() { @@ -5290,66 +6129,97 @@ public Builder clearPostOperations() { return this; } /** + * + * *
        * SQL statements to be executed after creating the relation.
        * 
* * repeated string post_operations = 8; + * * @param value The bytes of the postOperations to add. * @return This builder for chaining. */ - public Builder addPostOperationsBytes( - com.google.protobuf.ByteString value) { + public Builder addPostOperationsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensurePostOperationsIsMutable(); postOperations_.add(value); onChanged(); return this; } - private com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incrementalTableConfig_; + private com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfig + incrementalTableConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig.Builder, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfigOrBuilder> incrementalTableConfigBuilder_; + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfig, + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfig.Builder, + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfigOrBuilder> + incrementalTableConfigBuilder_; /** + * + * *
        * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
        * `relation_type` is `INCREMENTAL_TABLE`.
        * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * + * * @return Whether the incrementalTableConfig field is set. */ public boolean hasIncrementalTableConfig() { return incrementalTableConfigBuilder_ != null || incrementalTableConfig_ != null; } /** + * + * *
        * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
        * `relation_type` is `INCREMENTAL_TABLE`.
        * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * + * * @return The incrementalTableConfig. */ - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig getIncrementalTableConfig() { + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfig + getIncrementalTableConfig() { if (incrementalTableConfigBuilder_ == null) { - return incrementalTableConfig_ == null ? com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig.getDefaultInstance() : incrementalTableConfig_; + return incrementalTableConfig_ == null + ? com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfig.getDefaultInstance() + : incrementalTableConfig_; } else { return incrementalTableConfigBuilder_.getMessage(); } } /** + * + * *
        * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
        * `relation_type` is `INCREMENTAL_TABLE`.
        * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * */ - public Builder setIncrementalTableConfig(com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig value) { + public Builder setIncrementalTableConfig( + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig + value) { if (incrementalTableConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5363,15 +6233,21 @@ public Builder setIncrementalTableConfig(com.google.cloud.dataform.v1alpha2.Comp return this; } /** + * + * *
        * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
        * `relation_type` is `INCREMENTAL_TABLE`.
        * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * */ public Builder setIncrementalTableConfig( - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig.Builder builderForValue) { + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig + .Builder + builderForValue) { if (incrementalTableConfigBuilder_ == null) { incrementalTableConfig_ = builderForValue.build(); onChanged(); @@ -5382,18 +6258,27 @@ public Builder setIncrementalTableConfig( return this; } /** + * + * *
        * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
        * `relation_type` is `INCREMENTAL_TABLE`.
        * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * */ - public Builder mergeIncrementalTableConfig(com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig value) { + public Builder mergeIncrementalTableConfig( + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig + value) { if (incrementalTableConfigBuilder_ == null) { if (incrementalTableConfig_ != null) { incrementalTableConfig_ = - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig.newBuilder(incrementalTableConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfig.newBuilder(incrementalTableConfig_) + .mergeFrom(value) + .buildPartial(); } else { incrementalTableConfig_ = value; } @@ -5405,12 +6290,16 @@ public Builder mergeIncrementalTableConfig(com.google.cloud.dataform.v1alpha2.Co return this; } /** + * + * *
        * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
        * `relation_type` is `INCREMENTAL_TABLE`.
        * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * */ public Builder clearIncrementalTableConfig() { if (incrementalTableConfigBuilder_ == null) { @@ -5424,51 +6313,78 @@ public Builder clearIncrementalTableConfig() { return this; } /** + * + * *
        * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
        * `relation_type` is `INCREMENTAL_TABLE`.
        * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * */ - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig.Builder getIncrementalTableConfigBuilder() { - + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfig.Builder + getIncrementalTableConfigBuilder() { + onChanged(); return getIncrementalTableConfigFieldBuilder().getBuilder(); } /** + * + * *
        * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
        * `relation_type` is `INCREMENTAL_TABLE`.
        * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * */ - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfigOrBuilder getIncrementalTableConfigOrBuilder() { + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfigOrBuilder + getIncrementalTableConfigOrBuilder() { if (incrementalTableConfigBuilder_ != null) { return incrementalTableConfigBuilder_.getMessageOrBuilder(); } else { - return incrementalTableConfig_ == null ? - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig.getDefaultInstance() : incrementalTableConfig_; + return incrementalTableConfig_ == null + ? com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfig.getDefaultInstance() + : incrementalTableConfig_; } } /** + * + * *
        * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
        * `relation_type` is `INCREMENTAL_TABLE`.
        * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig.Builder, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfigOrBuilder> + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfig, + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfig.Builder, + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfigOrBuilder> getIncrementalTableConfigFieldBuilder() { if (incrementalTableConfigBuilder_ == null) { - incrementalTableConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfig.Builder, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.IncrementalTableConfigOrBuilder>( - getIncrementalTableConfig(), - getParentForChildren(), - isClean()); + incrementalTableConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfig, + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfig.Builder, + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .IncrementalTableConfigOrBuilder>( + getIncrementalTableConfig(), getParentForChildren(), isClean()); incrementalTableConfig_ = null; } return incrementalTableConfigBuilder_; @@ -5476,18 +6392,20 @@ public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.Incre private java.lang.Object partitionExpression_ = ""; /** + * + * *
        * The SQL expression used to partition the relation.
        * 
* * string partition_expression = 10; + * * @return The partitionExpression. */ public java.lang.String getPartitionExpression() { java.lang.Object ref = partitionExpression_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); partitionExpression_ = s; return s; @@ -5496,20 +6414,21 @@ public java.lang.String getPartitionExpression() { } } /** + * + * *
        * The SQL expression used to partition the relation.
        * 
* * string partition_expression = 10; + * * @return The bytes for partitionExpression. */ - public com.google.protobuf.ByteString - getPartitionExpressionBytes() { + public com.google.protobuf.ByteString getPartitionExpressionBytes() { java.lang.Object ref = partitionExpression_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); partitionExpression_ = b; return b; } else { @@ -5517,95 +6436,112 @@ public java.lang.String getPartitionExpression() { } } /** + * + * *
        * The SQL expression used to partition the relation.
        * 
* * string partition_expression = 10; + * * @param value The partitionExpression to set. * @return This builder for chaining. */ - public Builder setPartitionExpression( - java.lang.String value) { + public Builder setPartitionExpression(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + partitionExpression_ = value; onChanged(); return this; } /** + * + * *
        * The SQL expression used to partition the relation.
        * 
* * string partition_expression = 10; + * * @return This builder for chaining. */ public Builder clearPartitionExpression() { - + partitionExpression_ = getDefaultInstance().getPartitionExpression(); onChanged(); return this; } /** + * + * *
        * The SQL expression used to partition the relation.
        * 
* * string partition_expression = 10; + * * @param value The bytes for partitionExpression to set. * @return This builder for chaining. */ - public Builder setPartitionExpressionBytes( - com.google.protobuf.ByteString value) { + public Builder setPartitionExpressionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + partitionExpression_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList clusterExpressions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList clusterExpressions_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureClusterExpressionsIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { clusterExpressions_ = new com.google.protobuf.LazyStringArrayList(clusterExpressions_); bitField0_ |= 0x00000010; - } + } } /** + * + * *
        * A list of columns or SQL expressions used to cluster the table.
        * 
* * repeated string cluster_expressions = 11; + * * @return A list containing the clusterExpressions. */ - public com.google.protobuf.ProtocolStringList - getClusterExpressionsList() { + public com.google.protobuf.ProtocolStringList getClusterExpressionsList() { return clusterExpressions_.getUnmodifiableView(); } /** + * + * *
        * A list of columns or SQL expressions used to cluster the table.
        * 
* * repeated string cluster_expressions = 11; + * * @return The count of clusterExpressions. */ public int getClusterExpressionsCount() { return clusterExpressions_.size(); } /** + * + * *
        * A list of columns or SQL expressions used to cluster the table.
        * 
* * repeated string cluster_expressions = 11; + * * @param index The index of the element to return. * @return The clusterExpressions at the given index. */ @@ -5613,80 +6549,90 @@ public java.lang.String getClusterExpressions(int index) { return clusterExpressions_.get(index); } /** + * + * *
        * A list of columns or SQL expressions used to cluster the table.
        * 
* * repeated string cluster_expressions = 11; + * * @param index The index of the value to return. * @return The bytes of the clusterExpressions at the given index. */ - public com.google.protobuf.ByteString - getClusterExpressionsBytes(int index) { + public com.google.protobuf.ByteString getClusterExpressionsBytes(int index) { return clusterExpressions_.getByteString(index); } /** + * + * *
        * A list of columns or SQL expressions used to cluster the table.
        * 
* * repeated string cluster_expressions = 11; + * * @param index The index to set the value at. * @param value The clusterExpressions to set. * @return This builder for chaining. */ - public Builder setClusterExpressions( - int index, java.lang.String value) { + public Builder setClusterExpressions(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureClusterExpressionsIsMutable(); + throw new NullPointerException(); + } + ensureClusterExpressionsIsMutable(); clusterExpressions_.set(index, value); onChanged(); return this; } /** + * + * *
        * A list of columns or SQL expressions used to cluster the table.
        * 
* * repeated string cluster_expressions = 11; + * * @param value The clusterExpressions to add. * @return This builder for chaining. */ - public Builder addClusterExpressions( - java.lang.String value) { + public Builder addClusterExpressions(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureClusterExpressionsIsMutable(); + throw new NullPointerException(); + } + ensureClusterExpressionsIsMutable(); clusterExpressions_.add(value); onChanged(); return this; } /** + * + * *
        * A list of columns or SQL expressions used to cluster the table.
        * 
* * repeated string cluster_expressions = 11; + * * @param values The clusterExpressions to add. * @return This builder for chaining. */ - public Builder addAllClusterExpressions( - java.lang.Iterable values) { + public Builder addAllClusterExpressions(java.lang.Iterable values) { ensureClusterExpressionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, clusterExpressions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, clusterExpressions_); onChanged(); return this; } /** + * + * *
        * A list of columns or SQL expressions used to cluster the table.
        * 
* * repeated string cluster_expressions = 11; + * * @return This builder for chaining. */ public Builder clearClusterExpressions() { @@ -5696,33 +6642,38 @@ public Builder clearClusterExpressions() { return this; } /** + * + * *
        * A list of columns or SQL expressions used to cluster the table.
        * 
* * repeated string cluster_expressions = 11; + * * @param value The bytes of the clusterExpressions to add. * @return This builder for chaining. */ - public Builder addClusterExpressionsBytes( - com.google.protobuf.ByteString value) { + public Builder addClusterExpressionsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureClusterExpressionsIsMutable(); clusterExpressions_.add(value); onChanged(); return this; } - private int partitionExpirationDays_ ; + private int partitionExpirationDays_; /** + * + * *
        * Sets the partition expiration in days.
        * 
* * int32 partition_expiration_days = 12; + * * @return The partitionExpirationDays. */ @java.lang.Override @@ -5730,43 +6681,52 @@ public int getPartitionExpirationDays() { return partitionExpirationDays_; } /** + * + * *
        * Sets the partition expiration in days.
        * 
* * int32 partition_expiration_days = 12; + * * @param value The partitionExpirationDays to set. * @return This builder for chaining. */ public Builder setPartitionExpirationDays(int value) { - + partitionExpirationDays_ = value; onChanged(); return this; } /** + * + * *
        * Sets the partition expiration in days.
        * 
* * int32 partition_expiration_days = 12; + * * @return This builder for chaining. */ public Builder clearPartitionExpirationDays() { - + partitionExpirationDays_ = 0; onChanged(); return this; } - private boolean requirePartitionFilter_ ; + private boolean requirePartitionFilter_; /** + * + * *
        * Specifies whether queries on this table must include a predicate filter
        * that filters on the partitioning column.
        * 
* * bool require_partition_filter = 13; + * * @return The requirePartitionFilter. */ @java.lang.Override @@ -5774,53 +6734,62 @@ public boolean getRequirePartitionFilter() { return requirePartitionFilter_; } /** + * + * *
        * Specifies whether queries on this table must include a predicate filter
        * that filters on the partitioning column.
        * 
* * bool require_partition_filter = 13; + * * @param value The requirePartitionFilter to set. * @return This builder for chaining. */ public Builder setRequirePartitionFilter(boolean value) { - + requirePartitionFilter_ = value; onChanged(); return this; } /** + * + * *
        * Specifies whether queries on this table must include a predicate filter
        * that filters on the partitioning column.
        * 
* * bool require_partition_filter = 13; + * * @return This builder for chaining. */ public Builder clearRequirePartitionFilter() { - + requirePartitionFilter_ = false; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> additionalOptions_; + private com.google.protobuf.MapField additionalOptions_; + private com.google.protobuf.MapField - internalGetAdditionalOptions() { + internalGetAdditionalOptions() { if (additionalOptions_ == null) { return com.google.protobuf.MapField.emptyMapField( AdditionalOptionsDefaultEntryHolder.defaultEntry); } return additionalOptions_; } + private com.google.protobuf.MapField - internalGetMutableAdditionalOptions() { - onChanged();; + internalGetMutableAdditionalOptions() { + onChanged(); + ; if (additionalOptions_ == null) { - additionalOptions_ = com.google.protobuf.MapField.newMapField( - AdditionalOptionsDefaultEntryHolder.defaultEntry); + additionalOptions_ = + com.google.protobuf.MapField.newMapField( + AdditionalOptionsDefaultEntryHolder.defaultEntry); } if (!additionalOptions_.isMutable()) { additionalOptions_ = additionalOptions_.copy(); @@ -5832,6 +6801,8 @@ public int getAdditionalOptionsCount() { return internalGetAdditionalOptions().getMap().size(); } /** + * + * *
        * Additional options that will be provided as key/value pairs into the
        * options clause of a create table/view statement. See
@@ -5841,22 +6812,22 @@ public int getAdditionalOptionsCount() {
        *
        * map<string, string> additional_options = 14;
        */
-
       @java.lang.Override
-      public boolean containsAdditionalOptions(
-          java.lang.String key) {
-        if (key == null) { throw new NullPointerException("map key"); }
+      public boolean containsAdditionalOptions(java.lang.String key) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
         return internalGetAdditionalOptions().getMap().containsKey(key);
       }
-      /**
-       * Use {@link #getAdditionalOptionsMap()} instead.
-       */
+      /** Use {@link #getAdditionalOptionsMap()} instead. */
       @java.lang.Override
       @java.lang.Deprecated
       public java.util.Map getAdditionalOptions() {
         return getAdditionalOptionsMap();
       }
       /**
+       *
+       *
        * 
        * Additional options that will be provided as key/value pairs into the
        * options clause of a create table/view statement. See
@@ -5867,11 +6838,12 @@ public java.util.Map getAdditionalOptions()
        * map<string, string> additional_options = 14;
        */
       @java.lang.Override
-
       public java.util.Map getAdditionalOptionsMap() {
         return internalGetAdditionalOptions().getMap();
       }
       /**
+       *
+       *
        * 
        * Additional options that will be provided as key/value pairs into the
        * options clause of a create table/view statement. See
@@ -5882,16 +6854,18 @@ public java.util.Map getAdditionalOptionsMap
        * map<string, string> additional_options = 14;
        */
       @java.lang.Override
-
       public java.lang.String getAdditionalOptionsOrDefault(
-          java.lang.String key,
-          java.lang.String defaultValue) {
-        if (key == null) { throw new NullPointerException("map key"); }
+          java.lang.String key, java.lang.String defaultValue) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
         java.util.Map map =
             internalGetAdditionalOptions().getMap();
         return map.containsKey(key) ? map.get(key) : defaultValue;
       }
       /**
+       *
+       *
        * 
        * Additional options that will be provided as key/value pairs into the
        * options clause of a create table/view statement. See
@@ -5902,10 +6876,10 @@ public java.lang.String getAdditionalOptionsOrDefault(
        * map<string, string> additional_options = 14;
        */
       @java.lang.Override
-
-      public java.lang.String getAdditionalOptionsOrThrow(
-          java.lang.String key) {
-        if (key == null) { throw new NullPointerException("map key"); }
+      public java.lang.String getAdditionalOptionsOrThrow(java.lang.String key) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
         java.util.Map map =
             internalGetAdditionalOptions().getMap();
         if (!map.containsKey(key)) {
@@ -5915,11 +6889,12 @@ public java.lang.String getAdditionalOptionsOrThrow(
       }
 
       public Builder clearAdditionalOptions() {
-        internalGetMutableAdditionalOptions().getMutableMap()
-            .clear();
+        internalGetMutableAdditionalOptions().getMutableMap().clear();
         return this;
       }
       /**
+       *
+       *
        * 
        * Additional options that will be provided as key/value pairs into the
        * options clause of a create table/view statement. See
@@ -5929,23 +6904,21 @@ public Builder clearAdditionalOptions() {
        *
        * map<string, string> additional_options = 14;
        */
-
-      public Builder removeAdditionalOptions(
-          java.lang.String key) {
-        if (key == null) { throw new NullPointerException("map key"); }
-        internalGetMutableAdditionalOptions().getMutableMap()
-            .remove(key);
+      public Builder removeAdditionalOptions(java.lang.String key) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
+        internalGetMutableAdditionalOptions().getMutableMap().remove(key);
         return this;
       }
-      /**
-       * Use alternate mutation accessors instead.
-       */
+      /** Use alternate mutation accessors instead. */
       @java.lang.Deprecated
-      public java.util.Map
-      getMutableAdditionalOptions() {
+      public java.util.Map getMutableAdditionalOptions() {
         return internalGetMutableAdditionalOptions().getMutableMap();
       }
       /**
+       *
+       *
        * 
        * Additional options that will be provided as key/value pairs into the
        * options clause of a create table/view statement. See
@@ -5955,19 +6928,20 @@ public Builder removeAdditionalOptions(
        *
        * map<string, string> additional_options = 14;
        */
-      public Builder putAdditionalOptions(
-          java.lang.String key,
-          java.lang.String value) {
-        if (key == null) { throw new NullPointerException("map key"); }
+      public Builder putAdditionalOptions(java.lang.String key, java.lang.String value) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
         if (value == null) {
-  throw new NullPointerException("map value");
-}
+          throw new NullPointerException("map value");
+        }
 
-        internalGetMutableAdditionalOptions().getMutableMap()
-            .put(key, value);
+        internalGetMutableAdditionalOptions().getMutableMap().put(key, value);
         return this;
       }
       /**
+       *
+       *
        * 
        * Additional options that will be provided as key/value pairs into the
        * options clause of a create table/view statement. See
@@ -5977,13 +6951,12 @@ public Builder putAdditionalOptions(
        *
        * map<string, string> additional_options = 14;
        */
-
       public Builder putAllAdditionalOptions(
           java.util.Map values) {
-        internalGetMutableAdditionalOptions().getMutableMap()
-            .putAll(values);
+        internalGetMutableAdditionalOptions().getMutableMap().putAll(values);
         return this;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -5996,30 +6969,32 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.CompilationResultAction.Relation)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.CompilationResultAction.Relation)
-    private static final com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation DEFAULT_INSTANCE;
+    private static final com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation
+        DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation();
     }
 
-    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation getDefaultInstance() {
+    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation
+        getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public Relation parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new Relation(input, extensionRegistry);
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public Relation parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            return new Relation(input, extensionRegistry);
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -6031,26 +7006,30 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation getDefaultInstanceForType() {
+    public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation
+        getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
-  public interface OperationsOrBuilder extends
+  public interface OperationsOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.CompilationResultAction.Operations)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * A list of actions that this action depends on.
      * 
* * repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1; */ - java.util.List - getDependencyTargetsList(); + java.util.List getDependencyTargetsList(); /** + * + * *
      * A list of actions that this action depends on.
      * 
@@ -6059,6 +7038,8 @@ public interface OperationsOrBuilder extends */ com.google.cloud.dataform.v1alpha2.Target getDependencyTargets(int index); /** + * + * *
      * A list of actions that this action depends on.
      * 
@@ -6067,96 +7048,120 @@ public interface OperationsOrBuilder extends */ int getDependencyTargetsCount(); /** + * + * *
      * A list of actions that this action depends on.
      * 
* * repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1; */ - java.util.List + java.util.List getDependencyTargetsOrBuilderList(); /** + * + * *
      * A list of actions that this action depends on.
      * 
* * repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1; */ - com.google.cloud.dataform.v1alpha2.TargetOrBuilder getDependencyTargetsOrBuilder( - int index); + com.google.cloud.dataform.v1alpha2.TargetOrBuilder getDependencyTargetsOrBuilder(int index); /** + * + * *
      * Whether this action is disabled (i.e. should not be run).
      * 
* * bool disabled = 2; + * * @return The disabled. */ boolean getDisabled(); /** + * + * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; + * * @return A list containing the tags. */ - java.util.List - getTagsList(); + java.util.List getTagsList(); /** + * + * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; + * * @return The count of tags. */ int getTagsCount(); /** + * + * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; + * * @param index The index of the element to return. * @return The tags at the given index. */ java.lang.String getTags(int index); /** + * + * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; + * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - com.google.protobuf.ByteString - getTagsBytes(int index); + com.google.protobuf.ByteString getTagsBytes(int index); /** + * + * *
      * Descriptor for any output relation and its columns. Only set if
      * `has_output` is true.
      * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 6; + * * @return Whether the relationDescriptor field is set. */ boolean hasRelationDescriptor(); /** + * + * *
      * Descriptor for any output relation and its columns. Only set if
      * `has_output` is true.
      * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 6; + * * @return The relationDescriptor. */ com.google.cloud.dataform.v1alpha2.RelationDescriptor getRelationDescriptor(); /** + * + * *
      * Descriptor for any output relation and its columns. Only set if
      * `has_output` is true.
@@ -6167,76 +7172,92 @@ com.google.cloud.dataform.v1alpha2.TargetOrBuilder getDependencyTargetsOrBuilder
     com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder getRelationDescriptorOrBuilder();
 
     /**
+     *
+     *
      * 
      * A list of arbitrary SQL statements that will be executed without
      * alteration.
      * 
* * repeated string queries = 4; + * * @return A list containing the queries. */ - java.util.List - getQueriesList(); + java.util.List getQueriesList(); /** + * + * *
      * A list of arbitrary SQL statements that will be executed without
      * alteration.
      * 
* * repeated string queries = 4; + * * @return The count of queries. */ int getQueriesCount(); /** + * + * *
      * A list of arbitrary SQL statements that will be executed without
      * alteration.
      * 
* * repeated string queries = 4; + * * @param index The index of the element to return. * @return The queries at the given index. */ java.lang.String getQueries(int index); /** + * + * *
      * A list of arbitrary SQL statements that will be executed without
      * alteration.
      * 
* * repeated string queries = 4; + * * @param index The index of the value to return. * @return The bytes of the queries at the given index. */ - com.google.protobuf.ByteString - getQueriesBytes(int index); + com.google.protobuf.ByteString getQueriesBytes(int index); /** + * + * *
      * Whether these operations produce an output relation.
      * 
* * bool has_output = 5; + * * @return The hasOutput. */ boolean getHasOutput(); } /** + * + * *
    * Represents a list of arbitrary database operations.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.CompilationResultAction.Operations} */ - public static final class Operations extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Operations extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) OperationsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Operations.newBuilder() to construct. private Operations(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Operations() { dependencyTargets_ = java.util.Collections.emptyList(); tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -6245,16 +7266,15 @@ private Operations() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Operations(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Operations( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -6274,63 +7294,72 @@ private Operations( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - dependencyTargets_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + dependencyTargets_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + dependencyTargets_.add( + input.readMessage( + com.google.cloud.dataform.v1alpha2.Target.parser(), extensionRegistry)); + break; } - dependencyTargets_.add( - input.readMessage(com.google.cloud.dataform.v1alpha2.Target.parser(), extensionRegistry)); - break; - } - case 16: { - - disabled_ = input.readBool(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - tags_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + case 16: + { + disabled_ = input.readBool(); + break; } - tags_.add(s); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - queries_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000004; + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + tags_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + tags_.add(s); + break; } - queries_.add(s); - break; - } - case 40: { - - hasOutput_ = input.readBool(); - break; - } - case 50: { - com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder subBuilder = null; - if (relationDescriptor_ != null) { - subBuilder = relationDescriptor_.toBuilder(); + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + queries_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000004; + } + queries_.add(s); + break; } - relationDescriptor_ = input.readMessage(com.google.cloud.dataform.v1alpha2.RelationDescriptor.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(relationDescriptor_); - relationDescriptor_ = subBuilder.buildPartial(); + case 40: + { + hasOutput_ = input.readBool(); + break; } + case 50: + { + com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder subBuilder = null; + if (relationDescriptor_ != null) { + subBuilder = relationDescriptor_.toBuilder(); + } + relationDescriptor_ = + input.readMessage( + com.google.cloud.dataform.v1alpha2.RelationDescriptor.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(relationDescriptor_); + relationDescriptor_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -6338,8 +7367,7 @@ private Operations( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { dependencyTargets_ = java.util.Collections.unmodifiableList(dependencyTargets_); @@ -6354,22 +7382,27 @@ private Operations( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Operations_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Operations_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Operations_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Operations_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.class, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.Builder.class); + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.class, + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.Builder.class); } public static final int DEPENDENCY_TARGETS_FIELD_NUMBER = 1; private java.util.List dependencyTargets_; /** + * + * *
      * A list of actions that this action depends on.
      * 
@@ -6381,6 +7414,8 @@ public java.util.List getDependencyTa return dependencyTargets_; } /** + * + * *
      * A list of actions that this action depends on.
      * 
@@ -6388,11 +7423,13 @@ public java.util.List getDependencyTa * repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDependencyTargetsOrBuilderList() { return dependencyTargets_; } /** + * + * *
      * A list of actions that this action depends on.
      * 
@@ -6404,6 +7441,8 @@ public int getDependencyTargetsCount() { return dependencyTargets_.size(); } /** + * + * *
      * A list of actions that this action depends on.
      * 
@@ -6415,6 +7454,8 @@ public com.google.cloud.dataform.v1alpha2.Target getDependencyTargets(int index) return dependencyTargets_.get(index); } /** + * + * *
      * A list of actions that this action depends on.
      * 
@@ -6430,11 +7471,14 @@ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getDependencyTargetsOr public static final int DISABLED_FIELD_NUMBER = 2; private boolean disabled_; /** + * + * *
      * Whether this action is disabled (i.e. should not be run).
      * 
* * bool disabled = 2; + * * @return The disabled. */ @java.lang.Override @@ -6445,34 +7489,42 @@ public boolean getDisabled() { public static final int TAGS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList tags_; /** + * + * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; + * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList - getTagsList() { + public com.google.protobuf.ProtocolStringList getTagsList() { return tags_; } /** + * + * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; + * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** + * + * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; + * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -6480,28 +7532,33 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** + * + * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; + * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString - getTagsBytes(int index) { + public com.google.protobuf.ByteString getTagsBytes(int index) { return tags_.getByteString(index); } public static final int RELATION_DESCRIPTOR_FIELD_NUMBER = 6; private com.google.cloud.dataform.v1alpha2.RelationDescriptor relationDescriptor_; /** + * + * *
      * Descriptor for any output relation and its columns. Only set if
      * `has_output` is true.
      * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 6; + * * @return Whether the relationDescriptor field is set. */ @java.lang.Override @@ -6509,19 +7566,26 @@ public boolean hasRelationDescriptor() { return relationDescriptor_ != null; } /** + * + * *
      * Descriptor for any output relation and its columns. Only set if
      * `has_output` is true.
      * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 6; + * * @return The relationDescriptor. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.RelationDescriptor getRelationDescriptor() { - return relationDescriptor_ == null ? com.google.cloud.dataform.v1alpha2.RelationDescriptor.getDefaultInstance() : relationDescriptor_; + return relationDescriptor_ == null + ? com.google.cloud.dataform.v1alpha2.RelationDescriptor.getDefaultInstance() + : relationDescriptor_; } /** + * + * *
      * Descriptor for any output relation and its columns. Only set if
      * `has_output` is true.
@@ -6530,44 +7594,53 @@ public com.google.cloud.dataform.v1alpha2.RelationDescriptor getRelationDescript
      * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 6;
      */
     @java.lang.Override
-    public com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder getRelationDescriptorOrBuilder() {
+    public com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder
+        getRelationDescriptorOrBuilder() {
       return getRelationDescriptor();
     }
 
     public static final int QUERIES_FIELD_NUMBER = 4;
     private com.google.protobuf.LazyStringList queries_;
     /**
+     *
+     *
      * 
      * A list of arbitrary SQL statements that will be executed without
      * alteration.
      * 
* * repeated string queries = 4; + * * @return A list containing the queries. */ - public com.google.protobuf.ProtocolStringList - getQueriesList() { + public com.google.protobuf.ProtocolStringList getQueriesList() { return queries_; } /** + * + * *
      * A list of arbitrary SQL statements that will be executed without
      * alteration.
      * 
* * repeated string queries = 4; + * * @return The count of queries. */ public int getQueriesCount() { return queries_.size(); } /** + * + * *
      * A list of arbitrary SQL statements that will be executed without
      * alteration.
      * 
* * repeated string queries = 4; + * * @param index The index of the element to return. * @return The queries at the given index. */ @@ -6575,28 +7648,33 @@ public java.lang.String getQueries(int index) { return queries_.get(index); } /** + * + * *
      * A list of arbitrary SQL statements that will be executed without
      * alteration.
      * 
* * repeated string queries = 4; + * * @param index The index of the value to return. * @return The bytes of the queries at the given index. */ - public com.google.protobuf.ByteString - getQueriesBytes(int index) { + public com.google.protobuf.ByteString getQueriesBytes(int index) { return queries_.getByteString(index); } public static final int HAS_OUTPUT_FIELD_NUMBER = 5; private boolean hasOutput_; /** + * + * *
      * Whether these operations produce an output relation.
      * 
* * bool has_output = 5; + * * @return The hasOutput. */ @java.lang.Override @@ -6605,6 +7683,7 @@ public boolean getHasOutput() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6616,8 +7695,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < dependencyTargets_.size(); i++) { output.writeMessage(1, dependencyTargets_.get(i)); } @@ -6646,12 +7724,11 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < dependencyTargets_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, dependencyTargets_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, dependencyTargets_.get(i)); } if (disabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, disabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, disabled_); } { int dataSize = 0; @@ -6670,12 +7747,11 @@ public int getSerializedSize() { size += 1 * getQueriesList().size(); } if (hasOutput_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, hasOutput_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, hasOutput_); } if (relationDescriptor_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getRelationDescriptor()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(6, getRelationDescriptor()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -6685,28 +7761,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations other = (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) obj; + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations other = + (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) obj; - if (!getDependencyTargetsList() - .equals(other.getDependencyTargetsList())) return false; - if (getDisabled() - != other.getDisabled()) return false; - if (!getTagsList() - .equals(other.getTagsList())) return false; + if (!getDependencyTargetsList().equals(other.getDependencyTargetsList())) return false; + if (getDisabled() != other.getDisabled()) return false; + if (!getTagsList().equals(other.getTagsList())) return false; if (hasRelationDescriptor() != other.hasRelationDescriptor()) return false; if (hasRelationDescriptor()) { - if (!getRelationDescriptor() - .equals(other.getRelationDescriptor())) return false; + if (!getRelationDescriptor().equals(other.getRelationDescriptor())) return false; } - if (!getQueriesList() - .equals(other.getQueriesList())) return false; - if (getHasOutput() - != other.getHasOutput()) return false; + if (!getQueriesList().equals(other.getQueriesList())) return false; + if (getHasOutput() != other.getHasOutput()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -6723,8 +7794,7 @@ public int hashCode() { hash = (53 * hash) + getDependencyTargetsList().hashCode(); } hash = (37 * hash) + DISABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDisabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisabled()); if (getTagsCount() > 0) { hash = (37 * hash) + TAGS_FIELD_NUMBER; hash = (53 * hash) + getTagsList().hashCode(); @@ -6738,95 +7808,102 @@ public int hashCode() { hash = (53 * hash) + getQueriesList().hashCode(); } hash = (37 * hash) + HAS_OUTPUT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getHasOutput()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getHasOutput()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -6836,45 +7913,52 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Represents a list of arbitrary database operations.
      * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.CompilationResultAction.Operations} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) com.google.cloud.dataform.v1alpha2.CompilationResultAction.OperationsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Operations_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Operations_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Operations_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Operations_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.class, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.Builder.class); + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.class, + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.Builder + .class); } - // Construct using com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.newBuilder() + // Construct using + // com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getDependencyTargetsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -6902,19 +7986,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Operations_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Operations_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations getDefaultInstanceForType() { - return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.getDefaultInstance(); + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations + getDefaultInstanceForType() { + return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations build() { - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations result = buildPartial(); + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -6923,7 +8010,8 @@ public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations bui @java.lang.Override public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations buildPartial() { - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations result = new com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations(this); + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations result = + new com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations(this); int from_bitField0_ = bitField0_; if (dependencyTargetsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -6959,46 +8047,54 @@ public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations bui public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations)other); + if (other + instanceof com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) { + return mergeFrom( + (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations other) { - if (other == com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations other) { + if (other + == com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations + .getDefaultInstance()) return this; if (dependencyTargetsBuilder_ == null) { if (!other.dependencyTargets_.isEmpty()) { if (dependencyTargets_.isEmpty()) { @@ -7017,9 +8113,10 @@ public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.CompilationResultAct dependencyTargetsBuilder_ = null; dependencyTargets_ = other.dependencyTargets_; bitField0_ = (bitField0_ & ~0x00000001); - dependencyTargetsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDependencyTargetsFieldBuilder() : null; + dependencyTargetsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDependencyTargetsFieldBuilder() + : null; } else { dependencyTargetsBuilder_.addAllMessages(other.dependencyTargets_); } @@ -7073,7 +8170,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -7082,21 +8181,30 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List dependencyTargets_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureDependencyTargetsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - dependencyTargets_ = new java.util.ArrayList(dependencyTargets_); + dependencyTargets_ = + new java.util.ArrayList( + dependencyTargets_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder> dependencyTargetsBuilder_; + com.google.cloud.dataform.v1alpha2.Target, + com.google.cloud.dataform.v1alpha2.Target.Builder, + com.google.cloud.dataform.v1alpha2.TargetOrBuilder> + dependencyTargetsBuilder_; /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -7111,6 +8219,8 @@ public java.util.List getDependencyTa } } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -7125,6 +8235,8 @@ public int getDependencyTargetsCount() { } } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -7139,6 +8251,8 @@ public com.google.cloud.dataform.v1alpha2.Target getDependencyTargets(int index) } } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -7160,6 +8274,8 @@ public Builder setDependencyTargets( return this; } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -7178,6 +8294,8 @@ public Builder setDependencyTargets( return this; } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -7198,6 +8316,8 @@ public Builder addDependencyTargets(com.google.cloud.dataform.v1alpha2.Target va return this; } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -7219,6 +8339,8 @@ public Builder addDependencyTargets( return this; } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -7237,6 +8359,8 @@ public Builder addDependencyTargets( return this; } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -7255,6 +8379,8 @@ public Builder addDependencyTargets( return this; } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -7265,8 +8391,7 @@ public Builder addAllDependencyTargets( java.lang.Iterable values) { if (dependencyTargetsBuilder_ == null) { ensureDependencyTargetsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, dependencyTargets_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dependencyTargets_); onChanged(); } else { dependencyTargetsBuilder_.addAllMessages(values); @@ -7274,6 +8399,8 @@ public Builder addAllDependencyTargets( return this; } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -7291,6 +8418,8 @@ public Builder clearDependencyTargets() { return this; } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -7308,6 +8437,8 @@ public Builder removeDependencyTargets(int index) { return this; } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -7319,6 +8450,8 @@ public com.google.cloud.dataform.v1alpha2.Target.Builder getDependencyTargetsBui return getDependencyTargetsFieldBuilder().getBuilder(index); } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -7328,19 +8461,22 @@ public com.google.cloud.dataform.v1alpha2.Target.Builder getDependencyTargetsBui public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getDependencyTargetsOrBuilder( int index) { if (dependencyTargetsBuilder_ == null) { - return dependencyTargets_.get(index); } else { + return dependencyTargets_.get(index); + } else { return dependencyTargetsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * A list of actions that this action depends on.
        * 
* * repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1; */ - public java.util.List - getDependencyTargetsOrBuilderList() { + public java.util.List + getDependencyTargetsOrBuilderList() { if (dependencyTargetsBuilder_ != null) { return dependencyTargetsBuilder_.getMessageOrBuilderList(); } else { @@ -7348,6 +8484,8 @@ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getDependencyTargetsOr } } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -7355,10 +8493,12 @@ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getDependencyTargetsOr * repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1; */ public com.google.cloud.dataform.v1alpha2.Target.Builder addDependencyTargetsBuilder() { - return getDependencyTargetsFieldBuilder().addBuilder( - com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance()); + return getDependencyTargetsFieldBuilder() + .addBuilder(com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance()); } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -7367,26 +8507,34 @@ public com.google.cloud.dataform.v1alpha2.Target.Builder addDependencyTargetsBui */ public com.google.cloud.dataform.v1alpha2.Target.Builder addDependencyTargetsBuilder( int index) { - return getDependencyTargetsFieldBuilder().addBuilder( - index, com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance()); + return getDependencyTargetsFieldBuilder() + .addBuilder(index, com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance()); } /** + * + * *
        * A list of actions that this action depends on.
        * 
* * repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1; */ - public java.util.List - getDependencyTargetsBuilderList() { + public java.util.List + getDependencyTargetsBuilderList() { return getDependencyTargetsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder> + com.google.cloud.dataform.v1alpha2.Target, + com.google.cloud.dataform.v1alpha2.Target.Builder, + com.google.cloud.dataform.v1alpha2.TargetOrBuilder> getDependencyTargetsFieldBuilder() { if (dependencyTargetsBuilder_ == null) { - dependencyTargetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder>( + dependencyTargetsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.Target, + com.google.cloud.dataform.v1alpha2.Target.Builder, + com.google.cloud.dataform.v1alpha2.TargetOrBuilder>( dependencyTargets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -7396,13 +8544,16 @@ public com.google.cloud.dataform.v1alpha2.Target.Builder addDependencyTargetsBui return dependencyTargetsBuilder_; } - private boolean disabled_ ; + private boolean disabled_; /** + * + * *
        * Whether this action is disabled (i.e. should not be run).
        * 
* * bool disabled = 2; + * * @return The disabled. */ @java.lang.Override @@ -7410,71 +8561,87 @@ public boolean getDisabled() { return disabled_; } /** + * + * *
        * Whether this action is disabled (i.e. should not be run).
        * 
* * bool disabled = 2; + * * @param value The disabled to set. * @return This builder for chaining. */ public Builder setDisabled(boolean value) { - + disabled_ = value; onChanged(); return this; } /** + * + * *
        * Whether this action is disabled (i.e. should not be run).
        * 
* * bool disabled = 2; + * * @return This builder for chaining. */ public Builder clearDisabled() { - + disabled_ = false; onChanged(); return this; } - private com.google.protobuf.LazyStringList tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList tags_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureTagsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { tags_ = new com.google.protobuf.LazyStringArrayList(tags_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; + * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList - getTagsList() { + public com.google.protobuf.ProtocolStringList getTagsList() { return tags_.getUnmodifiableView(); } /** + * + * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; + * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** + * + * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; + * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -7482,80 +8649,90 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** + * + * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; + * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString - getTagsBytes(int index) { + public com.google.protobuf.ByteString getTagsBytes(int index) { return tags_.getByteString(index); } /** + * + * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; + * * @param index The index to set the value at. * @param value The tags to set. * @return This builder for chaining. */ - public Builder setTags( - int index, java.lang.String value) { + public Builder setTags(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.set(index, value); onChanged(); return this; } /** + * + * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; + * * @param value The tags to add. * @return This builder for chaining. */ - public Builder addTags( - java.lang.String value) { + public Builder addTags(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } /** + * + * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; + * * @param values The tags to add. * @return This builder for chaining. */ - public Builder addAllTags( - java.lang.Iterable values) { + public Builder addAllTags(java.lang.Iterable values) { ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tags_); onChanged(); return this; } /** + * + * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; + * * @return This builder for chaining. */ public Builder clearTags() { @@ -7565,20 +8742,22 @@ public Builder clearTags() { return this; } /** + * + * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; + * * @param value The bytes of the tags to add. * @return This builder for chaining. */ - public Builder addTagsBytes( - com.google.protobuf.ByteString value) { + public Builder addTagsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureTagsIsMutable(); tags_.add(value); onChanged(); @@ -7587,36 +8766,49 @@ public Builder addTagsBytes( private com.google.cloud.dataform.v1alpha2.RelationDescriptor relationDescriptor_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.RelationDescriptor, com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder, com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder> relationDescriptorBuilder_; + com.google.cloud.dataform.v1alpha2.RelationDescriptor, + com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder, + com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder> + relationDescriptorBuilder_; /** + * + * *
        * Descriptor for any output relation and its columns. Only set if
        * `has_output` is true.
        * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 6; + * * @return Whether the relationDescriptor field is set. */ public boolean hasRelationDescriptor() { return relationDescriptorBuilder_ != null || relationDescriptor_ != null; } /** + * + * *
        * Descriptor for any output relation and its columns. Only set if
        * `has_output` is true.
        * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 6; + * * @return The relationDescriptor. */ public com.google.cloud.dataform.v1alpha2.RelationDescriptor getRelationDescriptor() { if (relationDescriptorBuilder_ == null) { - return relationDescriptor_ == null ? com.google.cloud.dataform.v1alpha2.RelationDescriptor.getDefaultInstance() : relationDescriptor_; + return relationDescriptor_ == null + ? com.google.cloud.dataform.v1alpha2.RelationDescriptor.getDefaultInstance() + : relationDescriptor_; } else { return relationDescriptorBuilder_.getMessage(); } } /** + * + * *
        * Descriptor for any output relation and its columns. Only set if
        * `has_output` is true.
@@ -7624,7 +8816,8 @@ public com.google.cloud.dataform.v1alpha2.RelationDescriptor getRelationDescript
        *
        * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 6;
        */
-      public Builder setRelationDescriptor(com.google.cloud.dataform.v1alpha2.RelationDescriptor value) {
+      public Builder setRelationDescriptor(
+          com.google.cloud.dataform.v1alpha2.RelationDescriptor value) {
         if (relationDescriptorBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -7638,6 +8831,8 @@ public Builder setRelationDescriptor(com.google.cloud.dataform.v1alpha2.Relation
         return this;
       }
       /**
+       *
+       *
        * 
        * Descriptor for any output relation and its columns. Only set if
        * `has_output` is true.
@@ -7657,6 +8852,8 @@ public Builder setRelationDescriptor(
         return this;
       }
       /**
+       *
+       *
        * 
        * Descriptor for any output relation and its columns. Only set if
        * `has_output` is true.
@@ -7664,11 +8861,15 @@ public Builder setRelationDescriptor(
        *
        * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 6;
        */
-      public Builder mergeRelationDescriptor(com.google.cloud.dataform.v1alpha2.RelationDescriptor value) {
+      public Builder mergeRelationDescriptor(
+          com.google.cloud.dataform.v1alpha2.RelationDescriptor value) {
         if (relationDescriptorBuilder_ == null) {
           if (relationDescriptor_ != null) {
             relationDescriptor_ =
-              com.google.cloud.dataform.v1alpha2.RelationDescriptor.newBuilder(relationDescriptor_).mergeFrom(value).buildPartial();
+                com.google.cloud.dataform.v1alpha2.RelationDescriptor.newBuilder(
+                        relationDescriptor_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             relationDescriptor_ = value;
           }
@@ -7680,6 +8881,8 @@ public Builder mergeRelationDescriptor(com.google.cloud.dataform.v1alpha2.Relati
         return this;
       }
       /**
+       *
+       *
        * 
        * Descriptor for any output relation and its columns. Only set if
        * `has_output` is true.
@@ -7699,6 +8902,8 @@ public Builder clearRelationDescriptor() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Descriptor for any output relation and its columns. Only set if
        * `has_output` is true.
@@ -7706,12 +8911,15 @@ public Builder clearRelationDescriptor() {
        *
        * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 6;
        */
-      public com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder getRelationDescriptorBuilder() {
-        
+      public com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder
+          getRelationDescriptorBuilder() {
+
         onChanged();
         return getRelationDescriptorFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Descriptor for any output relation and its columns. Only set if
        * `has_output` is true.
@@ -7719,15 +8927,19 @@ public com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder getRelation
        *
        * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 6;
        */
-      public com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder getRelationDescriptorOrBuilder() {
+      public com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder
+          getRelationDescriptorOrBuilder() {
         if (relationDescriptorBuilder_ != null) {
           return relationDescriptorBuilder_.getMessageOrBuilder();
         } else {
-          return relationDescriptor_ == null ?
-              com.google.cloud.dataform.v1alpha2.RelationDescriptor.getDefaultInstance() : relationDescriptor_;
+          return relationDescriptor_ == null
+              ? com.google.cloud.dataform.v1alpha2.RelationDescriptor.getDefaultInstance()
+              : relationDescriptor_;
         }
       }
       /**
+       *
+       *
        * 
        * Descriptor for any output relation and its columns. Only set if
        * `has_output` is true.
@@ -7736,58 +8948,71 @@ public com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder getRelatio
        * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 6;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.dataform.v1alpha2.RelationDescriptor, com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder, com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder> 
+              com.google.cloud.dataform.v1alpha2.RelationDescriptor,
+              com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder,
+              com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder>
           getRelationDescriptorFieldBuilder() {
         if (relationDescriptorBuilder_ == null) {
-          relationDescriptorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.dataform.v1alpha2.RelationDescriptor, com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder, com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder>(
-                  getRelationDescriptor(),
-                  getParentForChildren(),
-                  isClean());
+          relationDescriptorBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.cloud.dataform.v1alpha2.RelationDescriptor,
+                  com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder,
+                  com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder>(
+                  getRelationDescriptor(), getParentForChildren(), isClean());
           relationDescriptor_ = null;
         }
         return relationDescriptorBuilder_;
       }
 
-      private com.google.protobuf.LazyStringList queries_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+      private com.google.protobuf.LazyStringList queries_ =
+          com.google.protobuf.LazyStringArrayList.EMPTY;
+
       private void ensureQueriesIsMutable() {
         if (!((bitField0_ & 0x00000004) != 0)) {
           queries_ = new com.google.protobuf.LazyStringArrayList(queries_);
           bitField0_ |= 0x00000004;
-         }
+        }
       }
       /**
+       *
+       *
        * 
        * A list of arbitrary SQL statements that will be executed without
        * alteration.
        * 
* * repeated string queries = 4; + * * @return A list containing the queries. */ - public com.google.protobuf.ProtocolStringList - getQueriesList() { + public com.google.protobuf.ProtocolStringList getQueriesList() { return queries_.getUnmodifiableView(); } /** + * + * *
        * A list of arbitrary SQL statements that will be executed without
        * alteration.
        * 
* * repeated string queries = 4; + * * @return The count of queries. */ public int getQueriesCount() { return queries_.size(); } /** + * + * *
        * A list of arbitrary SQL statements that will be executed without
        * alteration.
        * 
* * repeated string queries = 4; + * * @param index The index of the element to return. * @return The queries at the given index. */ @@ -7795,85 +9020,95 @@ public java.lang.String getQueries(int index) { return queries_.get(index); } /** + * + * *
        * A list of arbitrary SQL statements that will be executed without
        * alteration.
        * 
* * repeated string queries = 4; + * * @param index The index of the value to return. * @return The bytes of the queries at the given index. */ - public com.google.protobuf.ByteString - getQueriesBytes(int index) { + public com.google.protobuf.ByteString getQueriesBytes(int index) { return queries_.getByteString(index); } /** + * + * *
        * A list of arbitrary SQL statements that will be executed without
        * alteration.
        * 
* * repeated string queries = 4; + * * @param index The index to set the value at. * @param value The queries to set. * @return This builder for chaining. */ - public Builder setQueries( - int index, java.lang.String value) { + public Builder setQueries(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureQueriesIsMutable(); + throw new NullPointerException(); + } + ensureQueriesIsMutable(); queries_.set(index, value); onChanged(); return this; } /** + * + * *
        * A list of arbitrary SQL statements that will be executed without
        * alteration.
        * 
* * repeated string queries = 4; + * * @param value The queries to add. * @return This builder for chaining. */ - public Builder addQueries( - java.lang.String value) { + public Builder addQueries(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureQueriesIsMutable(); + throw new NullPointerException(); + } + ensureQueriesIsMutable(); queries_.add(value); onChanged(); return this; } /** + * + * *
        * A list of arbitrary SQL statements that will be executed without
        * alteration.
        * 
* * repeated string queries = 4; + * * @param values The queries to add. * @return This builder for chaining. */ - public Builder addAllQueries( - java.lang.Iterable values) { + public Builder addAllQueries(java.lang.Iterable values) { ensureQueriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, queries_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, queries_); onChanged(); return this; } /** + * + * *
        * A list of arbitrary SQL statements that will be executed without
        * alteration.
        * 
* * repeated string queries = 4; + * * @return This builder for chaining. */ public Builder clearQueries() { @@ -7883,34 +9118,39 @@ public Builder clearQueries() { return this; } /** + * + * *
        * A list of arbitrary SQL statements that will be executed without
        * alteration.
        * 
* * repeated string queries = 4; + * * @param value The bytes of the queries to add. * @return This builder for chaining. */ - public Builder addQueriesBytes( - com.google.protobuf.ByteString value) { + public Builder addQueriesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureQueriesIsMutable(); queries_.add(value); onChanged(); return this; } - private boolean hasOutput_ ; + private boolean hasOutput_; /** + * + * *
        * Whether these operations produce an output relation.
        * 
* * bool has_output = 5; + * * @return The hasOutput. */ @java.lang.Override @@ -7918,34 +9158,41 @@ public boolean getHasOutput() { return hasOutput_; } /** + * + * *
        * Whether these operations produce an output relation.
        * 
* * bool has_output = 5; + * * @param value The hasOutput to set. * @return This builder for chaining. */ public Builder setHasOutput(boolean value) { - + hasOutput_ = value; onChanged(); return this; } /** + * + * *
        * Whether these operations produce an output relation.
        * 
* * bool has_output = 5; + * * @return This builder for chaining. */ public Builder clearHasOutput() { - + hasOutput_ = false; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7958,30 +9205,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) - private static final com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations(); + DEFAULT_INSTANCE = + new com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations(); } - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Operations parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Operations(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Operations parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Operations(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7993,26 +9243,30 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface AssertionOrBuilder extends + public interface AssertionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * A list of actions that this action depends on.
      * 
* * repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1; */ - java.util.List - getDependencyTargetsList(); + java.util.List getDependencyTargetsList(); /** + * + * *
      * A list of actions that this action depends on.
      * 
@@ -8021,6 +9275,8 @@ public interface AssertionOrBuilder extends */ com.google.cloud.dataform.v1alpha2.Target getDependencyTargets(int index); /** + * + * *
      * A list of actions that this action depends on.
      * 
@@ -8029,45 +9285,56 @@ public interface AssertionOrBuilder extends */ int getDependencyTargetsCount(); /** + * + * *
      * A list of actions that this action depends on.
      * 
* * repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1; */ - java.util.List + java.util.List getDependencyTargetsOrBuilderList(); /** + * + * *
      * A list of actions that this action depends on.
      * 
* * repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1; */ - com.google.cloud.dataform.v1alpha2.TargetOrBuilder getDependencyTargetsOrBuilder( - int index); + com.google.cloud.dataform.v1alpha2.TargetOrBuilder getDependencyTargetsOrBuilder(int index); /** + * + * *
      * The parent action of this assertion. Only set if this assertion was
      * automatically generated.
      * 
* * .google.cloud.dataform.v1alpha2.Target parent_action = 5; + * * @return Whether the parentAction field is set. */ boolean hasParentAction(); /** + * + * *
      * The parent action of this assertion. Only set if this assertion was
      * automatically generated.
      * 
* * .google.cloud.dataform.v1alpha2.Target parent_action = 5; + * * @return The parentAction. */ com.google.cloud.dataform.v1alpha2.Target getParentAction(); /** + * + * *
      * The parent action of this assertion. Only set if this assertion was
      * automatically generated.
@@ -8078,99 +9345,125 @@ com.google.cloud.dataform.v1alpha2.TargetOrBuilder getDependencyTargetsOrBuilder
     com.google.cloud.dataform.v1alpha2.TargetOrBuilder getParentActionOrBuilder();
 
     /**
+     *
+     *
      * 
      * Whether this action is disabled (i.e. should not be run).
      * 
* * bool disabled = 2; + * * @return The disabled. */ boolean getDisabled(); /** + * + * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; + * * @return A list containing the tags. */ - java.util.List - getTagsList(); + java.util.List getTagsList(); /** + * + * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; + * * @return The count of tags. */ int getTagsCount(); /** + * + * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; + * * @param index The index of the element to return. * @return The tags at the given index. */ java.lang.String getTags(int index); /** + * + * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; + * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - com.google.protobuf.ByteString - getTagsBytes(int index); + com.google.protobuf.ByteString getTagsBytes(int index); /** + * + * *
      * The SELECT query which must return zero rows in order for this assertion
      * to succeed.
      * 
* * string select_query = 4; + * * @return The selectQuery. */ java.lang.String getSelectQuery(); /** + * + * *
      * The SELECT query which must return zero rows in order for this assertion
      * to succeed.
      * 
* * string select_query = 4; + * * @return The bytes for selectQuery. */ - com.google.protobuf.ByteString - getSelectQueryBytes(); + com.google.protobuf.ByteString getSelectQueryBytes(); /** + * + * *
      * Descriptor for the assertion's automatically-generated view and its
      * columns.
      * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 6; + * * @return Whether the relationDescriptor field is set. */ boolean hasRelationDescriptor(); /** + * + * *
      * Descriptor for the assertion's automatically-generated view and its
      * columns.
      * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 6; + * * @return The relationDescriptor. */ com.google.cloud.dataform.v1alpha2.RelationDescriptor getRelationDescriptor(); /** + * + * *
      * Descriptor for the assertion's automatically-generated view and its
      * columns.
@@ -8181,6 +9474,8 @@ com.google.cloud.dataform.v1alpha2.TargetOrBuilder getDependencyTargetsOrBuilder
     com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder getRelationDescriptorOrBuilder();
   }
   /**
+   *
+   *
    * 
    * Represents an assertion upon a SQL query which is required return zero
    * rows.
@@ -8188,15 +9483,16 @@ com.google.cloud.dataform.v1alpha2.TargetOrBuilder getDependencyTargetsOrBuilder
    *
    * Protobuf type {@code google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion}
    */
-  public static final class Assertion extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class Assertion extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion)
       AssertionOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use Assertion.newBuilder() to construct.
     private Assertion(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private Assertion() {
       dependencyTargets_ = java.util.Collections.emptyList();
       tags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -8205,16 +9501,15 @@ private Assertion() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new Assertion();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private Assertion(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -8234,68 +9529,80 @@ private Assertion(
             case 0:
               done = true;
               break;
-            case 10: {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                dependencyTargets_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              dependencyTargets_.add(
-                  input.readMessage(com.google.cloud.dataform.v1alpha2.Target.parser(), extensionRegistry));
-              break;
-            }
-            case 16: {
-
-              disabled_ = input.readBool();
-              break;
-            }
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                tags_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000002;
+            case 10:
+              {
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  dependencyTargets_ =
+                      new java.util.ArrayList();
+                  mutable_bitField0_ |= 0x00000001;
+                }
+                dependencyTargets_.add(
+                    input.readMessage(
+                        com.google.cloud.dataform.v1alpha2.Target.parser(), extensionRegistry));
+                break;
               }
-              tags_.add(s);
-              break;
-            }
-            case 34: {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              selectQuery_ = s;
-              break;
-            }
-            case 42: {
-              com.google.cloud.dataform.v1alpha2.Target.Builder subBuilder = null;
-              if (parentAction_ != null) {
-                subBuilder = parentAction_.toBuilder();
+            case 16:
+              {
+                disabled_ = input.readBool();
+                break;
               }
-              parentAction_ = input.readMessage(com.google.cloud.dataform.v1alpha2.Target.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(parentAction_);
-                parentAction_ = subBuilder.buildPartial();
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                  tags_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000002;
+                }
+                tags_.add(s);
+                break;
               }
+            case 34:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              break;
-            }
-            case 50: {
-              com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder subBuilder = null;
-              if (relationDescriptor_ != null) {
-                subBuilder = relationDescriptor_.toBuilder();
+                selectQuery_ = s;
+                break;
               }
-              relationDescriptor_ = input.readMessage(com.google.cloud.dataform.v1alpha2.RelationDescriptor.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(relationDescriptor_);
-                relationDescriptor_ = subBuilder.buildPartial();
+            case 42:
+              {
+                com.google.cloud.dataform.v1alpha2.Target.Builder subBuilder = null;
+                if (parentAction_ != null) {
+                  subBuilder = parentAction_.toBuilder();
+                }
+                parentAction_ =
+                    input.readMessage(
+                        com.google.cloud.dataform.v1alpha2.Target.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(parentAction_);
+                  parentAction_ = subBuilder.buildPartial();
+                }
+
+                break;
               }
+            case 50:
+              {
+                com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder subBuilder = null;
+                if (relationDescriptor_ != null) {
+                  subBuilder = relationDescriptor_.toBuilder();
+                }
+                relationDescriptor_ =
+                    input.readMessage(
+                        com.google.cloud.dataform.v1alpha2.RelationDescriptor.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(relationDescriptor_);
+                  relationDescriptor_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -8303,8 +9610,7 @@ private Assertion(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           dependencyTargets_ = java.util.Collections.unmodifiableList(dependencyTargets_);
@@ -8316,22 +9622,27 @@ private Assertion(
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Assertion_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.dataform.v1alpha2.DataformProto
+          .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Assertion_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Assertion_fieldAccessorTable
+      return com.google.cloud.dataform.v1alpha2.DataformProto
+          .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Assertion_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.class, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.Builder.class);
+              com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.class,
+              com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.Builder.class);
     }
 
     public static final int DEPENDENCY_TARGETS_FIELD_NUMBER = 1;
     private java.util.List dependencyTargets_;
     /**
+     *
+     *
      * 
      * A list of actions that this action depends on.
      * 
@@ -8343,6 +9654,8 @@ public java.util.List getDependencyTa return dependencyTargets_; } /** + * + * *
      * A list of actions that this action depends on.
      * 
@@ -8350,11 +9663,13 @@ public java.util.List getDependencyTa * repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDependencyTargetsOrBuilderList() { return dependencyTargets_; } /** + * + * *
      * A list of actions that this action depends on.
      * 
@@ -8366,6 +9681,8 @@ public int getDependencyTargetsCount() { return dependencyTargets_.size(); } /** + * + * *
      * A list of actions that this action depends on.
      * 
@@ -8377,6 +9694,8 @@ public com.google.cloud.dataform.v1alpha2.Target getDependencyTargets(int index) return dependencyTargets_.get(index); } /** + * + * *
      * A list of actions that this action depends on.
      * 
@@ -8392,12 +9711,15 @@ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getDependencyTargetsOr public static final int PARENT_ACTION_FIELD_NUMBER = 5; private com.google.cloud.dataform.v1alpha2.Target parentAction_; /** + * + * *
      * The parent action of this assertion. Only set if this assertion was
      * automatically generated.
      * 
* * .google.cloud.dataform.v1alpha2.Target parent_action = 5; + * * @return Whether the parentAction field is set. */ @java.lang.Override @@ -8405,19 +9727,26 @@ public boolean hasParentAction() { return parentAction_ != null; } /** + * + * *
      * The parent action of this assertion. Only set if this assertion was
      * automatically generated.
      * 
* * .google.cloud.dataform.v1alpha2.Target parent_action = 5; + * * @return The parentAction. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.Target getParentAction() { - return parentAction_ == null ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() : parentAction_; + return parentAction_ == null + ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() + : parentAction_; } /** + * + * *
      * The parent action of this assertion. Only set if this assertion was
      * automatically generated.
@@ -8433,11 +9762,14 @@ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getParentActionOrBuild
     public static final int DISABLED_FIELD_NUMBER = 2;
     private boolean disabled_;
     /**
+     *
+     *
      * 
      * Whether this action is disabled (i.e. should not be run).
      * 
* * bool disabled = 2; + * * @return The disabled. */ @java.lang.Override @@ -8448,34 +9780,42 @@ public boolean getDisabled() { public static final int TAGS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList tags_; /** + * + * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; + * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList - getTagsList() { + public com.google.protobuf.ProtocolStringList getTagsList() { return tags_; } /** + * + * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; + * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** + * + * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; + * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -8483,28 +9823,33 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** + * + * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; + * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString - getTagsBytes(int index) { + public com.google.protobuf.ByteString getTagsBytes(int index) { return tags_.getByteString(index); } public static final int SELECT_QUERY_FIELD_NUMBER = 4; private volatile java.lang.Object selectQuery_; /** + * + * *
      * The SELECT query which must return zero rows in order for this assertion
      * to succeed.
      * 
* * string select_query = 4; + * * @return The selectQuery. */ @java.lang.Override @@ -8513,30 +9858,30 @@ public java.lang.String getSelectQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); selectQuery_ = s; return s; } } /** + * + * *
      * The SELECT query which must return zero rows in order for this assertion
      * to succeed.
      * 
* * string select_query = 4; + * * @return The bytes for selectQuery. */ @java.lang.Override - public com.google.protobuf.ByteString - getSelectQueryBytes() { + public com.google.protobuf.ByteString getSelectQueryBytes() { java.lang.Object ref = selectQuery_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); selectQuery_ = b; return b; } else { @@ -8547,12 +9892,15 @@ public java.lang.String getSelectQuery() { public static final int RELATION_DESCRIPTOR_FIELD_NUMBER = 6; private com.google.cloud.dataform.v1alpha2.RelationDescriptor relationDescriptor_; /** + * + * *
      * Descriptor for the assertion's automatically-generated view and its
      * columns.
      * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 6; + * * @return Whether the relationDescriptor field is set. */ @java.lang.Override @@ -8560,19 +9908,26 @@ public boolean hasRelationDescriptor() { return relationDescriptor_ != null; } /** + * + * *
      * Descriptor for the assertion's automatically-generated view and its
      * columns.
      * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 6; + * * @return The relationDescriptor. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.RelationDescriptor getRelationDescriptor() { - return relationDescriptor_ == null ? com.google.cloud.dataform.v1alpha2.RelationDescriptor.getDefaultInstance() : relationDescriptor_; + return relationDescriptor_ == null + ? com.google.cloud.dataform.v1alpha2.RelationDescriptor.getDefaultInstance() + : relationDescriptor_; } /** + * + * *
      * Descriptor for the assertion's automatically-generated view and its
      * columns.
@@ -8581,11 +9936,13 @@ public com.google.cloud.dataform.v1alpha2.RelationDescriptor getRelationDescript
      * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 6;
      */
     @java.lang.Override
-    public com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder getRelationDescriptorOrBuilder() {
+    public com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder
+        getRelationDescriptorOrBuilder() {
       return getRelationDescriptor();
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -8597,8 +9954,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       for (int i = 0; i < dependencyTargets_.size(); i++) {
         output.writeMessage(1, dependencyTargets_.get(i));
       }
@@ -8627,12 +9983,11 @@ public int getSerializedSize() {
 
       size = 0;
       for (int i = 0; i < dependencyTargets_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, dependencyTargets_.get(i));
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(1, dependencyTargets_.get(i));
       }
       if (disabled_ != false) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeBoolSize(2, disabled_);
+        size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, disabled_);
       }
       {
         int dataSize = 0;
@@ -8646,12 +10001,11 @@ public int getSerializedSize() {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, selectQuery_);
       }
       if (parentAction_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(5, getParentAction());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getParentAction());
       }
       if (relationDescriptor_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(6, getRelationDescriptor());
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(6, getRelationDescriptor());
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -8661,30 +10015,25 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
       if (!(obj instanceof com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion)) {
         return super.equals(obj);
       }
-      com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion other = (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion) obj;
+      com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion other =
+          (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion) obj;
 
-      if (!getDependencyTargetsList()
-          .equals(other.getDependencyTargetsList())) return false;
+      if (!getDependencyTargetsList().equals(other.getDependencyTargetsList())) return false;
       if (hasParentAction() != other.hasParentAction()) return false;
       if (hasParentAction()) {
-        if (!getParentAction()
-            .equals(other.getParentAction())) return false;
-      }
-      if (getDisabled()
-          != other.getDisabled()) return false;
-      if (!getTagsList()
-          .equals(other.getTagsList())) return false;
-      if (!getSelectQuery()
-          .equals(other.getSelectQuery())) return false;
+        if (!getParentAction().equals(other.getParentAction())) return false;
+      }
+      if (getDisabled() != other.getDisabled()) return false;
+      if (!getTagsList().equals(other.getTagsList())) return false;
+      if (!getSelectQuery().equals(other.getSelectQuery())) return false;
       if (hasRelationDescriptor() != other.hasRelationDescriptor()) return false;
       if (hasRelationDescriptor()) {
-        if (!getRelationDescriptor()
-            .equals(other.getRelationDescriptor())) return false;
+        if (!getRelationDescriptor().equals(other.getRelationDescriptor())) return false;
       }
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -8706,8 +10055,7 @@ public int hashCode() {
         hash = (53 * hash) + getParentAction().hashCode();
       }
       hash = (37 * hash) + DISABLED_FIELD_NUMBER;
-      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
-          getDisabled());
+      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisabled());
       if (getTagsCount() > 0) {
         hash = (37 * hash) + TAGS_FIELD_NUMBER;
         hash = (53 * hash) + getTagsList().hashCode();
@@ -8724,87 +10072,95 @@ public int hashCode() {
     }
 
     public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion parseFrom(
+        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion
+        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
-    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+
+    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion
+        parseDelimitedFrom(
+            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion prototype) {
+
+    public static Builder newBuilder(
+        com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -8814,6 +10170,8 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Represents an assertion upon a SQL query which is required return zero
      * rows.
@@ -8821,39 +10179,43 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion)
         com.google.cloud.dataform.v1alpha2.CompilationResultAction.AssertionOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Assertion_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.dataform.v1alpha2.DataformProto
+            .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Assertion_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Assertion_fieldAccessorTable
+        return com.google.cloud.dataform.v1alpha2.DataformProto
+            .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Assertion_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.class, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.Builder.class);
+                com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.class,
+                com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.Builder.class);
       }
 
-      // Construct using com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.newBuilder()
+      // Construct using
+      // com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
           getDependencyTargetsFieldBuilder();
         }
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -8885,19 +10247,22 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Assertion_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.dataform.v1alpha2.DataformProto
+            .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Assertion_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion getDefaultInstanceForType() {
-        return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.getDefaultInstance();
+      public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion
+          getDefaultInstanceForType() {
+        return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion
+            .getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion build() {
-        com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion result = buildPartial();
+        com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion result =
+            buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -8906,7 +10271,8 @@ public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion buil
 
       @java.lang.Override
       public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion buildPartial() {
-        com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion result = new com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion(this);
+        com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion result =
+            new com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion(this);
         int from_bitField0_ = bitField0_;
         if (dependencyTargetsBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0)) {
@@ -8942,46 +10308,53 @@ public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion buil
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion) {
-          return mergeFrom((com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion)other);
+          return mergeFrom(
+              (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion other) {
-        if (other == com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion other) {
+        if (other
+            == com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion
+                .getDefaultInstance()) return this;
         if (dependencyTargetsBuilder_ == null) {
           if (!other.dependencyTargets_.isEmpty()) {
             if (dependencyTargets_.isEmpty()) {
@@ -9000,9 +10373,10 @@ public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.CompilationResultAct
               dependencyTargetsBuilder_ = null;
               dependencyTargets_ = other.dependencyTargets_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              dependencyTargetsBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getDependencyTargetsFieldBuilder() : null;
+              dependencyTargetsBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getDependencyTargetsFieldBuilder()
+                      : null;
             } else {
               dependencyTargetsBuilder_.addAllMessages(other.dependencyTargets_);
             }
@@ -9050,7 +10424,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -9059,21 +10435,30 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int bitField0_;
 
       private java.util.List dependencyTargets_ =
-        java.util.Collections.emptyList();
+          java.util.Collections.emptyList();
+
       private void ensureDependencyTargetsIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
-          dependencyTargets_ = new java.util.ArrayList(dependencyTargets_);
+          dependencyTargets_ =
+              new java.util.ArrayList(
+                  dependencyTargets_);
           bitField0_ |= 0x00000001;
-         }
+        }
       }
 
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder> dependencyTargetsBuilder_;
+              com.google.cloud.dataform.v1alpha2.Target,
+              com.google.cloud.dataform.v1alpha2.Target.Builder,
+              com.google.cloud.dataform.v1alpha2.TargetOrBuilder>
+          dependencyTargetsBuilder_;
 
       /**
+       *
+       *
        * 
        * A list of actions that this action depends on.
        * 
@@ -9088,6 +10473,8 @@ public java.util.List getDependencyTa } } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -9102,6 +10489,8 @@ public int getDependencyTargetsCount() { } } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -9116,6 +10505,8 @@ public com.google.cloud.dataform.v1alpha2.Target getDependencyTargets(int index) } } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -9137,6 +10528,8 @@ public Builder setDependencyTargets( return this; } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -9155,6 +10548,8 @@ public Builder setDependencyTargets( return this; } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -9175,6 +10570,8 @@ public Builder addDependencyTargets(com.google.cloud.dataform.v1alpha2.Target va return this; } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -9196,6 +10593,8 @@ public Builder addDependencyTargets( return this; } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -9214,6 +10613,8 @@ public Builder addDependencyTargets( return this; } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -9232,6 +10633,8 @@ public Builder addDependencyTargets( return this; } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -9242,8 +10645,7 @@ public Builder addAllDependencyTargets( java.lang.Iterable values) { if (dependencyTargetsBuilder_ == null) { ensureDependencyTargetsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, dependencyTargets_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dependencyTargets_); onChanged(); } else { dependencyTargetsBuilder_.addAllMessages(values); @@ -9251,6 +10653,8 @@ public Builder addAllDependencyTargets( return this; } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -9268,6 +10672,8 @@ public Builder clearDependencyTargets() { return this; } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -9285,6 +10691,8 @@ public Builder removeDependencyTargets(int index) { return this; } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -9296,6 +10704,8 @@ public com.google.cloud.dataform.v1alpha2.Target.Builder getDependencyTargetsBui return getDependencyTargetsFieldBuilder().getBuilder(index); } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -9305,19 +10715,22 @@ public com.google.cloud.dataform.v1alpha2.Target.Builder getDependencyTargetsBui public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getDependencyTargetsOrBuilder( int index) { if (dependencyTargetsBuilder_ == null) { - return dependencyTargets_.get(index); } else { + return dependencyTargets_.get(index); + } else { return dependencyTargetsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * A list of actions that this action depends on.
        * 
* * repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1; */ - public java.util.List - getDependencyTargetsOrBuilderList() { + public java.util.List + getDependencyTargetsOrBuilderList() { if (dependencyTargetsBuilder_ != null) { return dependencyTargetsBuilder_.getMessageOrBuilderList(); } else { @@ -9325,6 +10738,8 @@ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getDependencyTargetsOr } } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -9332,10 +10747,12 @@ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getDependencyTargetsOr * repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1; */ public com.google.cloud.dataform.v1alpha2.Target.Builder addDependencyTargetsBuilder() { - return getDependencyTargetsFieldBuilder().addBuilder( - com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance()); + return getDependencyTargetsFieldBuilder() + .addBuilder(com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance()); } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -9344,26 +10761,34 @@ public com.google.cloud.dataform.v1alpha2.Target.Builder addDependencyTargetsBui */ public com.google.cloud.dataform.v1alpha2.Target.Builder addDependencyTargetsBuilder( int index) { - return getDependencyTargetsFieldBuilder().addBuilder( - index, com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance()); + return getDependencyTargetsFieldBuilder() + .addBuilder(index, com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance()); } /** + * + * *
        * A list of actions that this action depends on.
        * 
* * repeated .google.cloud.dataform.v1alpha2.Target dependency_targets = 1; */ - public java.util.List - getDependencyTargetsBuilderList() { + public java.util.List + getDependencyTargetsBuilderList() { return getDependencyTargetsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder> + com.google.cloud.dataform.v1alpha2.Target, + com.google.cloud.dataform.v1alpha2.Target.Builder, + com.google.cloud.dataform.v1alpha2.TargetOrBuilder> getDependencyTargetsFieldBuilder() { if (dependencyTargetsBuilder_ == null) { - dependencyTargetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder>( + dependencyTargetsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.Target, + com.google.cloud.dataform.v1alpha2.Target.Builder, + com.google.cloud.dataform.v1alpha2.TargetOrBuilder>( dependencyTargets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -9375,36 +10800,49 @@ public com.google.cloud.dataform.v1alpha2.Target.Builder addDependencyTargetsBui private com.google.cloud.dataform.v1alpha2.Target parentAction_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder> parentActionBuilder_; + com.google.cloud.dataform.v1alpha2.Target, + com.google.cloud.dataform.v1alpha2.Target.Builder, + com.google.cloud.dataform.v1alpha2.TargetOrBuilder> + parentActionBuilder_; /** + * + * *
        * The parent action of this assertion. Only set if this assertion was
        * automatically generated.
        * 
* * .google.cloud.dataform.v1alpha2.Target parent_action = 5; + * * @return Whether the parentAction field is set. */ public boolean hasParentAction() { return parentActionBuilder_ != null || parentAction_ != null; } /** + * + * *
        * The parent action of this assertion. Only set if this assertion was
        * automatically generated.
        * 
* * .google.cloud.dataform.v1alpha2.Target parent_action = 5; + * * @return The parentAction. */ public com.google.cloud.dataform.v1alpha2.Target getParentAction() { if (parentActionBuilder_ == null) { - return parentAction_ == null ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() : parentAction_; + return parentAction_ == null + ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() + : parentAction_; } else { return parentActionBuilder_.getMessage(); } } /** + * + * *
        * The parent action of this assertion. Only set if this assertion was
        * automatically generated.
@@ -9426,6 +10864,8 @@ public Builder setParentAction(com.google.cloud.dataform.v1alpha2.Target value)
         return this;
       }
       /**
+       *
+       *
        * 
        * The parent action of this assertion. Only set if this assertion was
        * automatically generated.
@@ -9445,6 +10885,8 @@ public Builder setParentAction(
         return this;
       }
       /**
+       *
+       *
        * 
        * The parent action of this assertion. Only set if this assertion was
        * automatically generated.
@@ -9456,7 +10898,9 @@ public Builder mergeParentAction(com.google.cloud.dataform.v1alpha2.Target value
         if (parentActionBuilder_ == null) {
           if (parentAction_ != null) {
             parentAction_ =
-              com.google.cloud.dataform.v1alpha2.Target.newBuilder(parentAction_).mergeFrom(value).buildPartial();
+                com.google.cloud.dataform.v1alpha2.Target.newBuilder(parentAction_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             parentAction_ = value;
           }
@@ -9468,6 +10912,8 @@ public Builder mergeParentAction(com.google.cloud.dataform.v1alpha2.Target value
         return this;
       }
       /**
+       *
+       *
        * 
        * The parent action of this assertion. Only set if this assertion was
        * automatically generated.
@@ -9487,6 +10933,8 @@ public Builder clearParentAction() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The parent action of this assertion. Only set if this assertion was
        * automatically generated.
@@ -9495,11 +10943,13 @@ public Builder clearParentAction() {
        * .google.cloud.dataform.v1alpha2.Target parent_action = 5;
        */
       public com.google.cloud.dataform.v1alpha2.Target.Builder getParentActionBuilder() {
-        
+
         onChanged();
         return getParentActionFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * The parent action of this assertion. Only set if this assertion was
        * automatically generated.
@@ -9511,11 +10961,14 @@ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getParentActionOrBuild
         if (parentActionBuilder_ != null) {
           return parentActionBuilder_.getMessageOrBuilder();
         } else {
-          return parentAction_ == null ?
-              com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() : parentAction_;
+          return parentAction_ == null
+              ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance()
+              : parentAction_;
         }
       }
       /**
+       *
+       *
        * 
        * The parent action of this assertion. Only set if this assertion was
        * automatically generated.
@@ -9524,26 +10977,32 @@ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getParentActionOrBuild
        * .google.cloud.dataform.v1alpha2.Target parent_action = 5;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder> 
+              com.google.cloud.dataform.v1alpha2.Target,
+              com.google.cloud.dataform.v1alpha2.Target.Builder,
+              com.google.cloud.dataform.v1alpha2.TargetOrBuilder>
           getParentActionFieldBuilder() {
         if (parentActionBuilder_ == null) {
-          parentActionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder>(
-                  getParentAction(),
-                  getParentForChildren(),
-                  isClean());
+          parentActionBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.cloud.dataform.v1alpha2.Target,
+                  com.google.cloud.dataform.v1alpha2.Target.Builder,
+                  com.google.cloud.dataform.v1alpha2.TargetOrBuilder>(
+                  getParentAction(), getParentForChildren(), isClean());
           parentAction_ = null;
         }
         return parentActionBuilder_;
       }
 
-      private boolean disabled_ ;
+      private boolean disabled_;
       /**
+       *
+       *
        * 
        * Whether this action is disabled (i.e. should not be run).
        * 
* * bool disabled = 2; + * * @return The disabled. */ @java.lang.Override @@ -9551,71 +11010,87 @@ public boolean getDisabled() { return disabled_; } /** + * + * *
        * Whether this action is disabled (i.e. should not be run).
        * 
* * bool disabled = 2; + * * @param value The disabled to set. * @return This builder for chaining. */ public Builder setDisabled(boolean value) { - + disabled_ = value; onChanged(); return this; } /** + * + * *
        * Whether this action is disabled (i.e. should not be run).
        * 
* * bool disabled = 2; + * * @return This builder for chaining. */ public Builder clearDisabled() { - + disabled_ = false; onChanged(); return this; } - private com.google.protobuf.LazyStringList tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList tags_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureTagsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { tags_ = new com.google.protobuf.LazyStringArrayList(tags_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; + * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList - getTagsList() { + public com.google.protobuf.ProtocolStringList getTagsList() { return tags_.getUnmodifiableView(); } /** + * + * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; + * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** + * + * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; + * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -9623,80 +11098,90 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** + * + * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; + * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString - getTagsBytes(int index) { + public com.google.protobuf.ByteString getTagsBytes(int index) { return tags_.getByteString(index); } /** + * + * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; + * * @param index The index to set the value at. * @param value The tags to set. * @return This builder for chaining. */ - public Builder setTags( - int index, java.lang.String value) { + public Builder setTags(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.set(index, value); onChanged(); return this; } /** + * + * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; + * * @param value The tags to add. * @return This builder for chaining. */ - public Builder addTags( - java.lang.String value) { + public Builder addTags(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } /** + * + * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; + * * @param values The tags to add. * @return This builder for chaining. */ - public Builder addAllTags( - java.lang.Iterable values) { + public Builder addAllTags(java.lang.Iterable values) { ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tags_); onChanged(); return this; } /** + * + * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; + * * @return This builder for chaining. */ public Builder clearTags() { @@ -9706,20 +11191,22 @@ public Builder clearTags() { return this; } /** + * + * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; + * * @param value The bytes of the tags to add. * @return This builder for chaining. */ - public Builder addTagsBytes( - com.google.protobuf.ByteString value) { + public Builder addTagsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureTagsIsMutable(); tags_.add(value); onChanged(); @@ -9728,19 +11215,21 @@ public Builder addTagsBytes( private java.lang.Object selectQuery_ = ""; /** + * + * *
        * The SELECT query which must return zero rows in order for this assertion
        * to succeed.
        * 
* * string select_query = 4; + * * @return The selectQuery. */ public java.lang.String getSelectQuery() { java.lang.Object ref = selectQuery_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); selectQuery_ = s; return s; @@ -9749,21 +11238,22 @@ public java.lang.String getSelectQuery() { } } /** + * + * *
        * The SELECT query which must return zero rows in order for this assertion
        * to succeed.
        * 
* * string select_query = 4; + * * @return The bytes for selectQuery. */ - public com.google.protobuf.ByteString - getSelectQueryBytes() { + public com.google.protobuf.ByteString getSelectQueryBytes() { java.lang.Object ref = selectQuery_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); selectQuery_ = b; return b; } else { @@ -9771,57 +11261,64 @@ public java.lang.String getSelectQuery() { } } /** + * + * *
        * The SELECT query which must return zero rows in order for this assertion
        * to succeed.
        * 
* * string select_query = 4; + * * @param value The selectQuery to set. * @return This builder for chaining. */ - public Builder setSelectQuery( - java.lang.String value) { + public Builder setSelectQuery(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + selectQuery_ = value; onChanged(); return this; } /** + * + * *
        * The SELECT query which must return zero rows in order for this assertion
        * to succeed.
        * 
* * string select_query = 4; + * * @return This builder for chaining. */ public Builder clearSelectQuery() { - + selectQuery_ = getDefaultInstance().getSelectQuery(); onChanged(); return this; } /** + * + * *
        * The SELECT query which must return zero rows in order for this assertion
        * to succeed.
        * 
* * string select_query = 4; + * * @param value The bytes for selectQuery to set. * @return This builder for chaining. */ - public Builder setSelectQueryBytes( - com.google.protobuf.ByteString value) { + public Builder setSelectQueryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + selectQuery_ = value; onChanged(); return this; @@ -9829,36 +11326,49 @@ public Builder setSelectQueryBytes( private com.google.cloud.dataform.v1alpha2.RelationDescriptor relationDescriptor_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.RelationDescriptor, com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder, com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder> relationDescriptorBuilder_; + com.google.cloud.dataform.v1alpha2.RelationDescriptor, + com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder, + com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder> + relationDescriptorBuilder_; /** + * + * *
        * Descriptor for the assertion's automatically-generated view and its
        * columns.
        * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 6; + * * @return Whether the relationDescriptor field is set. */ public boolean hasRelationDescriptor() { return relationDescriptorBuilder_ != null || relationDescriptor_ != null; } /** + * + * *
        * Descriptor for the assertion's automatically-generated view and its
        * columns.
        * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 6; + * * @return The relationDescriptor. */ public com.google.cloud.dataform.v1alpha2.RelationDescriptor getRelationDescriptor() { if (relationDescriptorBuilder_ == null) { - return relationDescriptor_ == null ? com.google.cloud.dataform.v1alpha2.RelationDescriptor.getDefaultInstance() : relationDescriptor_; + return relationDescriptor_ == null + ? com.google.cloud.dataform.v1alpha2.RelationDescriptor.getDefaultInstance() + : relationDescriptor_; } else { return relationDescriptorBuilder_.getMessage(); } } /** + * + * *
        * Descriptor for the assertion's automatically-generated view and its
        * columns.
@@ -9866,7 +11376,8 @@ public com.google.cloud.dataform.v1alpha2.RelationDescriptor getRelationDescript
        *
        * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 6;
        */
-      public Builder setRelationDescriptor(com.google.cloud.dataform.v1alpha2.RelationDescriptor value) {
+      public Builder setRelationDescriptor(
+          com.google.cloud.dataform.v1alpha2.RelationDescriptor value) {
         if (relationDescriptorBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -9880,6 +11391,8 @@ public Builder setRelationDescriptor(com.google.cloud.dataform.v1alpha2.Relation
         return this;
       }
       /**
+       *
+       *
        * 
        * Descriptor for the assertion's automatically-generated view and its
        * columns.
@@ -9899,6 +11412,8 @@ public Builder setRelationDescriptor(
         return this;
       }
       /**
+       *
+       *
        * 
        * Descriptor for the assertion's automatically-generated view and its
        * columns.
@@ -9906,11 +11421,15 @@ public Builder setRelationDescriptor(
        *
        * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 6;
        */
-      public Builder mergeRelationDescriptor(com.google.cloud.dataform.v1alpha2.RelationDescriptor value) {
+      public Builder mergeRelationDescriptor(
+          com.google.cloud.dataform.v1alpha2.RelationDescriptor value) {
         if (relationDescriptorBuilder_ == null) {
           if (relationDescriptor_ != null) {
             relationDescriptor_ =
-              com.google.cloud.dataform.v1alpha2.RelationDescriptor.newBuilder(relationDescriptor_).mergeFrom(value).buildPartial();
+                com.google.cloud.dataform.v1alpha2.RelationDescriptor.newBuilder(
+                        relationDescriptor_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             relationDescriptor_ = value;
           }
@@ -9922,6 +11441,8 @@ public Builder mergeRelationDescriptor(com.google.cloud.dataform.v1alpha2.Relati
         return this;
       }
       /**
+       *
+       *
        * 
        * Descriptor for the assertion's automatically-generated view and its
        * columns.
@@ -9941,6 +11462,8 @@ public Builder clearRelationDescriptor() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Descriptor for the assertion's automatically-generated view and its
        * columns.
@@ -9948,12 +11471,15 @@ public Builder clearRelationDescriptor() {
        *
        * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 6;
        */
-      public com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder getRelationDescriptorBuilder() {
-        
+      public com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder
+          getRelationDescriptorBuilder() {
+
         onChanged();
         return getRelationDescriptorFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Descriptor for the assertion's automatically-generated view and its
        * columns.
@@ -9961,15 +11487,19 @@ public com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder getRelation
        *
        * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 6;
        */
-      public com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder getRelationDescriptorOrBuilder() {
+      public com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder
+          getRelationDescriptorOrBuilder() {
         if (relationDescriptorBuilder_ != null) {
           return relationDescriptorBuilder_.getMessageOrBuilder();
         } else {
-          return relationDescriptor_ == null ?
-              com.google.cloud.dataform.v1alpha2.RelationDescriptor.getDefaultInstance() : relationDescriptor_;
+          return relationDescriptor_ == null
+              ? com.google.cloud.dataform.v1alpha2.RelationDescriptor.getDefaultInstance()
+              : relationDescriptor_;
         }
       }
       /**
+       *
+       *
        * 
        * Descriptor for the assertion's automatically-generated view and its
        * columns.
@@ -9978,18 +11508,22 @@ public com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder getRelatio
        * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 6;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.dataform.v1alpha2.RelationDescriptor, com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder, com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder> 
+              com.google.cloud.dataform.v1alpha2.RelationDescriptor,
+              com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder,
+              com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder>
           getRelationDescriptorFieldBuilder() {
         if (relationDescriptorBuilder_ == null) {
-          relationDescriptorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.dataform.v1alpha2.RelationDescriptor, com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder, com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder>(
-                  getRelationDescriptor(),
-                  getParentForChildren(),
-                  isClean());
+          relationDescriptorBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.cloud.dataform.v1alpha2.RelationDescriptor,
+                  com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder,
+                  com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder>(
+                  getRelationDescriptor(), getParentForChildren(), isClean());
           relationDescriptor_ = null;
         }
         return relationDescriptorBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -10002,30 +11536,32 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion)
-    private static final com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion DEFAULT_INSTANCE;
+    private static final com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion
+        DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion();
     }
 
-    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion getDefaultInstance() {
+    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion
+        getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public Assertion parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new Assertion(input, extensionRegistry);
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public Assertion parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            return new Assertion(input, extensionRegistry);
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -10037,37 +11573,46 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion getDefaultInstanceForType() {
+    public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion
+        getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
-  public interface DeclarationOrBuilder extends
+  public interface DeclarationOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Descriptor for the relation and its columns. Used as documentation only,
      * i.e. values here will result in no changes to the relation's metadata.
      * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 1; + * * @return Whether the relationDescriptor field is set. */ boolean hasRelationDescriptor(); /** + * + * *
      * Descriptor for the relation and its columns. Used as documentation only,
      * i.e. values here will result in no changes to the relation's metadata.
      * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 1; + * * @return The relationDescriptor. */ com.google.cloud.dataform.v1alpha2.RelationDescriptor getRelationDescriptor(); /** + * + * *
      * Descriptor for the relation and its columns. Used as documentation only,
      * i.e. values here will result in no changes to the relation's metadata.
@@ -10078,6 +11623,8 @@ public interface DeclarationOrBuilder extends
     com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder getRelationDescriptorOrBuilder();
   }
   /**
+   *
+   *
    * 
    * Represents a relation which is not managed by Dataform but which may be
    * referenced by Dataform actions.
@@ -10085,30 +11632,29 @@ public interface DeclarationOrBuilder extends
    *
    * Protobuf type {@code google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration}
    */
-  public static final class Declaration extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class Declaration extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration)
       DeclarationOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use Declaration.newBuilder() to construct.
     private Declaration(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-    private Declaration() {
-    }
+
+    private Declaration() {}
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new Declaration();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private Declaration(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -10127,26 +11673,30 @@ private Declaration(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder subBuilder = null;
-              if (relationDescriptor_ != null) {
-                subBuilder = relationDescriptor_.toBuilder();
-              }
-              relationDescriptor_ = input.readMessage(com.google.cloud.dataform.v1alpha2.RelationDescriptor.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(relationDescriptor_);
-                relationDescriptor_ = subBuilder.buildPartial();
-              }
+            case 10:
+              {
+                com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder subBuilder = null;
+                if (relationDescriptor_ != null) {
+                  subBuilder = relationDescriptor_.toBuilder();
+                }
+                relationDescriptor_ =
+                    input.readMessage(
+                        com.google.cloud.dataform.v1alpha2.RelationDescriptor.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(relationDescriptor_);
+                  relationDescriptor_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -10154,35 +11704,40 @@ private Declaration(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Declaration_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.dataform.v1alpha2.DataformProto
+          .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Declaration_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Declaration_fieldAccessorTable
+      return com.google.cloud.dataform.v1alpha2.DataformProto
+          .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Declaration_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.class, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.Builder.class);
+              com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.class,
+              com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.Builder.class);
     }
 
     public static final int RELATION_DESCRIPTOR_FIELD_NUMBER = 1;
     private com.google.cloud.dataform.v1alpha2.RelationDescriptor relationDescriptor_;
     /**
+     *
+     *
      * 
      * Descriptor for the relation and its columns. Used as documentation only,
      * i.e. values here will result in no changes to the relation's metadata.
      * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 1; + * * @return Whether the relationDescriptor field is set. */ @java.lang.Override @@ -10190,19 +11745,26 @@ public boolean hasRelationDescriptor() { return relationDescriptor_ != null; } /** + * + * *
      * Descriptor for the relation and its columns. Used as documentation only,
      * i.e. values here will result in no changes to the relation's metadata.
      * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 1; + * * @return The relationDescriptor. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.RelationDescriptor getRelationDescriptor() { - return relationDescriptor_ == null ? com.google.cloud.dataform.v1alpha2.RelationDescriptor.getDefaultInstance() : relationDescriptor_; + return relationDescriptor_ == null + ? com.google.cloud.dataform.v1alpha2.RelationDescriptor.getDefaultInstance() + : relationDescriptor_; } /** + * + * *
      * Descriptor for the relation and its columns. Used as documentation only,
      * i.e. values here will result in no changes to the relation's metadata.
@@ -10211,11 +11773,13 @@ public com.google.cloud.dataform.v1alpha2.RelationDescriptor getRelationDescript
      * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 1;
      */
     @java.lang.Override
-    public com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder getRelationDescriptorOrBuilder() {
+    public com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder
+        getRelationDescriptorOrBuilder() {
       return getRelationDescriptor();
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -10227,8 +11791,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       if (relationDescriptor_ != null) {
         output.writeMessage(1, getRelationDescriptor());
       }
@@ -10242,8 +11805,8 @@ public int getSerializedSize() {
 
       size = 0;
       if (relationDescriptor_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, getRelationDescriptor());
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRelationDescriptor());
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -10253,17 +11816,18 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
-      if (!(obj instanceof com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration)) {
+      if (!(obj
+          instanceof com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration)) {
         return super.equals(obj);
       }
-      com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration other = (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration) obj;
+      com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration other =
+          (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration) obj;
 
       if (hasRelationDescriptor() != other.hasRelationDescriptor()) return false;
       if (hasRelationDescriptor()) {
-        if (!getRelationDescriptor()
-            .equals(other.getRelationDescriptor())) return false;
+        if (!getRelationDescriptor().equals(other.getRelationDescriptor())) return false;
       }
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -10286,87 +11850,95 @@ public int hashCode() {
     }
 
     public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration parseFrom(
+        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration
+        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
-    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+
+    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration
+        parseDelimitedFrom(
+            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration prototype) {
+
+    public static Builder newBuilder(
+        com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -10376,6 +11948,8 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Represents a relation which is not managed by Dataform but which may be
      * referenced by Dataform actions.
@@ -10383,38 +11957,42 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration)
         com.google.cloud.dataform.v1alpha2.CompilationResultAction.DeclarationOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Declaration_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.dataform.v1alpha2.DataformProto
+            .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Declaration_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Declaration_fieldAccessorTable
+        return com.google.cloud.dataform.v1alpha2.DataformProto
+            .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Declaration_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.class, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.Builder.class);
+                com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.class,
+                com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.Builder
+                    .class);
       }
 
-      // Construct using com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.newBuilder()
+      // Construct using
+      // com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -10428,19 +12006,22 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Declaration_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.dataform.v1alpha2.DataformProto
+            .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Declaration_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration getDefaultInstanceForType() {
-        return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.getDefaultInstance();
+      public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration
+          getDefaultInstanceForType() {
+        return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration
+            .getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration build() {
-        com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration result = buildPartial();
+        com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration result =
+            buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -10449,7 +12030,8 @@ public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration bu
 
       @java.lang.Override
       public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration buildPartial() {
-        com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration result = new com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration(this);
+        com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration result =
+            new com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration(this);
         if (relationDescriptorBuilder_ == null) {
           result.relationDescriptor_ = relationDescriptor_;
         } else {
@@ -10463,46 +12045,54 @@ public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration bu
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other instanceof com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration) {
-          return mergeFrom((com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration)other);
+        if (other
+            instanceof com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration) {
+          return mergeFrom(
+              (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration other) {
-        if (other == com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration other) {
+        if (other
+            == com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration
+                .getDefaultInstance()) return this;
         if (other.hasRelationDescriptor()) {
           mergeRelationDescriptor(other.getRelationDescriptor());
         }
@@ -10525,7 +12115,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -10537,36 +12129,49 @@ public Builder mergeFrom(
 
       private com.google.cloud.dataform.v1alpha2.RelationDescriptor relationDescriptor_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.dataform.v1alpha2.RelationDescriptor, com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder, com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder> relationDescriptorBuilder_;
+              com.google.cloud.dataform.v1alpha2.RelationDescriptor,
+              com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder,
+              com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder>
+          relationDescriptorBuilder_;
       /**
+       *
+       *
        * 
        * Descriptor for the relation and its columns. Used as documentation only,
        * i.e. values here will result in no changes to the relation's metadata.
        * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 1; + * * @return Whether the relationDescriptor field is set. */ public boolean hasRelationDescriptor() { return relationDescriptorBuilder_ != null || relationDescriptor_ != null; } /** + * + * *
        * Descriptor for the relation and its columns. Used as documentation only,
        * i.e. values here will result in no changes to the relation's metadata.
        * 
* * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 1; + * * @return The relationDescriptor. */ public com.google.cloud.dataform.v1alpha2.RelationDescriptor getRelationDescriptor() { if (relationDescriptorBuilder_ == null) { - return relationDescriptor_ == null ? com.google.cloud.dataform.v1alpha2.RelationDescriptor.getDefaultInstance() : relationDescriptor_; + return relationDescriptor_ == null + ? com.google.cloud.dataform.v1alpha2.RelationDescriptor.getDefaultInstance() + : relationDescriptor_; } else { return relationDescriptorBuilder_.getMessage(); } } /** + * + * *
        * Descriptor for the relation and its columns. Used as documentation only,
        * i.e. values here will result in no changes to the relation's metadata.
@@ -10574,7 +12179,8 @@ public com.google.cloud.dataform.v1alpha2.RelationDescriptor getRelationDescript
        *
        * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 1;
        */
-      public Builder setRelationDescriptor(com.google.cloud.dataform.v1alpha2.RelationDescriptor value) {
+      public Builder setRelationDescriptor(
+          com.google.cloud.dataform.v1alpha2.RelationDescriptor value) {
         if (relationDescriptorBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -10588,6 +12194,8 @@ public Builder setRelationDescriptor(com.google.cloud.dataform.v1alpha2.Relation
         return this;
       }
       /**
+       *
+       *
        * 
        * Descriptor for the relation and its columns. Used as documentation only,
        * i.e. values here will result in no changes to the relation's metadata.
@@ -10607,6 +12215,8 @@ public Builder setRelationDescriptor(
         return this;
       }
       /**
+       *
+       *
        * 
        * Descriptor for the relation and its columns. Used as documentation only,
        * i.e. values here will result in no changes to the relation's metadata.
@@ -10614,11 +12224,15 @@ public Builder setRelationDescriptor(
        *
        * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 1;
        */
-      public Builder mergeRelationDescriptor(com.google.cloud.dataform.v1alpha2.RelationDescriptor value) {
+      public Builder mergeRelationDescriptor(
+          com.google.cloud.dataform.v1alpha2.RelationDescriptor value) {
         if (relationDescriptorBuilder_ == null) {
           if (relationDescriptor_ != null) {
             relationDescriptor_ =
-              com.google.cloud.dataform.v1alpha2.RelationDescriptor.newBuilder(relationDescriptor_).mergeFrom(value).buildPartial();
+                com.google.cloud.dataform.v1alpha2.RelationDescriptor.newBuilder(
+                        relationDescriptor_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             relationDescriptor_ = value;
           }
@@ -10630,6 +12244,8 @@ public Builder mergeRelationDescriptor(com.google.cloud.dataform.v1alpha2.Relati
         return this;
       }
       /**
+       *
+       *
        * 
        * Descriptor for the relation and its columns. Used as documentation only,
        * i.e. values here will result in no changes to the relation's metadata.
@@ -10649,6 +12265,8 @@ public Builder clearRelationDescriptor() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Descriptor for the relation and its columns. Used as documentation only,
        * i.e. values here will result in no changes to the relation's metadata.
@@ -10656,12 +12274,15 @@ public Builder clearRelationDescriptor() {
        *
        * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 1;
        */
-      public com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder getRelationDescriptorBuilder() {
-        
+      public com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder
+          getRelationDescriptorBuilder() {
+
         onChanged();
         return getRelationDescriptorFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Descriptor for the relation and its columns. Used as documentation only,
        * i.e. values here will result in no changes to the relation's metadata.
@@ -10669,15 +12290,19 @@ public com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder getRelation
        *
        * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 1;
        */
-      public com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder getRelationDescriptorOrBuilder() {
+      public com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder
+          getRelationDescriptorOrBuilder() {
         if (relationDescriptorBuilder_ != null) {
           return relationDescriptorBuilder_.getMessageOrBuilder();
         } else {
-          return relationDescriptor_ == null ?
-              com.google.cloud.dataform.v1alpha2.RelationDescriptor.getDefaultInstance() : relationDescriptor_;
+          return relationDescriptor_ == null
+              ? com.google.cloud.dataform.v1alpha2.RelationDescriptor.getDefaultInstance()
+              : relationDescriptor_;
         }
       }
       /**
+       *
+       *
        * 
        * Descriptor for the relation and its columns. Used as documentation only,
        * i.e. values here will result in no changes to the relation's metadata.
@@ -10686,18 +12311,22 @@ public com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder getRelatio
        * .google.cloud.dataform.v1alpha2.RelationDescriptor relation_descriptor = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.dataform.v1alpha2.RelationDescriptor, com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder, com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder> 
+              com.google.cloud.dataform.v1alpha2.RelationDescriptor,
+              com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder,
+              com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder>
           getRelationDescriptorFieldBuilder() {
         if (relationDescriptorBuilder_ == null) {
-          relationDescriptorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.dataform.v1alpha2.RelationDescriptor, com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder, com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder>(
-                  getRelationDescriptor(),
-                  getParentForChildren(),
-                  isClean());
+          relationDescriptorBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.cloud.dataform.v1alpha2.RelationDescriptor,
+                  com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder,
+                  com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder>(
+                  getRelationDescriptor(), getParentForChildren(), isClean());
           relationDescriptor_ = null;
         }
         return relationDescriptorBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -10710,30 +12339,33 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration)
-    private static final com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration DEFAULT_INSTANCE;
+    private static final com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration
+        DEFAULT_INSTANCE;
+
     static {
-      DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration();
+      DEFAULT_INSTANCE =
+          new com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration();
     }
 
-    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration getDefaultInstance() {
+    public static com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration
+        getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public Declaration parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new Declaration(input, extensionRegistry);
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public Declaration parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            return new Declaration(input, extensionRegistry);
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -10745,16 +12377,18 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration getDefaultInstanceForType() {
+    public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration
+        getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   private int compiledObjectCase_ = 0;
   private java.lang.Object compiledObject_;
+
   public enum CompiledObjectCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     RELATION(4),
     OPERATIONS(5),
@@ -10762,6 +12396,7 @@ public enum CompiledObjectCase
     DECLARATION(7),
     COMPILEDOBJECT_NOT_SET(0);
     private final int value;
+
     private CompiledObjectCase(int value) {
       this.value = value;
     }
@@ -10777,33 +12412,41 @@ public static CompiledObjectCase valueOf(int value) {
 
     public static CompiledObjectCase forNumber(int value) {
       switch (value) {
-        case 4: return RELATION;
-        case 5: return OPERATIONS;
-        case 6: return ASSERTION;
-        case 7: return DECLARATION;
-        case 0: return COMPILEDOBJECT_NOT_SET;
-        default: return null;
+        case 4:
+          return RELATION;
+        case 5:
+          return OPERATIONS;
+        case 6:
+          return ASSERTION;
+        case 7:
+          return DECLARATION;
+        case 0:
+          return COMPILEDOBJECT_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public CompiledObjectCase
-  getCompiledObjectCase() {
-    return CompiledObjectCase.forNumber(
-        compiledObjectCase_);
+  public CompiledObjectCase getCompiledObjectCase() {
+    return CompiledObjectCase.forNumber(compiledObjectCase_);
   }
 
   public static final int TARGET_FIELD_NUMBER = 1;
   private com.google.cloud.dataform.v1alpha2.Target target_;
   /**
+   *
+   *
    * 
    * This action's identifier. Unique within the compilation result.
    * 
* * .google.cloud.dataform.v1alpha2.Target target = 1; + * * @return Whether the target field is set. */ @java.lang.Override @@ -10811,18 +12454,25 @@ public boolean hasTarget() { return target_ != null; } /** + * + * *
    * This action's identifier. Unique within the compilation result.
    * 
* * .google.cloud.dataform.v1alpha2.Target target = 1; + * * @return The target. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.Target getTarget() { - return target_ == null ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() : target_; + return target_ == null + ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() + : target_; } /** + * + * *
    * This action's identifier. Unique within the compilation result.
    * 
@@ -10837,12 +12487,15 @@ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getTargetOrBuilder() { public static final int CANONICAL_TARGET_FIELD_NUMBER = 2; private com.google.cloud.dataform.v1alpha2.Target canonicalTarget_; /** + * + * *
    * The action's identifier if the project had been compiled without any
    * overrides configured. Unique within the compilation result.
    * 
* * .google.cloud.dataform.v1alpha2.Target canonical_target = 2; + * * @return Whether the canonicalTarget field is set. */ @java.lang.Override @@ -10850,19 +12503,26 @@ public boolean hasCanonicalTarget() { return canonicalTarget_ != null; } /** + * + * *
    * The action's identifier if the project had been compiled without any
    * overrides configured. Unique within the compilation result.
    * 
* * .google.cloud.dataform.v1alpha2.Target canonical_target = 2; + * * @return The canonicalTarget. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.Target getCanonicalTarget() { - return canonicalTarget_ == null ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() : canonicalTarget_; + return canonicalTarget_ == null + ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() + : canonicalTarget_; } /** + * + * *
    * The action's identifier if the project had been compiled without any
    * overrides configured. Unique within the compilation result.
@@ -10878,12 +12538,15 @@ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getCanonicalTargetOrBu
   public static final int FILE_PATH_FIELD_NUMBER = 3;
   private volatile java.lang.Object filePath_;
   /**
+   *
+   *
    * 
    * The full path including filename in which this action is located, relative
    * to the workspace root.
    * 
* * string file_path = 3; + * * @return The filePath. */ @java.lang.Override @@ -10892,30 +12555,30 @@ public java.lang.String getFilePath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filePath_ = s; return s; } } /** + * + * *
    * The full path including filename in which this action is located, relative
    * to the workspace root.
    * 
* * string file_path = 3; + * * @return The bytes for filePath. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilePathBytes() { + public com.google.protobuf.ByteString getFilePathBytes() { java.lang.Object ref = filePath_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filePath_ = b; return b; } else { @@ -10925,11 +12588,14 @@ public java.lang.String getFilePath() { public static final int RELATION_FIELD_NUMBER = 4; /** + * + * *
    * The database relation created/updated by this action.
    * 
* * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation relation = 4; + * * @return Whether the relation field is set. */ @java.lang.Override @@ -10937,21 +12603,26 @@ public boolean hasRelation() { return compiledObjectCase_ == 4; } /** + * + * *
    * The database relation created/updated by this action.
    * 
* * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation relation = 4; + * * @return The relation. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation getRelation() { if (compiledObjectCase_ == 4) { - return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) compiledObject_; + return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) compiledObject_; } return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.getDefaultInstance(); } /** + * + * *
    * The database relation created/updated by this action.
    * 
@@ -10959,20 +12630,24 @@ public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation getRe * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation relation = 4; */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.RelationOrBuilder getRelationOrBuilder() { + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.RelationOrBuilder + getRelationOrBuilder() { if (compiledObjectCase_ == 4) { - return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) compiledObject_; + return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) compiledObject_; } return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.getDefaultInstance(); } public static final int OPERATIONS_FIELD_NUMBER = 5; /** + * + * *
    * The database operations executed by this action.
    * 
* * .google.cloud.dataform.v1alpha2.CompilationResultAction.Operations operations = 5; + * * @return Whether the operations field is set. */ @java.lang.Override @@ -10980,21 +12655,28 @@ public boolean hasOperations() { return compiledObjectCase_ == 5; } /** + * + * *
    * The database operations executed by this action.
    * 
* * .google.cloud.dataform.v1alpha2.CompilationResultAction.Operations operations = 5; + * * @return The operations. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations getOperations() { if (compiledObjectCase_ == 5) { - return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) compiledObject_; + return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) + compiledObject_; } - return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.getDefaultInstance(); + return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations + .getDefaultInstance(); } /** + * + * *
    * The database operations executed by this action.
    * 
@@ -11002,20 +12684,26 @@ public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations get * .google.cloud.dataform.v1alpha2.CompilationResultAction.Operations operations = 5; */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.OperationsOrBuilder getOperationsOrBuilder() { + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.OperationsOrBuilder + getOperationsOrBuilder() { if (compiledObjectCase_ == 5) { - return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) compiledObject_; + return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) + compiledObject_; } - return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.getDefaultInstance(); + return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations + .getDefaultInstance(); } public static final int ASSERTION_FIELD_NUMBER = 6; /** + * + * *
    * The assertion executed by this action.
    * 
* * .google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion assertion = 6; + * * @return Whether the assertion field is set. */ @java.lang.Override @@ -11023,21 +12711,27 @@ public boolean hasAssertion() { return compiledObjectCase_ == 6; } /** + * + * *
    * The assertion executed by this action.
    * 
* * .google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion assertion = 6; + * * @return The assertion. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion getAssertion() { if (compiledObjectCase_ == 6) { - return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion) compiledObject_; + return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion) compiledObject_; } - return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.getDefaultInstance(); + return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion + .getDefaultInstance(); } /** + * + * *
    * The assertion executed by this action.
    * 
@@ -11045,20 +12739,26 @@ public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion getA * .google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion assertion = 6; */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.AssertionOrBuilder getAssertionOrBuilder() { + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.AssertionOrBuilder + getAssertionOrBuilder() { if (compiledObjectCase_ == 6) { - return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion) compiledObject_; + return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion) compiledObject_; } - return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.getDefaultInstance(); + return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion + .getDefaultInstance(); } public static final int DECLARATION_FIELD_NUMBER = 7; /** + * + * *
    * The declaration declared by this action.
    * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; + * + * * @return Whether the declaration field is set. */ @java.lang.Override @@ -11066,36 +12766,49 @@ public boolean hasDeclaration() { return compiledObjectCase_ == 7; } /** + * + * *
    * The declaration declared by this action.
    * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; + * + * * @return The declaration. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration getDeclaration() { if (compiledObjectCase_ == 7) { - return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration) compiledObject_; + return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration) + compiledObject_; } - return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.getDefaultInstance(); + return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration + .getDefaultInstance(); } /** + * + * *
    * The declaration declared by this action.
    * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; + * */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.DeclarationOrBuilder getDeclarationOrBuilder() { + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.DeclarationOrBuilder + getDeclarationOrBuilder() { if (compiledObjectCase_ == 7) { - return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration) compiledObject_; + return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration) + compiledObject_; } - return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.getDefaultInstance(); + return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration + .getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -11107,8 +12820,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (target_ != null) { output.writeMessage(1, getTarget()); } @@ -11119,16 +12831,23 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 3, filePath_); } if (compiledObjectCase_ == 4) { - output.writeMessage(4, (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) compiledObject_); + output.writeMessage( + 4, (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) compiledObject_); } if (compiledObjectCase_ == 5) { - output.writeMessage(5, (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) compiledObject_); + output.writeMessage( + 5, + (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) compiledObject_); } if (compiledObjectCase_ == 6) { - output.writeMessage(6, (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion) compiledObject_); + output.writeMessage( + 6, + (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion) compiledObject_); } if (compiledObjectCase_ == 7) { - output.writeMessage(7, (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration) compiledObject_); + output.writeMessage( + 7, + (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration) compiledObject_); } unknownFields.writeTo(output); } @@ -11140,31 +12859,41 @@ public int getSerializedSize() { size = 0; if (target_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getTarget()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTarget()); } if (canonicalTarget_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCanonicalTarget()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCanonicalTarget()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filePath_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, filePath_); } if (compiledObjectCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) compiledObject_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, + (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) + compiledObject_); } if (compiledObjectCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) compiledObject_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, + (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) + compiledObject_); } if (compiledObjectCase_ == 6) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion) compiledObject_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, + (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion) + compiledObject_); } if (compiledObjectCase_ == 7) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration) compiledObject_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, + (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration) + compiledObject_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -11174,42 +12903,36 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.CompilationResultAction)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.CompilationResultAction other = (com.google.cloud.dataform.v1alpha2.CompilationResultAction) obj; + com.google.cloud.dataform.v1alpha2.CompilationResultAction other = + (com.google.cloud.dataform.v1alpha2.CompilationResultAction) obj; if (hasTarget() != other.hasTarget()) return false; if (hasTarget()) { - if (!getTarget() - .equals(other.getTarget())) return false; + if (!getTarget().equals(other.getTarget())) return false; } if (hasCanonicalTarget() != other.hasCanonicalTarget()) return false; if (hasCanonicalTarget()) { - if (!getCanonicalTarget() - .equals(other.getCanonicalTarget())) return false; + if (!getCanonicalTarget().equals(other.getCanonicalTarget())) return false; } - if (!getFilePath() - .equals(other.getFilePath())) return false; + if (!getFilePath().equals(other.getFilePath())) return false; if (!getCompiledObjectCase().equals(other.getCompiledObjectCase())) return false; switch (compiledObjectCase_) { case 4: - if (!getRelation() - .equals(other.getRelation())) return false; + if (!getRelation().equals(other.getRelation())) return false; break; case 5: - if (!getOperations() - .equals(other.getOperations())) return false; + if (!getOperations().equals(other.getOperations())) return false; break; case 6: - if (!getAssertion() - .equals(other.getAssertion())) return false; + if (!getAssertion().equals(other.getAssertion())) return false; break; case 7: - if (!getDeclaration() - .equals(other.getDeclaration())) return false; + if (!getDeclaration().equals(other.getDeclaration())) return false; break; case 0: default: @@ -11261,117 +12984,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.CompilationResultAction parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CompilationResultAction parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.CompilationResultAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.CompilationResultAction prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.CompilationResultAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents a single Dataform action in a compilation result.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.CompilationResultAction} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.CompilationResultAction) com.google.cloud.dataform.v1alpha2.CompilationResultActionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CompilationResultAction.class, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Builder.class); + com.google.cloud.dataform.v1alpha2.CompilationResultAction.class, + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.CompilationResultAction.newBuilder() @@ -11379,16 +13112,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -11412,9 +13144,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_descriptor; } @java.lang.Override @@ -11433,7 +13165,8 @@ public com.google.cloud.dataform.v1alpha2.CompilationResultAction build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.CompilationResultAction buildPartial() { - com.google.cloud.dataform.v1alpha2.CompilationResultAction result = new com.google.cloud.dataform.v1alpha2.CompilationResultAction(this); + com.google.cloud.dataform.v1alpha2.CompilationResultAction result = + new com.google.cloud.dataform.v1alpha2.CompilationResultAction(this); if (targetBuilder_ == null) { result.target_ = target_; } else { @@ -11482,38 +13215,39 @@ public com.google.cloud.dataform.v1alpha2.CompilationResultAction buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.CompilationResultAction) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.CompilationResultAction)other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.CompilationResultAction) other); } else { super.mergeFrom(other); return this; @@ -11521,7 +13255,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.CompilationResultAction other) { - if (other == com.google.cloud.dataform.v1alpha2.CompilationResultAction.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1alpha2.CompilationResultAction.getDefaultInstance()) + return this; if (other.hasTarget()) { mergeTarget(other.getTarget()); } @@ -11533,25 +13268,30 @@ public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.CompilationResultAct onChanged(); } switch (other.getCompiledObjectCase()) { - case RELATION: { - mergeRelation(other.getRelation()); - break; - } - case OPERATIONS: { - mergeOperations(other.getOperations()); - break; - } - case ASSERTION: { - mergeAssertion(other.getAssertion()); - break; - } - case DECLARATION: { - mergeDeclaration(other.getDeclaration()); - break; - } - case COMPILEDOBJECT_NOT_SET: { - break; - } + case RELATION: + { + mergeRelation(other.getRelation()); + break; + } + case OPERATIONS: + { + mergeOperations(other.getOperations()); + break; + } + case ASSERTION: + { + mergeAssertion(other.getAssertion()); + break; + } + case DECLARATION: + { + mergeDeclaration(other.getDeclaration()); + break; + } + case COMPILEDOBJECT_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -11572,7 +13312,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.CompilationResultAction) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.CompilationResultAction) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -11581,12 +13322,12 @@ public Builder mergeFrom( } return this; } + private int compiledObjectCase_ = 0; private java.lang.Object compiledObject_; - public CompiledObjectCase - getCompiledObjectCase() { - return CompiledObjectCase.forNumber( - compiledObjectCase_); + + public CompiledObjectCase getCompiledObjectCase() { + return CompiledObjectCase.forNumber(compiledObjectCase_); } public Builder clearCompiledObject() { @@ -11596,37 +13337,49 @@ public Builder clearCompiledObject() { return this; } - private com.google.cloud.dataform.v1alpha2.Target target_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder> targetBuilder_; + com.google.cloud.dataform.v1alpha2.Target, + com.google.cloud.dataform.v1alpha2.Target.Builder, + com.google.cloud.dataform.v1alpha2.TargetOrBuilder> + targetBuilder_; /** + * + * *
      * This action's identifier. Unique within the compilation result.
      * 
* * .google.cloud.dataform.v1alpha2.Target target = 1; + * * @return Whether the target field is set. */ public boolean hasTarget() { return targetBuilder_ != null || target_ != null; } /** + * + * *
      * This action's identifier. Unique within the compilation result.
      * 
* * .google.cloud.dataform.v1alpha2.Target target = 1; + * * @return The target. */ public com.google.cloud.dataform.v1alpha2.Target getTarget() { if (targetBuilder_ == null) { - return target_ == null ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() : target_; + return target_ == null + ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() + : target_; } else { return targetBuilder_.getMessage(); } } /** + * + * *
      * This action's identifier. Unique within the compilation result.
      * 
@@ -11647,14 +13400,15 @@ public Builder setTarget(com.google.cloud.dataform.v1alpha2.Target value) { return this; } /** + * + * *
      * This action's identifier. Unique within the compilation result.
      * 
* * .google.cloud.dataform.v1alpha2.Target target = 1; */ - public Builder setTarget( - com.google.cloud.dataform.v1alpha2.Target.Builder builderForValue) { + public Builder setTarget(com.google.cloud.dataform.v1alpha2.Target.Builder builderForValue) { if (targetBuilder_ == null) { target_ = builderForValue.build(); onChanged(); @@ -11665,6 +13419,8 @@ public Builder setTarget( return this; } /** + * + * *
      * This action's identifier. Unique within the compilation result.
      * 
@@ -11675,7 +13431,9 @@ public Builder mergeTarget(com.google.cloud.dataform.v1alpha2.Target value) { if (targetBuilder_ == null) { if (target_ != null) { target_ = - com.google.cloud.dataform.v1alpha2.Target.newBuilder(target_).mergeFrom(value).buildPartial(); + com.google.cloud.dataform.v1alpha2.Target.newBuilder(target_) + .mergeFrom(value) + .buildPartial(); } else { target_ = value; } @@ -11687,6 +13445,8 @@ public Builder mergeTarget(com.google.cloud.dataform.v1alpha2.Target value) { return this; } /** + * + * *
      * This action's identifier. Unique within the compilation result.
      * 
@@ -11705,6 +13465,8 @@ public Builder clearTarget() { return this; } /** + * + * *
      * This action's identifier. Unique within the compilation result.
      * 
@@ -11712,11 +13474,13 @@ public Builder clearTarget() { * .google.cloud.dataform.v1alpha2.Target target = 1; */ public com.google.cloud.dataform.v1alpha2.Target.Builder getTargetBuilder() { - + onChanged(); return getTargetFieldBuilder().getBuilder(); } /** + * + * *
      * This action's identifier. Unique within the compilation result.
      * 
@@ -11727,11 +13491,14 @@ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getTargetOrBuilder() { if (targetBuilder_ != null) { return targetBuilder_.getMessageOrBuilder(); } else { - return target_ == null ? - com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() : target_; + return target_ == null + ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() + : target_; } } /** + * + * *
      * This action's identifier. Unique within the compilation result.
      * 
@@ -11739,14 +13506,17 @@ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getTargetOrBuilder() { * .google.cloud.dataform.v1alpha2.Target target = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder> + com.google.cloud.dataform.v1alpha2.Target, + com.google.cloud.dataform.v1alpha2.Target.Builder, + com.google.cloud.dataform.v1alpha2.TargetOrBuilder> getTargetFieldBuilder() { if (targetBuilder_ == null) { - targetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder>( - getTarget(), - getParentForChildren(), - isClean()); + targetBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.Target, + com.google.cloud.dataform.v1alpha2.Target.Builder, + com.google.cloud.dataform.v1alpha2.TargetOrBuilder>( + getTarget(), getParentForChildren(), isClean()); target_ = null; } return targetBuilder_; @@ -11754,36 +13524,49 @@ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getTargetOrBuilder() { private com.google.cloud.dataform.v1alpha2.Target canonicalTarget_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder> canonicalTargetBuilder_; + com.google.cloud.dataform.v1alpha2.Target, + com.google.cloud.dataform.v1alpha2.Target.Builder, + com.google.cloud.dataform.v1alpha2.TargetOrBuilder> + canonicalTargetBuilder_; /** + * + * *
      * The action's identifier if the project had been compiled without any
      * overrides configured. Unique within the compilation result.
      * 
* * .google.cloud.dataform.v1alpha2.Target canonical_target = 2; + * * @return Whether the canonicalTarget field is set. */ public boolean hasCanonicalTarget() { return canonicalTargetBuilder_ != null || canonicalTarget_ != null; } /** + * + * *
      * The action's identifier if the project had been compiled without any
      * overrides configured. Unique within the compilation result.
      * 
* * .google.cloud.dataform.v1alpha2.Target canonical_target = 2; + * * @return The canonicalTarget. */ public com.google.cloud.dataform.v1alpha2.Target getCanonicalTarget() { if (canonicalTargetBuilder_ == null) { - return canonicalTarget_ == null ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() : canonicalTarget_; + return canonicalTarget_ == null + ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() + : canonicalTarget_; } else { return canonicalTargetBuilder_.getMessage(); } } /** + * + * *
      * The action's identifier if the project had been compiled without any
      * overrides configured. Unique within the compilation result.
@@ -11805,6 +13588,8 @@ public Builder setCanonicalTarget(com.google.cloud.dataform.v1alpha2.Target valu
       return this;
     }
     /**
+     *
+     *
      * 
      * The action's identifier if the project had been compiled without any
      * overrides configured. Unique within the compilation result.
@@ -11824,6 +13609,8 @@ public Builder setCanonicalTarget(
       return this;
     }
     /**
+     *
+     *
      * 
      * The action's identifier if the project had been compiled without any
      * overrides configured. Unique within the compilation result.
@@ -11835,7 +13622,9 @@ public Builder mergeCanonicalTarget(com.google.cloud.dataform.v1alpha2.Target va
       if (canonicalTargetBuilder_ == null) {
         if (canonicalTarget_ != null) {
           canonicalTarget_ =
-            com.google.cloud.dataform.v1alpha2.Target.newBuilder(canonicalTarget_).mergeFrom(value).buildPartial();
+              com.google.cloud.dataform.v1alpha2.Target.newBuilder(canonicalTarget_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           canonicalTarget_ = value;
         }
@@ -11847,6 +13636,8 @@ public Builder mergeCanonicalTarget(com.google.cloud.dataform.v1alpha2.Target va
       return this;
     }
     /**
+     *
+     *
      * 
      * The action's identifier if the project had been compiled without any
      * overrides configured. Unique within the compilation result.
@@ -11866,6 +13657,8 @@ public Builder clearCanonicalTarget() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The action's identifier if the project had been compiled without any
      * overrides configured. Unique within the compilation result.
@@ -11874,11 +13667,13 @@ public Builder clearCanonicalTarget() {
      * .google.cloud.dataform.v1alpha2.Target canonical_target = 2;
      */
     public com.google.cloud.dataform.v1alpha2.Target.Builder getCanonicalTargetBuilder() {
-      
+
       onChanged();
       return getCanonicalTargetFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The action's identifier if the project had been compiled without any
      * overrides configured. Unique within the compilation result.
@@ -11890,11 +13685,14 @@ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getCanonicalTargetOrBu
       if (canonicalTargetBuilder_ != null) {
         return canonicalTargetBuilder_.getMessageOrBuilder();
       } else {
-        return canonicalTarget_ == null ?
-            com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() : canonicalTarget_;
+        return canonicalTarget_ == null
+            ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance()
+            : canonicalTarget_;
       }
     }
     /**
+     *
+     *
      * 
      * The action's identifier if the project had been compiled without any
      * overrides configured. Unique within the compilation result.
@@ -11903,14 +13701,17 @@ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getCanonicalTargetOrBu
      * .google.cloud.dataform.v1alpha2.Target canonical_target = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder> 
+            com.google.cloud.dataform.v1alpha2.Target,
+            com.google.cloud.dataform.v1alpha2.Target.Builder,
+            com.google.cloud.dataform.v1alpha2.TargetOrBuilder>
         getCanonicalTargetFieldBuilder() {
       if (canonicalTargetBuilder_ == null) {
-        canonicalTargetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder>(
-                getCanonicalTarget(),
-                getParentForChildren(),
-                isClean());
+        canonicalTargetBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.dataform.v1alpha2.Target,
+                com.google.cloud.dataform.v1alpha2.Target.Builder,
+                com.google.cloud.dataform.v1alpha2.TargetOrBuilder>(
+                getCanonicalTarget(), getParentForChildren(), isClean());
         canonicalTarget_ = null;
       }
       return canonicalTargetBuilder_;
@@ -11918,19 +13719,21 @@ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getCanonicalTargetOrBu
 
     private java.lang.Object filePath_ = "";
     /**
+     *
+     *
      * 
      * The full path including filename in which this action is located, relative
      * to the workspace root.
      * 
* * string file_path = 3; + * * @return The filePath. */ public java.lang.String getFilePath() { java.lang.Object ref = filePath_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filePath_ = s; return s; @@ -11939,21 +13742,22 @@ public java.lang.String getFilePath() { } } /** + * + * *
      * The full path including filename in which this action is located, relative
      * to the workspace root.
      * 
* * string file_path = 3; + * * @return The bytes for filePath. */ - public com.google.protobuf.ByteString - getFilePathBytes() { + public com.google.protobuf.ByteString getFilePathBytes() { java.lang.Object ref = filePath_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filePath_ = b; return b; } else { @@ -11961,70 +13765,83 @@ public java.lang.String getFilePath() { } } /** + * + * *
      * The full path including filename in which this action is located, relative
      * to the workspace root.
      * 
* * string file_path = 3; + * * @param value The filePath to set. * @return This builder for chaining. */ - public Builder setFilePath( - java.lang.String value) { + public Builder setFilePath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filePath_ = value; onChanged(); return this; } /** + * + * *
      * The full path including filename in which this action is located, relative
      * to the workspace root.
      * 
* * string file_path = 3; + * * @return This builder for chaining. */ public Builder clearFilePath() { - + filePath_ = getDefaultInstance().getFilePath(); onChanged(); return this; } /** + * + * *
      * The full path including filename in which this action is located, relative
      * to the workspace root.
      * 
* * string file_path = 3; + * * @param value The bytes for filePath to set. * @return This builder for chaining. */ - public Builder setFilePathBytes( - com.google.protobuf.ByteString value) { + public Builder setFilePathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filePath_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.Builder, com.google.cloud.dataform.v1alpha2.CompilationResultAction.RelationOrBuilder> relationBuilder_; + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation, + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.Builder, + com.google.cloud.dataform.v1alpha2.CompilationResultAction.RelationOrBuilder> + relationBuilder_; /** + * + * *
      * The database relation created/updated by this action.
      * 
* * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation relation = 4; + * * @return Whether the relation field is set. */ @java.lang.Override @@ -12032,35 +13849,44 @@ public boolean hasRelation() { return compiledObjectCase_ == 4; } /** + * + * *
      * The database relation created/updated by this action.
      * 
* * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation relation = 4; + * * @return The relation. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation getRelation() { if (relationBuilder_ == null) { if (compiledObjectCase_ == 4) { - return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) compiledObject_; + return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) + compiledObject_; } - return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.getDefaultInstance(); + return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .getDefaultInstance(); } else { if (compiledObjectCase_ == 4) { return relationBuilder_.getMessage(); } - return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.getDefaultInstance(); + return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .getDefaultInstance(); } } /** + * + * *
      * The database relation created/updated by this action.
      * 
* * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation relation = 4; */ - public Builder setRelation(com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation value) { + public Builder setRelation( + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation value) { if (relationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -12074,6 +13900,8 @@ public Builder setRelation(com.google.cloud.dataform.v1alpha2.CompilationResultA return this; } /** + * + * *
      * The database relation created/updated by this action.
      * 
@@ -12081,7 +13909,8 @@ public Builder setRelation(com.google.cloud.dataform.v1alpha2.CompilationResultA * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation relation = 4; */ public Builder setRelation( - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.Builder builderForValue) { + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.Builder + builderForValue) { if (relationBuilder_ == null) { compiledObject_ = builderForValue.build(); onChanged(); @@ -12092,18 +13921,27 @@ public Builder setRelation( return this; } /** + * + * *
      * The database relation created/updated by this action.
      * 
* * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation relation = 4; */ - public Builder mergeRelation(com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation value) { + public Builder mergeRelation( + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation value) { if (relationBuilder_ == null) { - if (compiledObjectCase_ == 4 && - compiledObject_ != com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.getDefaultInstance()) { - compiledObject_ = com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.newBuilder((com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) compiledObject_) - .mergeFrom(value).buildPartial(); + if (compiledObjectCase_ == 4 + && compiledObject_ + != com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .getDefaultInstance()) { + compiledObject_ = + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.newBuilder( + (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) + compiledObject_) + .mergeFrom(value) + .buildPartial(); } else { compiledObject_ = value; } @@ -12119,6 +13957,8 @@ public Builder mergeRelation(com.google.cloud.dataform.v1alpha2.CompilationResul return this; } /** + * + * *
      * The database relation created/updated by this action.
      * 
@@ -12142,16 +13982,21 @@ public Builder clearRelation() { return this; } /** + * + * *
      * The database relation created/updated by this action.
      * 
* * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation relation = 4; */ - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.Builder getRelationBuilder() { + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.Builder + getRelationBuilder() { return getRelationFieldBuilder().getBuilder(); } /** + * + * *
      * The database relation created/updated by this action.
      * 
@@ -12159,17 +14004,22 @@ public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.Build * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation relation = 4; */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.RelationOrBuilder getRelationOrBuilder() { + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.RelationOrBuilder + getRelationOrBuilder() { if ((compiledObjectCase_ == 4) && (relationBuilder_ != null)) { return relationBuilder_.getMessageOrBuilder(); } else { if (compiledObjectCase_ == 4) { - return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) compiledObject_; + return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) + compiledObject_; } - return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.getDefaultInstance(); + return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .getDefaultInstance(); } } /** + * + * *
      * The database relation created/updated by this action.
      * 
@@ -12177,32 +14027,48 @@ public com.google.cloud.dataform.v1alpha2.CompilationResultAction.RelationOrBuil * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation relation = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.Builder, com.google.cloud.dataform.v1alpha2.CompilationResultAction.RelationOrBuilder> + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation, + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.Builder, + com.google.cloud.dataform.v1alpha2.CompilationResultAction.RelationOrBuilder> getRelationFieldBuilder() { if (relationBuilder_ == null) { if (!(compiledObjectCase_ == 4)) { - compiledObject_ = com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.getDefaultInstance(); - } - relationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.Builder, com.google.cloud.dataform.v1alpha2.CompilationResultAction.RelationOrBuilder>( - (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) compiledObject_, + compiledObject_ = + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation + .getDefaultInstance(); + } + relationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation, + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation.Builder, + com.google.cloud.dataform.v1alpha2.CompilationResultAction.RelationOrBuilder>( + (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation) + compiledObject_, getParentForChildren(), isClean()); compiledObject_ = null; } compiledObjectCase_ = 4; - onChanged();; + onChanged(); + ; return relationBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.Builder, com.google.cloud.dataform.v1alpha2.CompilationResultAction.OperationsOrBuilder> operationsBuilder_; + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations, + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.Builder, + com.google.cloud.dataform.v1alpha2.CompilationResultAction.OperationsOrBuilder> + operationsBuilder_; /** + * + * *
      * The database operations executed by this action.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Operations operations = 5; + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Operations operations = 5; + * + * * @return Whether the operations field is set. */ @java.lang.Override @@ -12210,35 +14076,46 @@ public boolean hasOperations() { return compiledObjectCase_ == 5; } /** + * + * *
      * The database operations executed by this action.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Operations operations = 5; + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Operations operations = 5; + * + * * @return The operations. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations getOperations() { if (operationsBuilder_ == null) { if (compiledObjectCase_ == 5) { - return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) compiledObject_; + return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) + compiledObject_; } - return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.getDefaultInstance(); + return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations + .getDefaultInstance(); } else { if (compiledObjectCase_ == 5) { return operationsBuilder_.getMessage(); } - return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.getDefaultInstance(); + return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations + .getDefaultInstance(); } } /** + * + * *
      * The database operations executed by this action.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Operations operations = 5; + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Operations operations = 5; + * */ - public Builder setOperations(com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations value) { + public Builder setOperations( + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations value) { if (operationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -12252,14 +14129,18 @@ public Builder setOperations(com.google.cloud.dataform.v1alpha2.CompilationResul return this; } /** + * + * *
      * The database operations executed by this action.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Operations operations = 5; + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Operations operations = 5; + * */ public Builder setOperations( - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.Builder builderForValue) { + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.Builder + builderForValue) { if (operationsBuilder_ == null) { compiledObject_ = builderForValue.build(); onChanged(); @@ -12270,18 +14151,28 @@ public Builder setOperations( return this; } /** + * + * *
      * The database operations executed by this action.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Operations operations = 5; + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Operations operations = 5; + * */ - public Builder mergeOperations(com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations value) { + public Builder mergeOperations( + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations value) { if (operationsBuilder_ == null) { - if (compiledObjectCase_ == 5 && - compiledObject_ != com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.getDefaultInstance()) { - compiledObject_ = com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.newBuilder((com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) compiledObject_) - .mergeFrom(value).buildPartial(); + if (compiledObjectCase_ == 5 + && compiledObject_ + != com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations + .getDefaultInstance()) { + compiledObject_ = + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.newBuilder( + (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) + compiledObject_) + .mergeFrom(value) + .buildPartial(); } else { compiledObject_ = value; } @@ -12297,11 +14188,14 @@ public Builder mergeOperations(com.google.cloud.dataform.v1alpha2.CompilationRes return this; } /** + * + * *
      * The database operations executed by this action.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Operations operations = 5; + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Operations operations = 5; + * */ public Builder clearOperations() { if (operationsBuilder_ == null) { @@ -12320,67 +14214,95 @@ public Builder clearOperations() { return this; } /** + * + * *
      * The database operations executed by this action.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Operations operations = 5; + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Operations operations = 5; + * */ - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.Builder getOperationsBuilder() { + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.Builder + getOperationsBuilder() { return getOperationsFieldBuilder().getBuilder(); } /** + * + * *
      * The database operations executed by this action.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Operations operations = 5; + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Operations operations = 5; + * */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.OperationsOrBuilder getOperationsOrBuilder() { + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.OperationsOrBuilder + getOperationsOrBuilder() { if ((compiledObjectCase_ == 5) && (operationsBuilder_ != null)) { return operationsBuilder_.getMessageOrBuilder(); } else { if (compiledObjectCase_ == 5) { - return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) compiledObject_; + return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) + compiledObject_; } - return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.getDefaultInstance(); + return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations + .getDefaultInstance(); } } /** + * + * *
      * The database operations executed by this action.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Operations operations = 5; + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Operations operations = 5; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.Builder, com.google.cloud.dataform.v1alpha2.CompilationResultAction.OperationsOrBuilder> + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations, + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.Builder, + com.google.cloud.dataform.v1alpha2.CompilationResultAction.OperationsOrBuilder> getOperationsFieldBuilder() { if (operationsBuilder_ == null) { if (!(compiledObjectCase_ == 5)) { - compiledObject_ = com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.getDefaultInstance(); - } - operationsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.Builder, com.google.cloud.dataform.v1alpha2.CompilationResultAction.OperationsOrBuilder>( - (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) compiledObject_, + compiledObject_ = + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations + .getDefaultInstance(); + } + operationsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations, + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations.Builder, + com.google.cloud.dataform.v1alpha2.CompilationResultAction.OperationsOrBuilder>( + (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations) + compiledObject_, getParentForChildren(), isClean()); compiledObject_ = null; } compiledObjectCase_ = 5; - onChanged();; + onChanged(); + ; return operationsBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.Builder, com.google.cloud.dataform.v1alpha2.CompilationResultAction.AssertionOrBuilder> assertionBuilder_; + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion, + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.Builder, + com.google.cloud.dataform.v1alpha2.CompilationResultAction.AssertionOrBuilder> + assertionBuilder_; /** + * + * *
      * The assertion executed by this action.
      * 
* * .google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion assertion = 6; + * * @return Whether the assertion field is set. */ @java.lang.Override @@ -12388,35 +14310,44 @@ public boolean hasAssertion() { return compiledObjectCase_ == 6; } /** + * + * *
      * The assertion executed by this action.
      * 
* * .google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion assertion = 6; + * * @return The assertion. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion getAssertion() { if (assertionBuilder_ == null) { if (compiledObjectCase_ == 6) { - return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion) compiledObject_; + return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion) + compiledObject_; } - return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.getDefaultInstance(); + return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion + .getDefaultInstance(); } else { if (compiledObjectCase_ == 6) { return assertionBuilder_.getMessage(); } - return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.getDefaultInstance(); + return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion + .getDefaultInstance(); } } /** + * + * *
      * The assertion executed by this action.
      * 
* * .google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion assertion = 6; */ - public Builder setAssertion(com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion value) { + public Builder setAssertion( + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion value) { if (assertionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -12430,6 +14361,8 @@ public Builder setAssertion(com.google.cloud.dataform.v1alpha2.CompilationResult return this; } /** + * + * *
      * The assertion executed by this action.
      * 
@@ -12437,7 +14370,8 @@ public Builder setAssertion(com.google.cloud.dataform.v1alpha2.CompilationResult * .google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion assertion = 6; */ public Builder setAssertion( - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.Builder builderForValue) { + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.Builder + builderForValue) { if (assertionBuilder_ == null) { compiledObject_ = builderForValue.build(); onChanged(); @@ -12448,18 +14382,27 @@ public Builder setAssertion( return this; } /** + * + * *
      * The assertion executed by this action.
      * 
* * .google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion assertion = 6; */ - public Builder mergeAssertion(com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion value) { + public Builder mergeAssertion( + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion value) { if (assertionBuilder_ == null) { - if (compiledObjectCase_ == 6 && - compiledObject_ != com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.getDefaultInstance()) { - compiledObject_ = com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.newBuilder((com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion) compiledObject_) - .mergeFrom(value).buildPartial(); + if (compiledObjectCase_ == 6 + && compiledObject_ + != com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion + .getDefaultInstance()) { + compiledObject_ = + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.newBuilder( + (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion) + compiledObject_) + .mergeFrom(value) + .buildPartial(); } else { compiledObject_ = value; } @@ -12475,6 +14418,8 @@ public Builder mergeAssertion(com.google.cloud.dataform.v1alpha2.CompilationResu return this; } /** + * + * *
      * The assertion executed by this action.
      * 
@@ -12498,16 +14443,21 @@ public Builder clearAssertion() { return this; } /** + * + * *
      * The assertion executed by this action.
      * 
* * .google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion assertion = 6; */ - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.Builder getAssertionBuilder() { + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.Builder + getAssertionBuilder() { return getAssertionFieldBuilder().getBuilder(); } /** + * + * *
      * The assertion executed by this action.
      * 
@@ -12515,17 +14465,22 @@ public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.Buil * .google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion assertion = 6; */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.AssertionOrBuilder getAssertionOrBuilder() { + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.AssertionOrBuilder + getAssertionOrBuilder() { if ((compiledObjectCase_ == 6) && (assertionBuilder_ != null)) { return assertionBuilder_.getMessageOrBuilder(); } else { if (compiledObjectCase_ == 6) { - return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion) compiledObject_; + return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion) + compiledObject_; } - return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.getDefaultInstance(); + return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion + .getDefaultInstance(); } } /** + * + * *
      * The assertion executed by this action.
      * 
@@ -12533,32 +14488,48 @@ public com.google.cloud.dataform.v1alpha2.CompilationResultAction.AssertionOrBui * .google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion assertion = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.Builder, com.google.cloud.dataform.v1alpha2.CompilationResultAction.AssertionOrBuilder> + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion, + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.Builder, + com.google.cloud.dataform.v1alpha2.CompilationResultAction.AssertionOrBuilder> getAssertionFieldBuilder() { if (assertionBuilder_ == null) { if (!(compiledObjectCase_ == 6)) { - compiledObject_ = com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.getDefaultInstance(); - } - assertionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.Builder, com.google.cloud.dataform.v1alpha2.CompilationResultAction.AssertionOrBuilder>( - (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion) compiledObject_, + compiledObject_ = + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion + .getDefaultInstance(); + } + assertionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion, + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion.Builder, + com.google.cloud.dataform.v1alpha2.CompilationResultAction.AssertionOrBuilder>( + (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion) + compiledObject_, getParentForChildren(), isClean()); compiledObject_ = null; } compiledObjectCase_ = 6; - onChanged();; + onChanged(); + ; return assertionBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.Builder, com.google.cloud.dataform.v1alpha2.CompilationResultAction.DeclarationOrBuilder> declarationBuilder_; + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration, + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.Builder, + com.google.cloud.dataform.v1alpha2.CompilationResultAction.DeclarationOrBuilder> + declarationBuilder_; /** + * + * *
      * The declaration declared by this action.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; + * + * * @return Whether the declaration field is set. */ @java.lang.Override @@ -12566,35 +14537,46 @@ public boolean hasDeclaration() { return compiledObjectCase_ == 7; } /** + * + * *
      * The declaration declared by this action.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; + * + * * @return The declaration. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration getDeclaration() { if (declarationBuilder_ == null) { if (compiledObjectCase_ == 7) { - return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration) compiledObject_; + return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration) + compiledObject_; } - return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.getDefaultInstance(); + return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration + .getDefaultInstance(); } else { if (compiledObjectCase_ == 7) { return declarationBuilder_.getMessage(); } - return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.getDefaultInstance(); + return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration + .getDefaultInstance(); } } /** + * + * *
      * The declaration declared by this action.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; + * */ - public Builder setDeclaration(com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration value) { + public Builder setDeclaration( + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration value) { if (declarationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -12608,14 +14590,18 @@ public Builder setDeclaration(com.google.cloud.dataform.v1alpha2.CompilationResu return this; } /** + * + * *
      * The declaration declared by this action.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; + * */ public Builder setDeclaration( - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.Builder builderForValue) { + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.Builder + builderForValue) { if (declarationBuilder_ == null) { compiledObject_ = builderForValue.build(); onChanged(); @@ -12626,18 +14612,28 @@ public Builder setDeclaration( return this; } /** + * + * *
      * The declaration declared by this action.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; + * */ - public Builder mergeDeclaration(com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration value) { + public Builder mergeDeclaration( + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration value) { if (declarationBuilder_ == null) { - if (compiledObjectCase_ == 7 && - compiledObject_ != com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.getDefaultInstance()) { - compiledObject_ = com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.newBuilder((com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration) compiledObject_) - .mergeFrom(value).buildPartial(); + if (compiledObjectCase_ == 7 + && compiledObject_ + != com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration + .getDefaultInstance()) { + compiledObject_ = + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.newBuilder( + (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration) + compiledObject_) + .mergeFrom(value) + .buildPartial(); } else { compiledObject_ = value; } @@ -12653,11 +14649,14 @@ public Builder mergeDeclaration(com.google.cloud.dataform.v1alpha2.CompilationRe return this; } /** + * + * *
      * The declaration declared by this action.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; + * */ public Builder clearDeclaration() { if (declarationBuilder_ == null) { @@ -12676,61 +14675,83 @@ public Builder clearDeclaration() { return this; } /** + * + * *
      * The declaration declared by this action.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; + * */ - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.Builder getDeclarationBuilder() { + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.Builder + getDeclarationBuilder() { return getDeclarationFieldBuilder().getBuilder(); } /** + * + * *
      * The declaration declared by this action.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; + * */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.DeclarationOrBuilder getDeclarationOrBuilder() { + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.DeclarationOrBuilder + getDeclarationOrBuilder() { if ((compiledObjectCase_ == 7) && (declarationBuilder_ != null)) { return declarationBuilder_.getMessageOrBuilder(); } else { if (compiledObjectCase_ == 7) { - return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration) compiledObject_; + return (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration) + compiledObject_; } - return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.getDefaultInstance(); + return com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration + .getDefaultInstance(); } } /** + * + * *
      * The declaration declared by this action.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.Builder, com.google.cloud.dataform.v1alpha2.CompilationResultAction.DeclarationOrBuilder> + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration, + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.Builder, + com.google.cloud.dataform.v1alpha2.CompilationResultAction.DeclarationOrBuilder> getDeclarationFieldBuilder() { if (declarationBuilder_ == null) { if (!(compiledObjectCase_ == 7)) { - compiledObject_ = com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.getDefaultInstance(); - } - declarationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.Builder, com.google.cloud.dataform.v1alpha2.CompilationResultAction.DeclarationOrBuilder>( - (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration) compiledObject_, + compiledObject_ = + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration + .getDefaultInstance(); + } + declarationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration, + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration.Builder, + com.google.cloud.dataform.v1alpha2.CompilationResultAction.DeclarationOrBuilder>( + (com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration) + compiledObject_, getParentForChildren(), isClean()); compiledObject_ = null; } compiledObjectCase_ = 7; - onChanged();; + onChanged(); + ; return declarationBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -12740,12 +14761,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.CompilationResultAction) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.CompilationResultAction) private static final com.google.cloud.dataform.v1alpha2.CompilationResultAction DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.CompilationResultAction(); } @@ -12754,16 +14775,16 @@ public static com.google.cloud.dataform.v1alpha2.CompilationResultAction getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompilationResultAction parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CompilationResultAction(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompilationResultAction parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CompilationResultAction(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -12778,6 +14799,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.CompilationResultAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResultActionOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResultActionOrBuilder.java similarity index 81% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResultActionOrBuilder.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResultActionOrBuilder.java index 62361af..215c1a3 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResultActionOrBuilder.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResultActionOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface CompilationResultActionOrBuilder extends +public interface CompilationResultActionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.CompilationResultAction) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * This action's identifier. Unique within the compilation result.
    * 
* * .google.cloud.dataform.v1alpha2.Target target = 1; + * * @return Whether the target field is set. */ boolean hasTarget(); /** + * + * *
    * This action's identifier. Unique within the compilation result.
    * 
* * .google.cloud.dataform.v1alpha2.Target target = 1; + * * @return The target. */ com.google.cloud.dataform.v1alpha2.Target getTarget(); /** + * + * *
    * This action's identifier. Unique within the compilation result.
    * 
@@ -35,26 +59,34 @@ public interface CompilationResultActionOrBuilder extends com.google.cloud.dataform.v1alpha2.TargetOrBuilder getTargetOrBuilder(); /** + * + * *
    * The action's identifier if the project had been compiled without any
    * overrides configured. Unique within the compilation result.
    * 
* * .google.cloud.dataform.v1alpha2.Target canonical_target = 2; + * * @return Whether the canonicalTarget field is set. */ boolean hasCanonicalTarget(); /** + * + * *
    * The action's identifier if the project had been compiled without any
    * overrides configured. Unique within the compilation result.
    * 
* * .google.cloud.dataform.v1alpha2.Target canonical_target = 2; + * * @return The canonicalTarget. */ com.google.cloud.dataform.v1alpha2.Target getCanonicalTarget(); /** + * + * *
    * The action's identifier if the project had been compiled without any
    * overrides configured. Unique within the compilation result.
@@ -65,134 +97,179 @@ public interface CompilationResultActionOrBuilder extends
   com.google.cloud.dataform.v1alpha2.TargetOrBuilder getCanonicalTargetOrBuilder();
 
   /**
+   *
+   *
    * 
    * The full path including filename in which this action is located, relative
    * to the workspace root.
    * 
* * string file_path = 3; + * * @return The filePath. */ java.lang.String getFilePath(); /** + * + * *
    * The full path including filename in which this action is located, relative
    * to the workspace root.
    * 
* * string file_path = 3; + * * @return The bytes for filePath. */ - com.google.protobuf.ByteString - getFilePathBytes(); + com.google.protobuf.ByteString getFilePathBytes(); /** + * + * *
    * The database relation created/updated by this action.
    * 
* * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation relation = 4; + * * @return Whether the relation field is set. */ boolean hasRelation(); /** + * + * *
    * The database relation created/updated by this action.
    * 
* * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation relation = 4; + * * @return The relation. */ com.google.cloud.dataform.v1alpha2.CompilationResultAction.Relation getRelation(); /** + * + * *
    * The database relation created/updated by this action.
    * 
* * .google.cloud.dataform.v1alpha2.CompilationResultAction.Relation relation = 4; */ - com.google.cloud.dataform.v1alpha2.CompilationResultAction.RelationOrBuilder getRelationOrBuilder(); + com.google.cloud.dataform.v1alpha2.CompilationResultAction.RelationOrBuilder + getRelationOrBuilder(); /** + * + * *
    * The database operations executed by this action.
    * 
* * .google.cloud.dataform.v1alpha2.CompilationResultAction.Operations operations = 5; + * * @return Whether the operations field is set. */ boolean hasOperations(); /** + * + * *
    * The database operations executed by this action.
    * 
* * .google.cloud.dataform.v1alpha2.CompilationResultAction.Operations operations = 5; + * * @return The operations. */ com.google.cloud.dataform.v1alpha2.CompilationResultAction.Operations getOperations(); /** + * + * *
    * The database operations executed by this action.
    * 
* * .google.cloud.dataform.v1alpha2.CompilationResultAction.Operations operations = 5; */ - com.google.cloud.dataform.v1alpha2.CompilationResultAction.OperationsOrBuilder getOperationsOrBuilder(); + com.google.cloud.dataform.v1alpha2.CompilationResultAction.OperationsOrBuilder + getOperationsOrBuilder(); /** + * + * *
    * The assertion executed by this action.
    * 
* * .google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion assertion = 6; + * * @return Whether the assertion field is set. */ boolean hasAssertion(); /** + * + * *
    * The assertion executed by this action.
    * 
* * .google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion assertion = 6; + * * @return The assertion. */ com.google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion getAssertion(); /** + * + * *
    * The assertion executed by this action.
    * 
* * .google.cloud.dataform.v1alpha2.CompilationResultAction.Assertion assertion = 6; */ - com.google.cloud.dataform.v1alpha2.CompilationResultAction.AssertionOrBuilder getAssertionOrBuilder(); + com.google.cloud.dataform.v1alpha2.CompilationResultAction.AssertionOrBuilder + getAssertionOrBuilder(); /** + * + * *
    * The declaration declared by this action.
    * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; + * + * * @return Whether the declaration field is set. */ boolean hasDeclaration(); /** + * + * *
    * The declaration declared by this action.
    * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; + * + * * @return The declaration. */ com.google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration getDeclaration(); /** + * + * *
    * The declaration declared by this action.
    * 
* - * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; + * .google.cloud.dataform.v1alpha2.CompilationResultAction.Declaration declaration = 7; + * */ - com.google.cloud.dataform.v1alpha2.CompilationResultAction.DeclarationOrBuilder getDeclarationOrBuilder(); + com.google.cloud.dataform.v1alpha2.CompilationResultAction.DeclarationOrBuilder + getDeclarationOrBuilder(); - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.CompiledObjectCase getCompiledObjectCase(); + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.CompiledObjectCase + getCompiledObjectCase(); } diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResultName.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResultName.java similarity index 100% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResultName.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResultName.java diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResultOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResultOrBuilder.java similarity index 61% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResultOrBuilder.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResultOrBuilder.java index 7752489..db61aed 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResultOrBuilder.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CompilationResultOrBuilder.java @@ -1,33 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface CompilationResultOrBuilder extends +public interface CompilationResultOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.CompilationResult) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The compilation result's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The compilation result's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Immutable. Git commit/tag/branch name at which the repository should be compiled.
    * Must exist in the remote repository.
@@ -38,10 +61,13 @@ public interface CompilationResultOrBuilder extends
    * 
* * string git_commitish = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return Whether the gitCommitish field is set. */ boolean hasGitCommitish(); /** + * + * *
    * Immutable. Git commit/tag/branch name at which the repository should be compiled.
    * Must exist in the remote repository.
@@ -52,10 +78,13 @@ public interface CompilationResultOrBuilder extends
    * 
* * string git_commitish = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The gitCommitish. */ java.lang.String getGitCommitish(); /** + * + * *
    * Immutable. Git commit/tag/branch name at which the repository should be compiled.
    * Must exist in the remote repository.
@@ -66,136 +95,193 @@ public interface CompilationResultOrBuilder extends
    * 
* * string git_commitish = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for gitCommitish. */ - com.google.protobuf.ByteString - getGitCommitishBytes(); + com.google.protobuf.ByteString getGitCommitishBytes(); /** + * + * *
    * Immutable. The name of the workspace to compile. Must be in the format
    * `projects/*/locations/*/repositories/*/workspaces/*`.
    * 
* - * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return Whether the workspace field is set. */ boolean hasWorkspace(); /** + * + * *
    * Immutable. The name of the workspace to compile. Must be in the format
    * `projects/*/locations/*/repositories/*/workspaces/*`.
    * 
* - * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ java.lang.String getWorkspace(); /** + * + * *
    * Immutable. The name of the workspace to compile. Must be in the format
    * `projects/*/locations/*/repositories/*/workspaces/*`.
    * 
* - * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ - com.google.protobuf.ByteString - getWorkspaceBytes(); + com.google.protobuf.ByteString getWorkspaceBytes(); /** + * + * *
    * Immutable. If set, fields of `code_compilation_overrides` override the default
    * compilation settings that are specified in dataform.json.
    * 
* - * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return Whether the codeCompilationConfig field is set. */ boolean hasCodeCompilationConfig(); /** + * + * *
    * Immutable. If set, fields of `code_compilation_overrides` override the default
    * compilation settings that are specified in dataform.json.
    * 
* - * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The codeCompilationConfig. */ - com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig getCodeCompilationConfig(); + com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig + getCodeCompilationConfig(); /** + * + * *
    * Immutable. If set, fields of `code_compilation_overrides` override the default
    * compilation settings that are specified in dataform.json.
    * 
* - * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * */ - com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfigOrBuilder getCodeCompilationConfigOrBuilder(); + com.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfigOrBuilder + getCodeCompilationConfigOrBuilder(); /** + * + * *
    * Output only. The version of `@dataform/core` that was used for compilation.
    * 
* * string dataform_core_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The dataformCoreVersion. */ java.lang.String getDataformCoreVersion(); /** + * + * *
    * Output only. The version of `@dataform/core` that was used for compilation.
    * 
* * string dataform_core_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for dataformCoreVersion. */ - com.google.protobuf.ByteString - getDataformCoreVersionBytes(); + com.google.protobuf.ByteString getDataformCoreVersionBytes(); /** + * + * *
    * Output only. Errors encountered during project compilation.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getCompilationErrorsList(); /** + * + * *
    * Output only. Errors encountered during project compilation.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError getCompilationErrors(int index); + com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationError getCompilationErrors( + int index); /** + * + * *
    * Output only. Errors encountered during project compilation.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getCompilationErrorsCount(); /** + * + * *
    * Output only. Errors encountered during project compilation.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List< + ? extends com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationErrorOrBuilder> getCompilationErrorsOrBuilderList(); /** + * + * *
    * Output only. Errors encountered during project compilation.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationErrorOrBuilder getCompilationErrorsOrBuilder( - int index); + com.google.cloud.dataform.v1alpha2.CompilationResult.CompilationErrorOrBuilder + getCompilationErrorsOrBuilder(int index); public com.google.cloud.dataform.v1alpha2.CompilationResult.SourceCase getSourceCase(); } diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateCompilationResultRequest.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateCompilationResultRequest.java similarity index 59% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateCompilationResultRequest.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateCompilationResultRequest.java index f223aec..f609757 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateCompilationResultRequest.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateCompilationResultRequest.java @@ -1,40 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * `CreateCompilationResult` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.CreateCompilationResultRequest} */ -public final class CreateCompilationResultRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateCompilationResultRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.CreateCompilationResultRequest) CreateCompilationResultRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateCompilationResultRequest.newBuilder() to construct. - private CreateCompilationResultRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateCompilationResultRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateCompilationResultRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateCompilationResultRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateCompilationResultRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,32 +71,37 @@ private CreateCompilationResultRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.dataform.v1alpha2.CompilationResult.Builder subBuilder = null; - if (compilationResult_ != null) { - subBuilder = compilationResult_.toBuilder(); + parent_ = s; + break; } - compilationResult_ = input.readMessage(com.google.cloud.dataform.v1alpha2.CompilationResult.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(compilationResult_); - compilationResult_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.dataform.v1alpha2.CompilationResult.Builder subBuilder = null; + if (compilationResult_ != null) { + subBuilder = compilationResult_.toBuilder(); + } + compilationResult_ = + input.readMessage( + com.google.cloud.dataform.v1alpha2.CompilationResult.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(compilationResult_); + compilationResult_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -86,35 +109,42 @@ private CreateCompilationResultRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CreateCompilationResultRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CreateCompilationResultRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CreateCompilationResultRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CreateCompilationResultRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest.class, com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest.class, + com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The repository in which to create the compilation result. Must be in the
    * format `projects/*/locations/*/repositories/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -123,30 +153,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The repository in which to create the compilation result. Must be in the
    * format `projects/*/locations/*/repositories/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -157,11 +189,16 @@ public java.lang.String getParent() { public static final int COMPILATION_RESULT_FIELD_NUMBER = 2; private com.google.cloud.dataform.v1alpha2.CompilationResult compilationResult_; /** + * + * *
    * Required. The compilation result to create.
    * 
* - * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the compilationResult field is set. */ @java.lang.Override @@ -169,30 +206,43 @@ public boolean hasCompilationResult() { return compilationResult_ != null; } /** + * + * *
    * Required. The compilation result to create.
    * 
* - * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The compilationResult. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.CompilationResult getCompilationResult() { - return compilationResult_ == null ? com.google.cloud.dataform.v1alpha2.CompilationResult.getDefaultInstance() : compilationResult_; + return compilationResult_ == null + ? com.google.cloud.dataform.v1alpha2.CompilationResult.getDefaultInstance() + : compilationResult_; } /** + * + * *
    * Required. The compilation result to create.
    * 
* - * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResultOrBuilder getCompilationResultOrBuilder() { + public com.google.cloud.dataform.v1alpha2.CompilationResultOrBuilder + getCompilationResultOrBuilder() { return getCompilationResult(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,8 +254,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -225,8 +274,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (compilationResult_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCompilationResult()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCompilationResult()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -236,19 +284,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest other = (com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest) obj; + com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest other = + (com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasCompilationResult() != other.hasCompilationResult()) return false; if (hasCompilationResult()) { - if (!getCompilationResult() - .equals(other.getCompilationResult())) return false; + if (!getCompilationResult().equals(other.getCompilationResult())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -273,134 +320,145 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `CreateCompilationResult` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.CreateCompilationResultRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.CreateCompilationResultRequest) com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CreateCompilationResultRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CreateCompilationResultRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CreateCompilationResultRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CreateCompilationResultRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest.class, com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest.class, + com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest.Builder.class); } - // Construct using com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest.newBuilder() + // Construct using + // com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -416,13 +474,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CreateCompilationResultRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CreateCompilationResultRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest + getDefaultInstanceForType() { return com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest.getDefaultInstance(); } @@ -437,7 +496,8 @@ public com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest build() @java.lang.Override public com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest result = new com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest(this); + com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest result = + new com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest(this); result.parent_ = parent_; if (compilationResultBuilder_ == null) { result.compilationResult_ = compilationResult_; @@ -452,46 +512,50 @@ public com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest)other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest other) { + if (other + == com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -518,7 +582,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -530,19 +596,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The repository in which to create the compilation result. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -551,21 +621,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The repository in which to create the compilation result. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -573,57 +646,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The repository in which to create the compilation result. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The repository in which to create the compilation result. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The repository in which to create the compilation result. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -631,41 +717,61 @@ public Builder setParentBytes( private com.google.cloud.dataform.v1alpha2.CompilationResult compilationResult_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResult, com.google.cloud.dataform.v1alpha2.CompilationResult.Builder, com.google.cloud.dataform.v1alpha2.CompilationResultOrBuilder> compilationResultBuilder_; + com.google.cloud.dataform.v1alpha2.CompilationResult, + com.google.cloud.dataform.v1alpha2.CompilationResult.Builder, + com.google.cloud.dataform.v1alpha2.CompilationResultOrBuilder> + compilationResultBuilder_; /** + * + * *
      * Required. The compilation result to create.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the compilationResult field is set. */ public boolean hasCompilationResult() { return compilationResultBuilder_ != null || compilationResult_ != null; } /** + * + * *
      * Required. The compilation result to create.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The compilationResult. */ public com.google.cloud.dataform.v1alpha2.CompilationResult getCompilationResult() { if (compilationResultBuilder_ == null) { - return compilationResult_ == null ? com.google.cloud.dataform.v1alpha2.CompilationResult.getDefaultInstance() : compilationResult_; + return compilationResult_ == null + ? com.google.cloud.dataform.v1alpha2.CompilationResult.getDefaultInstance() + : compilationResult_; } else { return compilationResultBuilder_.getMessage(); } } /** + * + * *
      * Required. The compilation result to create.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setCompilationResult(com.google.cloud.dataform.v1alpha2.CompilationResult value) { + public Builder setCompilationResult( + com.google.cloud.dataform.v1alpha2.CompilationResult value) { if (compilationResultBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -679,11 +785,15 @@ public Builder setCompilationResult(com.google.cloud.dataform.v1alpha2.Compilati return this; } /** + * + * *
      * Required. The compilation result to create.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCompilationResult( com.google.cloud.dataform.v1alpha2.CompilationResult.Builder builderForValue) { @@ -697,17 +807,24 @@ public Builder setCompilationResult( return this; } /** + * + * *
      * Required. The compilation result to create.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeCompilationResult(com.google.cloud.dataform.v1alpha2.CompilationResult value) { + public Builder mergeCompilationResult( + com.google.cloud.dataform.v1alpha2.CompilationResult value) { if (compilationResultBuilder_ == null) { if (compilationResult_ != null) { compilationResult_ = - com.google.cloud.dataform.v1alpha2.CompilationResult.newBuilder(compilationResult_).mergeFrom(value).buildPartial(); + com.google.cloud.dataform.v1alpha2.CompilationResult.newBuilder(compilationResult_) + .mergeFrom(value) + .buildPartial(); } else { compilationResult_ = value; } @@ -719,11 +836,15 @@ public Builder mergeCompilationResult(com.google.cloud.dataform.v1alpha2.Compila return this; } /** + * + * *
      * Required. The compilation result to create.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearCompilationResult() { if (compilationResultBuilder_ == null) { @@ -737,55 +858,73 @@ public Builder clearCompilationResult() { return this; } /** + * + * *
      * Required. The compilation result to create.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.dataform.v1alpha2.CompilationResult.Builder getCompilationResultBuilder() { - + public com.google.cloud.dataform.v1alpha2.CompilationResult.Builder + getCompilationResultBuilder() { + onChanged(); return getCompilationResultFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The compilation result to create.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.dataform.v1alpha2.CompilationResultOrBuilder getCompilationResultOrBuilder() { + public com.google.cloud.dataform.v1alpha2.CompilationResultOrBuilder + getCompilationResultOrBuilder() { if (compilationResultBuilder_ != null) { return compilationResultBuilder_.getMessageOrBuilder(); } else { - return compilationResult_ == null ? - com.google.cloud.dataform.v1alpha2.CompilationResult.getDefaultInstance() : compilationResult_; + return compilationResult_ == null + ? com.google.cloud.dataform.v1alpha2.CompilationResult.getDefaultInstance() + : compilationResult_; } } /** + * + * *
      * Required. The compilation result to create.
      * 
* - * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResult, com.google.cloud.dataform.v1alpha2.CompilationResult.Builder, com.google.cloud.dataform.v1alpha2.CompilationResultOrBuilder> + com.google.cloud.dataform.v1alpha2.CompilationResult, + com.google.cloud.dataform.v1alpha2.CompilationResult.Builder, + com.google.cloud.dataform.v1alpha2.CompilationResultOrBuilder> getCompilationResultFieldBuilder() { if (compilationResultBuilder_ == null) { - compilationResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResult, com.google.cloud.dataform.v1alpha2.CompilationResult.Builder, com.google.cloud.dataform.v1alpha2.CompilationResultOrBuilder>( - getCompilationResult(), - getParentForChildren(), - isClean()); + compilationResultBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.CompilationResult, + com.google.cloud.dataform.v1alpha2.CompilationResult.Builder, + com.google.cloud.dataform.v1alpha2.CompilationResultOrBuilder>( + getCompilationResult(), getParentForChildren(), isClean()); compilationResult_ = null; } return compilationResultBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -795,30 +934,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.CreateCompilationResultRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.CreateCompilationResultRequest) - private static final com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest(); } - public static com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateCompilationResultRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateCompilationResultRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateCompilationResultRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateCompilationResultRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -830,9 +971,8 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.CreateCompilationResultRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateCompilationResultRequestOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateCompilationResultRequestOrBuilder.java new file mode 100644 index 0000000..05eb7b8 --- /dev/null +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateCompilationResultRequestOrBuilder.java @@ -0,0 +1,97 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1alpha2/dataform.proto + +package com.google.cloud.dataform.v1alpha2; + +public interface CreateCompilationResultRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.CreateCompilationResultRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The repository in which to create the compilation result. Must be in the
+   * format `projects/*/locations/*/repositories/*`.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. The repository in which to create the compilation result. Must be in the
+   * format `projects/*/locations/*/repositories/*`.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * Required. The compilation result to create.
+   * 
+ * + * + * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the compilationResult field is set. + */ + boolean hasCompilationResult(); + /** + * + * + *
+   * Required. The compilation result to create.
+   * 
+ * + * + * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The compilationResult. + */ + com.google.cloud.dataform.v1alpha2.CompilationResult getCompilationResult(); + /** + * + * + *
+   * Required. The compilation result to create.
+   * 
+ * + * + * .google.cloud.dataform.v1alpha2.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.dataform.v1alpha2.CompilationResultOrBuilder getCompilationResultOrBuilder(); +} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateRepositoryRequest.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateRepositoryRequest.java similarity index 65% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateRepositoryRequest.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateRepositoryRequest.java index 9a78505..5bdc998 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateRepositoryRequest.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateRepositoryRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * `CreateRepository` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.CreateRepositoryRequest} */ -public final class CreateRepositoryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.CreateRepositoryRequest) CreateRepositoryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateRepositoryRequest.newBuilder() to construct. private CreateRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateRepositoryRequest() { parent_ = ""; repositoryId_ = ""; @@ -26,16 +44,15 @@ private CreateRepositoryRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +71,43 @@ private CreateRepositoryRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.dataform.v1alpha2.Repository.Builder subBuilder = null; - if (repository_ != null) { - subBuilder = repository_.toBuilder(); - } - repository_ = input.readMessage(com.google.cloud.dataform.v1alpha2.Repository.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(repository_); - repository_ = subBuilder.buildPartial(); + parent_ = s; + break; } + case 18: + { + com.google.cloud.dataform.v1alpha2.Repository.Builder subBuilder = null; + if (repository_ != null) { + subBuilder = repository_.toBuilder(); + } + repository_ = + input.readMessage( + com.google.cloud.dataform.v1alpha2.Repository.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(repository_); + repository_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - repositoryId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + repositoryId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,35 +115,42 @@ private CreateRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CreateRepositoryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CreateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CreateRepositoryRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CreateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest.class, com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest.class, + com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The location in which to create the repository. Must be in the format
    * `projects/*/locations/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -130,30 +159,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The location in which to create the repository. Must be in the format
    * `projects/*/locations/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -164,11 +195,16 @@ public java.lang.String getParent() { public static final int REPOSITORY_FIELD_NUMBER = 2; private com.google.cloud.dataform.v1alpha2.Repository repository_; /** + * + * *
    * Required. The repository to create.
    * 
* - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the repository field is set. */ @java.lang.Override @@ -176,23 +212,34 @@ public boolean hasRepository() { return repository_ != null; } /** + * + * *
    * Required. The repository to create.
    * 
* - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The repository. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.Repository getRepository() { - return repository_ == null ? com.google.cloud.dataform.v1alpha2.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.cloud.dataform.v1alpha2.Repository.getDefaultInstance() + : repository_; } /** + * + * *
    * Required. The repository to create.
    * 
* - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder getRepositoryOrBuilder() { @@ -202,12 +249,15 @@ public com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder getRepositoryOrBui public static final int REPOSITORY_ID_FIELD_NUMBER = 3; private volatile java.lang.Object repositoryId_; /** + * + * *
    * Required. The ID to use for the repository, which will become the final component of
    * the repository's resource name.
    * 
* * string repository_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The repositoryId. */ @java.lang.Override @@ -216,30 +266,30 @@ public java.lang.String getRepositoryId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); repositoryId_ = s; return s; } } /** + * + * *
    * Required. The ID to use for the repository, which will become the final component of
    * the repository's resource name.
    * 
* * string repository_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for repositoryId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRepositoryIdBytes() { + public com.google.protobuf.ByteString getRepositoryIdBytes() { java.lang.Object ref = repositoryId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); repositoryId_ = b; return b; } else { @@ -248,6 +298,7 @@ public java.lang.String getRepositoryId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -259,8 +310,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -283,8 +333,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (repository_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getRepository()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRepository()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(repositoryId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, repositoryId_); @@ -297,22 +346,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest other = (com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest) obj; + com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest other = + (com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasRepository() != other.hasRepository()) return false; if (hasRepository()) { - if (!getRepository() - .equals(other.getRepository())) return false; + if (!getRepository().equals(other.getRepository())) return false; } - if (!getRepositoryId() - .equals(other.getRepositoryId())) return false; + if (!getRepositoryId().equals(other.getRepositoryId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -338,117 +385,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `CreateRepository` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.CreateRepositoryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.CreateRepositoryRequest) com.google.cloud.dataform.v1alpha2.CreateRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CreateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CreateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CreateRepositoryRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CreateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest.class, com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest.class, + com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest.newBuilder() @@ -456,16 +513,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -483,9 +539,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CreateRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CreateRepositoryRequest_descriptor; } @java.lang.Override @@ -504,7 +560,8 @@ public com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest result = new com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest(this); + com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest result = + new com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest(this); result.parent_ = parent_; if (repositoryBuilder_ == null) { result.repository_ = repository_; @@ -520,38 +577,39 @@ public com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest)other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest) other); } else { super.mergeFrom(other); return this; @@ -559,7 +617,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -590,7 +649,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -602,19 +662,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The location in which to create the repository. Must be in the format
      * `projects/*/locations/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -623,21 +687,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location in which to create the repository. Must be in the format
      * `projects/*/locations/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -645,57 +712,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location in which to create the repository. Must be in the format
      * `projects/*/locations/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The location in which to create the repository. Must be in the format
      * `projects/*/locations/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The location in which to create the repository. Must be in the format
      * `projects/*/locations/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -703,39 +783,58 @@ public Builder setParentBytes( private com.google.cloud.dataform.v1alpha2.Repository repository_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Repository, com.google.cloud.dataform.v1alpha2.Repository.Builder, com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder> repositoryBuilder_; + com.google.cloud.dataform.v1alpha2.Repository, + com.google.cloud.dataform.v1alpha2.Repository.Builder, + com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder> + repositoryBuilder_; /** + * + * *
      * Required. The repository to create.
      * 
* - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the repository field is set. */ public boolean hasRepository() { return repositoryBuilder_ != null || repository_ != null; } /** + * + * *
      * Required. The repository to create.
      * 
* - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The repository. */ public com.google.cloud.dataform.v1alpha2.Repository getRepository() { if (repositoryBuilder_ == null) { - return repository_ == null ? com.google.cloud.dataform.v1alpha2.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.cloud.dataform.v1alpha2.Repository.getDefaultInstance() + : repository_; } else { return repositoryBuilder_.getMessage(); } } /** + * + * *
      * Required. The repository to create.
      * 
* - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRepository(com.google.cloud.dataform.v1alpha2.Repository value) { if (repositoryBuilder_ == null) { @@ -751,11 +850,15 @@ public Builder setRepository(com.google.cloud.dataform.v1alpha2.Repository value return this; } /** + * + * *
      * Required. The repository to create.
      * 
* - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRepository( com.google.cloud.dataform.v1alpha2.Repository.Builder builderForValue) { @@ -769,17 +872,23 @@ public Builder setRepository( return this; } /** + * + * *
      * Required. The repository to create.
      * 
* - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeRepository(com.google.cloud.dataform.v1alpha2.Repository value) { if (repositoryBuilder_ == null) { if (repository_ != null) { repository_ = - com.google.cloud.dataform.v1alpha2.Repository.newBuilder(repository_).mergeFrom(value).buildPartial(); + com.google.cloud.dataform.v1alpha2.Repository.newBuilder(repository_) + .mergeFrom(value) + .buildPartial(); } else { repository_ = value; } @@ -791,11 +900,15 @@ public Builder mergeRepository(com.google.cloud.dataform.v1alpha2.Repository val return this; } /** + * + * *
      * Required. The repository to create.
      * 
* - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearRepository() { if (repositoryBuilder_ == null) { @@ -809,48 +922,64 @@ public Builder clearRepository() { return this; } /** + * + * *
      * Required. The repository to create.
      * 
* - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataform.v1alpha2.Repository.Builder getRepositoryBuilder() { - + onChanged(); return getRepositoryFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The repository to create.
      * 
* - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder getRepositoryOrBuilder() { if (repositoryBuilder_ != null) { return repositoryBuilder_.getMessageOrBuilder(); } else { - return repository_ == null ? - com.google.cloud.dataform.v1alpha2.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.cloud.dataform.v1alpha2.Repository.getDefaultInstance() + : repository_; } } /** + * + * *
      * Required. The repository to create.
      * 
* - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Repository, com.google.cloud.dataform.v1alpha2.Repository.Builder, com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder> + com.google.cloud.dataform.v1alpha2.Repository, + com.google.cloud.dataform.v1alpha2.Repository.Builder, + com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder> getRepositoryFieldBuilder() { if (repositoryBuilder_ == null) { - repositoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Repository, com.google.cloud.dataform.v1alpha2.Repository.Builder, com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder>( - getRepository(), - getParentForChildren(), - isClean()); + repositoryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.Repository, + com.google.cloud.dataform.v1alpha2.Repository.Builder, + com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder>( + getRepository(), getParentForChildren(), isClean()); repository_ = null; } return repositoryBuilder_; @@ -858,19 +987,21 @@ public com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder getRepositoryOrBui private java.lang.Object repositoryId_ = ""; /** + * + * *
      * Required. The ID to use for the repository, which will become the final component of
      * the repository's resource name.
      * 
* * string repository_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The repositoryId. */ public java.lang.String getRepositoryId() { java.lang.Object ref = repositoryId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); repositoryId_ = s; return s; @@ -879,21 +1010,22 @@ public java.lang.String getRepositoryId() { } } /** + * + * *
      * Required. The ID to use for the repository, which will become the final component of
      * the repository's resource name.
      * 
* * string repository_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for repositoryId. */ - public com.google.protobuf.ByteString - getRepositoryIdBytes() { + public com.google.protobuf.ByteString getRepositoryIdBytes() { java.lang.Object ref = repositoryId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); repositoryId_ = b; return b; } else { @@ -901,64 +1033,71 @@ public java.lang.String getRepositoryId() { } } /** + * + * *
      * Required. The ID to use for the repository, which will become the final component of
      * the repository's resource name.
      * 
* * string repository_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The repositoryId to set. * @return This builder for chaining. */ - public Builder setRepositoryId( - java.lang.String value) { + public Builder setRepositoryId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + repositoryId_ = value; onChanged(); return this; } /** + * + * *
      * Required. The ID to use for the repository, which will become the final component of
      * the repository's resource name.
      * 
* * string repository_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearRepositoryId() { - + repositoryId_ = getDefaultInstance().getRepositoryId(); onChanged(); return this; } /** + * + * *
      * Required. The ID to use for the repository, which will become the final component of
      * the repository's resource name.
      * 
* * string repository_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for repositoryId to set. * @return This builder for chaining. */ - public Builder setRepositoryIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRepositoryIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + repositoryId_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -968,12 +1107,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.CreateRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.CreateRepositoryRequest) private static final com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest(); } @@ -982,16 +1121,16 @@ public static com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1006,6 +1145,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.CreateRepositoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateRepositoryRequestOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateRepositoryRequestOrBuilder.java similarity index 54% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateRepositoryRequestOrBuilder.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateRepositoryRequestOrBuilder.java index 70bcd0a..c0fa263 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateRepositoryRequestOrBuilder.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateRepositoryRequestOrBuilder.java @@ -1,80 +1,124 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface CreateRepositoryRequestOrBuilder extends +public interface CreateRepositoryRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.CreateRepositoryRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The location in which to create the repository. Must be in the format
    * `projects/*/locations/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The location in which to create the repository. Must be in the format
    * `projects/*/locations/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The repository to create.
    * 
* - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the repository field is set. */ boolean hasRepository(); /** + * + * *
    * Required. The repository to create.
    * 
* - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The repository. */ com.google.cloud.dataform.v1alpha2.Repository getRepository(); /** + * + * *
    * Required. The repository to create.
    * 
* - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder getRepositoryOrBuilder(); /** + * + * *
    * Required. The ID to use for the repository, which will become the final component of
    * the repository's resource name.
    * 
* * string repository_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The repositoryId. */ java.lang.String getRepositoryId(); /** + * + * *
    * Required. The ID to use for the repository, which will become the final component of
    * the repository's resource name.
    * 
* * string repository_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for repositoryId. */ - com.google.protobuf.ByteString - getRepositoryIdBytes(); + com.google.protobuf.ByteString getRepositoryIdBytes(); } diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkflowInvocationRequest.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkflowInvocationRequest.java similarity index 58% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkflowInvocationRequest.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkflowInvocationRequest.java index fcd3a83..8e4959e 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkflowInvocationRequest.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkflowInvocationRequest.java @@ -1,40 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * `CreateWorkflowInvocation` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest} */ -public final class CreateWorkflowInvocationRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateWorkflowInvocationRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest) CreateWorkflowInvocationRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateWorkflowInvocationRequest.newBuilder() to construct. - private CreateWorkflowInvocationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateWorkflowInvocationRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateWorkflowInvocationRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateWorkflowInvocationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateWorkflowInvocationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,32 +71,37 @@ private CreateWorkflowInvocationRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder subBuilder = null; - if (workflowInvocation_ != null) { - subBuilder = workflowInvocation_.toBuilder(); + parent_ = s; + break; } - workflowInvocation_ = input.readMessage(com.google.cloud.dataform.v1alpha2.WorkflowInvocation.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(workflowInvocation_); - workflowInvocation_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder subBuilder = null; + if (workflowInvocation_ != null) { + subBuilder = workflowInvocation_.toBuilder(); + } + workflowInvocation_ = + input.readMessage( + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(workflowInvocation_); + workflowInvocation_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -86,34 +109,41 @@ private CreateWorkflowInvocationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CreateWorkflowInvocationRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CreateWorkflowInvocationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CreateWorkflowInvocationRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CreateWorkflowInvocationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest.class, com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest.class, + com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent resource of the WorkflowInvocation type.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -122,29 +152,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent resource of the WorkflowInvocation type.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -155,11 +187,16 @@ public java.lang.String getParent() { public static final int WORKFLOW_INVOCATION_FIELD_NUMBER = 2; private com.google.cloud.dataform.v1alpha2.WorkflowInvocation workflowInvocation_; /** + * + * *
    * Required. The workflow invocation resource to create.
    * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the workflowInvocation field is set. */ @java.lang.Override @@ -167,30 +204,43 @@ public boolean hasWorkflowInvocation() { return workflowInvocation_ != null; } /** + * + * *
    * Required. The workflow invocation resource to create.
    * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The workflowInvocation. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.WorkflowInvocation getWorkflowInvocation() { - return workflowInvocation_ == null ? com.google.cloud.dataform.v1alpha2.WorkflowInvocation.getDefaultInstance() : workflowInvocation_; + return workflowInvocation_ == null + ? com.google.cloud.dataform.v1alpha2.WorkflowInvocation.getDefaultInstance() + : workflowInvocation_; } /** + * + * *
    * Required. The workflow invocation resource to create.
    * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.WorkflowInvocationOrBuilder getWorkflowInvocationOrBuilder() { + public com.google.cloud.dataform.v1alpha2.WorkflowInvocationOrBuilder + getWorkflowInvocationOrBuilder() { return getWorkflowInvocation(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,8 +252,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -223,8 +272,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (workflowInvocation_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getWorkflowInvocation()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getWorkflowInvocation()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -234,19 +282,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest other = (com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest) obj; + com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest other = + (com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasWorkflowInvocation() != other.hasWorkflowInvocation()) return false; if (hasWorkflowInvocation()) { - if (!getWorkflowInvocation() - .equals(other.getWorkflowInvocation())) return false; + if (!getWorkflowInvocation().equals(other.getWorkflowInvocation())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -271,134 +318,145 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `CreateWorkflowInvocation` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest) com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CreateWorkflowInvocationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CreateWorkflowInvocationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CreateWorkflowInvocationRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CreateWorkflowInvocationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest.class, com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest.class, + com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest.Builder.class); } - // Construct using com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest.newBuilder() + // Construct using + // com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -414,14 +472,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CreateWorkflowInvocationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CreateWorkflowInvocationRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest getDefaultInstanceForType() { - return com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest.getDefaultInstance(); + public com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest + getDefaultInstanceForType() { + return com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest + .getDefaultInstance(); } @java.lang.Override @@ -435,7 +495,8 @@ public com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest build( @java.lang.Override public com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest result = new com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest(this); + com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest result = + new com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest(this); result.parent_ = parent_; if (workflowInvocationBuilder_ == null) { result.workflowInvocation_ = workflowInvocation_; @@ -450,46 +511,51 @@ public com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest buildP public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest)other); + return mergeFrom( + (com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest other) { + if (other + == com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -516,7 +582,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -528,18 +596,22 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent resource of the WorkflowInvocation type.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -548,20 +620,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the WorkflowInvocation type.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -569,54 +644,67 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the WorkflowInvocation type.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent resource of the WorkflowInvocation type.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent resource of the WorkflowInvocation type.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -624,41 +712,61 @@ public Builder setParentBytes( private com.google.cloud.dataform.v1alpha2.WorkflowInvocation workflowInvocation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.WorkflowInvocation, com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder, com.google.cloud.dataform.v1alpha2.WorkflowInvocationOrBuilder> workflowInvocationBuilder_; + com.google.cloud.dataform.v1alpha2.WorkflowInvocation, + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder, + com.google.cloud.dataform.v1alpha2.WorkflowInvocationOrBuilder> + workflowInvocationBuilder_; /** + * + * *
      * Required. The workflow invocation resource to create.
      * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the workflowInvocation field is set. */ public boolean hasWorkflowInvocation() { return workflowInvocationBuilder_ != null || workflowInvocation_ != null; } /** + * + * *
      * Required. The workflow invocation resource to create.
      * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The workflowInvocation. */ public com.google.cloud.dataform.v1alpha2.WorkflowInvocation getWorkflowInvocation() { if (workflowInvocationBuilder_ == null) { - return workflowInvocation_ == null ? com.google.cloud.dataform.v1alpha2.WorkflowInvocation.getDefaultInstance() : workflowInvocation_; + return workflowInvocation_ == null + ? com.google.cloud.dataform.v1alpha2.WorkflowInvocation.getDefaultInstance() + : workflowInvocation_; } else { return workflowInvocationBuilder_.getMessage(); } } /** + * + * *
      * Required. The workflow invocation resource to create.
      * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setWorkflowInvocation(com.google.cloud.dataform.v1alpha2.WorkflowInvocation value) { + public Builder setWorkflowInvocation( + com.google.cloud.dataform.v1alpha2.WorkflowInvocation value) { if (workflowInvocationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -672,11 +780,15 @@ public Builder setWorkflowInvocation(com.google.cloud.dataform.v1alpha2.Workflow return this; } /** + * + * *
      * Required. The workflow invocation resource to create.
      * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setWorkflowInvocation( com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder builderForValue) { @@ -690,17 +802,24 @@ public Builder setWorkflowInvocation( return this; } /** + * + * *
      * Required. The workflow invocation resource to create.
      * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeWorkflowInvocation(com.google.cloud.dataform.v1alpha2.WorkflowInvocation value) { + public Builder mergeWorkflowInvocation( + com.google.cloud.dataform.v1alpha2.WorkflowInvocation value) { if (workflowInvocationBuilder_ == null) { if (workflowInvocation_ != null) { workflowInvocation_ = - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.newBuilder(workflowInvocation_).mergeFrom(value).buildPartial(); + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.newBuilder(workflowInvocation_) + .mergeFrom(value) + .buildPartial(); } else { workflowInvocation_ = value; } @@ -712,11 +831,15 @@ public Builder mergeWorkflowInvocation(com.google.cloud.dataform.v1alpha2.Workfl return this; } /** + * + * *
      * Required. The workflow invocation resource to create.
      * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearWorkflowInvocation() { if (workflowInvocationBuilder_ == null) { @@ -730,55 +853,73 @@ public Builder clearWorkflowInvocation() { return this; } /** + * + * *
      * Required. The workflow invocation resource to create.
      * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder getWorkflowInvocationBuilder() { - + public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder + getWorkflowInvocationBuilder() { + onChanged(); return getWorkflowInvocationFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The workflow invocation resource to create.
      * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.dataform.v1alpha2.WorkflowInvocationOrBuilder getWorkflowInvocationOrBuilder() { + public com.google.cloud.dataform.v1alpha2.WorkflowInvocationOrBuilder + getWorkflowInvocationOrBuilder() { if (workflowInvocationBuilder_ != null) { return workflowInvocationBuilder_.getMessageOrBuilder(); } else { - return workflowInvocation_ == null ? - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.getDefaultInstance() : workflowInvocation_; + return workflowInvocation_ == null + ? com.google.cloud.dataform.v1alpha2.WorkflowInvocation.getDefaultInstance() + : workflowInvocation_; } } /** + * + * *
      * Required. The workflow invocation resource to create.
      * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.WorkflowInvocation, com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder, com.google.cloud.dataform.v1alpha2.WorkflowInvocationOrBuilder> + com.google.cloud.dataform.v1alpha2.WorkflowInvocation, + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder, + com.google.cloud.dataform.v1alpha2.WorkflowInvocationOrBuilder> getWorkflowInvocationFieldBuilder() { if (workflowInvocationBuilder_ == null) { - workflowInvocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.WorkflowInvocation, com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder, com.google.cloud.dataform.v1alpha2.WorkflowInvocationOrBuilder>( - getWorkflowInvocation(), - getParentForChildren(), - isClean()); + workflowInvocationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.WorkflowInvocation, + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder, + com.google.cloud.dataform.v1alpha2.WorkflowInvocationOrBuilder>( + getWorkflowInvocation(), getParentForChildren(), isClean()); workflowInvocation_ = null; } return workflowInvocationBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -788,30 +929,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest) - private static final com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest(); } - public static com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateWorkflowInvocationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateWorkflowInvocationRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateWorkflowInvocationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateWorkflowInvocationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -823,9 +966,8 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkflowInvocationRequestOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkflowInvocationRequestOrBuilder.java new file mode 100644 index 0000000..76d3f9d --- /dev/null +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkflowInvocationRequestOrBuilder.java @@ -0,0 +1,95 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1alpha2/dataform.proto + +package com.google.cloud.dataform.v1alpha2; + +public interface CreateWorkflowInvocationRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.CreateWorkflowInvocationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The parent resource of the WorkflowInvocation type.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. The parent resource of the WorkflowInvocation type.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * Required. The workflow invocation resource to create.
+   * 
+ * + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the workflowInvocation field is set. + */ + boolean hasWorkflowInvocation(); + /** + * + * + *
+   * Required. The workflow invocation resource to create.
+   * 
+ * + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The workflowInvocation. + */ + com.google.cloud.dataform.v1alpha2.WorkflowInvocation getWorkflowInvocation(); + /** + * + * + *
+   * Required. The workflow invocation resource to create.
+   * 
+ * + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.dataform.v1alpha2.WorkflowInvocationOrBuilder getWorkflowInvocationOrBuilder(); +} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkspaceRequest.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkspaceRequest.java similarity index 65% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkspaceRequest.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkspaceRequest.java index 506aa82..5288d11 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkspaceRequest.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkspaceRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * `CreateWorkspace` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.CreateWorkspaceRequest} */ -public final class CreateWorkspaceRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateWorkspaceRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.CreateWorkspaceRequest) CreateWorkspaceRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateWorkspaceRequest.newBuilder() to construct. private CreateWorkspaceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateWorkspaceRequest() { parent_ = ""; workspaceId_ = ""; @@ -26,16 +44,15 @@ private CreateWorkspaceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateWorkspaceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateWorkspaceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +71,43 @@ private CreateWorkspaceRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.dataform.v1alpha2.Workspace.Builder subBuilder = null; - if (workspace_ != null) { - subBuilder = workspace_.toBuilder(); - } - workspace_ = input.readMessage(com.google.cloud.dataform.v1alpha2.Workspace.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(workspace_); - workspace_ = subBuilder.buildPartial(); + parent_ = s; + break; } + case 18: + { + com.google.cloud.dataform.v1alpha2.Workspace.Builder subBuilder = null; + if (workspace_ != null) { + subBuilder = workspace_.toBuilder(); + } + workspace_ = + input.readMessage( + com.google.cloud.dataform.v1alpha2.Workspace.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(workspace_); + workspace_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - workspaceId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + workspaceId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,35 +115,42 @@ private CreateWorkspaceRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CreateWorkspaceRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CreateWorkspaceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CreateWorkspaceRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CreateWorkspaceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest.class, com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest.class, + com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The repository in which to create the workspace. Must be in the format
    * `projects/*/locations/*/repositories/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -130,30 +159,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The repository in which to create the workspace. Must be in the format
    * `projects/*/locations/*/repositories/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -164,11 +195,16 @@ public java.lang.String getParent() { public static final int WORKSPACE_FIELD_NUMBER = 2; private com.google.cloud.dataform.v1alpha2.Workspace workspace_; /** + * + * *
    * Required. The workspace to create.
    * 
* - * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the workspace field is set. */ @java.lang.Override @@ -176,23 +212,34 @@ public boolean hasWorkspace() { return workspace_ != null; } /** + * + * *
    * Required. The workspace to create.
    * 
* - * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The workspace. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.Workspace getWorkspace() { - return workspace_ == null ? com.google.cloud.dataform.v1alpha2.Workspace.getDefaultInstance() : workspace_; + return workspace_ == null + ? com.google.cloud.dataform.v1alpha2.Workspace.getDefaultInstance() + : workspace_; } /** + * + * *
    * Required. The workspace to create.
    * 
* - * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.WorkspaceOrBuilder getWorkspaceOrBuilder() { @@ -202,12 +249,15 @@ public com.google.cloud.dataform.v1alpha2.WorkspaceOrBuilder getWorkspaceOrBuild public static final int WORKSPACE_ID_FIELD_NUMBER = 3; private volatile java.lang.Object workspaceId_; /** + * + * *
    * Required. The ID to use for the workspace, which will become the final component of
    * the workspace's resource name.
    * 
* * string workspace_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The workspaceId. */ @java.lang.Override @@ -216,30 +266,30 @@ public java.lang.String getWorkspaceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspaceId_ = s; return s; } } /** + * + * *
    * Required. The ID to use for the workspace, which will become the final component of
    * the workspace's resource name.
    * 
* * string workspace_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for workspaceId. */ @java.lang.Override - public com.google.protobuf.ByteString - getWorkspaceIdBytes() { + public com.google.protobuf.ByteString getWorkspaceIdBytes() { java.lang.Object ref = workspaceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workspaceId_ = b; return b; } else { @@ -248,6 +298,7 @@ public java.lang.String getWorkspaceId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -259,8 +310,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -283,8 +333,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (workspace_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getWorkspace()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getWorkspace()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspaceId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, workspaceId_); @@ -297,22 +346,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest other = (com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest) obj; + com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest other = + (com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasWorkspace() != other.hasWorkspace()) return false; if (hasWorkspace()) { - if (!getWorkspace() - .equals(other.getWorkspace())) return false; + if (!getWorkspace().equals(other.getWorkspace())) return false; } - if (!getWorkspaceId() - .equals(other.getWorkspaceId())) return false; + if (!getWorkspaceId().equals(other.getWorkspaceId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -338,117 +385,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `CreateWorkspace` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.CreateWorkspaceRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.CreateWorkspaceRequest) com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CreateWorkspaceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CreateWorkspaceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CreateWorkspaceRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CreateWorkspaceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest.class, com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest.class, + com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest.newBuilder() @@ -456,16 +513,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -483,9 +539,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_CreateWorkspaceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_CreateWorkspaceRequest_descriptor; } @java.lang.Override @@ -504,7 +560,8 @@ public com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest result = new com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest(this); + com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest result = + new com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest(this); result.parent_ = parent_; if (workspaceBuilder_ == null) { result.workspace_ = workspace_; @@ -520,38 +577,39 @@ public com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest)other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest) other); } else { super.mergeFrom(other); return this; @@ -559,7 +617,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -590,7 +649,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -602,19 +662,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The repository in which to create the workspace. Must be in the format
      * `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -623,21 +687,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The repository in which to create the workspace. Must be in the format
      * `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -645,57 +712,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The repository in which to create the workspace. Must be in the format
      * `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The repository in which to create the workspace. Must be in the format
      * `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The repository in which to create the workspace. Must be in the format
      * `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -703,39 +783,58 @@ public Builder setParentBytes( private com.google.cloud.dataform.v1alpha2.Workspace workspace_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Workspace, com.google.cloud.dataform.v1alpha2.Workspace.Builder, com.google.cloud.dataform.v1alpha2.WorkspaceOrBuilder> workspaceBuilder_; + com.google.cloud.dataform.v1alpha2.Workspace, + com.google.cloud.dataform.v1alpha2.Workspace.Builder, + com.google.cloud.dataform.v1alpha2.WorkspaceOrBuilder> + workspaceBuilder_; /** + * + * *
      * Required. The workspace to create.
      * 
* - * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the workspace field is set. */ public boolean hasWorkspace() { return workspaceBuilder_ != null || workspace_ != null; } /** + * + * *
      * Required. The workspace to create.
      * 
* - * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The workspace. */ public com.google.cloud.dataform.v1alpha2.Workspace getWorkspace() { if (workspaceBuilder_ == null) { - return workspace_ == null ? com.google.cloud.dataform.v1alpha2.Workspace.getDefaultInstance() : workspace_; + return workspace_ == null + ? com.google.cloud.dataform.v1alpha2.Workspace.getDefaultInstance() + : workspace_; } else { return workspaceBuilder_.getMessage(); } } /** + * + * *
      * Required. The workspace to create.
      * 
* - * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setWorkspace(com.google.cloud.dataform.v1alpha2.Workspace value) { if (workspaceBuilder_ == null) { @@ -751,11 +850,15 @@ public Builder setWorkspace(com.google.cloud.dataform.v1alpha2.Workspace value) return this; } /** + * + * *
      * Required. The workspace to create.
      * 
* - * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setWorkspace( com.google.cloud.dataform.v1alpha2.Workspace.Builder builderForValue) { @@ -769,17 +872,23 @@ public Builder setWorkspace( return this; } /** + * + * *
      * Required. The workspace to create.
      * 
* - * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeWorkspace(com.google.cloud.dataform.v1alpha2.Workspace value) { if (workspaceBuilder_ == null) { if (workspace_ != null) { workspace_ = - com.google.cloud.dataform.v1alpha2.Workspace.newBuilder(workspace_).mergeFrom(value).buildPartial(); + com.google.cloud.dataform.v1alpha2.Workspace.newBuilder(workspace_) + .mergeFrom(value) + .buildPartial(); } else { workspace_ = value; } @@ -791,11 +900,15 @@ public Builder mergeWorkspace(com.google.cloud.dataform.v1alpha2.Workspace value return this; } /** + * + * *
      * Required. The workspace to create.
      * 
* - * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearWorkspace() { if (workspaceBuilder_ == null) { @@ -809,48 +922,64 @@ public Builder clearWorkspace() { return this; } /** + * + * *
      * Required. The workspace to create.
      * 
* - * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataform.v1alpha2.Workspace.Builder getWorkspaceBuilder() { - + onChanged(); return getWorkspaceFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The workspace to create.
      * 
* - * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataform.v1alpha2.WorkspaceOrBuilder getWorkspaceOrBuilder() { if (workspaceBuilder_ != null) { return workspaceBuilder_.getMessageOrBuilder(); } else { - return workspace_ == null ? - com.google.cloud.dataform.v1alpha2.Workspace.getDefaultInstance() : workspace_; + return workspace_ == null + ? com.google.cloud.dataform.v1alpha2.Workspace.getDefaultInstance() + : workspace_; } } /** + * + * *
      * Required. The workspace to create.
      * 
* - * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Workspace, com.google.cloud.dataform.v1alpha2.Workspace.Builder, com.google.cloud.dataform.v1alpha2.WorkspaceOrBuilder> + com.google.cloud.dataform.v1alpha2.Workspace, + com.google.cloud.dataform.v1alpha2.Workspace.Builder, + com.google.cloud.dataform.v1alpha2.WorkspaceOrBuilder> getWorkspaceFieldBuilder() { if (workspaceBuilder_ == null) { - workspaceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Workspace, com.google.cloud.dataform.v1alpha2.Workspace.Builder, com.google.cloud.dataform.v1alpha2.WorkspaceOrBuilder>( - getWorkspace(), - getParentForChildren(), - isClean()); + workspaceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.Workspace, + com.google.cloud.dataform.v1alpha2.Workspace.Builder, + com.google.cloud.dataform.v1alpha2.WorkspaceOrBuilder>( + getWorkspace(), getParentForChildren(), isClean()); workspace_ = null; } return workspaceBuilder_; @@ -858,19 +987,21 @@ public com.google.cloud.dataform.v1alpha2.WorkspaceOrBuilder getWorkspaceOrBuild private java.lang.Object workspaceId_ = ""; /** + * + * *
      * Required. The ID to use for the workspace, which will become the final component of
      * the workspace's resource name.
      * 
* * string workspace_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The workspaceId. */ public java.lang.String getWorkspaceId() { java.lang.Object ref = workspaceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspaceId_ = s; return s; @@ -879,21 +1010,22 @@ public java.lang.String getWorkspaceId() { } } /** + * + * *
      * Required. The ID to use for the workspace, which will become the final component of
      * the workspace's resource name.
      * 
* * string workspace_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for workspaceId. */ - public com.google.protobuf.ByteString - getWorkspaceIdBytes() { + public com.google.protobuf.ByteString getWorkspaceIdBytes() { java.lang.Object ref = workspaceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workspaceId_ = b; return b; } else { @@ -901,64 +1033,71 @@ public java.lang.String getWorkspaceId() { } } /** + * + * *
      * Required. The ID to use for the workspace, which will become the final component of
      * the workspace's resource name.
      * 
* * string workspace_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The workspaceId to set. * @return This builder for chaining. */ - public Builder setWorkspaceId( - java.lang.String value) { + public Builder setWorkspaceId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + workspaceId_ = value; onChanged(); return this; } /** + * + * *
      * Required. The ID to use for the workspace, which will become the final component of
      * the workspace's resource name.
      * 
* * string workspace_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearWorkspaceId() { - + workspaceId_ = getDefaultInstance().getWorkspaceId(); onChanged(); return this; } /** + * + * *
      * Required. The ID to use for the workspace, which will become the final component of
      * the workspace's resource name.
      * 
* * string workspace_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for workspaceId to set. * @return This builder for chaining. */ - public Builder setWorkspaceIdBytes( - com.google.protobuf.ByteString value) { + public Builder setWorkspaceIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workspaceId_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -968,12 +1107,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.CreateWorkspaceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.CreateWorkspaceRequest) private static final com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest(); } @@ -982,16 +1121,16 @@ public static com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateWorkspaceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateWorkspaceRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateWorkspaceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateWorkspaceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1006,6 +1145,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.CreateWorkspaceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkspaceRequestOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkspaceRequestOrBuilder.java similarity index 55% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkspaceRequestOrBuilder.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkspaceRequestOrBuilder.java index 30a8395..2fec697 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkspaceRequestOrBuilder.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/CreateWorkspaceRequestOrBuilder.java @@ -1,80 +1,124 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface CreateWorkspaceRequestOrBuilder extends +public interface CreateWorkspaceRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.CreateWorkspaceRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The repository in which to create the workspace. Must be in the format
    * `projects/*/locations/*/repositories/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The repository in which to create the workspace. Must be in the format
    * `projects/*/locations/*/repositories/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The workspace to create.
    * 
* - * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the workspace field is set. */ boolean hasWorkspace(); /** + * + * *
    * Required. The workspace to create.
    * 
* - * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The workspace. */ com.google.cloud.dataform.v1alpha2.Workspace getWorkspace(); /** + * + * *
    * Required. The workspace to create.
    * 
* - * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.dataform.v1alpha2.WorkspaceOrBuilder getWorkspaceOrBuilder(); /** + * + * *
    * Required. The ID to use for the workspace, which will become the final component of
    * the workspace's resource name.
    * 
* * string workspace_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The workspaceId. */ java.lang.String getWorkspaceId(); /** + * + * *
    * Required. The ID to use for the workspace, which will become the final component of
    * the workspace's resource name.
    * 
* * string workspace_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for workspaceId. */ - com.google.protobuf.ByteString - getWorkspaceIdBytes(); + com.google.protobuf.ByteString getWorkspaceIdBytes(); } diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DataformProto.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DataformProto.java new file mode 100644 index 0000000..0a20fe4 --- /dev/null +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DataformProto.java @@ -0,0 +1,1618 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1alpha2/dataform.proto + +package com.google.cloud.dataform.v1alpha2; + +public final class DataformProto { + private DataformProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_Repository_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_Repository_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_Repository_GitRemoteSettings_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_Repository_GitRemoteSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_GetRepositoryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_GetRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_CreateRepositoryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_CreateRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_UpdateRepositoryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_UpdateRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_DeleteRepositoryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_DeleteRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_Workspace_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_Workspace_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_GetWorkspaceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_GetWorkspaceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_CreateWorkspaceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_CreateWorkspaceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_DeleteWorkspaceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_DeleteWorkspaceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_CommitAuthor_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_CommitAuthor_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_PullGitCommitsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_PullGitCommitsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_PushGitCommitsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_PushGitCommitsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_UncommittedFileChange_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_UncommittedFileChange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_CommitWorkspaceChangesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_CommitWorkspaceChangesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_ResetWorkspaceChangesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_ResetWorkspaceChangesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_DirectoryEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_DirectoryEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_RemoveDirectoryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_RemoveDirectoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_ReadFileRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_ReadFileRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_ReadFileResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_ReadFileResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_RemoveFileRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_RemoveFileRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_MoveFileRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_MoveFileRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_MoveFileResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_MoveFileResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_WriteFileRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_WriteFileRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_WriteFileResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_WriteFileResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_CompilationResult_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_CompilationResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_VarsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_VarsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CompilationError_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CompilationError_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_GetCompilationResultRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_GetCompilationResultRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_CreateCompilationResultRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_CreateCompilationResultRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_Target_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_Target_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_ColumnDescriptor_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_ColumnDescriptor_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_BigqueryLabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_BigqueryLabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_IncrementalTableConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_IncrementalTableConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_AdditionalOptionsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_AdditionalOptionsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Operations_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Operations_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Assertion_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Assertion_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Declaration_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Declaration_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_InvocationConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_InvocationConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_GetWorkflowInvocationRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_GetWorkflowInvocationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_CreateWorkflowInvocationRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_CreateWorkflowInvocationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_DeleteWorkflowInvocationRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_DeleteWorkflowInvocationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_CancelWorkflowInvocationRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_CancelWorkflowInvocationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_BigQueryAction_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_BigQueryAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n-google/cloud/dataform/v1alpha2/datafor" + + "m.proto\022\036google.cloud.dataform.v1alpha2\032" + + "\034google/api/annotations.proto\032\027google/ap" + + "i/client.proto\032\037google/api/field_behavio" + + "r.proto\032\031google/api/resource.proto\032\033goog" + + "le/protobuf/empty.proto\032 google/protobuf" + + "/field_mask.proto\032\032google/type/interval." + + "proto\"\312\004\n\nRepository\022\021\n\004name\030\001 \001(\tB\003\340A\003\022" + + "^\n\023git_remote_settings\030\002 \001(\0132<.google.cl" + + "oud.dataform.v1alpha2.Repository.GitRemo" + + "teSettingsB\003\340A\001\032\334\002\n\021GitRemoteSettings\022\020\n" + + "\003url\030\001 \001(\tB\003\340A\002\022\033\n\016default_branch\030\002 \001(\tB" + + "\003\340A\002\022_\n#authentication_token_secret_vers" + + "ion\030\003 \001(\tB2\340A\002\372A,\n*secretmanager.googlea" + + "pis.com/SecretVersion\022c\n\014token_status\030\004 " + + "\001(\0162H.google.cloud.dataform.v1alpha2.Rep" + + "ository.GitRemoteSettings.TokenStatusB\003\340" + + "A\003\"R\n\013TokenStatus\022\034\n\030TOKEN_STATUS_UNSPEC" + + "IFIED\020\000\022\r\n\tNOT_FOUND\020\001\022\013\n\007INVALID\020\002\022\t\n\005V" + + "ALID\020\003:j\352Ag\n\"dataform.googleapis.com/Rep" + + "ository\022Aprojects/{project}/locations/{l" + + "ocation}/repositories/{repository}\"\261\001\n\027L" + + "istRepositoriesRequest\0229\n\006parent\030\001 \001(\tB)" + + "\340A\002\372A#\n!locations.googleapis.com/Locatio" + + "n\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030" + + "\003 \001(\tB\003\340A\001\022\025\n\010order_by\030\004 \001(\tB\003\340A\001\022\023\n\006fil" + + "ter\030\005 \001(\tB\003\340A\001\"\212\001\n\030ListRepositoriesRespo" + + "nse\022@\n\014repositories\030\001 \003(\0132*.google.cloud" + + ".dataform.v1alpha2.Repository\022\027\n\017next_pa" + + "ge_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"P\n\024G" + + "etRepositoryRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A" + + "$\n\"dataform.googleapis.com/Repository\"\265\001" + + "\n\027CreateRepositoryRequest\0229\n\006parent\030\001 \001(" + + "\tB)\340A\002\372A#\n!locations.googleapis.com/Loca" + + "tion\022C\n\nrepository\030\002 \001(\0132*.google.cloud." + + "dataform.v1alpha2.RepositoryB\003\340A\002\022\032\n\rrep" + + "ository_id\030\003 \001(\tB\003\340A\002\"\224\001\n\027UpdateReposito" + + "ryRequest\0224\n\013update_mask\030\001 \001(\0132\032.google." + + "protobuf.FieldMaskB\003\340A\001\022C\n\nrepository\030\002 " + + "\001(\0132*.google.cloud.dataform.v1alpha2.Rep" + + "ositoryB\003\340A\002\"b\n\027DeleteRepositoryRequest\022" + + "8\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"dataform.googleap" + + "is.com/Repository\022\r\n\005force\030\002 \001(\010\"V\n\032Fetc" + + "hRemoteBranchesRequest\0228\n\004name\030\001 \001(\tB*\340A" + + "\002\372A$\n\"dataform.googleapis.com/Repository" + + "\"/\n\033FetchRemoteBranchesResponse\022\020\n\010branc" + + "hes\030\001 \003(\t\"\241\001\n\tWorkspace\022\021\n\004name\030\001 \001(\tB\003\340" + + "A\003:\200\001\352A}\n!dataform.googleapis.com/Worksp" + + "ace\022Xprojects/{project}/locations/{locat" + + "ion}/repositories/{repository}/workspace" + + "s/{workspace}\"\260\001\n\025ListWorkspacesRequest\022" + + ":\n\006parent\030\001 \001(\tB*\340A\002\372A$\n\"dataform.google" + + "apis.com/Repository\022\026\n\tpage_size\030\002 \001(\005B\003" + + "\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001\022\025\n\010order_by" + + "\030\004 \001(\tB\003\340A\001\022\023\n\006filter\030\005 \001(\tB\003\340A\001\"\205\001\n\026Lis" + + "tWorkspacesResponse\022=\n\nworkspaces\030\001 \003(\0132" + + ").google.cloud.dataform.v1alpha2.Workspa" + + "ce\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unreachab" + + "le\030\003 \003(\t\"N\n\023GetWorkspaceRequest\0227\n\004name\030" + + "\001 \001(\tB)\340A\002\372A#\n!dataform.googleapis.com/W" + + "orkspace\"\262\001\n\026CreateWorkspaceRequest\022:\n\006p" + + "arent\030\001 \001(\tB*\340A\002\372A$\n\"dataform.googleapis" + + ".com/Repository\022A\n\tworkspace\030\002 \001(\0132).goo" + + "gle.cloud.dataform.v1alpha2.WorkspaceB\003\340" + + "A\002\022\031\n\014workspace_id\030\003 \001(\tB\003\340A\002\"Q\n\026DeleteW" + + "orkspaceRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!d" + + "ataform.googleapis.com/Workspace\"=\n\014Comm" + + "itAuthor\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\032\n\remail_add" + + "ress\030\002 \001(\tB\003\340A\002\"\257\001\n\025PullGitCommitsReques" + + "t\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dataform.google" + + "apis.com/Workspace\022\032\n\rremote_branch\030\002 \001(" + + "\tB\003\340A\001\022A\n\006author\030\003 \001(\0132,.google.cloud.da" + + "taform.v1alpha2.CommitAuthorB\003\340A\002\"l\n\025Pus" + + "hGitCommitsRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#" + + "\n!dataform.googleapis.com/Workspace\022\032\n\rr" + + "emote_branch\030\002 \001(\tB\003\340A\001\"V\n\033FetchFileGitS" + + "tatusesRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!da" + + "taform.googleapis.com/Workspace\"\376\002\n\034Fetc" + + "hFileGitStatusesResponse\022t\n\030uncommitted_" + + "file_changes\030\001 \003(\0132R.google.cloud.datafo" + + "rm.v1alpha2.FetchFileGitStatusesResponse" + + ".UncommittedFileChange\032\347\001\n\025UncommittedFi" + + "leChange\022\014\n\004path\030\001 \001(\t\022g\n\005state\030\002 \001(\0162X." + + "google.cloud.dataform.v1alpha2.FetchFile" + + "GitStatusesResponse.UncommittedFileChang" + + "e.State\"W\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022" + + "\t\n\005ADDED\020\001\022\013\n\007DELETED\020\002\022\014\n\010MODIFIED\020\003\022\021\n" + + "\rHAS_CONFLICTS\020\004\"q\n\032FetchGitAheadBehindR" + + "equest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dataform.g" + + "oogleapis.com/Workspace\022\032\n\rremote_branch" + + "\030\002 \001(\tB\003\340A\001\"L\n\033FetchGitAheadBehindRespon" + + "se\022\025\n\rcommits_ahead\030\001 \001(\005\022\026\n\016commits_beh" + + "ind\030\002 \001(\005\"\314\001\n\035CommitWorkspaceChangesRequ" + + "est\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dataform.goog" + + "leapis.com/Workspace\022A\n\006author\030\004 \001(\0132,.g" + + "oogle.cloud.dataform.v1alpha2.CommitAuth" + + "orB\003\340A\002\022\033\n\016commit_message\030\002 \001(\tB\003\340A\001\022\022\n\005" + + "paths\030\003 \003(\tB\003\340A\001\"\177\n\034ResetWorkspaceChange" + + "sRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dataform" + + ".googleapis.com/Workspace\022\022\n\005paths\030\002 \003(\t" + + "B\003\340A\001\022\022\n\005clean\030\003 \001(\010B\003\340A\001\"g\n\024FetchFileDi" + + "ffRequest\022<\n\tworkspace\030\001 \001(\tB)\340A\002\372A#\n!da" + + "taform.googleapis.com/Workspace\022\021\n\004path\030" + + "\002 \001(\tB\003\340A\002\"/\n\025FetchFileDiffResponse\022\026\n\016f" + + "ormatted_diff\030\001 \001(\t\"\241\001\n\035QueryDirectoryCo" + + "ntentsRequest\022<\n\tworkspace\030\001 \001(\tB)\340A\002\372A#" + + "\n!dataform.googleapis.com/Workspace\022\021\n\004p" + + "ath\030\002 \001(\tB\003\340A\001\022\026\n\tpage_size\030\003 \001(\005B\003\340A\001\022\027" + + "\n\npage_token\030\004 \001(\tB\003\340A\001\"\343\001\n\036QueryDirecto" + + "ryContentsResponse\022h\n\021directory_entries\030" + + "\001 \003(\0132M.google.cloud.dataform.v1alpha2.Q" + + "ueryDirectoryContentsResponse.DirectoryE" + + "ntry\022\027\n\017next_page_token\030\002 \001(\t\032>\n\016Directo" + + "ryEntry\022\016\n\004file\030\001 \001(\tH\000\022\023\n\tdirectory\030\002 \001" + + "(\tH\000B\007\n\005entry\"g\n\024MakeDirectoryRequest\022<\n" + + "\tworkspace\030\001 \001(\tB)\340A\002\372A#\n!dataform.googl" + + "eapis.com/Workspace\022\021\n\004path\030\002 \001(\tB\003\340A\002\"\027" + + "\n\025MakeDirectoryResponse\"i\n\026RemoveDirecto" + + "ryRequest\022<\n\tworkspace\030\001 \001(\tB)\340A\002\372A#\n!da" + + "taform.googleapis.com/Workspace\022\021\n\004path\030" + + "\002 \001(\tB\003\340A\002\"~\n\024MoveDirectoryRequest\022<\n\two" + + "rkspace\030\001 \001(\tB)\340A\002\372A#\n!dataform.googleap" + + "is.com/Workspace\022\021\n\004path\030\002 \001(\tB\003\340A\002\022\025\n\010n" + + "ew_path\030\003 \001(\tB\003\340A\002\"\027\n\025MoveDirectoryRespo" + + "nse\"b\n\017ReadFileRequest\022<\n\tworkspace\030\001 \001(" + + "\tB)\340A\002\372A#\n!dataform.googleapis.com/Works" + + "pace\022\021\n\004path\030\002 \001(\tB\003\340A\002\")\n\020ReadFileRespo" + + "nse\022\025\n\rfile_contents\030\001 \001(\014\"d\n\021RemoveFile" + + "Request\022<\n\tworkspace\030\001 \001(\tB)\340A\002\372A#\n!data" + + "form.googleapis.com/Workspace\022\021\n\004path\030\002 " + + "\001(\tB\003\340A\002\"y\n\017MoveFileRequest\022<\n\tworkspace" + + "\030\001 \001(\tB)\340A\002\372A#\n!dataform.googleapis.com/" + + "Workspace\022\021\n\004path\030\002 \001(\tB\003\340A\002\022\025\n\010new_path" + + "\030\003 \001(\tB\003\340A\002\"\022\n\020MoveFileResponse\"z\n\020Write" + + "FileRequest\022<\n\tworkspace\030\001 \001(\tB)\340A\002\372A#\n!" + + "dataform.googleapis.com/Workspace\022\021\n\004pat" + + "h\030\002 \001(\tB\003\340A\002\022\025\n\010contents\030\003 \001(\014B\003\340A\002\"\023\n\021W" + + "riteFileResponse\"Y\n\031InstallNpmPackagesRe" + + "quest\022<\n\tworkspace\030\001 \001(\tB)\340A\002\372A#\n!datafo" + + "rm.googleapis.com/Workspace\"\034\n\032InstallNp" + + "mPackagesResponse\"\265\010\n\021CompilationResult\022" + + "\021\n\004name\030\001 \001(\tB\003\340A\003\022\034\n\rgit_commitish\030\002 \001(" + + "\tB\003\340A\005H\000\022>\n\tworkspace\030\003 \001(\tB)\340A\005\372A#\n!dat" + + "aform.googleapis.com/WorkspaceH\000\022m\n\027code" + + "_compilation_config\030\004 \001(\0132G.google.cloud" + + ".dataform.v1alpha2.CompilationResult.Cod" + + "eCompilationConfigB\003\340A\005\022\"\n\025dataform_core" + + "_version\030\005 \001(\tB\003\340A\003\022c\n\022compilation_error" + + "s\030\006 \003(\0132B.google.cloud.dataform.v1alpha2" + + ".CompilationResult.CompilationErrorB\003\340A\003" + + "\032\371\002\n\025CodeCompilationConfig\022\035\n\020default_da" + + "tabase\030\001 \001(\tB\003\340A\001\022\033\n\016default_schema\030\002 \001(" + + "\tB\003\340A\001\022\035\n\020default_location\030\010 \001(\tB\003\340A\001\022\035\n" + + "\020assertion_schema\030\003 \001(\tB\003\340A\001\022d\n\004vars\030\004 \003" + + "(\0132Q.google.cloud.dataform.v1alpha2.Comp" + + "ilationResult.CodeCompilationConfig.Vars" + + "EntryB\003\340A\001\022\034\n\017database_suffix\030\005 \001(\tB\003\340A\001" + + "\022\032\n\rschema_suffix\030\006 \001(\tB\003\340A\001\022\031\n\014table_pr" + + "efix\030\007 \001(\tB\003\340A\001\032+\n\tVarsEntry\022\013\n\003key\030\001 \001(" + + "\t\022\r\n\005value\030\002 \001(\t:\0028\001\032\223\001\n\020CompilationErro" + + "r\022\024\n\007message\030\001 \001(\tB\003\340A\003\022\022\n\005stack\030\002 \001(\tB\003" + + "\340A\003\022\021\n\004path\030\003 \001(\tB\003\340A\003\022B\n\raction_target\030" + + "\004 \001(\0132&.google.cloud.dataform.v1alpha2.T" + + "argetB\003\340A\003:\232\001\352A\226\001\n)dataform.googleapis.c" + + "om/CompilationResult\022iprojects/{project}" + + "/locations/{location}/repositories/{repo" + + "sitory}/compilationResults/{compilation_" + + "result}B\010\n\006source\"\214\001\n\035ListCompilationRes" + + "ultsRequest\022:\n\006parent\030\001 \001(\tB*\340A\002\372A$\n\"dat" + + "aform.googleapis.com/Repository\022\026\n\tpage_" + + "size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001" + + "\"\236\001\n\036ListCompilationResultsResponse\022N\n\023c" + + "ompilation_results\030\001 \003(\01321.google.cloud." + + "dataform.v1alpha2.CompilationResult\022\027\n\017n" + + "ext_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(" + + "\t\"^\n\033GetCompilationResultRequest\022?\n\004name" + + "\030\001 \001(\tB1\340A\002\372A+\n)dataform.googleapis.com/" + + "CompilationResult\"\260\001\n\036CreateCompilationR" + + "esultRequest\022:\n\006parent\030\001 \001(\tB*\340A\002\372A$\n\"da" + + "taform.googleapis.com/Repository\022R\n\022comp" + + "ilation_result\030\002 \001(\01321.google.cloud.data" + + "form.v1alpha2.CompilationResultB\003\340A\002\"8\n\006" + + "Target\022\020\n\010database\030\001 \001(\t\022\016\n\006schema\030\002 \001(\t" + + "\022\014\n\004name\030\003 \001(\t\"\354\002\n\022RelationDescriptor\022\023\n" + + "\013description\030\001 \001(\t\022T\n\007columns\030\002 \003(\0132C.go" + + "ogle.cloud.dataform.v1alpha2.RelationDes" + + "criptor.ColumnDescriptor\022_\n\017bigquery_lab" + + "els\030\003 \003(\0132F.google.cloud.dataform.v1alph" + + "a2.RelationDescriptor.BigqueryLabelsEntr" + + "y\032S\n\020ColumnDescriptor\022\014\n\004path\030\001 \003(\t\022\023\n\013d" + + "escription\030\002 \001(\t\022\034\n\024bigquery_policy_tags" + + "\030\003 \003(\t\0325\n\023BigqueryLabelsEntry\022\013\n\003key\030\001 \001" + + "(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\344\021\n\027CompilationRes" + + "ultAction\0226\n\006target\030\001 \001(\0132&.google.cloud" + + ".dataform.v1alpha2.Target\022@\n\020canonical_t" + + "arget\030\002 \001(\0132&.google.cloud.dataform.v1al" + + "pha2.Target\022\021\n\tfile_path\030\003 \001(\t\022T\n\010relati" + + "on\030\004 \001(\0132@.google.cloud.dataform.v1alpha" + + "2.CompilationResultAction.RelationH\000\022X\n\n" + + "operations\030\005 \001(\0132B.google.cloud.dataform" + + ".v1alpha2.CompilationResultAction.Operat" + + "ionsH\000\022V\n\tassertion\030\006 \001(\0132A.google.cloud" + + ".dataform.v1alpha2.CompilationResultActi" + + "on.AssertionH\000\022Z\n\013declaration\030\007 \001(\0132C.go" + + "ogle.cloud.dataform.v1alpha2.Compilation" + + "ResultAction.DeclarationH\000\032\343\010\n\010Relation\022" + + "B\n\022dependency_targets\030\001 \003(\0132&.google.clo" + + "ud.dataform.v1alpha2.Target\022\020\n\010disabled\030" + + "\002 \001(\010\022\014\n\004tags\030\003 \003(\t\022O\n\023relation_descript" + + "or\030\004 \001(\01322.google.cloud.dataform.v1alpha" + + "2.RelationDescriptor\022d\n\rrelation_type\030\005 " + + "\001(\0162M.google.cloud.dataform.v1alpha2.Com" + + "pilationResultAction.Relation.RelationTy" + + "pe\022\024\n\014select_query\030\006 \001(\t\022\026\n\016pre_operatio" + + "ns\030\007 \003(\t\022\027\n\017post_operations\030\010 \003(\t\022y\n\030inc" + + "remental_table_config\030\t \001(\0132W.google.clo" + + "ud.dataform.v1alpha2.CompilationResultAc" + + "tion.Relation.IncrementalTableConfig\022\034\n\024" + + "partition_expression\030\n \001(\t\022\033\n\023cluster_ex" + + "pressions\030\013 \003(\t\022!\n\031partition_expiration_" + + "days\030\014 \001(\005\022 \n\030require_partition_filter\030\r" + + " \001(\010\022s\n\022additional_options\030\016 \003(\0132W.googl" + + "e.cloud.dataform.v1alpha2.CompilationRes" + + "ultAction.Relation.AdditionalOptionsEntr" + + "y\032\330\001\n\026IncrementalTableConfig\022 \n\030incremen" + + "tal_select_query\030\001 \001(\t\022\030\n\020refresh_disabl" + + "ed\030\002 \001(\010\022\030\n\020unique_key_parts\030\003 \003(\t\022\037\n\027up" + + "date_partition_filter\030\004 \001(\t\022\"\n\032increment" + + "al_pre_operations\030\005 \003(\t\022#\n\033incremental_p" + + "ost_operations\030\006 \003(\t\0328\n\026AdditionalOption" + + "sEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"p" + + "\n\014RelationType\022\035\n\031RELATION_TYPE_UNSPECIF" + + "IED\020\000\022\t\n\005TABLE\020\001\022\010\n\004VIEW\020\002\022\025\n\021INCREMENTA" + + "L_TABLE\020\003\022\025\n\021MATERIALIZED_VIEW\020\004\032\346\001\n\nOpe" + + "rations\022B\n\022dependency_targets\030\001 \003(\0132&.go" + + "ogle.cloud.dataform.v1alpha2.Target\022\020\n\010d" + + "isabled\030\002 \001(\010\022\014\n\004tags\030\003 \003(\t\022O\n\023relation_" + + "descriptor\030\006 \001(\01322.google.cloud.dataform" + + ".v1alpha2.RelationDescriptor\022\017\n\007queries\030" + + "\004 \003(\t\022\022\n\nhas_output\030\005 \001(\010\032\225\002\n\tAssertion\022" + + "B\n\022dependency_targets\030\001 \003(\0132&.google.clo" + + "ud.dataform.v1alpha2.Target\022=\n\rparent_ac" + + "tion\030\005 \001(\0132&.google.cloud.dataform.v1alp" + + "ha2.Target\022\020\n\010disabled\030\002 \001(\010\022\014\n\004tags\030\003 \003" + + "(\t\022\024\n\014select_query\030\004 \001(\t\022O\n\023relation_des" + + "criptor\030\006 \001(\01322.google.cloud.dataform.v1" + + "alpha2.RelationDescriptor\032^\n\013Declaration" + + "\022O\n\023relation_descriptor\030\001 \001(\01322.google.c" + + "loud.dataform.v1alpha2.RelationDescripto" + + "rB\021\n\017compiled_object\"\255\001\n$QueryCompilatio" + + "nResultActionsRequest\022?\n\004name\030\001 \001(\tB1\340A\002" + + "\372A+\n)dataform.googleapis.com/Compilation" + + "Result\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_t" + + "oken\030\003 \001(\tB\003\340A\001\022\023\n\006filter\030\004 \001(\tB\003\340A\001\"\235\001\n" + + "%QueryCompilationResultActionsResponse\022[" + + "\n\032compilation_result_actions\030\001 \003(\01327.goo" + + "gle.cloud.dataform.v1alpha2.CompilationR" + + "esultAction\022\027\n\017next_page_token\030\002 \001(\t\"\361\006\n" + + "\022WorkflowInvocation\022\021\n\004name\030\001 \001(\tB\003\340A\003\022M" + + "\n\022compilation_result\030\002 \001(\tB1\340A\005\372A+\n)data" + + "form.googleapis.com/CompilationResult\022c\n" + + "\021invocation_config\030\003 \001(\0132C.google.cloud." + + "dataform.v1alpha2.WorkflowInvocation.Inv" + + "ocationConfigB\003\340A\005\022L\n\005state\030\004 \001(\01628.goog" + + "le.cloud.dataform.v1alpha2.WorkflowInvoc" + + "ation.StateB\003\340A\003\0225\n\021invocation_timing\030\005 " + + "\001(\0132\025.google.type.IntervalB\003\340A\003\032\210\002\n\020Invo" + + "cationConfig\022E\n\020included_targets\030\001 \003(\0132&" + + ".google.cloud.dataform.v1alpha2.TargetB\003" + + "\340A\005\022\032\n\rincluded_tags\030\002 \003(\tB\003\340A\005\022-\n trans" + + "itive_dependencies_included\030\003 \001(\010B\003\340A\005\022+" + + "\n\036transitive_dependents_included\030\004 \001(\010B\003" + + "\340A\005\0225\n(fully_refresh_incremental_tables_" + + "enabled\030\005 \001(\010B\003\340A\005\"d\n\005State\022\025\n\021STATE_UNS" + + "PECIFIED\020\000\022\013\n\007RUNNING\020\001\022\r\n\tSUCCEEDED\020\002\022\r" + + "\n\tCANCELLED\020\003\022\n\n\006FAILED\020\004\022\r\n\tCANCELING\020\005" + + ":\235\001\352A\231\001\n*dataform.googleapis.com/Workflo" + + "wInvocation\022kprojects/{project}/location" + + "s/{location}/repositories/{repository}/w" + + "orkflowInvocations/{workflow_invocation}" + + "\"\215\001\n\036ListWorkflowInvocationsRequest\022:\n\006p" + + "arent\030\001 \001(\tB*\340A\002\372A$\n\"dataform.googleapis" + + ".com/Repository\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022" + + "\027\n\npage_token\030\003 \001(\tB\003\340A\001\"\241\001\n\037ListWorkflo" + + "wInvocationsResponse\022P\n\024workflow_invocat" + + "ions\030\001 \003(\01322.google.cloud.dataform.v1alp" + + "ha2.WorkflowInvocation\022\027\n\017next_page_toke" + + "n\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"`\n\034GetWorkf" + + "lowInvocationRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372" + + "A,\n*dataform.googleapis.com/WorkflowInvo" + + "cation\"\263\001\n\037CreateWorkflowInvocationReque" + + "st\022:\n\006parent\030\001 \001(\tB*\340A\002\372A$\n\"dataform.goo" + + "gleapis.com/Repository\022T\n\023workflow_invoc" + + "ation\030\002 \001(\01322.google.cloud.dataform.v1al" + + "pha2.WorkflowInvocationB\003\340A\002\"c\n\037DeleteWo" + + "rkflowInvocationRequest\022@\n\004name\030\001 \001(\tB2\340" + + "A\002\372A,\n*dataform.googleapis.com/WorkflowI" + + "nvocation\"c\n\037CancelWorkflowInvocationReq" + + "uest\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*dataform.goo" + + "gleapis.com/WorkflowInvocation\"\300\004\n\030Workf" + + "lowInvocationAction\022;\n\006target\030\001 \001(\0132&.go" + + "ogle.cloud.dataform.v1alpha2.TargetB\003\340A\003" + + "\022E\n\020canonical_target\030\002 \001(\0132&.google.clou" + + "d.dataform.v1alpha2.TargetB\003\340A\003\022R\n\005state" + + "\030\004 \001(\0162>.google.cloud.dataform.v1alpha2." + + "WorkflowInvocationAction.StateB\003\340A\003\022\033\n\016f" + + "ailure_reason\030\007 \001(\tB\003\340A\003\0225\n\021invocation_t" + + "iming\030\005 \001(\0132\025.google.type.IntervalB\003\340A\003\022" + + "e\n\017bigquery_action\030\006 \001(\0132G.google.cloud." + + "dataform.v1alpha2.WorkflowInvocationActi" + + "on.BigQueryActionB\003\340A\003\032)\n\016BigQueryAction" + + "\022\027\n\nsql_script\030\001 \001(\tB\003\340A\003\"f\n\005State\022\013\n\007PE" + + "NDING\020\000\022\013\n\007RUNNING\020\001\022\013\n\007SKIPPED\020\002\022\014\n\010DIS" + + "ABLED\020\003\022\r\n\tSUCCEEDED\020\004\022\r\n\tCANCELLED\020\005\022\n\n" + + "\006FAILED\020\006\"\232\001\n%QueryWorkflowInvocationAct" + + "ionsRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*dataf" + + "orm.googleapis.com/WorkflowInvocation\022\026\n" + + "\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(" + + "\tB\003\340A\001\"\240\001\n&QueryWorkflowInvocationAction" + + "sResponse\022]\n\033workflow_invocation_actions" + + "\030\001 \003(\01328.google.cloud.dataform.v1alpha2." + + "WorkflowInvocationAction\022\027\n\017next_page_to" + + "ken\030\002 \001(\t2\255?\n\010Dataform\022\316\001\n\020ListRepositor" + + "ies\0227.google.cloud.dataform.v1alpha2.Lis" + + "tRepositoriesRequest\0328.google.cloud.data" + + "form.v1alpha2.ListRepositoriesResponse\"G" + + "\202\323\344\223\0028\0226/v1alpha2/{parent=projects/*/loc" + + "ations/*}/repositories\332A\006parent\022\270\001\n\rGetR" + + "epository\0224.google.cloud.dataform.v1alph" + + "a2.GetRepositoryRequest\032*.google.cloud.d" + + "ataform.v1alpha2.Repository\"E\202\323\344\223\0028\0226/v1" + + "alpha2/{name=projects/*/locations/*/repo" + + "sitories/*}\332A\004name\022\345\001\n\020CreateRepository\022" + + "7.google.cloud.dataform.v1alpha2.CreateR" + + "epositoryRequest\032*.google.cloud.dataform" + + ".v1alpha2.Repository\"l\202\323\344\223\002D\"6/v1alpha2/" + + "{parent=projects/*/locations/*}/reposito" + + "ries:\nrepository\332A\037parent,repository,rep" + + "ository_id\022\347\001\n\020UpdateRepository\0227.google" + + ".cloud.dataform.v1alpha2.UpdateRepositor" + + "yRequest\032*.google.cloud.dataform.v1alpha" + + "2.Repository\"n\202\323\344\223\002O2A/v1alpha2/{reposit" + + "ory.name=projects/*/locations/*/reposito" + + "ries/*}:\nrepository\332A\026repository,update_" + + "mask\022\252\001\n\020DeleteRepository\0227.google.cloud" + + ".dataform.v1alpha2.DeleteRepositoryReque" + + "st\032\026.google.protobuf.Empty\"E\202\323\344\223\0028*6/v1a" + + "lpha2/{name=projects/*/locations/*/repos" + + "itories/*}\332A\004name\022\342\001\n\023FetchRemoteBranche" + + "s\022:.google.cloud.dataform.v1alpha2.Fetch" + + "RemoteBranchesRequest\032;.google.cloud.dat" + + "aform.v1alpha2.FetchRemoteBranchesRespon" + + "se\"R\202\323\344\223\002L\022J/v1alpha2/{name=projects/*/l" + + "ocations/*/repositories/*}:fetchRemoteBr" + + "anches\022\325\001\n\016ListWorkspaces\0225.google.cloud" + + ".dataform.v1alpha2.ListWorkspacesRequest" + + "\0326.google.cloud.dataform.v1alpha2.ListWo" + + "rkspacesResponse\"T\202\323\344\223\002E\022C/v1alpha2/{par" + + "ent=projects/*/locations/*/repositories/" + + "*}/workspaces\332A\006parent\022\302\001\n\014GetWorkspace\022" + + "3.google.cloud.dataform.v1alpha2.GetWork" + + "spaceRequest\032).google.cloud.dataform.v1a" + + "lpha2.Workspace\"R\202\323\344\223\002E\022C/v1alpha2/{name" + + "=projects/*/locations/*/repositories/*/w" + + "orkspaces/*}\332A\004name\022\354\001\n\017CreateWorkspace\022" + + "6.google.cloud.dataform.v1alpha2.CreateW" + + "orkspaceRequest\032).google.cloud.dataform." + + "v1alpha2.Workspace\"v\202\323\344\223\002P\"C/v1alpha2/{p" + + "arent=projects/*/locations/*/repositorie" + + "s/*}/workspaces:\tworkspace\332A\035parent,work" + + "space,workspace_id\022\265\001\n\017DeleteWorkspace\0226" + + ".google.cloud.dataform.v1alpha2.DeleteWo" + + "rkspaceRequest\032\026.google.protobuf.Empty\"R" + + "\202\323\344\223\002E*C/v1alpha2/{name=projects/*/locat" + + "ions/*/repositories/*/workspaces/*}\332A\004na" + + "me\022\363\001\n\022InstallNpmPackages\0229.google.cloud" + + ".dataform.v1alpha2.InstallNpmPackagesReq" + + "uest\032:.google.cloud.dataform.v1alpha2.In" + + "stallNpmPackagesResponse\"f\202\323\344\223\002`\"[/v1alp" + + "ha2/{workspace=projects/*/locations/*/re" + + "positories/*/workspaces/*}:installNpmPac" + + "kages:\001*\022\264\001\n\016PullGitCommits\0225.google.clo" + + "ud.dataform.v1alpha2.PullGitCommitsReque" + + "st\032\026.google.protobuf.Empty\"S\202\323\344\223\002M\"H/v1a" + + "lpha2/{name=projects/*/locations/*/repos" + + "itories/*/workspaces/*}:pull:\001*\022\264\001\n\016Push" + + "GitCommits\0225.google.cloud.dataform.v1alp" + + "ha2.PushGitCommitsRequest\032\026.google.proto" + + "buf.Empty\"S\202\323\344\223\002M\"H/v1alpha2/{name=proje" + + "cts/*/locations/*/repositories/*/workspa" + + "ces/*}:push:\001*\022\363\001\n\024FetchFileGitStatuses\022" + + ";.google.cloud.dataform.v1alpha2.FetchFi" + + "leGitStatusesRequest\032<.google.cloud.data" + + "form.v1alpha2.FetchFileGitStatusesRespon" + + "se\"`\202\323\344\223\002Z\022X/v1alpha2/{name=projects/*/l" + + "ocations/*/repositories/*/workspaces/*}:" + + "fetchFileGitStatuses\022\357\001\n\023FetchGitAheadBe" + + "hind\022:.google.cloud.dataform.v1alpha2.Fe" + + "tchGitAheadBehindRequest\032;.google.cloud." + + "dataform.v1alpha2.FetchGitAheadBehindRes", + "ponse\"_\202\323\344\223\002Y\022W/v1alpha2/{name=projects/" + + "*/locations/*/repositories/*/workspaces/" + + "*}:fetchGitAheadBehind\022\306\001\n\026CommitWorkspa" + + "ceChanges\022=.google.cloud.dataform.v1alph" + + "a2.CommitWorkspaceChangesRequest\032\026.googl" + + "e.protobuf.Empty\"U\202\323\344\223\002O\"J/v1alpha2/{nam" + + "e=projects/*/locations/*/repositories/*/" + + "workspaces/*}:commit:\001*\022\303\001\n\025ResetWorkspa" + + "ceChanges\022<.google.cloud.dataform.v1alph" + + "a2.ResetWorkspaceChangesRequest\032\026.google" + + ".protobuf.Empty\"T\202\323\344\223\002N\"I/v1alpha2/{name" + + "=projects/*/locations/*/repositories/*/w" + + "orkspaces/*}:reset:\001*\022\334\001\n\rFetchFileDiff\022" + + "4.google.cloud.dataform.v1alpha2.FetchFi" + + "leDiffRequest\0325.google.cloud.dataform.v1" + + "alpha2.FetchFileDiffResponse\"^\202\323\344\223\002X\022V/v" + + "1alpha2/{workspace=projects/*/locations/" + + "*/repositories/*/workspaces/*}:fetchFile" + + "Diff\022\200\002\n\026QueryDirectoryContents\022=.google" + + ".cloud.dataform.v1alpha2.QueryDirectoryC" + + "ontentsRequest\032>.google.cloud.dataform.v" + + "1alpha2.QueryDirectoryContentsResponse\"g" + + "\202\323\344\223\002a\022_/v1alpha2/{workspace=projects/*/" + + "locations/*/repositories/*/workspaces/*}" + + ":queryDirectoryContents\022\337\001\n\rMakeDirector" + + "y\0224.google.cloud.dataform.v1alpha2.MakeD" + + "irectoryRequest\0325.google.cloud.dataform." + + "v1alpha2.MakeDirectoryResponse\"a\202\323\344\223\002[\"V" + + "/v1alpha2/{workspace=projects/*/location" + + "s/*/repositories/*/workspaces/*}:makeDir" + + "ectory:\001*\022\306\001\n\017RemoveDirectory\0226.google.c" + + "loud.dataform.v1alpha2.RemoveDirectoryRe" + + "quest\032\026.google.protobuf.Empty\"c\202\323\344\223\002]\"X/" + + "v1alpha2/{workspace=projects/*/locations" + + "/*/repositories/*/workspaces/*}:removeDi" + + "rectory:\001*\022\337\001\n\rMoveDirectory\0224.google.cl" + + "oud.dataform.v1alpha2.MoveDirectoryReque" + + "st\0325.google.cloud.dataform.v1alpha2.Move" + + "DirectoryResponse\"a\202\323\344\223\002[\"V/v1alpha2/{wo" + + "rkspace=projects/*/locations/*/repositor" + + "ies/*/workspaces/*}:moveDirectory:\001*\022\310\001\n" + + "\010ReadFile\022/.google.cloud.dataform.v1alph" + + "a2.ReadFileRequest\0320.google.cloud.datafo" + + "rm.v1alpha2.ReadFileResponse\"Y\202\323\344\223\002S\022Q/v" + + "1alpha2/{workspace=projects/*/locations/" + + "*/repositories/*/workspaces/*}:readFile\022" + + "\267\001\n\nRemoveFile\0221.google.cloud.dataform.v" + + "1alpha2.RemoveFileRequest\032\026.google.proto" + + "buf.Empty\"^\202\323\344\223\002X\"S/v1alpha2/{workspace=" + + "projects/*/locations/*/repositories/*/wo" + + "rkspaces/*}:removeFile:\001*\022\313\001\n\010MoveFile\022/" + + ".google.cloud.dataform.v1alpha2.MoveFile" + + "Request\0320.google.cloud.dataform.v1alpha2" + + ".MoveFileResponse\"\\\202\323\344\223\002V\"Q/v1alpha2/{wo" + + "rkspace=projects/*/locations/*/repositor" + + "ies/*/workspaces/*}:moveFile:\001*\022\317\001\n\tWrit" + + "eFile\0220.google.cloud.dataform.v1alpha2.W" + + "riteFileRequest\0321.google.cloud.dataform." + + "v1alpha2.WriteFileResponse\"]\202\323\344\223\002W\"R/v1a" + + "lpha2/{workspace=projects/*/locations/*/" + + "repositories/*/workspaces/*}:writeFile:\001" + + "*\022\365\001\n\026ListCompilationResults\022=.google.cl" + + "oud.dataform.v1alpha2.ListCompilationRes" + + "ultsRequest\032>.google.cloud.dataform.v1al" + + "pha2.ListCompilationResultsResponse\"\\\202\323\344" + + "\223\002M\022K/v1alpha2/{parent=projects/*/locati" + + "ons/*/repositories/*}/compilationResults" + + "\332A\006parent\022\342\001\n\024GetCompilationResult\022;.goo" + + "gle.cloud.dataform.v1alpha2.GetCompilati" + + "onResultRequest\0321.google.cloud.dataform." + + "v1alpha2.CompilationResult\"Z\202\323\344\223\002M\022K/v1a" + + "lpha2/{name=projects/*/locations/*/repos" + + "itories/*/compilationResults/*}\332A\004name\022\222" + + "\002\n\027CreateCompilationResult\022>.google.clou" + + "d.dataform.v1alpha2.CreateCompilationRes" + + "ultRequest\0321.google.cloud.dataform.v1alp" + + "ha2.CompilationResult\"\203\001\202\323\344\223\002a\"K/v1alpha" + + "2/{parent=projects/*/locations/*/reposit" + + "ories/*}/compilationResults:\022compilation" + + "_result\332A\031parent,compilation_result\022\207\002\n\035" + + "QueryCompilationResultActions\022D.google.c" + + "loud.dataform.v1alpha2.QueryCompilationR" + + "esultActionsRequest\032E.google.cloud.dataf" + + "orm.v1alpha2.QueryCompilationResultActio" + + "nsResponse\"Y\202\323\344\223\002S\022Q/v1alpha2/{name=proj" + + "ects/*/locations/*/repositories/*/compil" + + "ationResults/*}:query\022\371\001\n\027ListWorkflowIn" + + "vocations\022>.google.cloud.dataform.v1alph" + + "a2.ListWorkflowInvocationsRequest\032?.goog" + + "le.cloud.dataform.v1alpha2.ListWorkflowI" + + "nvocationsResponse\"]\202\323\344\223\002N\022L/v1alpha2/{p" + + "arent=projects/*/locations/*/repositorie" + + "s/*}/workflowInvocations\332A\006parent\022\346\001\n\025Ge" + + "tWorkflowInvocation\022<.google.cloud.dataf" + + "orm.v1alpha2.GetWorkflowInvocationReques" + + "t\0322.google.cloud.dataform.v1alpha2.Workf" + + "lowInvocation\"[\202\323\344\223\002N\022L/v1alpha2/{name=p" + + "rojects/*/locations/*/repositories/*/wor" + + "kflowInvocations/*}\332A\004name\022\230\002\n\030CreateWor" + + "kflowInvocation\022?.google.cloud.dataform." + + "v1alpha2.CreateWorkflowInvocationRequest" + + "\0322.google.cloud.dataform.v1alpha2.Workfl" + + "owInvocation\"\206\001\202\323\344\223\002c\"L/v1alpha2/{parent" + + "=projects/*/locations/*/repositories/*}/" + + "workflowInvocations:\023workflow_invocation" + + "\332A\032parent,workflow_invocation\022\320\001\n\030Delete" + + "WorkflowInvocation\022?.google.cloud.datafo" + + "rm.v1alpha2.DeleteWorkflowInvocationRequ" + + "est\032\026.google.protobuf.Empty\"[\202\323\344\223\002N*L/v1" + + "alpha2/{name=projects/*/locations/*/repo" + + "sitories/*/workflowInvocations/*}\332A\004name" + + "\022\323\001\n\030CancelWorkflowInvocation\022?.google.c" + + "loud.dataform.v1alpha2.CancelWorkflowInv" + + "ocationRequest\032\026.google.protobuf.Empty\"^" + + "\202\323\344\223\002X\"S/v1alpha2/{name=projects/*/locat" + + "ions/*/repositories/*/workflowInvocation" + + "s/*}:cancel:\001*\022\213\002\n\036QueryWorkflowInvocati" + + "onActions\022E.google.cloud.dataform.v1alph" + + "a2.QueryWorkflowInvocationActionsRequest" + + "\032F.google.cloud.dataform.v1alpha2.QueryW" + + "orkflowInvocationActionsResponse\"Z\202\323\344\223\002T" + + "\022R/v1alpha2/{name=projects/*/locations/*" + + "/repositories/*/workflowInvocations/*}:q" + + "uery\032K\312A\027dataform.googleapis.com\322A.https" + + "://www.googleapis.com/auth/cloud-platfor" + + "mB\312\002\n\"com.google.cloud.dataform.v1alpha2" + + "B\rDataformProtoP\001ZFgoogle.golang.org/gen" + + "proto/googleapis/cloud/dataform/v1alpha2" + + ";dataform\252\002\036Google.Cloud.Dataform.V1Alph" + + "a2\312\002\036Google\\Cloud\\Dataform\\V1alpha2\352\002!Go" + + "ogle::Cloud::Dataform::V1alpha2\352Ad\n*secr" + + "etmanager.googleapis.com/SecretVersion\0226" + + "projects/{project}/secrets/{secret}/vers" + + "ions/{version}b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.type.IntervalProto.getDescriptor(), + }); + internal_static_google_cloud_dataform_v1alpha2_Repository_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_dataform_v1alpha2_Repository_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_Repository_descriptor, + new java.lang.String[] { + "Name", "GitRemoteSettings", + }); + internal_static_google_cloud_dataform_v1alpha2_Repository_GitRemoteSettings_descriptor = + internal_static_google_cloud_dataform_v1alpha2_Repository_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_dataform_v1alpha2_Repository_GitRemoteSettings_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_Repository_GitRemoteSettings_descriptor, + new java.lang.String[] { + "Url", "DefaultBranch", "AuthenticationTokenSecretVersion", "TokenStatus", + }); + internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "OrderBy", "Filter", + }); + internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesResponse_descriptor, + new java.lang.String[] { + "Repositories", "NextPageToken", "Unreachable", + }); + internal_static_google_cloud_dataform_v1alpha2_GetRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_dataform_v1alpha2_GetRepositoryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_GetRepositoryRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_dataform_v1alpha2_CreateRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_dataform_v1alpha2_CreateRepositoryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_CreateRepositoryRequest_descriptor, + new java.lang.String[] { + "Parent", "Repository", "RepositoryId", + }); + internal_static_google_cloud_dataform_v1alpha2_UpdateRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_dataform_v1alpha2_UpdateRepositoryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_UpdateRepositoryRequest_descriptor, + new java.lang.String[] { + "UpdateMask", "Repository", + }); + internal_static_google_cloud_dataform_v1alpha2_DeleteRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_dataform_v1alpha2_DeleteRepositoryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_DeleteRepositoryRequest_descriptor, + new java.lang.String[] { + "Name", "Force", + }); + internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesResponse_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesResponse_descriptor, + new java.lang.String[] { + "Branches", + }); + internal_static_google_cloud_dataform_v1alpha2_Workspace_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_dataform_v1alpha2_Workspace_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_Workspace_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "OrderBy", "Filter", + }); + internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesResponse_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesResponse_descriptor, + new java.lang.String[] { + "Workspaces", "NextPageToken", "Unreachable", + }); + internal_static_google_cloud_dataform_v1alpha2_GetWorkspaceRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_dataform_v1alpha2_GetWorkspaceRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_GetWorkspaceRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_dataform_v1alpha2_CreateWorkspaceRequest_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_dataform_v1alpha2_CreateWorkspaceRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_CreateWorkspaceRequest_descriptor, + new java.lang.String[] { + "Parent", "Workspace", "WorkspaceId", + }); + internal_static_google_cloud_dataform_v1alpha2_DeleteWorkspaceRequest_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_dataform_v1alpha2_DeleteWorkspaceRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_DeleteWorkspaceRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_dataform_v1alpha2_CommitAuthor_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_dataform_v1alpha2_CommitAuthor_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_CommitAuthor_descriptor, + new java.lang.String[] { + "Name", "EmailAddress", + }); + internal_static_google_cloud_dataform_v1alpha2_PullGitCommitsRequest_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_dataform_v1alpha2_PullGitCommitsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_PullGitCommitsRequest_descriptor, + new java.lang.String[] { + "Name", "RemoteBranch", "Author", + }); + internal_static_google_cloud_dataform_v1alpha2_PushGitCommitsRequest_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_dataform_v1alpha2_PushGitCommitsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_PushGitCommitsRequest_descriptor, + new java.lang.String[] { + "Name", "RemoteBranch", + }); + internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesRequest_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_descriptor, + new java.lang.String[] { + "UncommittedFileChanges", + }); + internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_UncommittedFileChange_descriptor = + internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_UncommittedFileChange_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_UncommittedFileChange_descriptor, + new java.lang.String[] { + "Path", "State", + }); + internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindRequest_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindRequest_descriptor, + new java.lang.String[] { + "Name", "RemoteBranch", + }); + internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindResponse_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindResponse_descriptor, + new java.lang.String[] { + "CommitsAhead", "CommitsBehind", + }); + internal_static_google_cloud_dataform_v1alpha2_CommitWorkspaceChangesRequest_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_cloud_dataform_v1alpha2_CommitWorkspaceChangesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_CommitWorkspaceChangesRequest_descriptor, + new java.lang.String[] { + "Name", "Author", "CommitMessage", "Paths", + }); + internal_static_google_cloud_dataform_v1alpha2_ResetWorkspaceChangesRequest_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_cloud_dataform_v1alpha2_ResetWorkspaceChangesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_ResetWorkspaceChangesRequest_descriptor, + new java.lang.String[] { + "Name", "Paths", "Clean", + }); + internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffRequest_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffRequest_descriptor, + new java.lang.String[] { + "Workspace", "Path", + }); + internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffResponse_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffResponse_descriptor, + new java.lang.String[] { + "FormattedDiff", + }); + internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsRequest_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsRequest_descriptor, + new java.lang.String[] { + "Workspace", "Path", "PageSize", "PageToken", + }); + internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_descriptor = + getDescriptor().getMessageTypes().get(27); + internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_descriptor, + new java.lang.String[] { + "DirectoryEntries", "NextPageToken", + }); + internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_DirectoryEntry_descriptor = + internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_DirectoryEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_DirectoryEntry_descriptor, + new java.lang.String[] { + "File", "Directory", "Entry", + }); + internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryRequest_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryRequest_descriptor, + new java.lang.String[] { + "Workspace", "Path", + }); + internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryResponse_descriptor = + getDescriptor().getMessageTypes().get(29); + internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryResponse_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_dataform_v1alpha2_RemoveDirectoryRequest_descriptor = + getDescriptor().getMessageTypes().get(30); + internal_static_google_cloud_dataform_v1alpha2_RemoveDirectoryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_RemoveDirectoryRequest_descriptor, + new java.lang.String[] { + "Workspace", "Path", + }); + internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryRequest_descriptor = + getDescriptor().getMessageTypes().get(31); + internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryRequest_descriptor, + new java.lang.String[] { + "Workspace", "Path", "NewPath", + }); + internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryResponse_descriptor = + getDescriptor().getMessageTypes().get(32); + internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryResponse_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_dataform_v1alpha2_ReadFileRequest_descriptor = + getDescriptor().getMessageTypes().get(33); + internal_static_google_cloud_dataform_v1alpha2_ReadFileRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_ReadFileRequest_descriptor, + new java.lang.String[] { + "Workspace", "Path", + }); + internal_static_google_cloud_dataform_v1alpha2_ReadFileResponse_descriptor = + getDescriptor().getMessageTypes().get(34); + internal_static_google_cloud_dataform_v1alpha2_ReadFileResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_ReadFileResponse_descriptor, + new java.lang.String[] { + "FileContents", + }); + internal_static_google_cloud_dataform_v1alpha2_RemoveFileRequest_descriptor = + getDescriptor().getMessageTypes().get(35); + internal_static_google_cloud_dataform_v1alpha2_RemoveFileRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_RemoveFileRequest_descriptor, + new java.lang.String[] { + "Workspace", "Path", + }); + internal_static_google_cloud_dataform_v1alpha2_MoveFileRequest_descriptor = + getDescriptor().getMessageTypes().get(36); + internal_static_google_cloud_dataform_v1alpha2_MoveFileRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_MoveFileRequest_descriptor, + new java.lang.String[] { + "Workspace", "Path", "NewPath", + }); + internal_static_google_cloud_dataform_v1alpha2_MoveFileResponse_descriptor = + getDescriptor().getMessageTypes().get(37); + internal_static_google_cloud_dataform_v1alpha2_MoveFileResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_MoveFileResponse_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_dataform_v1alpha2_WriteFileRequest_descriptor = + getDescriptor().getMessageTypes().get(38); + internal_static_google_cloud_dataform_v1alpha2_WriteFileRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_WriteFileRequest_descriptor, + new java.lang.String[] { + "Workspace", "Path", "Contents", + }); + internal_static_google_cloud_dataform_v1alpha2_WriteFileResponse_descriptor = + getDescriptor().getMessageTypes().get(39); + internal_static_google_cloud_dataform_v1alpha2_WriteFileResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_WriteFileResponse_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesRequest_descriptor = + getDescriptor().getMessageTypes().get(40); + internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesRequest_descriptor, + new java.lang.String[] { + "Workspace", + }); + internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesResponse_descriptor = + getDescriptor().getMessageTypes().get(41); + internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesResponse_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_dataform_v1alpha2_CompilationResult_descriptor = + getDescriptor().getMessageTypes().get(42); + internal_static_google_cloud_dataform_v1alpha2_CompilationResult_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_CompilationResult_descriptor, + new java.lang.String[] { + "Name", + "GitCommitish", + "Workspace", + "CodeCompilationConfig", + "DataformCoreVersion", + "CompilationErrors", + "Source", + }); + internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_descriptor = + internal_static_google_cloud_dataform_v1alpha2_CompilationResult_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_descriptor, + new java.lang.String[] { + "DefaultDatabase", + "DefaultSchema", + "DefaultLocation", + "AssertionSchema", + "Vars", + "DatabaseSuffix", + "SchemaSuffix", + "TablePrefix", + }); + internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_VarsEntry_descriptor = + internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_VarsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CodeCompilationConfig_VarsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CompilationError_descriptor = + internal_static_google_cloud_dataform_v1alpha2_CompilationResult_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CompilationError_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_CompilationResult_CompilationError_descriptor, + new java.lang.String[] { + "Message", "Stack", "Path", "ActionTarget", + }); + internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsRequest_descriptor = + getDescriptor().getMessageTypes().get(43); + internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsResponse_descriptor = + getDescriptor().getMessageTypes().get(44); + internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsResponse_descriptor, + new java.lang.String[] { + "CompilationResults", "NextPageToken", "Unreachable", + }); + internal_static_google_cloud_dataform_v1alpha2_GetCompilationResultRequest_descriptor = + getDescriptor().getMessageTypes().get(45); + internal_static_google_cloud_dataform_v1alpha2_GetCompilationResultRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_GetCompilationResultRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_dataform_v1alpha2_CreateCompilationResultRequest_descriptor = + getDescriptor().getMessageTypes().get(46); + internal_static_google_cloud_dataform_v1alpha2_CreateCompilationResultRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_CreateCompilationResultRequest_descriptor, + new java.lang.String[] { + "Parent", "CompilationResult", + }); + internal_static_google_cloud_dataform_v1alpha2_Target_descriptor = + getDescriptor().getMessageTypes().get(47); + internal_static_google_cloud_dataform_v1alpha2_Target_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_Target_descriptor, + new java.lang.String[] { + "Database", "Schema", "Name", + }); + internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_descriptor = + getDescriptor().getMessageTypes().get(48); + internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_descriptor, + new java.lang.String[] { + "Description", "Columns", "BigqueryLabels", + }); + internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_ColumnDescriptor_descriptor = + internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_ColumnDescriptor_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_ColumnDescriptor_descriptor, + new java.lang.String[] { + "Path", "Description", "BigqueryPolicyTags", + }); + internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_BigqueryLabelsEntry_descriptor = + internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_BigqueryLabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_BigqueryLabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_descriptor = + getDescriptor().getMessageTypes().get(49); + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_descriptor, + new java.lang.String[] { + "Target", + "CanonicalTarget", + "FilePath", + "Relation", + "Operations", + "Assertion", + "Declaration", + "CompiledObject", + }); + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_descriptor = + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_descriptor, + new java.lang.String[] { + "DependencyTargets", + "Disabled", + "Tags", + "RelationDescriptor", + "RelationType", + "SelectQuery", + "PreOperations", + "PostOperations", + "IncrementalTableConfig", + "PartitionExpression", + "ClusterExpressions", + "PartitionExpirationDays", + "RequirePartitionFilter", + "AdditionalOptions", + }); + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_IncrementalTableConfig_descriptor = + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_IncrementalTableConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_IncrementalTableConfig_descriptor, + new java.lang.String[] { + "IncrementalSelectQuery", + "RefreshDisabled", + "UniqueKeyParts", + "UpdatePartitionFilter", + "IncrementalPreOperations", + "IncrementalPostOperations", + }); + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_AdditionalOptionsEntry_descriptor = + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_AdditionalOptionsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Relation_AdditionalOptionsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Operations_descriptor = + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Operations_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Operations_descriptor, + new java.lang.String[] { + "DependencyTargets", "Disabled", "Tags", "RelationDescriptor", "Queries", "HasOutput", + }); + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Assertion_descriptor = + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_descriptor + .getNestedTypes() + .get(2); + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Assertion_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Assertion_descriptor, + new java.lang.String[] { + "DependencyTargets", + "ParentAction", + "Disabled", + "Tags", + "SelectQuery", + "RelationDescriptor", + }); + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Declaration_descriptor = + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_descriptor + .getNestedTypes() + .get(3); + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Declaration_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_CompilationResultAction_Declaration_descriptor, + new java.lang.String[] { + "RelationDescriptor", + }); + internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsRequest_descriptor = + getDescriptor().getMessageTypes().get(50); + internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsRequest_descriptor, + new java.lang.String[] { + "Name", "PageSize", "PageToken", "Filter", + }); + internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsResponse_descriptor = + getDescriptor().getMessageTypes().get(51); + internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsResponse_descriptor, + new java.lang.String[] { + "CompilationResultActions", "NextPageToken", + }); + internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_descriptor = + getDescriptor().getMessageTypes().get(52); + internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_descriptor, + new java.lang.String[] { + "Name", "CompilationResult", "InvocationConfig", "State", "InvocationTiming", + }); + internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_InvocationConfig_descriptor = + internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_InvocationConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_InvocationConfig_descriptor, + new java.lang.String[] { + "IncludedTargets", + "IncludedTags", + "TransitiveDependenciesIncluded", + "TransitiveDependentsIncluded", + "FullyRefreshIncrementalTablesEnabled", + }); + internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsRequest_descriptor = + getDescriptor().getMessageTypes().get(53); + internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsResponse_descriptor = + getDescriptor().getMessageTypes().get(54); + internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsResponse_descriptor, + new java.lang.String[] { + "WorkflowInvocations", "NextPageToken", "Unreachable", + }); + internal_static_google_cloud_dataform_v1alpha2_GetWorkflowInvocationRequest_descriptor = + getDescriptor().getMessageTypes().get(55); + internal_static_google_cloud_dataform_v1alpha2_GetWorkflowInvocationRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_GetWorkflowInvocationRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_dataform_v1alpha2_CreateWorkflowInvocationRequest_descriptor = + getDescriptor().getMessageTypes().get(56); + internal_static_google_cloud_dataform_v1alpha2_CreateWorkflowInvocationRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_CreateWorkflowInvocationRequest_descriptor, + new java.lang.String[] { + "Parent", "WorkflowInvocation", + }); + internal_static_google_cloud_dataform_v1alpha2_DeleteWorkflowInvocationRequest_descriptor = + getDescriptor().getMessageTypes().get(57); + internal_static_google_cloud_dataform_v1alpha2_DeleteWorkflowInvocationRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_DeleteWorkflowInvocationRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_dataform_v1alpha2_CancelWorkflowInvocationRequest_descriptor = + getDescriptor().getMessageTypes().get(58); + internal_static_google_cloud_dataform_v1alpha2_CancelWorkflowInvocationRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_CancelWorkflowInvocationRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_descriptor = + getDescriptor().getMessageTypes().get(59); + internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_descriptor, + new java.lang.String[] { + "Target", + "CanonicalTarget", + "State", + "FailureReason", + "InvocationTiming", + "BigqueryAction", + }); + internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_BigQueryAction_descriptor = + internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_BigQueryAction_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_BigQueryAction_descriptor, + new java.lang.String[] { + "SqlScript", + }); + internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsRequest_descriptor = + getDescriptor().getMessageTypes().get(60); + internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsRequest_descriptor, + new java.lang.String[] { + "Name", "PageSize", "PageToken", + }); + internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsResponse_descriptor = + getDescriptor().getMessageTypes().get(61); + internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsResponse_descriptor, + new java.lang.String[] { + "WorkflowInvocationActions", "NextPageToken", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceDefinition); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.type.IntervalProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteRepositoryRequest.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteRepositoryRequest.java similarity index 66% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteRepositoryRequest.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteRepositoryRequest.java index 14973d8..a761baa 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteRepositoryRequest.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteRepositoryRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * `DeleteRepository` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.DeleteRepositoryRequest} */ -public final class DeleteRepositoryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.DeleteRepositoryRequest) DeleteRepositoryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteRepositoryRequest.newBuilder() to construct. private DeleteRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteRepositoryRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,24 +70,25 @@ private DeleteRepositoryRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - force_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + case 16: + { + force_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -78,34 +96,41 @@ private DeleteRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_DeleteRepositoryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_DeleteRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_DeleteRepositoryRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_DeleteRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest.class, com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest.class, + com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The repository's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -114,29 +139,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The repository's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -147,6 +174,8 @@ public java.lang.String getName() { public static final int FORCE_FIELD_NUMBER = 2; private boolean force_; /** + * + * *
    * If set to true, any child resources of this repository will also be
    * deleted. (Otherwise, the request will only succeed if the repository has no
@@ -154,6 +183,7 @@ public java.lang.String getName() {
    * 
* * bool force = 2; + * * @return The force. */ @java.lang.Override @@ -162,6 +192,7 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -173,8 +204,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -194,8 +224,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, force_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, force_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -205,17 +234,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest other = (com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest) obj; + com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest other = + (com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (getForce() - != other.getForce()) return false; + if (!getName().equals(other.getName())) return false; + if (getForce() != other.getForce()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -230,125 +258,134 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `DeleteRepository` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.DeleteRepositoryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.DeleteRepositoryRequest) com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_DeleteRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_DeleteRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_DeleteRepositoryRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_DeleteRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest.class, com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest.class, + com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest.newBuilder() @@ -356,16 +393,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -377,9 +413,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_DeleteRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_DeleteRepositoryRequest_descriptor; } @java.lang.Override @@ -398,7 +434,8 @@ public com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest result = new com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest(this); + com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest result = + new com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest(this); result.name_ = name_; result.force_ = force_; onBuilt(); @@ -409,38 +446,39 @@ public com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest)other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest) other); } else { super.mergeFrom(other); return this; @@ -448,7 +486,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -475,7 +514,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -487,18 +527,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The repository's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -507,20 +551,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The repository's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -528,61 +575,76 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The repository's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The repository's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The repository's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private boolean force_ ; + private boolean force_; /** + * + * *
      * If set to true, any child resources of this repository will also be
      * deleted. (Otherwise, the request will only succeed if the repository has no
@@ -590,6 +652,7 @@ public Builder setNameBytes(
      * 
* * bool force = 2; + * * @return The force. */ @java.lang.Override @@ -597,6 +660,8 @@ public boolean getForce() { return force_; } /** + * + * *
      * If set to true, any child resources of this repository will also be
      * deleted. (Otherwise, the request will only succeed if the repository has no
@@ -604,16 +669,19 @@ public boolean getForce() {
      * 
* * bool force = 2; + * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; onChanged(); return this; } /** + * + * *
      * If set to true, any child resources of this repository will also be
      * deleted. (Otherwise, the request will only succeed if the repository has no
@@ -621,17 +689,18 @@ public Builder setForce(boolean value) {
      * 
* * bool force = 2; + * * @return This builder for chaining. */ public Builder clearForce() { - + force_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -641,12 +710,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.DeleteRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.DeleteRepositoryRequest) private static final com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest(); } @@ -655,16 +724,16 @@ public static com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -679,6 +748,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.DeleteRepositoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteRepositoryRequestOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteRepositoryRequestOrBuilder.java new file mode 100644 index 0000000..0343081 --- /dev/null +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteRepositoryRequestOrBuilder.java @@ -0,0 +1,69 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1alpha2/dataform.proto + +package com.google.cloud.dataform.v1alpha2; + +public interface DeleteRepositoryRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.DeleteRepositoryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The repository's name.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The repository's name.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * If set to true, any child resources of this repository will also be
+   * deleted. (Otherwise, the request will only succeed if the repository has no
+   * child resources.)
+   * 
+ * + * bool force = 2; + * + * @return The force. + */ + boolean getForce(); +} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkflowInvocationRequest.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkflowInvocationRequest.java similarity index 60% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkflowInvocationRequest.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkflowInvocationRequest.java index c4aea04..747917d 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkflowInvocationRequest.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkflowInvocationRequest.java @@ -1,40 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * `DeleteWorkflowInvocation` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest} */ -public final class DeleteWorkflowInvocationRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteWorkflowInvocationRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest) DeleteWorkflowInvocationRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteWorkflowInvocationRequest.newBuilder() to construct. - private DeleteWorkflowInvocationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteWorkflowInvocationRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteWorkflowInvocationRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteWorkflowInvocationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteWorkflowInvocationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +71,20 @@ private DeleteWorkflowInvocationRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +92,41 @@ private DeleteWorkflowInvocationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_DeleteWorkflowInvocationRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_DeleteWorkflowInvocationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_DeleteWorkflowInvocationRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_DeleteWorkflowInvocationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest.class, com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest.class, + com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The workflow invocation resource's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -109,29 +135,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The workflow invocation resource's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +168,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +180,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +204,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest other = (com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest) obj; + com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest other = + (com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,134 +232,145 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `DeleteWorkflowInvocation` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest) com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_DeleteWorkflowInvocationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_DeleteWorkflowInvocationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_DeleteWorkflowInvocationRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_DeleteWorkflowInvocationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest.class, com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest.class, + com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest.Builder.class); } - // Construct using com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest.newBuilder() + // Construct using + // com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,14 +380,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_DeleteWorkflowInvocationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_DeleteWorkflowInvocationRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest getDefaultInstanceForType() { - return com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest.getDefaultInstance(); + public com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest + getDefaultInstanceForType() { + return com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest + .getDefaultInstance(); } @java.lang.Override @@ -362,7 +403,8 @@ public com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest build( @java.lang.Override public com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest result = new com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest(this); + com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest result = + new com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,46 +414,51 @@ public com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest buildP public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest)other); + return mergeFrom( + (com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest other) { + if (other + == com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +482,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +496,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The workflow invocation resource's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -467,20 +520,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The workflow invocation resource's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -488,61 +544,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The workflow invocation resource's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The workflow invocation resource's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The workflow invocation resource's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,30 +621,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest) - private static final com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest(); } - public static com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteWorkflowInvocationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteWorkflowInvocationRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteWorkflowInvocationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteWorkflowInvocationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +658,8 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkflowInvocationRequestOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkflowInvocationRequestOrBuilder.java new file mode 100644 index 0000000..f450f2d --- /dev/null +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkflowInvocationRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1alpha2/dataform.proto + +package com.google.cloud.dataform.v1alpha2; + +public interface DeleteWorkflowInvocationRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.DeleteWorkflowInvocationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The workflow invocation resource's name.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The workflow invocation resource's name.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkspaceRequest.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkspaceRequest.java similarity index 64% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkspaceRequest.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkspaceRequest.java index e5ad639..9df4550 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkspaceRequest.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkspaceRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * `DeleteWorkspace` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest} */ -public final class DeleteWorkspaceRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteWorkspaceRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest) DeleteWorkspaceRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteWorkspaceRequest.newBuilder() to construct. private DeleteWorkspaceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteWorkspaceRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteWorkspaceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteWorkspaceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeleteWorkspaceRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private DeleteWorkspaceRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_DeleteWorkspaceRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_DeleteWorkspaceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_DeleteWorkspaceRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_DeleteWorkspaceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest.class, com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest.class, + com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The workspace resource's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -109,29 +134,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The workspace resource's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest other = (com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest) obj; + com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest other = + (com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `DeleteWorkspace` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest) com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_DeleteWorkspaceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_DeleteWorkspaceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_DeleteWorkspaceRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_DeleteWorkspaceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest.class, com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest.class, + com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest.newBuilder() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +377,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_DeleteWorkspaceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_DeleteWorkspaceRequest_descriptor; } @java.lang.Override @@ -362,7 +398,8 @@ public com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest result = new com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest(this); + com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest result = + new com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +409,39 @@ public com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest)other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +449,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +474,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +487,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The workspace resource's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -467,20 +511,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The workspace resource's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -488,61 +535,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The workspace resource's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The workspace resource's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The workspace resource's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +612,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest) private static final com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest(); } @@ -566,16 +626,16 @@ public static com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteWorkspaceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteWorkspaceRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteWorkspaceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteWorkspaceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +650,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkspaceRequestOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkspaceRequestOrBuilder.java new file mode 100644 index 0000000..61492c0 --- /dev/null +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/DeleteWorkspaceRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1alpha2/dataform.proto + +package com.google.cloud.dataform.v1alpha2; + +public interface DeleteWorkspaceRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.DeleteWorkspaceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The workspace resource's name.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The workspace resource's name.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffRequest.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffRequest.java similarity index 66% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffRequest.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffRequest.java index e8bb9f5..ffec909 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffRequest.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * `FetchFileDiff` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.FetchFileDiffRequest} */ -public final class FetchFileDiffRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class FetchFileDiffRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.FetchFileDiffRequest) FetchFileDiffRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FetchFileDiffRequest.newBuilder() to construct. private FetchFileDiffRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private FetchFileDiffRequest() { workspace_ = ""; path_ = ""; @@ -26,16 +44,15 @@ private FetchFileDiffRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FetchFileDiffRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private FetchFileDiffRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private FetchFileDiffRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - workspace_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + workspace_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - path_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + path_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +99,41 @@ private FetchFileDiffRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest.class, com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest.class, + com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest.Builder.class); } public static final int WORKSPACE_FIELD_NUMBER = 1; private volatile java.lang.Object workspace_; /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ @java.lang.Override @@ -116,29 +142,31 @@ public java.lang.String getWorkspace() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; } } /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ @java.lang.Override - public com.google.protobuf.ByteString - getWorkspaceBytes() { + public com.google.protobuf.ByteString getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workspace_ = b; return b; } else { @@ -149,11 +177,14 @@ public java.lang.String getWorkspace() { public static final int PATH_FIELD_NUMBER = 2; private volatile java.lang.Object path_; /** + * + * *
    * Required. The file's full path including filename, relative to the workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The path. */ @java.lang.Override @@ -162,29 +193,29 @@ public java.lang.String getPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } } /** + * + * *
    * Required. The file's full path including filename, relative to the workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for path. */ @java.lang.Override - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); path_ = b; return b; } else { @@ -193,6 +224,7 @@ public java.lang.String getPath() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,8 +236,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workspace_); } @@ -235,17 +266,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest other = (com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest) obj; + com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest other = + (com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest) obj; - if (!getWorkspace() - .equals(other.getWorkspace())) return false; - if (!getPath() - .equals(other.getPath())) return false; + if (!getWorkspace().equals(other.getWorkspace())) return false; + if (!getPath().equals(other.getPath())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -267,117 +297,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `FetchFileDiff` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.FetchFileDiffRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.FetchFileDiffRequest) com.google.cloud.dataform.v1alpha2.FetchFileDiffRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest.class, com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest.class, + com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest.newBuilder() @@ -385,16 +425,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -406,9 +445,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffRequest_descriptor; } @java.lang.Override @@ -427,7 +466,8 @@ public com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest result = new com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest(this); + com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest result = + new com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest(this); result.workspace_ = workspace_; result.path_ = path_; onBuilt(); @@ -438,38 +478,39 @@ public com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest)other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest) other); } else { super.mergeFrom(other); return this; @@ -477,7 +518,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest.getDefaultInstance()) + return this; if (!other.getWorkspace().isEmpty()) { workspace_ = other.workspace_; onChanged(); @@ -505,7 +547,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -517,18 +560,22 @@ public Builder mergeFrom( private java.lang.Object workspace_ = ""; /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ public java.lang.String getWorkspace() { java.lang.Object ref = workspace_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; @@ -537,20 +584,23 @@ public java.lang.String getWorkspace() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ - public com.google.protobuf.ByteString - getWorkspaceBytes() { + public com.google.protobuf.ByteString getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workspace_ = b; return b; } else { @@ -558,54 +608,67 @@ public java.lang.String getWorkspace() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The workspace to set. * @return This builder for chaining. */ - public Builder setWorkspace( - java.lang.String value) { + public Builder setWorkspace(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + workspace_ = value; onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearWorkspace() { - + workspace_ = getDefaultInstance().getWorkspace(); onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for workspace to set. * @return This builder for chaining. */ - public Builder setWorkspaceBytes( - com.google.protobuf.ByteString value) { + public Builder setWorkspaceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workspace_ = value; onChanged(); return this; @@ -613,18 +676,20 @@ public Builder setWorkspaceBytes( private java.lang.Object path_ = ""; /** + * + * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; @@ -633,20 +698,21 @@ public java.lang.String getPath() { } } /** + * + * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for path. */ - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); path_ = b; return b; } else { @@ -654,61 +720,68 @@ public java.lang.String getPath() { } } /** + * + * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath( - java.lang.String value) { + public Builder setPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + path_ = value; onChanged(); return this; } /** + * + * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearPath() { - + path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** + * + * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes( - com.google.protobuf.ByteString value) { + public Builder setPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -718,12 +791,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.FetchFileDiffRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.FetchFileDiffRequest) private static final com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest(); } @@ -732,16 +805,16 @@ public static com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FetchFileDiffRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FetchFileDiffRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FetchFileDiffRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FetchFileDiffRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -756,6 +829,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.FetchFileDiffRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffRequestOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffRequestOrBuilder.java new file mode 100644 index 0000000..6be7a91 --- /dev/null +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffRequestOrBuilder.java @@ -0,0 +1,79 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1alpha2/dataform.proto + +package com.google.cloud.dataform.v1alpha2; + +public interface FetchFileDiffRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.FetchFileDiffRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The workspace's name.
+   * 
+ * + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The workspace. + */ + java.lang.String getWorkspace(); + /** + * + * + *
+   * Required. The workspace's name.
+   * 
+ * + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for workspace. + */ + com.google.protobuf.ByteString getWorkspaceBytes(); + + /** + * + * + *
+   * Required. The file's full path including filename, relative to the workspace root.
+   * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The path. + */ + java.lang.String getPath(); + /** + * + * + *
+   * Required. The file's full path including filename, relative to the workspace root.
+   * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for path. + */ + com.google.protobuf.ByteString getPathBytes(); +} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffResponse.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffResponse.java similarity index 68% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffResponse.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffResponse.java index 9958c78..1bbff64 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffResponse.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffResponse.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * `FetchFileDiff` response message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.FetchFileDiffResponse} */ -public final class FetchFileDiffResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class FetchFileDiffResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.FetchFileDiffResponse) FetchFileDiffResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FetchFileDiffResponse.newBuilder() to construct. private FetchFileDiffResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private FetchFileDiffResponse() { formattedDiff_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FetchFileDiffResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private FetchFileDiffResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private FetchFileDiffResponse( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - formattedDiff_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + formattedDiff_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private FetchFileDiffResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse.class, com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse.class, + com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse.Builder.class); } public static final int FORMATTED_DIFF_FIELD_NUMBER = 1; private volatile java.lang.Object formattedDiff_; /** + * + * *
    * The raw formatted Git diff for the file.
    * 
* * string formatted_diff = 1; + * * @return The formattedDiff. */ @java.lang.Override @@ -109,29 +132,29 @@ public java.lang.String getFormattedDiff() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); formattedDiff_ = s; return s; } } /** + * + * *
    * The raw formatted Git diff for the file.
    * 
* * string formatted_diff = 1; + * * @return The bytes for formattedDiff. */ @java.lang.Override - public com.google.protobuf.ByteString - getFormattedDiffBytes() { + public com.google.protobuf.ByteString getFormattedDiffBytes() { java.lang.Object ref = formattedDiff_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); formattedDiff_ = b; return b; } else { @@ -140,6 +163,7 @@ public java.lang.String getFormattedDiff() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(formattedDiff_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, formattedDiff_); } @@ -176,15 +199,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse other = (com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse) obj; + com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse other = + (com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse) obj; - if (!getFormattedDiff() - .equals(other.getFormattedDiff())) return false; + if (!getFormattedDiff().equals(other.getFormattedDiff())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +227,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `FetchFileDiff` response message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.FetchFileDiffResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.FetchFileDiffResponse) com.google.cloud.dataform.v1alpha2.FetchFileDiffResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse.class, com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse.class, + com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse.newBuilder() @@ -322,16 +355,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +373,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_FetchFileDiffResponse_descriptor; } @java.lang.Override @@ -362,7 +394,8 @@ public com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse buildPartial() { - com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse result = new com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse(this); + com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse result = + new com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse(this); result.formattedDiff_ = formattedDiff_; onBuilt(); return result; @@ -372,38 +405,39 @@ public com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse)other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse) other); } else { super.mergeFrom(other); return this; @@ -411,7 +445,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse other) { - if (other == com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse.getDefaultInstance()) + return this; if (!other.getFormattedDiff().isEmpty()) { formattedDiff_ = other.formattedDiff_; onChanged(); @@ -435,7 +470,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +483,20 @@ public Builder mergeFrom( private java.lang.Object formattedDiff_ = ""; /** + * + * *
      * The raw formatted Git diff for the file.
      * 
* * string formatted_diff = 1; + * * @return The formattedDiff. */ public java.lang.String getFormattedDiff() { java.lang.Object ref = formattedDiff_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); formattedDiff_ = s; return s; @@ -467,20 +505,21 @@ public java.lang.String getFormattedDiff() { } } /** + * + * *
      * The raw formatted Git diff for the file.
      * 
* * string formatted_diff = 1; + * * @return The bytes for formattedDiff. */ - public com.google.protobuf.ByteString - getFormattedDiffBytes() { + public com.google.protobuf.ByteString getFormattedDiffBytes() { java.lang.Object ref = formattedDiff_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); formattedDiff_ = b; return b; } else { @@ -488,61 +527,68 @@ public java.lang.String getFormattedDiff() { } } /** + * + * *
      * The raw formatted Git diff for the file.
      * 
* * string formatted_diff = 1; + * * @param value The formattedDiff to set. * @return This builder for chaining. */ - public Builder setFormattedDiff( - java.lang.String value) { + public Builder setFormattedDiff(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + formattedDiff_ = value; onChanged(); return this; } /** + * + * *
      * The raw formatted Git diff for the file.
      * 
* * string formatted_diff = 1; + * * @return This builder for chaining. */ public Builder clearFormattedDiff() { - + formattedDiff_ = getDefaultInstance().getFormattedDiff(); onChanged(); return this; } /** + * + * *
      * The raw formatted Git diff for the file.
      * 
* * string formatted_diff = 1; + * * @param value The bytes for formattedDiff to set. * @return This builder for chaining. */ - public Builder setFormattedDiffBytes( - com.google.protobuf.ByteString value) { + public Builder setFormattedDiffBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + formattedDiff_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +598,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.FetchFileDiffResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.FetchFileDiffResponse) private static final com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse(); } @@ -566,16 +612,16 @@ public static com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FetchFileDiffResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FetchFileDiffResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FetchFileDiffResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FetchFileDiffResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +636,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.FetchFileDiffResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffResponseOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffResponseOrBuilder.java new file mode 100644 index 0000000..4d5cd39 --- /dev/null +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileDiffResponseOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1alpha2/dataform.proto + +package com.google.cloud.dataform.v1alpha2; + +public interface FetchFileDiffResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.FetchFileDiffResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The raw formatted Git diff for the file.
+   * 
+ * + * string formatted_diff = 1; + * + * @return The formattedDiff. + */ + java.lang.String getFormattedDiff(); + /** + * + * + *
+   * The raw formatted Git diff for the file.
+   * 
+ * + * string formatted_diff = 1; + * + * @return The bytes for formattedDiff. + */ + com.google.protobuf.ByteString getFormattedDiffBytes(); +} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesRequest.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesRequest.java similarity index 62% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesRequest.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesRequest.java index d0c6b09..be76a8a 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesRequest.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * `FetchFileGitStatuses` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest} */ -public final class FetchFileGitStatusesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class FetchFileGitStatusesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest) FetchFileGitStatusesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FetchFileGitStatusesRequest.newBuilder() to construct. private FetchFileGitStatusesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private FetchFileGitStatusesRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FetchFileGitStatusesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private FetchFileGitStatusesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private FetchFileGitStatusesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private FetchFileGitStatusesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest.class, com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest.class, + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The workspace's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -109,29 +134,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The workspace's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest other = (com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest) obj; + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest other = + (com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `FetchFileGitStatuses` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest) com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest.class, com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest.class, + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest.newBuilder() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +377,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest + getDefaultInstanceForType() { return com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest.getDefaultInstance(); } @@ -362,7 +399,8 @@ public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest result = new com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest(this); + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest result = + new com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +410,39 @@ public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest buildParti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest)other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +450,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +476,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +490,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -467,20 +514,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -488,61 +538,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,30 +615,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest) - private static final com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest(); } - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FetchFileGitStatusesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FetchFileGitStatusesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FetchFileGitStatusesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FetchFileGitStatusesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +652,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesRequestOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesRequestOrBuilder.java new file mode 100644 index 0000000..c564ef1 --- /dev/null +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1alpha2/dataform.proto + +package com.google.cloud.dataform.v1alpha2; + +public interface FetchFileGitStatusesRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.FetchFileGitStatusesRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The workspace's name.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The workspace's name.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesResponse.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesResponse.java similarity index 59% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesResponse.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesResponse.java index 4b403ae..3c4c477 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesResponse.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesResponse.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * `FetchFileGitStatuses` response message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse} */ -public final class FetchFileGitStatusesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class FetchFileGitStatusesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse) FetchFileGitStatusesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FetchFileGitStatusesResponse.newBuilder() to construct. private FetchFileGitStatusesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private FetchFileGitStatusesResponse() { uncommittedFileChanges_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FetchFileGitStatusesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private FetchFileGitStatusesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,22 +71,29 @@ private FetchFileGitStatusesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - uncommittedFileChanges_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + uncommittedFileChanges_ = + new java.util.ArrayList< + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse + .UncommittedFileChange>(); + mutable_bitField0_ |= 0x00000001; + } + uncommittedFileChanges_.add( + input.readMessage( + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse + .UncommittedFileChange.parser(), + extensionRegistry)); + break; } - uncommittedFileChanges_.add( - input.readMessage(com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -77,8 +101,7 @@ private FetchFileGitStatusesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { uncommittedFileChanges_ = java.util.Collections.unmodifiableList(uncommittedFileChanges_); @@ -87,78 +110,102 @@ private FetchFileGitStatusesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.class, com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.class, + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.Builder.class); } - public interface UncommittedFileChangeOrBuilder extends + public interface UncommittedFileChangeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The file's full path including filename, relative to the workspace root.
      * 
* * string path = 1; + * * @return The path. */ java.lang.String getPath(); /** + * + * *
      * The file's full path including filename, relative to the workspace root.
      * 
* * string path = 1; + * * @return The bytes for path. */ - com.google.protobuf.ByteString - getPathBytes(); + com.google.protobuf.ByteString getPathBytes(); /** + * + * *
      * Indicates the status of the file.
      * 
* - * .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; + * + * .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
      * Indicates the status of the file.
      * 
* - * .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; + * + * .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; + * + * * @return The state. */ - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State getState(); + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State + getState(); } /** + * + * *
    * Represents the Git state of a file with uncommitted changes.
    * 
* - * Protobuf type {@code google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange} + * Protobuf type {@code + * google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange} */ - public static final class UncommittedFileChange extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class UncommittedFileChange extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange) UncommittedFileChangeOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UncommittedFileChange.newBuilder() to construct. private UncommittedFileChange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private UncommittedFileChange() { path_ = ""; state_ = 0; @@ -166,16 +213,15 @@ private UncommittedFileChange() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UncommittedFileChange(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UncommittedFileChange( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -194,25 +240,27 @@ private UncommittedFileChange( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - path_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + path_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - state_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + state_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -220,36 +268,44 @@ private UncommittedFileChange( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_UncommittedFileChange_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_UncommittedFileChange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_UncommittedFileChange_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_UncommittedFileChange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.class, com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.Builder.class); + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange + .class, + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange + .Builder.class); } /** + * + * *
      * Indicates the status of an uncommitted file change.
      * 
* - * Protobuf enum {@code google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State} + * Protobuf enum {@code + * google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Default value. This value is unused.
        * 
@@ -258,6 +314,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
        * The file has been newly added.
        * 
@@ -266,6 +324,8 @@ public enum State */ ADDED(1), /** + * + * *
        * The file has been deleted.
        * 
@@ -274,6 +334,8 @@ public enum State */ DELETED(2), /** + * + * *
        * The file has been modified.
        * 
@@ -282,6 +344,8 @@ public enum State */ MODIFIED(3), /** + * + * *
        * The file contains merge conflicts.
        * 
@@ -293,6 +357,8 @@ public enum State ; /** + * + * *
        * Default value. This value is unused.
        * 
@@ -301,6 +367,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * The file has been newly added.
        * 
@@ -309,6 +377,8 @@ public enum State */ public static final int ADDED_VALUE = 1; /** + * + * *
        * The file has been deleted.
        * 
@@ -317,6 +387,8 @@ public enum State */ public static final int DELETED_VALUE = 2; /** + * + * *
        * The file has been modified.
        * 
@@ -325,6 +397,8 @@ public enum State */ public static final int MODIFIED_VALUE = 3; /** + * + * *
        * The file contains merge conflicts.
        * 
@@ -333,7 +407,6 @@ public enum State */ public static final int HAS_CONFLICTS_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -358,51 +431,56 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: return STATE_UNSPECIFIED; - case 1: return ADDED; - case 2: return DELETED; - case 3: return MODIFIED; - case 4: return HAS_CONFLICTS; - default: return null; + case 0: + return STATE_UNSPECIFIED; + case 1: + return ADDED; + case 2: + return DELETED; + case 3: + return MODIFIED; + case 4: + return HAS_CONFLICTS; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - State> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange + .getDescriptor() + .getEnumTypes() + .get(0); } private static final State[] VALUES = values(); - public static State valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -422,11 +500,14 @@ private State(int value) { public static final int PATH_FIELD_NUMBER = 1; private volatile java.lang.Object path_; /** + * + * *
      * The file's full path including filename, relative to the workspace root.
      * 
* * string path = 1; + * * @return The path. */ @java.lang.Override @@ -435,29 +516,29 @@ public java.lang.String getPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } } /** + * + * *
      * The file's full path including filename, relative to the workspace root.
      * 
* * string path = 1; + * * @return The bytes for path. */ @java.lang.Override - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); path_ = b; return b; } else { @@ -468,31 +549,52 @@ public java.lang.String getPath() { public static final int STATE_FIELD_NUMBER = 2; private int state_; /** + * + * *
      * Indicates the status of the file.
      * 
* - * .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; + * + * .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Indicates the status of the file.
      * 
* - * .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; + * + * .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State getState() { + @java.lang.Override + public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange + .State + getState() { @SuppressWarnings("deprecation") - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State result = com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State.valueOf(state_); - return result == null ? com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State.UNRECOGNIZED : result; + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State + result = + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange + .State.valueOf(state_); + return result == null + ? com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange + .State.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -504,12 +606,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, path_); } - if (state_ != com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State.STATE_UNSPECIFIED.getNumber()) { + if (state_ + != com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange + .State.STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, state_); } unknownFields.writeTo(output); @@ -524,9 +628,11 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, path_); } - if (state_ != com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, state_); + if (state_ + != com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange + .State.STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, state_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -536,15 +642,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange)) { + if (!(obj + instanceof + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange other = (com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange) obj; + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange other = + (com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange) + obj; - if (!getPath() - .equals(other.getPath())) return false; + if (!getPath().equals(other.getPath())) return false; if (state_ != other.state_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -566,88 +675,114 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse + .UncommittedFileChange + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse + .UncommittedFileChange + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse + .UncommittedFileChange + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse + .UncommittedFileChange + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse + .UncommittedFileChange + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse + .UncommittedFileChange + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse + .UncommittedFileChange + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse + .UncommittedFileChange + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse + .UncommittedFileChange + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse + .UncommittedFileChange + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse + .UncommittedFileChange + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse + .UncommittedFileChange + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -657,44 +792,53 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Represents the Git state of a file with uncommitted changes.
      * 
* - * Protobuf type {@code google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange} + * Protobuf type {@code + * google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange) - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_UncommittedFileChange_descriptor; + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse + .UncommittedFileChangeOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_UncommittedFileChange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_UncommittedFileChange_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_UncommittedFileChange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.class, com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.Builder.class); + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse + .UncommittedFileChange.class, + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse + .UncommittedFileChange.Builder.class); } - // Construct using com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.newBuilder() + // Construct using + // com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -706,19 +850,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_UncommittedFileChange_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_UncommittedFileChange_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange getDefaultInstanceForType() { - return com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.getDefaultInstance(); + public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange + getDefaultInstanceForType() { + return com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange build() { - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange result = buildPartial(); + public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange + build() { + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -726,8 +874,12 @@ public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.Uncommitt } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange buildPartial() { - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange result = new com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange(this); + public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange + buildPartial() { + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange + result = + new com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse + .UncommittedFileChange(this); result.path_ = path_; result.state_ = state_; onBuilt(); @@ -738,46 +890,58 @@ public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.Uncommitt public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange)other); + if (other + instanceof + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange) { + return mergeFrom( + (com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse + .UncommittedFileChange) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange other) { - if (other == com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange + other) { + if (other + == com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange + .getDefaultInstance()) return this; if (!other.getPath().isEmpty()) { path_ = other.path_; onChanged(); @@ -800,11 +964,15 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange parsedMessage = null; + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse + .UncommittedFileChange) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -816,18 +984,20 @@ public Builder mergeFrom( private java.lang.Object path_ = ""; /** + * + * *
        * The file's full path including filename, relative to the workspace root.
        * 
* * string path = 1; + * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; @@ -836,20 +1006,21 @@ public java.lang.String getPath() { } } /** + * + * *
        * The file's full path including filename, relative to the workspace root.
        * 
* * string path = 1; + * * @return The bytes for path. */ - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); path_ = b; return b; } else { @@ -857,54 +1028,61 @@ public java.lang.String getPath() { } } /** + * + * *
        * The file's full path including filename, relative to the workspace root.
        * 
* * string path = 1; + * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath( - java.lang.String value) { + public Builder setPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + path_ = value; onChanged(); return this; } /** + * + * *
        * The file's full path including filename, relative to the workspace root.
        * 
* * string path = 1; + * * @return This builder for chaining. */ public Builder clearPath() { - + path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** + * + * *
        * The file's full path including filename, relative to the workspace root.
        * 
* * string path = 1; + * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes( - com.google.protobuf.ByteString value) { + public Builder setPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; onChanged(); return this; @@ -912,77 +1090,115 @@ public Builder setPathBytes( private int state_ = 0; /** + * + * *
        * Indicates the status of the file.
        * 
* - * .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; + * + * .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
        * Indicates the status of the file.
        * 
* - * .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; + * + * .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
        * Indicates the status of the file.
        * 
* - * .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; + * + * .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; + * + * * @return The state. */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State getState() { + public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange + .State + getState() { @SuppressWarnings("deprecation") - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State result = com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State.valueOf(state_); - return result == null ? com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State.UNRECOGNIZED : result; + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State + result = + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse + .UncommittedFileChange.State.valueOf(state_); + return result == null + ? com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange + .State.UNRECOGNIZED + : result; } /** + * + * *
        * Indicates the status of the file.
        * 
* - * .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; + * + * .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; + * + * * @param value The state to set. * @return This builder for chaining. */ - public Builder setState(com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State value) { + public Builder setState( + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange + .State + value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Indicates the status of the file.
        * 
* - * .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; + * + * .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; + * + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -995,30 +1211,36 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange) - private static final com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse + .UncommittedFileChange + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange(); + DEFAULT_INSTANCE = + new com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse + .UncommittedFileChange(); } - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse + .UncommittedFileChange + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UncommittedFileChange parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UncommittedFileChange(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UncommittedFileChange parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UncommittedFileChange(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1030,78 +1252,108 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int UNCOMMITTED_FILE_CHANGES_FIELD_NUMBER = 1; - private java.util.List uncommittedFileChanges_; + private java.util.List< + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange> + uncommittedFileChanges_; /** + * + * *
    * A list of all files which have uncommitted Git changes. There will only be
    * a single entry for any given file.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * */ @java.lang.Override - public java.util.List getUncommittedFileChangesList() { + public java.util.List< + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange> + getUncommittedFileChangesList() { return uncommittedFileChanges_; } /** + * + * *
    * A list of all files which have uncommitted Git changes. There will only be
    * a single entry for any given file.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse + .UncommittedFileChangeOrBuilder> getUncommittedFileChangesOrBuilderList() { return uncommittedFileChanges_; } /** + * + * *
    * A list of all files which have uncommitted Git changes. There will only be
    * a single entry for any given file.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * */ @java.lang.Override public int getUncommittedFileChangesCount() { return uncommittedFileChanges_.size(); } /** + * + * *
    * A list of all files which have uncommitted Git changes. There will only be
    * a single entry for any given file.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange getUncommittedFileChanges(int index) { + public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange + getUncommittedFileChanges(int index) { return uncommittedFileChanges_.get(index); } /** + * + * *
    * A list of all files which have uncommitted Git changes. There will only be
    * a single entry for any given file.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChangeOrBuilder getUncommittedFileChangesOrBuilder( - int index) { + public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse + .UncommittedFileChangeOrBuilder + getUncommittedFileChangesOrBuilder(int index) { return uncommittedFileChanges_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1113,8 +1365,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < uncommittedFileChanges_.size(); i++) { output.writeMessage(1, uncommittedFileChanges_.get(i)); } @@ -1128,8 +1379,9 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < uncommittedFileChanges_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, uncommittedFileChanges_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, uncommittedFileChanges_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1139,15 +1391,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse other = (com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse) obj; + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse other = + (com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse) obj; - if (!getUncommittedFileChangesList() - .equals(other.getUncommittedFileChangesList())) return false; + if (!getUncommittedFileChangesList().equals(other.getUncommittedFileChangesList())) + return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1169,117 +1422,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `FetchFileGitStatuses` response message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse) com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.class, com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.class, + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.newBuilder() @@ -1287,17 +1550,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getUncommittedFileChangesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -1311,13 +1574,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_FetchFileGitStatusesResponse_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse + getDefaultInstanceForType() { return com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.getDefaultInstance(); } @@ -1332,7 +1596,8 @@ public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse buildPartial() { - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse result = new com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse(this); + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse result = + new com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse(this); int from_bitField0_ = bitField0_; if (uncommittedFileChangesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -1351,46 +1616,50 @@ public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse buildPart public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse)other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse other) { - if (other == com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse other) { + if (other + == com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.getDefaultInstance()) + return this; if (uncommittedFileChangesBuilder_ == null) { if (!other.uncommittedFileChanges_.isEmpty()) { if (uncommittedFileChanges_.isEmpty()) { @@ -1409,9 +1678,10 @@ public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.FetchFileGitStatuses uncommittedFileChangesBuilder_ = null; uncommittedFileChanges_ = other.uncommittedFileChanges_; bitField0_ = (bitField0_ & ~0x00000001); - uncommittedFileChangesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getUncommittedFileChangesFieldBuilder() : null; + uncommittedFileChangesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getUncommittedFileChangesFieldBuilder() + : null; } else { uncommittedFileChangesBuilder_.addAllMessages(other.uncommittedFileChanges_); } @@ -1436,7 +1706,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1445,29 +1717,46 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private java.util.List uncommittedFileChanges_ = - java.util.Collections.emptyList(); + private java.util.List< + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange> + uncommittedFileChanges_ = java.util.Collections.emptyList(); + private void ensureUncommittedFileChangesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - uncommittedFileChanges_ = new java.util.ArrayList(uncommittedFileChanges_); + uncommittedFileChanges_ = + new java.util.ArrayList< + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse + .UncommittedFileChange>(uncommittedFileChanges_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange, com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.Builder, com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChangeOrBuilder> uncommittedFileChangesBuilder_; + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange, + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange + .Builder, + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse + .UncommittedFileChangeOrBuilder> + uncommittedFileChangesBuilder_; /** + * + * *
      * A list of all files which have uncommitted Git changes. There will only be
      * a single entry for any given file.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * */ - public java.util.List getUncommittedFileChangesList() { + public java.util.List< + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange> + getUncommittedFileChangesList() { if (uncommittedFileChangesBuilder_ == null) { return java.util.Collections.unmodifiableList(uncommittedFileChanges_); } else { @@ -1475,12 +1764,16 @@ public java.util.List * A list of all files which have uncommitted Git changes. There will only be * a single entry for any given file. *
* - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * */ public int getUncommittedFileChangesCount() { if (uncommittedFileChangesBuilder_ == null) { @@ -1490,14 +1783,19 @@ public int getUncommittedFileChangesCount() { } } /** + * + * *
      * A list of all files which have uncommitted Git changes. There will only be
      * a single entry for any given file.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * */ - public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange getUncommittedFileChanges(int index) { + public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange + getUncommittedFileChanges(int index) { if (uncommittedFileChangesBuilder_ == null) { return uncommittedFileChanges_.get(index); } else { @@ -1505,15 +1803,21 @@ public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.Uncommitt } } /** + * + * *
      * A list of all files which have uncommitted Git changes. There will only be
      * a single entry for any given file.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * */ public Builder setUncommittedFileChanges( - int index, com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange value) { + int index, + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange + value) { if (uncommittedFileChangesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1527,15 +1831,22 @@ public Builder setUncommittedFileChanges( return this; } /** + * + * *
      * A list of all files which have uncommitted Git changes. There will only be
      * a single entry for any given file.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * */ public Builder setUncommittedFileChanges( - int index, com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.Builder builderForValue) { + int index, + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange + .Builder + builderForValue) { if (uncommittedFileChangesBuilder_ == null) { ensureUncommittedFileChangesIsMutable(); uncommittedFileChanges_.set(index, builderForValue.build()); @@ -1546,14 +1857,20 @@ public Builder setUncommittedFileChanges( return this; } /** + * + * *
      * A list of all files which have uncommitted Git changes. There will only be
      * a single entry for any given file.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * */ - public Builder addUncommittedFileChanges(com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange value) { + public Builder addUncommittedFileChanges( + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange + value) { if (uncommittedFileChangesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1567,15 +1884,21 @@ public Builder addUncommittedFileChanges(com.google.cloud.dataform.v1alpha2.Fetc return this; } /** + * + * *
      * A list of all files which have uncommitted Git changes. There will only be
      * a single entry for any given file.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * */ public Builder addUncommittedFileChanges( - int index, com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange value) { + int index, + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange + value) { if (uncommittedFileChangesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1589,15 +1912,21 @@ public Builder addUncommittedFileChanges( return this; } /** + * + * *
      * A list of all files which have uncommitted Git changes. There will only be
      * a single entry for any given file.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * */ public Builder addUncommittedFileChanges( - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.Builder builderForValue) { + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange + .Builder + builderForValue) { if (uncommittedFileChangesBuilder_ == null) { ensureUncommittedFileChangesIsMutable(); uncommittedFileChanges_.add(builderForValue.build()); @@ -1608,15 +1937,22 @@ public Builder addUncommittedFileChanges( return this; } /** + * + * *
      * A list of all files which have uncommitted Git changes. There will only be
      * a single entry for any given file.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * */ public Builder addUncommittedFileChanges( - int index, com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.Builder builderForValue) { + int index, + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange + .Builder + builderForValue) { if (uncommittedFileChangesBuilder_ == null) { ensureUncommittedFileChangesIsMutable(); uncommittedFileChanges_.add(index, builderForValue.build()); @@ -1627,19 +1963,26 @@ public Builder addUncommittedFileChanges( return this; } /** + * + * *
      * A list of all files which have uncommitted Git changes. There will only be
      * a single entry for any given file.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * */ public Builder addAllUncommittedFileChanges( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse + .UncommittedFileChange> + values) { if (uncommittedFileChangesBuilder_ == null) { ensureUncommittedFileChangesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, uncommittedFileChanges_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uncommittedFileChanges_); onChanged(); } else { uncommittedFileChangesBuilder_.addAllMessages(values); @@ -1647,12 +1990,16 @@ public Builder addAllUncommittedFileChanges( return this; } /** + * + * *
      * A list of all files which have uncommitted Git changes. There will only be
      * a single entry for any given file.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * */ public Builder clearUncommittedFileChanges() { if (uncommittedFileChangesBuilder_ == null) { @@ -1665,12 +2012,16 @@ public Builder clearUncommittedFileChanges() { return this; } /** + * + * *
      * A list of all files which have uncommitted Git changes. There will only be
      * a single entry for any given file.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * */ public Builder removeUncommittedFileChanges(int index) { if (uncommittedFileChangesBuilder_ == null) { @@ -1683,42 +2034,60 @@ public Builder removeUncommittedFileChanges(int index) { return this; } /** + * + * *
      * A list of all files which have uncommitted Git changes. There will only be
      * a single entry for any given file.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * */ - public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.Builder getUncommittedFileChangesBuilder( - int index) { + public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange + .Builder + getUncommittedFileChangesBuilder(int index) { return getUncommittedFileChangesFieldBuilder().getBuilder(index); } /** + * + * *
      * A list of all files which have uncommitted Git changes. There will only be
      * a single entry for any given file.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * */ - public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChangeOrBuilder getUncommittedFileChangesOrBuilder( - int index) { + public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse + .UncommittedFileChangeOrBuilder + getUncommittedFileChangesOrBuilder(int index) { if (uncommittedFileChangesBuilder_ == null) { - return uncommittedFileChanges_.get(index); } else { + return uncommittedFileChanges_.get(index); + } else { return uncommittedFileChangesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * A list of all files which have uncommitted Git changes. There will only be
      * a single entry for any given file.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * */ - public java.util.List - getUncommittedFileChangesOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse + .UncommittedFileChangeOrBuilder> + getUncommittedFileChangesOrBuilderList() { if (uncommittedFileChangesBuilder_ != null) { return uncommittedFileChangesBuilder_.getMessageOrBuilderList(); } else { @@ -1726,48 +2095,81 @@ public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.Uncommitt } } /** + * + * *
      * A list of all files which have uncommitted Git changes. There will only be
      * a single entry for any given file.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * */ - public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.Builder addUncommittedFileChangesBuilder() { - return getUncommittedFileChangesFieldBuilder().addBuilder( - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.getDefaultInstance()); + public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange + .Builder + addUncommittedFileChangesBuilder() { + return getUncommittedFileChangesFieldBuilder() + .addBuilder( + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange + .getDefaultInstance()); } /** + * + * *
      * A list of all files which have uncommitted Git changes. There will only be
      * a single entry for any given file.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * */ - public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.Builder addUncommittedFileChangesBuilder( - int index) { - return getUncommittedFileChangesFieldBuilder().addBuilder( - index, com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.getDefaultInstance()); + public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange + .Builder + addUncommittedFileChangesBuilder(int index) { + return getUncommittedFileChangesFieldBuilder() + .addBuilder( + index, + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange + .getDefaultInstance()); } /** + * + * *
      * A list of all files which have uncommitted Git changes. There will only be
      * a single entry for any given file.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * */ - public java.util.List - getUncommittedFileChangesBuilderList() { + public java.util.List< + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange + .Builder> + getUncommittedFileChangesBuilderList() { return getUncommittedFileChangesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange, com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.Builder, com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChangeOrBuilder> + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange, + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange + .Builder, + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse + .UncommittedFileChangeOrBuilder> getUncommittedFileChangesFieldBuilder() { if (uncommittedFileChangesBuilder_ == null) { - uncommittedFileChangesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange, com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange.Builder, com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChangeOrBuilder>( + uncommittedFileChangesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse + .UncommittedFileChange, + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse + .UncommittedFileChange.Builder, + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse + .UncommittedFileChangeOrBuilder>( uncommittedFileChanges_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1776,9 +2178,9 @@ public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.Uncommitt } return uncommittedFileChangesBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1788,30 +2190,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse) - private static final com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse(); } - public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FetchFileGitStatusesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FetchFileGitStatusesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FetchFileGitStatusesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FetchFileGitStatusesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1823,9 +2227,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesResponseOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesResponseOrBuilder.java new file mode 100644 index 0000000..c123410 --- /dev/null +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchFileGitStatusesResponseOrBuilder.java @@ -0,0 +1,99 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1alpha2/dataform.proto + +package com.google.cloud.dataform.v1alpha2; + +public interface FetchFileGitStatusesResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * A list of all files which have uncommitted Git changes. There will only be
+   * a single entry for any given file.
+   * 
+ * + * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + */ + java.util.List< + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange> + getUncommittedFileChangesList(); + /** + * + * + *
+   * A list of all files which have uncommitted Git changes. There will only be
+   * a single entry for any given file.
+   * 
+ * + * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + */ + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange + getUncommittedFileChanges(int index); + /** + * + * + *
+   * A list of all files which have uncommitted Git changes. There will only be
+   * a single entry for any given file.
+   * 
+ * + * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + */ + int getUncommittedFileChangesCount(); + /** + * + * + *
+   * A list of all files which have uncommitted Git changes. There will only be
+   * a single entry for any given file.
+   * 
+ * + * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + */ + java.util.List< + ? extends + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse + .UncommittedFileChangeOrBuilder> + getUncommittedFileChangesOrBuilderList(); + /** + * + * + *
+   * A list of all files which have uncommitted Git changes. There will only be
+   * a single entry for any given file.
+   * 
+ * + * + * repeated .google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + */ + com.google.cloud.dataform.v1alpha2.FetchFileGitStatusesResponse.UncommittedFileChangeOrBuilder + getUncommittedFileChangesOrBuilder(int index); +} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindRequest.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindRequest.java similarity index 66% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindRequest.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindRequest.java index 3843a2c..11b02de 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindRequest.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * `FetchGitAheadBehind` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest} */ -public final class FetchGitAheadBehindRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class FetchGitAheadBehindRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest) FetchGitAheadBehindRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FetchGitAheadBehindRequest.newBuilder() to construct. private FetchGitAheadBehindRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private FetchGitAheadBehindRequest() { name_ = ""; remoteBranch_ = ""; @@ -26,16 +44,15 @@ private FetchGitAheadBehindRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FetchGitAheadBehindRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private FetchGitAheadBehindRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private FetchGitAheadBehindRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - remoteBranch_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + remoteBranch_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +99,41 @@ private FetchGitAheadBehindRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest.class, com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest.class, + com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The workspace's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -116,29 +142,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The workspace's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -149,6 +177,8 @@ public java.lang.String getName() { public static final int REMOTE_BRANCH_FIELD_NUMBER = 2; private volatile java.lang.Object remoteBranch_; /** + * + * *
    * Optional. The name of the branch in the Git remote against which this workspace
    * should be compared. If left unset, the repository's default branch name
@@ -156,6 +186,7 @@ public java.lang.String getName() {
    * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The remoteBranch. */ @java.lang.Override @@ -164,14 +195,15 @@ public java.lang.String getRemoteBranch() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); remoteBranch_ = s; return s; } } /** + * + * *
    * Optional. The name of the branch in the Git remote against which this workspace
    * should be compared. If left unset, the repository's default branch name
@@ -179,16 +211,15 @@ public java.lang.String getRemoteBranch() {
    * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for remoteBranch. */ @java.lang.Override - public com.google.protobuf.ByteString - getRemoteBranchBytes() { + public com.google.protobuf.ByteString getRemoteBranchBytes() { java.lang.Object ref = remoteBranch_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); remoteBranch_ = b; return b; } else { @@ -197,6 +228,7 @@ public java.lang.String getRemoteBranch() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -208,8 +240,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -239,17 +270,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest other = (com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest) obj; + com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest other = + (com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getRemoteBranch() - .equals(other.getRemoteBranch())) return false; + if (!getName().equals(other.getName())) return false; + if (!getRemoteBranch().equals(other.getRemoteBranch())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -271,117 +301,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `FetchGitAheadBehind` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest) com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest.class, com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest.class, + com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest.newBuilder() @@ -389,16 +429,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -410,13 +449,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest + getDefaultInstanceForType() { return com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest.getDefaultInstance(); } @@ -431,7 +471,8 @@ public com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest result = new com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest(this); + com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest result = + new com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest(this); result.name_ = name_; result.remoteBranch_ = remoteBranch_; onBuilt(); @@ -442,38 +483,39 @@ public com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest)other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest) other); } else { super.mergeFrom(other); return this; @@ -481,7 +523,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -509,7 +553,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -521,18 +567,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -541,20 +591,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -562,54 +615,67 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -617,6 +683,8 @@ public Builder setNameBytes( private java.lang.Object remoteBranch_ = ""; /** + * + * *
      * Optional. The name of the branch in the Git remote against which this workspace
      * should be compared. If left unset, the repository's default branch name
@@ -624,13 +692,13 @@ public Builder setNameBytes(
      * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The remoteBranch. */ public java.lang.String getRemoteBranch() { java.lang.Object ref = remoteBranch_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); remoteBranch_ = s; return s; @@ -639,6 +707,8 @@ public java.lang.String getRemoteBranch() { } } /** + * + * *
      * Optional. The name of the branch in the Git remote against which this workspace
      * should be compared. If left unset, the repository's default branch name
@@ -646,15 +716,14 @@ public java.lang.String getRemoteBranch() {
      * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for remoteBranch. */ - public com.google.protobuf.ByteString - getRemoteBranchBytes() { + public com.google.protobuf.ByteString getRemoteBranchBytes() { java.lang.Object ref = remoteBranch_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); remoteBranch_ = b; return b; } else { @@ -662,6 +731,8 @@ public java.lang.String getRemoteBranch() { } } /** + * + * *
      * Optional. The name of the branch in the Git remote against which this workspace
      * should be compared. If left unset, the repository's default branch name
@@ -669,20 +740,22 @@ public java.lang.String getRemoteBranch() {
      * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The remoteBranch to set. * @return This builder for chaining. */ - public Builder setRemoteBranch( - java.lang.String value) { + public Builder setRemoteBranch(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + remoteBranch_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The name of the branch in the Git remote against which this workspace
      * should be compared. If left unset, the repository's default branch name
@@ -690,15 +763,18 @@ public Builder setRemoteBranch(
      * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRemoteBranch() { - + remoteBranch_ = getDefaultInstance().getRemoteBranch(); onChanged(); return this; } /** + * + * *
      * Optional. The name of the branch in the Git remote against which this workspace
      * should be compared. If left unset, the repository's default branch name
@@ -706,23 +782,23 @@ public Builder clearRemoteBranch() {
      * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for remoteBranch to set. * @return This builder for chaining. */ - public Builder setRemoteBranchBytes( - com.google.protobuf.ByteString value) { + public Builder setRemoteBranchBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + remoteBranch_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -732,12 +808,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest) - private static final com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest(); } @@ -746,16 +823,16 @@ public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FetchGitAheadBehindRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FetchGitAheadBehindRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FetchGitAheadBehindRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FetchGitAheadBehindRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -770,6 +847,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindRequestOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindRequestOrBuilder.java similarity index 54% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindRequestOrBuilder.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindRequestOrBuilder.java index 23887fa..04a9d23 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindRequestOrBuilder.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface FetchGitAheadBehindRequestOrBuilder extends +public interface FetchGitAheadBehindRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.FetchGitAheadBehindRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The workspace's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The workspace's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. The name of the branch in the Git remote against which this workspace
    * should be compared. If left unset, the repository's default branch name
@@ -35,10 +62,13 @@ public interface FetchGitAheadBehindRequestOrBuilder extends
    * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The remoteBranch. */ java.lang.String getRemoteBranch(); /** + * + * *
    * Optional. The name of the branch in the Git remote against which this workspace
    * should be compared. If left unset, the repository's default branch name
@@ -46,8 +76,8 @@ public interface FetchGitAheadBehindRequestOrBuilder extends
    * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for remoteBranch. */ - com.google.protobuf.ByteString - getRemoteBranchBytes(); + com.google.protobuf.ByteString getRemoteBranchBytes(); } diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindResponse.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindResponse.java similarity index 67% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindResponse.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindResponse.java index f42a000..2162aff 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindResponse.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindResponse.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * `FetchGitAheadBehind` response message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse} */ -public final class FetchGitAheadBehindResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class FetchGitAheadBehindResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse) FetchGitAheadBehindResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FetchGitAheadBehindResponse.newBuilder() to construct. private FetchGitAheadBehindResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FetchGitAheadBehindResponse() { - } + + private FetchGitAheadBehindResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FetchGitAheadBehindResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private FetchGitAheadBehindResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,23 +68,23 @@ private FetchGitAheadBehindResponse( case 0: done = true; break; - case 8: { - - commitsAhead_ = input.readInt32(); - break; - } - case 16: { - - commitsBehind_ = input.readInt32(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 8: + { + commitsAhead_ = input.readInt32(); + break; + } + case 16: + { + commitsBehind_ = input.readInt32(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -76,34 +92,39 @@ private FetchGitAheadBehindResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse.class, com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse.class, + com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse.Builder.class); } public static final int COMMITS_AHEAD_FIELD_NUMBER = 1; private int commitsAhead_; /** + * + * *
    * The number of commits in the remote branch that are not in the workspace.
    * 
* * int32 commits_ahead = 1; + * * @return The commitsAhead. */ @java.lang.Override @@ -114,11 +135,14 @@ public int getCommitsAhead() { public static final int COMMITS_BEHIND_FIELD_NUMBER = 2; private int commitsBehind_; /** + * + * *
    * The number of commits in the workspace that are not in the remote branch.
    * 
* * int32 commits_behind = 2; + * * @return The commitsBehind. */ @java.lang.Override @@ -127,6 +151,7 @@ public int getCommitsBehind() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -138,8 +163,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (commitsAhead_ != 0) { output.writeInt32(1, commitsAhead_); } @@ -156,12 +180,10 @@ public int getSerializedSize() { size = 0; if (commitsAhead_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, commitsAhead_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, commitsAhead_); } if (commitsBehind_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, commitsBehind_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, commitsBehind_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -171,17 +193,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse other = (com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse) obj; + com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse other = + (com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse) obj; - if (getCommitsAhead() - != other.getCommitsAhead()) return false; - if (getCommitsBehind() - != other.getCommitsBehind()) return false; + if (getCommitsAhead() != other.getCommitsAhead()) return false; + if (getCommitsBehind() != other.getCommitsBehind()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -203,117 +224,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `FetchGitAheadBehind` response message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse) com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse.class, com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse.class, + com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse.newBuilder() @@ -321,16 +352,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -342,13 +372,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_FetchGitAheadBehindResponse_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse + getDefaultInstanceForType() { return com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse.getDefaultInstance(); } @@ -363,7 +394,8 @@ public com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse buildPartial() { - com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse result = new com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse(this); + com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse result = + new com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse(this); result.commitsAhead_ = commitsAhead_; result.commitsBehind_ = commitsBehind_; onBuilt(); @@ -374,38 +406,39 @@ public com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse buildParti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse)other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse) other); } else { super.mergeFrom(other); return this; @@ -413,7 +446,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse other) { - if (other == com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse.getDefaultInstance()) return this; + if (other + == com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse.getDefaultInstance()) + return this; if (other.getCommitsAhead() != 0) { setCommitsAhead(other.getCommitsAhead()); } @@ -439,7 +474,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,13 +486,16 @@ public Builder mergeFrom( return this; } - private int commitsAhead_ ; + private int commitsAhead_; /** + * + * *
      * The number of commits in the remote branch that are not in the workspace.
      * 
* * int32 commits_ahead = 1; + * * @return The commitsAhead. */ @java.lang.Override @@ -463,42 +503,51 @@ public int getCommitsAhead() { return commitsAhead_; } /** + * + * *
      * The number of commits in the remote branch that are not in the workspace.
      * 
* * int32 commits_ahead = 1; + * * @param value The commitsAhead to set. * @return This builder for chaining. */ public Builder setCommitsAhead(int value) { - + commitsAhead_ = value; onChanged(); return this; } /** + * + * *
      * The number of commits in the remote branch that are not in the workspace.
      * 
* * int32 commits_ahead = 1; + * * @return This builder for chaining. */ public Builder clearCommitsAhead() { - + commitsAhead_ = 0; onChanged(); return this; } - private int commitsBehind_ ; + private int commitsBehind_; /** + * + * *
      * The number of commits in the workspace that are not in the remote branch.
      * 
* * int32 commits_behind = 2; + * * @return The commitsBehind. */ @java.lang.Override @@ -506,37 +555,43 @@ public int getCommitsBehind() { return commitsBehind_; } /** + * + * *
      * The number of commits in the workspace that are not in the remote branch.
      * 
* * int32 commits_behind = 2; + * * @param value The commitsBehind to set. * @return This builder for chaining. */ public Builder setCommitsBehind(int value) { - + commitsBehind_ = value; onChanged(); return this; } /** + * + * *
      * The number of commits in the workspace that are not in the remote branch.
      * 
* * int32 commits_behind = 2; + * * @return This builder for chaining. */ public Builder clearCommitsBehind() { - + commitsBehind_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -546,30 +601,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse) - private static final com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse(); } - public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FetchGitAheadBehindResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FetchGitAheadBehindResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FetchGitAheadBehindResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FetchGitAheadBehindResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -581,9 +638,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindResponseOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindResponseOrBuilder.java similarity index 52% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindResponseOrBuilder.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindResponseOrBuilder.java index 8fd4119..1dccdb2 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindResponseOrBuilder.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchGitAheadBehindResponseOrBuilder.java @@ -1,28 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface FetchGitAheadBehindResponseOrBuilder extends +public interface FetchGitAheadBehindResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The number of commits in the remote branch that are not in the workspace.
    * 
* * int32 commits_ahead = 1; + * * @return The commitsAhead. */ int getCommitsAhead(); /** + * + * *
    * The number of commits in the workspace that are not in the remote branch.
    * 
* * int32 commits_behind = 2; + * * @return The commitsBehind. */ int getCommitsBehind(); diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesRequest.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesRequest.java similarity index 63% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesRequest.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesRequest.java index 2385ee9..7bb8057 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesRequest.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * `FetchRemoteBranches` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest} */ -public final class FetchRemoteBranchesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class FetchRemoteBranchesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest) FetchRemoteBranchesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FetchRemoteBranchesRequest.newBuilder() to construct. private FetchRemoteBranchesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private FetchRemoteBranchesRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FetchRemoteBranchesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private FetchRemoteBranchesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private FetchRemoteBranchesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private FetchRemoteBranchesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest.class, com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest.class, + com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The repository's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -109,29 +134,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The repository's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest other = (com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest) obj; + com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest other = + (com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `FetchRemoteBranches` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest) com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest.class, com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest.class, + com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest.newBuilder() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +377,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest + getDefaultInstanceForType() { return com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest.getDefaultInstance(); } @@ -362,7 +399,8 @@ public com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest result = new com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest(this); + com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest result = + new com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +410,39 @@ public com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest)other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +450,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +476,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +490,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The repository's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -467,20 +514,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The repository's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -488,61 +538,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The repository's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The repository's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The repository's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +615,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest) - private static final com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest(); } @@ -566,16 +630,16 @@ public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FetchRemoteBranchesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FetchRemoteBranchesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FetchRemoteBranchesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FetchRemoteBranchesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +654,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesRequestOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesRequestOrBuilder.java new file mode 100644 index 0000000..1d59ffa --- /dev/null +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1alpha2/dataform.proto + +package com.google.cloud.dataform.v1alpha2; + +public interface FetchRemoteBranchesRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.FetchRemoteBranchesRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The repository's name.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The repository's name.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesResponse.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesResponse.java similarity index 67% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesResponse.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesResponse.java index f32fb14..e042ba5 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesResponse.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesResponse.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * `FetchRemoteBranches` response message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse} */ -public final class FetchRemoteBranchesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class FetchRemoteBranchesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse) FetchRemoteBranchesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FetchRemoteBranchesResponse.newBuilder() to construct. private FetchRemoteBranchesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private FetchRemoteBranchesResponse() { branches_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FetchRemoteBranchesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private FetchRemoteBranchesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,22 +71,23 @@ private FetchRemoteBranchesResponse( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - branches_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + branches_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + branches_.add(s); + break; } - branches_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -77,8 +95,7 @@ private FetchRemoteBranchesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { branches_ = branches_.getUnmodifiableView(); @@ -87,50 +104,61 @@ private FetchRemoteBranchesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse.class, com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse.class, + com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse.Builder.class); } public static final int BRANCHES_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList branches_; /** + * + * *
    * The remote repository's branch names.
    * 
* * repeated string branches = 1; + * * @return A list containing the branches. */ - public com.google.protobuf.ProtocolStringList - getBranchesList() { + public com.google.protobuf.ProtocolStringList getBranchesList() { return branches_; } /** + * + * *
    * The remote repository's branch names.
    * 
* * repeated string branches = 1; + * * @return The count of branches. */ public int getBranchesCount() { return branches_.size(); } /** + * + * *
    * The remote repository's branch names.
    * 
* * repeated string branches = 1; + * * @param index The index of the element to return. * @return The branches at the given index. */ @@ -138,20 +166,23 @@ public java.lang.String getBranches(int index) { return branches_.get(index); } /** + * + * *
    * The remote repository's branch names.
    * 
* * repeated string branches = 1; + * * @param index The index of the value to return. * @return The bytes of the branches at the given index. */ - public com.google.protobuf.ByteString - getBranchesBytes(int index) { + public com.google.protobuf.ByteString getBranchesBytes(int index) { return branches_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -163,8 +194,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < branches_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, branches_.getRaw(i)); } @@ -193,15 +223,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse other = (com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse) obj; + com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse other = + (com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse) obj; - if (!getBranchesList() - .equals(other.getBranchesList())) return false; + if (!getBranchesList().equals(other.getBranchesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -223,117 +253,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `FetchRemoteBranches` response message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse) com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse.class, com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse.class, + com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse.newBuilder() @@ -341,16 +381,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -360,13 +399,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_FetchRemoteBranchesResponse_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse + getDefaultInstanceForType() { return com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse.getDefaultInstance(); } @@ -381,7 +421,8 @@ public com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse buildPartial() { - com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse result = new com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse(this); + com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse result = + new com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { branches_ = branches_.getUnmodifiableView(); @@ -396,38 +437,39 @@ public com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse buildParti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse)other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse) other); } else { super.mergeFrom(other); return this; @@ -435,7 +477,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse other) { - if (other == com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse.getDefaultInstance()) return this; + if (other + == com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse.getDefaultInstance()) + return this; if (!other.branches_.isEmpty()) { if (branches_.isEmpty()) { branches_ = other.branches_; @@ -465,7 +509,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -474,44 +520,55 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList branches_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList branches_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureBranchesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { branches_ = new com.google.protobuf.LazyStringArrayList(branches_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * The remote repository's branch names.
      * 
* * repeated string branches = 1; + * * @return A list containing the branches. */ - public com.google.protobuf.ProtocolStringList - getBranchesList() { + public com.google.protobuf.ProtocolStringList getBranchesList() { return branches_.getUnmodifiableView(); } /** + * + * *
      * The remote repository's branch names.
      * 
* * repeated string branches = 1; + * * @return The count of branches. */ public int getBranchesCount() { return branches_.size(); } /** + * + * *
      * The remote repository's branch names.
      * 
* * repeated string branches = 1; + * * @param index The index of the element to return. * @return The branches at the given index. */ @@ -519,80 +576,90 @@ public java.lang.String getBranches(int index) { return branches_.get(index); } /** + * + * *
      * The remote repository's branch names.
      * 
* * repeated string branches = 1; + * * @param index The index of the value to return. * @return The bytes of the branches at the given index. */ - public com.google.protobuf.ByteString - getBranchesBytes(int index) { + public com.google.protobuf.ByteString getBranchesBytes(int index) { return branches_.getByteString(index); } /** + * + * *
      * The remote repository's branch names.
      * 
* * repeated string branches = 1; + * * @param index The index to set the value at. * @param value The branches to set. * @return This builder for chaining. */ - public Builder setBranches( - int index, java.lang.String value) { + public Builder setBranches(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureBranchesIsMutable(); + throw new NullPointerException(); + } + ensureBranchesIsMutable(); branches_.set(index, value); onChanged(); return this; } /** + * + * *
      * The remote repository's branch names.
      * 
* * repeated string branches = 1; + * * @param value The branches to add. * @return This builder for chaining. */ - public Builder addBranches( - java.lang.String value) { + public Builder addBranches(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureBranchesIsMutable(); + throw new NullPointerException(); + } + ensureBranchesIsMutable(); branches_.add(value); onChanged(); return this; } /** + * + * *
      * The remote repository's branch names.
      * 
* * repeated string branches = 1; + * * @param values The branches to add. * @return This builder for chaining. */ - public Builder addAllBranches( - java.lang.Iterable values) { + public Builder addAllBranches(java.lang.Iterable values) { ensureBranchesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, branches_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, branches_); onChanged(); return this; } /** + * + * *
      * The remote repository's branch names.
      * 
* * repeated string branches = 1; + * * @return This builder for chaining. */ public Builder clearBranches() { @@ -602,28 +669,30 @@ public Builder clearBranches() { return this; } /** + * + * *
      * The remote repository's branch names.
      * 
* * repeated string branches = 1; + * * @param value The bytes of the branches to add. * @return This builder for chaining. */ - public Builder addBranchesBytes( - com.google.protobuf.ByteString value) { + public Builder addBranchesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureBranchesIsMutable(); branches_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -633,30 +702,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse) - private static final com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse(); } - public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FetchRemoteBranchesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FetchRemoteBranchesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FetchRemoteBranchesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FetchRemoteBranchesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -668,9 +739,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesResponseOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesResponseOrBuilder.java similarity index 58% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesResponseOrBuilder.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesResponseOrBuilder.java index 919ea11..2f78696 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesResponseOrBuilder.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/FetchRemoteBranchesResponseOrBuilder.java @@ -1,50 +1,76 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface FetchRemoteBranchesResponseOrBuilder extends +public interface FetchRemoteBranchesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.FetchRemoteBranchesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The remote repository's branch names.
    * 
* * repeated string branches = 1; + * * @return A list containing the branches. */ - java.util.List - getBranchesList(); + java.util.List getBranchesList(); /** + * + * *
    * The remote repository's branch names.
    * 
* * repeated string branches = 1; + * * @return The count of branches. */ int getBranchesCount(); /** + * + * *
    * The remote repository's branch names.
    * 
* * repeated string branches = 1; + * * @param index The index of the element to return. * @return The branches at the given index. */ java.lang.String getBranches(int index); /** + * + * *
    * The remote repository's branch names.
    * 
* * repeated string branches = 1; + * * @param index The index of the value to return. * @return The bytes of the branches at the given index. */ - com.google.protobuf.ByteString - getBranchesBytes(int index); + com.google.protobuf.ByteString getBranchesBytes(int index); } diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetCompilationResultRequest.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetCompilationResultRequest.java similarity index 62% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetCompilationResultRequest.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetCompilationResultRequest.java index e738e61..4927cf9 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetCompilationResultRequest.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetCompilationResultRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * `GetCompilationResult` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.GetCompilationResultRequest} */ -public final class GetCompilationResultRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetCompilationResultRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.GetCompilationResultRequest) GetCompilationResultRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetCompilationResultRequest.newBuilder() to construct. private GetCompilationResultRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetCompilationResultRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetCompilationResultRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetCompilationResultRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetCompilationResultRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private GetCompilationResultRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_GetCompilationResultRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_GetCompilationResultRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_GetCompilationResultRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_GetCompilationResultRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest.class, com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest.class, + com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The compilation result's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -109,29 +134,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The compilation result's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest other = (com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest) obj; + com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest other = + (com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `GetCompilationResult` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.GetCompilationResultRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.GetCompilationResultRequest) com.google.cloud.dataform.v1alpha2.GetCompilationResultRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_GetCompilationResultRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_GetCompilationResultRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_GetCompilationResultRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_GetCompilationResultRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest.class, com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest.class, + com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest.newBuilder() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +377,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_GetCompilationResultRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_GetCompilationResultRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest + getDefaultInstanceForType() { return com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest.getDefaultInstance(); } @@ -362,7 +399,8 @@ public com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest result = new com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest(this); + com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest result = + new com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +410,39 @@ public com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest buildParti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest)other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +450,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +476,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +490,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The compilation result's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -467,20 +514,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The compilation result's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -488,61 +538,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The compilation result's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The compilation result's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The compilation result's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,30 +615,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.GetCompilationResultRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.GetCompilationResultRequest) - private static final com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest(); } - public static com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetCompilationResultRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetCompilationResultRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetCompilationResultRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetCompilationResultRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +652,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.GetCompilationResultRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetCompilationResultRequestOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetCompilationResultRequestOrBuilder.java new file mode 100644 index 0000000..4e1931f --- /dev/null +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetCompilationResultRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1alpha2/dataform.proto + +package com.google.cloud.dataform.v1alpha2; + +public interface GetCompilationResultRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.GetCompilationResultRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The compilation result's name.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The compilation result's name.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetRepositoryRequest.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetRepositoryRequest.java similarity index 64% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetRepositoryRequest.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetRepositoryRequest.java index 3d47535..f896637 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetRepositoryRequest.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetRepositoryRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * `GetRepository` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.GetRepositoryRequest} */ -public final class GetRepositoryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.GetRepositoryRequest) GetRepositoryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetRepositoryRequest.newBuilder() to construct. private GetRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetRepositoryRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetRepositoryRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private GetRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_GetRepositoryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_GetRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_GetRepositoryRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_GetRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.GetRepositoryRequest.class, com.google.cloud.dataform.v1alpha2.GetRepositoryRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.GetRepositoryRequest.class, + com.google.cloud.dataform.v1alpha2.GetRepositoryRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The repository's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -109,29 +134,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The repository's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.GetRepositoryRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.GetRepositoryRequest other = (com.google.cloud.dataform.v1alpha2.GetRepositoryRequest) obj; + com.google.cloud.dataform.v1alpha2.GetRepositoryRequest other = + (com.google.cloud.dataform.v1alpha2.GetRepositoryRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.GetRepositoryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.GetRepositoryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.GetRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.GetRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.GetRepositoryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.GetRepositoryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.GetRepositoryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.GetRepositoryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.GetRepositoryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.GetRepositoryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.GetRepositoryRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.GetRepositoryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.GetRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.GetRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.GetRepositoryRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.GetRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `GetRepository` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.GetRepositoryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.GetRepositoryRequest) com.google.cloud.dataform.v1alpha2.GetRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_GetRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_GetRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_GetRepositoryRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_GetRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.GetRepositoryRequest.class, com.google.cloud.dataform.v1alpha2.GetRepositoryRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.GetRepositoryRequest.class, + com.google.cloud.dataform.v1alpha2.GetRepositoryRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.GetRepositoryRequest.newBuilder() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +377,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_GetRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_GetRepositoryRequest_descriptor; } @java.lang.Override @@ -362,7 +398,8 @@ public com.google.cloud.dataform.v1alpha2.GetRepositoryRequest build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.GetRepositoryRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.GetRepositoryRequest result = new com.google.cloud.dataform.v1alpha2.GetRepositoryRequest(this); + com.google.cloud.dataform.v1alpha2.GetRepositoryRequest result = + new com.google.cloud.dataform.v1alpha2.GetRepositoryRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +409,39 @@ public com.google.cloud.dataform.v1alpha2.GetRepositoryRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.GetRepositoryRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.GetRepositoryRequest)other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.GetRepositoryRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +449,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.GetRepositoryRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.GetRepositoryRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1alpha2.GetRepositoryRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +474,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.GetRepositoryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.GetRepositoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +487,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The repository's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -467,20 +511,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The repository's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -488,61 +535,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The repository's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The repository's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The repository's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +612,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.GetRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.GetRepositoryRequest) private static final com.google.cloud.dataform.v1alpha2.GetRepositoryRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.GetRepositoryRequest(); } @@ -566,16 +626,16 @@ public static com.google.cloud.dataform.v1alpha2.GetRepositoryRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +650,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.GetRepositoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetRepositoryRequestOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetRepositoryRequestOrBuilder.java new file mode 100644 index 0000000..d9148ec --- /dev/null +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetRepositoryRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1alpha2/dataform.proto + +package com.google.cloud.dataform.v1alpha2; + +public interface GetRepositoryRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.GetRepositoryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The repository's name.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The repository's name.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkflowInvocationRequest.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkflowInvocationRequest.java similarity index 62% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkflowInvocationRequest.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkflowInvocationRequest.java index 0a37eaf..7d4f25b 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkflowInvocationRequest.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkflowInvocationRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * `GetWorkflowInvocation` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest} */ -public final class GetWorkflowInvocationRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetWorkflowInvocationRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest) GetWorkflowInvocationRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetWorkflowInvocationRequest.newBuilder() to construct. private GetWorkflowInvocationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetWorkflowInvocationRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetWorkflowInvocationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetWorkflowInvocationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetWorkflowInvocationRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private GetWorkflowInvocationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_GetWorkflowInvocationRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_GetWorkflowInvocationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_GetWorkflowInvocationRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_GetWorkflowInvocationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest.class, com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest.class, + com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The workflow invocation resource's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -109,29 +134,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The workflow invocation resource's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest other = (com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest) obj; + com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest other = + (com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `GetWorkflowInvocation` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest) com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_GetWorkflowInvocationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_GetWorkflowInvocationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_GetWorkflowInvocationRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_GetWorkflowInvocationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest.class, com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest.class, + com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest.newBuilder() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +377,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_GetWorkflowInvocationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_GetWorkflowInvocationRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest + getDefaultInstanceForType() { return com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest.getDefaultInstance(); } @@ -362,7 +399,8 @@ public com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest result = new com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest(this); + com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest result = + new com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,46 +410,50 @@ public com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest buildPart public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest)other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest other) { + if (other + == com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +477,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +491,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The workflow invocation resource's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -467,20 +515,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The workflow invocation resource's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -488,61 +539,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The workflow invocation resource's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The workflow invocation resource's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The workflow invocation resource's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,30 +616,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest) - private static final com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest(); } - public static com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetWorkflowInvocationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetWorkflowInvocationRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetWorkflowInvocationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetWorkflowInvocationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +653,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkflowInvocationRequestOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkflowInvocationRequestOrBuilder.java new file mode 100644 index 0000000..269d948 --- /dev/null +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkflowInvocationRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1alpha2/dataform.proto + +package com.google.cloud.dataform.v1alpha2; + +public interface GetWorkflowInvocationRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.GetWorkflowInvocationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The workflow invocation resource's name.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The workflow invocation resource's name.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkspaceRequest.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkspaceRequest.java similarity index 64% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkspaceRequest.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkspaceRequest.java index 3485abb..32cad82 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkspaceRequest.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkspaceRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * `GetWorkspace` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.GetWorkspaceRequest} */ -public final class GetWorkspaceRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetWorkspaceRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.GetWorkspaceRequest) GetWorkspaceRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetWorkspaceRequest.newBuilder() to construct. private GetWorkspaceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetWorkspaceRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetWorkspaceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetWorkspaceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetWorkspaceRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private GetWorkspaceRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_GetWorkspaceRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_GetWorkspaceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_GetWorkspaceRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_GetWorkspaceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest.class, com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest.class, + com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The workspace's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -109,29 +134,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The workspace's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest other = (com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest) obj; + com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest other = + (com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `GetWorkspace` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.GetWorkspaceRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.GetWorkspaceRequest) com.google.cloud.dataform.v1alpha2.GetWorkspaceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_GetWorkspaceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_GetWorkspaceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_GetWorkspaceRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_GetWorkspaceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest.class, com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest.class, + com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest.newBuilder() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +377,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_GetWorkspaceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_GetWorkspaceRequest_descriptor; } @java.lang.Override @@ -362,7 +398,8 @@ public com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest result = new com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest(this); + com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest result = + new com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +409,39 @@ public com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest)other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +449,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +474,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +487,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -467,20 +511,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -488,61 +535,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +612,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.GetWorkspaceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.GetWorkspaceRequest) private static final com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest(); } @@ -566,16 +626,16 @@ public static com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetWorkspaceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetWorkspaceRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetWorkspaceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetWorkspaceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +650,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.GetWorkspaceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkspaceRequestOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkspaceRequestOrBuilder.java new file mode 100644 index 0000000..e9d02dd --- /dev/null +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/GetWorkspaceRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1alpha2/dataform.proto + +package com.google.cloud.dataform.v1alpha2; + +public interface GetWorkspaceRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.GetWorkspaceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The workspace's name.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The workspace's name.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesRequest.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesRequest.java similarity index 63% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesRequest.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesRequest.java index 9f70e23..afde081 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesRequest.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * `InstallNpmPackages` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest} */ -public final class InstallNpmPackagesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class InstallNpmPackagesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest) InstallNpmPackagesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InstallNpmPackagesRequest.newBuilder() to construct. private InstallNpmPackagesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private InstallNpmPackagesRequest() { workspace_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new InstallNpmPackagesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private InstallNpmPackagesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private InstallNpmPackagesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - workspace_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + workspace_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private InstallNpmPackagesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest.class, com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest.class, + com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest.Builder.class); } public static final int WORKSPACE_FIELD_NUMBER = 1; private volatile java.lang.Object workspace_; /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ @java.lang.Override @@ -109,29 +134,31 @@ public java.lang.String getWorkspace() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; } } /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ @java.lang.Override - public com.google.protobuf.ByteString - getWorkspaceBytes() { + public com.google.protobuf.ByteString getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workspace_ = b; return b; } else { @@ -140,6 +167,7 @@ public java.lang.String getWorkspace() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workspace_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest other = (com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest) obj; + com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest other = + (com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest) obj; - if (!getWorkspace() - .equals(other.getWorkspace())) return false; + if (!getWorkspace().equals(other.getWorkspace())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `InstallNpmPackages` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest) com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest.class, com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest.class, + com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest.newBuilder() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +377,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest + getDefaultInstanceForType() { return com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest.getDefaultInstance(); } @@ -362,7 +399,8 @@ public com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest result = new com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest(this); + com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest result = + new com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest(this); result.workspace_ = workspace_; onBuilt(); return result; @@ -372,38 +410,39 @@ public com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest)other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +450,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest.getDefaultInstance()) + return this; if (!other.getWorkspace().isEmpty()) { workspace_ = other.workspace_; onChanged(); @@ -435,7 +476,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +489,22 @@ public Builder mergeFrom( private java.lang.Object workspace_ = ""; /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ public java.lang.String getWorkspace() { java.lang.Object ref = workspace_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; @@ -467,20 +513,23 @@ public java.lang.String getWorkspace() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ - public com.google.protobuf.ByteString - getWorkspaceBytes() { + public com.google.protobuf.ByteString getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workspace_ = b; return b; } else { @@ -488,61 +537,74 @@ public java.lang.String getWorkspace() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The workspace to set. * @return This builder for chaining. */ - public Builder setWorkspace( - java.lang.String value) { + public Builder setWorkspace(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + workspace_ = value; onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearWorkspace() { - + workspace_ = getDefaultInstance().getWorkspace(); onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for workspace to set. * @return This builder for chaining. */ - public Builder setWorkspaceBytes( - com.google.protobuf.ByteString value) { + public Builder setWorkspaceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workspace_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +614,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest) - private static final com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest(); } @@ -566,16 +629,16 @@ public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InstallNpmPackagesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InstallNpmPackagesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InstallNpmPackagesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InstallNpmPackagesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +653,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesRequestOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesRequestOrBuilder.java new file mode 100644 index 0000000..db62253 --- /dev/null +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1alpha2/dataform.proto + +package com.google.cloud.dataform.v1alpha2; + +public interface InstallNpmPackagesRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.InstallNpmPackagesRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The workspace's name.
+   * 
+ * + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The workspace. + */ + java.lang.String getWorkspace(); + /** + * + * + *
+   * Required. The workspace's name.
+   * 
+ * + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for workspace. + */ + com.google.protobuf.ByteString getWorkspaceBytes(); +} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesResponse.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesResponse.java similarity index 64% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesResponse.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesResponse.java index d39130d..3ae848c 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesResponse.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesResponse.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * `InstallNpmPackages` response message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse} */ -public final class InstallNpmPackagesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class InstallNpmPackagesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse) InstallNpmPackagesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InstallNpmPackagesResponse.newBuilder() to construct. private InstallNpmPackagesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private InstallNpmPackagesResponse() { - } + + private InstallNpmPackagesResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new InstallNpmPackagesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private InstallNpmPackagesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private InstallNpmPackagesResponse( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private InstallNpmPackagesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse.class, com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse.class, + com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse other = (com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse) obj; + com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse other = + (com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,117 +160,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `InstallNpmPackages` response message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse) com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse.class, com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse.class, + com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse.newBuilder() @@ -259,16 +288,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,13 +304,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_InstallNpmPackagesResponse_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse + getDefaultInstanceForType() { return com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse.getDefaultInstance(); } @@ -297,7 +326,8 @@ public com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse buildPartial() { - com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse result = new com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse(this); + com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse result = + new com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse(this); onBuilt(); return result; } @@ -306,38 +336,39 @@ public com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse)other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse) other); } else { super.mergeFrom(other); return this; @@ -345,7 +376,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse other) { - if (other == com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse.getDefaultInstance()) return this; + if (other + == com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse.getDefaultInstance()) + return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +398,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +409,9 @@ public Builder mergeFrom( } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -386,12 +421,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse) - private static final com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse(); } @@ -400,16 +436,16 @@ public static com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InstallNpmPackagesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InstallNpmPackagesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InstallNpmPackagesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InstallNpmPackagesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -424,6 +460,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesResponseOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesResponseOrBuilder.java new file mode 100644 index 0000000..0797c32 --- /dev/null +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/InstallNpmPackagesResponseOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1alpha2/dataform.proto + +package com.google.cloud.dataform.v1alpha2; + +public interface InstallNpmPackagesResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.InstallNpmPackagesResponse) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsRequest.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsRequest.java similarity index 68% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsRequest.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsRequest.java index 15220a9..9179936 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsRequest.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * `ListCompilationResults` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.ListCompilationResultsRequest} */ -public final class ListCompilationResultsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListCompilationResultsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.ListCompilationResultsRequest) ListCompilationResultsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListCompilationResultsRequest.newBuilder() to construct. private ListCompilationResultsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListCompilationResultsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,16 +44,15 @@ private ListCompilationResultsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListCompilationResultsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListCompilationResultsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +71,32 @@ private ListCompilationResultsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,35 +104,42 @@ private ListCompilationResultsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest.class, com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest.class, + com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The repository in which to list compilation results. Must be in the
    * format `projects/*/locations/*/repositories/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -122,30 +148,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The repository in which to list compilation results. Must be in the
    * format `projects/*/locations/*/repositories/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -156,6 +184,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * Optional. Maximum number of compilation results to return. The server may return
    * fewer items than requested. If unspecified, the server will pick an
@@ -163,6 +193,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -173,6 +204,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * Optional. Page token received from a previous `ListCompilationResults` call.
    * Provide this to retrieve the subsequent page.
@@ -181,6 +214,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -189,14 +223,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Optional. Page token received from a previous `ListCompilationResults` call.
    * Provide this to retrieve the subsequent page.
@@ -205,16 +240,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -223,6 +257,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -234,8 +269,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -258,8 +292,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -272,19 +305,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest other = (com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest) obj; + com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest other = + (com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -308,117 +339,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `ListCompilationResults` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.ListCompilationResultsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.ListCompilationResultsRequest) com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest.class, com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest.class, + com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest.newBuilder() @@ -426,16 +467,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -449,13 +489,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest + getDefaultInstanceForType() { return com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest.getDefaultInstance(); } @@ -470,7 +511,8 @@ public com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest build() @java.lang.Override public com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest result = new com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest(this); + com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest result = + new com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -482,46 +524,50 @@ public com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest buildPar public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest)other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest other) { + if (other + == com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -552,7 +598,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -564,19 +612,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The repository in which to list compilation results. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -585,21 +637,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The repository in which to list compilation results. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -607,64 +662,79 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The repository in which to list compilation results. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The repository in which to list compilation results. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The repository in which to list compilation results. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. Maximum number of compilation results to return. The server may return
      * fewer items than requested. If unspecified, the server will pick an
@@ -672,6 +742,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -679,6 +750,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. Maximum number of compilation results to return. The server may return
      * fewer items than requested. If unspecified, the server will pick an
@@ -686,16 +759,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Maximum number of compilation results to return. The server may return
      * fewer items than requested. If unspecified, the server will pick an
@@ -703,10 +779,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -714,6 +791,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. Page token received from a previous `ListCompilationResults` call.
      * Provide this to retrieve the subsequent page.
@@ -722,13 +801,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -737,6 +816,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `ListCompilationResults` call.
      * Provide this to retrieve the subsequent page.
@@ -745,15 +826,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -761,6 +841,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `ListCompilationResults` call.
      * Provide this to retrieve the subsequent page.
@@ -769,20 +851,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Page token received from a previous `ListCompilationResults` call.
      * Provide this to retrieve the subsequent page.
@@ -791,15 +875,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * Optional. Page token received from a previous `ListCompilationResults` call.
      * Provide this to retrieve the subsequent page.
@@ -808,23 +895,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -834,30 +921,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.ListCompilationResultsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.ListCompilationResultsRequest) - private static final com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest(); } - public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCompilationResultsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListCompilationResultsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCompilationResultsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListCompilationResultsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -869,9 +958,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.ListCompilationResultsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsRequestOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsRequestOrBuilder.java similarity index 64% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsRequestOrBuilder.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsRequestOrBuilder.java index 81295ef..0151e2b 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsRequestOrBuilder.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface ListCompilationResultsRequestOrBuilder extends +public interface ListCompilationResultsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.ListCompilationResultsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The repository in which to list compilation results. Must be in the
    * format `projects/*/locations/*/repositories/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The repository in which to list compilation results. Must be in the
    * format `projects/*/locations/*/repositories/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Optional. Maximum number of compilation results to return. The server may return
    * fewer items than requested. If unspecified, the server will pick an
@@ -37,11 +64,14 @@ public interface ListCompilationResultsRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. Page token received from a previous `ListCompilationResults` call.
    * Provide this to retrieve the subsequent page.
@@ -50,10 +80,13 @@ public interface ListCompilationResultsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. Page token received from a previous `ListCompilationResults` call.
    * Provide this to retrieve the subsequent page.
@@ -62,8 +95,8 @@ public interface ListCompilationResultsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsResponse.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsResponse.java similarity index 70% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsResponse.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsResponse.java index 18d7075..0767d5c 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsResponse.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsResponse.java @@ -1,24 +1,43 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * `ListCompilationResults` response message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.ListCompilationResultsResponse} */ -public final class ListCompilationResultsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListCompilationResultsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.ListCompilationResultsResponse) ListCompilationResultsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListCompilationResultsResponse.newBuilder() to construct. - private ListCompilationResultsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListCompilationResultsResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListCompilationResultsResponse() { compilationResults_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -27,16 +46,15 @@ private ListCompilationResultsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListCompilationResultsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListCompilationResultsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,37 +74,43 @@ private ListCompilationResultsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - compilationResults_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + compilationResults_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + compilationResults_.add( + input.readMessage( + com.google.cloud.dataform.v1alpha2.CompilationResult.parser(), + extensionRegistry)); + break; } - compilationResults_.add( - input.readMessage(com.google.cloud.dataform.v1alpha2.CompilationResult.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + nextPageToken_ = s; + break; } - unreachable_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + unreachable_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -94,8 +118,7 @@ private ListCompilationResultsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { compilationResults_ = java.util.Collections.unmodifiableList(compilationResults_); @@ -107,88 +130,110 @@ private ListCompilationResultsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse.class, com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse.class, + com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse.Builder.class); } public static final int COMPILATION_RESULTS_FIELD_NUMBER = 1; private java.util.List compilationResults_; /** + * + * *
    * List of compilation results.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * */ @java.lang.Override - public java.util.List getCompilationResultsList() { + public java.util.List + getCompilationResultsList() { return compilationResults_; } /** + * + * *
    * List of compilation results.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List getCompilationResultsOrBuilderList() { return compilationResults_; } /** + * + * *
    * List of compilation results.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * */ @java.lang.Override public int getCompilationResultsCount() { return compilationResults_.size(); } /** + * + * *
    * List of compilation results.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.CompilationResult getCompilationResults(int index) { return compilationResults_.get(index); } /** + * + * *
    * List of compilation results.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResultOrBuilder getCompilationResultsOrBuilder( - int index) { + public com.google.cloud.dataform.v1alpha2.CompilationResultOrBuilder + getCompilationResultsOrBuilder(int index) { return compilationResults_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -197,30 +242,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -231,34 +276,42 @@ public java.lang.String getNextPageToken() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -266,20 +319,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -291,8 +347,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < compilationResults_.size(); i++) { output.writeMessage(1, compilationResults_.get(i)); } @@ -312,8 +367,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < compilationResults_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, compilationResults_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, compilationResults_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -334,19 +389,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse other = (com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse) obj; + com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse other = + (com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse) obj; - if (!getCompilationResultsList() - .equals(other.getCompilationResultsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getCompilationResultsList().equals(other.getCompilationResultsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -374,135 +427,147 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `ListCompilationResults` response message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.ListCompilationResultsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.ListCompilationResultsResponse) com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse.class, com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse.class, + com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse.Builder.class); } - // Construct using com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse.newBuilder() + // Construct using + // com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getCompilationResultsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -520,13 +585,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ListCompilationResultsResponse_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse + getDefaultInstanceForType() { return com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse.getDefaultInstance(); } @@ -541,7 +607,8 @@ public com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse build() @java.lang.Override public com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse buildPartial() { - com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse result = new com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse(this); + com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse result = + new com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse(this); int from_bitField0_ = bitField0_; if (compilationResultsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -566,46 +633,50 @@ public com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse)other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse other) { - if (other == com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse other) { + if (other + == com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse.getDefaultInstance()) + return this; if (compilationResultsBuilder_ == null) { if (!other.compilationResults_.isEmpty()) { if (compilationResults_.isEmpty()) { @@ -624,9 +695,10 @@ public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.ListCompilationResul compilationResultsBuilder_ = null; compilationResults_ = other.compilationResults_; bitField0_ = (bitField0_ & ~0x00000001); - compilationResultsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getCompilationResultsFieldBuilder() : null; + compilationResultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getCompilationResultsFieldBuilder() + : null; } else { compilationResultsBuilder_.addAllMessages(other.compilationResults_); } @@ -665,7 +737,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -674,28 +748,39 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private java.util.List compilationResults_ = - java.util.Collections.emptyList(); + private java.util.List + compilationResults_ = java.util.Collections.emptyList(); + private void ensureCompilationResultsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - compilationResults_ = new java.util.ArrayList(compilationResults_); + compilationResults_ = + new java.util.ArrayList( + compilationResults_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResult, com.google.cloud.dataform.v1alpha2.CompilationResult.Builder, com.google.cloud.dataform.v1alpha2.CompilationResultOrBuilder> compilationResultsBuilder_; + com.google.cloud.dataform.v1alpha2.CompilationResult, + com.google.cloud.dataform.v1alpha2.CompilationResult.Builder, + com.google.cloud.dataform.v1alpha2.CompilationResultOrBuilder> + compilationResultsBuilder_; /** + * + * *
      * List of compilation results.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * */ - public java.util.List getCompilationResultsList() { + public java.util.List + getCompilationResultsList() { if (compilationResultsBuilder_ == null) { return java.util.Collections.unmodifiableList(compilationResults_); } else { @@ -703,11 +788,14 @@ public java.util.List getC } } /** + * + * *
      * List of compilation results.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * */ public int getCompilationResultsCount() { if (compilationResultsBuilder_ == null) { @@ -717,11 +805,14 @@ public int getCompilationResultsCount() { } } /** + * + * *
      * List of compilation results.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * */ public com.google.cloud.dataform.v1alpha2.CompilationResult getCompilationResults(int index) { if (compilationResultsBuilder_ == null) { @@ -731,11 +822,14 @@ public com.google.cloud.dataform.v1alpha2.CompilationResult getCompilationResult } } /** + * + * *
      * List of compilation results.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * */ public Builder setCompilationResults( int index, com.google.cloud.dataform.v1alpha2.CompilationResult value) { @@ -752,11 +846,14 @@ public Builder setCompilationResults( return this; } /** + * + * *
      * List of compilation results.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * */ public Builder setCompilationResults( int index, com.google.cloud.dataform.v1alpha2.CompilationResult.Builder builderForValue) { @@ -770,13 +867,17 @@ public Builder setCompilationResults( return this; } /** + * + * *
      * List of compilation results.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * */ - public Builder addCompilationResults(com.google.cloud.dataform.v1alpha2.CompilationResult value) { + public Builder addCompilationResults( + com.google.cloud.dataform.v1alpha2.CompilationResult value) { if (compilationResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -790,11 +891,14 @@ public Builder addCompilationResults(com.google.cloud.dataform.v1alpha2.Compilat return this; } /** + * + * *
      * List of compilation results.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * */ public Builder addCompilationResults( int index, com.google.cloud.dataform.v1alpha2.CompilationResult value) { @@ -811,11 +915,14 @@ public Builder addCompilationResults( return this; } /** + * + * *
      * List of compilation results.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * */ public Builder addCompilationResults( com.google.cloud.dataform.v1alpha2.CompilationResult.Builder builderForValue) { @@ -829,11 +936,14 @@ public Builder addCompilationResults( return this; } /** + * + * *
      * List of compilation results.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * */ public Builder addCompilationResults( int index, com.google.cloud.dataform.v1alpha2.CompilationResult.Builder builderForValue) { @@ -847,18 +957,20 @@ public Builder addCompilationResults( return this; } /** + * + * *
      * List of compilation results.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * */ public Builder addAllCompilationResults( java.lang.Iterable values) { if (compilationResultsBuilder_ == null) { ensureCompilationResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, compilationResults_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, compilationResults_); onChanged(); } else { compilationResultsBuilder_.addAllMessages(values); @@ -866,11 +978,14 @@ public Builder addAllCompilationResults( return this; } /** + * + * *
      * List of compilation results.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * */ public Builder clearCompilationResults() { if (compilationResultsBuilder_ == null) { @@ -883,11 +998,14 @@ public Builder clearCompilationResults() { return this; } /** + * + * *
      * List of compilation results.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * */ public Builder removeCompilationResults(int index) { if (compilationResultsBuilder_ == null) { @@ -900,39 +1018,49 @@ public Builder removeCompilationResults(int index) { return this; } /** + * + * *
      * List of compilation results.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * */ - public com.google.cloud.dataform.v1alpha2.CompilationResult.Builder getCompilationResultsBuilder( - int index) { + public com.google.cloud.dataform.v1alpha2.CompilationResult.Builder + getCompilationResultsBuilder(int index) { return getCompilationResultsFieldBuilder().getBuilder(index); } /** + * + * *
      * List of compilation results.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * */ - public com.google.cloud.dataform.v1alpha2.CompilationResultOrBuilder getCompilationResultsOrBuilder( - int index) { + public com.google.cloud.dataform.v1alpha2.CompilationResultOrBuilder + getCompilationResultsOrBuilder(int index) { if (compilationResultsBuilder_ == null) { - return compilationResults_.get(index); } else { + return compilationResults_.get(index); + } else { return compilationResultsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of compilation results.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * */ - public java.util.List - getCompilationResultsOrBuilderList() { + public java.util.List + getCompilationResultsOrBuilderList() { if (compilationResultsBuilder_ != null) { return compilationResultsBuilder_.getMessageOrBuilderList(); } else { @@ -940,45 +1068,62 @@ public com.google.cloud.dataform.v1alpha2.CompilationResultOrBuilder getCompilat } } /** + * + * *
      * List of compilation results.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * */ - public com.google.cloud.dataform.v1alpha2.CompilationResult.Builder addCompilationResultsBuilder() { - return getCompilationResultsFieldBuilder().addBuilder( - com.google.cloud.dataform.v1alpha2.CompilationResult.getDefaultInstance()); + public com.google.cloud.dataform.v1alpha2.CompilationResult.Builder + addCompilationResultsBuilder() { + return getCompilationResultsFieldBuilder() + .addBuilder(com.google.cloud.dataform.v1alpha2.CompilationResult.getDefaultInstance()); } /** + * + * *
      * List of compilation results.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * */ - public com.google.cloud.dataform.v1alpha2.CompilationResult.Builder addCompilationResultsBuilder( - int index) { - return getCompilationResultsFieldBuilder().addBuilder( - index, com.google.cloud.dataform.v1alpha2.CompilationResult.getDefaultInstance()); + public com.google.cloud.dataform.v1alpha2.CompilationResult.Builder + addCompilationResultsBuilder(int index) { + return getCompilationResultsFieldBuilder() + .addBuilder( + index, com.google.cloud.dataform.v1alpha2.CompilationResult.getDefaultInstance()); } /** + * + * *
      * List of compilation results.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * */ - public java.util.List - getCompilationResultsBuilderList() { + public java.util.List + getCompilationResultsBuilderList() { return getCompilationResultsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResult, com.google.cloud.dataform.v1alpha2.CompilationResult.Builder, com.google.cloud.dataform.v1alpha2.CompilationResultOrBuilder> + com.google.cloud.dataform.v1alpha2.CompilationResult, + com.google.cloud.dataform.v1alpha2.CompilationResult.Builder, + com.google.cloud.dataform.v1alpha2.CompilationResultOrBuilder> getCompilationResultsFieldBuilder() { if (compilationResultsBuilder_ == null) { - compilationResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResult, com.google.cloud.dataform.v1alpha2.CompilationResult.Builder, com.google.cloud.dataform.v1alpha2.CompilationResultOrBuilder>( + compilationResultsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.CompilationResult, + com.google.cloud.dataform.v1alpha2.CompilationResult.Builder, + com.google.cloud.dataform.v1alpha2.CompilationResultOrBuilder>( compilationResults_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -990,19 +1135,21 @@ public com.google.cloud.dataform.v1alpha2.CompilationResult.Builder addCompilati private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1011,21 +1158,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1033,98 +1181,115 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList unreachable_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1132,80 +1297,90 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { + public Builder setUnreachable(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { + public Builder addUnreachable(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); onChanged(); return this; } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1215,28 +1390,30 @@ public Builder clearUnreachable() { return this; } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1246,30 +1423,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.ListCompilationResultsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.ListCompilationResultsResponse) - private static final com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse(); } - public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCompilationResultsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListCompilationResultsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCompilationResultsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListCompilationResultsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1281,9 +1460,8 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.ListCompilationResultsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsResponseOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsResponseOrBuilder.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsResponseOrBuilder.java index 056a9f1..60be13b 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsResponseOrBuilder.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListCompilationResultsResponseOrBuilder.java @@ -1,116 +1,161 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface ListCompilationResultsResponseOrBuilder extends +public interface ListCompilationResultsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.ListCompilationResultsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of compilation results.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * */ - java.util.List - getCompilationResultsList(); + java.util.List getCompilationResultsList(); /** + * + * *
    * List of compilation results.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * */ com.google.cloud.dataform.v1alpha2.CompilationResult getCompilationResults(int index); /** + * + * *
    * List of compilation results.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * */ int getCompilationResultsCount(); /** + * + * *
    * List of compilation results.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * */ - java.util.List + java.util.List getCompilationResultsOrBuilderList(); /** + * + * *
    * List of compilation results.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * repeated .google.cloud.dataform.v1alpha2.CompilationResult compilation_results = 1; + * */ com.google.cloud.dataform.v1alpha2.CompilationResultOrBuilder getCompilationResultsOrBuilder( int index); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesRequest.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesRequest.java similarity index 72% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesRequest.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesRequest.java index f42ce25..e5dc430 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesRequest.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * `ListRepositories` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.ListRepositoriesRequest} */ -public final class ListRepositoriesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListRepositoriesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.ListRepositoriesRequest) ListRepositoriesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListRepositoriesRequest.newBuilder() to construct. private ListRepositoriesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListRepositoriesRequest() { parent_ = ""; pageToken_ = ""; @@ -28,16 +46,15 @@ private ListRepositoriesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListRepositoriesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListRepositoriesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,42 +73,46 @@ private ListRepositoriesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + orderBy_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + filter_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,35 +120,42 @@ private ListRepositoriesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest.class, com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest.class, + com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The location in which to list repositories. Must be in the format
    * `projects/*/locations/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -136,30 +164,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The location in which to list repositories. Must be in the format
    * `projects/*/locations/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -170,6 +200,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * Optional. Maximum number of repositories to return. The server may return fewer
    * items than requested. If unspecified, the server will pick an appropriate
@@ -177,6 +209,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -187,6 +220,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * Optional. Page token received from a previous `ListRepositories` call.
    * Provide this to retrieve the subsequent page.
@@ -195,6 +230,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -203,14 +239,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Optional. Page token received from a previous `ListRepositories` call.
    * Provide this to retrieve the subsequent page.
@@ -219,16 +256,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -239,6 +275,8 @@ public java.lang.String getPageToken() { public static final int ORDER_BY_FIELD_NUMBER = 4; private volatile java.lang.Object orderBy_; /** + * + * *
    * Optional. This field only supports ordering by `name`. If unspecified, the server
    * will choose the ordering. If specified, the default order is ascending for
@@ -246,6 +284,7 @@ public java.lang.String getPageToken() {
    * 
* * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -254,14 +293,15 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * Optional. This field only supports ordering by `name`. If unspecified, the server
    * will choose the ordering. If specified, the default order is ascending for
@@ -269,16 +309,15 @@ public java.lang.String getOrderBy() {
    * 
* * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -289,11 +328,14 @@ public java.lang.String getOrderBy() { public static final int FILTER_FIELD_NUMBER = 5; private volatile java.lang.Object filter_; /** + * + * *
    * Optional. Filter for the returned list.
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -302,29 +344,29 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * Optional. Filter for the returned list.
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -333,6 +375,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -344,8 +387,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -374,8 +416,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -394,23 +435,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest other = (com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; + com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest other = + (com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; + if (!getFilter().equals(other.getFilter())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -438,117 +475,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `ListRepositories` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.ListRepositoriesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.ListRepositoriesRequest) com.google.cloud.dataform.v1alpha2.ListRepositoriesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest.class, com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest.class, + com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest.newBuilder() @@ -556,16 +603,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -583,9 +629,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesRequest_descriptor; } @java.lang.Override @@ -604,7 +650,8 @@ public com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest result = new com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest(this); + com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest result = + new com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -618,38 +665,39 @@ public com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest)other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest) other); } else { super.mergeFrom(other); return this; @@ -657,7 +705,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -696,7 +745,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -708,19 +758,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The location in which to list repositories. Must be in the format
      * `projects/*/locations/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -729,21 +783,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location in which to list repositories. Must be in the format
      * `projects/*/locations/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -751,64 +808,79 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location in which to list repositories. Must be in the format
      * `projects/*/locations/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The location in which to list repositories. Must be in the format
      * `projects/*/locations/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The location in which to list repositories. Must be in the format
      * `projects/*/locations/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. Maximum number of repositories to return. The server may return fewer
      * items than requested. If unspecified, the server will pick an appropriate
@@ -816,6 +888,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -823,6 +896,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. Maximum number of repositories to return. The server may return fewer
      * items than requested. If unspecified, the server will pick an appropriate
@@ -830,16 +905,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Maximum number of repositories to return. The server may return fewer
      * items than requested. If unspecified, the server will pick an appropriate
@@ -847,10 +925,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -858,6 +937,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. Page token received from a previous `ListRepositories` call.
      * Provide this to retrieve the subsequent page.
@@ -866,13 +947,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -881,6 +962,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `ListRepositories` call.
      * Provide this to retrieve the subsequent page.
@@ -889,15 +972,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -905,6 +987,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `ListRepositories` call.
      * Provide this to retrieve the subsequent page.
@@ -913,20 +997,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Page token received from a previous `ListRepositories` call.
      * Provide this to retrieve the subsequent page.
@@ -935,15 +1021,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * Optional. Page token received from a previous `ListRepositories` call.
      * Provide this to retrieve the subsequent page.
@@ -952,16 +1041,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -969,6 +1058,8 @@ public Builder setPageTokenBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Optional. This field only supports ordering by `name`. If unspecified, the server
      * will choose the ordering. If specified, the default order is ascending for
@@ -976,13 +1067,13 @@ public Builder setPageTokenBytes(
      * 
* * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -991,6 +1082,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. This field only supports ordering by `name`. If unspecified, the server
      * will choose the ordering. If specified, the default order is ascending for
@@ -998,15 +1091,14 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1014,6 +1106,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. This field only supports ordering by `name`. If unspecified, the server
      * will choose the ordering. If specified, the default order is ascending for
@@ -1021,20 +1115,22 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { + public Builder setOrderBy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** + * + * *
      * Optional. This field only supports ordering by `name`. If unspecified, the server
      * will choose the ordering. If specified, the default order is ascending for
@@ -1042,15 +1138,18 @@ public Builder setOrderBy(
      * 
* * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** + * + * *
      * Optional. This field only supports ordering by `name`. If unspecified, the server
      * will choose the ordering. If specified, the default order is ascending for
@@ -1058,16 +1157,16 @@ public Builder clearOrderBy() {
      * 
* * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; @@ -1075,18 +1174,20 @@ public Builder setOrderByBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Optional. Filter for the returned list.
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1095,20 +1196,21 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filter for the returned list.
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -1116,61 +1218,68 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filter for the returned list.
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Filter for the returned list.
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * Optional. Filter for the returned list.
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1180,12 +1289,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.ListRepositoriesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.ListRepositoriesRequest) private static final com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest(); } @@ -1194,16 +1303,16 @@ public static com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRepositoriesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListRepositoriesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRepositoriesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRepositoriesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1218,6 +1327,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.ListRepositoriesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesRequestOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesRequestOrBuilder.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesRequestOrBuilder.java index 1fc638c..298dd3f 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesRequestOrBuilder.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface ListRepositoriesRequestOrBuilder extends +public interface ListRepositoriesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.ListRepositoriesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The location in which to list repositories. Must be in the format
    * `projects/*/locations/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The location in which to list repositories. Must be in the format
    * `projects/*/locations/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Optional. Maximum number of repositories to return. The server may return fewer
    * items than requested. If unspecified, the server will pick an appropriate
@@ -37,11 +64,14 @@ public interface ListRepositoriesRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. Page token received from a previous `ListRepositories` call.
    * Provide this to retrieve the subsequent page.
@@ -50,10 +80,13 @@ public interface ListRepositoriesRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. Page token received from a previous `ListRepositories` call.
    * Provide this to retrieve the subsequent page.
@@ -62,12 +95,14 @@ public interface ListRepositoriesRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. This field only supports ordering by `name`. If unspecified, the server
    * will choose the ordering. If specified, the default order is ascending for
@@ -75,10 +110,13 @@ public interface ListRepositoriesRequestOrBuilder extends
    * 
* * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Optional. This field only supports ordering by `name`. If unspecified, the server
    * will choose the ordering. If specified, the default order is ascending for
@@ -86,28 +124,33 @@ public interface ListRepositoriesRequestOrBuilder extends
    * 
* * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); /** + * + * *
    * Optional. Filter for the returned list.
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Optional. Filter for the returned list.
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); } diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesResponse.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesResponse.java similarity index 74% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesResponse.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesResponse.java index 67792b7..35e257f 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesResponse.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * `ListRepositories` response message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.ListRepositoriesResponse} */ -public final class ListRepositoriesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListRepositoriesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.ListRepositoriesResponse) ListRepositoriesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListRepositoriesResponse.newBuilder() to construct. private ListRepositoriesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListRepositoriesResponse() { repositories_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -27,16 +45,15 @@ private ListRepositoriesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListRepositoriesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListRepositoriesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,37 +73,42 @@ private ListRepositoriesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - repositories_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + repositories_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + repositories_.add( + input.readMessage( + com.google.cloud.dataform.v1alpha2.Repository.parser(), extensionRegistry)); + break; } - repositories_.add( - input.readMessage(com.google.cloud.dataform.v1alpha2.Repository.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + nextPageToken_ = s; + break; } - unreachable_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + unreachable_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -94,8 +116,7 @@ private ListRepositoriesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { repositories_ = java.util.Collections.unmodifiableList(repositories_); @@ -107,22 +128,27 @@ private ListRepositoriesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse.class, com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse.class, + com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse.Builder.class); } public static final int REPOSITORIES_FIELD_NUMBER = 1; private java.util.List repositories_; /** + * + * *
    * List of repositories.
    * 
@@ -134,6 +160,8 @@ public java.util.List getReposito return repositories_; } /** + * + * *
    * List of repositories.
    * 
@@ -141,11 +169,13 @@ public java.util.List getReposito * repeated .google.cloud.dataform.v1alpha2.Repository repositories = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRepositoriesOrBuilderList() { return repositories_; } /** + * + * *
    * List of repositories.
    * 
@@ -157,6 +187,8 @@ public int getRepositoriesCount() { return repositories_.size(); } /** + * + * *
    * List of repositories.
    * 
@@ -168,6 +200,8 @@ public com.google.cloud.dataform.v1alpha2.Repository getRepositories(int index) return repositories_.get(index); } /** + * + * *
    * List of repositories.
    * 
@@ -183,12 +217,15 @@ public com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder getRepositoriesOrB public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -197,30 +234,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -231,34 +268,42 @@ public java.lang.String getNextPageToken() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -266,20 +311,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -291,8 +339,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < repositories_.size(); i++) { output.writeMessage(1, repositories_.get(i)); } @@ -312,8 +359,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < repositories_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, repositories_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, repositories_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -334,19 +380,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse other = (com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse) obj; + com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse other = + (com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse) obj; - if (!getRepositoriesList() - .equals(other.getRepositoriesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getRepositoriesList().equals(other.getRepositoriesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -374,117 +418,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `ListRepositories` response message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.ListRepositoriesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.ListRepositoriesResponse) com.google.cloud.dataform.v1alpha2.ListRepositoriesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse.class, com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse.class, + com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse.newBuilder() @@ -492,17 +546,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getRepositoriesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -520,9 +574,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ListRepositoriesResponse_descriptor; } @java.lang.Override @@ -541,7 +595,8 @@ public com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse buildPartial() { - com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse result = new com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse(this); + com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse result = + new com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse(this); int from_bitField0_ = bitField0_; if (repositoriesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -566,38 +621,39 @@ public com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse buildPartial( public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse)other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse) other); } else { super.mergeFrom(other); return this; @@ -605,7 +661,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse other) { - if (other == com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse.getDefaultInstance()) + return this; if (repositoriesBuilder_ == null) { if (!other.repositories_.isEmpty()) { if (repositories_.isEmpty()) { @@ -624,9 +681,10 @@ public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.ListRepositoriesResp repositoriesBuilder_ = null; repositories_ = other.repositories_; bitField0_ = (bitField0_ & ~0x00000001); - repositoriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getRepositoriesFieldBuilder() : null; + repositoriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getRepositoriesFieldBuilder() + : null; } else { repositoriesBuilder_.addAllMessages(other.repositories_); } @@ -665,7 +723,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -674,21 +733,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List repositories_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRepositoriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - repositories_ = new java.util.ArrayList(repositories_); + repositories_ = + new java.util.ArrayList(repositories_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Repository, com.google.cloud.dataform.v1alpha2.Repository.Builder, com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder> repositoriesBuilder_; + com.google.cloud.dataform.v1alpha2.Repository, + com.google.cloud.dataform.v1alpha2.Repository.Builder, + com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder> + repositoriesBuilder_; /** + * + * *
      * List of repositories.
      * 
@@ -703,6 +770,8 @@ public java.util.List getReposito } } /** + * + * *
      * List of repositories.
      * 
@@ -717,6 +786,8 @@ public int getRepositoriesCount() { } } /** + * + * *
      * List of repositories.
      * 
@@ -731,14 +802,15 @@ public com.google.cloud.dataform.v1alpha2.Repository getRepositories(int index) } } /** + * + * *
      * List of repositories.
      * 
* * repeated .google.cloud.dataform.v1alpha2.Repository repositories = 1; */ - public Builder setRepositories( - int index, com.google.cloud.dataform.v1alpha2.Repository value) { + public Builder setRepositories(int index, com.google.cloud.dataform.v1alpha2.Repository value) { if (repositoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -752,6 +824,8 @@ public Builder setRepositories( return this; } /** + * + * *
      * List of repositories.
      * 
@@ -770,6 +844,8 @@ public Builder setRepositories( return this; } /** + * + * *
      * List of repositories.
      * 
@@ -790,14 +866,15 @@ public Builder addRepositories(com.google.cloud.dataform.v1alpha2.Repository val return this; } /** + * + * *
      * List of repositories.
      * 
* * repeated .google.cloud.dataform.v1alpha2.Repository repositories = 1; */ - public Builder addRepositories( - int index, com.google.cloud.dataform.v1alpha2.Repository value) { + public Builder addRepositories(int index, com.google.cloud.dataform.v1alpha2.Repository value) { if (repositoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -811,6 +888,8 @@ public Builder addRepositories( return this; } /** + * + * *
      * List of repositories.
      * 
@@ -829,6 +908,8 @@ public Builder addRepositories( return this; } /** + * + * *
      * List of repositories.
      * 
@@ -847,6 +928,8 @@ public Builder addRepositories( return this; } /** + * + * *
      * List of repositories.
      * 
@@ -857,8 +940,7 @@ public Builder addAllRepositories( java.lang.Iterable values) { if (repositoriesBuilder_ == null) { ensureRepositoriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, repositories_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repositories_); onChanged(); } else { repositoriesBuilder_.addAllMessages(values); @@ -866,6 +948,8 @@ public Builder addAllRepositories( return this; } /** + * + * *
      * List of repositories.
      * 
@@ -883,6 +967,8 @@ public Builder clearRepositories() { return this; } /** + * + * *
      * List of repositories.
      * 
@@ -900,17 +986,20 @@ public Builder removeRepositories(int index) { return this; } /** + * + * *
      * List of repositories.
      * 
* * repeated .google.cloud.dataform.v1alpha2.Repository repositories = 1; */ - public com.google.cloud.dataform.v1alpha2.Repository.Builder getRepositoriesBuilder( - int index) { + public com.google.cloud.dataform.v1alpha2.Repository.Builder getRepositoriesBuilder(int index) { return getRepositoriesFieldBuilder().getBuilder(index); } /** + * + * *
      * List of repositories.
      * 
@@ -920,19 +1009,22 @@ public com.google.cloud.dataform.v1alpha2.Repository.Builder getRepositoriesBuil public com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder getRepositoriesOrBuilder( int index) { if (repositoriesBuilder_ == null) { - return repositories_.get(index); } else { + return repositories_.get(index); + } else { return repositoriesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of repositories.
      * 
* * repeated .google.cloud.dataform.v1alpha2.Repository repositories = 1; */ - public java.util.List - getRepositoriesOrBuilderList() { + public java.util.List + getRepositoriesOrBuilderList() { if (repositoriesBuilder_ != null) { return repositoriesBuilder_.getMessageOrBuilderList(); } else { @@ -940,6 +1032,8 @@ public com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder getRepositoriesOrB } } /** + * + * *
      * List of repositories.
      * 
@@ -947,42 +1041,48 @@ public com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder getRepositoriesOrB * repeated .google.cloud.dataform.v1alpha2.Repository repositories = 1; */ public com.google.cloud.dataform.v1alpha2.Repository.Builder addRepositoriesBuilder() { - return getRepositoriesFieldBuilder().addBuilder( - com.google.cloud.dataform.v1alpha2.Repository.getDefaultInstance()); + return getRepositoriesFieldBuilder() + .addBuilder(com.google.cloud.dataform.v1alpha2.Repository.getDefaultInstance()); } /** + * + * *
      * List of repositories.
      * 
* * repeated .google.cloud.dataform.v1alpha2.Repository repositories = 1; */ - public com.google.cloud.dataform.v1alpha2.Repository.Builder addRepositoriesBuilder( - int index) { - return getRepositoriesFieldBuilder().addBuilder( - index, com.google.cloud.dataform.v1alpha2.Repository.getDefaultInstance()); + public com.google.cloud.dataform.v1alpha2.Repository.Builder addRepositoriesBuilder(int index) { + return getRepositoriesFieldBuilder() + .addBuilder(index, com.google.cloud.dataform.v1alpha2.Repository.getDefaultInstance()); } /** + * + * *
      * List of repositories.
      * 
* * repeated .google.cloud.dataform.v1alpha2.Repository repositories = 1; */ - public java.util.List - getRepositoriesBuilderList() { + public java.util.List + getRepositoriesBuilderList() { return getRepositoriesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Repository, com.google.cloud.dataform.v1alpha2.Repository.Builder, com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder> + com.google.cloud.dataform.v1alpha2.Repository, + com.google.cloud.dataform.v1alpha2.Repository.Builder, + com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder> getRepositoriesFieldBuilder() { if (repositoriesBuilder_ == null) { - repositoriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Repository, com.google.cloud.dataform.v1alpha2.Repository.Builder, com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder>( - repositories_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + repositoriesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.Repository, + com.google.cloud.dataform.v1alpha2.Repository.Builder, + com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder>( + repositories_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); repositories_ = null; } return repositoriesBuilder_; @@ -990,19 +1090,21 @@ public com.google.cloud.dataform.v1alpha2.Repository.Builder addRepositoriesBuil private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1011,21 +1113,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1033,98 +1136,115 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList unreachable_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1132,80 +1252,90 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { + public Builder setUnreachable(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { + public Builder addUnreachable(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); onChanged(); return this; } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1215,28 +1345,30 @@ public Builder clearUnreachable() { return this; } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1246,12 +1378,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.ListRepositoriesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.ListRepositoriesResponse) private static final com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse(); } @@ -1260,16 +1392,16 @@ public static com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRepositoriesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListRepositoriesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRepositoriesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRepositoriesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1284,6 +1416,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.ListRepositoriesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesResponseOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesResponseOrBuilder.java similarity index 73% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesResponseOrBuilder.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesResponseOrBuilder.java index ec20c2c..2c5eaa5 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesResponseOrBuilder.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListRepositoriesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface ListRepositoriesResponseOrBuilder extends +public interface ListRepositoriesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.ListRepositoriesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of repositories.
    * 
* * repeated .google.cloud.dataform.v1alpha2.Repository repositories = 1; */ - java.util.List - getRepositoriesList(); + java.util.List getRepositoriesList(); /** + * + * *
    * List of repositories.
    * 
@@ -25,6 +44,8 @@ public interface ListRepositoriesResponseOrBuilder extends */ com.google.cloud.dataform.v1alpha2.Repository getRepositories(int index); /** + * + * *
    * List of repositories.
    * 
@@ -33,84 +54,102 @@ public interface ListRepositoriesResponseOrBuilder extends */ int getRepositoriesCount(); /** + * + * *
    * List of repositories.
    * 
* * repeated .google.cloud.dataform.v1alpha2.Repository repositories = 1; */ - java.util.List + java.util.List getRepositoriesOrBuilderList(); /** + * + * *
    * List of repositories.
    * 
* * repeated .google.cloud.dataform.v1alpha2.Repository repositories = 1; */ - com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder getRepositoriesOrBuilder( - int index); + com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder getRepositoriesOrBuilder(int index); /** + * + * *
    * A token which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsRequest.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsRequest.java similarity index 68% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsRequest.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsRequest.java index 40cf91e..d767ada 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsRequest.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsRequest.java @@ -1,24 +1,43 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * `ListWorkflowInvocations` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest} */ -public final class ListWorkflowInvocationsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListWorkflowInvocationsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest) ListWorkflowInvocationsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListWorkflowInvocationsRequest.newBuilder() to construct. - private ListWorkflowInvocationsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListWorkflowInvocationsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListWorkflowInvocationsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,16 +45,15 @@ private ListWorkflowInvocationsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListWorkflowInvocationsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListWorkflowInvocationsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +72,32 @@ private ListWorkflowInvocationsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: { - - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,35 +105,42 @@ private ListWorkflowInvocationsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest.class, com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest.class, + com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent resource of the WorkflowInvocation type. Must be in the
    * format `projects/*/locations/*/repositories/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -122,30 +149,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent resource of the WorkflowInvocation type. Must be in the
    * format `projects/*/locations/*/repositories/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -156,6 +185,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * Optional. Maximum number of workflow invocations to return. The server may return
    * fewer items than requested. If unspecified, the server will pick an
@@ -163,6 +194,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -173,6 +205,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * Optional. Page token received from a previous `ListWorkflowInvocations` call.
    * Provide this to retrieve the subsequent page.
@@ -181,6 +215,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -189,14 +224,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Optional. Page token received from a previous `ListWorkflowInvocations` call.
    * Provide this to retrieve the subsequent page.
@@ -205,16 +241,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -223,6 +258,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -234,8 +270,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -258,8 +293,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -272,19 +306,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest other = (com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest) obj; + com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest other = + (com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -308,134 +340,145 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `ListWorkflowInvocations` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest) com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest.class, com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest.class, + com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest.Builder.class); } - // Construct using com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest.newBuilder() + // Construct using + // com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -449,13 +492,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest + getDefaultInstanceForType() { return com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest.getDefaultInstance(); } @@ -470,7 +514,8 @@ public com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest build() @java.lang.Override public com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest result = new com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest(this); + com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest result = + new com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -482,46 +527,50 @@ public com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest)other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest other) { + if (other + == com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -552,7 +601,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -564,19 +615,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent resource of the WorkflowInvocation type. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -585,21 +640,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the WorkflowInvocation type. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -607,64 +665,79 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the WorkflowInvocation type. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent resource of the WorkflowInvocation type. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent resource of the WorkflowInvocation type. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. Maximum number of workflow invocations to return. The server may return
      * fewer items than requested. If unspecified, the server will pick an
@@ -672,6 +745,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -679,6 +753,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. Maximum number of workflow invocations to return. The server may return
      * fewer items than requested. If unspecified, the server will pick an
@@ -686,16 +762,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Maximum number of workflow invocations to return. The server may return
      * fewer items than requested. If unspecified, the server will pick an
@@ -703,10 +782,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -714,6 +794,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. Page token received from a previous `ListWorkflowInvocations` call.
      * Provide this to retrieve the subsequent page.
@@ -722,13 +804,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -737,6 +819,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `ListWorkflowInvocations` call.
      * Provide this to retrieve the subsequent page.
@@ -745,15 +829,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -761,6 +844,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `ListWorkflowInvocations` call.
      * Provide this to retrieve the subsequent page.
@@ -769,20 +854,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Page token received from a previous `ListWorkflowInvocations` call.
      * Provide this to retrieve the subsequent page.
@@ -791,15 +878,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * Optional. Page token received from a previous `ListWorkflowInvocations` call.
      * Provide this to retrieve the subsequent page.
@@ -808,23 +898,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -834,30 +924,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest) - private static final com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest(); } - public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListWorkflowInvocationsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListWorkflowInvocationsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListWorkflowInvocationsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListWorkflowInvocationsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -869,9 +961,8 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsRequestOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsRequestOrBuilder.java similarity index 64% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsRequestOrBuilder.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsRequestOrBuilder.java index 772ae36..8677487 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsRequestOrBuilder.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface ListWorkflowInvocationsRequestOrBuilder extends +public interface ListWorkflowInvocationsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.ListWorkflowInvocationsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent resource of the WorkflowInvocation type. Must be in the
    * format `projects/*/locations/*/repositories/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent resource of the WorkflowInvocation type. Must be in the
    * format `projects/*/locations/*/repositories/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Optional. Maximum number of workflow invocations to return. The server may return
    * fewer items than requested. If unspecified, the server will pick an
@@ -37,11 +64,14 @@ public interface ListWorkflowInvocationsRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. Page token received from a previous `ListWorkflowInvocations` call.
    * Provide this to retrieve the subsequent page.
@@ -50,10 +80,13 @@ public interface ListWorkflowInvocationsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. Page token received from a previous `ListWorkflowInvocations` call.
    * Provide this to retrieve the subsequent page.
@@ -62,8 +95,8 @@ public interface ListWorkflowInvocationsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsResponse.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsResponse.java similarity index 69% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsResponse.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsResponse.java index a942c69..ac50089 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsResponse.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsResponse.java @@ -1,24 +1,43 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * `ListWorkflowInvocations` response message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse} */ -public final class ListWorkflowInvocationsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListWorkflowInvocationsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse) ListWorkflowInvocationsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListWorkflowInvocationsResponse.newBuilder() to construct. - private ListWorkflowInvocationsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListWorkflowInvocationsResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListWorkflowInvocationsResponse() { workflowInvocations_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -27,16 +46,15 @@ private ListWorkflowInvocationsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListWorkflowInvocationsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListWorkflowInvocationsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,37 +74,44 @@ private ListWorkflowInvocationsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - workflowInvocations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + workflowInvocations_ = + new java.util.ArrayList< + com.google.cloud.dataform.v1alpha2.WorkflowInvocation>(); + mutable_bitField0_ |= 0x00000001; + } + workflowInvocations_.add( + input.readMessage( + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.parser(), + extensionRegistry)); + break; } - workflowInvocations_.add( - input.readMessage(com.google.cloud.dataform.v1alpha2.WorkflowInvocation.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + nextPageToken_ = s; + break; } - unreachable_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + unreachable_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -94,8 +119,7 @@ private ListWorkflowInvocationsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { workflowInvocations_ = java.util.Collections.unmodifiableList(workflowInvocations_); @@ -107,88 +131,111 @@ private ListWorkflowInvocationsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse.class, com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse.class, + com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse.Builder.class); } public static final int WORKFLOW_INVOCATIONS_FIELD_NUMBER = 1; - private java.util.List workflowInvocations_; + private java.util.List + workflowInvocations_; /** + * + * *
    * List of workflow invocations.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * */ @java.lang.Override - public java.util.List getWorkflowInvocationsList() { + public java.util.List + getWorkflowInvocationsList() { return workflowInvocations_; } /** + * + * *
    * List of workflow invocations.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List getWorkflowInvocationsOrBuilderList() { return workflowInvocations_; } /** + * + * *
    * List of workflow invocations.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * */ @java.lang.Override public int getWorkflowInvocationsCount() { return workflowInvocations_.size(); } /** + * + * *
    * List of workflow invocations.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.WorkflowInvocation getWorkflowInvocations(int index) { return workflowInvocations_.get(index); } /** + * + * *
    * List of workflow invocations.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.WorkflowInvocationOrBuilder getWorkflowInvocationsOrBuilder( - int index) { + public com.google.cloud.dataform.v1alpha2.WorkflowInvocationOrBuilder + getWorkflowInvocationsOrBuilder(int index) { return workflowInvocations_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -197,30 +244,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -231,34 +278,42 @@ public java.lang.String getNextPageToken() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -266,20 +321,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -291,8 +349,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < workflowInvocations_.size(); i++) { output.writeMessage(1, workflowInvocations_.get(i)); } @@ -312,8 +369,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < workflowInvocations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, workflowInvocations_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, workflowInvocations_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -334,19 +391,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse other = (com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse) obj; + com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse other = + (com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse) obj; - if (!getWorkflowInvocationsList() - .equals(other.getWorkflowInvocationsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getWorkflowInvocationsList().equals(other.getWorkflowInvocationsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -374,135 +429,147 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `ListWorkflowInvocations` response message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse) com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse.class, com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse.class, + com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse.Builder.class); } - // Construct using com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse.newBuilder() + // Construct using + // com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getWorkflowInvocationsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -520,14 +587,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ListWorkflowInvocationsResponse_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse getDefaultInstanceForType() { - return com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse.getDefaultInstance(); + public com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse + getDefaultInstanceForType() { + return com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse + .getDefaultInstance(); } @java.lang.Override @@ -541,7 +610,8 @@ public com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse build( @java.lang.Override public com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse buildPartial() { - com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse result = new com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse(this); + com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse result = + new com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse(this); int from_bitField0_ = bitField0_; if (workflowInvocationsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -566,46 +636,51 @@ public com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse buildP public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse)other); + return mergeFrom( + (com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse other) { - if (other == com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse other) { + if (other + == com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse + .getDefaultInstance()) return this; if (workflowInvocationsBuilder_ == null) { if (!other.workflowInvocations_.isEmpty()) { if (workflowInvocations_.isEmpty()) { @@ -624,9 +699,10 @@ public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.ListWorkflowInvocati workflowInvocationsBuilder_ = null; workflowInvocations_ = other.workflowInvocations_; bitField0_ = (bitField0_ & ~0x00000001); - workflowInvocationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getWorkflowInvocationsFieldBuilder() : null; + workflowInvocationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getWorkflowInvocationsFieldBuilder() + : null; } else { workflowInvocationsBuilder_.addAllMessages(other.workflowInvocations_); } @@ -665,7 +741,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -674,28 +752,39 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private java.util.List workflowInvocations_ = - java.util.Collections.emptyList(); + private java.util.List + workflowInvocations_ = java.util.Collections.emptyList(); + private void ensureWorkflowInvocationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - workflowInvocations_ = new java.util.ArrayList(workflowInvocations_); + workflowInvocations_ = + new java.util.ArrayList( + workflowInvocations_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.WorkflowInvocation, com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder, com.google.cloud.dataform.v1alpha2.WorkflowInvocationOrBuilder> workflowInvocationsBuilder_; + com.google.cloud.dataform.v1alpha2.WorkflowInvocation, + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder, + com.google.cloud.dataform.v1alpha2.WorkflowInvocationOrBuilder> + workflowInvocationsBuilder_; /** + * + * *
      * List of workflow invocations.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * */ - public java.util.List getWorkflowInvocationsList() { + public java.util.List + getWorkflowInvocationsList() { if (workflowInvocationsBuilder_ == null) { return java.util.Collections.unmodifiableList(workflowInvocations_); } else { @@ -703,11 +792,14 @@ public java.util.List get } } /** + * + * *
      * List of workflow invocations.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * */ public int getWorkflowInvocationsCount() { if (workflowInvocationsBuilder_ == null) { @@ -717,11 +809,14 @@ public int getWorkflowInvocationsCount() { } } /** + * + * *
      * List of workflow invocations.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * */ public com.google.cloud.dataform.v1alpha2.WorkflowInvocation getWorkflowInvocations(int index) { if (workflowInvocationsBuilder_ == null) { @@ -731,11 +826,14 @@ public com.google.cloud.dataform.v1alpha2.WorkflowInvocation getWorkflowInvocati } } /** + * + * *
      * List of workflow invocations.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * */ public Builder setWorkflowInvocations( int index, com.google.cloud.dataform.v1alpha2.WorkflowInvocation value) { @@ -752,11 +850,14 @@ public Builder setWorkflowInvocations( return this; } /** + * + * *
      * List of workflow invocations.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * */ public Builder setWorkflowInvocations( int index, com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder builderForValue) { @@ -770,13 +871,17 @@ public Builder setWorkflowInvocations( return this; } /** + * + * *
      * List of workflow invocations.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * */ - public Builder addWorkflowInvocations(com.google.cloud.dataform.v1alpha2.WorkflowInvocation value) { + public Builder addWorkflowInvocations( + com.google.cloud.dataform.v1alpha2.WorkflowInvocation value) { if (workflowInvocationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -790,11 +895,14 @@ public Builder addWorkflowInvocations(com.google.cloud.dataform.v1alpha2.Workflo return this; } /** + * + * *
      * List of workflow invocations.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * */ public Builder addWorkflowInvocations( int index, com.google.cloud.dataform.v1alpha2.WorkflowInvocation value) { @@ -811,11 +919,14 @@ public Builder addWorkflowInvocations( return this; } /** + * + * *
      * List of workflow invocations.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * */ public Builder addWorkflowInvocations( com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder builderForValue) { @@ -829,11 +940,14 @@ public Builder addWorkflowInvocations( return this; } /** + * + * *
      * List of workflow invocations.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * */ public Builder addWorkflowInvocations( int index, com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder builderForValue) { @@ -847,18 +961,21 @@ public Builder addWorkflowInvocations( return this; } /** + * + * *
      * List of workflow invocations.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * */ public Builder addAllWorkflowInvocations( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (workflowInvocationsBuilder_ == null) { ensureWorkflowInvocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, workflowInvocations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, workflowInvocations_); onChanged(); } else { workflowInvocationsBuilder_.addAllMessages(values); @@ -866,11 +983,14 @@ public Builder addAllWorkflowInvocations( return this; } /** + * + * *
      * List of workflow invocations.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * */ public Builder clearWorkflowInvocations() { if (workflowInvocationsBuilder_ == null) { @@ -883,11 +1003,14 @@ public Builder clearWorkflowInvocations() { return this; } /** + * + * *
      * List of workflow invocations.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * */ public Builder removeWorkflowInvocations(int index) { if (workflowInvocationsBuilder_ == null) { @@ -900,39 +1023,49 @@ public Builder removeWorkflowInvocations(int index) { return this; } /** + * + * *
      * List of workflow invocations.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * */ - public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder getWorkflowInvocationsBuilder( - int index) { + public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder + getWorkflowInvocationsBuilder(int index) { return getWorkflowInvocationsFieldBuilder().getBuilder(index); } /** + * + * *
      * List of workflow invocations.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * */ - public com.google.cloud.dataform.v1alpha2.WorkflowInvocationOrBuilder getWorkflowInvocationsOrBuilder( - int index) { + public com.google.cloud.dataform.v1alpha2.WorkflowInvocationOrBuilder + getWorkflowInvocationsOrBuilder(int index) { if (workflowInvocationsBuilder_ == null) { - return workflowInvocations_.get(index); } else { + return workflowInvocations_.get(index); + } else { return workflowInvocationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of workflow invocations.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * */ - public java.util.List - getWorkflowInvocationsOrBuilderList() { + public java.util.List + getWorkflowInvocationsOrBuilderList() { if (workflowInvocationsBuilder_ != null) { return workflowInvocationsBuilder_.getMessageOrBuilderList(); } else { @@ -940,45 +1073,62 @@ public com.google.cloud.dataform.v1alpha2.WorkflowInvocationOrBuilder getWorkflo } } /** + * + * *
      * List of workflow invocations.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * */ - public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder addWorkflowInvocationsBuilder() { - return getWorkflowInvocationsFieldBuilder().addBuilder( - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.getDefaultInstance()); + public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder + addWorkflowInvocationsBuilder() { + return getWorkflowInvocationsFieldBuilder() + .addBuilder(com.google.cloud.dataform.v1alpha2.WorkflowInvocation.getDefaultInstance()); } /** + * + * *
      * List of workflow invocations.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * */ - public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder addWorkflowInvocationsBuilder( - int index) { - return getWorkflowInvocationsFieldBuilder().addBuilder( - index, com.google.cloud.dataform.v1alpha2.WorkflowInvocation.getDefaultInstance()); + public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder + addWorkflowInvocationsBuilder(int index) { + return getWorkflowInvocationsFieldBuilder() + .addBuilder( + index, com.google.cloud.dataform.v1alpha2.WorkflowInvocation.getDefaultInstance()); } /** + * + * *
      * List of workflow invocations.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * */ - public java.util.List - getWorkflowInvocationsBuilderList() { + public java.util.List + getWorkflowInvocationsBuilderList() { return getWorkflowInvocationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.WorkflowInvocation, com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder, com.google.cloud.dataform.v1alpha2.WorkflowInvocationOrBuilder> + com.google.cloud.dataform.v1alpha2.WorkflowInvocation, + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder, + com.google.cloud.dataform.v1alpha2.WorkflowInvocationOrBuilder> getWorkflowInvocationsFieldBuilder() { if (workflowInvocationsBuilder_ == null) { - workflowInvocationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.WorkflowInvocation, com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder, com.google.cloud.dataform.v1alpha2.WorkflowInvocationOrBuilder>( + workflowInvocationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.WorkflowInvocation, + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder, + com.google.cloud.dataform.v1alpha2.WorkflowInvocationOrBuilder>( workflowInvocations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -990,19 +1140,21 @@ public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder addWorkflow private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1011,21 +1163,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1033,98 +1186,115 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList unreachable_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1132,80 +1302,90 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { + public Builder setUnreachable(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { + public Builder addUnreachable(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); onChanged(); return this; } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1215,28 +1395,30 @@ public Builder clearUnreachable() { return this; } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1246,30 +1428,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse) - private static final com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse(); } - public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListWorkflowInvocationsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListWorkflowInvocationsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListWorkflowInvocationsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListWorkflowInvocationsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1281,9 +1465,8 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsResponseOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsResponseOrBuilder.java similarity index 70% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsResponseOrBuilder.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsResponseOrBuilder.java index f8a7a86..0313b99 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsResponseOrBuilder.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkflowInvocationsResponseOrBuilder.java @@ -1,116 +1,162 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface ListWorkflowInvocationsResponseOrBuilder extends +public interface ListWorkflowInvocationsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.ListWorkflowInvocationsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of workflow invocations.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * */ - java.util.List + java.util.List getWorkflowInvocationsList(); /** + * + * *
    * List of workflow invocations.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * */ com.google.cloud.dataform.v1alpha2.WorkflowInvocation getWorkflowInvocations(int index); /** + * + * *
    * List of workflow invocations.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * */ int getWorkflowInvocationsCount(); /** + * + * *
    * List of workflow invocations.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * */ - java.util.List + java.util.List getWorkflowInvocationsOrBuilderList(); /** + * + * *
    * List of workflow invocations.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocation workflow_invocations = 1; + * */ com.google.cloud.dataform.v1alpha2.WorkflowInvocationOrBuilder getWorkflowInvocationsOrBuilder( int index); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesRequest.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesRequest.java similarity index 72% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesRequest.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesRequest.java index bfff6c7..4249a81 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesRequest.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * `ListWorkspaces` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.ListWorkspacesRequest} */ -public final class ListWorkspacesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListWorkspacesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.ListWorkspacesRequest) ListWorkspacesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListWorkspacesRequest.newBuilder() to construct. private ListWorkspacesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListWorkspacesRequest() { parent_ = ""; pageToken_ = ""; @@ -28,16 +46,15 @@ private ListWorkspacesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListWorkspacesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListWorkspacesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,42 +73,46 @@ private ListWorkspacesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + orderBy_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + filter_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,35 +120,42 @@ private ListWorkspacesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest.class, com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest.class, + com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The repository in which to list workspaces. Must be in the
    * format `projects/*/locations/*/repositories/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -136,30 +164,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The repository in which to list workspaces. Must be in the
    * format `projects/*/locations/*/repositories/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -170,6 +200,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * Optional. Maximum number of workspaces to return. The server may return fewer
    * items than requested. If unspecified, the server will pick an appropriate
@@ -177,6 +209,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -187,6 +220,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * Optional. Page token received from a previous `ListWorkspaces` call.
    * Provide this to retrieve the subsequent page.
@@ -195,6 +230,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -203,14 +239,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Optional. Page token received from a previous `ListWorkspaces` call.
    * Provide this to retrieve the subsequent page.
@@ -219,16 +256,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -239,6 +275,8 @@ public java.lang.String getPageToken() { public static final int ORDER_BY_FIELD_NUMBER = 4; private volatile java.lang.Object orderBy_; /** + * + * *
    * Optional. This field only supports ordering by `name`. If unspecified, the server
    * will choose the ordering. If specified, the default order is ascending for
@@ -246,6 +284,7 @@ public java.lang.String getPageToken() {
    * 
* * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -254,14 +293,15 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * Optional. This field only supports ordering by `name`. If unspecified, the server
    * will choose the ordering. If specified, the default order is ascending for
@@ -269,16 +309,15 @@ public java.lang.String getOrderBy() {
    * 
* * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -289,11 +328,14 @@ public java.lang.String getOrderBy() { public static final int FILTER_FIELD_NUMBER = 5; private volatile java.lang.Object filter_; /** + * + * *
    * Optional. Filter for the returned list.
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -302,29 +344,29 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * Optional. Filter for the returned list.
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -333,6 +375,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -344,8 +387,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -374,8 +416,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -394,23 +435,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest other = (com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; + com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest other = + (com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; + if (!getFilter().equals(other.getFilter())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -438,117 +475,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `ListWorkspaces` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.ListWorkspacesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.ListWorkspacesRequest) com.google.cloud.dataform.v1alpha2.ListWorkspacesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest.class, com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest.class, + com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest.newBuilder() @@ -556,16 +603,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -583,9 +629,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesRequest_descriptor; } @java.lang.Override @@ -604,7 +650,8 @@ public com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest result = new com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest(this); + com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest result = + new com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -618,38 +665,39 @@ public com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest)other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest) other); } else { super.mergeFrom(other); return this; @@ -657,7 +705,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -696,7 +745,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -708,19 +758,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The repository in which to list workspaces. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -729,21 +783,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The repository in which to list workspaces. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -751,64 +808,79 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The repository in which to list workspaces. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The repository in which to list workspaces. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The repository in which to list workspaces. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. Maximum number of workspaces to return. The server may return fewer
      * items than requested. If unspecified, the server will pick an appropriate
@@ -816,6 +888,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -823,6 +896,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. Maximum number of workspaces to return. The server may return fewer
      * items than requested. If unspecified, the server will pick an appropriate
@@ -830,16 +905,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Maximum number of workspaces to return. The server may return fewer
      * items than requested. If unspecified, the server will pick an appropriate
@@ -847,10 +925,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -858,6 +937,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. Page token received from a previous `ListWorkspaces` call.
      * Provide this to retrieve the subsequent page.
@@ -866,13 +947,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -881,6 +962,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `ListWorkspaces` call.
      * Provide this to retrieve the subsequent page.
@@ -889,15 +972,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -905,6 +987,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `ListWorkspaces` call.
      * Provide this to retrieve the subsequent page.
@@ -913,20 +997,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Page token received from a previous `ListWorkspaces` call.
      * Provide this to retrieve the subsequent page.
@@ -935,15 +1021,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * Optional. Page token received from a previous `ListWorkspaces` call.
      * Provide this to retrieve the subsequent page.
@@ -952,16 +1041,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -969,6 +1058,8 @@ public Builder setPageTokenBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Optional. This field only supports ordering by `name`. If unspecified, the server
      * will choose the ordering. If specified, the default order is ascending for
@@ -976,13 +1067,13 @@ public Builder setPageTokenBytes(
      * 
* * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -991,6 +1082,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. This field only supports ordering by `name`. If unspecified, the server
      * will choose the ordering. If specified, the default order is ascending for
@@ -998,15 +1091,14 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1014,6 +1106,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. This field only supports ordering by `name`. If unspecified, the server
      * will choose the ordering. If specified, the default order is ascending for
@@ -1021,20 +1115,22 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { + public Builder setOrderBy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** + * + * *
      * Optional. This field only supports ordering by `name`. If unspecified, the server
      * will choose the ordering. If specified, the default order is ascending for
@@ -1042,15 +1138,18 @@ public Builder setOrderBy(
      * 
* * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** + * + * *
      * Optional. This field only supports ordering by `name`. If unspecified, the server
      * will choose the ordering. If specified, the default order is ascending for
@@ -1058,16 +1157,16 @@ public Builder clearOrderBy() {
      * 
* * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; @@ -1075,18 +1174,20 @@ public Builder setOrderByBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Optional. Filter for the returned list.
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1095,20 +1196,21 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filter for the returned list.
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -1116,61 +1218,68 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filter for the returned list.
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Filter for the returned list.
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * Optional. Filter for the returned list.
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1180,12 +1289,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.ListWorkspacesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.ListWorkspacesRequest) private static final com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest(); } @@ -1194,16 +1303,16 @@ public static com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListWorkspacesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListWorkspacesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListWorkspacesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListWorkspacesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1218,6 +1327,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.ListWorkspacesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesRequestOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesRequestOrBuilder.java similarity index 71% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesRequestOrBuilder.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesRequestOrBuilder.java index 6016e01..805b200 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesRequestOrBuilder.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface ListWorkspacesRequestOrBuilder extends +public interface ListWorkspacesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.ListWorkspacesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The repository in which to list workspaces. Must be in the
    * format `projects/*/locations/*/repositories/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The repository in which to list workspaces. Must be in the
    * format `projects/*/locations/*/repositories/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Optional. Maximum number of workspaces to return. The server may return fewer
    * items than requested. If unspecified, the server will pick an appropriate
@@ -37,11 +64,14 @@ public interface ListWorkspacesRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. Page token received from a previous `ListWorkspaces` call.
    * Provide this to retrieve the subsequent page.
@@ -50,10 +80,13 @@ public interface ListWorkspacesRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. Page token received from a previous `ListWorkspaces` call.
    * Provide this to retrieve the subsequent page.
@@ -62,12 +95,14 @@ public interface ListWorkspacesRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. This field only supports ordering by `name`. If unspecified, the server
    * will choose the ordering. If specified, the default order is ascending for
@@ -75,10 +110,13 @@ public interface ListWorkspacesRequestOrBuilder extends
    * 
* * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Optional. This field only supports ordering by `name`. If unspecified, the server
    * will choose the ordering. If specified, the default order is ascending for
@@ -86,28 +124,33 @@ public interface ListWorkspacesRequestOrBuilder extends
    * 
* * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); /** + * + * *
    * Optional. Filter for the returned list.
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Optional. Filter for the returned list.
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); } diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesResponse.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesResponse.java similarity index 73% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesResponse.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesResponse.java index e3fcb63..c342be0 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesResponse.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * `ListWorkspaces` response message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.ListWorkspacesResponse} */ -public final class ListWorkspacesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListWorkspacesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.ListWorkspacesResponse) ListWorkspacesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListWorkspacesResponse.newBuilder() to construct. private ListWorkspacesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListWorkspacesResponse() { workspaces_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -27,16 +45,15 @@ private ListWorkspacesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListWorkspacesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListWorkspacesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,37 +73,42 @@ private ListWorkspacesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - workspaces_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + workspaces_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + workspaces_.add( + input.readMessage( + com.google.cloud.dataform.v1alpha2.Workspace.parser(), extensionRegistry)); + break; } - workspaces_.add( - input.readMessage(com.google.cloud.dataform.v1alpha2.Workspace.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + nextPageToken_ = s; + break; } - unreachable_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + unreachable_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -94,8 +116,7 @@ private ListWorkspacesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { workspaces_ = java.util.Collections.unmodifiableList(workspaces_); @@ -107,22 +128,27 @@ private ListWorkspacesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse.class, com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse.class, + com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse.Builder.class); } public static final int WORKSPACES_FIELD_NUMBER = 1; private java.util.List workspaces_; /** + * + * *
    * List of workspaces.
    * 
@@ -134,6 +160,8 @@ public java.util.List getWorkspace return workspaces_; } /** + * + * *
    * List of workspaces.
    * 
@@ -141,11 +169,13 @@ public java.util.List getWorkspace * repeated .google.cloud.dataform.v1alpha2.Workspace workspaces = 1; */ @java.lang.Override - public java.util.List + public java.util.List getWorkspacesOrBuilderList() { return workspaces_; } /** + * + * *
    * List of workspaces.
    * 
@@ -157,6 +187,8 @@ public int getWorkspacesCount() { return workspaces_.size(); } /** + * + * *
    * List of workspaces.
    * 
@@ -168,6 +200,8 @@ public com.google.cloud.dataform.v1alpha2.Workspace getWorkspaces(int index) { return workspaces_.get(index); } /** + * + * *
    * List of workspaces.
    * 
@@ -175,20 +209,22 @@ public com.google.cloud.dataform.v1alpha2.Workspace getWorkspaces(int index) { * repeated .google.cloud.dataform.v1alpha2.Workspace workspaces = 1; */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.WorkspaceOrBuilder getWorkspacesOrBuilder( - int index) { + public com.google.cloud.dataform.v1alpha2.WorkspaceOrBuilder getWorkspacesOrBuilder(int index) { return workspaces_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -197,30 +233,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -231,34 +267,42 @@ public java.lang.String getNextPageToken() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -266,20 +310,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -291,8 +338,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < workspaces_.size(); i++) { output.writeMessage(1, workspaces_.get(i)); } @@ -312,8 +358,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < workspaces_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, workspaces_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, workspaces_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -334,19 +379,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse other = (com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse) obj; + com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse other = + (com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse) obj; - if (!getWorkspacesList() - .equals(other.getWorkspacesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getWorkspacesList().equals(other.getWorkspacesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -374,117 +417,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `ListWorkspaces` response message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.ListWorkspacesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.ListWorkspacesResponse) com.google.cloud.dataform.v1alpha2.ListWorkspacesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse.class, com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse.class, + com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse.newBuilder() @@ -492,17 +545,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getWorkspacesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -520,9 +573,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ListWorkspacesResponse_descriptor; } @java.lang.Override @@ -541,7 +594,8 @@ public com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse buildPartial() { - com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse result = new com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse(this); + com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse result = + new com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse(this); int from_bitField0_ = bitField0_; if (workspacesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -566,38 +620,39 @@ public com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse)other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse) other); } else { super.mergeFrom(other); return this; @@ -605,7 +660,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse other) { - if (other == com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse.getDefaultInstance()) + return this; if (workspacesBuilder_ == null) { if (!other.workspaces_.isEmpty()) { if (workspaces_.isEmpty()) { @@ -624,9 +680,10 @@ public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.ListWorkspacesRespon workspacesBuilder_ = null; workspaces_ = other.workspaces_; bitField0_ = (bitField0_ & ~0x00000001); - workspacesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getWorkspacesFieldBuilder() : null; + workspacesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getWorkspacesFieldBuilder() + : null; } else { workspacesBuilder_.addAllMessages(other.workspaces_); } @@ -665,7 +722,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -674,21 +732,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List workspaces_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureWorkspacesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - workspaces_ = new java.util.ArrayList(workspaces_); + workspaces_ = + new java.util.ArrayList(workspaces_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Workspace, com.google.cloud.dataform.v1alpha2.Workspace.Builder, com.google.cloud.dataform.v1alpha2.WorkspaceOrBuilder> workspacesBuilder_; + com.google.cloud.dataform.v1alpha2.Workspace, + com.google.cloud.dataform.v1alpha2.Workspace.Builder, + com.google.cloud.dataform.v1alpha2.WorkspaceOrBuilder> + workspacesBuilder_; /** + * + * *
      * List of workspaces.
      * 
@@ -703,6 +769,8 @@ public java.util.List getWorkspace } } /** + * + * *
      * List of workspaces.
      * 
@@ -717,6 +785,8 @@ public int getWorkspacesCount() { } } /** + * + * *
      * List of workspaces.
      * 
@@ -731,14 +801,15 @@ public com.google.cloud.dataform.v1alpha2.Workspace getWorkspaces(int index) { } } /** + * + * *
      * List of workspaces.
      * 
* * repeated .google.cloud.dataform.v1alpha2.Workspace workspaces = 1; */ - public Builder setWorkspaces( - int index, com.google.cloud.dataform.v1alpha2.Workspace value) { + public Builder setWorkspaces(int index, com.google.cloud.dataform.v1alpha2.Workspace value) { if (workspacesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -752,6 +823,8 @@ public Builder setWorkspaces( return this; } /** + * + * *
      * List of workspaces.
      * 
@@ -770,6 +843,8 @@ public Builder setWorkspaces( return this; } /** + * + * *
      * List of workspaces.
      * 
@@ -790,14 +865,15 @@ public Builder addWorkspaces(com.google.cloud.dataform.v1alpha2.Workspace value) return this; } /** + * + * *
      * List of workspaces.
      * 
* * repeated .google.cloud.dataform.v1alpha2.Workspace workspaces = 1; */ - public Builder addWorkspaces( - int index, com.google.cloud.dataform.v1alpha2.Workspace value) { + public Builder addWorkspaces(int index, com.google.cloud.dataform.v1alpha2.Workspace value) { if (workspacesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -811,6 +887,8 @@ public Builder addWorkspaces( return this; } /** + * + * *
      * List of workspaces.
      * 
@@ -829,6 +907,8 @@ public Builder addWorkspaces( return this; } /** + * + * *
      * List of workspaces.
      * 
@@ -847,6 +927,8 @@ public Builder addWorkspaces( return this; } /** + * + * *
      * List of workspaces.
      * 
@@ -857,8 +939,7 @@ public Builder addAllWorkspaces( java.lang.Iterable values) { if (workspacesBuilder_ == null) { ensureWorkspacesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, workspaces_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, workspaces_); onChanged(); } else { workspacesBuilder_.addAllMessages(values); @@ -866,6 +947,8 @@ public Builder addAllWorkspaces( return this; } /** + * + * *
      * List of workspaces.
      * 
@@ -883,6 +966,8 @@ public Builder clearWorkspaces() { return this; } /** + * + * *
      * List of workspaces.
      * 
@@ -900,39 +985,44 @@ public Builder removeWorkspaces(int index) { return this; } /** + * + * *
      * List of workspaces.
      * 
* * repeated .google.cloud.dataform.v1alpha2.Workspace workspaces = 1; */ - public com.google.cloud.dataform.v1alpha2.Workspace.Builder getWorkspacesBuilder( - int index) { + public com.google.cloud.dataform.v1alpha2.Workspace.Builder getWorkspacesBuilder(int index) { return getWorkspacesFieldBuilder().getBuilder(index); } /** + * + * *
      * List of workspaces.
      * 
* * repeated .google.cloud.dataform.v1alpha2.Workspace workspaces = 1; */ - public com.google.cloud.dataform.v1alpha2.WorkspaceOrBuilder getWorkspacesOrBuilder( - int index) { + public com.google.cloud.dataform.v1alpha2.WorkspaceOrBuilder getWorkspacesOrBuilder(int index) { if (workspacesBuilder_ == null) { - return workspaces_.get(index); } else { + return workspaces_.get(index); + } else { return workspacesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of workspaces.
      * 
* * repeated .google.cloud.dataform.v1alpha2.Workspace workspaces = 1; */ - public java.util.List - getWorkspacesOrBuilderList() { + public java.util.List + getWorkspacesOrBuilderList() { if (workspacesBuilder_ != null) { return workspacesBuilder_.getMessageOrBuilderList(); } else { @@ -940,6 +1030,8 @@ public com.google.cloud.dataform.v1alpha2.WorkspaceOrBuilder getWorkspacesOrBuil } } /** + * + * *
      * List of workspaces.
      * 
@@ -947,42 +1039,48 @@ public com.google.cloud.dataform.v1alpha2.WorkspaceOrBuilder getWorkspacesOrBuil * repeated .google.cloud.dataform.v1alpha2.Workspace workspaces = 1; */ public com.google.cloud.dataform.v1alpha2.Workspace.Builder addWorkspacesBuilder() { - return getWorkspacesFieldBuilder().addBuilder( - com.google.cloud.dataform.v1alpha2.Workspace.getDefaultInstance()); + return getWorkspacesFieldBuilder() + .addBuilder(com.google.cloud.dataform.v1alpha2.Workspace.getDefaultInstance()); } /** + * + * *
      * List of workspaces.
      * 
* * repeated .google.cloud.dataform.v1alpha2.Workspace workspaces = 1; */ - public com.google.cloud.dataform.v1alpha2.Workspace.Builder addWorkspacesBuilder( - int index) { - return getWorkspacesFieldBuilder().addBuilder( - index, com.google.cloud.dataform.v1alpha2.Workspace.getDefaultInstance()); + public com.google.cloud.dataform.v1alpha2.Workspace.Builder addWorkspacesBuilder(int index) { + return getWorkspacesFieldBuilder() + .addBuilder(index, com.google.cloud.dataform.v1alpha2.Workspace.getDefaultInstance()); } /** + * + * *
      * List of workspaces.
      * 
* * repeated .google.cloud.dataform.v1alpha2.Workspace workspaces = 1; */ - public java.util.List - getWorkspacesBuilderList() { + public java.util.List + getWorkspacesBuilderList() { return getWorkspacesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Workspace, com.google.cloud.dataform.v1alpha2.Workspace.Builder, com.google.cloud.dataform.v1alpha2.WorkspaceOrBuilder> + com.google.cloud.dataform.v1alpha2.Workspace, + com.google.cloud.dataform.v1alpha2.Workspace.Builder, + com.google.cloud.dataform.v1alpha2.WorkspaceOrBuilder> getWorkspacesFieldBuilder() { if (workspacesBuilder_ == null) { - workspacesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Workspace, com.google.cloud.dataform.v1alpha2.Workspace.Builder, com.google.cloud.dataform.v1alpha2.WorkspaceOrBuilder>( - workspaces_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + workspacesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.Workspace, + com.google.cloud.dataform.v1alpha2.Workspace.Builder, + com.google.cloud.dataform.v1alpha2.WorkspaceOrBuilder>( + workspaces_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); workspaces_ = null; } return workspacesBuilder_; @@ -990,19 +1088,21 @@ public com.google.cloud.dataform.v1alpha2.Workspace.Builder addWorkspacesBuilder private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1011,21 +1111,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1033,98 +1134,115 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList unreachable_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1132,80 +1250,90 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { + public Builder setUnreachable(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { + public Builder addUnreachable(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); onChanged(); return this; } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1215,28 +1343,30 @@ public Builder clearUnreachable() { return this; } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1246,12 +1376,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.ListWorkspacesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.ListWorkspacesResponse) private static final com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse(); } @@ -1260,16 +1390,16 @@ public static com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListWorkspacesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListWorkspacesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListWorkspacesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListWorkspacesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1284,6 +1414,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.ListWorkspacesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesResponseOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesResponseOrBuilder.java similarity index 71% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesResponseOrBuilder.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesResponseOrBuilder.java index 5e6ff7e..3589dc0 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesResponseOrBuilder.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ListWorkspacesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface ListWorkspacesResponseOrBuilder extends +public interface ListWorkspacesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.ListWorkspacesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of workspaces.
    * 
* * repeated .google.cloud.dataform.v1alpha2.Workspace workspaces = 1; */ - java.util.List - getWorkspacesList(); + java.util.List getWorkspacesList(); /** + * + * *
    * List of workspaces.
    * 
@@ -25,6 +44,8 @@ public interface ListWorkspacesResponseOrBuilder extends */ com.google.cloud.dataform.v1alpha2.Workspace getWorkspaces(int index); /** + * + * *
    * List of workspaces.
    * 
@@ -33,84 +54,102 @@ public interface ListWorkspacesResponseOrBuilder extends */ int getWorkspacesCount(); /** + * + * *
    * List of workspaces.
    * 
* * repeated .google.cloud.dataform.v1alpha2.Workspace workspaces = 1; */ - java.util.List + java.util.List getWorkspacesOrBuilderList(); /** + * + * *
    * List of workspaces.
    * 
* * repeated .google.cloud.dataform.v1alpha2.Workspace workspaces = 1; */ - com.google.cloud.dataform.v1alpha2.WorkspaceOrBuilder getWorkspacesOrBuilder( - int index); + com.google.cloud.dataform.v1alpha2.WorkspaceOrBuilder getWorkspacesOrBuilder(int index); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/LocationName.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/LocationName.java similarity index 100% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/LocationName.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/LocationName.java diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryRequest.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryRequest.java similarity index 66% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryRequest.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryRequest.java index 6900fa4..8fe78ac 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryRequest.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * `MakeDirectory` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.MakeDirectoryRequest} */ -public final class MakeDirectoryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class MakeDirectoryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.MakeDirectoryRequest) MakeDirectoryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MakeDirectoryRequest.newBuilder() to construct. private MakeDirectoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private MakeDirectoryRequest() { workspace_ = ""; path_ = ""; @@ -26,16 +44,15 @@ private MakeDirectoryRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MakeDirectoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private MakeDirectoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private MakeDirectoryRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - workspace_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + workspace_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - path_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + path_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +99,41 @@ private MakeDirectoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest.class, com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest.class, + com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest.Builder.class); } public static final int WORKSPACE_FIELD_NUMBER = 1; private volatile java.lang.Object workspace_; /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ @java.lang.Override @@ -116,29 +142,31 @@ public java.lang.String getWorkspace() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; } } /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ @java.lang.Override - public com.google.protobuf.ByteString - getWorkspaceBytes() { + public com.google.protobuf.ByteString getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workspace_ = b; return b; } else { @@ -149,12 +177,15 @@ public java.lang.String getWorkspace() { public static final int PATH_FIELD_NUMBER = 2; private volatile java.lang.Object path_; /** + * + * *
    * Required. The directory's full path including directory name, relative to the
    * workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The path. */ @java.lang.Override @@ -163,30 +194,30 @@ public java.lang.String getPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } } /** + * + * *
    * Required. The directory's full path including directory name, relative to the
    * workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for path. */ @java.lang.Override - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); path_ = b; return b; } else { @@ -195,6 +226,7 @@ public java.lang.String getPath() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,8 +238,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workspace_); } @@ -237,17 +268,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest other = (com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest) obj; + com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest other = + (com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest) obj; - if (!getWorkspace() - .equals(other.getWorkspace())) return false; - if (!getPath() - .equals(other.getPath())) return false; + if (!getWorkspace().equals(other.getWorkspace())) return false; + if (!getPath().equals(other.getPath())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -269,117 +299,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `MakeDirectory` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.MakeDirectoryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.MakeDirectoryRequest) com.google.cloud.dataform.v1alpha2.MakeDirectoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest.class, com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest.class, + com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest.newBuilder() @@ -387,16 +427,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -408,9 +447,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryRequest_descriptor; } @java.lang.Override @@ -429,7 +468,8 @@ public com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest result = new com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest(this); + com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest result = + new com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest(this); result.workspace_ = workspace_; result.path_ = path_; onBuilt(); @@ -440,38 +480,39 @@ public com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest)other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest) other); } else { super.mergeFrom(other); return this; @@ -479,7 +520,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest.getDefaultInstance()) + return this; if (!other.getWorkspace().isEmpty()) { workspace_ = other.workspace_; onChanged(); @@ -507,7 +549,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -519,18 +562,22 @@ public Builder mergeFrom( private java.lang.Object workspace_ = ""; /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ public java.lang.String getWorkspace() { java.lang.Object ref = workspace_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; @@ -539,20 +586,23 @@ public java.lang.String getWorkspace() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ - public com.google.protobuf.ByteString - getWorkspaceBytes() { + public com.google.protobuf.ByteString getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workspace_ = b; return b; } else { @@ -560,54 +610,67 @@ public java.lang.String getWorkspace() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The workspace to set. * @return This builder for chaining. */ - public Builder setWorkspace( - java.lang.String value) { + public Builder setWorkspace(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + workspace_ = value; onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearWorkspace() { - + workspace_ = getDefaultInstance().getWorkspace(); onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for workspace to set. * @return This builder for chaining. */ - public Builder setWorkspaceBytes( - com.google.protobuf.ByteString value) { + public Builder setWorkspaceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workspace_ = value; onChanged(); return this; @@ -615,19 +678,21 @@ public Builder setWorkspaceBytes( private java.lang.Object path_ = ""; /** + * + * *
      * Required. The directory's full path including directory name, relative to the
      * workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; @@ -636,21 +701,22 @@ public java.lang.String getPath() { } } /** + * + * *
      * Required. The directory's full path including directory name, relative to the
      * workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for path. */ - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); path_ = b; return b; } else { @@ -658,64 +724,71 @@ public java.lang.String getPath() { } } /** + * + * *
      * Required. The directory's full path including directory name, relative to the
      * workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath( - java.lang.String value) { + public Builder setPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + path_ = value; onChanged(); return this; } /** + * + * *
      * Required. The directory's full path including directory name, relative to the
      * workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearPath() { - + path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** + * + * *
      * Required. The directory's full path including directory name, relative to the
      * workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes( - com.google.protobuf.ByteString value) { + public Builder setPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -725,12 +798,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.MakeDirectoryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.MakeDirectoryRequest) private static final com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest(); } @@ -739,16 +812,16 @@ public static com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MakeDirectoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MakeDirectoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MakeDirectoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MakeDirectoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -763,6 +836,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.MakeDirectoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryRequestOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryRequestOrBuilder.java similarity index 50% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryRequestOrBuilder.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryRequestOrBuilder.java index 8ec4c52..c462f16 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryRequestOrBuilder.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryRequestOrBuilder.java @@ -1,51 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface MakeDirectoryRequestOrBuilder extends +public interface MakeDirectoryRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.MakeDirectoryRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ java.lang.String getWorkspace(); /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ - com.google.protobuf.ByteString - getWorkspaceBytes(); + com.google.protobuf.ByteString getWorkspaceBytes(); /** + * + * *
    * Required. The directory's full path including directory name, relative to the
    * workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The path. */ java.lang.String getPath(); /** + * + * *
    * Required. The directory's full path including directory name, relative to the
    * workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for path. */ - com.google.protobuf.ByteString - getPathBytes(); + com.google.protobuf.ByteString getPathBytes(); } diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryResponse.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryResponse.java similarity index 65% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryResponse.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryResponse.java index 5e4bd54..8f50781 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryResponse.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryResponse.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * `MakeDirectory` response message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.MakeDirectoryResponse} */ -public final class MakeDirectoryResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class MakeDirectoryResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.MakeDirectoryResponse) MakeDirectoryResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MakeDirectoryResponse.newBuilder() to construct. private MakeDirectoryResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MakeDirectoryResponse() { - } + + private MakeDirectoryResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MakeDirectoryResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private MakeDirectoryResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private MakeDirectoryResponse( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private MakeDirectoryResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse.class, com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse.class, + com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse other = (com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse) obj; + com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse other = + (com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,117 +160,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `MakeDirectory` response message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.MakeDirectoryResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.MakeDirectoryResponse) com.google.cloud.dataform.v1alpha2.MakeDirectoryResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse.class, com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse.class, + com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse.newBuilder() @@ -259,16 +288,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,9 +304,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_MakeDirectoryResponse_descriptor; } @java.lang.Override @@ -297,7 +325,8 @@ public com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse buildPartial() { - com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse result = new com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse(this); + com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse result = + new com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse(this); onBuilt(); return result; } @@ -306,38 +335,39 @@ public com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse)other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse) other); } else { super.mergeFrom(other); return this; @@ -345,7 +375,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse other) { - if (other == com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse.getDefaultInstance()) + return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +396,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +406,9 @@ public Builder mergeFrom( } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -386,12 +418,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.MakeDirectoryResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.MakeDirectoryResponse) private static final com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse(); } @@ -400,16 +432,16 @@ public static com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MakeDirectoryResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MakeDirectoryResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MakeDirectoryResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MakeDirectoryResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -424,6 +456,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.MakeDirectoryResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryResponseOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryResponseOrBuilder.java new file mode 100644 index 0000000..2738059 --- /dev/null +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MakeDirectoryResponseOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1alpha2/dataform.proto + +package com.google.cloud.dataform.v1alpha2; + +public interface MakeDirectoryResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.MakeDirectoryResponse) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryRequest.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryRequest.java similarity index 68% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryRequest.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryRequest.java index 07df2bf..eaf1720 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryRequest.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * `MoveDirectory` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.MoveDirectoryRequest} */ -public final class MoveDirectoryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class MoveDirectoryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.MoveDirectoryRequest) MoveDirectoryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MoveDirectoryRequest.newBuilder() to construct. private MoveDirectoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private MoveDirectoryRequest() { workspace_ = ""; path_ = ""; @@ -27,16 +45,15 @@ private MoveDirectoryRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MoveDirectoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private MoveDirectoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,31 +72,34 @@ private MoveDirectoryRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - workspace_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + workspace_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - path_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + path_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - newPath_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + newPath_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,34 +107,41 @@ private MoveDirectoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest.class, com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest.class, + com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest.Builder.class); } public static final int WORKSPACE_FIELD_NUMBER = 1; private volatile java.lang.Object workspace_; /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ @java.lang.Override @@ -123,29 +150,31 @@ public java.lang.String getWorkspace() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; } } /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ @java.lang.Override - public com.google.protobuf.ByteString - getWorkspaceBytes() { + public com.google.protobuf.ByteString getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workspace_ = b; return b; } else { @@ -156,12 +185,15 @@ public java.lang.String getWorkspace() { public static final int PATH_FIELD_NUMBER = 2; private volatile java.lang.Object path_; /** + * + * *
    * Required. The directory's full path including directory name, relative to the
    * workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The path. */ @java.lang.Override @@ -170,30 +202,30 @@ public java.lang.String getPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } } /** + * + * *
    * Required. The directory's full path including directory name, relative to the
    * workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for path. */ @java.lang.Override - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); path_ = b; return b; } else { @@ -204,12 +236,15 @@ public java.lang.String getPath() { public static final int NEW_PATH_FIELD_NUMBER = 3; private volatile java.lang.Object newPath_; /** + * + * *
    * Required. The new path for the directory including directory name, rooted at
    * workspace root.
    * 
* * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The newPath. */ @java.lang.Override @@ -218,30 +253,30 @@ public java.lang.String getNewPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); newPath_ = s; return s; } } /** + * + * *
    * Required. The new path for the directory including directory name, rooted at
    * workspace root.
    * 
* * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for newPath. */ @java.lang.Override - public com.google.protobuf.ByteString - getNewPathBytes() { + public com.google.protobuf.ByteString getNewPathBytes() { java.lang.Object ref = newPath_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); newPath_ = b; return b; } else { @@ -250,6 +285,7 @@ public java.lang.String getNewPath() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -261,8 +297,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workspace_); } @@ -298,19 +333,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest other = (com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest) obj; + com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest other = + (com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest) obj; - if (!getWorkspace() - .equals(other.getWorkspace())) return false; - if (!getPath() - .equals(other.getPath())) return false; - if (!getNewPath() - .equals(other.getNewPath())) return false; + if (!getWorkspace().equals(other.getWorkspace())) return false; + if (!getPath().equals(other.getPath())) return false; + if (!getNewPath().equals(other.getNewPath())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -334,117 +367,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `MoveDirectory` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.MoveDirectoryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.MoveDirectoryRequest) com.google.cloud.dataform.v1alpha2.MoveDirectoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest.class, com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest.class, + com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest.newBuilder() @@ -452,16 +495,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -475,9 +517,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryRequest_descriptor; } @java.lang.Override @@ -496,7 +538,8 @@ public com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest result = new com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest(this); + com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest result = + new com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest(this); result.workspace_ = workspace_; result.path_ = path_; result.newPath_ = newPath_; @@ -508,38 +551,39 @@ public com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest)other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest) other); } else { super.mergeFrom(other); return this; @@ -547,7 +591,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest.getDefaultInstance()) + return this; if (!other.getWorkspace().isEmpty()) { workspace_ = other.workspace_; onChanged(); @@ -579,7 +624,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -591,18 +637,22 @@ public Builder mergeFrom( private java.lang.Object workspace_ = ""; /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ public java.lang.String getWorkspace() { java.lang.Object ref = workspace_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; @@ -611,20 +661,23 @@ public java.lang.String getWorkspace() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ - public com.google.protobuf.ByteString - getWorkspaceBytes() { + public com.google.protobuf.ByteString getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workspace_ = b; return b; } else { @@ -632,54 +685,67 @@ public java.lang.String getWorkspace() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The workspace to set. * @return This builder for chaining. */ - public Builder setWorkspace( - java.lang.String value) { + public Builder setWorkspace(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + workspace_ = value; onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearWorkspace() { - + workspace_ = getDefaultInstance().getWorkspace(); onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for workspace to set. * @return This builder for chaining. */ - public Builder setWorkspaceBytes( - com.google.protobuf.ByteString value) { + public Builder setWorkspaceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workspace_ = value; onChanged(); return this; @@ -687,19 +753,21 @@ public Builder setWorkspaceBytes( private java.lang.Object path_ = ""; /** + * + * *
      * Required. The directory's full path including directory name, relative to the
      * workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; @@ -708,21 +776,22 @@ public java.lang.String getPath() { } } /** + * + * *
      * Required. The directory's full path including directory name, relative to the
      * workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for path. */ - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); path_ = b; return b; } else { @@ -730,57 +799,64 @@ public java.lang.String getPath() { } } /** + * + * *
      * Required. The directory's full path including directory name, relative to the
      * workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath( - java.lang.String value) { + public Builder setPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + path_ = value; onChanged(); return this; } /** + * + * *
      * Required. The directory's full path including directory name, relative to the
      * workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearPath() { - + path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** + * + * *
      * Required. The directory's full path including directory name, relative to the
      * workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes( - com.google.protobuf.ByteString value) { + public Builder setPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; onChanged(); return this; @@ -788,19 +864,21 @@ public Builder setPathBytes( private java.lang.Object newPath_ = ""; /** + * + * *
      * Required. The new path for the directory including directory name, rooted at
      * workspace root.
      * 
* * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The newPath. */ public java.lang.String getNewPath() { java.lang.Object ref = newPath_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); newPath_ = s; return s; @@ -809,21 +887,22 @@ public java.lang.String getNewPath() { } } /** + * + * *
      * Required. The new path for the directory including directory name, rooted at
      * workspace root.
      * 
* * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for newPath. */ - public com.google.protobuf.ByteString - getNewPathBytes() { + public com.google.protobuf.ByteString getNewPathBytes() { java.lang.Object ref = newPath_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); newPath_ = b; return b; } else { @@ -831,64 +910,71 @@ public java.lang.String getNewPath() { } } /** + * + * *
      * Required. The new path for the directory including directory name, rooted at
      * workspace root.
      * 
* * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The newPath to set. * @return This builder for chaining. */ - public Builder setNewPath( - java.lang.String value) { + public Builder setNewPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + newPath_ = value; onChanged(); return this; } /** + * + * *
      * Required. The new path for the directory including directory name, rooted at
      * workspace root.
      * 
* * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearNewPath() { - + newPath_ = getDefaultInstance().getNewPath(); onChanged(); return this; } /** + * + * *
      * Required. The new path for the directory including directory name, rooted at
      * workspace root.
      * 
* * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for newPath to set. * @return This builder for chaining. */ - public Builder setNewPathBytes( - com.google.protobuf.ByteString value) { + public Builder setNewPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + newPath_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -898,12 +984,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.MoveDirectoryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.MoveDirectoryRequest) private static final com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest(); } @@ -912,16 +998,16 @@ public static com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MoveDirectoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MoveDirectoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MoveDirectoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MoveDirectoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -936,6 +1022,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.MoveDirectoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryRequestOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryRequestOrBuilder.java similarity index 58% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryRequestOrBuilder.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryRequestOrBuilder.java index bc768f1..f56b68e 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryRequestOrBuilder.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryRequestOrBuilder.java @@ -1,73 +1,108 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface MoveDirectoryRequestOrBuilder extends +public interface MoveDirectoryRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.MoveDirectoryRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ java.lang.String getWorkspace(); /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ - com.google.protobuf.ByteString - getWorkspaceBytes(); + com.google.protobuf.ByteString getWorkspaceBytes(); /** + * + * *
    * Required. The directory's full path including directory name, relative to the
    * workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The path. */ java.lang.String getPath(); /** + * + * *
    * Required. The directory's full path including directory name, relative to the
    * workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for path. */ - com.google.protobuf.ByteString - getPathBytes(); + com.google.protobuf.ByteString getPathBytes(); /** + * + * *
    * Required. The new path for the directory including directory name, rooted at
    * workspace root.
    * 
* * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The newPath. */ java.lang.String getNewPath(); /** + * + * *
    * Required. The new path for the directory including directory name, rooted at
    * workspace root.
    * 
* * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for newPath. */ - com.google.protobuf.ByteString - getNewPathBytes(); + com.google.protobuf.ByteString getNewPathBytes(); } diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryResponse.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryResponse.java similarity index 65% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryResponse.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryResponse.java index 08768bc..fb09d54 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryResponse.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryResponse.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * `MoveDirectory` response message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.MoveDirectoryResponse} */ -public final class MoveDirectoryResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class MoveDirectoryResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.MoveDirectoryResponse) MoveDirectoryResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MoveDirectoryResponse.newBuilder() to construct. private MoveDirectoryResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MoveDirectoryResponse() { - } + + private MoveDirectoryResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MoveDirectoryResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private MoveDirectoryResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private MoveDirectoryResponse( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private MoveDirectoryResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse.class, com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse.class, + com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse other = (com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse) obj; + com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse other = + (com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,117 +160,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `MoveDirectory` response message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.MoveDirectoryResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.MoveDirectoryResponse) com.google.cloud.dataform.v1alpha2.MoveDirectoryResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse.class, com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse.class, + com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse.newBuilder() @@ -259,16 +288,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,9 +304,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_MoveDirectoryResponse_descriptor; } @java.lang.Override @@ -297,7 +325,8 @@ public com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse buildPartial() { - com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse result = new com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse(this); + com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse result = + new com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse(this); onBuilt(); return result; } @@ -306,38 +335,39 @@ public com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse)other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse) other); } else { super.mergeFrom(other); return this; @@ -345,7 +375,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse other) { - if (other == com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse.getDefaultInstance()) + return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +396,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +406,9 @@ public Builder mergeFrom( } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -386,12 +418,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.MoveDirectoryResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.MoveDirectoryResponse) private static final com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse(); } @@ -400,16 +432,16 @@ public static com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MoveDirectoryResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MoveDirectoryResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MoveDirectoryResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MoveDirectoryResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -424,6 +456,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.MoveDirectoryResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryResponseOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryResponseOrBuilder.java new file mode 100644 index 0000000..c5c4027 --- /dev/null +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveDirectoryResponseOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1alpha2/dataform.proto + +package com.google.cloud.dataform.v1alpha2; + +public interface MoveDirectoryResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.MoveDirectoryResponse) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileRequest.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileRequest.java similarity index 68% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileRequest.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileRequest.java index bbd6001..7c9916f 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileRequest.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * `MoveFile` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.MoveFileRequest} */ -public final class MoveFileRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class MoveFileRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.MoveFileRequest) MoveFileRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MoveFileRequest.newBuilder() to construct. private MoveFileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private MoveFileRequest() { workspace_ = ""; path_ = ""; @@ -27,16 +45,15 @@ private MoveFileRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MoveFileRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private MoveFileRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,31 +72,34 @@ private MoveFileRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - workspace_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + workspace_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - path_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + path_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - newPath_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + newPath_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,34 +107,41 @@ private MoveFileRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MoveFileRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_MoveFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MoveFileRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_MoveFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.MoveFileRequest.class, com.google.cloud.dataform.v1alpha2.MoveFileRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.MoveFileRequest.class, + com.google.cloud.dataform.v1alpha2.MoveFileRequest.Builder.class); } public static final int WORKSPACE_FIELD_NUMBER = 1; private volatile java.lang.Object workspace_; /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ @java.lang.Override @@ -123,29 +150,31 @@ public java.lang.String getWorkspace() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; } } /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ @java.lang.Override - public com.google.protobuf.ByteString - getWorkspaceBytes() { + public com.google.protobuf.ByteString getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workspace_ = b; return b; } else { @@ -156,11 +185,14 @@ public java.lang.String getWorkspace() { public static final int PATH_FIELD_NUMBER = 2; private volatile java.lang.Object path_; /** + * + * *
    * Required. The file's full path including filename, relative to the workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The path. */ @java.lang.Override @@ -169,29 +201,29 @@ public java.lang.String getPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } } /** + * + * *
    * Required. The file's full path including filename, relative to the workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for path. */ @java.lang.Override - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); path_ = b; return b; } else { @@ -202,11 +234,14 @@ public java.lang.String getPath() { public static final int NEW_PATH_FIELD_NUMBER = 3; private volatile java.lang.Object newPath_; /** + * + * *
    * Required. The file's new path including filename, relative to the workspace root.
    * 
* * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The newPath. */ @java.lang.Override @@ -215,29 +250,29 @@ public java.lang.String getNewPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); newPath_ = s; return s; } } /** + * + * *
    * Required. The file's new path including filename, relative to the workspace root.
    * 
* * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for newPath. */ @java.lang.Override - public com.google.protobuf.ByteString - getNewPathBytes() { + public com.google.protobuf.ByteString getNewPathBytes() { java.lang.Object ref = newPath_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); newPath_ = b; return b; } else { @@ -246,6 +281,7 @@ public java.lang.String getNewPath() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -257,8 +293,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workspace_); } @@ -294,19 +329,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.MoveFileRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.MoveFileRequest other = (com.google.cloud.dataform.v1alpha2.MoveFileRequest) obj; + com.google.cloud.dataform.v1alpha2.MoveFileRequest other = + (com.google.cloud.dataform.v1alpha2.MoveFileRequest) obj; - if (!getWorkspace() - .equals(other.getWorkspace())) return false; - if (!getPath() - .equals(other.getPath())) return false; - if (!getNewPath() - .equals(other.getNewPath())) return false; + if (!getWorkspace().equals(other.getWorkspace())) return false; + if (!getPath().equals(other.getPath())) return false; + if (!getNewPath().equals(other.getNewPath())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -330,117 +363,126 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.MoveFileRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.MoveFileRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.MoveFileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.MoveFileRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.MoveFileRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.MoveFileRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.MoveFileRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.MoveFileRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.MoveFileRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.MoveFileRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.MoveFileRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.MoveFileRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.MoveFileRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.MoveFileRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.MoveFileRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `MoveFile` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.MoveFileRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.MoveFileRequest) com.google.cloud.dataform.v1alpha2.MoveFileRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MoveFileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_MoveFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MoveFileRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_MoveFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.MoveFileRequest.class, com.google.cloud.dataform.v1alpha2.MoveFileRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.MoveFileRequest.class, + com.google.cloud.dataform.v1alpha2.MoveFileRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.MoveFileRequest.newBuilder() @@ -448,16 +490,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -471,9 +512,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MoveFileRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_MoveFileRequest_descriptor; } @java.lang.Override @@ -492,7 +533,8 @@ public com.google.cloud.dataform.v1alpha2.MoveFileRequest build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.MoveFileRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.MoveFileRequest result = new com.google.cloud.dataform.v1alpha2.MoveFileRequest(this); + com.google.cloud.dataform.v1alpha2.MoveFileRequest result = + new com.google.cloud.dataform.v1alpha2.MoveFileRequest(this); result.workspace_ = workspace_; result.path_ = path_; result.newPath_ = newPath_; @@ -504,38 +546,39 @@ public com.google.cloud.dataform.v1alpha2.MoveFileRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.MoveFileRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.MoveFileRequest)other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.MoveFileRequest) other); } else { super.mergeFrom(other); return this; @@ -543,7 +586,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.MoveFileRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.MoveFileRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1alpha2.MoveFileRequest.getDefaultInstance()) + return this; if (!other.getWorkspace().isEmpty()) { workspace_ = other.workspace_; onChanged(); @@ -575,7 +619,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.MoveFileRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.MoveFileRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -587,18 +632,22 @@ public Builder mergeFrom( private java.lang.Object workspace_ = ""; /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ public java.lang.String getWorkspace() { java.lang.Object ref = workspace_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; @@ -607,20 +656,23 @@ public java.lang.String getWorkspace() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ - public com.google.protobuf.ByteString - getWorkspaceBytes() { + public com.google.protobuf.ByteString getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workspace_ = b; return b; } else { @@ -628,54 +680,67 @@ public java.lang.String getWorkspace() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The workspace to set. * @return This builder for chaining. */ - public Builder setWorkspace( - java.lang.String value) { + public Builder setWorkspace(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + workspace_ = value; onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearWorkspace() { - + workspace_ = getDefaultInstance().getWorkspace(); onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for workspace to set. * @return This builder for chaining. */ - public Builder setWorkspaceBytes( - com.google.protobuf.ByteString value) { + public Builder setWorkspaceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workspace_ = value; onChanged(); return this; @@ -683,18 +748,20 @@ public Builder setWorkspaceBytes( private java.lang.Object path_ = ""; /** + * + * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; @@ -703,20 +770,21 @@ public java.lang.String getPath() { } } /** + * + * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for path. */ - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); path_ = b; return b; } else { @@ -724,54 +792,61 @@ public java.lang.String getPath() { } } /** + * + * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath( - java.lang.String value) { + public Builder setPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + path_ = value; onChanged(); return this; } /** + * + * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearPath() { - + path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** + * + * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes( - com.google.protobuf.ByteString value) { + public Builder setPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; onChanged(); return this; @@ -779,18 +854,20 @@ public Builder setPathBytes( private java.lang.Object newPath_ = ""; /** + * + * *
      * Required. The file's new path including filename, relative to the workspace root.
      * 
* * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The newPath. */ public java.lang.String getNewPath() { java.lang.Object ref = newPath_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); newPath_ = s; return s; @@ -799,20 +876,21 @@ public java.lang.String getNewPath() { } } /** + * + * *
      * Required. The file's new path including filename, relative to the workspace root.
      * 
* * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for newPath. */ - public com.google.protobuf.ByteString - getNewPathBytes() { + public com.google.protobuf.ByteString getNewPathBytes() { java.lang.Object ref = newPath_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); newPath_ = b; return b; } else { @@ -820,61 +898,68 @@ public java.lang.String getNewPath() { } } /** + * + * *
      * Required. The file's new path including filename, relative to the workspace root.
      * 
* * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The newPath to set. * @return This builder for chaining. */ - public Builder setNewPath( - java.lang.String value) { + public Builder setNewPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + newPath_ = value; onChanged(); return this; } /** + * + * *
      * Required. The file's new path including filename, relative to the workspace root.
      * 
* * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearNewPath() { - + newPath_ = getDefaultInstance().getNewPath(); onChanged(); return this; } /** + * + * *
      * Required. The file's new path including filename, relative to the workspace root.
      * 
* * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for newPath to set. * @return This builder for chaining. */ - public Builder setNewPathBytes( - com.google.protobuf.ByteString value) { + public Builder setNewPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + newPath_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -884,12 +969,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.MoveFileRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.MoveFileRequest) private static final com.google.cloud.dataform.v1alpha2.MoveFileRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.MoveFileRequest(); } @@ -898,16 +983,16 @@ public static com.google.cloud.dataform.v1alpha2.MoveFileRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MoveFileRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MoveFileRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MoveFileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MoveFileRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -922,6 +1007,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.MoveFileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileRequestOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileRequestOrBuilder.java similarity index 57% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileRequestOrBuilder.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileRequestOrBuilder.java index fff4aa1..767be77 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileRequestOrBuilder.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileRequestOrBuilder.java @@ -1,69 +1,104 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface MoveFileRequestOrBuilder extends +public interface MoveFileRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.MoveFileRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ java.lang.String getWorkspace(); /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ - com.google.protobuf.ByteString - getWorkspaceBytes(); + com.google.protobuf.ByteString getWorkspaceBytes(); /** + * + * *
    * Required. The file's full path including filename, relative to the workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The path. */ java.lang.String getPath(); /** + * + * *
    * Required. The file's full path including filename, relative to the workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for path. */ - com.google.protobuf.ByteString - getPathBytes(); + com.google.protobuf.ByteString getPathBytes(); /** + * + * *
    * Required. The file's new path including filename, relative to the workspace root.
    * 
* * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The newPath. */ java.lang.String getNewPath(); /** + * + * *
    * Required. The file's new path including filename, relative to the workspace root.
    * 
* * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for newPath. */ - com.google.protobuf.ByteString - getNewPathBytes(); + com.google.protobuf.ByteString getNewPathBytes(); } diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileResponse.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileResponse.java similarity index 65% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileResponse.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileResponse.java index 95d0ce3..71f2ae8 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileResponse.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileResponse.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * `MoveFile` response message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.MoveFileResponse} */ -public final class MoveFileResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class MoveFileResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.MoveFileResponse) MoveFileResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MoveFileResponse.newBuilder() to construct. private MoveFileResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MoveFileResponse() { - } + + private MoveFileResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MoveFileResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private MoveFileResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private MoveFileResponse( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private MoveFileResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MoveFileResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_MoveFileResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MoveFileResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_MoveFileResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.MoveFileResponse.class, com.google.cloud.dataform.v1alpha2.MoveFileResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.MoveFileResponse.class, + com.google.cloud.dataform.v1alpha2.MoveFileResponse.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.MoveFileResponse)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.MoveFileResponse other = (com.google.cloud.dataform.v1alpha2.MoveFileResponse) obj; + com.google.cloud.dataform.v1alpha2.MoveFileResponse other = + (com.google.cloud.dataform.v1alpha2.MoveFileResponse) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,117 +160,126 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.MoveFileResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.MoveFileResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.MoveFileResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.MoveFileResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.MoveFileResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.MoveFileResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.MoveFileResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.MoveFileResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.MoveFileResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.MoveFileResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.MoveFileResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.MoveFileResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.MoveFileResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.MoveFileResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.MoveFileResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `MoveFile` response message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.MoveFileResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.MoveFileResponse) com.google.cloud.dataform.v1alpha2.MoveFileResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MoveFileResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_MoveFileResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MoveFileResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_MoveFileResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.MoveFileResponse.class, com.google.cloud.dataform.v1alpha2.MoveFileResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.MoveFileResponse.class, + com.google.cloud.dataform.v1alpha2.MoveFileResponse.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.MoveFileResponse.newBuilder() @@ -259,16 +287,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,9 +303,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_MoveFileResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_MoveFileResponse_descriptor; } @java.lang.Override @@ -297,7 +324,8 @@ public com.google.cloud.dataform.v1alpha2.MoveFileResponse build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.MoveFileResponse buildPartial() { - com.google.cloud.dataform.v1alpha2.MoveFileResponse result = new com.google.cloud.dataform.v1alpha2.MoveFileResponse(this); + com.google.cloud.dataform.v1alpha2.MoveFileResponse result = + new com.google.cloud.dataform.v1alpha2.MoveFileResponse(this); onBuilt(); return result; } @@ -306,38 +334,39 @@ public com.google.cloud.dataform.v1alpha2.MoveFileResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.MoveFileResponse) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.MoveFileResponse)other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.MoveFileResponse) other); } else { super.mergeFrom(other); return this; @@ -345,7 +374,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.MoveFileResponse other) { - if (other == com.google.cloud.dataform.v1alpha2.MoveFileResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1alpha2.MoveFileResponse.getDefaultInstance()) + return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +395,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.MoveFileResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.MoveFileResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +405,9 @@ public Builder mergeFrom( } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -386,12 +417,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.MoveFileResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.MoveFileResponse) private static final com.google.cloud.dataform.v1alpha2.MoveFileResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.MoveFileResponse(); } @@ -400,16 +431,16 @@ public static com.google.cloud.dataform.v1alpha2.MoveFileResponse getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MoveFileResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MoveFileResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MoveFileResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MoveFileResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -424,6 +455,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.MoveFileResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileResponseOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileResponseOrBuilder.java new file mode 100644 index 0000000..8f91a34 --- /dev/null +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/MoveFileResponseOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1alpha2/dataform.proto + +package com.google.cloud.dataform.v1alpha2; + +public interface MoveFileResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.MoveFileResponse) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/PullGitCommitsRequest.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/PullGitCommitsRequest.java similarity index 65% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/PullGitCommitsRequest.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/PullGitCommitsRequest.java index ba71352..04031a4 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/PullGitCommitsRequest.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/PullGitCommitsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * `PullGitCommits` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.PullGitCommitsRequest} */ -public final class PullGitCommitsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PullGitCommitsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.PullGitCommitsRequest) PullGitCommitsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PullGitCommitsRequest.newBuilder() to construct. private PullGitCommitsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PullGitCommitsRequest() { name_ = ""; remoteBranch_ = ""; @@ -26,16 +44,15 @@ private PullGitCommitsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PullGitCommitsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PullGitCommitsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +71,43 @@ private PullGitCommitsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - remoteBranch_ = s; - break; - } - case 26: { - com.google.cloud.dataform.v1alpha2.CommitAuthor.Builder subBuilder = null; - if (author_ != null) { - subBuilder = author_.toBuilder(); + name_ = s; + break; } - author_ = input.readMessage(com.google.cloud.dataform.v1alpha2.CommitAuthor.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(author_); - author_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + remoteBranch_ = s; + break; } + case 26: + { + com.google.cloud.dataform.v1alpha2.CommitAuthor.Builder subBuilder = null; + if (author_ != null) { + subBuilder = author_.toBuilder(); + } + author_ = + input.readMessage( + com.google.cloud.dataform.v1alpha2.CommitAuthor.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(author_); + author_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,34 +115,41 @@ private PullGitCommitsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_PullGitCommitsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_PullGitCommitsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_PullGitCommitsRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_PullGitCommitsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest.class, com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest.class, + com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The workspace's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -129,29 +158,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The workspace's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -162,12 +193,15 @@ public java.lang.String getName() { public static final int REMOTE_BRANCH_FIELD_NUMBER = 2; private volatile java.lang.Object remoteBranch_; /** + * + * *
    * Optional. The name of the branch in the Git remote from which to pull commits.
    * If left unset, the repository's default branch name will be used.
    * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The remoteBranch. */ @java.lang.Override @@ -176,30 +210,30 @@ public java.lang.String getRemoteBranch() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); remoteBranch_ = s; return s; } } /** + * + * *
    * Optional. The name of the branch in the Git remote from which to pull commits.
    * If left unset, the repository's default branch name will be used.
    * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for remoteBranch. */ @java.lang.Override - public com.google.protobuf.ByteString - getRemoteBranchBytes() { + public com.google.protobuf.ByteString getRemoteBranchBytes() { java.lang.Object ref = remoteBranch_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); remoteBranch_ = b; return b; } else { @@ -210,12 +244,17 @@ public java.lang.String getRemoteBranch() { public static final int AUTHOR_FIELD_NUMBER = 3; private com.google.cloud.dataform.v1alpha2.CommitAuthor author_; /** + * + * *
    * Required. The author of any merge commit which may be created as a result of merging
    * fetched Git commits into this workspace.
    * 
* - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the author field is set. */ @java.lang.Override @@ -223,25 +262,36 @@ public boolean hasAuthor() { return author_ != null; } /** + * + * *
    * Required. The author of any merge commit which may be created as a result of merging
    * fetched Git commits into this workspace.
    * 
* - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The author. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.CommitAuthor getAuthor() { - return author_ == null ? com.google.cloud.dataform.v1alpha2.CommitAuthor.getDefaultInstance() : author_; + return author_ == null + ? com.google.cloud.dataform.v1alpha2.CommitAuthor.getDefaultInstance() + : author_; } /** + * + * *
    * Required. The author of any merge commit which may be created as a result of merging
    * fetched Git commits into this workspace.
    * 
* - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.CommitAuthorOrBuilder getAuthorOrBuilder() { @@ -249,6 +299,7 @@ public com.google.cloud.dataform.v1alpha2.CommitAuthorOrBuilder getAuthorOrBuild } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -260,8 +311,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -287,8 +337,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, remoteBranch_); } if (author_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getAuthor()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getAuthor()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -298,21 +347,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest other = (com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest) obj; + com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest other = + (com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getRemoteBranch() - .equals(other.getRemoteBranch())) return false; + if (!getName().equals(other.getName())) return false; + if (!getRemoteBranch().equals(other.getRemoteBranch())) return false; if (hasAuthor() != other.hasAuthor()) return false; if (hasAuthor()) { - if (!getAuthor() - .equals(other.getAuthor())) return false; + if (!getAuthor().equals(other.getAuthor())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -339,117 +386,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `PullGitCommits` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.PullGitCommitsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.PullGitCommitsRequest) com.google.cloud.dataform.v1alpha2.PullGitCommitsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_PullGitCommitsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_PullGitCommitsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_PullGitCommitsRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_PullGitCommitsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest.class, com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest.class, + com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest.newBuilder() @@ -457,16 +514,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -484,9 +540,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_PullGitCommitsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_PullGitCommitsRequest_descriptor; } @java.lang.Override @@ -505,7 +561,8 @@ public com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest result = new com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest(this); + com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest result = + new com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest(this); result.name_ = name_; result.remoteBranch_ = remoteBranch_; if (authorBuilder_ == null) { @@ -521,38 +578,39 @@ public com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest)other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest) other); } else { super.mergeFrom(other); return this; @@ -560,7 +618,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -591,7 +650,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -603,18 +663,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -623,20 +687,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -644,54 +711,67 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -699,19 +779,21 @@ public Builder setNameBytes( private java.lang.Object remoteBranch_ = ""; /** + * + * *
      * Optional. The name of the branch in the Git remote from which to pull commits.
      * If left unset, the repository's default branch name will be used.
      * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The remoteBranch. */ public java.lang.String getRemoteBranch() { java.lang.Object ref = remoteBranch_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); remoteBranch_ = s; return s; @@ -720,21 +802,22 @@ public java.lang.String getRemoteBranch() { } } /** + * + * *
      * Optional. The name of the branch in the Git remote from which to pull commits.
      * If left unset, the repository's default branch name will be used.
      * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for remoteBranch. */ - public com.google.protobuf.ByteString - getRemoteBranchBytes() { + public com.google.protobuf.ByteString getRemoteBranchBytes() { java.lang.Object ref = remoteBranch_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); remoteBranch_ = b; return b; } else { @@ -742,57 +825,64 @@ public java.lang.String getRemoteBranch() { } } /** + * + * *
      * Optional. The name of the branch in the Git remote from which to pull commits.
      * If left unset, the repository's default branch name will be used.
      * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The remoteBranch to set. * @return This builder for chaining. */ - public Builder setRemoteBranch( - java.lang.String value) { + public Builder setRemoteBranch(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + remoteBranch_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The name of the branch in the Git remote from which to pull commits.
      * If left unset, the repository's default branch name will be used.
      * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRemoteBranch() { - + remoteBranch_ = getDefaultInstance().getRemoteBranch(); onChanged(); return this; } /** + * + * *
      * Optional. The name of the branch in the Git remote from which to pull commits.
      * If left unset, the repository's default branch name will be used.
      * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for remoteBranch to set. * @return This builder for chaining. */ - public Builder setRemoteBranchBytes( - com.google.protobuf.ByteString value) { + public Builder setRemoteBranchBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + remoteBranch_ = value; onChanged(); return this; @@ -800,42 +890,61 @@ public Builder setRemoteBranchBytes( private com.google.cloud.dataform.v1alpha2.CommitAuthor author_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CommitAuthor, com.google.cloud.dataform.v1alpha2.CommitAuthor.Builder, com.google.cloud.dataform.v1alpha2.CommitAuthorOrBuilder> authorBuilder_; + com.google.cloud.dataform.v1alpha2.CommitAuthor, + com.google.cloud.dataform.v1alpha2.CommitAuthor.Builder, + com.google.cloud.dataform.v1alpha2.CommitAuthorOrBuilder> + authorBuilder_; /** + * + * *
      * Required. The author of any merge commit which may be created as a result of merging
      * fetched Git commits into this workspace.
      * 
* - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the author field is set. */ public boolean hasAuthor() { return authorBuilder_ != null || author_ != null; } /** + * + * *
      * Required. The author of any merge commit which may be created as a result of merging
      * fetched Git commits into this workspace.
      * 
* - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The author. */ public com.google.cloud.dataform.v1alpha2.CommitAuthor getAuthor() { if (authorBuilder_ == null) { - return author_ == null ? com.google.cloud.dataform.v1alpha2.CommitAuthor.getDefaultInstance() : author_; + return author_ == null + ? com.google.cloud.dataform.v1alpha2.CommitAuthor.getDefaultInstance() + : author_; } else { return authorBuilder_.getMessage(); } } /** + * + * *
      * Required. The author of any merge commit which may be created as a result of merging
      * fetched Git commits into this workspace.
      * 
* - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAuthor(com.google.cloud.dataform.v1alpha2.CommitAuthor value) { if (authorBuilder_ == null) { @@ -851,12 +960,16 @@ public Builder setAuthor(com.google.cloud.dataform.v1alpha2.CommitAuthor value) return this; } /** + * + * *
      * Required. The author of any merge commit which may be created as a result of merging
      * fetched Git commits into this workspace.
      * 
* - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAuthor( com.google.cloud.dataform.v1alpha2.CommitAuthor.Builder builderForValue) { @@ -870,18 +983,24 @@ public Builder setAuthor( return this; } /** + * + * *
      * Required. The author of any merge commit which may be created as a result of merging
      * fetched Git commits into this workspace.
      * 
* - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeAuthor(com.google.cloud.dataform.v1alpha2.CommitAuthor value) { if (authorBuilder_ == null) { if (author_ != null) { author_ = - com.google.cloud.dataform.v1alpha2.CommitAuthor.newBuilder(author_).mergeFrom(value).buildPartial(); + com.google.cloud.dataform.v1alpha2.CommitAuthor.newBuilder(author_) + .mergeFrom(value) + .buildPartial(); } else { author_ = value; } @@ -893,12 +1012,16 @@ public Builder mergeAuthor(com.google.cloud.dataform.v1alpha2.CommitAuthor value return this; } /** + * + * *
      * Required. The author of any merge commit which may be created as a result of merging
      * fetched Git commits into this workspace.
      * 
* - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAuthor() { if (authorBuilder_ == null) { @@ -912,58 +1035,74 @@ public Builder clearAuthor() { return this; } /** + * + * *
      * Required. The author of any merge commit which may be created as a result of merging
      * fetched Git commits into this workspace.
      * 
* - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataform.v1alpha2.CommitAuthor.Builder getAuthorBuilder() { - + onChanged(); return getAuthorFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The author of any merge commit which may be created as a result of merging
      * fetched Git commits into this workspace.
      * 
* - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataform.v1alpha2.CommitAuthorOrBuilder getAuthorOrBuilder() { if (authorBuilder_ != null) { return authorBuilder_.getMessageOrBuilder(); } else { - return author_ == null ? - com.google.cloud.dataform.v1alpha2.CommitAuthor.getDefaultInstance() : author_; + return author_ == null + ? com.google.cloud.dataform.v1alpha2.CommitAuthor.getDefaultInstance() + : author_; } } /** + * + * *
      * Required. The author of any merge commit which may be created as a result of merging
      * fetched Git commits into this workspace.
      * 
* - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CommitAuthor, com.google.cloud.dataform.v1alpha2.CommitAuthor.Builder, com.google.cloud.dataform.v1alpha2.CommitAuthorOrBuilder> + com.google.cloud.dataform.v1alpha2.CommitAuthor, + com.google.cloud.dataform.v1alpha2.CommitAuthor.Builder, + com.google.cloud.dataform.v1alpha2.CommitAuthorOrBuilder> getAuthorFieldBuilder() { if (authorBuilder_ == null) { - authorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CommitAuthor, com.google.cloud.dataform.v1alpha2.CommitAuthor.Builder, com.google.cloud.dataform.v1alpha2.CommitAuthorOrBuilder>( - getAuthor(), - getParentForChildren(), - isClean()); + authorBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.CommitAuthor, + com.google.cloud.dataform.v1alpha2.CommitAuthor.Builder, + com.google.cloud.dataform.v1alpha2.CommitAuthorOrBuilder>( + getAuthor(), getParentForChildren(), isClean()); author_ = null; } return authorBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -973,12 +1112,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.PullGitCommitsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.PullGitCommitsRequest) private static final com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest(); } @@ -987,16 +1126,16 @@ public static com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PullGitCommitsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PullGitCommitsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PullGitCommitsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PullGitCommitsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1011,6 +1150,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.PullGitCommitsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/PullGitCommitsRequestOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/PullGitCommitsRequestOrBuilder.java similarity index 56% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/PullGitCommitsRequestOrBuilder.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/PullGitCommitsRequestOrBuilder.java index 6a0c581..dd87bf1 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/PullGitCommitsRequestOrBuilder.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/PullGitCommitsRequestOrBuilder.java @@ -1,81 +1,125 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface PullGitCommitsRequestOrBuilder extends +public interface PullGitCommitsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.PullGitCommitsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The workspace's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The workspace's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. The name of the branch in the Git remote from which to pull commits.
    * If left unset, the repository's default branch name will be used.
    * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The remoteBranch. */ java.lang.String getRemoteBranch(); /** + * + * *
    * Optional. The name of the branch in the Git remote from which to pull commits.
    * If left unset, the repository's default branch name will be used.
    * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for remoteBranch. */ - com.google.protobuf.ByteString - getRemoteBranchBytes(); + com.google.protobuf.ByteString getRemoteBranchBytes(); /** + * + * *
    * Required. The author of any merge commit which may be created as a result of merging
    * fetched Git commits into this workspace.
    * 
* - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the author field is set. */ boolean hasAuthor(); /** + * + * *
    * Required. The author of any merge commit which may be created as a result of merging
    * fetched Git commits into this workspace.
    * 
* - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The author. */ com.google.cloud.dataform.v1alpha2.CommitAuthor getAuthor(); /** + * + * *
    * Required. The author of any merge commit which may be created as a result of merging
    * fetched Git commits into this workspace.
    * 
* - * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.dataform.v1alpha2.CommitAuthorOrBuilder getAuthorOrBuilder(); } diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/PushGitCommitsRequest.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/PushGitCommitsRequest.java similarity index 67% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/PushGitCommitsRequest.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/PushGitCommitsRequest.java index d03bbd8..5bba410 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/PushGitCommitsRequest.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/PushGitCommitsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * `PushGitCommits` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.PushGitCommitsRequest} */ -public final class PushGitCommitsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PushGitCommitsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.PushGitCommitsRequest) PushGitCommitsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PushGitCommitsRequest.newBuilder() to construct. private PushGitCommitsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PushGitCommitsRequest() { name_ = ""; remoteBranch_ = ""; @@ -26,16 +44,15 @@ private PushGitCommitsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PushGitCommitsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PushGitCommitsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private PushGitCommitsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - remoteBranch_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + remoteBranch_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +99,41 @@ private PushGitCommitsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_PushGitCommitsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_PushGitCommitsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_PushGitCommitsRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_PushGitCommitsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest.class, com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest.class, + com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The workspace's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -116,29 +142,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The workspace's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -149,12 +177,15 @@ public java.lang.String getName() { public static final int REMOTE_BRANCH_FIELD_NUMBER = 2; private volatile java.lang.Object remoteBranch_; /** + * + * *
    * Optional. The name of the branch in the Git remote to which commits should be pushed.
    * If left unset, the repository's default branch name will be used.
    * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The remoteBranch. */ @java.lang.Override @@ -163,30 +194,30 @@ public java.lang.String getRemoteBranch() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); remoteBranch_ = s; return s; } } /** + * + * *
    * Optional. The name of the branch in the Git remote to which commits should be pushed.
    * If left unset, the repository's default branch name will be used.
    * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for remoteBranch. */ @java.lang.Override - public com.google.protobuf.ByteString - getRemoteBranchBytes() { + public com.google.protobuf.ByteString getRemoteBranchBytes() { java.lang.Object ref = remoteBranch_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); remoteBranch_ = b; return b; } else { @@ -195,6 +226,7 @@ public java.lang.String getRemoteBranch() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,8 +238,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -237,17 +268,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest other = (com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest) obj; + com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest other = + (com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getRemoteBranch() - .equals(other.getRemoteBranch())) return false; + if (!getName().equals(other.getName())) return false; + if (!getRemoteBranch().equals(other.getRemoteBranch())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -269,117 +299,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `PushGitCommits` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.PushGitCommitsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.PushGitCommitsRequest) com.google.cloud.dataform.v1alpha2.PushGitCommitsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_PushGitCommitsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_PushGitCommitsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_PushGitCommitsRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_PushGitCommitsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest.class, com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest.class, + com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest.newBuilder() @@ -387,16 +427,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -408,9 +447,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_PushGitCommitsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_PushGitCommitsRequest_descriptor; } @java.lang.Override @@ -429,7 +468,8 @@ public com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest result = new com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest(this); + com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest result = + new com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest(this); result.name_ = name_; result.remoteBranch_ = remoteBranch_; onBuilt(); @@ -440,38 +480,39 @@ public com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest)other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest) other); } else { super.mergeFrom(other); return this; @@ -479,7 +520,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -507,7 +549,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -519,18 +562,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -539,20 +586,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -560,54 +610,67 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -615,19 +678,21 @@ public Builder setNameBytes( private java.lang.Object remoteBranch_ = ""; /** + * + * *
      * Optional. The name of the branch in the Git remote to which commits should be pushed.
      * If left unset, the repository's default branch name will be used.
      * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The remoteBranch. */ public java.lang.String getRemoteBranch() { java.lang.Object ref = remoteBranch_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); remoteBranch_ = s; return s; @@ -636,21 +701,22 @@ public java.lang.String getRemoteBranch() { } } /** + * + * *
      * Optional. The name of the branch in the Git remote to which commits should be pushed.
      * If left unset, the repository's default branch name will be used.
      * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for remoteBranch. */ - public com.google.protobuf.ByteString - getRemoteBranchBytes() { + public com.google.protobuf.ByteString getRemoteBranchBytes() { java.lang.Object ref = remoteBranch_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); remoteBranch_ = b; return b; } else { @@ -658,64 +724,71 @@ public java.lang.String getRemoteBranch() { } } /** + * + * *
      * Optional. The name of the branch in the Git remote to which commits should be pushed.
      * If left unset, the repository's default branch name will be used.
      * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The remoteBranch to set. * @return This builder for chaining. */ - public Builder setRemoteBranch( - java.lang.String value) { + public Builder setRemoteBranch(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + remoteBranch_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The name of the branch in the Git remote to which commits should be pushed.
      * If left unset, the repository's default branch name will be used.
      * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRemoteBranch() { - + remoteBranch_ = getDefaultInstance().getRemoteBranch(); onChanged(); return this; } /** + * + * *
      * Optional. The name of the branch in the Git remote to which commits should be pushed.
      * If left unset, the repository's default branch name will be used.
      * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for remoteBranch to set. * @return This builder for chaining. */ - public Builder setRemoteBranchBytes( - com.google.protobuf.ByteString value) { + public Builder setRemoteBranchBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + remoteBranch_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -725,12 +798,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.PushGitCommitsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.PushGitCommitsRequest) private static final com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest(); } @@ -739,16 +812,16 @@ public static com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PushGitCommitsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PushGitCommitsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PushGitCommitsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PushGitCommitsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -763,6 +836,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.PushGitCommitsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/PushGitCommitsRequestOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/PushGitCommitsRequestOrBuilder.java similarity index 53% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/PushGitCommitsRequestOrBuilder.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/PushGitCommitsRequestOrBuilder.java index 76ca7cd..3ed5c6e 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/PushGitCommitsRequestOrBuilder.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/PushGitCommitsRequestOrBuilder.java @@ -1,51 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface PushGitCommitsRequestOrBuilder extends +public interface PushGitCommitsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.PushGitCommitsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The workspace's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The workspace's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. The name of the branch in the Git remote to which commits should be pushed.
    * If left unset, the repository's default branch name will be used.
    * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The remoteBranch. */ java.lang.String getRemoteBranch(); /** + * + * *
    * Optional. The name of the branch in the Git remote to which commits should be pushed.
    * If left unset, the repository's default branch name will be used.
    * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for remoteBranch. */ - com.google.protobuf.ByteString - getRemoteBranchBytes(); + com.google.protobuf.ByteString getRemoteBranchBytes(); } diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsRequest.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsRequest.java similarity index 67% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsRequest.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsRequest.java index b032ad1..a26a3a5 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsRequest.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsRequest.java @@ -1,24 +1,44 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * `QueryCompilationResultActions` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest} */ -public final class QueryCompilationResultActionsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class QueryCompilationResultActionsRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest) QueryCompilationResultActionsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use QueryCompilationResultActionsRequest.newBuilder() to construct. - private QueryCompilationResultActionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private QueryCompilationResultActionsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private QueryCompilationResultActionsRequest() { name_ = ""; pageToken_ = ""; @@ -27,16 +47,15 @@ private QueryCompilationResultActionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new QueryCompilationResultActionsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private QueryCompilationResultActionsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,36 +74,39 @@ private QueryCompilationResultActionsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + filter_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +114,41 @@ private QueryCompilationResultActionsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest.class, com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest.class, + com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The compilation result's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -128,29 +157,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The compilation result's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -161,6 +192,8 @@ public java.lang.String getName() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * Optional. Maximum number of compilation results to return. The server may return
    * fewer items than requested. If unspecified, the server will pick an
@@ -168,6 +201,7 @@ public java.lang.String getName() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -178,6 +212,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * Optional. Page token received from a previous `QueryCompilationResultActions` call.
    * Provide this to retrieve the subsequent page.
@@ -187,6 +223,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -195,14 +232,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Optional. Page token received from a previous `QueryCompilationResultActions` call.
    * Provide this to retrieve the subsequent page.
@@ -212,16 +250,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -232,12 +269,15 @@ public java.lang.String getPageToken() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
    * Optional. Optional filter for the returned list. Filtering is only currently
    * supported on the `file_path` field.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -246,30 +286,30 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * Optional. Optional filter for the returned list. Filtering is only currently
    * supported on the `file_path` field.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -278,6 +318,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -289,8 +330,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -316,8 +356,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -333,21 +372,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest other = (com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest) obj; - - if (!getName() - .equals(other.getName())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; + com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest other = + (com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -373,134 +409,146 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `QueryCompilationResultActions` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest) com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest.class, com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest.class, + com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest.Builder + .class); } - // Construct using com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest.newBuilder() + // Construct using + // com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -516,19 +564,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest getDefaultInstanceForType() { - return com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest.getDefaultInstance(); + public com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest + getDefaultInstanceForType() { + return com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest build() { - com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest result = buildPartial(); + com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -537,7 +588,8 @@ public com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest b @java.lang.Override public com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest result = new com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest(this); + com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest result = + new com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest(this); result.name_ = name_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -550,46 +602,52 @@ public com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest b public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest)other); + if (other + instanceof com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest) { + return mergeFrom( + (com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest other) { + if (other + == com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -624,7 +682,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -636,18 +696,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The compilation result's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -656,20 +720,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The compilation result's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -677,61 +744,76 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The compilation result's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The compilation result's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The compilation result's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. Maximum number of compilation results to return. The server may return
      * fewer items than requested. If unspecified, the server will pick an
@@ -739,6 +821,7 @@ public Builder setNameBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -746,6 +829,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. Maximum number of compilation results to return. The server may return
      * fewer items than requested. If unspecified, the server will pick an
@@ -753,16 +838,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Maximum number of compilation results to return. The server may return
      * fewer items than requested. If unspecified, the server will pick an
@@ -770,10 +858,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -781,6 +870,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. Page token received from a previous `QueryCompilationResultActions` call.
      * Provide this to retrieve the subsequent page.
@@ -790,13 +881,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -805,6 +896,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `QueryCompilationResultActions` call.
      * Provide this to retrieve the subsequent page.
@@ -814,15 +907,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -830,6 +922,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `QueryCompilationResultActions` call.
      * Provide this to retrieve the subsequent page.
@@ -839,20 +933,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Page token received from a previous `QueryCompilationResultActions` call.
      * Provide this to retrieve the subsequent page.
@@ -862,15 +958,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * Optional. Page token received from a previous `QueryCompilationResultActions` call.
      * Provide this to retrieve the subsequent page.
@@ -880,16 +979,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -897,19 +996,21 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Optional. Optional filter for the returned list. Filtering is only currently
      * supported on the `file_path` field.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -918,21 +1019,22 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Optional filter for the returned list. Filtering is only currently
      * supported on the `file_path` field.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -940,64 +1042,71 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Optional filter for the returned list. Filtering is only currently
      * supported on the `file_path` field.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Optional filter for the returned list. Filtering is only currently
      * supported on the `file_path` field.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * Optional. Optional filter for the returned list. Filtering is only currently
      * supported on the `file_path` field.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1007,30 +1116,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest) - private static final com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest(); } - public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueryCompilationResultActionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new QueryCompilationResultActionsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryCompilationResultActionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new QueryCompilationResultActionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1042,9 +1154,8 @@ public com.google.protobuf.Parser getParse } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsRequestOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsRequestOrBuilder.java similarity index 67% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsRequestOrBuilder.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsRequestOrBuilder.java index 1b72a02..5eaea4f 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsRequestOrBuilder.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface QueryCompilationResultActionsRequestOrBuilder extends +public interface QueryCompilationResultActionsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.QueryCompilationResultActionsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The compilation result's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The compilation result's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. Maximum number of compilation results to return. The server may return
    * fewer items than requested. If unspecified, the server will pick an
@@ -35,11 +62,14 @@ public interface QueryCompilationResultActionsRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. Page token received from a previous `QueryCompilationResultActions` call.
    * Provide this to retrieve the subsequent page.
@@ -49,10 +79,13 @@ public interface QueryCompilationResultActionsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. Page token received from a previous `QueryCompilationResultActions` call.
    * Provide this to retrieve the subsequent page.
@@ -62,30 +95,35 @@ public interface QueryCompilationResultActionsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. Optional filter for the returned list. Filtering is only currently
    * supported on the `file_path` field.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Optional. Optional filter for the returned list. Filtering is only currently
    * supported on the `file_path` field.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); } diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsResponse.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsResponse.java similarity index 61% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsResponse.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsResponse.java index 3d729b8..6832986 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsResponse.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsResponse.java @@ -1,24 +1,44 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * `QueryCompilationResultActions` response message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse} */ -public final class QueryCompilationResultActionsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class QueryCompilationResultActionsResponse + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse) QueryCompilationResultActionsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use QueryCompilationResultActionsResponse.newBuilder() to construct. - private QueryCompilationResultActionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private QueryCompilationResultActionsResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private QueryCompilationResultActionsResponse() { compilationResultActions_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +46,15 @@ private QueryCompilationResultActionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new QueryCompilationResultActionsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private QueryCompilationResultActionsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +74,34 @@ private QueryCompilationResultActionsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - compilationResultActions_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + compilationResultActions_ = + new java.util.ArrayList< + com.google.cloud.dataform.v1alpha2.CompilationResultAction>(); + mutable_bitField0_ |= 0x00000001; + } + compilationResultActions_.add( + input.readMessage( + com.google.cloud.dataform.v1alpha2.CompilationResultAction.parser(), + extensionRegistry)); + break; } - compilationResultActions_.add( - input.readMessage(com.google.cloud.dataform.v1alpha2.CompilationResultAction.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,98 +109,128 @@ private QueryCompilationResultActionsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { - compilationResultActions_ = java.util.Collections.unmodifiableList(compilationResultActions_); + compilationResultActions_ = + java.util.Collections.unmodifiableList(compilationResultActions_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse.class, com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse.class, + com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse.Builder.class); } public static final int COMPILATION_RESULT_ACTIONS_FIELD_NUMBER = 1; - private java.util.List compilationResultActions_; + private java.util.List + compilationResultActions_; /** + * + * *
    * List of compilation result actions.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * */ @java.lang.Override - public java.util.List getCompilationResultActionsList() { + public java.util.List + getCompilationResultActionsList() { return compilationResultActions_; } /** + * + * *
    * List of compilation result actions.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.dataform.v1alpha2.CompilationResultActionOrBuilder> getCompilationResultActionsOrBuilderList() { return compilationResultActions_; } /** + * + * *
    * List of compilation result actions.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * */ @java.lang.Override public int getCompilationResultActionsCount() { return compilationResultActions_.size(); } /** + * + * *
    * List of compilation result actions.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResultAction getCompilationResultActions(int index) { + public com.google.cloud.dataform.v1alpha2.CompilationResultAction getCompilationResultActions( + int index) { return compilationResultActions_.get(index); } /** + * + * *
    * List of compilation result actions.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.CompilationResultActionOrBuilder getCompilationResultActionsOrBuilder( - int index) { + public com.google.cloud.dataform.v1alpha2.CompilationResultActionOrBuilder + getCompilationResultActionsOrBuilder(int index) { return compilationResultActions_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +239,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +271,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +283,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < compilationResultActions_.size(); i++) { output.writeMessage(1, compilationResultActions_.get(i)); } @@ -245,8 +300,9 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < compilationResultActions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, compilationResultActions_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, compilationResultActions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +315,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse)) { + if (!(obj + instanceof com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse other = (com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse) obj; + com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse other = + (com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse) obj; - if (!getCompilationResultActionsList() - .equals(other.getCompilationResultActionsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getCompilationResultActionsList().equals(other.getCompilationResultActionsList())) + return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,135 +350,148 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `QueryCompilationResultActions` response message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse) com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse.class, com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse.class, + com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse.Builder + .class); } - // Construct using com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse.newBuilder() + // Construct using + // com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getCompilationResultActionsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,19 +507,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_QueryCompilationResultActionsResponse_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse getDefaultInstanceForType() { - return com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse.getDefaultInstance(); + public com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse + getDefaultInstanceForType() { + return com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse build() { - com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse result = buildPartial(); + com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -458,11 +531,13 @@ public com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse @java.lang.Override public com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse buildPartial() { - com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse result = new com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse(this); + com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse result = + new com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse(this); int from_bitField0_ = bitField0_; if (compilationResultActionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - compilationResultActions_ = java.util.Collections.unmodifiableList(compilationResultActions_); + compilationResultActions_ = + java.util.Collections.unmodifiableList(compilationResultActions_); bitField0_ = (bitField0_ & ~0x00000001); } result.compilationResultActions_ = compilationResultActions_; @@ -478,46 +553,52 @@ public com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse)other); + if (other + instanceof com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse) { + return mergeFrom( + (com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse other) { - if (other == com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse other) { + if (other + == com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse + .getDefaultInstance()) return this; if (compilationResultActionsBuilder_ == null) { if (!other.compilationResultActions_.isEmpty()) { if (compilationResultActions_.isEmpty()) { @@ -536,9 +617,10 @@ public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.QueryCompilationResu compilationResultActionsBuilder_ = null; compilationResultActions_ = other.compilationResultActions_; bitField0_ = (bitField0_ & ~0x00000001); - compilationResultActionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getCompilationResultActionsFieldBuilder() : null; + compilationResultActionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getCompilationResultActionsFieldBuilder() + : null; } else { compilationResultActionsBuilder_.addAllMessages(other.compilationResultActions_); } @@ -567,7 +649,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,28 +660,40 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private java.util.List compilationResultActions_ = - java.util.Collections.emptyList(); + private java.util.List + compilationResultActions_ = java.util.Collections.emptyList(); + private void ensureCompilationResultActionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - compilationResultActions_ = new java.util.ArrayList(compilationResultActions_); + compilationResultActions_ = + new java.util.ArrayList( + compilationResultActions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResultAction, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Builder, com.google.cloud.dataform.v1alpha2.CompilationResultActionOrBuilder> compilationResultActionsBuilder_; + com.google.cloud.dataform.v1alpha2.CompilationResultAction, + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Builder, + com.google.cloud.dataform.v1alpha2.CompilationResultActionOrBuilder> + compilationResultActionsBuilder_; /** + * + * *
      * List of compilation result actions.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * */ - public java.util.List getCompilationResultActionsList() { + public java.util.List + getCompilationResultActionsList() { if (compilationResultActionsBuilder_ == null) { return java.util.Collections.unmodifiableList(compilationResultActions_); } else { @@ -605,11 +701,15 @@ public java.util.List * List of compilation result actions. *
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * */ public int getCompilationResultActionsCount() { if (compilationResultActionsBuilder_ == null) { @@ -619,13 +719,18 @@ public int getCompilationResultActionsCount() { } } /** + * + * *
      * List of compilation result actions.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * */ - public com.google.cloud.dataform.v1alpha2.CompilationResultAction getCompilationResultActions(int index) { + public com.google.cloud.dataform.v1alpha2.CompilationResultAction getCompilationResultActions( + int index) { if (compilationResultActionsBuilder_ == null) { return compilationResultActions_.get(index); } else { @@ -633,11 +738,15 @@ public com.google.cloud.dataform.v1alpha2.CompilationResultAction getCompilation } } /** + * + * *
      * List of compilation result actions.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * */ public Builder setCompilationResultActions( int index, com.google.cloud.dataform.v1alpha2.CompilationResultAction value) { @@ -654,14 +763,19 @@ public Builder setCompilationResultActions( return this; } /** + * + * *
      * List of compilation result actions.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * */ public Builder setCompilationResultActions( - int index, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Builder builderForValue) { + int index, + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Builder builderForValue) { if (compilationResultActionsBuilder_ == null) { ensureCompilationResultActionsIsMutable(); compilationResultActions_.set(index, builderForValue.build()); @@ -672,13 +786,18 @@ public Builder setCompilationResultActions( return this; } /** + * + * *
      * List of compilation result actions.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * */ - public Builder addCompilationResultActions(com.google.cloud.dataform.v1alpha2.CompilationResultAction value) { + public Builder addCompilationResultActions( + com.google.cloud.dataform.v1alpha2.CompilationResultAction value) { if (compilationResultActionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -692,11 +811,15 @@ public Builder addCompilationResultActions(com.google.cloud.dataform.v1alpha2.Co return this; } /** + * + * *
      * List of compilation result actions.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * */ public Builder addCompilationResultActions( int index, com.google.cloud.dataform.v1alpha2.CompilationResultAction value) { @@ -713,11 +836,15 @@ public Builder addCompilationResultActions( return this; } /** + * + * *
      * List of compilation result actions.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * */ public Builder addCompilationResultActions( com.google.cloud.dataform.v1alpha2.CompilationResultAction.Builder builderForValue) { @@ -731,14 +858,19 @@ public Builder addCompilationResultActions( return this; } /** + * + * *
      * List of compilation result actions.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * */ public Builder addCompilationResultActions( - int index, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Builder builderForValue) { + int index, + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Builder builderForValue) { if (compilationResultActionsBuilder_ == null) { ensureCompilationResultActionsIsMutable(); compilationResultActions_.add(index, builderForValue.build()); @@ -749,18 +881,22 @@ public Builder addCompilationResultActions( return this; } /** + * + * *
      * List of compilation result actions.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * */ public Builder addAllCompilationResultActions( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (compilationResultActionsBuilder_ == null) { ensureCompilationResultActionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, compilationResultActions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, compilationResultActions_); onChanged(); } else { compilationResultActionsBuilder_.addAllMessages(values); @@ -768,11 +904,15 @@ public Builder addAllCompilationResultActions( return this; } /** + * + * *
      * List of compilation result actions.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * */ public Builder clearCompilationResultActions() { if (compilationResultActionsBuilder_ == null) { @@ -785,11 +925,15 @@ public Builder clearCompilationResultActions() { return this; } /** + * + * *
      * List of compilation result actions.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * */ public Builder removeCompilationResultActions(int index) { if (compilationResultActionsBuilder_ == null) { @@ -802,39 +946,53 @@ public Builder removeCompilationResultActions(int index) { return this; } /** + * + * *
      * List of compilation result actions.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * */ - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Builder getCompilationResultActionsBuilder( - int index) { + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Builder + getCompilationResultActionsBuilder(int index) { return getCompilationResultActionsFieldBuilder().getBuilder(index); } /** + * + * *
      * List of compilation result actions.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * */ - public com.google.cloud.dataform.v1alpha2.CompilationResultActionOrBuilder getCompilationResultActionsOrBuilder( - int index) { + public com.google.cloud.dataform.v1alpha2.CompilationResultActionOrBuilder + getCompilationResultActionsOrBuilder(int index) { if (compilationResultActionsBuilder_ == null) { - return compilationResultActions_.get(index); } else { + return compilationResultActions_.get(index); + } else { return compilationResultActionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of compilation result actions.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * */ - public java.util.List - getCompilationResultActionsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.dataform.v1alpha2.CompilationResultActionOrBuilder> + getCompilationResultActionsOrBuilderList() { if (compilationResultActionsBuilder_ != null) { return compilationResultActionsBuilder_.getMessageOrBuilderList(); } else { @@ -842,45 +1000,67 @@ public com.google.cloud.dataform.v1alpha2.CompilationResultActionOrBuilder getCo } } /** + * + * *
      * List of compilation result actions.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * */ - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Builder addCompilationResultActionsBuilder() { - return getCompilationResultActionsFieldBuilder().addBuilder( - com.google.cloud.dataform.v1alpha2.CompilationResultAction.getDefaultInstance()); + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Builder + addCompilationResultActionsBuilder() { + return getCompilationResultActionsFieldBuilder() + .addBuilder( + com.google.cloud.dataform.v1alpha2.CompilationResultAction.getDefaultInstance()); } /** + * + * *
      * List of compilation result actions.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * */ - public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Builder addCompilationResultActionsBuilder( - int index) { - return getCompilationResultActionsFieldBuilder().addBuilder( - index, com.google.cloud.dataform.v1alpha2.CompilationResultAction.getDefaultInstance()); + public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Builder + addCompilationResultActionsBuilder(int index) { + return getCompilationResultActionsFieldBuilder() + .addBuilder( + index, + com.google.cloud.dataform.v1alpha2.CompilationResultAction.getDefaultInstance()); } /** + * + * *
      * List of compilation result actions.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * */ - public java.util.List - getCompilationResultActionsBuilderList() { + public java.util.List + getCompilationResultActionsBuilderList() { return getCompilationResultActionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResultAction, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Builder, com.google.cloud.dataform.v1alpha2.CompilationResultActionOrBuilder> + com.google.cloud.dataform.v1alpha2.CompilationResultAction, + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Builder, + com.google.cloud.dataform.v1alpha2.CompilationResultActionOrBuilder> getCompilationResultActionsFieldBuilder() { if (compilationResultActionsBuilder_ == null) { - compilationResultActionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.CompilationResultAction, com.google.cloud.dataform.v1alpha2.CompilationResultAction.Builder, com.google.cloud.dataform.v1alpha2.CompilationResultActionOrBuilder>( + compilationResultActionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.CompilationResultAction, + com.google.cloud.dataform.v1alpha2.CompilationResultAction.Builder, + com.google.cloud.dataform.v1alpha2.CompilationResultActionOrBuilder>( compilationResultActions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -892,19 +1072,21 @@ public com.google.cloud.dataform.v1alpha2.CompilationResultAction.Builder addCom private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1095,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1118,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,30 +1192,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse) - private static final com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse(); + DEFAULT_INSTANCE = + new com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse(); } - public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueryCompilationResultActionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new QueryCompilationResultActionsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryCompilationResultActionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new QueryCompilationResultActionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,9 +1230,8 @@ public com.google.protobuf.Parser getPars } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsResponseOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsResponseOrBuilder.java similarity index 52% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsResponseOrBuilder.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsResponseOrBuilder.java index 2097af9..e33f9ef 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsResponseOrBuilder.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryCompilationResultActionsResponseOrBuilder.java @@ -1,75 +1,116 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface QueryCompilationResultActionsResponseOrBuilder extends +public interface QueryCompilationResultActionsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.QueryCompilationResultActionsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of compilation result actions.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * */ - java.util.List + java.util.List getCompilationResultActionsList(); /** + * + * *
    * List of compilation result actions.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * */ com.google.cloud.dataform.v1alpha2.CompilationResultAction getCompilationResultActions(int index); /** + * + * *
    * List of compilation result actions.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * */ int getCompilationResultActionsCount(); /** + * + * *
    * List of compilation result actions.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * */ - java.util.List + java.util.List getCompilationResultActionsOrBuilderList(); /** + * + * *
    * List of compilation result actions.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.CompilationResultAction compilation_result_actions = 1; + * */ - com.google.cloud.dataform.v1alpha2.CompilationResultActionOrBuilder getCompilationResultActionsOrBuilder( - int index); + com.google.cloud.dataform.v1alpha2.CompilationResultActionOrBuilder + getCompilationResultActionsOrBuilder(int index); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsRequest.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsRequest.java similarity index 69% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsRequest.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsRequest.java index 6dc6c7f..d69745e 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsRequest.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * `QueryDirectoryContents` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest} */ -public final class QueryDirectoryContentsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class QueryDirectoryContentsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest) QueryDirectoryContentsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use QueryDirectoryContentsRequest.newBuilder() to construct. private QueryDirectoryContentsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private QueryDirectoryContentsRequest() { workspace_ = ""; path_ = ""; @@ -27,16 +45,15 @@ private QueryDirectoryContentsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new QueryDirectoryContentsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private QueryDirectoryContentsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,36 +72,39 @@ private QueryDirectoryContentsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - workspace_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - path_ = s; - break; - } - case 24: { + workspace_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + path_ = s; + break; + } + case 24: + { + pageSize_ = input.readInt32(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +112,41 @@ private QueryDirectoryContentsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest.class, com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest.class, + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest.Builder.class); } public static final int WORKSPACE_FIELD_NUMBER = 1; private volatile java.lang.Object workspace_; /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ @java.lang.Override @@ -128,29 +155,31 @@ public java.lang.String getWorkspace() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; } } /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ @java.lang.Override - public com.google.protobuf.ByteString - getWorkspaceBytes() { + public com.google.protobuf.ByteString getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workspace_ = b; return b; } else { @@ -161,12 +190,15 @@ public java.lang.String getWorkspace() { public static final int PATH_FIELD_NUMBER = 2; private volatile java.lang.Object path_; /** + * + * *
    * Optional. The directory's full path including directory name, relative to the
    * workspace root. If left unset, the workspace root is used.
    * 
* * string path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The path. */ @java.lang.Override @@ -175,30 +207,30 @@ public java.lang.String getPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } } /** + * + * *
    * Optional. The directory's full path including directory name, relative to the
    * workspace root. If left unset, the workspace root is used.
    * 
* * string path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for path. */ @java.lang.Override - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); path_ = b; return b; } else { @@ -209,6 +241,8 @@ public java.lang.String getPath() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** + * + * *
    * Optional. Maximum number of paths to return. The server may return fewer
    * items than requested. If unspecified, the server will pick an appropriate
@@ -216,6 +250,7 @@ public java.lang.String getPath() {
    * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -226,6 +261,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** + * + * *
    * Optional. Page token received from a previous `QueryDirectoryContents` call.
    * Provide this to retrieve the subsequent page.
@@ -235,6 +272,7 @@ public int getPageSize() {
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -243,14 +281,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Optional. Page token received from a previous `QueryDirectoryContents` call.
    * Provide this to retrieve the subsequent page.
@@ -260,16 +299,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -278,6 +316,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -289,8 +328,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workspace_); } @@ -319,8 +357,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, path_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -333,21 +370,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest other = (com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest) obj; - - if (!getWorkspace() - .equals(other.getWorkspace())) return false; - if (!getPath() - .equals(other.getPath())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest other = + (com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest) obj; + + if (!getWorkspace().equals(other.getWorkspace())) return false; + if (!getPath().equals(other.getPath())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -373,117 +407,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `QueryDirectoryContents` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest) com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest.class, com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest.class, + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest.newBuilder() @@ -491,16 +535,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -516,13 +559,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest + getDefaultInstanceForType() { return com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest.getDefaultInstance(); } @@ -537,7 +581,8 @@ public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest build() @java.lang.Override public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest result = new com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest(this); + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest result = + new com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest(this); result.workspace_ = workspace_; result.path_ = path_; result.pageSize_ = pageSize_; @@ -550,46 +595,50 @@ public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest buildPar public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest)other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest other) { + if (other + == com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest.getDefaultInstance()) + return this; if (!other.getWorkspace().isEmpty()) { workspace_ = other.workspace_; onChanged(); @@ -624,7 +673,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -636,18 +687,22 @@ public Builder mergeFrom( private java.lang.Object workspace_ = ""; /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ public java.lang.String getWorkspace() { java.lang.Object ref = workspace_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; @@ -656,20 +711,23 @@ public java.lang.String getWorkspace() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ - public com.google.protobuf.ByteString - getWorkspaceBytes() { + public com.google.protobuf.ByteString getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workspace_ = b; return b; } else { @@ -677,54 +735,67 @@ public java.lang.String getWorkspace() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The workspace to set. * @return This builder for chaining. */ - public Builder setWorkspace( - java.lang.String value) { + public Builder setWorkspace(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + workspace_ = value; onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearWorkspace() { - + workspace_ = getDefaultInstance().getWorkspace(); onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for workspace to set. * @return This builder for chaining. */ - public Builder setWorkspaceBytes( - com.google.protobuf.ByteString value) { + public Builder setWorkspaceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workspace_ = value; onChanged(); return this; @@ -732,19 +803,21 @@ public Builder setWorkspaceBytes( private java.lang.Object path_ = ""; /** + * + * *
      * Optional. The directory's full path including directory name, relative to the
      * workspace root. If left unset, the workspace root is used.
      * 
* * string path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; @@ -753,21 +826,22 @@ public java.lang.String getPath() { } } /** + * + * *
      * Optional. The directory's full path including directory name, relative to the
      * workspace root. If left unset, the workspace root is used.
      * 
* * string path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for path. */ - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); path_ = b; return b; } else { @@ -775,64 +849,73 @@ public java.lang.String getPath() { } } /** + * + * *
      * Optional. The directory's full path including directory name, relative to the
      * workspace root. If left unset, the workspace root is used.
      * 
* * string path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath( - java.lang.String value) { + public Builder setPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + path_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The directory's full path including directory name, relative to the
      * workspace root. If left unset, the workspace root is used.
      * 
* * string path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPath() { - + path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** + * + * *
      * Optional. The directory's full path including directory name, relative to the
      * workspace root. If left unset, the workspace root is used.
      * 
* * string path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes( - com.google.protobuf.ByteString value) { + public Builder setPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. Maximum number of paths to return. The server may return fewer
      * items than requested. If unspecified, the server will pick an appropriate
@@ -840,6 +923,7 @@ public Builder setPathBytes(
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -847,6 +931,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. Maximum number of paths to return. The server may return fewer
      * items than requested. If unspecified, the server will pick an appropriate
@@ -854,16 +940,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Maximum number of paths to return. The server may return fewer
      * items than requested. If unspecified, the server will pick an appropriate
@@ -871,10 +960,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -882,6 +972,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. Page token received from a previous `QueryDirectoryContents` call.
      * Provide this to retrieve the subsequent page.
@@ -891,13 +983,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -906,6 +998,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `QueryDirectoryContents` call.
      * Provide this to retrieve the subsequent page.
@@ -915,15 +1009,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -931,6 +1024,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `QueryDirectoryContents` call.
      * Provide this to retrieve the subsequent page.
@@ -940,20 +1035,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Page token received from a previous `QueryDirectoryContents` call.
      * Provide this to retrieve the subsequent page.
@@ -963,15 +1060,18 @@ public Builder setPageToken(
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * Optional. Page token received from a previous `QueryDirectoryContents` call.
      * Provide this to retrieve the subsequent page.
@@ -981,23 +1081,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1007,30 +1107,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest) - private static final com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest(); } - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueryDirectoryContentsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new QueryDirectoryContentsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryDirectoryContentsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new QueryDirectoryContentsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1042,9 +1144,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsRequestOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsRequestOrBuilder.java similarity index 66% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsRequestOrBuilder.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsRequestOrBuilder.java index c33d21f..41bcbfb 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsRequestOrBuilder.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsRequestOrBuilder.java @@ -1,55 +1,87 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface QueryDirectoryContentsRequestOrBuilder extends +public interface QueryDirectoryContentsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.QueryDirectoryContentsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ java.lang.String getWorkspace(); /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ - com.google.protobuf.ByteString - getWorkspaceBytes(); + com.google.protobuf.ByteString getWorkspaceBytes(); /** + * + * *
    * Optional. The directory's full path including directory name, relative to the
    * workspace root. If left unset, the workspace root is used.
    * 
* * string path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The path. */ java.lang.String getPath(); /** + * + * *
    * Optional. The directory's full path including directory name, relative to the
    * workspace root. If left unset, the workspace root is used.
    * 
* * string path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for path. */ - com.google.protobuf.ByteString - getPathBytes(); + com.google.protobuf.ByteString getPathBytes(); /** + * + * *
    * Optional. Maximum number of paths to return. The server may return fewer
    * items than requested. If unspecified, the server will pick an appropriate
@@ -57,11 +89,14 @@ public interface QueryDirectoryContentsRequestOrBuilder extends
    * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. Page token received from a previous `QueryDirectoryContents` call.
    * Provide this to retrieve the subsequent page.
@@ -71,10 +106,13 @@ public interface QueryDirectoryContentsRequestOrBuilder extends
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. Page token received from a previous `QueryDirectoryContents` call.
    * Provide this to retrieve the subsequent page.
@@ -84,8 +122,8 @@ public interface QueryDirectoryContentsRequestOrBuilder extends
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsResponse.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsResponse.java similarity index 61% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsResponse.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsResponse.java index 0f8c943..32555ff 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsResponse.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsResponse.java @@ -1,24 +1,43 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * `QueryDirectoryContents` response message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse} */ -public final class QueryDirectoryContentsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class QueryDirectoryContentsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse) QueryDirectoryContentsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use QueryDirectoryContentsResponse.newBuilder() to construct. - private QueryDirectoryContentsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private QueryDirectoryContentsResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private QueryDirectoryContentsResponse() { directoryEntries_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +45,15 @@ private QueryDirectoryContentsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new QueryDirectoryContentsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private QueryDirectoryContentsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +73,36 @@ private QueryDirectoryContentsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - directoryEntries_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + directoryEntries_ = + new java.util.ArrayList< + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse + .DirectoryEntry>(); + mutable_bitField0_ |= 0x00000001; + } + directoryEntries_.add( + input.readMessage( + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse + .DirectoryEntry.parser(), + extensionRegistry)); + break; } - directoryEntries_.add( - input.readMessage(com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +110,7 @@ private QueryDirectoryContentsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { directoryEntries_ = java.util.Collections.unmodifiableList(directoryEntries_); @@ -94,114 +119,138 @@ private QueryDirectoryContentsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.class, com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.class, + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.Builder.class); } - public interface DirectoryEntryOrBuilder extends + public interface DirectoryEntryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * A file in the directory.
      * 
* * string file = 1; + * * @return Whether the file field is set. */ boolean hasFile(); /** + * + * *
      * A file in the directory.
      * 
* * string file = 1; + * * @return The file. */ java.lang.String getFile(); /** + * + * *
      * A file in the directory.
      * 
* * string file = 1; + * * @return The bytes for file. */ - com.google.protobuf.ByteString - getFileBytes(); + com.google.protobuf.ByteString getFileBytes(); /** + * + * *
      * A child directory in the directory.
      * 
* * string directory = 2; + * * @return Whether the directory field is set. */ boolean hasDirectory(); /** + * + * *
      * A child directory in the directory.
      * 
* * string directory = 2; + * * @return The directory. */ java.lang.String getDirectory(); /** + * + * *
      * A child directory in the directory.
      * 
* * string directory = 2; + * * @return The bytes for directory. */ - com.google.protobuf.ByteString - getDirectoryBytes(); + com.google.protobuf.ByteString getDirectoryBytes(); - public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry.EntryCase getEntryCase(); + public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry + .EntryCase + getEntryCase(); } /** + * + * *
    * Represents a single entry in a workspace directory.
    * 
* - * Protobuf type {@code google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry} + * Protobuf type {@code + * google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry} */ - public static final class DirectoryEntry extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class DirectoryEntry extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry) DirectoryEntryOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DirectoryEntry.newBuilder() to construct. private DirectoryEntry(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DirectoryEntry() { - } + + private DirectoryEntry() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DirectoryEntry(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DirectoryEntry( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -220,25 +269,27 @@ private DirectoryEntry( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - entryCase_ = 1; - entry_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - entryCase_ = 2; - entry_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + entryCase_ = 1; + entry_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + entryCase_ = 2; + entry_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -246,35 +297,42 @@ private DirectoryEntry( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_DirectoryEntry_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_DirectoryEntry_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_DirectoryEntry_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_DirectoryEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry.class, com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry.Builder.class); + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry + .class, + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry + .Builder.class); } private int entryCase_ = 0; private java.lang.Object entry_; + public enum EntryCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { FILE(1), DIRECTORY(2), ENTRY_NOT_SET(0); private final int value; + private EntryCase(int value) { this.value = value; } @@ -290,41 +348,50 @@ public static EntryCase valueOf(int value) { public static EntryCase forNumber(int value) { switch (value) { - case 1: return FILE; - case 2: return DIRECTORY; - case 0: return ENTRY_NOT_SET; - default: return null; + case 1: + return FILE; + case 2: + return DIRECTORY; + case 0: + return ENTRY_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public EntryCase - getEntryCase() { - return EntryCase.forNumber( - entryCase_); + public EntryCase getEntryCase() { + return EntryCase.forNumber(entryCase_); } public static final int FILE_FIELD_NUMBER = 1; /** + * + * *
      * A file in the directory.
      * 
* * string file = 1; + * * @return Whether the file field is set. */ public boolean hasFile() { return entryCase_ == 1; } /** + * + * *
      * A file in the directory.
      * 
* * string file = 1; + * * @return The file. */ public java.lang.String getFile() { @@ -335,8 +402,7 @@ public java.lang.String getFile() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (entryCase_ == 1) { entry_ = s; @@ -345,23 +411,24 @@ public java.lang.String getFile() { } } /** + * + * *
      * A file in the directory.
      * 
* * string file = 1; + * * @return The bytes for file. */ - public com.google.protobuf.ByteString - getFileBytes() { + public com.google.protobuf.ByteString getFileBytes() { java.lang.Object ref = ""; if (entryCase_ == 1) { ref = entry_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (entryCase_ == 1) { entry_ = b; } @@ -373,22 +440,28 @@ public java.lang.String getFile() { public static final int DIRECTORY_FIELD_NUMBER = 2; /** + * + * *
      * A child directory in the directory.
      * 
* * string directory = 2; + * * @return Whether the directory field is set. */ public boolean hasDirectory() { return entryCase_ == 2; } /** + * + * *
      * A child directory in the directory.
      * 
* * string directory = 2; + * * @return The directory. */ public java.lang.String getDirectory() { @@ -399,8 +472,7 @@ public java.lang.String getDirectory() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (entryCase_ == 2) { entry_ = s; @@ -409,23 +481,24 @@ public java.lang.String getDirectory() { } } /** + * + * *
      * A child directory in the directory.
      * 
* * string directory = 2; + * * @return The bytes for directory. */ - public com.google.protobuf.ByteString - getDirectoryBytes() { + public com.google.protobuf.ByteString getDirectoryBytes() { java.lang.Object ref = ""; if (entryCase_ == 2) { ref = entry_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (entryCase_ == 2) { entry_ = b; } @@ -436,6 +509,7 @@ public java.lang.String getDirectory() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -447,8 +521,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (entryCase_ == 1) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, entry_); } @@ -478,22 +551,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry)) { + if (!(obj + instanceof + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry other = (com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry) obj; + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry other = + (com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry) obj; if (!getEntryCase().equals(other.getEntryCase())) return false; switch (entryCase_) { case 1: - if (!getFile() - .equals(other.getFile())) return false; + if (!getFile().equals(other.getFile())) return false; break; case 2: - if (!getDirectory() - .equals(other.getDirectory())) return false; + if (!getDirectory().equals(other.getDirectory())) return false; break; case 0: default: @@ -526,88 +600,102 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -617,44 +705,52 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Represents a single entry in a workspace directory.
      * 
* - * Protobuf type {@code google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry} + * Protobuf type {@code + * google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry) com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_DirectoryEntry_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_DirectoryEntry_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_DirectoryEntry_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_DirectoryEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry.class, com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry.Builder.class); + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry + .class, + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry + .Builder.class); } - // Construct using com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry.newBuilder() + // Construct using + // com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -664,19 +760,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_DirectoryEntry_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_DirectoryEntry_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry getDefaultInstanceForType() { - return com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry.getDefaultInstance(); + public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry + getDefaultInstanceForType() { + return com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry build() { - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry result = buildPartial(); + public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry + build() { + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -684,8 +784,11 @@ public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.Directo } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry buildPartial() { - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry result = new com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry(this); + public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry + buildPartial() { + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry result = + new com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry( + this); if (entryCase_ == 1) { result.entry_ = entry_; } @@ -701,62 +804,75 @@ public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.Directo public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry)other); + if (other + instanceof + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry) { + return mergeFrom( + (com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry other) { - if (other == com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry other) { + if (other + == com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry + .getDefaultInstance()) return this; switch (other.getEntryCase()) { - case FILE: { - entryCase_ = 1; - entry_ = other.entry_; - onChanged(); - break; - } - case DIRECTORY: { - entryCase_ = 2; - entry_ = other.entry_; - onChanged(); - break; - } - case ENTRY_NOT_SET: { - break; - } + case FILE: + { + entryCase_ = 1; + entry_ = other.entry_; + onChanged(); + break; + } + case DIRECTORY: + { + entryCase_ = 2; + entry_ = other.entry_; + onChanged(); + break; + } + case ENTRY_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -773,11 +889,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry parsedMessage = null; + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -786,12 +905,12 @@ public Builder mergeFrom( } return this; } + private int entryCase_ = 0; private java.lang.Object entry_; - public EntryCase - getEntryCase() { - return EntryCase.forNumber( - entryCase_); + + public EntryCase getEntryCase() { + return EntryCase.forNumber(entryCase_); } public Builder clearEntry() { @@ -801,13 +920,15 @@ public Builder clearEntry() { return this; } - /** + * + * *
        * A file in the directory.
        * 
* * string file = 1; + * * @return Whether the file field is set. */ @java.lang.Override @@ -815,11 +936,14 @@ public boolean hasFile() { return entryCase_ == 1; } /** + * + * *
        * A file in the directory.
        * 
* * string file = 1; + * * @return The file. */ @java.lang.Override @@ -829,8 +953,7 @@ public java.lang.String getFile() { ref = entry_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (entryCase_ == 1) { entry_ = s; @@ -841,24 +964,25 @@ public java.lang.String getFile() { } } /** + * + * *
        * A file in the directory.
        * 
* * string file = 1; + * * @return The bytes for file. */ @java.lang.Override - public com.google.protobuf.ByteString - getFileBytes() { + public com.google.protobuf.ByteString getFileBytes() { java.lang.Object ref = ""; if (entryCase_ == 1) { ref = entry_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (entryCase_ == 1) { entry_ = b; } @@ -868,30 +992,35 @@ public java.lang.String getFile() { } } /** + * + * *
        * A file in the directory.
        * 
* * string file = 1; + * * @param value The file to set. * @return This builder for chaining. */ - public Builder setFile( - java.lang.String value) { + public Builder setFile(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - entryCase_ = 1; + throw new NullPointerException(); + } + entryCase_ = 1; entry_ = value; onChanged(); return this; } /** + * + * *
        * A file in the directory.
        * 
* * string file = 1; + * * @return This builder for chaining. */ public Builder clearFile() { @@ -903,20 +1032,22 @@ public Builder clearFile() { return this; } /** + * + * *
        * A file in the directory.
        * 
* * string file = 1; + * * @param value The bytes for file to set. * @return This builder for chaining. */ - public Builder setFileBytes( - com.google.protobuf.ByteString value) { + public Builder setFileBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); entryCase_ = 1; entry_ = value; onChanged(); @@ -924,11 +1055,14 @@ public Builder setFileBytes( } /** + * + * *
        * A child directory in the directory.
        * 
* * string directory = 2; + * * @return Whether the directory field is set. */ @java.lang.Override @@ -936,11 +1070,14 @@ public boolean hasDirectory() { return entryCase_ == 2; } /** + * + * *
        * A child directory in the directory.
        * 
* * string directory = 2; + * * @return The directory. */ @java.lang.Override @@ -950,8 +1087,7 @@ public java.lang.String getDirectory() { ref = entry_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (entryCase_ == 2) { entry_ = s; @@ -962,24 +1098,25 @@ public java.lang.String getDirectory() { } } /** + * + * *
        * A child directory in the directory.
        * 
* * string directory = 2; + * * @return The bytes for directory. */ @java.lang.Override - public com.google.protobuf.ByteString - getDirectoryBytes() { + public com.google.protobuf.ByteString getDirectoryBytes() { java.lang.Object ref = ""; if (entryCase_ == 2) { ref = entry_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (entryCase_ == 2) { entry_ = b; } @@ -989,30 +1126,35 @@ public java.lang.String getDirectory() { } } /** + * + * *
        * A child directory in the directory.
        * 
* * string directory = 2; + * * @param value The directory to set. * @return This builder for chaining. */ - public Builder setDirectory( - java.lang.String value) { + public Builder setDirectory(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - entryCase_ = 2; + throw new NullPointerException(); + } + entryCase_ = 2; entry_ = value; onChanged(); return this; } /** + * + * *
        * A child directory in the directory.
        * 
* * string directory = 2; + * * @return This builder for chaining. */ public Builder clearDirectory() { @@ -1024,25 +1166,28 @@ public Builder clearDirectory() { return this; } /** + * + * *
        * A child directory in the directory.
        * 
* * string directory = 2; + * * @param value The bytes for directory to set. * @return This builder for chaining. */ - public Builder setDirectoryBytes( - com.google.protobuf.ByteString value) { + public Builder setDirectoryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); entryCase_ = 2; entry_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1055,30 +1200,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry) - private static final com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse + .DirectoryEntry + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry(); + DEFAULT_INSTANCE = + new com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry(); } - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DirectoryEntry parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DirectoryEntry(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DirectoryEntry parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DirectoryEntry(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1090,81 +1239,112 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int DIRECTORY_ENTRIES_FIELD_NUMBER = 1; - private java.util.List directoryEntries_; + private java.util.List< + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry> + directoryEntries_; /** + * + * *
    * List of entries in the directory.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * */ @java.lang.Override - public java.util.List getDirectoryEntriesList() { + public java.util.List< + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry> + getDirectoryEntriesList() { return directoryEntries_; } /** + * + * *
    * List of entries in the directory.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse + .DirectoryEntryOrBuilder> getDirectoryEntriesOrBuilderList() { return directoryEntries_; } /** + * + * *
    * List of entries in the directory.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * */ @java.lang.Override public int getDirectoryEntriesCount() { return directoryEntries_.size(); } /** + * + * *
    * List of entries in the directory.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry getDirectoryEntries(int index) { + public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry + getDirectoryEntries(int index) { return directoryEntries_.get(index); } /** + * + * *
    * List of entries in the directory.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntryOrBuilder getDirectoryEntriesOrBuilder( - int index) { + public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntryOrBuilder + getDirectoryEntriesOrBuilder(int index) { return directoryEntries_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -1173,30 +1353,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1205,6 +1385,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1216,8 +1397,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < directoryEntries_.size(); i++) { output.writeMessage(1, directoryEntries_.get(i)); } @@ -1234,8 +1414,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < directoryEntries_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, directoryEntries_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, directoryEntries_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -1248,17 +1427,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse other = (com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse) obj; + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse other = + (com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse) obj; - if (!getDirectoryEntriesList() - .equals(other.getDirectoryEntriesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getDirectoryEntriesList().equals(other.getDirectoryEntriesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1282,135 +1460,147 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `QueryDirectoryContents` response message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse) com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.class, com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.class, + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.Builder.class); } - // Construct using com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.newBuilder() + // Construct using + // com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getDirectoryEntriesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -1426,13 +1616,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_QueryDirectoryContentsResponse_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse + getDefaultInstanceForType() { return com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.getDefaultInstance(); } @@ -1447,7 +1638,8 @@ public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse build() @java.lang.Override public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse buildPartial() { - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse result = new com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse(this); + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse result = + new com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse(this); int from_bitField0_ = bitField0_; if (directoryEntriesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -1467,46 +1659,50 @@ public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse)other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse other) { - if (other == com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse other) { + if (other + == com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.getDefaultInstance()) + return this; if (directoryEntriesBuilder_ == null) { if (!other.directoryEntries_.isEmpty()) { if (directoryEntries_.isEmpty()) { @@ -1525,9 +1721,10 @@ public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.QueryDirectoryConten directoryEntriesBuilder_ = null; directoryEntries_ = other.directoryEntries_; bitField0_ = (bitField0_ & ~0x00000001); - directoryEntriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDirectoryEntriesFieldBuilder() : null; + directoryEntriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDirectoryEntriesFieldBuilder() + : null; } else { directoryEntriesBuilder_.addAllMessages(other.directoryEntries_); } @@ -1556,7 +1753,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1565,28 +1764,45 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private java.util.List directoryEntries_ = - java.util.Collections.emptyList(); + private java.util.List< + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry> + directoryEntries_ = java.util.Collections.emptyList(); + private void ensureDirectoryEntriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - directoryEntries_ = new java.util.ArrayList(directoryEntries_); + directoryEntries_ = + new java.util.ArrayList< + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry>( + directoryEntries_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry, com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry.Builder, com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntryOrBuilder> directoryEntriesBuilder_; + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry, + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry + .Builder, + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse + .DirectoryEntryOrBuilder> + directoryEntriesBuilder_; /** + * + * *
      * List of entries in the directory.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * */ - public java.util.List getDirectoryEntriesList() { + public java.util.List< + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry> + getDirectoryEntriesList() { if (directoryEntriesBuilder_ == null) { return java.util.Collections.unmodifiableList(directoryEntries_); } else { @@ -1594,11 +1810,15 @@ public java.util.List * List of entries in the directory. *
* - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * */ public int getDirectoryEntriesCount() { if (directoryEntriesBuilder_ == null) { @@ -1608,13 +1828,18 @@ public int getDirectoryEntriesCount() { } } /** + * + * *
      * List of entries in the directory.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * */ - public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry getDirectoryEntries(int index) { + public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry + getDirectoryEntries(int index) { if (directoryEntriesBuilder_ == null) { return directoryEntries_.get(index); } else { @@ -1622,14 +1847,19 @@ public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.Directo } } /** + * + * *
      * List of entries in the directory.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * */ public Builder setDirectoryEntries( - int index, com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry value) { + int index, + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry value) { if (directoryEntriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1643,14 +1873,20 @@ public Builder setDirectoryEntries( return this; } /** + * + * *
      * List of entries in the directory.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * */ public Builder setDirectoryEntries( - int index, com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry.Builder builderForValue) { + int index, + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry.Builder + builderForValue) { if (directoryEntriesBuilder_ == null) { ensureDirectoryEntriesIsMutable(); directoryEntries_.set(index, builderForValue.build()); @@ -1661,13 +1897,18 @@ public Builder setDirectoryEntries( return this; } /** + * + * *
      * List of entries in the directory.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * */ - public Builder addDirectoryEntries(com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry value) { + public Builder addDirectoryEntries( + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry value) { if (directoryEntriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1681,14 +1922,19 @@ public Builder addDirectoryEntries(com.google.cloud.dataform.v1alpha2.QueryDirec return this; } /** + * + * *
      * List of entries in the directory.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * */ public Builder addDirectoryEntries( - int index, com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry value) { + int index, + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry value) { if (directoryEntriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1702,14 +1948,19 @@ public Builder addDirectoryEntries( return this; } /** + * + * *
      * List of entries in the directory.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * */ public Builder addDirectoryEntries( - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry.Builder builderForValue) { + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry.Builder + builderForValue) { if (directoryEntriesBuilder_ == null) { ensureDirectoryEntriesIsMutable(); directoryEntries_.add(builderForValue.build()); @@ -1720,14 +1971,20 @@ public Builder addDirectoryEntries( return this; } /** + * + * *
      * List of entries in the directory.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * */ public Builder addDirectoryEntries( - int index, com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry.Builder builderForValue) { + int index, + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry.Builder + builderForValue) { if (directoryEntriesBuilder_ == null) { ensureDirectoryEntriesIsMutable(); directoryEntries_.add(index, builderForValue.build()); @@ -1738,18 +1995,25 @@ public Builder addDirectoryEntries( return this; } /** + * + * *
      * List of entries in the directory.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * */ public Builder addAllDirectoryEntries( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse + .DirectoryEntry> + values) { if (directoryEntriesBuilder_ == null) { ensureDirectoryEntriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, directoryEntries_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, directoryEntries_); onChanged(); } else { directoryEntriesBuilder_.addAllMessages(values); @@ -1757,11 +2021,15 @@ public Builder addAllDirectoryEntries( return this; } /** + * + * *
      * List of entries in the directory.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * */ public Builder clearDirectoryEntries() { if (directoryEntriesBuilder_ == null) { @@ -1774,11 +2042,15 @@ public Builder clearDirectoryEntries() { return this; } /** + * + * *
      * List of entries in the directory.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * */ public Builder removeDirectoryEntries(int index) { if (directoryEntriesBuilder_ == null) { @@ -1791,39 +2063,55 @@ public Builder removeDirectoryEntries(int index) { return this; } /** + * + * *
      * List of entries in the directory.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * */ - public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry.Builder getDirectoryEntriesBuilder( - int index) { + public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry.Builder + getDirectoryEntriesBuilder(int index) { return getDirectoryEntriesFieldBuilder().getBuilder(index); } /** + * + * *
      * List of entries in the directory.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * */ - public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntryOrBuilder getDirectoryEntriesOrBuilder( - int index) { + public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntryOrBuilder + getDirectoryEntriesOrBuilder(int index) { if (directoryEntriesBuilder_ == null) { - return directoryEntries_.get(index); } else { + return directoryEntries_.get(index); + } else { return directoryEntriesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of entries in the directory.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * */ - public java.util.List - getDirectoryEntriesOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse + .DirectoryEntryOrBuilder> + getDirectoryEntriesOrBuilderList() { if (directoryEntriesBuilder_ != null) { return directoryEntriesBuilder_.getMessageOrBuilderList(); } else { @@ -1831,45 +2119,75 @@ public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.Directo } } /** + * + * *
      * List of entries in the directory.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * */ - public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry.Builder addDirectoryEntriesBuilder() { - return getDirectoryEntriesFieldBuilder().addBuilder( - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry.getDefaultInstance()); + public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry.Builder + addDirectoryEntriesBuilder() { + return getDirectoryEntriesFieldBuilder() + .addBuilder( + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry + .getDefaultInstance()); } /** + * + * *
      * List of entries in the directory.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * */ - public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry.Builder addDirectoryEntriesBuilder( - int index) { - return getDirectoryEntriesFieldBuilder().addBuilder( - index, com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry.getDefaultInstance()); + public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry.Builder + addDirectoryEntriesBuilder(int index) { + return getDirectoryEntriesFieldBuilder() + .addBuilder( + index, + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry + .getDefaultInstance()); } /** + * + * *
      * List of entries in the directory.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * */ - public java.util.List - getDirectoryEntriesBuilderList() { + public java.util.List< + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry + .Builder> + getDirectoryEntriesBuilderList() { return getDirectoryEntriesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry, com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry.Builder, com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntryOrBuilder> + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry, + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry + .Builder, + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse + .DirectoryEntryOrBuilder> getDirectoryEntriesFieldBuilder() { if (directoryEntriesBuilder_ == null) { - directoryEntriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry, com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry.Builder, com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntryOrBuilder>( + directoryEntriesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry, + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry + .Builder, + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse + .DirectoryEntryOrBuilder>( directoryEntries_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1881,19 +2199,21 @@ public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.Directo private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1902,21 +2222,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1924,64 +2245,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1991,30 +2319,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse) - private static final com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse(); } - public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueryDirectoryContentsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new QueryDirectoryContentsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryDirectoryContentsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new QueryDirectoryContentsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2026,9 +2356,8 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsResponseOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsResponseOrBuilder.java new file mode 100644 index 0000000..f3eb1dd --- /dev/null +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryDirectoryContentsResponseOrBuilder.java @@ -0,0 +1,120 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1alpha2/dataform.proto + +package com.google.cloud.dataform.v1alpha2; + +public interface QueryDirectoryContentsResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * List of entries in the directory.
+   * 
+ * + * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + */ + java.util.List + getDirectoryEntriesList(); + /** + * + * + *
+   * List of entries in the directory.
+   * 
+ * + * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + */ + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry + getDirectoryEntries(int index); + /** + * + * + *
+   * List of entries in the directory.
+   * 
+ * + * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + */ + int getDirectoryEntriesCount(); + /** + * + * + *
+   * List of entries in the directory.
+   * 
+ * + * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + */ + java.util.List< + ? extends + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse + .DirectoryEntryOrBuilder> + getDirectoryEntriesOrBuilderList(); + /** + * + * + *
+   * List of entries in the directory.
+   * 
+ * + * + * repeated .google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + */ + com.google.cloud.dataform.v1alpha2.QueryDirectoryContentsResponse.DirectoryEntryOrBuilder + getDirectoryEntriesOrBuilder(int index); + + /** + * + * + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + java.lang.String getNextPageToken(); + /** + * + * + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + com.google.protobuf.ByteString getNextPageTokenBytes(); +} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsRequest.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsRequest.java similarity index 65% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsRequest.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsRequest.java index 909414f..e5c3132 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsRequest.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsRequest.java @@ -1,24 +1,44 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * `QueryWorkflowInvocationActions` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest} */ -public final class QueryWorkflowInvocationActionsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class QueryWorkflowInvocationActionsRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest) QueryWorkflowInvocationActionsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use QueryWorkflowInvocationActionsRequest.newBuilder() to construct. - private QueryWorkflowInvocationActionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private QueryWorkflowInvocationActionsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private QueryWorkflowInvocationActionsRequest() { name_ = ""; pageToken_ = ""; @@ -26,16 +46,15 @@ private QueryWorkflowInvocationActionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new QueryWorkflowInvocationActionsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private QueryWorkflowInvocationActionsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +73,32 @@ private QueryWorkflowInvocationActionsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: { - - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,34 +106,41 @@ private QueryWorkflowInvocationActionsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest.class, com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest.class, + com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The workflow invocation's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -121,29 +149,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The workflow invocation's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -154,6 +184,8 @@ public java.lang.String getName() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * Optional. Maximum number of workflow invocations to return. The server may return
    * fewer items than requested. If unspecified, the server will pick an
@@ -161,6 +193,7 @@ public java.lang.String getName() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -171,6 +204,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * Optional. Page token received from a previous `QueryWorkflowInvocationActions` call.
    * Provide this to retrieve the subsequent page.
@@ -180,6 +215,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -188,14 +224,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Optional. Page token received from a previous `QueryWorkflowInvocationActions` call.
    * Provide this to retrieve the subsequent page.
@@ -205,16 +242,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -223,6 +259,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -234,8 +271,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -258,8 +294,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -272,19 +307,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest)) { + if (!(obj + instanceof com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest other = (com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest) obj; + com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest other = + (com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getName().equals(other.getName())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -308,134 +342,146 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `QueryWorkflowInvocationActions` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest) com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest.class, com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest.class, + com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest.Builder + .class); } - // Construct using com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest.newBuilder() + // Construct using + // com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -449,19 +495,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest getDefaultInstanceForType() { - return com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest.getDefaultInstance(); + public com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest + getDefaultInstanceForType() { + return com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest build() { - com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest result = buildPartial(); + com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -470,7 +519,8 @@ public com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest @java.lang.Override public com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest result = new com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest(this); + com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest result = + new com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest(this); result.name_ = name_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -482,46 +532,52 @@ public com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest)other); + if (other + instanceof com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest) { + return mergeFrom( + (com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest other) { + if (other + == com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -552,7 +608,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -564,18 +622,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The workflow invocation's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -584,20 +646,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The workflow invocation's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -605,61 +670,76 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The workflow invocation's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The workflow invocation's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The workflow invocation's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. Maximum number of workflow invocations to return. The server may return
      * fewer items than requested. If unspecified, the server will pick an
@@ -667,6 +747,7 @@ public Builder setNameBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -674,6 +755,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. Maximum number of workflow invocations to return. The server may return
      * fewer items than requested. If unspecified, the server will pick an
@@ -681,16 +764,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Maximum number of workflow invocations to return. The server may return
      * fewer items than requested. If unspecified, the server will pick an
@@ -698,10 +784,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -709,6 +796,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. Page token received from a previous `QueryWorkflowInvocationActions` call.
      * Provide this to retrieve the subsequent page.
@@ -718,13 +807,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -733,6 +822,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `QueryWorkflowInvocationActions` call.
      * Provide this to retrieve the subsequent page.
@@ -742,15 +833,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -758,6 +848,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `QueryWorkflowInvocationActions` call.
      * Provide this to retrieve the subsequent page.
@@ -767,20 +859,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Page token received from a previous `QueryWorkflowInvocationActions` call.
      * Provide this to retrieve the subsequent page.
@@ -790,15 +884,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * Optional. Page token received from a previous `QueryWorkflowInvocationActions` call.
      * Provide this to retrieve the subsequent page.
@@ -808,23 +905,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -834,30 +931,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest) - private static final com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest(); } - public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueryWorkflowInvocationActionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new QueryWorkflowInvocationActionsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryWorkflowInvocationActionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new QueryWorkflowInvocationActionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -869,9 +969,8 @@ public com.google.protobuf.Parser getPars } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsRequestOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsRequestOrBuilder.java similarity index 62% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsRequestOrBuilder.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsRequestOrBuilder.java index a827ee8..8cba9c9 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsRequestOrBuilder.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface QueryWorkflowInvocationActionsRequestOrBuilder extends +public interface QueryWorkflowInvocationActionsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The workflow invocation's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The workflow invocation's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. Maximum number of workflow invocations to return. The server may return
    * fewer items than requested. If unspecified, the server will pick an
@@ -35,11 +62,14 @@ public interface QueryWorkflowInvocationActionsRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. Page token received from a previous `QueryWorkflowInvocationActions` call.
    * Provide this to retrieve the subsequent page.
@@ -49,10 +79,13 @@ public interface QueryWorkflowInvocationActionsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. Page token received from a previous `QueryWorkflowInvocationActions` call.
    * Provide this to retrieve the subsequent page.
@@ -62,8 +95,8 @@ public interface QueryWorkflowInvocationActionsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsResponse.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsResponse.java similarity index 61% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsResponse.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsResponse.java index 9d21e9a..a71ed77 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsResponse.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsResponse.java @@ -1,24 +1,44 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * `QueryWorkflowInvocationActions` response message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse} */ -public final class QueryWorkflowInvocationActionsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class QueryWorkflowInvocationActionsResponse + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse) QueryWorkflowInvocationActionsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use QueryWorkflowInvocationActionsResponse.newBuilder() to construct. - private QueryWorkflowInvocationActionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private QueryWorkflowInvocationActionsResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private QueryWorkflowInvocationActionsResponse() { workflowInvocationActions_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +46,15 @@ private QueryWorkflowInvocationActionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new QueryWorkflowInvocationActionsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private QueryWorkflowInvocationActionsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +74,34 @@ private QueryWorkflowInvocationActionsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - workflowInvocationActions_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + workflowInvocationActions_ = + new java.util.ArrayList< + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction>(); + mutable_bitField0_ |= 0x00000001; + } + workflowInvocationActions_.add( + input.readMessage( + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.parser(), + extensionRegistry)); + break; } - workflowInvocationActions_.add( - input.readMessage(com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,98 +109,129 @@ private QueryWorkflowInvocationActionsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { - workflowInvocationActions_ = java.util.Collections.unmodifiableList(workflowInvocationActions_); + workflowInvocationActions_ = + java.util.Collections.unmodifiableList(workflowInvocationActions_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse.class, com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse.class, + com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse.Builder + .class); } public static final int WORKFLOW_INVOCATION_ACTIONS_FIELD_NUMBER = 1; - private java.util.List workflowInvocationActions_; + private java.util.List + workflowInvocationActions_; /** + * + * *
    * List of workflow invocation actions.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ @java.lang.Override - public java.util.List getWorkflowInvocationActionsList() { + public java.util.List + getWorkflowInvocationActionsList() { return workflowInvocationActions_; } /** + * + * *
    * List of workflow invocation actions.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.dataform.v1alpha2.WorkflowInvocationActionOrBuilder> getWorkflowInvocationActionsOrBuilderList() { return workflowInvocationActions_; } /** + * + * *
    * List of workflow invocation actions.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ @java.lang.Override public int getWorkflowInvocationActionsCount() { return workflowInvocationActions_.size(); } /** + * + * *
    * List of workflow invocation actions.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction getWorkflowInvocationActions(int index) { + public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction getWorkflowInvocationActions( + int index) { return workflowInvocationActions_.get(index); } /** + * + * *
    * List of workflow invocation actions.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.WorkflowInvocationActionOrBuilder getWorkflowInvocationActionsOrBuilder( - int index) { + public com.google.cloud.dataform.v1alpha2.WorkflowInvocationActionOrBuilder + getWorkflowInvocationActionsOrBuilder(int index) { return workflowInvocationActions_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +240,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +272,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +284,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < workflowInvocationActions_.size(); i++) { output.writeMessage(1, workflowInvocationActions_.get(i)); } @@ -245,8 +301,9 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < workflowInvocationActions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, workflowInvocationActions_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, workflowInvocationActions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +316,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse)) { + if (!(obj + instanceof com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse other = (com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse) obj; + com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse other = + (com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse) obj; - if (!getWorkflowInvocationActionsList() - .equals(other.getWorkflowInvocationActionsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getWorkflowInvocationActionsList().equals(other.getWorkflowInvocationActionsList())) + return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,135 +351,148 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `QueryWorkflowInvocationActions` response message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse) com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse.class, com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse.class, + com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse.Builder + .class); } - // Construct using com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse.newBuilder() + // Construct using + // com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getWorkflowInvocationActionsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,19 +508,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_QueryWorkflowInvocationActionsResponse_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse getDefaultInstanceForType() { - return com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse.getDefaultInstance(); + public com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse + getDefaultInstanceForType() { + return com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse build() { - com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse result = buildPartial(); + com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -457,12 +531,15 @@ public com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse buildPartial() { - com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse result = new com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse(this); + public com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse + buildPartial() { + com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse result = + new com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse(this); int from_bitField0_ = bitField0_; if (workflowInvocationActionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - workflowInvocationActions_ = java.util.Collections.unmodifiableList(workflowInvocationActions_); + workflowInvocationActions_ = + java.util.Collections.unmodifiableList(workflowInvocationActions_); bitField0_ = (bitField0_ & ~0x00000001); } result.workflowInvocationActions_ = workflowInvocationActions_; @@ -478,46 +555,52 @@ public com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse)other); + if (other + instanceof com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse) { + return mergeFrom( + (com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse other) { - if (other == com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse other) { + if (other + == com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse + .getDefaultInstance()) return this; if (workflowInvocationActionsBuilder_ == null) { if (!other.workflowInvocationActions_.isEmpty()) { if (workflowInvocationActions_.isEmpty()) { @@ -536,9 +619,10 @@ public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocat workflowInvocationActionsBuilder_ = null; workflowInvocationActions_ = other.workflowInvocationActions_; bitField0_ = (bitField0_ & ~0x00000001); - workflowInvocationActionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getWorkflowInvocationActionsFieldBuilder() : null; + workflowInvocationActionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getWorkflowInvocationActionsFieldBuilder() + : null; } else { workflowInvocationActionsBuilder_.addAllMessages(other.workflowInvocationActions_); } @@ -563,11 +647,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse parsedMessage = null; + com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,28 +663,40 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private java.util.List workflowInvocationActions_ = - java.util.Collections.emptyList(); + private java.util.List + workflowInvocationActions_ = java.util.Collections.emptyList(); + private void ensureWorkflowInvocationActionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - workflowInvocationActions_ = new java.util.ArrayList(workflowInvocationActions_); + workflowInvocationActions_ = + new java.util.ArrayList( + workflowInvocationActions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction, com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.Builder, com.google.cloud.dataform.v1alpha2.WorkflowInvocationActionOrBuilder> workflowInvocationActionsBuilder_; + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction, + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.Builder, + com.google.cloud.dataform.v1alpha2.WorkflowInvocationActionOrBuilder> + workflowInvocationActionsBuilder_; /** + * + * *
      * List of workflow invocation actions.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ - public java.util.List getWorkflowInvocationActionsList() { + public java.util.List + getWorkflowInvocationActionsList() { if (workflowInvocationActionsBuilder_ == null) { return java.util.Collections.unmodifiableList(workflowInvocationActions_); } else { @@ -605,11 +704,15 @@ public java.util.List * List of workflow invocation actions. *
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ public int getWorkflowInvocationActionsCount() { if (workflowInvocationActionsBuilder_ == null) { @@ -619,13 +722,18 @@ public int getWorkflowInvocationActionsCount() { } } /** + * + * *
      * List of workflow invocation actions.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ - public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction getWorkflowInvocationActions(int index) { + public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction getWorkflowInvocationActions( + int index) { if (workflowInvocationActionsBuilder_ == null) { return workflowInvocationActions_.get(index); } else { @@ -633,11 +741,15 @@ public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction getWorkflowIn } } /** + * + * *
      * List of workflow invocation actions.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ public Builder setWorkflowInvocationActions( int index, com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction value) { @@ -654,14 +766,19 @@ public Builder setWorkflowInvocationActions( return this; } /** + * + * *
      * List of workflow invocation actions.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ public Builder setWorkflowInvocationActions( - int index, com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.Builder builderForValue) { + int index, + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.Builder builderForValue) { if (workflowInvocationActionsBuilder_ == null) { ensureWorkflowInvocationActionsIsMutable(); workflowInvocationActions_.set(index, builderForValue.build()); @@ -672,13 +789,18 @@ public Builder setWorkflowInvocationActions( return this; } /** + * + * *
      * List of workflow invocation actions.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ - public Builder addWorkflowInvocationActions(com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction value) { + public Builder addWorkflowInvocationActions( + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction value) { if (workflowInvocationActionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -692,11 +814,15 @@ public Builder addWorkflowInvocationActions(com.google.cloud.dataform.v1alpha2.W return this; } /** + * + * *
      * List of workflow invocation actions.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ public Builder addWorkflowInvocationActions( int index, com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction value) { @@ -713,11 +839,15 @@ public Builder addWorkflowInvocationActions( return this; } /** + * + * *
      * List of workflow invocation actions.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ public Builder addWorkflowInvocationActions( com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.Builder builderForValue) { @@ -731,14 +861,19 @@ public Builder addWorkflowInvocationActions( return this; } /** + * + * *
      * List of workflow invocation actions.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ public Builder addWorkflowInvocationActions( - int index, com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.Builder builderForValue) { + int index, + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.Builder builderForValue) { if (workflowInvocationActionsBuilder_ == null) { ensureWorkflowInvocationActionsIsMutable(); workflowInvocationActions_.add(index, builderForValue.build()); @@ -749,18 +884,22 @@ public Builder addWorkflowInvocationActions( return this; } /** + * + * *
      * List of workflow invocation actions.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ public Builder addAllWorkflowInvocationActions( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (workflowInvocationActionsBuilder_ == null) { ensureWorkflowInvocationActionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, workflowInvocationActions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, workflowInvocationActions_); onChanged(); } else { workflowInvocationActionsBuilder_.addAllMessages(values); @@ -768,11 +907,15 @@ public Builder addAllWorkflowInvocationActions( return this; } /** + * + * *
      * List of workflow invocation actions.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ public Builder clearWorkflowInvocationActions() { if (workflowInvocationActionsBuilder_ == null) { @@ -785,11 +928,15 @@ public Builder clearWorkflowInvocationActions() { return this; } /** + * + * *
      * List of workflow invocation actions.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ public Builder removeWorkflowInvocationActions(int index) { if (workflowInvocationActionsBuilder_ == null) { @@ -802,39 +949,53 @@ public Builder removeWorkflowInvocationActions(int index) { return this; } /** + * + * *
      * List of workflow invocation actions.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ - public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.Builder getWorkflowInvocationActionsBuilder( - int index) { + public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.Builder + getWorkflowInvocationActionsBuilder(int index) { return getWorkflowInvocationActionsFieldBuilder().getBuilder(index); } /** + * + * *
      * List of workflow invocation actions.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ - public com.google.cloud.dataform.v1alpha2.WorkflowInvocationActionOrBuilder getWorkflowInvocationActionsOrBuilder( - int index) { + public com.google.cloud.dataform.v1alpha2.WorkflowInvocationActionOrBuilder + getWorkflowInvocationActionsOrBuilder(int index) { if (workflowInvocationActionsBuilder_ == null) { - return workflowInvocationActions_.get(index); } else { + return workflowInvocationActions_.get(index); + } else { return workflowInvocationActionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of workflow invocation actions.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ - public java.util.List - getWorkflowInvocationActionsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.dataform.v1alpha2.WorkflowInvocationActionOrBuilder> + getWorkflowInvocationActionsOrBuilderList() { if (workflowInvocationActionsBuilder_ != null) { return workflowInvocationActionsBuilder_.getMessageOrBuilderList(); } else { @@ -842,45 +1003,67 @@ public com.google.cloud.dataform.v1alpha2.WorkflowInvocationActionOrBuilder getW } } /** + * + * *
      * List of workflow invocation actions.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ - public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.Builder addWorkflowInvocationActionsBuilder() { - return getWorkflowInvocationActionsFieldBuilder().addBuilder( - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.getDefaultInstance()); + public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.Builder + addWorkflowInvocationActionsBuilder() { + return getWorkflowInvocationActionsFieldBuilder() + .addBuilder( + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.getDefaultInstance()); } /** + * + * *
      * List of workflow invocation actions.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ - public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.Builder addWorkflowInvocationActionsBuilder( - int index) { - return getWorkflowInvocationActionsFieldBuilder().addBuilder( - index, com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.getDefaultInstance()); + public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.Builder + addWorkflowInvocationActionsBuilder(int index) { + return getWorkflowInvocationActionsFieldBuilder() + .addBuilder( + index, + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.getDefaultInstance()); } /** + * + * *
      * List of workflow invocation actions.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ - public java.util.List - getWorkflowInvocationActionsBuilderList() { + public java.util.List + getWorkflowInvocationActionsBuilderList() { return getWorkflowInvocationActionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction, com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.Builder, com.google.cloud.dataform.v1alpha2.WorkflowInvocationActionOrBuilder> + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction, + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.Builder, + com.google.cloud.dataform.v1alpha2.WorkflowInvocationActionOrBuilder> getWorkflowInvocationActionsFieldBuilder() { if (workflowInvocationActionsBuilder_ == null) { - workflowInvocationActionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction, com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.Builder, com.google.cloud.dataform.v1alpha2.WorkflowInvocationActionOrBuilder>( + workflowInvocationActionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction, + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.Builder, + com.google.cloud.dataform.v1alpha2.WorkflowInvocationActionOrBuilder>( workflowInvocationActions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -892,19 +1075,21 @@ public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.Builder addWo private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1098,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1121,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,30 +1195,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse) - private static final com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse(); + DEFAULT_INSTANCE = + new com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse(); } - public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueryWorkflowInvocationActionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new QueryWorkflowInvocationActionsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryWorkflowInvocationActionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new QueryWorkflowInvocationActionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,9 +1233,8 @@ public com.google.protobuf.Parser getPar } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsResponseOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsResponseOrBuilder.java similarity index 53% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsResponseOrBuilder.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsResponseOrBuilder.java index fe6c6d6..192a08e 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsResponseOrBuilder.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/QueryWorkflowInvocationActionsResponseOrBuilder.java @@ -1,75 +1,117 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface QueryWorkflowInvocationActionsResponseOrBuilder extends +public interface QueryWorkflowInvocationActionsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.QueryWorkflowInvocationActionsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of workflow invocation actions.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ - java.util.List + java.util.List getWorkflowInvocationActionsList(); /** + * + * *
    * List of workflow invocation actions.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction getWorkflowInvocationActions(int index); + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction getWorkflowInvocationActions( + int index); /** + * + * *
    * List of workflow invocation actions.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ int getWorkflowInvocationActionsCount(); /** + * + * *
    * List of workflow invocation actions.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ - java.util.List + java.util.List getWorkflowInvocationActionsOrBuilderList(); /** + * + * *
    * List of workflow invocation actions.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1alpha2.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ - com.google.cloud.dataform.v1alpha2.WorkflowInvocationActionOrBuilder getWorkflowInvocationActionsOrBuilder( - int index); + com.google.cloud.dataform.v1alpha2.WorkflowInvocationActionOrBuilder + getWorkflowInvocationActionsOrBuilder(int index); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileRequest.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileRequest.java similarity index 66% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileRequest.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileRequest.java index 4fac15c..da5a516 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileRequest.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * `ReadFile` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.ReadFileRequest} */ -public final class ReadFileRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ReadFileRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.ReadFileRequest) ReadFileRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ReadFileRequest.newBuilder() to construct. private ReadFileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ReadFileRequest() { workspace_ = ""; path_ = ""; @@ -26,16 +44,15 @@ private ReadFileRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ReadFileRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ReadFileRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private ReadFileRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - workspace_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + workspace_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - path_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + path_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +99,41 @@ private ReadFileRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ReadFileRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ReadFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ReadFileRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ReadFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.ReadFileRequest.class, com.google.cloud.dataform.v1alpha2.ReadFileRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.ReadFileRequest.class, + com.google.cloud.dataform.v1alpha2.ReadFileRequest.Builder.class); } public static final int WORKSPACE_FIELD_NUMBER = 1; private volatile java.lang.Object workspace_; /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ @java.lang.Override @@ -116,29 +142,31 @@ public java.lang.String getWorkspace() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; } } /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ @java.lang.Override - public com.google.protobuf.ByteString - getWorkspaceBytes() { + public com.google.protobuf.ByteString getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workspace_ = b; return b; } else { @@ -149,11 +177,14 @@ public java.lang.String getWorkspace() { public static final int PATH_FIELD_NUMBER = 2; private volatile java.lang.Object path_; /** + * + * *
    * Required. The file's full path including filename, relative to the workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The path. */ @java.lang.Override @@ -162,29 +193,29 @@ public java.lang.String getPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } } /** + * + * *
    * Required. The file's full path including filename, relative to the workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for path. */ @java.lang.Override - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); path_ = b; return b; } else { @@ -193,6 +224,7 @@ public java.lang.String getPath() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,8 +236,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workspace_); } @@ -235,17 +266,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.ReadFileRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.ReadFileRequest other = (com.google.cloud.dataform.v1alpha2.ReadFileRequest) obj; + com.google.cloud.dataform.v1alpha2.ReadFileRequest other = + (com.google.cloud.dataform.v1alpha2.ReadFileRequest) obj; - if (!getWorkspace() - .equals(other.getWorkspace())) return false; - if (!getPath() - .equals(other.getPath())) return false; + if (!getWorkspace().equals(other.getWorkspace())) return false; + if (!getPath().equals(other.getPath())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -267,117 +297,126 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.ReadFileRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.ReadFileRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.ReadFileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.ReadFileRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.ReadFileRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.ReadFileRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ReadFileRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.ReadFileRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.ReadFileRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ReadFileRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.ReadFileRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.ReadFileRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.ReadFileRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.ReadFileRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.ReadFileRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `ReadFile` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.ReadFileRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.ReadFileRequest) com.google.cloud.dataform.v1alpha2.ReadFileRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ReadFileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ReadFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ReadFileRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ReadFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.ReadFileRequest.class, com.google.cloud.dataform.v1alpha2.ReadFileRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.ReadFileRequest.class, + com.google.cloud.dataform.v1alpha2.ReadFileRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.ReadFileRequest.newBuilder() @@ -385,16 +424,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -406,9 +444,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ReadFileRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ReadFileRequest_descriptor; } @java.lang.Override @@ -427,7 +465,8 @@ public com.google.cloud.dataform.v1alpha2.ReadFileRequest build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.ReadFileRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.ReadFileRequest result = new com.google.cloud.dataform.v1alpha2.ReadFileRequest(this); + com.google.cloud.dataform.v1alpha2.ReadFileRequest result = + new com.google.cloud.dataform.v1alpha2.ReadFileRequest(this); result.workspace_ = workspace_; result.path_ = path_; onBuilt(); @@ -438,38 +477,39 @@ public com.google.cloud.dataform.v1alpha2.ReadFileRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.ReadFileRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.ReadFileRequest)other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.ReadFileRequest) other); } else { super.mergeFrom(other); return this; @@ -477,7 +517,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.ReadFileRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.ReadFileRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1alpha2.ReadFileRequest.getDefaultInstance()) + return this; if (!other.getWorkspace().isEmpty()) { workspace_ = other.workspace_; onChanged(); @@ -505,7 +546,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.ReadFileRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.ReadFileRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -517,18 +559,22 @@ public Builder mergeFrom( private java.lang.Object workspace_ = ""; /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ public java.lang.String getWorkspace() { java.lang.Object ref = workspace_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; @@ -537,20 +583,23 @@ public java.lang.String getWorkspace() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ - public com.google.protobuf.ByteString - getWorkspaceBytes() { + public com.google.protobuf.ByteString getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workspace_ = b; return b; } else { @@ -558,54 +607,67 @@ public java.lang.String getWorkspace() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The workspace to set. * @return This builder for chaining. */ - public Builder setWorkspace( - java.lang.String value) { + public Builder setWorkspace(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + workspace_ = value; onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearWorkspace() { - + workspace_ = getDefaultInstance().getWorkspace(); onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for workspace to set. * @return This builder for chaining. */ - public Builder setWorkspaceBytes( - com.google.protobuf.ByteString value) { + public Builder setWorkspaceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workspace_ = value; onChanged(); return this; @@ -613,18 +675,20 @@ public Builder setWorkspaceBytes( private java.lang.Object path_ = ""; /** + * + * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; @@ -633,20 +697,21 @@ public java.lang.String getPath() { } } /** + * + * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for path. */ - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); path_ = b; return b; } else { @@ -654,61 +719,68 @@ public java.lang.String getPath() { } } /** + * + * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath( - java.lang.String value) { + public Builder setPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + path_ = value; onChanged(); return this; } /** + * + * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearPath() { - + path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** + * + * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes( - com.google.protobuf.ByteString value) { + public Builder setPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -718,12 +790,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.ReadFileRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.ReadFileRequest) private static final com.google.cloud.dataform.v1alpha2.ReadFileRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.ReadFileRequest(); } @@ -732,16 +804,16 @@ public static com.google.cloud.dataform.v1alpha2.ReadFileRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadFileRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ReadFileRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadFileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ReadFileRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -756,6 +828,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.ReadFileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileRequestOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileRequestOrBuilder.java new file mode 100644 index 0000000..6f4bb81 --- /dev/null +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileRequestOrBuilder.java @@ -0,0 +1,79 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1alpha2/dataform.proto + +package com.google.cloud.dataform.v1alpha2; + +public interface ReadFileRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.ReadFileRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The workspace's name.
+   * 
+ * + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The workspace. + */ + java.lang.String getWorkspace(); + /** + * + * + *
+   * Required. The workspace's name.
+   * 
+ * + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for workspace. + */ + com.google.protobuf.ByteString getWorkspaceBytes(); + + /** + * + * + *
+   * Required. The file's full path including filename, relative to the workspace root.
+   * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The path. + */ + java.lang.String getPath(); + /** + * + * + *
+   * Required. The file's full path including filename, relative to the workspace root.
+   * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for path. + */ + com.google.protobuf.ByteString getPathBytes(); +} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileResponse.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileResponse.java similarity index 68% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileResponse.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileResponse.java index d3cd2b3..f1ca18c 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileResponse.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileResponse.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * `ReadFile` response message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.ReadFileResponse} */ -public final class ReadFileResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ReadFileResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.ReadFileResponse) ReadFileResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ReadFileResponse.newBuilder() to construct. private ReadFileResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ReadFileResponse() { fileContents_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ReadFileResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ReadFileResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,18 +70,18 @@ private ReadFileResponse( case 0: done = true; break; - case 10: { - - fileContents_ = input.readBytes(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 10: + { + fileContents_ = input.readBytes(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -72,34 +89,39 @@ private ReadFileResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ReadFileResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ReadFileResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ReadFileResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ReadFileResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.ReadFileResponse.class, com.google.cloud.dataform.v1alpha2.ReadFileResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.ReadFileResponse.class, + com.google.cloud.dataform.v1alpha2.ReadFileResponse.Builder.class); } public static final int FILE_CONTENTS_FIELD_NUMBER = 1; private com.google.protobuf.ByteString fileContents_; /** + * + * *
    * The file's contents.
    * 
* * bytes file_contents = 1; + * * @return The fileContents. */ @java.lang.Override @@ -108,6 +130,7 @@ public com.google.protobuf.ByteString getFileContents() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -119,8 +142,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!fileContents_.isEmpty()) { output.writeBytes(1, fileContents_); } @@ -134,8 +156,7 @@ public int getSerializedSize() { size = 0; if (!fileContents_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(1, fileContents_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, fileContents_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -145,15 +166,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.ReadFileResponse)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.ReadFileResponse other = (com.google.cloud.dataform.v1alpha2.ReadFileResponse) obj; + com.google.cloud.dataform.v1alpha2.ReadFileResponse other = + (com.google.cloud.dataform.v1alpha2.ReadFileResponse) obj; - if (!getFileContents() - .equals(other.getFileContents())) return false; + if (!getFileContents().equals(other.getFileContents())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -173,117 +194,126 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.ReadFileResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.ReadFileResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.ReadFileResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.ReadFileResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.ReadFileResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.ReadFileResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ReadFileResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.ReadFileResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.ReadFileResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ReadFileResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.ReadFileResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.ReadFileResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.ReadFileResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.ReadFileResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.ReadFileResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `ReadFile` response message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.ReadFileResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.ReadFileResponse) com.google.cloud.dataform.v1alpha2.ReadFileResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ReadFileResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ReadFileResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ReadFileResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ReadFileResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.ReadFileResponse.class, com.google.cloud.dataform.v1alpha2.ReadFileResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.ReadFileResponse.class, + com.google.cloud.dataform.v1alpha2.ReadFileResponse.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.ReadFileResponse.newBuilder() @@ -291,16 +321,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -310,9 +339,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ReadFileResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ReadFileResponse_descriptor; } @java.lang.Override @@ -331,7 +360,8 @@ public com.google.cloud.dataform.v1alpha2.ReadFileResponse build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.ReadFileResponse buildPartial() { - com.google.cloud.dataform.v1alpha2.ReadFileResponse result = new com.google.cloud.dataform.v1alpha2.ReadFileResponse(this); + com.google.cloud.dataform.v1alpha2.ReadFileResponse result = + new com.google.cloud.dataform.v1alpha2.ReadFileResponse(this); result.fileContents_ = fileContents_; onBuilt(); return result; @@ -341,38 +371,39 @@ public com.google.cloud.dataform.v1alpha2.ReadFileResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.ReadFileResponse) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.ReadFileResponse)other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.ReadFileResponse) other); } else { super.mergeFrom(other); return this; @@ -380,7 +411,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.ReadFileResponse other) { - if (other == com.google.cloud.dataform.v1alpha2.ReadFileResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1alpha2.ReadFileResponse.getDefaultInstance()) + return this; if (other.getFileContents() != com.google.protobuf.ByteString.EMPTY) { setFileContents(other.getFileContents()); } @@ -403,7 +435,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.ReadFileResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.ReadFileResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -415,11 +448,14 @@ public Builder mergeFrom( private com.google.protobuf.ByteString fileContents_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * The file's contents.
      * 
* * bytes file_contents = 1; + * * @return The fileContents. */ @java.lang.Override @@ -427,40 +463,46 @@ public com.google.protobuf.ByteString getFileContents() { return fileContents_; } /** + * + * *
      * The file's contents.
      * 
* * bytes file_contents = 1; + * * @param value The fileContents to set. * @return This builder for chaining. */ public Builder setFileContents(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + fileContents_ = value; onChanged(); return this; } /** + * + * *
      * The file's contents.
      * 
* * bytes file_contents = 1; + * * @return This builder for chaining. */ public Builder clearFileContents() { - + fileContents_ = getDefaultInstance().getFileContents(); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -470,12 +512,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.ReadFileResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.ReadFileResponse) private static final com.google.cloud.dataform.v1alpha2.ReadFileResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.ReadFileResponse(); } @@ -484,16 +526,16 @@ public static com.google.cloud.dataform.v1alpha2.ReadFileResponse getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadFileResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ReadFileResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadFileResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ReadFileResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -508,6 +550,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.ReadFileResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileResponseOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileResponseOrBuilder.java new file mode 100644 index 0000000..e16e9ae --- /dev/null +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ReadFileResponseOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1alpha2/dataform.proto + +package com.google.cloud.dataform.v1alpha2; + +public interface ReadFileResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.ReadFileResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The file's contents.
+   * 
+ * + * bytes file_contents = 1; + * + * @return The fileContents. + */ + com.google.protobuf.ByteString getFileContents(); +} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RelationDescriptor.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RelationDescriptor.java similarity index 67% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RelationDescriptor.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RelationDescriptor.java index 640e7f5..cff44bb 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RelationDescriptor.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RelationDescriptor.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * Describes a relation and its columns.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.RelationDescriptor} */ -public final class RelationDescriptor extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RelationDescriptor extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.RelationDescriptor) RelationDescriptorOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RelationDescriptor.newBuilder() to construct. private RelationDescriptor(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RelationDescriptor() { description_ = ""; columns_ = java.util.Collections.emptyList(); @@ -26,16 +44,15 @@ private RelationDescriptor() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RelationDescriptor(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RelationDescriptor( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,41 +72,52 @@ private RelationDescriptor( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - columns_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + description_ = s; + break; } - columns_.add( - input.readMessage(com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.parser(), extensionRegistry)); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - bigqueryLabels_ = com.google.protobuf.MapField.newMapField( - BigqueryLabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000002; + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + columns_ = + new java.util.ArrayList< + com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor>(); + mutable_bitField0_ |= 0x00000001; + } + columns_.add( + input.readMessage( + com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor + .parser(), + extensionRegistry)); + break; } - com.google.protobuf.MapEntry - bigqueryLabels__ = input.readMessage( - BigqueryLabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - bigqueryLabels_.getMutableMap().put( - bigqueryLabels__.getKey(), bigqueryLabels__.getValue()); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 26: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + bigqueryLabels_ = + com.google.protobuf.MapField.newMapField( + BigqueryLabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000002; + } + com.google.protobuf.MapEntry bigqueryLabels__ = + input.readMessage( + BigqueryLabelsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + bigqueryLabels_ + .getMutableMap() + .put(bigqueryLabels__.getKey(), bigqueryLabels__.getValue()); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -97,8 +125,7 @@ private RelationDescriptor( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { columns_ = java.util.Collections.unmodifiableList(columns_); @@ -107,157 +134,188 @@ private RelationDescriptor( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 3: return internalGetBigqueryLabels(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.RelationDescriptor.class, com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder.class); + com.google.cloud.dataform.v1alpha2.RelationDescriptor.class, + com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder.class); } - public interface ColumnDescriptorOrBuilder extends + public interface ColumnDescriptorOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The identifier for the column. Each entry in `path` represents one level
      * of nesting.
      * 
* * repeated string path = 1; + * * @return A list containing the path. */ - java.util.List - getPathList(); + java.util.List getPathList(); /** + * + * *
      * The identifier for the column. Each entry in `path` represents one level
      * of nesting.
      * 
* * repeated string path = 1; + * * @return The count of path. */ int getPathCount(); /** + * + * *
      * The identifier for the column. Each entry in `path` represents one level
      * of nesting.
      * 
* * repeated string path = 1; + * * @param index The index of the element to return. * @return The path at the given index. */ java.lang.String getPath(int index); /** + * + * *
      * The identifier for the column. Each entry in `path` represents one level
      * of nesting.
      * 
* * repeated string path = 1; + * * @param index The index of the value to return. * @return The bytes of the path at the given index. */ - com.google.protobuf.ByteString - getPathBytes(int index); + com.google.protobuf.ByteString getPathBytes(int index); /** + * + * *
      * A textual description of the column.
      * 
* * string description = 2; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
      * A textual description of the column.
      * 
* * string description = 2; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
      * A list of BigQuery policy tags that will be applied to the column.
      * 
* * repeated string bigquery_policy_tags = 3; + * * @return A list containing the bigqueryPolicyTags. */ - java.util.List - getBigqueryPolicyTagsList(); + java.util.List getBigqueryPolicyTagsList(); /** + * + * *
      * A list of BigQuery policy tags that will be applied to the column.
      * 
* * repeated string bigquery_policy_tags = 3; + * * @return The count of bigqueryPolicyTags. */ int getBigqueryPolicyTagsCount(); /** + * + * *
      * A list of BigQuery policy tags that will be applied to the column.
      * 
* * repeated string bigquery_policy_tags = 3; + * * @param index The index of the element to return. * @return The bigqueryPolicyTags at the given index. */ java.lang.String getBigqueryPolicyTags(int index); /** + * + * *
      * A list of BigQuery policy tags that will be applied to the column.
      * 
* * repeated string bigquery_policy_tags = 3; + * * @param index The index of the value to return. * @return The bytes of the bigqueryPolicyTags at the given index. */ - com.google.protobuf.ByteString - getBigqueryPolicyTagsBytes(int index); + com.google.protobuf.ByteString getBigqueryPolicyTagsBytes(int index); } /** + * + * *
    * Describes a column.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor} */ - public static final class ColumnDescriptor extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ColumnDescriptor extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor) ColumnDescriptorOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ColumnDescriptor.newBuilder() to construct. private ColumnDescriptor(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ColumnDescriptor() { path_ = com.google.protobuf.LazyStringArrayList.EMPTY; description_ = ""; @@ -266,16 +324,15 @@ private ColumnDescriptor() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ColumnDescriptor(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ColumnDescriptor( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -295,37 +352,40 @@ private ColumnDescriptor( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - path_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + path_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + path_.add(s); + break; } - path_.add(s); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - bigqueryPolicyTags_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + description_ = s; + break; } - bigqueryPolicyTags_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + bigqueryPolicyTags_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + bigqueryPolicyTags_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -333,8 +393,7 @@ private ColumnDescriptor( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { path_ = path_.getUnmodifiableView(); @@ -346,53 +405,64 @@ private ColumnDescriptor( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_ColumnDescriptor_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_ColumnDescriptor_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_ColumnDescriptor_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_ColumnDescriptor_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.class, com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.Builder.class); + com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.class, + com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.Builder.class); } public static final int PATH_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList path_; /** + * + * *
      * The identifier for the column. Each entry in `path` represents one level
      * of nesting.
      * 
* * repeated string path = 1; + * * @return A list containing the path. */ - public com.google.protobuf.ProtocolStringList - getPathList() { + public com.google.protobuf.ProtocolStringList getPathList() { return path_; } /** + * + * *
      * The identifier for the column. Each entry in `path` represents one level
      * of nesting.
      * 
* * repeated string path = 1; + * * @return The count of path. */ public int getPathCount() { return path_.size(); } /** + * + * *
      * The identifier for the column. Each entry in `path` represents one level
      * of nesting.
      * 
* * repeated string path = 1; + * * @param index The index of the element to return. * @return The path at the given index. */ @@ -400,28 +470,33 @@ public java.lang.String getPath(int index) { return path_.get(index); } /** + * + * *
      * The identifier for the column. Each entry in `path` represents one level
      * of nesting.
      * 
* * repeated string path = 1; + * * @param index The index of the value to return. * @return The bytes of the path at the given index. */ - public com.google.protobuf.ByteString - getPathBytes(int index) { + public com.google.protobuf.ByteString getPathBytes(int index) { return path_.getByteString(index); } public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** + * + * *
      * A textual description of the column.
      * 
* * string description = 2; + * * @return The description. */ @java.lang.Override @@ -430,29 +505,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
      * A textual description of the column.
      * 
* * string description = 2; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -463,34 +538,42 @@ public java.lang.String getDescription() { public static final int BIGQUERY_POLICY_TAGS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList bigqueryPolicyTags_; /** + * + * *
      * A list of BigQuery policy tags that will be applied to the column.
      * 
* * repeated string bigquery_policy_tags = 3; + * * @return A list containing the bigqueryPolicyTags. */ - public com.google.protobuf.ProtocolStringList - getBigqueryPolicyTagsList() { + public com.google.protobuf.ProtocolStringList getBigqueryPolicyTagsList() { return bigqueryPolicyTags_; } /** + * + * *
      * A list of BigQuery policy tags that will be applied to the column.
      * 
* * repeated string bigquery_policy_tags = 3; + * * @return The count of bigqueryPolicyTags. */ public int getBigqueryPolicyTagsCount() { return bigqueryPolicyTags_.size(); } /** + * + * *
      * A list of BigQuery policy tags that will be applied to the column.
      * 
* * repeated string bigquery_policy_tags = 3; + * * @param index The index of the element to return. * @return The bigqueryPolicyTags at the given index. */ @@ -498,20 +581,23 @@ public java.lang.String getBigqueryPolicyTags(int index) { return bigqueryPolicyTags_.get(index); } /** + * + * *
      * A list of BigQuery policy tags that will be applied to the column.
      * 
* * repeated string bigquery_policy_tags = 3; + * * @param index The index of the value to return. * @return The bytes of the bigqueryPolicyTags at the given index. */ - public com.google.protobuf.ByteString - getBigqueryPolicyTagsBytes(int index) { + public com.google.protobuf.ByteString getBigqueryPolicyTagsBytes(int index) { return bigqueryPolicyTags_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -523,8 +609,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < path_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, path_.getRaw(i)); } @@ -532,7 +617,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 2, description_); } for (int i = 0; i < bigqueryPolicyTags_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, bigqueryPolicyTags_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 3, bigqueryPolicyTags_.getRaw(i)); } unknownFields.writeTo(output); } @@ -570,19 +656,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor)) { + if (!(obj + instanceof com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor other = (com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor) obj; + com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor other = + (com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor) obj; - if (!getPathList() - .equals(other.getPathList())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getBigqueryPolicyTagsList() - .equals(other.getBigqueryPolicyTagsList())) return false; + if (!getPathList().equals(other.getPathList())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getBigqueryPolicyTagsList().equals(other.getBigqueryPolicyTagsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -610,87 +695,95 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -700,44 +793,50 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Describes a column.
      * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor) com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_ColumnDescriptor_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_ColumnDescriptor_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_ColumnDescriptor_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_ColumnDescriptor_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.class, com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.Builder.class); + com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.class, + com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.Builder + .class); } - // Construct using com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.newBuilder() + // Construct using + // com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -751,19 +850,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_ColumnDescriptor_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_ColumnDescriptor_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor getDefaultInstanceForType() { - return com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.getDefaultInstance(); + public com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor + getDefaultInstanceForType() { + return com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor build() { - com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor result = buildPartial(); + com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -772,7 +874,8 @@ public com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor bu @java.lang.Override public com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor buildPartial() { - com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor result = new com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor(this); + com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor result = + new com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { path_ = path_.getUnmodifiableView(); @@ -793,46 +896,54 @@ public com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor bu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor)other); + if (other + instanceof com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor) { + return mergeFrom( + (com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor other) { - if (other == com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor other) { + if (other + == com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor + .getDefaultInstance()) return this; if (!other.path_.isEmpty()) { if (path_.isEmpty()) { path_ = other.path_; @@ -876,7 +987,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -885,47 +998,58 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList path_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList path_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensurePathIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { path_ = new com.google.protobuf.LazyStringArrayList(path_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
        * The identifier for the column. Each entry in `path` represents one level
        * of nesting.
        * 
* * repeated string path = 1; + * * @return A list containing the path. */ - public com.google.protobuf.ProtocolStringList - getPathList() { + public com.google.protobuf.ProtocolStringList getPathList() { return path_.getUnmodifiableView(); } /** + * + * *
        * The identifier for the column. Each entry in `path` represents one level
        * of nesting.
        * 
* * repeated string path = 1; + * * @return The count of path. */ public int getPathCount() { return path_.size(); } /** + * + * *
        * The identifier for the column. Each entry in `path` represents one level
        * of nesting.
        * 
* * repeated string path = 1; + * * @param index The index of the element to return. * @return The path at the given index. */ @@ -933,85 +1057,95 @@ public java.lang.String getPath(int index) { return path_.get(index); } /** + * + * *
        * The identifier for the column. Each entry in `path` represents one level
        * of nesting.
        * 
* * repeated string path = 1; + * * @param index The index of the value to return. * @return The bytes of the path at the given index. */ - public com.google.protobuf.ByteString - getPathBytes(int index) { + public com.google.protobuf.ByteString getPathBytes(int index) { return path_.getByteString(index); } /** + * + * *
        * The identifier for the column. Each entry in `path` represents one level
        * of nesting.
        * 
* * repeated string path = 1; + * * @param index The index to set the value at. * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath( - int index, java.lang.String value) { + public Builder setPath(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePathIsMutable(); + throw new NullPointerException(); + } + ensurePathIsMutable(); path_.set(index, value); onChanged(); return this; } /** + * + * *
        * The identifier for the column. Each entry in `path` represents one level
        * of nesting.
        * 
* * repeated string path = 1; + * * @param value The path to add. * @return This builder for chaining. */ - public Builder addPath( - java.lang.String value) { + public Builder addPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePathIsMutable(); + throw new NullPointerException(); + } + ensurePathIsMutable(); path_.add(value); onChanged(); return this; } /** + * + * *
        * The identifier for the column. Each entry in `path` represents one level
        * of nesting.
        * 
* * repeated string path = 1; + * * @param values The path to add. * @return This builder for chaining. */ - public Builder addAllPath( - java.lang.Iterable values) { + public Builder addAllPath(java.lang.Iterable values) { ensurePathIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, path_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, path_); onChanged(); return this; } /** + * + * *
        * The identifier for the column. Each entry in `path` represents one level
        * of nesting.
        * 
* * repeated string path = 1; + * * @return This builder for chaining. */ public Builder clearPath() { @@ -1021,21 +1155,23 @@ public Builder clearPath() { return this; } /** + * + * *
        * The identifier for the column. Each entry in `path` represents one level
        * of nesting.
        * 
* * repeated string path = 1; + * * @param value The bytes of the path to add. * @return This builder for chaining. */ - public Builder addPathBytes( - com.google.protobuf.ByteString value) { + public Builder addPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensurePathIsMutable(); path_.add(value); onChanged(); @@ -1044,18 +1180,20 @@ public Builder addPathBytes( private java.lang.Object description_ = ""; /** + * + * *
        * A textual description of the column.
        * 
* * string description = 2; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1064,20 +1202,21 @@ public java.lang.String getDescription() { } } /** + * + * *
        * A textual description of the column.
        * 
* * string description = 2; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -1085,95 +1224,112 @@ public java.lang.String getDescription() { } } /** + * + * *
        * A textual description of the column.
        * 
* * string description = 2; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
        * A textual description of the column.
        * 
* * string description = 2; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
        * A textual description of the column.
        * 
* * string description = 2; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList bigqueryPolicyTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList bigqueryPolicyTags_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureBigqueryPolicyTagsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { bigqueryPolicyTags_ = new com.google.protobuf.LazyStringArrayList(bigqueryPolicyTags_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
        * A list of BigQuery policy tags that will be applied to the column.
        * 
* * repeated string bigquery_policy_tags = 3; + * * @return A list containing the bigqueryPolicyTags. */ - public com.google.protobuf.ProtocolStringList - getBigqueryPolicyTagsList() { + public com.google.protobuf.ProtocolStringList getBigqueryPolicyTagsList() { return bigqueryPolicyTags_.getUnmodifiableView(); } /** + * + * *
        * A list of BigQuery policy tags that will be applied to the column.
        * 
* * repeated string bigquery_policy_tags = 3; + * * @return The count of bigqueryPolicyTags. */ public int getBigqueryPolicyTagsCount() { return bigqueryPolicyTags_.size(); } /** + * + * *
        * A list of BigQuery policy tags that will be applied to the column.
        * 
* * repeated string bigquery_policy_tags = 3; + * * @param index The index of the element to return. * @return The bigqueryPolicyTags at the given index. */ @@ -1181,80 +1337,90 @@ public java.lang.String getBigqueryPolicyTags(int index) { return bigqueryPolicyTags_.get(index); } /** + * + * *
        * A list of BigQuery policy tags that will be applied to the column.
        * 
* * repeated string bigquery_policy_tags = 3; + * * @param index The index of the value to return. * @return The bytes of the bigqueryPolicyTags at the given index. */ - public com.google.protobuf.ByteString - getBigqueryPolicyTagsBytes(int index) { + public com.google.protobuf.ByteString getBigqueryPolicyTagsBytes(int index) { return bigqueryPolicyTags_.getByteString(index); } /** + * + * *
        * A list of BigQuery policy tags that will be applied to the column.
        * 
* * repeated string bigquery_policy_tags = 3; + * * @param index The index to set the value at. * @param value The bigqueryPolicyTags to set. * @return This builder for chaining. */ - public Builder setBigqueryPolicyTags( - int index, java.lang.String value) { + public Builder setBigqueryPolicyTags(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureBigqueryPolicyTagsIsMutable(); + throw new NullPointerException(); + } + ensureBigqueryPolicyTagsIsMutable(); bigqueryPolicyTags_.set(index, value); onChanged(); return this; } /** + * + * *
        * A list of BigQuery policy tags that will be applied to the column.
        * 
* * repeated string bigquery_policy_tags = 3; + * * @param value The bigqueryPolicyTags to add. * @return This builder for chaining. */ - public Builder addBigqueryPolicyTags( - java.lang.String value) { + public Builder addBigqueryPolicyTags(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureBigqueryPolicyTagsIsMutable(); + throw new NullPointerException(); + } + ensureBigqueryPolicyTagsIsMutable(); bigqueryPolicyTags_.add(value); onChanged(); return this; } /** + * + * *
        * A list of BigQuery policy tags that will be applied to the column.
        * 
* * repeated string bigquery_policy_tags = 3; + * * @param values The bigqueryPolicyTags to add. * @return This builder for chaining. */ - public Builder addAllBigqueryPolicyTags( - java.lang.Iterable values) { + public Builder addAllBigqueryPolicyTags(java.lang.Iterable values) { ensureBigqueryPolicyTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, bigqueryPolicyTags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, bigqueryPolicyTags_); onChanged(); return this; } /** + * + * *
        * A list of BigQuery policy tags that will be applied to the column.
        * 
* * repeated string bigquery_policy_tags = 3; + * * @return This builder for chaining. */ public Builder clearBigqueryPolicyTags() { @@ -1264,25 +1430,28 @@ public Builder clearBigqueryPolicyTags() { return this; } /** + * + * *
        * A list of BigQuery policy tags that will be applied to the column.
        * 
* * repeated string bigquery_policy_tags = 3; + * * @param value The bytes of the bigqueryPolicyTags to add. * @return This builder for chaining. */ - public Builder addBigqueryPolicyTagsBytes( - com.google.protobuf.ByteString value) { + public Builder addBigqueryPolicyTagsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureBigqueryPolicyTagsIsMutable(); bigqueryPolicyTags_.add(value); onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1295,30 +1464,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor) - private static final com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor(); + DEFAULT_INSTANCE = + new com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor(); } - public static com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ColumnDescriptor parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ColumnDescriptor(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ColumnDescriptor parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ColumnDescriptor(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1330,20 +1502,23 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int DESCRIPTION_FIELD_NUMBER = 1; private volatile java.lang.Object description_; /** + * + * *
    * A text description of the relation.
    * 
* * string description = 1; + * * @return The description. */ @java.lang.Override @@ -1352,29 +1527,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * A text description of the relation.
    * 
* * string description = 1; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -1383,81 +1558,101 @@ public java.lang.String getDescription() { } public static final int COLUMNS_FIELD_NUMBER = 2; - private java.util.List columns_; + private java.util.List + columns_; /** + * + * *
    * A list of descriptions of columns within the relation.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * */ @java.lang.Override - public java.util.List getColumnsList() { + public java.util.List + getColumnsList() { return columns_; } /** + * + * *
    * A list of descriptions of columns within the relation.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptorOrBuilder> getColumnsOrBuilderList() { return columns_; } /** + * + * *
    * A list of descriptions of columns within the relation.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * */ @java.lang.Override public int getColumnsCount() { return columns_.size(); } /** + * + * *
    * A list of descriptions of columns within the relation.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor getColumns(int index) { + public com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor getColumns( + int index) { return columns_.get(index); } /** + * + * *
    * A list of descriptions of columns within the relation.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptorOrBuilder getColumnsOrBuilder( - int index) { + public com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptorOrBuilder + getColumnsOrBuilder(int index) { return columns_.get(index); } public static final int BIGQUERY_LABELS_FIELD_NUMBER = 3; + private static final class BigqueryLabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_BigqueryLabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_BigqueryLabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> bigqueryLabels_; + + private com.google.protobuf.MapField bigqueryLabels_; + private com.google.protobuf.MapField - internalGetBigqueryLabels() { + internalGetBigqueryLabels() { if (bigqueryLabels_ == null) { return com.google.protobuf.MapField.emptyMapField( BigqueryLabelsDefaultEntryHolder.defaultEntry); @@ -1469,28 +1664,30 @@ public int getBigqueryLabelsCount() { return internalGetBigqueryLabels().getMap().size(); } /** + * + * *
    * A set of BigQuery labels that should be applied to the relation.
    * 
* * map<string, string> bigquery_labels = 3; */ - @java.lang.Override - public boolean containsBigqueryLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsBigqueryLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetBigqueryLabels().getMap().containsKey(key); } - /** - * Use {@link #getBigqueryLabelsMap()} instead. - */ + /** Use {@link #getBigqueryLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getBigqueryLabels() { return getBigqueryLabelsMap(); } /** + * + * *
    * A set of BigQuery labels that should be applied to the relation.
    * 
@@ -1498,11 +1695,12 @@ public java.util.Map getBigqueryLabels() { * map<string, string> bigquery_labels = 3; */ @java.lang.Override - public java.util.Map getBigqueryLabelsMap() { return internalGetBigqueryLabels().getMap(); } /** + * + * *
    * A set of BigQuery labels that should be applied to the relation.
    * 
@@ -1510,16 +1708,17 @@ public java.util.Map getBigqueryLabelsMap() * map<string, string> bigquery_labels = 3; */ @java.lang.Override - public java.lang.String getBigqueryLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetBigqueryLabels().getMap(); + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetBigqueryLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * A set of BigQuery labels that should be applied to the relation.
    * 
@@ -1527,12 +1726,11 @@ public java.lang.String getBigqueryLabelsOrDefault( * map<string, string> bigquery_labels = 3; */ @java.lang.Override - - public java.lang.String getBigqueryLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetBigqueryLabels().getMap(); + public java.lang.String getBigqueryLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetBigqueryLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1540,6 +1738,7 @@ public java.lang.String getBigqueryLabelsOrThrow( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1551,20 +1750,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, description_); } for (int i = 0; i < columns_.size(); i++) { output.writeMessage(2, columns_.get(i)); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetBigqueryLabels(), - BigqueryLabelsDefaultEntryHolder.defaultEntry, - 3); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetBigqueryLabels(), BigqueryLabelsDefaultEntryHolder.defaultEntry, 3); unknownFields.writeTo(output); } @@ -1578,18 +1772,17 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, description_); } for (int i = 0; i < columns_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, columns_.get(i)); - } - for (java.util.Map.Entry entry - : internalGetBigqueryLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry - bigqueryLabels__ = BigqueryLabelsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, bigqueryLabels__); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, columns_.get(i)); + } + for (java.util.Map.Entry entry : + internalGetBigqueryLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry bigqueryLabels__ = + BigqueryLabelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, bigqueryLabels__); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1599,19 +1792,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.RelationDescriptor)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.RelationDescriptor other = (com.google.cloud.dataform.v1alpha2.RelationDescriptor) obj; + com.google.cloud.dataform.v1alpha2.RelationDescriptor other = + (com.google.cloud.dataform.v1alpha2.RelationDescriptor) obj; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getColumnsList() - .equals(other.getColumnsList())) return false; - if (!internalGetBigqueryLabels().equals( - other.internalGetBigqueryLabels())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getColumnsList().equals(other.getColumnsList())) return false; + if (!internalGetBigqueryLabels().equals(other.internalGetBigqueryLabels())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1639,139 +1830,147 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.RelationDescriptor parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.RelationDescriptor parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.RelationDescriptor parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.RelationDescriptor parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.RelationDescriptor parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.RelationDescriptor parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.RelationDescriptor parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.RelationDescriptor parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.RelationDescriptor parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.RelationDescriptor parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.RelationDescriptor parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.RelationDescriptor parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.RelationDescriptor parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.RelationDescriptor parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.RelationDescriptor prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.RelationDescriptor prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Describes a relation and its columns.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.RelationDescriptor} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.RelationDescriptor) com.google.cloud.dataform.v1alpha2.RelationDescriptorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 3: return internalGetBigqueryLabels(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 3: return internalGetMutableBigqueryLabels(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.RelationDescriptor.class, com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder.class); + com.google.cloud.dataform.v1alpha2.RelationDescriptor.class, + com.google.cloud.dataform.v1alpha2.RelationDescriptor.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.RelationDescriptor.newBuilder() @@ -1779,17 +1978,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getColumnsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -1806,9 +2005,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_RelationDescriptor_descriptor; } @java.lang.Override @@ -1827,7 +2026,8 @@ public com.google.cloud.dataform.v1alpha2.RelationDescriptor build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.RelationDescriptor buildPartial() { - com.google.cloud.dataform.v1alpha2.RelationDescriptor result = new com.google.cloud.dataform.v1alpha2.RelationDescriptor(this); + com.google.cloud.dataform.v1alpha2.RelationDescriptor result = + new com.google.cloud.dataform.v1alpha2.RelationDescriptor(this); int from_bitField0_ = bitField0_; result.description_ = description_; if (columnsBuilder_ == null) { @@ -1849,38 +2049,39 @@ public com.google.cloud.dataform.v1alpha2.RelationDescriptor buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.RelationDescriptor) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.RelationDescriptor)other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.RelationDescriptor) other); } else { super.mergeFrom(other); return this; @@ -1888,7 +2089,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.RelationDescriptor other) { - if (other == com.google.cloud.dataform.v1alpha2.RelationDescriptor.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1alpha2.RelationDescriptor.getDefaultInstance()) + return this; if (!other.getDescription().isEmpty()) { description_ = other.description_; onChanged(); @@ -1911,16 +2113,16 @@ public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.RelationDescriptor o columnsBuilder_ = null; columns_ = other.columns_; bitField0_ = (bitField0_ & ~0x00000001); - columnsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getColumnsFieldBuilder() : null; + columnsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getColumnsFieldBuilder() + : null; } else { columnsBuilder_.addAllMessages(other.columns_); } } } - internalGetMutableBigqueryLabels().mergeFrom( - other.internalGetBigqueryLabels()); + internalGetMutableBigqueryLabels().mergeFrom(other.internalGetBigqueryLabels()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1940,7 +2142,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.RelationDescriptor) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.RelationDescriptor) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1949,22 +2152,25 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object description_ = ""; /** + * + * *
      * A text description of the relation.
      * 
* * string description = 1; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1973,20 +2179,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * A text description of the relation.
      * 
* * string description = 1; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -1994,79 +2201,97 @@ public java.lang.String getDescription() { } } /** + * + * *
      * A text description of the relation.
      * 
* * string description = 1; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * A text description of the relation.
      * 
* * string description = 1; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * A text description of the relation.
      * 
* * string description = 1; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private java.util.List columns_ = - java.util.Collections.emptyList(); + private java.util.List + columns_ = java.util.Collections.emptyList(); + private void ensureColumnsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - columns_ = new java.util.ArrayList(columns_); + columns_ = + new java.util.ArrayList< + com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor>(columns_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor, com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.Builder, com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptorOrBuilder> columnsBuilder_; + com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor, + com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.Builder, + com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptorOrBuilder> + columnsBuilder_; /** + * + * *
      * A list of descriptions of columns within the relation.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * */ - public java.util.List getColumnsList() { + public java.util.List + getColumnsList() { if (columnsBuilder_ == null) { return java.util.Collections.unmodifiableList(columns_); } else { @@ -2074,11 +2299,15 @@ public java.util.List * A list of descriptions of columns within the relation. *
* - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * */ public int getColumnsCount() { if (columnsBuilder_ == null) { @@ -2088,13 +2317,18 @@ public int getColumnsCount() { } } /** + * + * *
      * A list of descriptions of columns within the relation.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * */ - public com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor getColumns(int index) { + public com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor getColumns( + int index) { if (columnsBuilder_ == null) { return columns_.get(index); } else { @@ -2102,11 +2336,15 @@ public com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor ge } } /** + * + * *
      * A list of descriptions of columns within the relation.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * */ public Builder setColumns( int index, com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor value) { @@ -2123,14 +2361,20 @@ public Builder setColumns( return this; } /** + * + * *
      * A list of descriptions of columns within the relation.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * */ public Builder setColumns( - int index, com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.Builder builderForValue) { + int index, + com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.Builder + builderForValue) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); columns_.set(index, builderForValue.build()); @@ -2141,13 +2385,18 @@ public Builder setColumns( return this; } /** + * + * *
      * A list of descriptions of columns within the relation.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * */ - public Builder addColumns(com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor value) { + public Builder addColumns( + com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor value) { if (columnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2161,11 +2410,15 @@ public Builder addColumns(com.google.cloud.dataform.v1alpha2.RelationDescriptor. return this; } /** + * + * *
      * A list of descriptions of columns within the relation.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * */ public Builder addColumns( int index, com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor value) { @@ -2182,14 +2435,19 @@ public Builder addColumns( return this; } /** + * + * *
      * A list of descriptions of columns within the relation.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * */ public Builder addColumns( - com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.Builder builderForValue) { + com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.Builder + builderForValue) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); columns_.add(builderForValue.build()); @@ -2200,14 +2458,20 @@ public Builder addColumns( return this; } /** + * + * *
      * A list of descriptions of columns within the relation.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * */ public Builder addColumns( - int index, com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.Builder builderForValue) { + int index, + com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.Builder + builderForValue) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); columns_.add(index, builderForValue.build()); @@ -2218,18 +2482,23 @@ public Builder addColumns( return this; } /** + * + * *
      * A list of descriptions of columns within the relation.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * */ public Builder addAllColumns( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor> + values) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, columns_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, columns_); onChanged(); } else { columnsBuilder_.addAllMessages(values); @@ -2237,11 +2506,15 @@ public Builder addAllColumns( return this; } /** + * + * *
      * A list of descriptions of columns within the relation.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * */ public Builder clearColumns() { if (columnsBuilder_ == null) { @@ -2254,11 +2527,15 @@ public Builder clearColumns() { return this; } /** + * + * *
      * A list of descriptions of columns within the relation.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * */ public Builder removeColumns(int index) { if (columnsBuilder_ == null) { @@ -2271,39 +2548,54 @@ public Builder removeColumns(int index) { return this; } /** + * + * *
      * A list of descriptions of columns within the relation.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * */ - public com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.Builder getColumnsBuilder( - int index) { + public com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.Builder + getColumnsBuilder(int index) { return getColumnsFieldBuilder().getBuilder(index); } /** + * + * *
      * A list of descriptions of columns within the relation.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * */ - public com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptorOrBuilder getColumnsOrBuilder( - int index) { + public com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptorOrBuilder + getColumnsOrBuilder(int index) { if (columnsBuilder_ == null) { - return columns_.get(index); } else { + return columns_.get(index); + } else { return columnsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * A list of descriptions of columns within the relation.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * */ - public java.util.List - getColumnsOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptorOrBuilder> + getColumnsOrBuilderList() { if (columnsBuilder_ != null) { return columnsBuilder_.getMessageOrBuilderList(); } else { @@ -2311,70 +2603,94 @@ public com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptorOrB } } /** + * + * *
      * A list of descriptions of columns within the relation.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * */ - public com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.Builder addColumnsBuilder() { - return getColumnsFieldBuilder().addBuilder( - com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.getDefaultInstance()); + public com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.Builder + addColumnsBuilder() { + return getColumnsFieldBuilder() + .addBuilder( + com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor + .getDefaultInstance()); } /** + * + * *
      * A list of descriptions of columns within the relation.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * */ - public com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.Builder addColumnsBuilder( - int index) { - return getColumnsFieldBuilder().addBuilder( - index, com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.getDefaultInstance()); + public com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.Builder + addColumnsBuilder(int index) { + return getColumnsFieldBuilder() + .addBuilder( + index, + com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor + .getDefaultInstance()); } /** + * + * *
      * A list of descriptions of columns within the relation.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * */ - public java.util.List - getColumnsBuilderList() { + public java.util.List< + com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.Builder> + getColumnsBuilderList() { return getColumnsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor, com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.Builder, com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptorOrBuilder> + com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor, + com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.Builder, + com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptorOrBuilder> getColumnsFieldBuilder() { if (columnsBuilder_ == null) { - columnsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor, com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.Builder, com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptorOrBuilder>( - columns_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + columnsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor, + com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor.Builder, + com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptorOrBuilder>( + columns_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); columns_ = null; } return columnsBuilder_; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> bigqueryLabels_; + private com.google.protobuf.MapField bigqueryLabels_; + private com.google.protobuf.MapField - internalGetBigqueryLabels() { + internalGetBigqueryLabels() { if (bigqueryLabels_ == null) { return com.google.protobuf.MapField.emptyMapField( BigqueryLabelsDefaultEntryHolder.defaultEntry); } return bigqueryLabels_; } + private com.google.protobuf.MapField - internalGetMutableBigqueryLabels() { - onChanged();; + internalGetMutableBigqueryLabels() { + onChanged(); + ; if (bigqueryLabels_ == null) { - bigqueryLabels_ = com.google.protobuf.MapField.newMapField( - BigqueryLabelsDefaultEntryHolder.defaultEntry); + bigqueryLabels_ = + com.google.protobuf.MapField.newMapField(BigqueryLabelsDefaultEntryHolder.defaultEntry); } if (!bigqueryLabels_.isMutable()) { bigqueryLabels_ = bigqueryLabels_.copy(); @@ -2386,28 +2702,30 @@ public int getBigqueryLabelsCount() { return internalGetBigqueryLabels().getMap().size(); } /** + * + * *
      * A set of BigQuery labels that should be applied to the relation.
      * 
* * map<string, string> bigquery_labels = 3; */ - @java.lang.Override - public boolean containsBigqueryLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsBigqueryLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetBigqueryLabels().getMap().containsKey(key); } - /** - * Use {@link #getBigqueryLabelsMap()} instead. - */ + /** Use {@link #getBigqueryLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getBigqueryLabels() { return getBigqueryLabelsMap(); } /** + * + * *
      * A set of BigQuery labels that should be applied to the relation.
      * 
@@ -2415,11 +2733,12 @@ public java.util.Map getBigqueryLabels() { * map<string, string> bigquery_labels = 3; */ @java.lang.Override - public java.util.Map getBigqueryLabelsMap() { return internalGetBigqueryLabels().getMap(); } /** + * + * *
      * A set of BigQuery labels that should be applied to the relation.
      * 
@@ -2427,16 +2746,17 @@ public java.util.Map getBigqueryLabelsMap() * map<string, string> bigquery_labels = 3; */ @java.lang.Override - public java.lang.String getBigqueryLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetBigqueryLabels().getMap(); + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetBigqueryLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * A set of BigQuery labels that should be applied to the relation.
      * 
@@ -2444,12 +2764,11 @@ public java.lang.String getBigqueryLabelsOrDefault( * map<string, string> bigquery_labels = 3; */ @java.lang.Override - - public java.lang.String getBigqueryLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetBigqueryLabels().getMap(); + public java.lang.String getBigqueryLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetBigqueryLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -2457,69 +2776,66 @@ public java.lang.String getBigqueryLabelsOrThrow( } public Builder clearBigqueryLabels() { - internalGetMutableBigqueryLabels().getMutableMap() - .clear(); + internalGetMutableBigqueryLabels().getMutableMap().clear(); return this; } /** + * + * *
      * A set of BigQuery labels that should be applied to the relation.
      * 
* * map<string, string> bigquery_labels = 3; */ - - public Builder removeBigqueryLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableBigqueryLabels().getMutableMap() - .remove(key); + public Builder removeBigqueryLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableBigqueryLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableBigqueryLabels() { + public java.util.Map getMutableBigqueryLabels() { return internalGetMutableBigqueryLabels().getMutableMap(); } /** + * + * *
      * A set of BigQuery labels that should be applied to the relation.
      * 
* * map<string, string> bigquery_labels = 3; */ - public Builder putBigqueryLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } + public Builder putBigqueryLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } if (value == null) { - throw new NullPointerException("map value"); -} + throw new NullPointerException("map value"); + } - internalGetMutableBigqueryLabels().getMutableMap() - .put(key, value); + internalGetMutableBigqueryLabels().getMutableMap().put(key, value); return this; } /** + * + * *
      * A set of BigQuery labels that should be applied to the relation.
      * 
* * map<string, string> bigquery_labels = 3; */ - - public Builder putAllBigqueryLabels( - java.util.Map values) { - internalGetMutableBigqueryLabels().getMutableMap() - .putAll(values); + public Builder putAllBigqueryLabels(java.util.Map values) { + internalGetMutableBigqueryLabels().getMutableMap().putAll(values); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2529,12 +2845,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.RelationDescriptor) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.RelationDescriptor) private static final com.google.cloud.dataform.v1alpha2.RelationDescriptor DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.RelationDescriptor(); } @@ -2543,16 +2859,16 @@ public static com.google.cloud.dataform.v1alpha2.RelationDescriptor getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RelationDescriptor parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RelationDescriptor(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RelationDescriptor parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RelationDescriptor(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2567,6 +2883,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.RelationDescriptor getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RelationDescriptorOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RelationDescriptorOrBuilder.java similarity index 62% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RelationDescriptorOrBuilder.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RelationDescriptorOrBuilder.java index e3735b1..866bac0 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RelationDescriptorOrBuilder.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RelationDescriptorOrBuilder.java @@ -1,77 +1,116 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface RelationDescriptorOrBuilder extends +public interface RelationDescriptorOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.RelationDescriptor) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A text description of the relation.
    * 
* * string description = 1; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * A text description of the relation.
    * 
* * string description = 1; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * A list of descriptions of columns within the relation.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * */ - java.util.List + java.util.List getColumnsList(); /** + * + * *
    * A list of descriptions of columns within the relation.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * */ com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor getColumns(int index); /** + * + * *
    * A list of descriptions of columns within the relation.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * */ int getColumnsCount(); /** + * + * *
    * A list of descriptions of columns within the relation.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * */ - java.util.List + java.util.List< + ? extends com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptorOrBuilder> getColumnsOrBuilderList(); /** + * + * *
    * A list of descriptions of columns within the relation.
    * 
* - * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * repeated .google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptor columns = 2; + * */ - com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptorOrBuilder getColumnsOrBuilder( - int index); + com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptorOrBuilder + getColumnsOrBuilder(int index); /** + * + * *
    * A set of BigQuery labels that should be applied to the relation.
    * 
@@ -80,30 +119,31 @@ com.google.cloud.dataform.v1alpha2.RelationDescriptor.ColumnDescriptorOrBuilder */ int getBigqueryLabelsCount(); /** + * + * *
    * A set of BigQuery labels that should be applied to the relation.
    * 
* * map<string, string> bigquery_labels = 3; */ - boolean containsBigqueryLabels( - java.lang.String key); - /** - * Use {@link #getBigqueryLabelsMap()} instead. - */ + boolean containsBigqueryLabels(java.lang.String key); + /** Use {@link #getBigqueryLabelsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getBigqueryLabels(); + java.util.Map getBigqueryLabels(); /** + * + * *
    * A set of BigQuery labels that should be applied to the relation.
    * 
* * map<string, string> bigquery_labels = 3; */ - java.util.Map - getBigqueryLabelsMap(); + java.util.Map getBigqueryLabelsMap(); /** + * + * *
    * A set of BigQuery labels that should be applied to the relation.
    * 
@@ -112,18 +152,18 @@ boolean containsBigqueryLabels( */ /* nullable */ -java.lang.String getBigqueryLabelsOrDefault( + java.lang.String getBigqueryLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * A set of BigQuery labels that should be applied to the relation.
    * 
* * map<string, string> bigquery_labels = 3; */ - - java.lang.String getBigqueryLabelsOrThrow( - java.lang.String key); + java.lang.String getBigqueryLabelsOrThrow(java.lang.String key); } diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveDirectoryRequest.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveDirectoryRequest.java similarity index 66% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveDirectoryRequest.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveDirectoryRequest.java index 2c2aa11..d466b60 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveDirectoryRequest.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveDirectoryRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * `RemoveDirectory` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.RemoveDirectoryRequest} */ -public final class RemoveDirectoryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RemoveDirectoryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.RemoveDirectoryRequest) RemoveDirectoryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RemoveDirectoryRequest.newBuilder() to construct. private RemoveDirectoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RemoveDirectoryRequest() { workspace_ = ""; path_ = ""; @@ -26,16 +44,15 @@ private RemoveDirectoryRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RemoveDirectoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RemoveDirectoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private RemoveDirectoryRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - workspace_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + workspace_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - path_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + path_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +99,41 @@ private RemoveDirectoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_RemoveDirectoryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_RemoveDirectoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_RemoveDirectoryRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_RemoveDirectoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest.class, com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest.class, + com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest.Builder.class); } public static final int WORKSPACE_FIELD_NUMBER = 1; private volatile java.lang.Object workspace_; /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ @java.lang.Override @@ -116,29 +142,31 @@ public java.lang.String getWorkspace() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; } } /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ @java.lang.Override - public com.google.protobuf.ByteString - getWorkspaceBytes() { + public com.google.protobuf.ByteString getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workspace_ = b; return b; } else { @@ -149,12 +177,15 @@ public java.lang.String getWorkspace() { public static final int PATH_FIELD_NUMBER = 2; private volatile java.lang.Object path_; /** + * + * *
    * Required. The directory's full path including directory name, relative to the
    * workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The path. */ @java.lang.Override @@ -163,30 +194,30 @@ public java.lang.String getPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } } /** + * + * *
    * Required. The directory's full path including directory name, relative to the
    * workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for path. */ @java.lang.Override - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); path_ = b; return b; } else { @@ -195,6 +226,7 @@ public java.lang.String getPath() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,8 +238,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workspace_); } @@ -237,17 +268,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest other = (com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest) obj; + com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest other = + (com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest) obj; - if (!getWorkspace() - .equals(other.getWorkspace())) return false; - if (!getPath() - .equals(other.getPath())) return false; + if (!getWorkspace().equals(other.getWorkspace())) return false; + if (!getPath().equals(other.getPath())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -269,117 +299,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `RemoveDirectory` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.RemoveDirectoryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.RemoveDirectoryRequest) com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_RemoveDirectoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_RemoveDirectoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_RemoveDirectoryRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_RemoveDirectoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest.class, com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest.class, + com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest.newBuilder() @@ -387,16 +427,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -408,9 +447,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_RemoveDirectoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_RemoveDirectoryRequest_descriptor; } @java.lang.Override @@ -429,7 +468,8 @@ public com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest result = new com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest(this); + com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest result = + new com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest(this); result.workspace_ = workspace_; result.path_ = path_; onBuilt(); @@ -440,38 +480,39 @@ public com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest)other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest) other); } else { super.mergeFrom(other); return this; @@ -479,7 +520,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest.getDefaultInstance()) + return this; if (!other.getWorkspace().isEmpty()) { workspace_ = other.workspace_; onChanged(); @@ -507,7 +549,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -519,18 +562,22 @@ public Builder mergeFrom( private java.lang.Object workspace_ = ""; /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ public java.lang.String getWorkspace() { java.lang.Object ref = workspace_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; @@ -539,20 +586,23 @@ public java.lang.String getWorkspace() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ - public com.google.protobuf.ByteString - getWorkspaceBytes() { + public com.google.protobuf.ByteString getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workspace_ = b; return b; } else { @@ -560,54 +610,67 @@ public java.lang.String getWorkspace() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The workspace to set. * @return This builder for chaining. */ - public Builder setWorkspace( - java.lang.String value) { + public Builder setWorkspace(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + workspace_ = value; onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearWorkspace() { - + workspace_ = getDefaultInstance().getWorkspace(); onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for workspace to set. * @return This builder for chaining. */ - public Builder setWorkspaceBytes( - com.google.protobuf.ByteString value) { + public Builder setWorkspaceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workspace_ = value; onChanged(); return this; @@ -615,19 +678,21 @@ public Builder setWorkspaceBytes( private java.lang.Object path_ = ""; /** + * + * *
      * Required. The directory's full path including directory name, relative to the
      * workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; @@ -636,21 +701,22 @@ public java.lang.String getPath() { } } /** + * + * *
      * Required. The directory's full path including directory name, relative to the
      * workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for path. */ - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); path_ = b; return b; } else { @@ -658,64 +724,71 @@ public java.lang.String getPath() { } } /** + * + * *
      * Required. The directory's full path including directory name, relative to the
      * workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath( - java.lang.String value) { + public Builder setPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + path_ = value; onChanged(); return this; } /** + * + * *
      * Required. The directory's full path including directory name, relative to the
      * workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearPath() { - + path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** + * + * *
      * Required. The directory's full path including directory name, relative to the
      * workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes( - com.google.protobuf.ByteString value) { + public Builder setPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -725,12 +798,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.RemoveDirectoryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.RemoveDirectoryRequest) private static final com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest(); } @@ -739,16 +812,16 @@ public static com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RemoveDirectoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RemoveDirectoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RemoveDirectoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RemoveDirectoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -763,6 +836,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.RemoveDirectoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveDirectoryRequestOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveDirectoryRequestOrBuilder.java similarity index 50% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveDirectoryRequestOrBuilder.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveDirectoryRequestOrBuilder.java index c401712..de79ad8 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveDirectoryRequestOrBuilder.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveDirectoryRequestOrBuilder.java @@ -1,51 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface RemoveDirectoryRequestOrBuilder extends +public interface RemoveDirectoryRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.RemoveDirectoryRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ java.lang.String getWorkspace(); /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ - com.google.protobuf.ByteString - getWorkspaceBytes(); + com.google.protobuf.ByteString getWorkspaceBytes(); /** + * + * *
    * Required. The directory's full path including directory name, relative to the
    * workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The path. */ java.lang.String getPath(); /** + * + * *
    * Required. The directory's full path including directory name, relative to the
    * workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for path. */ - com.google.protobuf.ByteString - getPathBytes(); + com.google.protobuf.ByteString getPathBytes(); } diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveFileRequest.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveFileRequest.java similarity index 66% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveFileRequest.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveFileRequest.java index fb309ba..49d542d 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveFileRequest.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveFileRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * `RemoveFile` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.RemoveFileRequest} */ -public final class RemoveFileRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RemoveFileRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.RemoveFileRequest) RemoveFileRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RemoveFileRequest.newBuilder() to construct. private RemoveFileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RemoveFileRequest() { workspace_ = ""; path_ = ""; @@ -26,16 +44,15 @@ private RemoveFileRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RemoveFileRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RemoveFileRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private RemoveFileRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - workspace_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + workspace_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - path_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + path_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +99,41 @@ private RemoveFileRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_RemoveFileRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_RemoveFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_RemoveFileRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_RemoveFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.RemoveFileRequest.class, com.google.cloud.dataform.v1alpha2.RemoveFileRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.RemoveFileRequest.class, + com.google.cloud.dataform.v1alpha2.RemoveFileRequest.Builder.class); } public static final int WORKSPACE_FIELD_NUMBER = 1; private volatile java.lang.Object workspace_; /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ @java.lang.Override @@ -116,29 +142,31 @@ public java.lang.String getWorkspace() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; } } /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ @java.lang.Override - public com.google.protobuf.ByteString - getWorkspaceBytes() { + public com.google.protobuf.ByteString getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workspace_ = b; return b; } else { @@ -149,11 +177,14 @@ public java.lang.String getWorkspace() { public static final int PATH_FIELD_NUMBER = 2; private volatile java.lang.Object path_; /** + * + * *
    * Required. The file's full path including filename, relative to the workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The path. */ @java.lang.Override @@ -162,29 +193,29 @@ public java.lang.String getPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } } /** + * + * *
    * Required. The file's full path including filename, relative to the workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for path. */ @java.lang.Override - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); path_ = b; return b; } else { @@ -193,6 +224,7 @@ public java.lang.String getPath() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,8 +236,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workspace_); } @@ -235,17 +266,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.RemoveFileRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.RemoveFileRequest other = (com.google.cloud.dataform.v1alpha2.RemoveFileRequest) obj; + com.google.cloud.dataform.v1alpha2.RemoveFileRequest other = + (com.google.cloud.dataform.v1alpha2.RemoveFileRequest) obj; - if (!getWorkspace() - .equals(other.getWorkspace())) return false; - if (!getPath() - .equals(other.getPath())) return false; + if (!getWorkspace().equals(other.getWorkspace())) return false; + if (!getPath().equals(other.getPath())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -267,117 +297,126 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.RemoveFileRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.RemoveFileRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.RemoveFileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.RemoveFileRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.RemoveFileRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.RemoveFileRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.RemoveFileRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.RemoveFileRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.RemoveFileRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.RemoveFileRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.RemoveFileRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.RemoveFileRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.RemoveFileRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.RemoveFileRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.RemoveFileRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `RemoveFile` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.RemoveFileRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.RemoveFileRequest) com.google.cloud.dataform.v1alpha2.RemoveFileRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_RemoveFileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_RemoveFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_RemoveFileRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_RemoveFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.RemoveFileRequest.class, com.google.cloud.dataform.v1alpha2.RemoveFileRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.RemoveFileRequest.class, + com.google.cloud.dataform.v1alpha2.RemoveFileRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.RemoveFileRequest.newBuilder() @@ -385,16 +424,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -406,9 +444,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_RemoveFileRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_RemoveFileRequest_descriptor; } @java.lang.Override @@ -427,7 +465,8 @@ public com.google.cloud.dataform.v1alpha2.RemoveFileRequest build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.RemoveFileRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.RemoveFileRequest result = new com.google.cloud.dataform.v1alpha2.RemoveFileRequest(this); + com.google.cloud.dataform.v1alpha2.RemoveFileRequest result = + new com.google.cloud.dataform.v1alpha2.RemoveFileRequest(this); result.workspace_ = workspace_; result.path_ = path_; onBuilt(); @@ -438,38 +477,39 @@ public com.google.cloud.dataform.v1alpha2.RemoveFileRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.RemoveFileRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.RemoveFileRequest)other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.RemoveFileRequest) other); } else { super.mergeFrom(other); return this; @@ -477,7 +517,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.RemoveFileRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.RemoveFileRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1alpha2.RemoveFileRequest.getDefaultInstance()) + return this; if (!other.getWorkspace().isEmpty()) { workspace_ = other.workspace_; onChanged(); @@ -505,7 +546,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.RemoveFileRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.RemoveFileRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -517,18 +559,22 @@ public Builder mergeFrom( private java.lang.Object workspace_ = ""; /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ public java.lang.String getWorkspace() { java.lang.Object ref = workspace_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; @@ -537,20 +583,23 @@ public java.lang.String getWorkspace() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ - public com.google.protobuf.ByteString - getWorkspaceBytes() { + public com.google.protobuf.ByteString getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workspace_ = b; return b; } else { @@ -558,54 +607,67 @@ public java.lang.String getWorkspace() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The workspace to set. * @return This builder for chaining. */ - public Builder setWorkspace( - java.lang.String value) { + public Builder setWorkspace(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + workspace_ = value; onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearWorkspace() { - + workspace_ = getDefaultInstance().getWorkspace(); onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for workspace to set. * @return This builder for chaining. */ - public Builder setWorkspaceBytes( - com.google.protobuf.ByteString value) { + public Builder setWorkspaceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workspace_ = value; onChanged(); return this; @@ -613,18 +675,20 @@ public Builder setWorkspaceBytes( private java.lang.Object path_ = ""; /** + * + * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; @@ -633,20 +697,21 @@ public java.lang.String getPath() { } } /** + * + * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for path. */ - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); path_ = b; return b; } else { @@ -654,61 +719,68 @@ public java.lang.String getPath() { } } /** + * + * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath( - java.lang.String value) { + public Builder setPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + path_ = value; onChanged(); return this; } /** + * + * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearPath() { - + path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** + * + * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes( - com.google.protobuf.ByteString value) { + public Builder setPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -718,12 +790,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.RemoveFileRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.RemoveFileRequest) private static final com.google.cloud.dataform.v1alpha2.RemoveFileRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.RemoveFileRequest(); } @@ -732,16 +804,16 @@ public static com.google.cloud.dataform.v1alpha2.RemoveFileRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RemoveFileRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RemoveFileRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RemoveFileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RemoveFileRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -756,6 +828,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.RemoveFileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveFileRequestOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveFileRequestOrBuilder.java new file mode 100644 index 0000000..1811d3f --- /dev/null +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RemoveFileRequestOrBuilder.java @@ -0,0 +1,79 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1alpha2/dataform.proto + +package com.google.cloud.dataform.v1alpha2; + +public interface RemoveFileRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.RemoveFileRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The workspace's name.
+   * 
+ * + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The workspace. + */ + java.lang.String getWorkspace(); + /** + * + * + *
+   * Required. The workspace's name.
+   * 
+ * + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for workspace. + */ + com.google.protobuf.ByteString getWorkspaceBytes(); + + /** + * + * + *
+   * Required. The file's full path including filename, relative to the workspace root.
+   * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The path. + */ + java.lang.String getPath(); + /** + * + * + *
+   * Required. The file's full path including filename, relative to the workspace root.
+   * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for path. + */ + com.google.protobuf.ByteString getPathBytes(); +} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/Repository.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/Repository.java similarity index 66% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/Repository.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/Repository.java index e6c8c02..c1cf7dd 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/Repository.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/Repository.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * Represents a Dataform Git repository.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.Repository} */ -public final class Repository extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Repository extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.Repository) RepositoryOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Repository.newBuilder() to construct. private Repository(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Repository() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Repository(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Repository( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,32 +70,38 @@ private Repository( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.Builder subBuilder = null; - if (gitRemoteSettings_ != null) { - subBuilder = gitRemoteSettings_.toBuilder(); - } - gitRemoteSettings_ = input.readMessage(com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(gitRemoteSettings_); - gitRemoteSettings_ = subBuilder.buildPartial(); + name_ = s; + break; } + case 18: + { + com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.Builder subBuilder = + null; + if (gitRemoteSettings_ != null) { + subBuilder = gitRemoteSettings_.toBuilder(); + } + gitRemoteSettings_ = + input.readMessage( + com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(gitRemoteSettings_); + gitRemoteSettings_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -86,129 +109,164 @@ private Repository( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_Repository_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_Repository_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_Repository_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_Repository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.Repository.class, com.google.cloud.dataform.v1alpha2.Repository.Builder.class); + com.google.cloud.dataform.v1alpha2.Repository.class, + com.google.cloud.dataform.v1alpha2.Repository.Builder.class); } - public interface GitRemoteSettingsOrBuilder extends + public interface GitRemoteSettingsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The Git remote's URL.
      * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The url. */ java.lang.String getUrl(); /** + * + * *
      * Required. The Git remote's URL.
      * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for url. */ - com.google.protobuf.ByteString - getUrlBytes(); + com.google.protobuf.ByteString getUrlBytes(); /** + * + * *
      * Required. The Git remote's default branch name.
      * 
* * string default_branch = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The defaultBranch. */ java.lang.String getDefaultBranch(); /** + * + * *
      * Required. The Git remote's default branch name.
      * 
* * string default_branch = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for defaultBranch. */ - com.google.protobuf.ByteString - getDefaultBranchBytes(); + com.google.protobuf.ByteString getDefaultBranchBytes(); /** + * + * *
      * Required. The name of the Secret Manager secret version to use as an
      * authentication token for Git operations. Must be in the format
      * `projects/*/secrets/*/versions/*`.
      * 
* - * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The authenticationTokenSecretVersion. */ java.lang.String getAuthenticationTokenSecretVersion(); /** + * + * *
      * Required. The name of the Secret Manager secret version to use as an
      * authentication token for Git operations. Must be in the format
      * `projects/*/secrets/*/versions/*`.
      * 
* - * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for authenticationTokenSecretVersion. */ - com.google.protobuf.ByteString - getAuthenticationTokenSecretVersionBytes(); + com.google.protobuf.ByteString getAuthenticationTokenSecretVersionBytes(); /** + * + * *
      * Output only. Indicates the status of the Git access token.
      * 
* - * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for tokenStatus. */ int getTokenStatusValue(); /** + * + * *
      * Output only. Indicates the status of the Git access token.
      * 
* - * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The tokenStatus. */ com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus getTokenStatus(); } /** + * + * *
    * Controls Git remote configuration for a repository.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings} */ - public static final class GitRemoteSettings extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class GitRemoteSettings extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings) GitRemoteSettingsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GitRemoteSettings.newBuilder() to construct. private GitRemoteSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GitRemoteSettings() { url_ = ""; defaultBranch_ = ""; @@ -218,16 +276,15 @@ private GitRemoteSettings() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GitRemoteSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GitRemoteSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -246,37 +303,41 @@ private GitRemoteSettings( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - url_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + url_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - defaultBranch_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + defaultBranch_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - authenticationTokenSecretVersion_ = s; - break; - } - case 32: { - int rawValue = input.readEnum(); + authenticationTokenSecretVersion_ = s; + break; + } + case 32: + { + int rawValue = input.readEnum(); - tokenStatus_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + tokenStatus_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -284,36 +345,41 @@ private GitRemoteSettings( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_Repository_GitRemoteSettings_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_Repository_GitRemoteSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_Repository_GitRemoteSettings_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_Repository_GitRemoteSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.class, com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.Builder.class); + com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.class, + com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.Builder.class); } /** + * + * *
      * Indicates the status of a Git authentication token.
      * 
* * Protobuf enum {@code google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus} */ - public enum TokenStatus - implements com.google.protobuf.ProtocolMessageEnum { + public enum TokenStatus implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Default value. This value is unused.
        * 
@@ -322,6 +388,8 @@ public enum TokenStatus */ TOKEN_STATUS_UNSPECIFIED(0), /** + * + * *
        * The token could not be found in Secret Manager (or the Dataform
        * Service Account did not have permission to access it).
@@ -331,6 +399,8 @@ public enum TokenStatus
        */
       NOT_FOUND(1),
       /**
+       *
+       *
        * 
        * The token could not be used to authenticate against the Git remote.
        * 
@@ -339,6 +409,8 @@ public enum TokenStatus */ INVALID(2), /** + * + * *
        * The token was used successfully to authenticate against the Git remote.
        * 
@@ -350,6 +422,8 @@ public enum TokenStatus ; /** + * + * *
        * Default value. This value is unused.
        * 
@@ -358,6 +432,8 @@ public enum TokenStatus */ public static final int TOKEN_STATUS_UNSPECIFIED_VALUE = 0; /** + * + * *
        * The token could not be found in Secret Manager (or the Dataform
        * Service Account did not have permission to access it).
@@ -367,6 +443,8 @@ public enum TokenStatus
        */
       public static final int NOT_FOUND_VALUE = 1;
       /**
+       *
+       *
        * 
        * The token could not be used to authenticate against the Git remote.
        * 
@@ -375,6 +453,8 @@ public enum TokenStatus */ public static final int INVALID_VALUE = 2; /** + * + * *
        * The token was used successfully to authenticate against the Git remote.
        * 
@@ -383,7 +463,6 @@ public enum TokenStatus */ public static final int VALID_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -408,50 +487,53 @@ public static TokenStatus valueOf(int value) { */ public static TokenStatus forNumber(int value) { switch (value) { - case 0: return TOKEN_STATUS_UNSPECIFIED; - case 1: return NOT_FOUND; - case 2: return INVALID; - case 3: return VALID; - default: return null; + case 0: + return TOKEN_STATUS_UNSPECIFIED; + case 1: + return NOT_FOUND; + case 2: + return INVALID; + case 3: + return VALID; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - TokenStatus> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public TokenStatus findValueByNumber(int number) { - return TokenStatus.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public TokenStatus findValueByNumber(int number) { + return TokenStatus.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.getDescriptor() + .getEnumTypes() + .get(0); } private static final TokenStatus[] VALUES = values(); - public static TokenStatus valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static TokenStatus valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -471,11 +553,14 @@ private TokenStatus(int value) { public static final int URL_FIELD_NUMBER = 1; private volatile java.lang.Object url_; /** + * + * *
      * Required. The Git remote's URL.
      * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The url. */ @java.lang.Override @@ -484,29 +569,29 @@ public java.lang.String getUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); url_ = s; return s; } } /** + * + * *
      * Required. The Git remote's URL.
      * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for url. */ @java.lang.Override - public com.google.protobuf.ByteString - getUrlBytes() { + public com.google.protobuf.ByteString getUrlBytes() { java.lang.Object ref = url_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); url_ = b; return b; } else { @@ -517,11 +602,14 @@ public java.lang.String getUrl() { public static final int DEFAULT_BRANCH_FIELD_NUMBER = 2; private volatile java.lang.Object defaultBranch_; /** + * + * *
      * Required. The Git remote's default branch name.
      * 
* * string default_branch = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The defaultBranch. */ @java.lang.Override @@ -530,29 +618,29 @@ public java.lang.String getDefaultBranch() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultBranch_ = s; return s; } } /** + * + * *
      * Required. The Git remote's default branch name.
      * 
* * string default_branch = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for defaultBranch. */ @java.lang.Override - public com.google.protobuf.ByteString - getDefaultBranchBytes() { + public com.google.protobuf.ByteString getDefaultBranchBytes() { java.lang.Object ref = defaultBranch_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); defaultBranch_ = b; return b; } else { @@ -563,13 +651,18 @@ public java.lang.String getDefaultBranch() { public static final int AUTHENTICATION_TOKEN_SECRET_VERSION_FIELD_NUMBER = 3; private volatile java.lang.Object authenticationTokenSecretVersion_; /** + * + * *
      * Required. The name of the Secret Manager secret version to use as an
      * authentication token for Git operations. Must be in the format
      * `projects/*/secrets/*/versions/*`.
      * 
* - * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The authenticationTokenSecretVersion. */ @java.lang.Override @@ -578,31 +671,33 @@ public java.lang.String getAuthenticationTokenSecretVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); authenticationTokenSecretVersion_ = s; return s; } } /** + * + * *
      * Required. The name of the Secret Manager secret version to use as an
      * authentication token for Git operations. Must be in the format
      * `projects/*/secrets/*/versions/*`.
      * 
* - * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for authenticationTokenSecretVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getAuthenticationTokenSecretVersionBytes() { + public com.google.protobuf.ByteString getAuthenticationTokenSecretVersionBytes() { java.lang.Object ref = authenticationTokenSecretVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); authenticationTokenSecretVersion_ = b; return b; } else { @@ -613,31 +708,49 @@ public java.lang.String getAuthenticationTokenSecretVersion() { public static final int TOKEN_STATUS_FIELD_NUMBER = 4; private int tokenStatus_; /** + * + * *
      * Output only. Indicates the status of the Git access token.
      * 
* - * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for tokenStatus. */ - @java.lang.Override public int getTokenStatusValue() { + @java.lang.Override + public int getTokenStatusValue() { return tokenStatus_; } /** + * + * *
      * Output only. Indicates the status of the Git access token.
      * 
* - * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The tokenStatus. */ - @java.lang.Override public com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus getTokenStatus() { + @java.lang.Override + public com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus + getTokenStatus() { @SuppressWarnings("deprecation") - com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus result = com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus.valueOf(tokenStatus_); - return result == null ? com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus.UNRECOGNIZED : result; + com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus result = + com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus.valueOf( + tokenStatus_); + return result == null + ? com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -649,18 +762,22 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, url_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultBranch_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, defaultBranch_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(authenticationTokenSecretVersion_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, authenticationTokenSecretVersion_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty( + authenticationTokenSecretVersion_)) { + com.google.protobuf.GeneratedMessageV3.writeString( + output, 3, authenticationTokenSecretVersion_); } - if (tokenStatus_ != com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus.TOKEN_STATUS_UNSPECIFIED.getNumber()) { + if (tokenStatus_ + != com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus + .TOKEN_STATUS_UNSPECIFIED + .getNumber()) { output.writeEnum(4, tokenStatus_); } unknownFields.writeTo(output); @@ -678,12 +795,17 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultBranch_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, defaultBranch_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(authenticationTokenSecretVersion_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, authenticationTokenSecretVersion_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty( + authenticationTokenSecretVersion_)) { + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize( + 3, authenticationTokenSecretVersion_); } - if (tokenStatus_ != com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus.TOKEN_STATUS_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, tokenStatus_); + if (tokenStatus_ + != com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus + .TOKEN_STATUS_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, tokenStatus_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -693,17 +815,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings other = (com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings) obj; + com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings other = + (com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings) obj; - if (!getUrl() - .equals(other.getUrl())) return false; - if (!getDefaultBranch() - .equals(other.getDefaultBranch())) return false; + if (!getUrl().equals(other.getUrl())) return false; + if (!getDefaultBranch().equals(other.getDefaultBranch())) return false; if (!getAuthenticationTokenSecretVersion() .equals(other.getAuthenticationTokenSecretVersion())) return false; if (tokenStatus_ != other.tokenStatus_) return false; @@ -732,87 +853,95 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -822,44 +951,49 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Controls Git remote configuration for a repository.
      * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings) com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_Repository_GitRemoteSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_Repository_GitRemoteSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_Repository_GitRemoteSettings_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_Repository_GitRemoteSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.class, com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.Builder.class); + com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.class, + com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.Builder.class); } - // Construct using com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.newBuilder() + // Construct using + // com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -875,13 +1009,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_Repository_GitRemoteSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_Repository_GitRemoteSettings_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings + getDefaultInstanceForType() { return com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.getDefaultInstance(); } @@ -896,7 +1031,8 @@ public com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings buildPartial() { - com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings result = new com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings(this); + com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings result = + new com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings(this); result.url_ = url_; result.defaultBranch_ = defaultBranch_; result.authenticationTokenSecretVersion_ = authenticationTokenSecretVersion_; @@ -909,46 +1045,52 @@ public com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings buildPart public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings)other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings other) { - if (other == com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings other) { + if (other + == com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.getDefaultInstance()) + return this; if (!other.getUrl().isEmpty()) { url_ = other.url_; onChanged(); @@ -983,7 +1125,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -995,18 +1139,20 @@ public Builder mergeFrom( private java.lang.Object url_ = ""; /** + * + * *
        * Required. The Git remote's URL.
        * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The url. */ public java.lang.String getUrl() { java.lang.Object ref = url_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); url_ = s; return s; @@ -1015,20 +1161,21 @@ public java.lang.String getUrl() { } } /** + * + * *
        * Required. The Git remote's URL.
        * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for url. */ - public com.google.protobuf.ByteString - getUrlBytes() { + public com.google.protobuf.ByteString getUrlBytes() { java.lang.Object ref = url_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); url_ = b; return b; } else { @@ -1036,54 +1183,61 @@ public java.lang.String getUrl() { } } /** + * + * *
        * Required. The Git remote's URL.
        * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The url to set. * @return This builder for chaining. */ - public Builder setUrl( - java.lang.String value) { + public Builder setUrl(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + url_ = value; onChanged(); return this; } /** + * + * *
        * Required. The Git remote's URL.
        * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearUrl() { - + url_ = getDefaultInstance().getUrl(); onChanged(); return this; } /** + * + * *
        * Required. The Git remote's URL.
        * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for url to set. * @return This builder for chaining. */ - public Builder setUrlBytes( - com.google.protobuf.ByteString value) { + public Builder setUrlBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + url_ = value; onChanged(); return this; @@ -1091,18 +1245,20 @@ public Builder setUrlBytes( private java.lang.Object defaultBranch_ = ""; /** + * + * *
        * Required. The Git remote's default branch name.
        * 
* * string default_branch = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The defaultBranch. */ public java.lang.String getDefaultBranch() { java.lang.Object ref = defaultBranch_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultBranch_ = s; return s; @@ -1111,20 +1267,21 @@ public java.lang.String getDefaultBranch() { } } /** + * + * *
        * Required. The Git remote's default branch name.
        * 
* * string default_branch = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for defaultBranch. */ - public com.google.protobuf.ByteString - getDefaultBranchBytes() { + public com.google.protobuf.ByteString getDefaultBranchBytes() { java.lang.Object ref = defaultBranch_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); defaultBranch_ = b; return b; } else { @@ -1132,54 +1289,61 @@ public java.lang.String getDefaultBranch() { } } /** + * + * *
        * Required. The Git remote's default branch name.
        * 
* * string default_branch = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The defaultBranch to set. * @return This builder for chaining. */ - public Builder setDefaultBranch( - java.lang.String value) { + public Builder setDefaultBranch(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + defaultBranch_ = value; onChanged(); return this; } /** + * + * *
        * Required. The Git remote's default branch name.
        * 
* * string default_branch = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDefaultBranch() { - + defaultBranch_ = getDefaultInstance().getDefaultBranch(); onChanged(); return this; } /** + * + * *
        * Required. The Git remote's default branch name.
        * 
* * string default_branch = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for defaultBranch to set. * @return This builder for chaining. */ - public Builder setDefaultBranchBytes( - com.google.protobuf.ByteString value) { + public Builder setDefaultBranchBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + defaultBranch_ = value; onChanged(); return this; @@ -1187,20 +1351,24 @@ public Builder setDefaultBranchBytes( private java.lang.Object authenticationTokenSecretVersion_ = ""; /** + * + * *
        * Required. The name of the Secret Manager secret version to use as an
        * authentication token for Git operations. Must be in the format
        * `projects/*/secrets/*/versions/*`.
        * 
* - * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The authenticationTokenSecretVersion. */ public java.lang.String getAuthenticationTokenSecretVersion() { java.lang.Object ref = authenticationTokenSecretVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); authenticationTokenSecretVersion_ = s; return s; @@ -1209,22 +1377,25 @@ public java.lang.String getAuthenticationTokenSecretVersion() { } } /** + * + * *
        * Required. The name of the Secret Manager secret version to use as an
        * authentication token for Git operations. Must be in the format
        * `projects/*/secrets/*/versions/*`.
        * 
* - * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for authenticationTokenSecretVersion. */ - public com.google.protobuf.ByteString - getAuthenticationTokenSecretVersionBytes() { + public com.google.protobuf.ByteString getAuthenticationTokenSecretVersionBytes() { java.lang.Object ref = authenticationTokenSecretVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); authenticationTokenSecretVersion_ = b; return b; } else { @@ -1232,60 +1403,75 @@ public java.lang.String getAuthenticationTokenSecretVersion() { } } /** + * + * *
        * Required. The name of the Secret Manager secret version to use as an
        * authentication token for Git operations. Must be in the format
        * `projects/*/secrets/*/versions/*`.
        * 
* - * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The authenticationTokenSecretVersion to set. * @return This builder for chaining. */ - public Builder setAuthenticationTokenSecretVersion( - java.lang.String value) { + public Builder setAuthenticationTokenSecretVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + authenticationTokenSecretVersion_ = value; onChanged(); return this; } /** + * + * *
        * Required. The name of the Secret Manager secret version to use as an
        * authentication token for Git operations. Must be in the format
        * `projects/*/secrets/*/versions/*`.
        * 
* - * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearAuthenticationTokenSecretVersion() { - - authenticationTokenSecretVersion_ = getDefaultInstance().getAuthenticationTokenSecretVersion(); + + authenticationTokenSecretVersion_ = + getDefaultInstance().getAuthenticationTokenSecretVersion(); onChanged(); return this; } /** + * + * *
        * Required. The name of the Secret Manager secret version to use as an
        * authentication token for Git operations. Must be in the format
        * `projects/*/secrets/*/versions/*`.
        * 
* - * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for authenticationTokenSecretVersion to set. * @return This builder for chaining. */ public Builder setAuthenticationTokenSecretVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + authenticationTokenSecretVersion_ = value; onChanged(); return this; @@ -1293,77 +1479,111 @@ public Builder setAuthenticationTokenSecretVersionBytes( private int tokenStatus_ = 0; /** + * + * *
        * Output only. Indicates the status of the Git access token.
        * 
* - * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for tokenStatus. */ - @java.lang.Override public int getTokenStatusValue() { + @java.lang.Override + public int getTokenStatusValue() { return tokenStatus_; } /** + * + * *
        * Output only. Indicates the status of the Git access token.
        * 
* - * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for tokenStatus to set. * @return This builder for chaining. */ public Builder setTokenStatusValue(int value) { - + tokenStatus_ = value; onChanged(); return this; } /** + * + * *
        * Output only. Indicates the status of the Git access token.
        * 
* - * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The tokenStatus. */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus getTokenStatus() { + public com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus + getTokenStatus() { @SuppressWarnings("deprecation") - com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus result = com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus.valueOf(tokenStatus_); - return result == null ? com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus.UNRECOGNIZED : result; + com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus result = + com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus.valueOf( + tokenStatus_); + return result == null + ? com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus + .UNRECOGNIZED + : result; } /** + * + * *
        * Output only. Indicates the status of the Git access token.
        * 
* - * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The tokenStatus to set. * @return This builder for chaining. */ - public Builder setTokenStatus(com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus value) { + public Builder setTokenStatus( + com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus value) { if (value == null) { throw new NullPointerException(); } - + tokenStatus_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Output only. Indicates the status of the Git access token.
        * 
* - * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearTokenStatus() { - + tokenStatus_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1376,30 +1596,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings) - private static final com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings(); } - public static com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GitRemoteSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GitRemoteSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GitRemoteSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GitRemoteSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1411,20 +1633,23 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Output only. The repository's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -1433,29 +1658,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. The repository's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1466,11 +1691,16 @@ public java.lang.String getName() { public static final int GIT_REMOTE_SETTINGS_FIELD_NUMBER = 2; private com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings gitRemoteSettings_; /** + * + * *
    * Optional. If set, configures this repository to be linked to a Git remote.
    * 
* - * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the gitRemoteSettings field is set. */ @java.lang.Override @@ -1478,30 +1708,43 @@ public boolean hasGitRemoteSettings() { return gitRemoteSettings_ != null; } /** + * + * *
    * Optional. If set, configures this repository to be linked to a Git remote.
    * 
* - * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The gitRemoteSettings. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings getGitRemoteSettings() { - return gitRemoteSettings_ == null ? com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.getDefaultInstance() : gitRemoteSettings_; + return gitRemoteSettings_ == null + ? com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.getDefaultInstance() + : gitRemoteSettings_; } /** + * + * *
    * Optional. If set, configures this repository to be linked to a Git remote.
    * 
* - * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettingsOrBuilder getGitRemoteSettingsOrBuilder() { + public com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettingsOrBuilder + getGitRemoteSettingsOrBuilder() { return getGitRemoteSettings(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1513,8 +1756,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1534,8 +1776,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (gitRemoteSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getGitRemoteSettings()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getGitRemoteSettings()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1545,19 +1786,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.Repository)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.Repository other = (com.google.cloud.dataform.v1alpha2.Repository) obj; + com.google.cloud.dataform.v1alpha2.Repository other = + (com.google.cloud.dataform.v1alpha2.Repository) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasGitRemoteSettings() != other.hasGitRemoteSettings()) return false; if (hasGitRemoteSettings()) { - if (!getGitRemoteSettings() - .equals(other.getGitRemoteSettings())) return false; + if (!getGitRemoteSettings().equals(other.getGitRemoteSettings())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1581,118 +1821,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataform.v1alpha2.Repository parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataform.v1alpha2.Repository parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.Repository parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.Repository parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.Repository parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.Repository parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.Repository parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.Repository parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.Repository parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.Repository parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.Repository parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.Repository parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.Repository parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.Repository parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.Repository prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents a Dataform Git repository.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.Repository} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.Repository) com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_Repository_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_Repository_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_Repository_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_Repository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.Repository.class, com.google.cloud.dataform.v1alpha2.Repository.Builder.class); + com.google.cloud.dataform.v1alpha2.Repository.class, + com.google.cloud.dataform.v1alpha2.Repository.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.Repository.newBuilder() @@ -1700,16 +1949,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1725,9 +1973,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_Repository_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_Repository_descriptor; } @java.lang.Override @@ -1746,7 +1994,8 @@ public com.google.cloud.dataform.v1alpha2.Repository build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.Repository buildPartial() { - com.google.cloud.dataform.v1alpha2.Repository result = new com.google.cloud.dataform.v1alpha2.Repository(this); + com.google.cloud.dataform.v1alpha2.Repository result = + new com.google.cloud.dataform.v1alpha2.Repository(this); result.name_ = name_; if (gitRemoteSettingsBuilder_ == null) { result.gitRemoteSettings_ = gitRemoteSettings_; @@ -1761,38 +2010,39 @@ public com.google.cloud.dataform.v1alpha2.Repository buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.Repository) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.Repository)other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.Repository) other); } else { super.mergeFrom(other); return this; @@ -1839,18 +2089,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Output only. The repository's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1859,20 +2111,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The repository's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1880,54 +2133,61 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The repository's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The repository's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. The repository's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1935,41 +2195,61 @@ public Builder setNameBytes( private com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings gitRemoteSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings, com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.Builder, com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettingsOrBuilder> gitRemoteSettingsBuilder_; + com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings, + com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.Builder, + com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettingsOrBuilder> + gitRemoteSettingsBuilder_; /** + * + * *
      * Optional. If set, configures this repository to be linked to a Git remote.
      * 
* - * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the gitRemoteSettings field is set. */ public boolean hasGitRemoteSettings() { return gitRemoteSettingsBuilder_ != null || gitRemoteSettings_ != null; } /** + * + * *
      * Optional. If set, configures this repository to be linked to a Git remote.
      * 
* - * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The gitRemoteSettings. */ public com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings getGitRemoteSettings() { if (gitRemoteSettingsBuilder_ == null) { - return gitRemoteSettings_ == null ? com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.getDefaultInstance() : gitRemoteSettings_; + return gitRemoteSettings_ == null + ? com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.getDefaultInstance() + : gitRemoteSettings_; } else { return gitRemoteSettingsBuilder_.getMessage(); } } /** + * + * *
      * Optional. If set, configures this repository to be linked to a Git remote.
      * 
* - * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setGitRemoteSettings(com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings value) { + public Builder setGitRemoteSettings( + com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings value) { if (gitRemoteSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1983,11 +2263,15 @@ public Builder setGitRemoteSettings(com.google.cloud.dataform.v1alpha2.Repositor return this; } /** + * + * *
      * Optional. If set, configures this repository to be linked to a Git remote.
      * 
* - * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setGitRemoteSettings( com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.Builder builderForValue) { @@ -2001,17 +2285,25 @@ public Builder setGitRemoteSettings( return this; } /** + * + * *
      * Optional. If set, configures this repository to be linked to a Git remote.
      * 
* - * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeGitRemoteSettings(com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings value) { + public Builder mergeGitRemoteSettings( + com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings value) { if (gitRemoteSettingsBuilder_ == null) { if (gitRemoteSettings_ != null) { gitRemoteSettings_ = - com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.newBuilder(gitRemoteSettings_).mergeFrom(value).buildPartial(); + com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.newBuilder( + gitRemoteSettings_) + .mergeFrom(value) + .buildPartial(); } else { gitRemoteSettings_ = value; } @@ -2023,11 +2315,15 @@ public Builder mergeGitRemoteSettings(com.google.cloud.dataform.v1alpha2.Reposit return this; } /** + * + * *
      * Optional. If set, configures this repository to be linked to a Git remote.
      * 
* - * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearGitRemoteSettings() { if (gitRemoteSettingsBuilder_ == null) { @@ -2041,55 +2337,73 @@ public Builder clearGitRemoteSettings() { return this; } /** + * + * *
      * Optional. If set, configures this repository to be linked to a Git remote.
      * 
* - * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.Builder getGitRemoteSettingsBuilder() { - + public com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.Builder + getGitRemoteSettingsBuilder() { + onChanged(); return getGitRemoteSettingsFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. If set, configures this repository to be linked to a Git remote.
      * 
* - * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettingsOrBuilder getGitRemoteSettingsOrBuilder() { + public com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettingsOrBuilder + getGitRemoteSettingsOrBuilder() { if (gitRemoteSettingsBuilder_ != null) { return gitRemoteSettingsBuilder_.getMessageOrBuilder(); } else { - return gitRemoteSettings_ == null ? - com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.getDefaultInstance() : gitRemoteSettings_; + return gitRemoteSettings_ == null + ? com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.getDefaultInstance() + : gitRemoteSettings_; } } /** + * + * *
      * Optional. If set, configures this repository to be linked to a Git remote.
      * 
* - * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings, com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.Builder, com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettingsOrBuilder> + com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings, + com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.Builder, + com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettingsOrBuilder> getGitRemoteSettingsFieldBuilder() { if (gitRemoteSettingsBuilder_ == null) { - gitRemoteSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings, com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.Builder, com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettingsOrBuilder>( - getGitRemoteSettings(), - getParentForChildren(), - isClean()); + gitRemoteSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings, + com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings.Builder, + com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettingsOrBuilder>( + getGitRemoteSettings(), getParentForChildren(), isClean()); gitRemoteSettings_ = null; } return gitRemoteSettingsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2099,12 +2413,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.Repository) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.Repository) private static final com.google.cloud.dataform.v1alpha2.Repository DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.Repository(); } @@ -2113,16 +2427,16 @@ public static com.google.cloud.dataform.v1alpha2.Repository getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Repository parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Repository(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Repository parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Repository(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2137,6 +2451,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.Repository getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RepositoryName.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RepositoryName.java similarity index 100% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RepositoryName.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RepositoryName.java diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RepositoryOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RepositoryOrBuilder.java similarity index 51% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RepositoryOrBuilder.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RepositoryOrBuilder.java index bb234ad..985d262 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RepositoryOrBuilder.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/RepositoryOrBuilder.java @@ -1,56 +1,92 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface RepositoryOrBuilder extends +public interface RepositoryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.Repository) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The repository's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The repository's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. If set, configures this repository to be linked to a Git remote.
    * 
* - * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the gitRemoteSettings field is set. */ boolean hasGitRemoteSettings(); /** + * + * *
    * Optional. If set, configures this repository to be linked to a Git remote.
    * 
* - * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The gitRemoteSettings. */ com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings getGitRemoteSettings(); /** + * + * *
    * Optional. If set, configures this repository to be linked to a Git remote.
    * 
* - * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataform.v1alpha2.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettingsOrBuilder getGitRemoteSettingsOrBuilder(); + com.google.cloud.dataform.v1alpha2.Repository.GitRemoteSettingsOrBuilder + getGitRemoteSettingsOrBuilder(); } diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ResetWorkspaceChangesRequest.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ResetWorkspaceChangesRequest.java similarity index 68% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ResetWorkspaceChangesRequest.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ResetWorkspaceChangesRequest.java index f452143..359f22d 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ResetWorkspaceChangesRequest.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ResetWorkspaceChangesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * `ResetWorkspaceChanges` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest} */ -public final class ResetWorkspaceChangesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ResetWorkspaceChangesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest) ResetWorkspaceChangesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ResetWorkspaceChangesRequest.newBuilder() to construct. private ResetWorkspaceChangesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ResetWorkspaceChangesRequest() { name_ = ""; paths_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -26,16 +44,15 @@ private ResetWorkspaceChangesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ResetWorkspaceChangesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ResetWorkspaceChangesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,33 +72,35 @@ private ResetWorkspaceChangesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - paths_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + name_ = s; + break; } - paths_.add(s); - break; - } - case 24: { - - clean_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + paths_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + paths_.add(s); + break; + } + case 24: + { + clean_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -89,8 +108,7 @@ private ResetWorkspaceChangesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { paths_ = paths_.getUnmodifiableView(); @@ -99,27 +117,35 @@ private ResetWorkspaceChangesRequest( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ResetWorkspaceChangesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ResetWorkspaceChangesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ResetWorkspaceChangesRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ResetWorkspaceChangesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest.class, com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest.class, + com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The workspace's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -128,29 +154,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The workspace's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -161,37 +189,45 @@ public java.lang.String getName() { public static final int PATHS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList paths_; /** + * + * *
    * Optional. Full file paths to reset back to their committed state including filename,
    * rooted at workspace root. If left empty, all files will be reset.
    * 
* * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the paths. */ - public com.google.protobuf.ProtocolStringList - getPathsList() { + public com.google.protobuf.ProtocolStringList getPathsList() { return paths_; } /** + * + * *
    * Optional. Full file paths to reset back to their committed state including filename,
    * rooted at workspace root. If left empty, all files will be reset.
    * 
* * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of paths. */ public int getPathsCount() { return paths_.size(); } /** + * + * *
    * Optional. Full file paths to reset back to their committed state including filename,
    * rooted at workspace root. If left empty, all files will be reset.
    * 
* * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The paths at the given index. */ @@ -199,28 +235,33 @@ public java.lang.String getPaths(int index) { return paths_.get(index); } /** + * + * *
    * Optional. Full file paths to reset back to their committed state including filename,
    * rooted at workspace root. If left empty, all files will be reset.
    * 
* * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the paths at the given index. */ - public com.google.protobuf.ByteString - getPathsBytes(int index) { + public com.google.protobuf.ByteString getPathsBytes(int index) { return paths_.getByteString(index); } public static final int CLEAN_FIELD_NUMBER = 3; private boolean clean_; /** + * + * *
    * Optional. If set to true, untracked files will be deleted.
    * 
* * bool clean = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The clean. */ @java.lang.Override @@ -229,6 +270,7 @@ public boolean getClean() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -240,8 +282,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -272,8 +313,7 @@ public int getSerializedSize() { size += 1 * getPathsList().size(); } if (clean_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, clean_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, clean_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -283,19 +323,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest other = (com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest) obj; + com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest other = + (com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getPathsList() - .equals(other.getPathsList())) return false; - if (getClean() - != other.getClean()) return false; + if (!getName().equals(other.getName())) return false; + if (!getPathsList().equals(other.getPathsList())) return false; + if (getClean() != other.getClean()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -314,125 +352,134 @@ public int hashCode() { hash = (53 * hash) + getPathsList().hashCode(); } hash = (37 * hash) + CLEAN_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getClean()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getClean()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `ResetWorkspaceChanges` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest) com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ResetWorkspaceChangesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ResetWorkspaceChangesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ResetWorkspaceChangesRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ResetWorkspaceChangesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest.class, com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest.class, + com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest.newBuilder() @@ -440,16 +487,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -463,13 +509,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_ResetWorkspaceChangesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_ResetWorkspaceChangesRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest + getDefaultInstanceForType() { return com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest.getDefaultInstance(); } @@ -484,7 +531,8 @@ public com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest result = new com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest(this); + com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest result = + new com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest(this); int from_bitField0_ = bitField0_; result.name_ = name_; if (((bitField0_ & 0x00000001) != 0)) { @@ -501,46 +549,50 @@ public com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest buildPart public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest)other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest other) { + if (other + == com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -577,7 +629,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -586,22 +640,27 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -610,20 +669,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -631,98 +693,121 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList paths_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList paths_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensurePathsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { paths_ = new com.google.protobuf.LazyStringArrayList(paths_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Optional. Full file paths to reset back to their committed state including filename,
      * rooted at workspace root. If left empty, all files will be reset.
      * 
* * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the paths. */ - public com.google.protobuf.ProtocolStringList - getPathsList() { + public com.google.protobuf.ProtocolStringList getPathsList() { return paths_.getUnmodifiableView(); } /** + * + * *
      * Optional. Full file paths to reset back to their committed state including filename,
      * rooted at workspace root. If left empty, all files will be reset.
      * 
* * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of paths. */ public int getPathsCount() { return paths_.size(); } /** + * + * *
      * Optional. Full file paths to reset back to their committed state including filename,
      * rooted at workspace root. If left empty, all files will be reset.
      * 
* * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The paths at the given index. */ @@ -730,85 +815,95 @@ public java.lang.String getPaths(int index) { return paths_.get(index); } /** + * + * *
      * Optional. Full file paths to reset back to their committed state including filename,
      * rooted at workspace root. If left empty, all files will be reset.
      * 
* * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the paths at the given index. */ - public com.google.protobuf.ByteString - getPathsBytes(int index) { + public com.google.protobuf.ByteString getPathsBytes(int index) { return paths_.getByteString(index); } /** + * + * *
      * Optional. Full file paths to reset back to their committed state including filename,
      * rooted at workspace root. If left empty, all files will be reset.
      * 
* * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index to set the value at. * @param value The paths to set. * @return This builder for chaining. */ - public Builder setPaths( - int index, java.lang.String value) { + public Builder setPaths(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePathsIsMutable(); + throw new NullPointerException(); + } + ensurePathsIsMutable(); paths_.set(index, value); onChanged(); return this; } /** + * + * *
      * Optional. Full file paths to reset back to their committed state including filename,
      * rooted at workspace root. If left empty, all files will be reset.
      * 
* * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The paths to add. * @return This builder for chaining. */ - public Builder addPaths( - java.lang.String value) { + public Builder addPaths(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePathsIsMutable(); + throw new NullPointerException(); + } + ensurePathsIsMutable(); paths_.add(value); onChanged(); return this; } /** + * + * *
      * Optional. Full file paths to reset back to their committed state including filename,
      * rooted at workspace root. If left empty, all files will be reset.
      * 
* * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param values The paths to add. * @return This builder for chaining. */ - public Builder addAllPaths( - java.lang.Iterable values) { + public Builder addAllPaths(java.lang.Iterable values) { ensurePathsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, paths_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, paths_); onChanged(); return this; } /** + * + * *
      * Optional. Full file paths to reset back to their committed state including filename,
      * rooted at workspace root. If left empty, all files will be reset.
      * 
* * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPaths() { @@ -818,34 +913,39 @@ public Builder clearPaths() { return this; } /** + * + * *
      * Optional. Full file paths to reset back to their committed state including filename,
      * rooted at workspace root. If left empty, all files will be reset.
      * 
* * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes of the paths to add. * @return This builder for chaining. */ - public Builder addPathsBytes( - com.google.protobuf.ByteString value) { + public Builder addPathsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensurePathsIsMutable(); paths_.add(value); onChanged(); return this; } - private boolean clean_ ; + private boolean clean_; /** + * + * *
      * Optional. If set to true, untracked files will be deleted.
      * 
* * bool clean = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The clean. */ @java.lang.Override @@ -853,37 +953,43 @@ public boolean getClean() { return clean_; } /** + * + * *
      * Optional. If set to true, untracked files will be deleted.
      * 
* * bool clean = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The clean to set. * @return This builder for chaining. */ public Builder setClean(boolean value) { - + clean_ = value; onChanged(); return this; } /** + * + * *
      * Optional. If set to true, untracked files will be deleted.
      * 
* * bool clean = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearClean() { - + clean_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -893,30 +999,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest) - private static final com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest(); } - public static com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResetWorkspaceChangesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResetWorkspaceChangesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResetWorkspaceChangesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResetWorkspaceChangesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -928,9 +1036,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ResetWorkspaceChangesRequestOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ResetWorkspaceChangesRequestOrBuilder.java similarity index 65% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ResetWorkspaceChangesRequestOrBuilder.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ResetWorkspaceChangesRequestOrBuilder.java index 403eec4..5694ec6 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ResetWorkspaceChangesRequestOrBuilder.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/ResetWorkspaceChangesRequestOrBuilder.java @@ -1,83 +1,121 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface ResetWorkspaceChangesRequestOrBuilder extends +public interface ResetWorkspaceChangesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.ResetWorkspaceChangesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The workspace's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The workspace's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. Full file paths to reset back to their committed state including filename,
    * rooted at workspace root. If left empty, all files will be reset.
    * 
* * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the paths. */ - java.util.List - getPathsList(); + java.util.List getPathsList(); /** + * + * *
    * Optional. Full file paths to reset back to their committed state including filename,
    * rooted at workspace root. If left empty, all files will be reset.
    * 
* * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of paths. */ int getPathsCount(); /** + * + * *
    * Optional. Full file paths to reset back to their committed state including filename,
    * rooted at workspace root. If left empty, all files will be reset.
    * 
* * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The paths at the given index. */ java.lang.String getPaths(int index); /** + * + * *
    * Optional. Full file paths to reset back to their committed state including filename,
    * rooted at workspace root. If left empty, all files will be reset.
    * 
* * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the paths at the given index. */ - com.google.protobuf.ByteString - getPathsBytes(int index); + com.google.protobuf.ByteString getPathsBytes(int index); /** + * + * *
    * Optional. If set to true, untracked files will be deleted.
    * 
* * bool clean = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The clean. */ boolean getClean(); diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/Target.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/Target.java similarity index 70% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/Target.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/Target.java index 653e64e..36f3f3d 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/Target.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/Target.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * Represents an action identifier. If the action writes output, the output
  * will be written to the referenced database object.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.dataform.v1alpha2.Target}
  */
-public final class Target extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Target extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.Target)
     TargetOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Target.newBuilder() to construct.
   private Target(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Target() {
     database_ = "";
     schema_ = "";
@@ -28,16 +46,15 @@ private Target() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Target();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Target(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,31 +73,34 @@ private Target(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            database_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              database_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            schema_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+              schema_ = s;
+              break;
+            }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              name_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -88,34 +108,39 @@ private Target(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_Target_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.dataform.v1alpha2.DataformProto
+        .internal_static_google_cloud_dataform_v1alpha2_Target_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_Target_fieldAccessorTable
+    return com.google.cloud.dataform.v1alpha2.DataformProto
+        .internal_static_google_cloud_dataform_v1alpha2_Target_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.dataform.v1alpha2.Target.class, com.google.cloud.dataform.v1alpha2.Target.Builder.class);
+            com.google.cloud.dataform.v1alpha2.Target.class,
+            com.google.cloud.dataform.v1alpha2.Target.Builder.class);
   }
 
   public static final int DATABASE_FIELD_NUMBER = 1;
   private volatile java.lang.Object database_;
   /**
+   *
+   *
    * 
    * The action's database (Google Cloud project ID) .
    * 
* * string database = 1; + * * @return The database. */ @java.lang.Override @@ -124,29 +149,29 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** + * + * *
    * The action's database (Google Cloud project ID) .
    * 
* * string database = 1; + * * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString - getDatabaseBytes() { + public com.google.protobuf.ByteString getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); database_ = b; return b; } else { @@ -157,11 +182,14 @@ public java.lang.String getDatabase() { public static final int SCHEMA_FIELD_NUMBER = 2; private volatile java.lang.Object schema_; /** + * + * *
    * The action's schema (BigQuery dataset ID), within `database`.
    * 
* * string schema = 2; + * * @return The schema. */ @java.lang.Override @@ -170,29 +198,29 @@ public java.lang.String getSchema() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schema_ = s; return s; } } /** + * + * *
    * The action's schema (BigQuery dataset ID), within `database`.
    * 
* * string schema = 2; + * * @return The bytes for schema. */ @java.lang.Override - public com.google.protobuf.ByteString - getSchemaBytes() { + public com.google.protobuf.ByteString getSchemaBytes() { java.lang.Object ref = schema_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); schema_ = b; return b; } else { @@ -203,11 +231,14 @@ public java.lang.String getSchema() { public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** + * + * *
    * The action's name, within `database` and `schema`.
    * 
* * string name = 3; + * * @return The name. */ @java.lang.Override @@ -216,29 +247,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The action's name, within `database` and `schema`.
    * 
* * string name = 3; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -247,6 +278,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -258,8 +290,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); } @@ -295,19 +326,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.Target)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.Target other = (com.google.cloud.dataform.v1alpha2.Target) obj; + com.google.cloud.dataform.v1alpha2.Target other = + (com.google.cloud.dataform.v1alpha2.Target) obj; - if (!getDatabase() - .equals(other.getDatabase())) return false; - if (!getSchema() - .equals(other.getSchema())) return false; - if (!getName() - .equals(other.getName())) return false; + if (!getDatabase().equals(other.getDatabase())) return false; + if (!getSchema().equals(other.getSchema())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -330,97 +359,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataform.v1alpha2.Target parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataform.v1alpha2.Target parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.Target parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.Target parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.Target parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.Target parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.Target parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.Target parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.Target parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.Target parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.Target parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.Target parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.Target parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.Target parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.Target prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents an action identifier. If the action writes output, the output
    * will be written to the referenced database object.
@@ -428,21 +464,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.dataform.v1alpha2.Target}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.Target)
       com.google.cloud.dataform.v1alpha2.TargetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_Target_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.dataform.v1alpha2.DataformProto
+          .internal_static_google_cloud_dataform_v1alpha2_Target_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_Target_fieldAccessorTable
+      return com.google.cloud.dataform.v1alpha2.DataformProto
+          .internal_static_google_cloud_dataform_v1alpha2_Target_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataform.v1alpha2.Target.class, com.google.cloud.dataform.v1alpha2.Target.Builder.class);
+              com.google.cloud.dataform.v1alpha2.Target.class,
+              com.google.cloud.dataform.v1alpha2.Target.Builder.class);
     }
 
     // Construct using com.google.cloud.dataform.v1alpha2.Target.newBuilder()
@@ -450,16 +488,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -473,9 +510,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_Target_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.dataform.v1alpha2.DataformProto
+          .internal_static_google_cloud_dataform_v1alpha2_Target_descriptor;
     }
 
     @java.lang.Override
@@ -494,7 +531,8 @@ public com.google.cloud.dataform.v1alpha2.Target build() {
 
     @java.lang.Override
     public com.google.cloud.dataform.v1alpha2.Target buildPartial() {
-      com.google.cloud.dataform.v1alpha2.Target result = new com.google.cloud.dataform.v1alpha2.Target(this);
+      com.google.cloud.dataform.v1alpha2.Target result =
+          new com.google.cloud.dataform.v1alpha2.Target(this);
       result.database_ = database_;
       result.schema_ = schema_;
       result.name_ = name_;
@@ -506,38 +544,39 @@ public com.google.cloud.dataform.v1alpha2.Target buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.dataform.v1alpha2.Target) {
-        return mergeFrom((com.google.cloud.dataform.v1alpha2.Target)other);
+        return mergeFrom((com.google.cloud.dataform.v1alpha2.Target) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -589,18 +628,20 @@ public Builder mergeFrom(
 
     private java.lang.Object database_ = "";
     /**
+     *
+     *
      * 
      * The action's database (Google Cloud project ID) .
      * 
* * string database = 1; + * * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -609,20 +650,21 @@ public java.lang.String getDatabase() { } } /** + * + * *
      * The action's database (Google Cloud project ID) .
      * 
* * string database = 1; + * * @return The bytes for database. */ - public com.google.protobuf.ByteString - getDatabaseBytes() { + public com.google.protobuf.ByteString getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); database_ = b; return b; } else { @@ -630,54 +672,61 @@ public java.lang.String getDatabase() { } } /** + * + * *
      * The action's database (Google Cloud project ID) .
      * 
* * string database = 1; + * * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase( - java.lang.String value) { + public Builder setDatabase(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + database_ = value; onChanged(); return this; } /** + * + * *
      * The action's database (Google Cloud project ID) .
      * 
* * string database = 1; + * * @return This builder for chaining. */ public Builder clearDatabase() { - + database_ = getDefaultInstance().getDatabase(); onChanged(); return this; } /** + * + * *
      * The action's database (Google Cloud project ID) .
      * 
* * string database = 1; + * * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes( - com.google.protobuf.ByteString value) { + public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + database_ = value; onChanged(); return this; @@ -685,18 +734,20 @@ public Builder setDatabaseBytes( private java.lang.Object schema_ = ""; /** + * + * *
      * The action's schema (BigQuery dataset ID), within `database`.
      * 
* * string schema = 2; + * * @return The schema. */ public java.lang.String getSchema() { java.lang.Object ref = schema_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schema_ = s; return s; @@ -705,20 +756,21 @@ public java.lang.String getSchema() { } } /** + * + * *
      * The action's schema (BigQuery dataset ID), within `database`.
      * 
* * string schema = 2; + * * @return The bytes for schema. */ - public com.google.protobuf.ByteString - getSchemaBytes() { + public com.google.protobuf.ByteString getSchemaBytes() { java.lang.Object ref = schema_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); schema_ = b; return b; } else { @@ -726,54 +778,61 @@ public java.lang.String getSchema() { } } /** + * + * *
      * The action's schema (BigQuery dataset ID), within `database`.
      * 
* * string schema = 2; + * * @param value The schema to set. * @return This builder for chaining. */ - public Builder setSchema( - java.lang.String value) { + public Builder setSchema(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + schema_ = value; onChanged(); return this; } /** + * + * *
      * The action's schema (BigQuery dataset ID), within `database`.
      * 
* * string schema = 2; + * * @return This builder for chaining. */ public Builder clearSchema() { - + schema_ = getDefaultInstance().getSchema(); onChanged(); return this; } /** + * + * *
      * The action's schema (BigQuery dataset ID), within `database`.
      * 
* * string schema = 2; + * * @param value The bytes for schema to set. * @return This builder for chaining. */ - public Builder setSchemaBytes( - com.google.protobuf.ByteString value) { + public Builder setSchemaBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + schema_ = value; onChanged(); return this; @@ -781,18 +840,20 @@ public Builder setSchemaBytes( private java.lang.Object name_ = ""; /** + * + * *
      * The action's name, within `database` and `schema`.
      * 
* * string name = 3; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -801,20 +862,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The action's name, within `database` and `schema`.
      * 
* * string name = 3; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -822,61 +884,68 @@ public java.lang.String getName() { } } /** + * + * *
      * The action's name, within `database` and `schema`.
      * 
* * string name = 3; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The action's name, within `database` and `schema`.
      * 
* * string name = 3; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The action's name, within `database` and `schema`.
      * 
* * string name = 3; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -886,12 +955,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.Target) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.Target) private static final com.google.cloud.dataform.v1alpha2.Target DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.Target(); } @@ -900,16 +969,16 @@ public static com.google.cloud.dataform.v1alpha2.Target getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Target parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Target(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Target parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Target(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -924,6 +993,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.Target getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/TargetOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/TargetOrBuilder.java similarity index 61% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/TargetOrBuilder.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/TargetOrBuilder.java index d853373..8505159 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/TargetOrBuilder.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/TargetOrBuilder.java @@ -1,69 +1,100 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface TargetOrBuilder extends +public interface TargetOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.Target) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The action's database (Google Cloud project ID) .
    * 
* * string database = 1; + * * @return The database. */ java.lang.String getDatabase(); /** + * + * *
    * The action's database (Google Cloud project ID) .
    * 
* * string database = 1; + * * @return The bytes for database. */ - com.google.protobuf.ByteString - getDatabaseBytes(); + com.google.protobuf.ByteString getDatabaseBytes(); /** + * + * *
    * The action's schema (BigQuery dataset ID), within `database`.
    * 
* * string schema = 2; + * * @return The schema. */ java.lang.String getSchema(); /** + * + * *
    * The action's schema (BigQuery dataset ID), within `database`.
    * 
* * string schema = 2; + * * @return The bytes for schema. */ - com.google.protobuf.ByteString - getSchemaBytes(); + com.google.protobuf.ByteString getSchemaBytes(); /** + * + * *
    * The action's name, within `database` and `schema`.
    * 
* * string name = 3; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The action's name, within `database` and `schema`.
    * 
* * string name = 3; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/UpdateRepositoryRequest.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/UpdateRepositoryRequest.java similarity index 64% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/UpdateRepositoryRequest.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/UpdateRepositoryRequest.java index df4d39a..8737d3b 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/UpdateRepositoryRequest.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/UpdateRepositoryRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * `UpdateRepository` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.UpdateRepositoryRequest} */ -public final class UpdateRepositoryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.UpdateRepositoryRequest) UpdateRepositoryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateRepositoryRequest.newBuilder() to construct. private UpdateRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateRepositoryRequest() { - } + + private UpdateRepositoryRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,44 @@ private UpdateRepositoryRequest( case 0: done = true; break; - case 10: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.cloud.dataform.v1alpha2.Repository.Builder subBuilder = null; - if (repository_ != null) { - subBuilder = repository_.toBuilder(); - } - repository_ = input.readMessage(com.google.cloud.dataform.v1alpha2.Repository.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(repository_); - repository_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.cloud.dataform.v1alpha2.Repository.Builder subBuilder = null; + if (repository_ != null) { + subBuilder = repository_.toBuilder(); + } + repository_ = + input.readMessage( + com.google.cloud.dataform.v1alpha2.Repository.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(repository_); + repository_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,35 +113,41 @@ private UpdateRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_UpdateRepositoryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_UpdateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_UpdateRepositoryRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_UpdateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest.class, com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest.class, + com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Optional. Specifies the fields to be updated in the repository. If left unset,
    * all fields will be updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -128,12 +155,16 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Optional. Specifies the fields to be updated in the repository. If left unset,
    * all fields will be updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The updateMask. */ @java.lang.Override @@ -141,12 +172,15 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Optional. Specifies the fields to be updated in the repository. If left unset,
    * all fields will be updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -156,11 +190,16 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int REPOSITORY_FIELD_NUMBER = 2; private com.google.cloud.dataform.v1alpha2.Repository repository_; /** + * + * *
    * Required. The repository to update.
    * 
* - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the repository field is set. */ @java.lang.Override @@ -168,23 +207,34 @@ public boolean hasRepository() { return repository_ != null; } /** + * + * *
    * Required. The repository to update.
    * 
* - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The repository. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.Repository getRepository() { - return repository_ == null ? com.google.cloud.dataform.v1alpha2.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.cloud.dataform.v1alpha2.Repository.getDefaultInstance() + : repository_; } /** + * + * *
    * Required. The repository to update.
    * 
* - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder getRepositoryOrBuilder() { @@ -192,6 +242,7 @@ public com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder getRepositoryOrBui } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -203,8 +254,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -221,12 +271,10 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); } if (repository_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getRepository()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRepository()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -236,22 +284,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest other = (com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest) obj; + com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest other = + (com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (hasRepository() != other.hasRepository()) return false; if (hasRepository()) { - if (!getRepository() - .equals(other.getRepository())) return false; + if (!getRepository().equals(other.getRepository())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -278,117 +325,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `UpdateRepository` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.UpdateRepositoryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.UpdateRepositoryRequest) com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_UpdateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_UpdateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_UpdateRepositoryRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_UpdateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest.class, com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest.class, + com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest.newBuilder() @@ -396,16 +453,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -425,9 +481,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_UpdateRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_UpdateRepositoryRequest_descriptor; } @java.lang.Override @@ -446,7 +502,8 @@ public com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest result = new com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest(this); + com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest result = + new com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest(this); if (updateMaskBuilder_ == null) { result.updateMask_ = updateMask_; } else { @@ -465,38 +522,39 @@ public com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest)other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest) other); } else { super.mergeFrom(other); return this; @@ -504,7 +562,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest.getDefaultInstance()) + return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -530,7 +589,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -542,42 +602,58 @@ public Builder mergeFrom( private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Optional. Specifies the fields to be updated in the repository. If left unset,
      * all fields will be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Optional. Specifies the fields to be updated in the repository. If left unset,
      * all fields will be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Optional. Specifies the fields to be updated in the repository. If left unset,
      * all fields will be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -593,15 +669,17 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Specifies the fields to be updated in the repository. If left unset,
      * all fields will be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -612,18 +690,21 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Optional. Specifies the fields to be updated in the repository. If left unset,
      * all fields will be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -635,12 +716,15 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Specifies the fields to be updated in the repository. If left unset,
      * all fields will be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -654,51 +738,64 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Optional. Specifies the fields to be updated in the repository. If left unset,
      * all fields will be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Specifies the fields to be updated in the repository. If left unset,
      * all fields will be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * Optional. Specifies the fields to be updated in the repository. If left unset,
      * all fields will be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; @@ -706,39 +803,58 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.dataform.v1alpha2.Repository repository_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Repository, com.google.cloud.dataform.v1alpha2.Repository.Builder, com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder> repositoryBuilder_; + com.google.cloud.dataform.v1alpha2.Repository, + com.google.cloud.dataform.v1alpha2.Repository.Builder, + com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder> + repositoryBuilder_; /** + * + * *
      * Required. The repository to update.
      * 
* - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the repository field is set. */ public boolean hasRepository() { return repositoryBuilder_ != null || repository_ != null; } /** + * + * *
      * Required. The repository to update.
      * 
* - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The repository. */ public com.google.cloud.dataform.v1alpha2.Repository getRepository() { if (repositoryBuilder_ == null) { - return repository_ == null ? com.google.cloud.dataform.v1alpha2.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.cloud.dataform.v1alpha2.Repository.getDefaultInstance() + : repository_; } else { return repositoryBuilder_.getMessage(); } } /** + * + * *
      * Required. The repository to update.
      * 
* - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRepository(com.google.cloud.dataform.v1alpha2.Repository value) { if (repositoryBuilder_ == null) { @@ -754,11 +870,15 @@ public Builder setRepository(com.google.cloud.dataform.v1alpha2.Repository value return this; } /** + * + * *
      * Required. The repository to update.
      * 
* - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRepository( com.google.cloud.dataform.v1alpha2.Repository.Builder builderForValue) { @@ -772,17 +892,23 @@ public Builder setRepository( return this; } /** + * + * *
      * Required. The repository to update.
      * 
* - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeRepository(com.google.cloud.dataform.v1alpha2.Repository value) { if (repositoryBuilder_ == null) { if (repository_ != null) { repository_ = - com.google.cloud.dataform.v1alpha2.Repository.newBuilder(repository_).mergeFrom(value).buildPartial(); + com.google.cloud.dataform.v1alpha2.Repository.newBuilder(repository_) + .mergeFrom(value) + .buildPartial(); } else { repository_ = value; } @@ -794,11 +920,15 @@ public Builder mergeRepository(com.google.cloud.dataform.v1alpha2.Repository val return this; } /** + * + * *
      * Required. The repository to update.
      * 
* - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearRepository() { if (repositoryBuilder_ == null) { @@ -812,55 +942,71 @@ public Builder clearRepository() { return this; } /** + * + * *
      * Required. The repository to update.
      * 
* - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataform.v1alpha2.Repository.Builder getRepositoryBuilder() { - + onChanged(); return getRepositoryFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The repository to update.
      * 
* - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder getRepositoryOrBuilder() { if (repositoryBuilder_ != null) { return repositoryBuilder_.getMessageOrBuilder(); } else { - return repository_ == null ? - com.google.cloud.dataform.v1alpha2.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.cloud.dataform.v1alpha2.Repository.getDefaultInstance() + : repository_; } } /** + * + * *
      * Required. The repository to update.
      * 
* - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Repository, com.google.cloud.dataform.v1alpha2.Repository.Builder, com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder> + com.google.cloud.dataform.v1alpha2.Repository, + com.google.cloud.dataform.v1alpha2.Repository.Builder, + com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder> getRepositoryFieldBuilder() { if (repositoryBuilder_ == null) { - repositoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Repository, com.google.cloud.dataform.v1alpha2.Repository.Builder, com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder>( - getRepository(), - getParentForChildren(), - isClean()); + repositoryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.Repository, + com.google.cloud.dataform.v1alpha2.Repository.Builder, + com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder>( + getRepository(), getParentForChildren(), isClean()); repository_ = null; } return repositoryBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -870,12 +1016,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.UpdateRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.UpdateRepositoryRequest) private static final com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest(); } @@ -884,16 +1030,16 @@ public static com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -908,6 +1054,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.UpdateRepositoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/UpdateRepositoryRequestOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/UpdateRepositoryRequestOrBuilder.java similarity index 57% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/UpdateRepositoryRequestOrBuilder.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/UpdateRepositoryRequestOrBuilder.java index a3654ba..09c6eb2 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/UpdateRepositoryRequestOrBuilder.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/UpdateRepositoryRequestOrBuilder.java @@ -1,66 +1,107 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface UpdateRepositoryRequestOrBuilder extends +public interface UpdateRepositoryRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.UpdateRepositoryRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. Specifies the fields to be updated in the repository. If left unset,
    * all fields will be updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Optional. Specifies the fields to be updated in the repository. If left unset,
    * all fields will be updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Optional. Specifies the fields to be updated in the repository. If left unset,
    * all fields will be updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** + * + * *
    * Required. The repository to update.
    * 
* - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the repository field is set. */ boolean hasRepository(); /** + * + * *
    * Required. The repository to update.
    * 
* - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The repository. */ com.google.cloud.dataform.v1alpha2.Repository getRepository(); /** + * + * *
    * Required. The repository to update.
    * 
* - * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1alpha2.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.dataform.v1alpha2.RepositoryOrBuilder getRepositoryOrBuilder(); } diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocation.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocation.java similarity index 66% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocation.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocation.java index 714d0a0..cae374f 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocation.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocation.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * Represents a single invocation of a compilation result.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.WorkflowInvocation} */ -public final class WorkflowInvocation extends - com.google.protobuf.GeneratedMessageV3 implements +public final class WorkflowInvocation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.WorkflowInvocation) WorkflowInvocationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use WorkflowInvocation.newBuilder() to construct. private WorkflowInvocation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private WorkflowInvocation() { name_ = ""; compilationResult_ = ""; @@ -27,16 +45,15 @@ private WorkflowInvocation() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new WorkflowInvocation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private WorkflowInvocation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,57 +72,68 @@ private WorkflowInvocation( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - compilationResult_ = s; - break; - } - case 26: { - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.Builder subBuilder = null; - if (invocationConfig_ != null) { - subBuilder = invocationConfig_.toBuilder(); - } - invocationConfig_ = input.readMessage(com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(invocationConfig_); - invocationConfig_ = subBuilder.buildPartial(); + name_ = s; + break; } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 32: { - int rawValue = input.readEnum(); + compilationResult_ = s; + break; + } + case 26: + { + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.Builder + subBuilder = null; + if (invocationConfig_ != null) { + subBuilder = invocationConfig_.toBuilder(); + } + invocationConfig_ = + input.readMessage( + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(invocationConfig_); + invocationConfig_ = subBuilder.buildPartial(); + } - state_ = rawValue; - break; - } - case 42: { - com.google.type.Interval.Builder subBuilder = null; - if (invocationTiming_ != null) { - subBuilder = invocationTiming_.toBuilder(); + break; } - invocationTiming_ = input.readMessage(com.google.type.Interval.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(invocationTiming_); - invocationTiming_ = subBuilder.buildPartial(); + case 32: + { + int rawValue = input.readEnum(); + + state_ = rawValue; + break; } + case 42: + { + com.google.type.Interval.Builder subBuilder = null; + if (invocationTiming_ != null) { + subBuilder = invocationTiming_.toBuilder(); + } + invocationTiming_ = + input.readMessage(com.google.type.Interval.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(invocationTiming_); + invocationTiming_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -113,36 +141,41 @@ private WorkflowInvocation( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.class, com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder.class); + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.class, + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder.class); } /** + * + * *
    * Represents the current state of a workflow invocation.
    * 
* * Protobuf enum {@code google.cloud.dataform.v1alpha2.WorkflowInvocation.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value. This value is unused.
      * 
@@ -151,6 +184,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The workflow invocation is currently running.
      * 
@@ -159,6 +194,8 @@ public enum State */ RUNNING(1), /** + * + * *
      * The workflow invocation succeeded. A terminal state.
      * 
@@ -167,6 +204,8 @@ public enum State */ SUCCEEDED(2), /** + * + * *
      * The workflow invocation was cancelled. A terminal state.
      * 
@@ -175,6 +214,8 @@ public enum State */ CANCELLED(3), /** + * + * *
      * The workflow invocation failed. A terminal state.
      * 
@@ -183,6 +224,8 @@ public enum State */ FAILED(4), /** + * + * *
      * The workflow invocation is being cancelled, but some actions are still
      * running.
@@ -195,6 +238,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * Default value. This value is unused.
      * 
@@ -203,6 +248,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The workflow invocation is currently running.
      * 
@@ -211,6 +258,8 @@ public enum State */ public static final int RUNNING_VALUE = 1; /** + * + * *
      * The workflow invocation succeeded. A terminal state.
      * 
@@ -219,6 +268,8 @@ public enum State */ public static final int SUCCEEDED_VALUE = 2; /** + * + * *
      * The workflow invocation was cancelled. A terminal state.
      * 
@@ -227,6 +278,8 @@ public enum State */ public static final int CANCELLED_VALUE = 3; /** + * + * *
      * The workflow invocation failed. A terminal state.
      * 
@@ -235,6 +288,8 @@ public enum State */ public static final int FAILED_VALUE = 4; /** + * + * *
      * The workflow invocation is being cancelled, but some actions are still
      * running.
@@ -244,7 +299,6 @@ public enum State
      */
     public static final int CANCELING_VALUE = 5;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -269,52 +323,57 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0: return STATE_UNSPECIFIED;
-        case 1: return RUNNING;
-        case 2: return SUCCEEDED;
-        case 3: return CANCELLED;
-        case 4: return FAILED;
-        case 5: return CANCELING;
-        default: return null;
-      }
-    }
-
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+        case 0:
+          return STATE_UNSPECIFIED;
+        case 1:
+          return RUNNING;
+        case 2:
+          return SUCCEEDED;
+        case 3:
+          return CANCELLED;
+        case 4:
+          return FAILED;
+        case 5:
+          return CANCELING;
+        default:
+          return null;
+      }
+    }
+
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        State> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public State findValueByNumber(int number) {
-              return State.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public State findValueByNumber(int number) {
+            return State.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
-      return com.google.cloud.dataform.v1alpha2.WorkflowInvocation.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.cloud.dataform.v1alpha2.WorkflowInvocation.getDescriptor()
+          .getEnumTypes()
+          .get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -331,128 +390,172 @@ private State(int value) {
     // @@protoc_insertion_point(enum_scope:google.cloud.dataform.v1alpha2.WorkflowInvocation.State)
   }
 
-  public interface InvocationConfigOrBuilder extends
+  public interface InvocationConfigOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Immutable. The set of action identifiers to include.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ - java.util.List - getIncludedTargetsList(); + java.util.List getIncludedTargetsList(); /** + * + * *
      * Immutable. The set of action identifiers to include.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ com.google.cloud.dataform.v1alpha2.Target getIncludedTargets(int index); /** + * + * *
      * Immutable. The set of action identifiers to include.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ int getIncludedTargetsCount(); /** + * + * *
      * Immutable. The set of action identifiers to include.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ - java.util.List + java.util.List getIncludedTargetsOrBuilderList(); /** + * + * *
      * Immutable. The set of action identifiers to include.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ - com.google.cloud.dataform.v1alpha2.TargetOrBuilder getIncludedTargetsOrBuilder( - int index); + com.google.cloud.dataform.v1alpha2.TargetOrBuilder getIncludedTargetsOrBuilder(int index); /** + * + * *
      * Immutable. The set of tags to include.
      * 
* * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return A list containing the includedTags. */ - java.util.List - getIncludedTagsList(); + java.util.List getIncludedTagsList(); /** + * + * *
      * Immutable. The set of tags to include.
      * 
* * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The count of includedTags. */ int getIncludedTagsCount(); /** + * + * *
      * Immutable. The set of tags to include.
      * 
* * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param index The index of the element to return. * @return The includedTags at the given index. */ java.lang.String getIncludedTags(int index); /** + * + * *
      * Immutable. The set of tags to include.
      * 
* * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param index The index of the value to return. * @return The bytes of the includedTags at the given index. */ - com.google.protobuf.ByteString - getIncludedTagsBytes(int index); + com.google.protobuf.ByteString getIncludedTagsBytes(int index); /** + * + * *
      * Immutable. When set to true, transitive dependencies of included actions will be
      * executed.
      * 
* - * bool transitive_dependencies_included = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * bool transitive_dependencies_included = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The transitiveDependenciesIncluded. */ boolean getTransitiveDependenciesIncluded(); /** + * + * *
      * Immutable. When set to true, transitive dependents of included actions will be
      * executed.
      * 
* - * bool transitive_dependents_included = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * bool transitive_dependents_included = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The transitiveDependentsIncluded. */ boolean getTransitiveDependentsIncluded(); /** + * + * *
      * Immutable. When set to true, any incremental tables will be fully refreshed.
      * 
* - * bool fully_refresh_incremental_tables_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * bool fully_refresh_incremental_tables_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The fullyRefreshIncrementalTablesEnabled. */ boolean getFullyRefreshIncrementalTablesEnabled(); } /** + * + * *
    * Includes various configuration options for this workflow invocation.
    * If both `included_targets` and `included_tags` are unset, all actions
@@ -461,15 +564,16 @@ com.google.cloud.dataform.v1alpha2.TargetOrBuilder getIncludedTargetsOrBuilder(
    *
    * Protobuf type {@code google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig}
    */
-  public static final class InvocationConfig extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class InvocationConfig extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig)
       InvocationConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use InvocationConfig.newBuilder() to construct.
     private InvocationConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private InvocationConfig() {
       includedTargets_ = java.util.Collections.emptyList();
       includedTags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -477,16 +581,15 @@ private InvocationConfig() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new InvocationConfig();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private InvocationConfig(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -506,46 +609,50 @@ private InvocationConfig(
             case 0:
               done = true;
               break;
-            case 10: {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                includedTargets_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
+            case 10:
+              {
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  includedTargets_ =
+                      new java.util.ArrayList();
+                  mutable_bitField0_ |= 0x00000001;
+                }
+                includedTargets_.add(
+                    input.readMessage(
+                        com.google.cloud.dataform.v1alpha2.Target.parser(), extensionRegistry));
+                break;
               }
-              includedTargets_.add(
-                  input.readMessage(com.google.cloud.dataform.v1alpha2.Target.parser(), extensionRegistry));
-              break;
-            }
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                includedTags_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000002;
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                  includedTags_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000002;
+                }
+                includedTags_.add(s);
+                break;
               }
-              includedTags_.add(s);
-              break;
-            }
-            case 24: {
-
-              transitiveDependenciesIncluded_ = input.readBool();
-              break;
-            }
-            case 32: {
-
-              transitiveDependentsIncluded_ = input.readBool();
-              break;
-            }
-            case 40: {
-
-              fullyRefreshIncrementalTablesEnabled_ = input.readBool();
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            case 24:
+              {
+                transitiveDependenciesIncluded_ = input.readBool();
+                break;
+              }
+            case 32:
+              {
+                transitiveDependentsIncluded_ = input.readBool();
+                break;
+              }
+            case 40:
+              {
+                fullyRefreshIncrementalTablesEnabled_ = input.readBool();
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -553,8 +660,7 @@ private InvocationConfig(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           includedTargets_ = java.util.Collections.unmodifiableList(includedTargets_);
@@ -566,72 +672,95 @@ private InvocationConfig(
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_InvocationConfig_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.dataform.v1alpha2.DataformProto
+          .internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_InvocationConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_InvocationConfig_fieldAccessorTable
+      return com.google.cloud.dataform.v1alpha2.DataformProto
+          .internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_InvocationConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.class, com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.Builder.class);
+              com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.class,
+              com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.Builder.class);
     }
 
     public static final int INCLUDED_TARGETS_FIELD_NUMBER = 1;
     private java.util.List includedTargets_;
     /**
+     *
+     *
      * 
      * Immutable. The set of action identifiers to include.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ @java.lang.Override public java.util.List getIncludedTargetsList() { return includedTargets_; } /** + * + * *
      * Immutable. The set of action identifiers to include.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ @java.lang.Override - public java.util.List + public java.util.List getIncludedTargetsOrBuilderList() { return includedTargets_; } /** + * + * *
      * Immutable. The set of action identifiers to include.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ @java.lang.Override public int getIncludedTargetsCount() { return includedTargets_.size(); } /** + * + * *
      * Immutable. The set of action identifiers to include.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.Target getIncludedTargets(int index) { return includedTargets_.get(index); } /** + * + * *
      * Immutable. The set of action identifiers to include.
      * 
* - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getIncludedTargetsOrBuilder( @@ -642,34 +771,42 @@ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getIncludedTargetsOrBu public static final int INCLUDED_TAGS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList includedTags_; /** + * + * *
      * Immutable. The set of tags to include.
      * 
* * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return A list containing the includedTags. */ - public com.google.protobuf.ProtocolStringList - getIncludedTagsList() { + public com.google.protobuf.ProtocolStringList getIncludedTagsList() { return includedTags_; } /** + * + * *
      * Immutable. The set of tags to include.
      * 
* * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The count of includedTags. */ public int getIncludedTagsCount() { return includedTags_.size(); } /** + * + * *
      * Immutable. The set of tags to include.
      * 
* * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param index The index of the element to return. * @return The includedTags at the given index. */ @@ -677,28 +814,34 @@ public java.lang.String getIncludedTags(int index) { return includedTags_.get(index); } /** + * + * *
      * Immutable. The set of tags to include.
      * 
* * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param index The index of the value to return. * @return The bytes of the includedTags at the given index. */ - public com.google.protobuf.ByteString - getIncludedTagsBytes(int index) { + public com.google.protobuf.ByteString getIncludedTagsBytes(int index) { return includedTags_.getByteString(index); } public static final int TRANSITIVE_DEPENDENCIES_INCLUDED_FIELD_NUMBER = 3; private boolean transitiveDependenciesIncluded_; /** + * + * *
      * Immutable. When set to true, transitive dependencies of included actions will be
      * executed.
      * 
* - * bool transitive_dependencies_included = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * bool transitive_dependencies_included = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The transitiveDependenciesIncluded. */ @java.lang.Override @@ -709,12 +852,16 @@ public boolean getTransitiveDependenciesIncluded() { public static final int TRANSITIVE_DEPENDENTS_INCLUDED_FIELD_NUMBER = 4; private boolean transitiveDependentsIncluded_; /** + * + * *
      * Immutable. When set to true, transitive dependents of included actions will be
      * executed.
      * 
* - * bool transitive_dependents_included = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * bool transitive_dependents_included = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The transitiveDependentsIncluded. */ @java.lang.Override @@ -725,11 +872,16 @@ public boolean getTransitiveDependentsIncluded() { public static final int FULLY_REFRESH_INCREMENTAL_TABLES_ENABLED_FIELD_NUMBER = 5; private boolean fullyRefreshIncrementalTablesEnabled_; /** + * + * *
      * Immutable. When set to true, any incremental tables will be fully refreshed.
      * 
* - * bool fully_refresh_incremental_tables_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * bool fully_refresh_incremental_tables_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The fullyRefreshIncrementalTablesEnabled. */ @java.lang.Override @@ -738,6 +890,7 @@ public boolean getFullyRefreshIncrementalTablesEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -749,8 +902,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < includedTargets_.size(); i++) { output.writeMessage(1, includedTargets_.get(i)); } @@ -776,8 +928,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < includedTargets_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, includedTargets_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, includedTargets_.get(i)); } { int dataSize = 0; @@ -788,16 +940,18 @@ public int getSerializedSize() { size += 1 * getIncludedTagsList().size(); } if (transitiveDependenciesIncluded_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, transitiveDependenciesIncluded_); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 3, transitiveDependenciesIncluded_); } if (transitiveDependentsIncluded_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, transitiveDependentsIncluded_); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize(4, transitiveDependentsIncluded_); } if (fullyRefreshIncrementalTablesEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, fullyRefreshIncrementalTablesEnabled_); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 5, fullyRefreshIncrementalTablesEnabled_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -807,21 +961,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig)) { + if (!(obj + instanceof com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig other = (com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig) obj; + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig other = + (com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig) obj; - if (!getIncludedTargetsList() - .equals(other.getIncludedTargetsList())) return false; - if (!getIncludedTagsList() - .equals(other.getIncludedTagsList())) return false; - if (getTransitiveDependenciesIncluded() - != other.getTransitiveDependenciesIncluded()) return false; - if (getTransitiveDependentsIncluded() - != other.getTransitiveDependentsIncluded()) return false; + if (!getIncludedTargetsList().equals(other.getIncludedTargetsList())) return false; + if (!getIncludedTagsList().equals(other.getIncludedTagsList())) return false; + if (getTransitiveDependenciesIncluded() != other.getTransitiveDependenciesIncluded()) + return false; + if (getTransitiveDependentsIncluded() != other.getTransitiveDependentsIncluded()) + return false; if (getFullyRefreshIncrementalTablesEnabled() != other.getFullyRefreshIncrementalTablesEnabled()) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -844,101 +998,111 @@ public int hashCode() { hash = (53 * hash) + getIncludedTagsList().hashCode(); } hash = (37 * hash) + TRANSITIVE_DEPENDENCIES_INCLUDED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getTransitiveDependenciesIncluded()); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashBoolean(getTransitiveDependenciesIncluded()); hash = (37 * hash) + TRANSITIVE_DEPENDENTS_INCLUDED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getTransitiveDependentsIncluded()); + hash = + (53 * hash) + com.google.protobuf.Internal.hashBoolean(getTransitiveDependentsIncluded()); hash = (37 * hash) + FULLY_REFRESH_INCREMENTAL_TABLES_ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getFullyRefreshIncrementalTablesEnabled()); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashBoolean(getFullyRefreshIncrementalTablesEnabled()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -948,6 +1112,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Includes various configuration options for this workflow invocation.
      * If both `included_targets` and `included_tags` are unset, all actions
@@ -956,39 +1122,44 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig)
         com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfigOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_InvocationConfig_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.dataform.v1alpha2.DataformProto
+            .internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_InvocationConfig_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_InvocationConfig_fieldAccessorTable
+        return com.google.cloud.dataform.v1alpha2.DataformProto
+            .internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_InvocationConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.class, com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.Builder.class);
+                com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.class,
+                com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.Builder
+                    .class);
       }
 
-      // Construct using com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.newBuilder()
+      // Construct using
+      // com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
           getIncludedTargetsFieldBuilder();
         }
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1010,19 +1181,22 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_InvocationConfig_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.dataform.v1alpha2.DataformProto
+            .internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_InvocationConfig_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig getDefaultInstanceForType() {
-        return com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.getDefaultInstance();
+      public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig
+          getDefaultInstanceForType() {
+        return com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig
+            .getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig build() {
-        com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig result = buildPartial();
+        com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig result =
+            buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -1031,7 +1205,8 @@ public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig bu
 
       @java.lang.Override
       public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig buildPartial() {
-        com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig result = new com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig(this);
+        com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig result =
+            new com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig(this);
         int from_bitField0_ = bitField0_;
         if (includedTargetsBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0)) {
@@ -1058,46 +1233,54 @@ public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig bu
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other instanceof com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig) {
-          return mergeFrom((com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig)other);
+        if (other
+            instanceof com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig) {
+          return mergeFrom(
+              (com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig other) {
-        if (other == com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig other) {
+        if (other
+            == com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig
+                .getDefaultInstance()) return this;
         if (includedTargetsBuilder_ == null) {
           if (!other.includedTargets_.isEmpty()) {
             if (includedTargets_.isEmpty()) {
@@ -1116,9 +1299,10 @@ public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.WorkflowInvocation.I
               includedTargetsBuilder_ = null;
               includedTargets_ = other.includedTargets_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              includedTargetsBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getIncludedTargetsFieldBuilder() : null;
+              includedTargetsBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getIncludedTargetsFieldBuilder()
+                      : null;
             } else {
               includedTargetsBuilder_.addAllMessages(other.includedTargets_);
             }
@@ -1162,7 +1346,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -1171,26 +1357,36 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int bitField0_;
 
       private java.util.List includedTargets_ =
-        java.util.Collections.emptyList();
+          java.util.Collections.emptyList();
+
       private void ensureIncludedTargetsIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
-          includedTargets_ = new java.util.ArrayList(includedTargets_);
+          includedTargets_ =
+              new java.util.ArrayList(includedTargets_);
           bitField0_ |= 0x00000001;
-         }
+        }
       }
 
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder> includedTargetsBuilder_;
+              com.google.cloud.dataform.v1alpha2.Target,
+              com.google.cloud.dataform.v1alpha2.Target.Builder,
+              com.google.cloud.dataform.v1alpha2.TargetOrBuilder>
+          includedTargetsBuilder_;
 
       /**
+       *
+       *
        * 
        * Immutable. The set of action identifiers to include.
        * 
* - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public java.util.List getIncludedTargetsList() { if (includedTargetsBuilder_ == null) { @@ -1200,11 +1396,15 @@ public java.util.List getIncludedTarg } } /** + * + * *
        * Immutable. The set of action identifiers to include.
        * 
* - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public int getIncludedTargetsCount() { if (includedTargetsBuilder_ == null) { @@ -1214,11 +1414,15 @@ public int getIncludedTargetsCount() { } } /** + * + * *
        * Immutable. The set of action identifiers to include.
        * 
* - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public com.google.cloud.dataform.v1alpha2.Target getIncludedTargets(int index) { if (includedTargetsBuilder_ == null) { @@ -1228,11 +1432,15 @@ public com.google.cloud.dataform.v1alpha2.Target getIncludedTargets(int index) { } } /** + * + * *
        * Immutable. The set of action identifiers to include.
        * 
* - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public Builder setIncludedTargets( int index, com.google.cloud.dataform.v1alpha2.Target value) { @@ -1249,11 +1457,15 @@ public Builder setIncludedTargets( return this; } /** + * + * *
        * Immutable. The set of action identifiers to include.
        * 
* - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public Builder setIncludedTargets( int index, com.google.cloud.dataform.v1alpha2.Target.Builder builderForValue) { @@ -1267,11 +1479,15 @@ public Builder setIncludedTargets( return this; } /** + * + * *
        * Immutable. The set of action identifiers to include.
        * 
* - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public Builder addIncludedTargets(com.google.cloud.dataform.v1alpha2.Target value) { if (includedTargetsBuilder_ == null) { @@ -1287,11 +1503,15 @@ public Builder addIncludedTargets(com.google.cloud.dataform.v1alpha2.Target valu return this; } /** + * + * *
        * Immutable. The set of action identifiers to include.
        * 
* - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public Builder addIncludedTargets( int index, com.google.cloud.dataform.v1alpha2.Target value) { @@ -1308,11 +1528,15 @@ public Builder addIncludedTargets( return this; } /** + * + * *
        * Immutable. The set of action identifiers to include.
        * 
* - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public Builder addIncludedTargets( com.google.cloud.dataform.v1alpha2.Target.Builder builderForValue) { @@ -1326,11 +1550,15 @@ public Builder addIncludedTargets( return this; } /** + * + * *
        * Immutable. The set of action identifiers to include.
        * 
* - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public Builder addIncludedTargets( int index, com.google.cloud.dataform.v1alpha2.Target.Builder builderForValue) { @@ -1344,18 +1572,21 @@ public Builder addIncludedTargets( return this; } /** + * + * *
        * Immutable. The set of action identifiers to include.
        * 
* - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public Builder addAllIncludedTargets( java.lang.Iterable values) { if (includedTargetsBuilder_ == null) { ensureIncludedTargetsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, includedTargets_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, includedTargets_); onChanged(); } else { includedTargetsBuilder_.addAllMessages(values); @@ -1363,11 +1594,15 @@ public Builder addAllIncludedTargets( return this; } /** + * + * *
        * Immutable. The set of action identifiers to include.
        * 
* - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public Builder clearIncludedTargets() { if (includedTargetsBuilder_ == null) { @@ -1380,11 +1615,15 @@ public Builder clearIncludedTargets() { return this; } /** + * + * *
        * Immutable. The set of action identifiers to include.
        * 
* - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public Builder removeIncludedTargets(int index) { if (includedTargetsBuilder_ == null) { @@ -1397,39 +1636,52 @@ public Builder removeIncludedTargets(int index) { return this; } /** + * + * *
        * Immutable. The set of action identifiers to include.
        * 
* - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public com.google.cloud.dataform.v1alpha2.Target.Builder getIncludedTargetsBuilder( int index) { return getIncludedTargetsFieldBuilder().getBuilder(index); } /** + * + * *
        * Immutable. The set of action identifiers to include.
        * 
* - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getIncludedTargetsOrBuilder( int index) { if (includedTargetsBuilder_ == null) { - return includedTargets_.get(index); } else { + return includedTargets_.get(index); + } else { return includedTargetsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * Immutable. The set of action identifiers to include.
        * 
* - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ - public java.util.List - getIncludedTargetsOrBuilderList() { + public java.util.List + getIncludedTargetsOrBuilderList() { if (includedTargetsBuilder_ != null) { return includedTargetsBuilder_.getMessageOrBuilderList(); } else { @@ -1437,45 +1689,63 @@ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getIncludedTargetsOrBu } } /** + * + * *
        * Immutable. The set of action identifiers to include.
        * 
* - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public com.google.cloud.dataform.v1alpha2.Target.Builder addIncludedTargetsBuilder() { - return getIncludedTargetsFieldBuilder().addBuilder( - com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance()); + return getIncludedTargetsFieldBuilder() + .addBuilder(com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance()); } /** + * + * *
        * Immutable. The set of action identifiers to include.
        * 
* - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public com.google.cloud.dataform.v1alpha2.Target.Builder addIncludedTargetsBuilder( int index) { - return getIncludedTargetsFieldBuilder().addBuilder( - index, com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance()); + return getIncludedTargetsFieldBuilder() + .addBuilder(index, com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance()); } /** + * + * *
        * Immutable. The set of action identifiers to include.
        * 
* - * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1alpha2.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ - public java.util.List - getIncludedTargetsBuilderList() { + public java.util.List + getIncludedTargetsBuilderList() { return getIncludedTargetsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder> + com.google.cloud.dataform.v1alpha2.Target, + com.google.cloud.dataform.v1alpha2.Target.Builder, + com.google.cloud.dataform.v1alpha2.TargetOrBuilder> getIncludedTargetsFieldBuilder() { if (includedTargetsBuilder_ == null) { - includedTargetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder>( + includedTargetsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.Target, + com.google.cloud.dataform.v1alpha2.Target.Builder, + com.google.cloud.dataform.v1alpha2.TargetOrBuilder>( includedTargets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1485,42 +1755,52 @@ public com.google.cloud.dataform.v1alpha2.Target.Builder addIncludedTargetsBuild return includedTargetsBuilder_; } - private com.google.protobuf.LazyStringList includedTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList includedTags_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureIncludedTagsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { includedTags_ = new com.google.protobuf.LazyStringArrayList(includedTags_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
        * Immutable. The set of tags to include.
        * 
* * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return A list containing the includedTags. */ - public com.google.protobuf.ProtocolStringList - getIncludedTagsList() { + public com.google.protobuf.ProtocolStringList getIncludedTagsList() { return includedTags_.getUnmodifiableView(); } /** + * + * *
        * Immutable. The set of tags to include.
        * 
* * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The count of includedTags. */ public int getIncludedTagsCount() { return includedTags_.size(); } /** + * + * *
        * Immutable. The set of tags to include.
        * 
* * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param index The index of the element to return. * @return The includedTags at the given index. */ @@ -1528,80 +1808,90 @@ public java.lang.String getIncludedTags(int index) { return includedTags_.get(index); } /** + * + * *
        * Immutable. The set of tags to include.
        * 
* * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param index The index of the value to return. * @return The bytes of the includedTags at the given index. */ - public com.google.protobuf.ByteString - getIncludedTagsBytes(int index) { + public com.google.protobuf.ByteString getIncludedTagsBytes(int index) { return includedTags_.getByteString(index); } /** + * + * *
        * Immutable. The set of tags to include.
        * 
* * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param index The index to set the value at. * @param value The includedTags to set. * @return This builder for chaining. */ - public Builder setIncludedTags( - int index, java.lang.String value) { + public Builder setIncludedTags(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIncludedTagsIsMutable(); + throw new NullPointerException(); + } + ensureIncludedTagsIsMutable(); includedTags_.set(index, value); onChanged(); return this; } /** + * + * *
        * Immutable. The set of tags to include.
        * 
* * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The includedTags to add. * @return This builder for chaining. */ - public Builder addIncludedTags( - java.lang.String value) { + public Builder addIncludedTags(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIncludedTagsIsMutable(); + throw new NullPointerException(); + } + ensureIncludedTagsIsMutable(); includedTags_.add(value); onChanged(); return this; } /** + * + * *
        * Immutable. The set of tags to include.
        * 
* * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param values The includedTags to add. * @return This builder for chaining. */ - public Builder addAllIncludedTags( - java.lang.Iterable values) { + public Builder addAllIncludedTags(java.lang.Iterable values) { ensureIncludedTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, includedTags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, includedTags_); onChanged(); return this; } /** + * + * *
        * Immutable. The set of tags to include.
        * 
* * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearIncludedTags() { @@ -1611,34 +1901,40 @@ public Builder clearIncludedTags() { return this; } /** + * + * *
        * Immutable. The set of tags to include.
        * 
* * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The bytes of the includedTags to add. * @return This builder for chaining. */ - public Builder addIncludedTagsBytes( - com.google.protobuf.ByteString value) { + public Builder addIncludedTagsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureIncludedTagsIsMutable(); includedTags_.add(value); onChanged(); return this; } - private boolean transitiveDependenciesIncluded_ ; + private boolean transitiveDependenciesIncluded_; /** + * + * *
        * Immutable. When set to true, transitive dependencies of included actions will be
        * executed.
        * 
* - * bool transitive_dependencies_included = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * bool transitive_dependencies_included = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The transitiveDependenciesIncluded. */ @java.lang.Override @@ -1646,45 +1942,57 @@ public boolean getTransitiveDependenciesIncluded() { return transitiveDependenciesIncluded_; } /** + * + * *
        * Immutable. When set to true, transitive dependencies of included actions will be
        * executed.
        * 
* - * bool transitive_dependencies_included = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * bool transitive_dependencies_included = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The transitiveDependenciesIncluded to set. * @return This builder for chaining. */ public Builder setTransitiveDependenciesIncluded(boolean value) { - + transitiveDependenciesIncluded_ = value; onChanged(); return this; } /** + * + * *
        * Immutable. When set to true, transitive dependencies of included actions will be
        * executed.
        * 
* - * bool transitive_dependencies_included = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * bool transitive_dependencies_included = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearTransitiveDependenciesIncluded() { - + transitiveDependenciesIncluded_ = false; onChanged(); return this; } - private boolean transitiveDependentsIncluded_ ; + private boolean transitiveDependentsIncluded_; /** + * + * *
        * Immutable. When set to true, transitive dependents of included actions will be
        * executed.
        * 
* - * bool transitive_dependents_included = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * bool transitive_dependents_included = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The transitiveDependentsIncluded. */ @java.lang.Override @@ -1692,44 +2000,57 @@ public boolean getTransitiveDependentsIncluded() { return transitiveDependentsIncluded_; } /** + * + * *
        * Immutable. When set to true, transitive dependents of included actions will be
        * executed.
        * 
* - * bool transitive_dependents_included = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * bool transitive_dependents_included = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The transitiveDependentsIncluded to set. * @return This builder for chaining. */ public Builder setTransitiveDependentsIncluded(boolean value) { - + transitiveDependentsIncluded_ = value; onChanged(); return this; } /** + * + * *
        * Immutable. When set to true, transitive dependents of included actions will be
        * executed.
        * 
* - * bool transitive_dependents_included = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * bool transitive_dependents_included = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearTransitiveDependentsIncluded() { - + transitiveDependentsIncluded_ = false; onChanged(); return this; } - private boolean fullyRefreshIncrementalTablesEnabled_ ; + private boolean fullyRefreshIncrementalTablesEnabled_; /** + * + * *
        * Immutable. When set to true, any incremental tables will be fully refreshed.
        * 
* - * bool fully_refresh_incremental_tables_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * bool fully_refresh_incremental_tables_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The fullyRefreshIncrementalTablesEnabled. */ @java.lang.Override @@ -1737,34 +2058,45 @@ public boolean getFullyRefreshIncrementalTablesEnabled() { return fullyRefreshIncrementalTablesEnabled_; } /** + * + * *
        * Immutable. When set to true, any incremental tables will be fully refreshed.
        * 
* - * bool fully_refresh_incremental_tables_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * bool fully_refresh_incremental_tables_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The fullyRefreshIncrementalTablesEnabled to set. * @return This builder for chaining. */ public Builder setFullyRefreshIncrementalTablesEnabled(boolean value) { - + fullyRefreshIncrementalTablesEnabled_ = value; onChanged(); return this; } /** + * + * *
        * Immutable. When set to true, any incremental tables will be fully refreshed.
        * 
* - * bool fully_refresh_incremental_tables_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * bool fully_refresh_incremental_tables_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearFullyRefreshIncrementalTablesEnabled() { - + fullyRefreshIncrementalTablesEnabled_ = false; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1777,30 +2109,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig) - private static final com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig(); + DEFAULT_INSTANCE = + new com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig(); } - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InvocationConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InvocationConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InvocationConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InvocationConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1812,20 +2147,23 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Output only. The workflow invocation's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -1834,29 +2172,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. The workflow invocation's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1867,12 +2205,17 @@ public java.lang.String getName() { public static final int COMPILATION_RESULT_FIELD_NUMBER = 2; private volatile java.lang.Object compilationResult_; /** + * + * *
    * Immutable. The name of the compilation result to compile. Must be in the format
    * `projects/*/locations/*/repositories/*/compilationResults/*`.
    * 
* - * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The compilationResult. */ @java.lang.Override @@ -1881,30 +2224,32 @@ public java.lang.String getCompilationResult() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); compilationResult_ = s; return s; } } /** + * + * *
    * Immutable. The name of the compilation result to compile. Must be in the format
    * `projects/*/locations/*/repositories/*/compilationResults/*`.
    * 
* - * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for compilationResult. */ @java.lang.Override - public com.google.protobuf.ByteString - getCompilationResultBytes() { + public com.google.protobuf.ByteString getCompilationResultBytes() { java.lang.Object ref = compilationResult_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); compilationResult_ = b; return b; } else { @@ -1915,11 +2260,16 @@ public java.lang.String getCompilationResult() { public static final int INVOCATION_CONFIG_FIELD_NUMBER = 3; private com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocationConfig_; /** + * + * *
    * Immutable. If left unset, a default InvocationConfig will be used.
    * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return Whether the invocationConfig field is set. */ @java.lang.Override @@ -1927,64 +2277,97 @@ public boolean hasInvocationConfig() { return invocationConfig_ != null; } /** + * + * *
    * Immutable. If left unset, a default InvocationConfig will be used.
    * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The invocationConfig. */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig getInvocationConfig() { - return invocationConfig_ == null ? com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.getDefaultInstance() : invocationConfig_; + public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig + getInvocationConfig() { + return invocationConfig_ == null + ? com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig + .getDefaultInstance() + : invocationConfig_; } /** + * + * *
    * Immutable. If left unset, a default InvocationConfig will be used.
    * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfigOrBuilder getInvocationConfigOrBuilder() { + public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfigOrBuilder + getInvocationConfigOrBuilder() { return getInvocationConfig(); } public static final int STATE_FIELD_NUMBER = 4; private int state_; /** + * + * *
    * Output only. This workflow invocation's current state.
    * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Output only. This workflow invocation's current state.
    * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.State getState() { + @java.lang.Override + public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.State result = com.google.cloud.dataform.v1alpha2.WorkflowInvocation.State.valueOf(state_); - return result == null ? com.google.cloud.dataform.v1alpha2.WorkflowInvocation.State.UNRECOGNIZED : result; + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.State result = + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.State.valueOf(state_); + return result == null + ? com.google.cloud.dataform.v1alpha2.WorkflowInvocation.State.UNRECOGNIZED + : result; } public static final int INVOCATION_TIMING_FIELD_NUMBER = 5; private com.google.type.Interval invocationTiming_; /** + * + * *
    * Output only. This workflow invocation's timing details.
    * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the invocationTiming field is set. */ @java.lang.Override @@ -1992,23 +2375,32 @@ public boolean hasInvocationTiming() { return invocationTiming_ != null; } /** + * + * *
    * Output only. This workflow invocation's timing details.
    * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The invocationTiming. */ @java.lang.Override public com.google.type.Interval getInvocationTiming() { - return invocationTiming_ == null ? com.google.type.Interval.getDefaultInstance() : invocationTiming_; + return invocationTiming_ == null + ? com.google.type.Interval.getDefaultInstance() + : invocationTiming_; } /** + * + * *
    * Output only. This workflow invocation's timing details.
    * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.type.IntervalOrBuilder getInvocationTimingOrBuilder() { @@ -2016,6 +2408,7 @@ public com.google.type.IntervalOrBuilder getInvocationTimingOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2027,8 +2420,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -2038,7 +2430,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (invocationConfig_ != null) { output.writeMessage(3, getInvocationConfig()); } - if (state_ != com.google.cloud.dataform.v1alpha2.WorkflowInvocation.State.STATE_UNSPECIFIED.getNumber()) { + if (state_ + != com.google.cloud.dataform.v1alpha2.WorkflowInvocation.State.STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(4, state_); } if (invocationTiming_ != null) { @@ -2060,16 +2454,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, compilationResult_); } if (invocationConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getInvocationConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getInvocationConfig()); } - if (state_ != com.google.cloud.dataform.v1alpha2.WorkflowInvocation.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, state_); + if (state_ + != com.google.cloud.dataform.v1alpha2.WorkflowInvocation.State.STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, state_); } if (invocationTiming_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getInvocationTiming()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getInvocationTiming()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2079,27 +2472,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.WorkflowInvocation)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.WorkflowInvocation other = (com.google.cloud.dataform.v1alpha2.WorkflowInvocation) obj; + com.google.cloud.dataform.v1alpha2.WorkflowInvocation other = + (com.google.cloud.dataform.v1alpha2.WorkflowInvocation) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getCompilationResult() - .equals(other.getCompilationResult())) return false; + if (!getName().equals(other.getName())) return false; + if (!getCompilationResult().equals(other.getCompilationResult())) return false; if (hasInvocationConfig() != other.hasInvocationConfig()) return false; if (hasInvocationConfig()) { - if (!getInvocationConfig() - .equals(other.getInvocationConfig())) return false; + if (!getInvocationConfig().equals(other.getInvocationConfig())) return false; } if (state_ != other.state_) return false; if (hasInvocationTiming() != other.hasInvocationTiming()) return false; if (hasInvocationTiming()) { - if (!getInvocationTiming() - .equals(other.getInvocationTiming())) return false; + if (!getInvocationTiming().equals(other.getInvocationTiming())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -2132,117 +2522,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.WorkflowInvocation prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.WorkflowInvocation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents a single invocation of a compilation result.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.WorkflowInvocation} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.WorkflowInvocation) com.google.cloud.dataform.v1alpha2.WorkflowInvocationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.class, com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder.class); + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.class, + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.WorkflowInvocation.newBuilder() @@ -2250,16 +2650,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -2285,9 +2684,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocation_descriptor; } @java.lang.Override @@ -2306,7 +2705,8 @@ public com.google.cloud.dataform.v1alpha2.WorkflowInvocation build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.WorkflowInvocation buildPartial() { - com.google.cloud.dataform.v1alpha2.WorkflowInvocation result = new com.google.cloud.dataform.v1alpha2.WorkflowInvocation(this); + com.google.cloud.dataform.v1alpha2.WorkflowInvocation result = + new com.google.cloud.dataform.v1alpha2.WorkflowInvocation(this); result.name_ = name_; result.compilationResult_ = compilationResult_; if (invocationConfigBuilder_ == null) { @@ -2328,38 +2728,39 @@ public com.google.cloud.dataform.v1alpha2.WorkflowInvocation buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.WorkflowInvocation) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.WorkflowInvocation)other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.WorkflowInvocation) other); } else { super.mergeFrom(other); return this; @@ -2367,7 +2768,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.WorkflowInvocation other) { - if (other == com.google.cloud.dataform.v1alpha2.WorkflowInvocation.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1alpha2.WorkflowInvocation.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -2404,7 +2806,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.WorkflowInvocation) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.WorkflowInvocation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2416,18 +2819,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Output only. The workflow invocation's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -2436,20 +2841,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The workflow invocation's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -2457,54 +2863,61 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The workflow invocation's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The workflow invocation's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. The workflow invocation's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2512,19 +2925,23 @@ public Builder setNameBytes( private java.lang.Object compilationResult_ = ""; /** + * + * *
      * Immutable. The name of the compilation result to compile. Must be in the format
      * `projects/*/locations/*/repositories/*/compilationResults/*`.
      * 
* - * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The compilationResult. */ public java.lang.String getCompilationResult() { java.lang.Object ref = compilationResult_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); compilationResult_ = s; return s; @@ -2533,21 +2950,24 @@ public java.lang.String getCompilationResult() { } } /** + * + * *
      * Immutable. The name of the compilation result to compile. Must be in the format
      * `projects/*/locations/*/repositories/*/compilationResults/*`.
      * 
* - * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for compilationResult. */ - public com.google.protobuf.ByteString - getCompilationResultBytes() { + public com.google.protobuf.ByteString getCompilationResultBytes() { java.lang.Object ref = compilationResult_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); compilationResult_ = b; return b; } else { @@ -2555,99 +2975,135 @@ public java.lang.String getCompilationResult() { } } /** + * + * *
      * Immutable. The name of the compilation result to compile. Must be in the format
      * `projects/*/locations/*/repositories/*/compilationResults/*`.
      * 
* - * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @param value The compilationResult to set. * @return This builder for chaining. */ - public Builder setCompilationResult( - java.lang.String value) { + public Builder setCompilationResult(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + compilationResult_ = value; onChanged(); return this; } /** + * + * *
      * Immutable. The name of the compilation result to compile. Must be in the format
      * `projects/*/locations/*/repositories/*/compilationResults/*`.
      * 
* - * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearCompilationResult() { - + compilationResult_ = getDefaultInstance().getCompilationResult(); onChanged(); return this; } /** + * + * *
      * Immutable. The name of the compilation result to compile. Must be in the format
      * `projects/*/locations/*/repositories/*/compilationResults/*`.
      * 
* - * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for compilationResult to set. * @return This builder for chaining. */ - public Builder setCompilationResultBytes( - com.google.protobuf.ByteString value) { + public Builder setCompilationResultBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + compilationResult_ = value; onChanged(); return this; } - private com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocationConfig_; + private com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig + invocationConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig, com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.Builder, com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfigOrBuilder> invocationConfigBuilder_; + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig, + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.Builder, + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfigOrBuilder> + invocationConfigBuilder_; /** + * + * *
      * Immutable. If left unset, a default InvocationConfig will be used.
      * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return Whether the invocationConfig field is set. */ public boolean hasInvocationConfig() { return invocationConfigBuilder_ != null || invocationConfig_ != null; } /** + * + * *
      * Immutable. If left unset, a default InvocationConfig will be used.
      * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The invocationConfig. */ - public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig getInvocationConfig() { + public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig + getInvocationConfig() { if (invocationConfigBuilder_ == null) { - return invocationConfig_ == null ? com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.getDefaultInstance() : invocationConfig_; + return invocationConfig_ == null + ? com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig + .getDefaultInstance() + : invocationConfig_; } else { return invocationConfigBuilder_.getMessage(); } } /** + * + * *
      * Immutable. If left unset, a default InvocationConfig will be used.
      * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * */ - public Builder setInvocationConfig(com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig value) { + public Builder setInvocationConfig( + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig value) { if (invocationConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2661,14 +3117,19 @@ public Builder setInvocationConfig(com.google.cloud.dataform.v1alpha2.WorkflowIn return this; } /** + * + * *
      * Immutable. If left unset, a default InvocationConfig will be used.
      * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public Builder setInvocationConfig( - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.Builder builderForValue) { + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.Builder + builderForValue) { if (invocationConfigBuilder_ == null) { invocationConfig_ = builderForValue.build(); onChanged(); @@ -2679,17 +3140,25 @@ public Builder setInvocationConfig( return this; } /** + * + * *
      * Immutable. If left unset, a default InvocationConfig will be used.
      * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * */ - public Builder mergeInvocationConfig(com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig value) { + public Builder mergeInvocationConfig( + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig value) { if (invocationConfigBuilder_ == null) { if (invocationConfig_ != null) { invocationConfig_ = - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.newBuilder(invocationConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.newBuilder( + invocationConfig_) + .mergeFrom(value) + .buildPartial(); } else { invocationConfig_ = value; } @@ -2701,11 +3170,15 @@ public Builder mergeInvocationConfig(com.google.cloud.dataform.v1alpha2.Workflow return this; } /** + * + * *
      * Immutable. If left unset, a default InvocationConfig will be used.
      * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public Builder clearInvocationConfig() { if (invocationConfigBuilder_ == null) { @@ -2719,48 +3192,67 @@ public Builder clearInvocationConfig() { return this; } /** + * + * *
      * Immutable. If left unset, a default InvocationConfig will be used.
      * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * */ - public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.Builder getInvocationConfigBuilder() { - + public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.Builder + getInvocationConfigBuilder() { + onChanged(); return getInvocationConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Immutable. If left unset, a default InvocationConfig will be used.
      * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * */ - public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfigOrBuilder getInvocationConfigOrBuilder() { + public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfigOrBuilder + getInvocationConfigOrBuilder() { if (invocationConfigBuilder_ != null) { return invocationConfigBuilder_.getMessageOrBuilder(); } else { - return invocationConfig_ == null ? - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.getDefaultInstance() : invocationConfig_; + return invocationConfig_ == null + ? com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig + .getDefaultInstance() + : invocationConfig_; } } /** + * + * *
      * Immutable. If left unset, a default InvocationConfig will be used.
      * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig, com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.Builder, com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfigOrBuilder> + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig, + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.Builder, + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfigOrBuilder> getInvocationConfigFieldBuilder() { if (invocationConfigBuilder_ == null) { - invocationConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig, com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.Builder, com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfigOrBuilder>( - getInvocationConfig(), - getParentForChildren(), - isClean()); + invocationConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig, + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig.Builder, + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfigOrBuilder>( + getInvocationConfig(), getParentForChildren(), isClean()); invocationConfig_ = null; } return invocationConfigBuilder_; @@ -2768,51 +3260,75 @@ public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfigOrB private int state_ = 0; /** + * + * *
      * Output only. This workflow invocation's current state.
      * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. This workflow invocation's current state.
      * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
      * Output only. This workflow invocation's current state.
      * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.WorkflowInvocation.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.State result = com.google.cloud.dataform.v1alpha2.WorkflowInvocation.State.valueOf(state_); - return result == null ? com.google.cloud.dataform.v1alpha2.WorkflowInvocation.State.UNRECOGNIZED : result; + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.State result = + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.State.valueOf(state_); + return result == null + ? com.google.cloud.dataform.v1alpha2.WorkflowInvocation.State.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. This workflow invocation's current state.
      * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -2820,21 +3336,26 @@ public Builder setState(com.google.cloud.dataform.v1alpha2.WorkflowInvocation.St if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. This workflow invocation's current state.
      * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -2842,39 +3363,58 @@ public Builder clearState() { private com.google.type.Interval invocationTiming_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Interval, com.google.type.Interval.Builder, com.google.type.IntervalOrBuilder> invocationTimingBuilder_; + com.google.type.Interval, + com.google.type.Interval.Builder, + com.google.type.IntervalOrBuilder> + invocationTimingBuilder_; /** + * + * *
      * Output only. This workflow invocation's timing details.
      * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the invocationTiming field is set. */ public boolean hasInvocationTiming() { return invocationTimingBuilder_ != null || invocationTiming_ != null; } /** + * + * *
      * Output only. This workflow invocation's timing details.
      * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The invocationTiming. */ public com.google.type.Interval getInvocationTiming() { if (invocationTimingBuilder_ == null) { - return invocationTiming_ == null ? com.google.type.Interval.getDefaultInstance() : invocationTiming_; + return invocationTiming_ == null + ? com.google.type.Interval.getDefaultInstance() + : invocationTiming_; } else { return invocationTimingBuilder_.getMessage(); } } /** + * + * *
      * Output only. This workflow invocation's timing details.
      * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setInvocationTiming(com.google.type.Interval value) { if (invocationTimingBuilder_ == null) { @@ -2890,14 +3430,17 @@ public Builder setInvocationTiming(com.google.type.Interval value) { return this; } /** + * + * *
      * Output only. This workflow invocation's timing details.
      * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setInvocationTiming( - com.google.type.Interval.Builder builderForValue) { + public Builder setInvocationTiming(com.google.type.Interval.Builder builderForValue) { if (invocationTimingBuilder_ == null) { invocationTiming_ = builderForValue.build(); onChanged(); @@ -2908,17 +3451,23 @@ public Builder setInvocationTiming( return this; } /** + * + * *
      * Output only. This workflow invocation's timing details.
      * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeInvocationTiming(com.google.type.Interval value) { if (invocationTimingBuilder_ == null) { if (invocationTiming_ != null) { invocationTiming_ = - com.google.type.Interval.newBuilder(invocationTiming_).mergeFrom(value).buildPartial(); + com.google.type.Interval.newBuilder(invocationTiming_) + .mergeFrom(value) + .buildPartial(); } else { invocationTiming_ = value; } @@ -2930,11 +3479,15 @@ public Builder mergeInvocationTiming(com.google.type.Interval value) { return this; } /** + * + * *
      * Output only. This workflow invocation's timing details.
      * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearInvocationTiming() { if (invocationTimingBuilder_ == null) { @@ -2948,55 +3501,71 @@ public Builder clearInvocationTiming() { return this; } /** + * + * *
      * Output only. This workflow invocation's timing details.
      * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.type.Interval.Builder getInvocationTimingBuilder() { - + onChanged(); return getInvocationTimingFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. This workflow invocation's timing details.
      * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.type.IntervalOrBuilder getInvocationTimingOrBuilder() { if (invocationTimingBuilder_ != null) { return invocationTimingBuilder_.getMessageOrBuilder(); } else { - return invocationTiming_ == null ? - com.google.type.Interval.getDefaultInstance() : invocationTiming_; + return invocationTiming_ == null + ? com.google.type.Interval.getDefaultInstance() + : invocationTiming_; } } /** + * + * *
      * Output only. This workflow invocation's timing details.
      * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Interval, com.google.type.Interval.Builder, com.google.type.IntervalOrBuilder> + com.google.type.Interval, + com.google.type.Interval.Builder, + com.google.type.IntervalOrBuilder> getInvocationTimingFieldBuilder() { if (invocationTimingBuilder_ == null) { - invocationTimingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Interval, com.google.type.Interval.Builder, com.google.type.IntervalOrBuilder>( - getInvocationTiming(), - getParentForChildren(), - isClean()); + invocationTimingBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Interval, + com.google.type.Interval.Builder, + com.google.type.IntervalOrBuilder>( + getInvocationTiming(), getParentForChildren(), isClean()); invocationTiming_ = null; } return invocationTimingBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3006,12 +3575,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.WorkflowInvocation) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.WorkflowInvocation) private static final com.google.cloud.dataform.v1alpha2.WorkflowInvocation DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.WorkflowInvocation(); } @@ -3020,16 +3589,16 @@ public static com.google.cloud.dataform.v1alpha2.WorkflowInvocation getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkflowInvocation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WorkflowInvocation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WorkflowInvocation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WorkflowInvocation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3044,6 +3613,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.WorkflowInvocation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocationAction.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocationAction.java similarity index 63% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocationAction.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocationAction.java index d07460a..d85097c 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocationAction.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocationAction.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * Represents a single action in a workflow invocation.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.WorkflowInvocationAction} */ -public final class WorkflowInvocationAction extends - com.google.protobuf.GeneratedMessageV3 implements +public final class WorkflowInvocationAction extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.WorkflowInvocationAction) WorkflowInvocationActionOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use WorkflowInvocationAction.newBuilder() to construct. private WorkflowInvocationAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private WorkflowInvocationAction() { state_ = 0; failureReason_ = ""; @@ -26,16 +44,15 @@ private WorkflowInvocationAction() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new WorkflowInvocationAction(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private WorkflowInvocationAction( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,77 +71,93 @@ private WorkflowInvocationAction( case 0: done = true; break; - case 10: { - com.google.cloud.dataform.v1alpha2.Target.Builder subBuilder = null; - if (target_ != null) { - subBuilder = target_.toBuilder(); - } - target_ = input.readMessage(com.google.cloud.dataform.v1alpha2.Target.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(target_); - target_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.dataform.v1alpha2.Target.Builder subBuilder = null; + if (target_ != null) { + subBuilder = target_.toBuilder(); + } + target_ = + input.readMessage( + com.google.cloud.dataform.v1alpha2.Target.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(target_); + target_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.cloud.dataform.v1alpha2.Target.Builder subBuilder = null; - if (canonicalTarget_ != null) { - subBuilder = canonicalTarget_.toBuilder(); - } - canonicalTarget_ = input.readMessage(com.google.cloud.dataform.v1alpha2.Target.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(canonicalTarget_); - canonicalTarget_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.cloud.dataform.v1alpha2.Target.Builder subBuilder = null; + if (canonicalTarget_ != null) { + subBuilder = canonicalTarget_.toBuilder(); + } + canonicalTarget_ = + input.readMessage( + com.google.cloud.dataform.v1alpha2.Target.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(canonicalTarget_); + canonicalTarget_ = subBuilder.buildPartial(); + } - break; - } - case 32: { - int rawValue = input.readEnum(); - - state_ = rawValue; - break; - } - case 42: { - com.google.type.Interval.Builder subBuilder = null; - if (invocationTiming_ != null) { - subBuilder = invocationTiming_.toBuilder(); - } - invocationTiming_ = input.readMessage(com.google.type.Interval.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(invocationTiming_); - invocationTiming_ = subBuilder.buildPartial(); + break; } + case 32: + { + int rawValue = input.readEnum(); - break; - } - case 50: { - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.Builder subBuilder = null; - if (bigqueryAction_ != null) { - subBuilder = bigqueryAction_.toBuilder(); + state_ = rawValue; + break; } - bigqueryAction_ = input.readMessage(com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(bigqueryAction_); - bigqueryAction_ = subBuilder.buildPartial(); + case 42: + { + com.google.type.Interval.Builder subBuilder = null; + if (invocationTiming_ != null) { + subBuilder = invocationTiming_.toBuilder(); + } + invocationTiming_ = + input.readMessage(com.google.type.Interval.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(invocationTiming_); + invocationTiming_ = subBuilder.buildPartial(); + } + + break; } + case 50: + { + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.Builder + subBuilder = null; + if (bigqueryAction_ != null) { + subBuilder = bigqueryAction_.toBuilder(); + } + bigqueryAction_ = + input.readMessage( + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(bigqueryAction_); + bigqueryAction_ = subBuilder.buildPartial(); + } - break; - } - case 58: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); - failureReason_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + failureReason_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -132,36 +165,41 @@ private WorkflowInvocationAction( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.class, com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.Builder.class); + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.class, + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.Builder.class); } /** + * + * *
    * Represents the current state of an workflow invocation action.
    * 
* * Protobuf enum {@code google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The action has not yet been considered for invocation.
      * 
@@ -170,6 +208,8 @@ public enum State */ PENDING(0), /** + * + * *
      * The action is currently running.
      * 
@@ -178,6 +218,8 @@ public enum State */ RUNNING(1), /** + * + * *
      * Execution of the action was skipped because upstream dependencies did not
      * all complete successfully. A terminal state.
@@ -187,6 +229,8 @@ public enum State
      */
     SKIPPED(2),
     /**
+     *
+     *
      * 
      * Execution of the action was disabled as per the configuration of the
      * corresponding compilation result action. A terminal state.
@@ -196,6 +240,8 @@ public enum State
      */
     DISABLED(3),
     /**
+     *
+     *
      * 
      * The action succeeded. A terminal state.
      * 
@@ -204,6 +250,8 @@ public enum State */ SUCCEEDED(4), /** + * + * *
      * The action was cancelled. A terminal state.
      * 
@@ -212,6 +260,8 @@ public enum State */ CANCELLED(5), /** + * + * *
      * The action failed. A terminal state.
      * 
@@ -223,6 +273,8 @@ public enum State ; /** + * + * *
      * The action has not yet been considered for invocation.
      * 
@@ -231,6 +283,8 @@ public enum State */ public static final int PENDING_VALUE = 0; /** + * + * *
      * The action is currently running.
      * 
@@ -239,6 +293,8 @@ public enum State */ public static final int RUNNING_VALUE = 1; /** + * + * *
      * Execution of the action was skipped because upstream dependencies did not
      * all complete successfully. A terminal state.
@@ -248,6 +304,8 @@ public enum State
      */
     public static final int SKIPPED_VALUE = 2;
     /**
+     *
+     *
      * 
      * Execution of the action was disabled as per the configuration of the
      * corresponding compilation result action. A terminal state.
@@ -257,6 +315,8 @@ public enum State
      */
     public static final int DISABLED_VALUE = 3;
     /**
+     *
+     *
      * 
      * The action succeeded. A terminal state.
      * 
@@ -265,6 +325,8 @@ public enum State */ public static final int SUCCEEDED_VALUE = 4; /** + * + * *
      * The action was cancelled. A terminal state.
      * 
@@ -273,6 +335,8 @@ public enum State */ public static final int CANCELLED_VALUE = 5; /** + * + * *
      * The action failed. A terminal state.
      * 
@@ -281,7 +345,6 @@ public enum State */ public static final int FAILED_VALUE = 6; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -306,53 +369,59 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: return PENDING; - case 1: return RUNNING; - case 2: return SKIPPED; - case 3: return DISABLED; - case 4: return SUCCEEDED; - case 5: return CANCELLED; - case 6: return FAILED; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + case 0: + return PENDING; + case 1: + return RUNNING; + case 2: + return SKIPPED; + case 3: + return DISABLED; + case 4: + return SUCCEEDED; + case 5: + return CANCELLED; + case 6: + return FAILED; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - State> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.getDescriptor() + .getEnumTypes() + .get(0); } private static final State[] VALUES = values(); - public static State valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -369,62 +438,70 @@ private State(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State) } - public interface BigQueryActionOrBuilder extends + public interface BigQueryActionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Output only. The generated BigQuery SQL script that will be executed.
      * 
* * string sql_script = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The sqlScript. */ java.lang.String getSqlScript(); /** + * + * *
      * Output only. The generated BigQuery SQL script that will be executed.
      * 
* * string sql_script = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for sqlScript. */ - com.google.protobuf.ByteString - getSqlScriptBytes(); + com.google.protobuf.ByteString getSqlScriptBytes(); } /** + * + * *
    * Represents a workflow action that will run against BigQuery.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction} */ - public static final class BigQueryAction extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class BigQueryAction extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction) BigQueryActionOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BigQueryAction.newBuilder() to construct. private BigQueryAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BigQueryAction() { sqlScript_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BigQueryAction(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private BigQueryAction( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -443,19 +520,20 @@ private BigQueryAction( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - sqlScript_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + sqlScript_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -463,34 +541,40 @@ private BigQueryAction( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_BigQueryAction_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_BigQueryAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_BigQueryAction_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_BigQueryAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.class, com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.Builder.class); + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.class, + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.Builder + .class); } public static final int SQL_SCRIPT_FIELD_NUMBER = 1; private volatile java.lang.Object sqlScript_; /** + * + * *
      * Output only. The generated BigQuery SQL script that will be executed.
      * 
* * string sql_script = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The sqlScript. */ @java.lang.Override @@ -499,29 +583,29 @@ public java.lang.String getSqlScript() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sqlScript_ = s; return s; } } /** + * + * *
      * Output only. The generated BigQuery SQL script that will be executed.
      * 
* * string sql_script = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for sqlScript. */ @java.lang.Override - public com.google.protobuf.ByteString - getSqlScriptBytes() { + public com.google.protobuf.ByteString getSqlScriptBytes() { java.lang.Object ref = sqlScript_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sqlScript_ = b; return b; } else { @@ -530,6 +614,7 @@ public java.lang.String getSqlScript() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -541,8 +626,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sqlScript_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sqlScript_); } @@ -566,15 +650,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction)) { + if (!(obj + instanceof com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction other = (com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction) obj; + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction other = + (com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction) obj; - if (!getSqlScript() - .equals(other.getSqlScript())) return false; + if (!getSqlScript().equals(other.getSqlScript())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -593,88 +678,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -684,44 +782,50 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Represents a workflow action that will run against BigQuery.
      * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction) com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryActionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_BigQueryAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_BigQueryAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_BigQueryAction_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_BigQueryAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.class, com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.Builder.class); + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.class, + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.Builder + .class); } - // Construct using com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.newBuilder() + // Construct using + // com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -731,19 +835,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_BigQueryAction_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_BigQueryAction_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction getDefaultInstanceForType() { - return com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.getDefaultInstance(); + public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction + getDefaultInstanceForType() { + return com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction build() { - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction result = buildPartial(); + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -751,8 +858,10 @@ public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryActio } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction buildPartial() { - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction result = new com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction(this); + public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction + buildPartial() { + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction result = + new com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction(this); result.sqlScript_ = sqlScript_; onBuilt(); return result; @@ -762,46 +871,54 @@ public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryActio public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction)other); + if (other + instanceof com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction) { + return mergeFrom( + (com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction other) { - if (other == com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction other) { + if (other + == com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction + .getDefaultInstance()) return this; if (!other.getSqlScript().isEmpty()) { sqlScript_ = other.sqlScript_; onChanged(); @@ -821,11 +938,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction parsedMessage = null; + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -837,18 +957,20 @@ public Builder mergeFrom( private java.lang.Object sqlScript_ = ""; /** + * + * *
        * Output only. The generated BigQuery SQL script that will be executed.
        * 
* * string sql_script = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The sqlScript. */ public java.lang.String getSqlScript() { java.lang.Object ref = sqlScript_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sqlScript_ = s; return s; @@ -857,20 +979,21 @@ public java.lang.String getSqlScript() { } } /** + * + * *
        * Output only. The generated BigQuery SQL script that will be executed.
        * 
* * string sql_script = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for sqlScript. */ - public com.google.protobuf.ByteString - getSqlScriptBytes() { + public com.google.protobuf.ByteString getSqlScriptBytes() { java.lang.Object ref = sqlScript_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sqlScript_ = b; return b; } else { @@ -878,58 +1001,66 @@ public java.lang.String getSqlScript() { } } /** + * + * *
        * Output only. The generated BigQuery SQL script that will be executed.
        * 
* * string sql_script = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The sqlScript to set. * @return This builder for chaining. */ - public Builder setSqlScript( - java.lang.String value) { + public Builder setSqlScript(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sqlScript_ = value; onChanged(); return this; } /** + * + * *
        * Output only. The generated BigQuery SQL script that will be executed.
        * 
* * string sql_script = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearSqlScript() { - + sqlScript_ = getDefaultInstance().getSqlScript(); onChanged(); return this; } /** + * + * *
        * Output only. The generated BigQuery SQL script that will be executed.
        * 
* * string sql_script = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for sqlScript to set. * @return This builder for chaining. */ - public Builder setSqlScriptBytes( - com.google.protobuf.ByteString value) { + public Builder setSqlScriptBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sqlScript_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -942,30 +1073,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction) - private static final com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction(); + DEFAULT_INSTANCE = + new com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction(); } - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction getDefaultInstance() { + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BigQueryAction parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BigQueryAction(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryAction parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BigQueryAction(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -977,20 +1111,25 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction getDefaultInstanceForType() { + public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int TARGET_FIELD_NUMBER = 1; private com.google.cloud.dataform.v1alpha2.Target target_; /** + * + * *
    * Output only. This action's identifier. Unique within the workflow invocation.
    * 
* - * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the target field is set. */ @java.lang.Override @@ -998,23 +1137,34 @@ public boolean hasTarget() { return target_ != null; } /** + * + * *
    * Output only. This action's identifier. Unique within the workflow invocation.
    * 
* - * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The target. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.Target getTarget() { - return target_ == null ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() : target_; + return target_ == null + ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() + : target_; } /** + * + * *
    * Output only. This action's identifier. Unique within the workflow invocation.
    * 
* - * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getTargetOrBuilder() { @@ -1024,12 +1174,17 @@ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getTargetOrBuilder() { public static final int CANONICAL_TARGET_FIELD_NUMBER = 2; private com.google.cloud.dataform.v1alpha2.Target canonicalTarget_; /** + * + * *
    * Output only. The action's identifier if the project had been compiled without any
    * overrides configured. Unique within the compilation result.
    * 
* - * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the canonicalTarget field is set. */ @java.lang.Override @@ -1037,25 +1192,36 @@ public boolean hasCanonicalTarget() { return canonicalTarget_ != null; } /** + * + * *
    * Output only. The action's identifier if the project had been compiled without any
    * overrides configured. Unique within the compilation result.
    * 
* - * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The canonicalTarget. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.Target getCanonicalTarget() { - return canonicalTarget_ == null ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() : canonicalTarget_; + return canonicalTarget_ == null + ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() + : canonicalTarget_; } /** + * + * *
    * Output only. The action's identifier if the project had been compiled without any
    * overrides configured. Unique within the compilation result.
    * 
* - * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getCanonicalTargetOrBuilder() { @@ -1065,38 +1231,56 @@ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getCanonicalTargetOrBu public static final int STATE_FIELD_NUMBER = 4; private int state_; /** + * + * *
    * Output only. This action's current state.
    * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Output only. This action's current state.
    * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State getState() { + @java.lang.Override + public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State result = com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State.valueOf(state_); - return result == null ? com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State.UNRECOGNIZED : result; + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State result = + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State.valueOf(state_); + return result == null + ? com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State.UNRECOGNIZED + : result; } public static final int FAILURE_REASON_FIELD_NUMBER = 7; private volatile java.lang.Object failureReason_; /** + * + * *
    * Output only. If and only if action's state is FAILED a failure reason is set.
    * 
* * string failure_reason = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The failureReason. */ @java.lang.Override @@ -1105,29 +1289,29 @@ public java.lang.String getFailureReason() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); failureReason_ = s; return s; } } /** + * + * *
    * Output only. If and only if action's state is FAILED a failure reason is set.
    * 
* * string failure_reason = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for failureReason. */ @java.lang.Override - public com.google.protobuf.ByteString - getFailureReasonBytes() { + public com.google.protobuf.ByteString getFailureReasonBytes() { java.lang.Object ref = failureReason_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); failureReason_ = b; return b; } else { @@ -1138,6 +1322,8 @@ public java.lang.String getFailureReason() { public static final int INVOCATION_TIMING_FIELD_NUMBER = 5; private com.google.type.Interval invocationTiming_; /** + * + * *
    * Output only. This action's timing details.
    * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
@@ -1146,7 +1332,9 @@ public java.lang.String getFailureReason() {
    * state.
    * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the invocationTiming field is set. */ @java.lang.Override @@ -1154,6 +1342,8 @@ public boolean hasInvocationTiming() { return invocationTiming_ != null; } /** + * + * *
    * Output only. This action's timing details.
    * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
@@ -1162,14 +1352,20 @@ public boolean hasInvocationTiming() {
    * state.
    * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The invocationTiming. */ @java.lang.Override public com.google.type.Interval getInvocationTiming() { - return invocationTiming_ == null ? com.google.type.Interval.getDefaultInstance() : invocationTiming_; + return invocationTiming_ == null + ? com.google.type.Interval.getDefaultInstance() + : invocationTiming_; } /** + * + * *
    * Output only. This action's timing details.
    * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
@@ -1178,7 +1374,8 @@ public com.google.type.Interval getInvocationTiming() {
    * state.
    * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.type.IntervalOrBuilder getInvocationTimingOrBuilder() { @@ -1186,13 +1383,19 @@ public com.google.type.IntervalOrBuilder getInvocationTimingOrBuilder() { } public static final int BIGQUERY_ACTION_FIELD_NUMBER = 6; - private com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigqueryAction_; + private com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction + bigqueryAction_; /** + * + * *
    * Output only. The workflow action's bigquery action details.
    * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the bigqueryAction field is set. */ @java.lang.Override @@ -1200,30 +1403,45 @@ public boolean hasBigqueryAction() { return bigqueryAction_ != null; } /** + * + * *
    * Output only. The workflow action's bigquery action details.
    * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bigqueryAction. */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction getBigqueryAction() { - return bigqueryAction_ == null ? com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.getDefaultInstance() : bigqueryAction_; + public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction + getBigqueryAction() { + return bigqueryAction_ == null + ? com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction + .getDefaultInstance() + : bigqueryAction_; } /** + * + * *
    * Output only. The workflow action's bigquery action details.
    * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryActionOrBuilder getBigqueryActionOrBuilder() { + public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryActionOrBuilder + getBigqueryActionOrBuilder() { return getBigqueryAction(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1235,15 +1453,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (target_ != null) { output.writeMessage(1, getTarget()); } if (canonicalTarget_ != null) { output.writeMessage(2, getCanonicalTarget()); } - if (state_ != com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State.PENDING.getNumber()) { + if (state_ + != com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State.PENDING.getNumber()) { output.writeEnum(4, state_); } if (invocationTiming_ != null) { @@ -1265,24 +1483,20 @@ public int getSerializedSize() { size = 0; if (target_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getTarget()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTarget()); } if (canonicalTarget_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCanonicalTarget()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCanonicalTarget()); } - if (state_ != com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State.PENDING.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, state_); + if (state_ + != com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State.PENDING.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, state_); } if (invocationTiming_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getInvocationTiming()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getInvocationTiming()); } if (bigqueryAction_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getBigqueryAction()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getBigqueryAction()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(failureReason_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, failureReason_); @@ -1295,35 +1509,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction other = (com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction) obj; + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction other = + (com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction) obj; if (hasTarget() != other.hasTarget()) return false; if (hasTarget()) { - if (!getTarget() - .equals(other.getTarget())) return false; + if (!getTarget().equals(other.getTarget())) return false; } if (hasCanonicalTarget() != other.hasCanonicalTarget()) return false; if (hasCanonicalTarget()) { - if (!getCanonicalTarget() - .equals(other.getCanonicalTarget())) return false; + if (!getCanonicalTarget().equals(other.getCanonicalTarget())) return false; } if (state_ != other.state_) return false; - if (!getFailureReason() - .equals(other.getFailureReason())) return false; + if (!getFailureReason().equals(other.getFailureReason())) return false; if (hasInvocationTiming() != other.hasInvocationTiming()) return false; if (hasInvocationTiming()) { - if (!getInvocationTiming() - .equals(other.getInvocationTiming())) return false; + if (!getInvocationTiming().equals(other.getInvocationTiming())) return false; } if (hasBigqueryAction() != other.hasBigqueryAction()) return false; if (hasBigqueryAction()) { - if (!getBigqueryAction() - .equals(other.getBigqueryAction())) return false; + if (!getBigqueryAction().equals(other.getBigqueryAction())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1362,117 +1572,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents a single action in a workflow invocation.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.WorkflowInvocationAction} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.WorkflowInvocationAction) com.google.cloud.dataform.v1alpha2.WorkflowInvocationActionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.class, com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.Builder.class); + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.class, + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.newBuilder() @@ -1480,16 +1700,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1525,9 +1744,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_WorkflowInvocationAction_descriptor; } @java.lang.Override @@ -1546,7 +1765,8 @@ public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction buildPartial() { - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction result = new com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction(this); + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction result = + new com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction(this); if (targetBuilder_ == null) { result.target_ = target_; } else { @@ -1577,38 +1797,39 @@ public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction buildPartial( public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction)other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction) other); } else { super.mergeFrom(other); return this; @@ -1616,7 +1837,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction other) { - if (other == com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.getDefaultInstance()) + return this; if (other.hasTarget()) { mergeTarget(other.getTarget()); } @@ -1655,7 +1877,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1667,39 +1890,58 @@ public Builder mergeFrom( private com.google.cloud.dataform.v1alpha2.Target target_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder> targetBuilder_; + com.google.cloud.dataform.v1alpha2.Target, + com.google.cloud.dataform.v1alpha2.Target.Builder, + com.google.cloud.dataform.v1alpha2.TargetOrBuilder> + targetBuilder_; /** + * + * *
      * Output only. This action's identifier. Unique within the workflow invocation.
      * 
* - * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the target field is set. */ public boolean hasTarget() { return targetBuilder_ != null || target_ != null; } /** + * + * *
      * Output only. This action's identifier. Unique within the workflow invocation.
      * 
* - * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The target. */ public com.google.cloud.dataform.v1alpha2.Target getTarget() { if (targetBuilder_ == null) { - return target_ == null ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() : target_; + return target_ == null + ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() + : target_; } else { return targetBuilder_.getMessage(); } } /** + * + * *
      * Output only. This action's identifier. Unique within the workflow invocation.
      * 
* - * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setTarget(com.google.cloud.dataform.v1alpha2.Target value) { if (targetBuilder_ == null) { @@ -1715,14 +1957,17 @@ public Builder setTarget(com.google.cloud.dataform.v1alpha2.Target value) { return this; } /** + * + * *
      * Output only. This action's identifier. Unique within the workflow invocation.
      * 
* - * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setTarget( - com.google.cloud.dataform.v1alpha2.Target.Builder builderForValue) { + public Builder setTarget(com.google.cloud.dataform.v1alpha2.Target.Builder builderForValue) { if (targetBuilder_ == null) { target_ = builderForValue.build(); onChanged(); @@ -1733,17 +1978,23 @@ public Builder setTarget( return this; } /** + * + * *
      * Output only. This action's identifier. Unique within the workflow invocation.
      * 
* - * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeTarget(com.google.cloud.dataform.v1alpha2.Target value) { if (targetBuilder_ == null) { if (target_ != null) { target_ = - com.google.cloud.dataform.v1alpha2.Target.newBuilder(target_).mergeFrom(value).buildPartial(); + com.google.cloud.dataform.v1alpha2.Target.newBuilder(target_) + .mergeFrom(value) + .buildPartial(); } else { target_ = value; } @@ -1755,11 +2006,15 @@ public Builder mergeTarget(com.google.cloud.dataform.v1alpha2.Target value) { return this; } /** + * + * *
      * Output only. This action's identifier. Unique within the workflow invocation.
      * 
* - * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearTarget() { if (targetBuilder_ == null) { @@ -1773,48 +2028,64 @@ public Builder clearTarget() { return this; } /** + * + * *
      * Output only. This action's identifier. Unique within the workflow invocation.
      * 
* - * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.dataform.v1alpha2.Target.Builder getTargetBuilder() { - + onChanged(); return getTargetFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. This action's identifier. Unique within the workflow invocation.
      * 
* - * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getTargetOrBuilder() { if (targetBuilder_ != null) { return targetBuilder_.getMessageOrBuilder(); } else { - return target_ == null ? - com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() : target_; + return target_ == null + ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() + : target_; } } /** + * + * *
      * Output only. This action's identifier. Unique within the workflow invocation.
      * 
* - * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder> + com.google.cloud.dataform.v1alpha2.Target, + com.google.cloud.dataform.v1alpha2.Target.Builder, + com.google.cloud.dataform.v1alpha2.TargetOrBuilder> getTargetFieldBuilder() { if (targetBuilder_ == null) { - targetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder>( - getTarget(), - getParentForChildren(), - isClean()); + targetBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.Target, + com.google.cloud.dataform.v1alpha2.Target.Builder, + com.google.cloud.dataform.v1alpha2.TargetOrBuilder>( + getTarget(), getParentForChildren(), isClean()); target_ = null; } return targetBuilder_; @@ -1822,42 +2093,61 @@ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getTargetOrBuilder() { private com.google.cloud.dataform.v1alpha2.Target canonicalTarget_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder> canonicalTargetBuilder_; + com.google.cloud.dataform.v1alpha2.Target, + com.google.cloud.dataform.v1alpha2.Target.Builder, + com.google.cloud.dataform.v1alpha2.TargetOrBuilder> + canonicalTargetBuilder_; /** + * + * *
      * Output only. The action's identifier if the project had been compiled without any
      * overrides configured. Unique within the compilation result.
      * 
* - * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the canonicalTarget field is set. */ public boolean hasCanonicalTarget() { return canonicalTargetBuilder_ != null || canonicalTarget_ != null; } /** + * + * *
      * Output only. The action's identifier if the project had been compiled without any
      * overrides configured. Unique within the compilation result.
      * 
* - * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The canonicalTarget. */ public com.google.cloud.dataform.v1alpha2.Target getCanonicalTarget() { if (canonicalTargetBuilder_ == null) { - return canonicalTarget_ == null ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() : canonicalTarget_; + return canonicalTarget_ == null + ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() + : canonicalTarget_; } else { return canonicalTargetBuilder_.getMessage(); } } /** + * + * *
      * Output only. The action's identifier if the project had been compiled without any
      * overrides configured. Unique within the compilation result.
      * 
* - * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCanonicalTarget(com.google.cloud.dataform.v1alpha2.Target value) { if (canonicalTargetBuilder_ == null) { @@ -1873,12 +2163,16 @@ public Builder setCanonicalTarget(com.google.cloud.dataform.v1alpha2.Target valu return this; } /** + * + * *
      * Output only. The action's identifier if the project had been compiled without any
      * overrides configured. Unique within the compilation result.
      * 
* - * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCanonicalTarget( com.google.cloud.dataform.v1alpha2.Target.Builder builderForValue) { @@ -1892,18 +2186,24 @@ public Builder setCanonicalTarget( return this; } /** + * + * *
      * Output only. The action's identifier if the project had been compiled without any
      * overrides configured. Unique within the compilation result.
      * 
* - * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCanonicalTarget(com.google.cloud.dataform.v1alpha2.Target value) { if (canonicalTargetBuilder_ == null) { if (canonicalTarget_ != null) { canonicalTarget_ = - com.google.cloud.dataform.v1alpha2.Target.newBuilder(canonicalTarget_).mergeFrom(value).buildPartial(); + com.google.cloud.dataform.v1alpha2.Target.newBuilder(canonicalTarget_) + .mergeFrom(value) + .buildPartial(); } else { canonicalTarget_ = value; } @@ -1915,12 +2215,16 @@ public Builder mergeCanonicalTarget(com.google.cloud.dataform.v1alpha2.Target va return this; } /** + * + * *
      * Output only. The action's identifier if the project had been compiled without any
      * overrides configured. Unique within the compilation result.
      * 
* - * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCanonicalTarget() { if (canonicalTargetBuilder_ == null) { @@ -1934,51 +2238,67 @@ public Builder clearCanonicalTarget() { return this; } /** + * + * *
      * Output only. The action's identifier if the project had been compiled without any
      * overrides configured. Unique within the compilation result.
      * 
* - * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.dataform.v1alpha2.Target.Builder getCanonicalTargetBuilder() { - + onChanged(); return getCanonicalTargetFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The action's identifier if the project had been compiled without any
      * overrides configured. Unique within the compilation result.
      * 
* - * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getCanonicalTargetOrBuilder() { if (canonicalTargetBuilder_ != null) { return canonicalTargetBuilder_.getMessageOrBuilder(); } else { - return canonicalTarget_ == null ? - com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() : canonicalTarget_; + return canonicalTarget_ == null + ? com.google.cloud.dataform.v1alpha2.Target.getDefaultInstance() + : canonicalTarget_; } } /** + * + * *
      * Output only. The action's identifier if the project had been compiled without any
      * overrides configured. Unique within the compilation result.
      * 
* - * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder> + com.google.cloud.dataform.v1alpha2.Target, + com.google.cloud.dataform.v1alpha2.Target.Builder, + com.google.cloud.dataform.v1alpha2.TargetOrBuilder> getCanonicalTargetFieldBuilder() { if (canonicalTargetBuilder_ == null) { - canonicalTargetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.Target, com.google.cloud.dataform.v1alpha2.Target.Builder, com.google.cloud.dataform.v1alpha2.TargetOrBuilder>( - getCanonicalTarget(), - getParentForChildren(), - isClean()); + canonicalTargetBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.Target, + com.google.cloud.dataform.v1alpha2.Target.Builder, + com.google.cloud.dataform.v1alpha2.TargetOrBuilder>( + getCanonicalTarget(), getParentForChildren(), isClean()); canonicalTarget_ = null; } return canonicalTargetBuilder_; @@ -1986,73 +2306,103 @@ public com.google.cloud.dataform.v1alpha2.TargetOrBuilder getCanonicalTargetOrBu private int state_ = 0; /** + * + * *
      * Output only. This action's current state.
      * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. This action's current state.
      * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
      * Output only. This action's current state.
      * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State result = com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State.valueOf(state_); - return result == null ? com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State.UNRECOGNIZED : result; + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State result = + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State.valueOf(state_); + return result == null + ? com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. This action's current state.
      * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ - public Builder setState(com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State value) { + public Builder setState( + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. This action's current state.
      * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -2060,18 +2410,20 @@ public Builder clearState() { private java.lang.Object failureReason_ = ""; /** + * + * *
      * Output only. If and only if action's state is FAILED a failure reason is set.
      * 
* * string failure_reason = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The failureReason. */ public java.lang.String getFailureReason() { java.lang.Object ref = failureReason_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); failureReason_ = s; return s; @@ -2080,20 +2432,21 @@ public java.lang.String getFailureReason() { } } /** + * + * *
      * Output only. If and only if action's state is FAILED a failure reason is set.
      * 
* * string failure_reason = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for failureReason. */ - public com.google.protobuf.ByteString - getFailureReasonBytes() { + public com.google.protobuf.ByteString getFailureReasonBytes() { java.lang.Object ref = failureReason_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); failureReason_ = b; return b; } else { @@ -2101,54 +2454,61 @@ public java.lang.String getFailureReason() { } } /** + * + * *
      * Output only. If and only if action's state is FAILED a failure reason is set.
      * 
* * string failure_reason = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The failureReason to set. * @return This builder for chaining. */ - public Builder setFailureReason( - java.lang.String value) { + public Builder setFailureReason(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + failureReason_ = value; onChanged(); return this; } /** + * + * *
      * Output only. If and only if action's state is FAILED a failure reason is set.
      * 
* * string failure_reason = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearFailureReason() { - + failureReason_ = getDefaultInstance().getFailureReason(); onChanged(); return this; } /** + * + * *
      * Output only. If and only if action's state is FAILED a failure reason is set.
      * 
* * string failure_reason = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for failureReason to set. * @return This builder for chaining. */ - public Builder setFailureReasonBytes( - com.google.protobuf.ByteString value) { + public Builder setFailureReasonBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + failureReason_ = value; onChanged(); return this; @@ -2156,8 +2516,13 @@ public Builder setFailureReasonBytes( private com.google.type.Interval invocationTiming_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Interval, com.google.type.Interval.Builder, com.google.type.IntervalOrBuilder> invocationTimingBuilder_; + com.google.type.Interval, + com.google.type.Interval.Builder, + com.google.type.IntervalOrBuilder> + invocationTimingBuilder_; /** + * + * *
      * Output only. This action's timing details.
      * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
@@ -2166,13 +2531,18 @@ public Builder setFailureReasonBytes(
      * state.
      * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the invocationTiming field is set. */ public boolean hasInvocationTiming() { return invocationTimingBuilder_ != null || invocationTiming_ != null; } /** + * + * *
      * Output only. This action's timing details.
      * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
@@ -2181,17 +2551,24 @@ public boolean hasInvocationTiming() {
      * state.
      * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The invocationTiming. */ public com.google.type.Interval getInvocationTiming() { if (invocationTimingBuilder_ == null) { - return invocationTiming_ == null ? com.google.type.Interval.getDefaultInstance() : invocationTiming_; + return invocationTiming_ == null + ? com.google.type.Interval.getDefaultInstance() + : invocationTiming_; } else { return invocationTimingBuilder_.getMessage(); } } /** + * + * *
      * Output only. This action's timing details.
      * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
@@ -2200,7 +2577,9 @@ public com.google.type.Interval getInvocationTiming() {
      * state.
      * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setInvocationTiming(com.google.type.Interval value) { if (invocationTimingBuilder_ == null) { @@ -2216,6 +2595,8 @@ public Builder setInvocationTiming(com.google.type.Interval value) { return this; } /** + * + * *
      * Output only. This action's timing details.
      * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
@@ -2224,10 +2605,11 @@ public Builder setInvocationTiming(com.google.type.Interval value) {
      * state.
      * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setInvocationTiming( - com.google.type.Interval.Builder builderForValue) { + public Builder setInvocationTiming(com.google.type.Interval.Builder builderForValue) { if (invocationTimingBuilder_ == null) { invocationTiming_ = builderForValue.build(); onChanged(); @@ -2238,6 +2620,8 @@ public Builder setInvocationTiming( return this; } /** + * + * *
      * Output only. This action's timing details.
      * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
@@ -2246,13 +2630,17 @@ public Builder setInvocationTiming(
      * state.
      * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeInvocationTiming(com.google.type.Interval value) { if (invocationTimingBuilder_ == null) { if (invocationTiming_ != null) { invocationTiming_ = - com.google.type.Interval.newBuilder(invocationTiming_).mergeFrom(value).buildPartial(); + com.google.type.Interval.newBuilder(invocationTiming_) + .mergeFrom(value) + .buildPartial(); } else { invocationTiming_ = value; } @@ -2264,6 +2652,8 @@ public Builder mergeInvocationTiming(com.google.type.Interval value) { return this; } /** + * + * *
      * Output only. This action's timing details.
      * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
@@ -2272,7 +2662,9 @@ public Builder mergeInvocationTiming(com.google.type.Interval value) {
      * state.
      * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearInvocationTiming() { if (invocationTimingBuilder_ == null) { @@ -2286,6 +2678,8 @@ public Builder clearInvocationTiming() { return this; } /** + * + * *
      * Output only. This action's timing details.
      * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
@@ -2294,14 +2688,18 @@ public Builder clearInvocationTiming() {
      * state.
      * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.type.Interval.Builder getInvocationTimingBuilder() { - + onChanged(); return getInvocationTimingFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. This action's timing details.
      * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
@@ -2310,17 +2708,22 @@ public com.google.type.Interval.Builder getInvocationTimingBuilder() {
      * state.
      * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.type.IntervalOrBuilder getInvocationTimingOrBuilder() { if (invocationTimingBuilder_ != null) { return invocationTimingBuilder_.getMessageOrBuilder(); } else { - return invocationTiming_ == null ? - com.google.type.Interval.getDefaultInstance() : invocationTiming_; + return invocationTiming_ == null + ? com.google.type.Interval.getDefaultInstance() + : invocationTiming_; } } /** + * + * *
      * Output only. This action's timing details.
      * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
@@ -2329,59 +2732,87 @@ public com.google.type.IntervalOrBuilder getInvocationTimingOrBuilder() {
      * state.
      * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Interval, com.google.type.Interval.Builder, com.google.type.IntervalOrBuilder> + com.google.type.Interval, + com.google.type.Interval.Builder, + com.google.type.IntervalOrBuilder> getInvocationTimingFieldBuilder() { if (invocationTimingBuilder_ == null) { - invocationTimingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Interval, com.google.type.Interval.Builder, com.google.type.IntervalOrBuilder>( - getInvocationTiming(), - getParentForChildren(), - isClean()); + invocationTimingBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Interval, + com.google.type.Interval.Builder, + com.google.type.IntervalOrBuilder>( + getInvocationTiming(), getParentForChildren(), isClean()); invocationTiming_ = null; } return invocationTimingBuilder_; } - private com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigqueryAction_; + private com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction + bigqueryAction_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction, com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.Builder, com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryActionOrBuilder> bigqueryActionBuilder_; + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction, + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.Builder, + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryActionOrBuilder> + bigqueryActionBuilder_; /** + * + * *
      * Output only. The workflow action's bigquery action details.
      * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the bigqueryAction field is set. */ public boolean hasBigqueryAction() { return bigqueryActionBuilder_ != null || bigqueryAction_ != null; } /** + * + * *
      * Output only. The workflow action's bigquery action details.
      * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bigqueryAction. */ - public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction getBigqueryAction() { + public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction + getBigqueryAction() { if (bigqueryActionBuilder_ == null) { - return bigqueryAction_ == null ? com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.getDefaultInstance() : bigqueryAction_; + return bigqueryAction_ == null + ? com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction + .getDefaultInstance() + : bigqueryAction_; } else { return bigqueryActionBuilder_.getMessage(); } } /** + * + * *
      * Output only. The workflow action's bigquery action details.
      * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setBigqueryAction(com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction value) { + public Builder setBigqueryAction( + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction value) { if (bigqueryActionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2395,14 +2826,19 @@ public Builder setBigqueryAction(com.google.cloud.dataform.v1alpha2.WorkflowInvo return this; } /** + * + * *
      * Output only. The workflow action's bigquery action details.
      * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setBigqueryAction( - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.Builder builderForValue) { + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.Builder + builderForValue) { if (bigqueryActionBuilder_ == null) { bigqueryAction_ = builderForValue.build(); onChanged(); @@ -2413,17 +2849,25 @@ public Builder setBigqueryAction( return this; } /** + * + * *
      * Output only. The workflow action's bigquery action details.
      * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeBigqueryAction(com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction value) { + public Builder mergeBigqueryAction( + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction value) { if (bigqueryActionBuilder_ == null) { if (bigqueryAction_ != null) { bigqueryAction_ = - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.newBuilder(bigqueryAction_).mergeFrom(value).buildPartial(); + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.newBuilder( + bigqueryAction_) + .mergeFrom(value) + .buildPartial(); } else { bigqueryAction_ = value; } @@ -2435,11 +2879,15 @@ public Builder mergeBigqueryAction(com.google.cloud.dataform.v1alpha2.WorkflowIn return this; } /** + * + * *
      * Output only. The workflow action's bigquery action details.
      * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearBigqueryAction() { if (bigqueryActionBuilder_ == null) { @@ -2453,55 +2901,75 @@ public Builder clearBigqueryAction() { return this; } /** + * + * *
      * Output only. The workflow action's bigquery action details.
      * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.Builder getBigqueryActionBuilder() { - + public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.Builder + getBigqueryActionBuilder() { + onChanged(); return getBigqueryActionFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The workflow action's bigquery action details.
      * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryActionOrBuilder getBigqueryActionOrBuilder() { + public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryActionOrBuilder + getBigqueryActionOrBuilder() { if (bigqueryActionBuilder_ != null) { return bigqueryActionBuilder_.getMessageOrBuilder(); } else { - return bigqueryAction_ == null ? - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.getDefaultInstance() : bigqueryAction_; + return bigqueryAction_ == null + ? com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction + .getDefaultInstance() + : bigqueryAction_; } } /** + * + * *
      * Output only. The workflow action's bigquery action details.
      * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction, com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.Builder, com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryActionOrBuilder> + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction, + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.Builder, + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryActionOrBuilder> getBigqueryActionFieldBuilder() { if (bigqueryActionBuilder_ == null) { - bigqueryActionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction, com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.Builder, com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryActionOrBuilder>( - getBigqueryAction(), - getParentForChildren(), - isClean()); + bigqueryActionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction, + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction.Builder, + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction + .BigQueryActionOrBuilder>( + getBigqueryAction(), getParentForChildren(), isClean()); bigqueryAction_ = null; } return bigqueryActionBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2511,12 +2979,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.WorkflowInvocationAction) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.WorkflowInvocationAction) private static final com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction(); } @@ -2525,16 +2993,16 @@ public static com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkflowInvocationAction parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WorkflowInvocationAction(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WorkflowInvocationAction parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WorkflowInvocationAction(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2549,6 +3017,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocationActionOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocationActionOrBuilder.java similarity index 62% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocationActionOrBuilder.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocationActionOrBuilder.java index e9403af..7d71d2e 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocationActionOrBuilder.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocationActionOrBuilder.java @@ -1,109 +1,170 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface WorkflowInvocationActionOrBuilder extends +public interface WorkflowInvocationActionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.WorkflowInvocationAction) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. This action's identifier. Unique within the workflow invocation.
    * 
* - * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the target field is set. */ boolean hasTarget(); /** + * + * *
    * Output only. This action's identifier. Unique within the workflow invocation.
    * 
* - * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The target. */ com.google.cloud.dataform.v1alpha2.Target getTarget(); /** + * + * *
    * Output only. This action's identifier. Unique within the workflow invocation.
    * 
* - * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.dataform.v1alpha2.TargetOrBuilder getTargetOrBuilder(); /** + * + * *
    * Output only. The action's identifier if the project had been compiled without any
    * overrides configured. Unique within the compilation result.
    * 
* - * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the canonicalTarget field is set. */ boolean hasCanonicalTarget(); /** + * + * *
    * Output only. The action's identifier if the project had been compiled without any
    * overrides configured. Unique within the compilation result.
    * 
* - * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The canonicalTarget. */ com.google.cloud.dataform.v1alpha2.Target getCanonicalTarget(); /** + * + * *
    * Output only. The action's identifier if the project had been compiled without any
    * overrides configured. Unique within the compilation result.
    * 
* - * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.dataform.v1alpha2.TargetOrBuilder getCanonicalTargetOrBuilder(); /** + * + * *
    * Output only. This action's current state.
    * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. This action's current state.
    * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.State getState(); /** + * + * *
    * Output only. If and only if action's state is FAILED a failure reason is set.
    * 
* * string failure_reason = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The failureReason. */ java.lang.String getFailureReason(); /** + * + * *
    * Output only. If and only if action's state is FAILED a failure reason is set.
    * 
* * string failure_reason = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for failureReason. */ - com.google.protobuf.ByteString - getFailureReasonBytes(); + com.google.protobuf.ByteString getFailureReasonBytes(); /** + * + * *
    * Output only. This action's timing details.
    * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
@@ -112,11 +173,15 @@ public interface WorkflowInvocationActionOrBuilder extends
    * state.
    * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the invocationTiming field is set. */ boolean hasInvocationTiming(); /** + * + * *
    * Output only. This action's timing details.
    * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
@@ -125,11 +190,15 @@ public interface WorkflowInvocationActionOrBuilder extends
    * state.
    * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The invocationTiming. */ com.google.type.Interval getInvocationTiming(); /** + * + * *
    * Output only. This action's timing details.
    * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
@@ -138,34 +207,50 @@ public interface WorkflowInvocationActionOrBuilder extends
    * state.
    * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.type.IntervalOrBuilder getInvocationTimingOrBuilder(); /** + * + * *
    * Output only. The workflow action's bigquery action details.
    * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the bigqueryAction field is set. */ boolean hasBigqueryAction(); /** + * + * *
    * Output only. The workflow action's bigquery action details.
    * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bigqueryAction. */ com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction getBigqueryAction(); /** + * + * *
    * Output only. The workflow action's bigquery action details.
    * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryActionOrBuilder getBigqueryActionOrBuilder(); + com.google.cloud.dataform.v1alpha2.WorkflowInvocationAction.BigQueryActionOrBuilder + getBigqueryActionOrBuilder(); } diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocationName.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocationName.java similarity index 100% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocationName.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocationName.java diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocationOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocationOrBuilder.java similarity index 57% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocationOrBuilder.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocationOrBuilder.java index 6c64377..7e7a944 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocationOrBuilder.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkflowInvocationOrBuilder.java @@ -1,124 +1,190 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface WorkflowInvocationOrBuilder extends +public interface WorkflowInvocationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.WorkflowInvocation) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The workflow invocation's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The workflow invocation's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Immutable. The name of the compilation result to compile. Must be in the format
    * `projects/*/locations/*/repositories/*/compilationResults/*`.
    * 
* - * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The compilationResult. */ java.lang.String getCompilationResult(); /** + * + * *
    * Immutable. The name of the compilation result to compile. Must be in the format
    * `projects/*/locations/*/repositories/*/compilationResults/*`.
    * 
* - * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for compilationResult. */ - com.google.protobuf.ByteString - getCompilationResultBytes(); + com.google.protobuf.ByteString getCompilationResultBytes(); /** + * + * *
    * Immutable. If left unset, a default InvocationConfig will be used.
    * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return Whether the invocationConfig field is set. */ boolean hasInvocationConfig(); /** + * + * *
    * Immutable. If left unset, a default InvocationConfig will be used.
    * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The invocationConfig. */ com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig getInvocationConfig(); /** + * + * *
    * Immutable. If left unset, a default InvocationConfig will be used.
    * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * */ - com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfigOrBuilder getInvocationConfigOrBuilder(); + com.google.cloud.dataform.v1alpha2.WorkflowInvocation.InvocationConfigOrBuilder + getInvocationConfigOrBuilder(); /** + * + * *
    * Output only. This workflow invocation's current state.
    * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. This workflow invocation's current state.
    * 
* - * .google.cloud.dataform.v1alpha2.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1alpha2.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.dataform.v1alpha2.WorkflowInvocation.State getState(); /** + * + * *
    * Output only. This workflow invocation's timing details.
    * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the invocationTiming field is set. */ boolean hasInvocationTiming(); /** + * + * *
    * Output only. This workflow invocation's timing details.
    * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The invocationTiming. */ com.google.type.Interval getInvocationTiming(); /** + * + * *
    * Output only. This workflow invocation's timing details.
    * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.type.IntervalOrBuilder getInvocationTimingOrBuilder(); } diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/Workspace.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/Workspace.java similarity index 68% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/Workspace.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/Workspace.java index a8b0359..ffd76ac 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/Workspace.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/Workspace.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * Represents a Dataform Git workspace.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.Workspace} */ -public final class Workspace extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Workspace extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.Workspace) WorkspaceOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Workspace.newBuilder() to construct. private Workspace(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Workspace() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Workspace(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Workspace( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private Workspace( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private Workspace( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_Workspace_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_Workspace_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_Workspace_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_Workspace_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.Workspace.class, com.google.cloud.dataform.v1alpha2.Workspace.Builder.class); + com.google.cloud.dataform.v1alpha2.Workspace.class, + com.google.cloud.dataform.v1alpha2.Workspace.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Output only. The workspace's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -109,29 +132,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. The workspace's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +163,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +199,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.Workspace)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.Workspace other = (com.google.cloud.dataform.v1alpha2.Workspace) obj; + com.google.cloud.dataform.v1alpha2.Workspace other = + (com.google.cloud.dataform.v1alpha2.Workspace) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -203,118 +226,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataform.v1alpha2.Workspace parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataform.v1alpha2.Workspace parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.Workspace parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.Workspace parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.Workspace parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.Workspace parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.Workspace parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.Workspace parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.Workspace parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.Workspace parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.Workspace parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.Workspace parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.Workspace parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.Workspace parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.Workspace prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents a Dataform Git workspace.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.Workspace} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.Workspace) com.google.cloud.dataform.v1alpha2.WorkspaceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_Workspace_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_Workspace_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_Workspace_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_Workspace_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.Workspace.class, com.google.cloud.dataform.v1alpha2.Workspace.Builder.class); + com.google.cloud.dataform.v1alpha2.Workspace.class, + com.google.cloud.dataform.v1alpha2.Workspace.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.Workspace.newBuilder() @@ -322,16 +354,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +372,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_Workspace_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_Workspace_descriptor; } @java.lang.Override @@ -362,7 +393,8 @@ public com.google.cloud.dataform.v1alpha2.Workspace build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.Workspace buildPartial() { - com.google.cloud.dataform.v1alpha2.Workspace result = new com.google.cloud.dataform.v1alpha2.Workspace(this); + com.google.cloud.dataform.v1alpha2.Workspace result = + new com.google.cloud.dataform.v1alpha2.Workspace(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +404,39 @@ public com.google.cloud.dataform.v1alpha2.Workspace buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.Workspace) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.Workspace)other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.Workspace) other); } else { super.mergeFrom(other); return this; @@ -447,18 +480,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Output only. The workspace's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -467,20 +502,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The workspace's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -488,61 +524,68 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The workspace's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The workspace's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. The workspace's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +595,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.Workspace) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.Workspace) private static final com.google.cloud.dataform.v1alpha2.Workspace DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.Workspace(); } @@ -566,16 +609,16 @@ public static com.google.cloud.dataform.v1alpha2.Workspace getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Workspace parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Workspace(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Workspace parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Workspace(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +633,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.Workspace getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkspaceName.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkspaceName.java similarity index 100% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkspaceName.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkspaceName.java diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkspaceOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkspaceOrBuilder.java new file mode 100644 index 0000000..86f01c0 --- /dev/null +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WorkspaceOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1alpha2/dataform.proto + +package com.google.cloud.dataform.v1alpha2; + +public interface WorkspaceOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.Workspace) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Output only. The workspace's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Output only. The workspace's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileRequest.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileRequest.java similarity index 67% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileRequest.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileRequest.java index 59f00cb..71a6e5c 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileRequest.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * `WriteFile` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.WriteFileRequest} */ -public final class WriteFileRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class WriteFileRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.WriteFileRequest) WriteFileRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use WriteFileRequest.newBuilder() to construct. private WriteFileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private WriteFileRequest() { workspace_ = ""; path_ = ""; @@ -27,16 +45,15 @@ private WriteFileRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new WriteFileRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private WriteFileRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,30 +72,32 @@ private WriteFileRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - workspace_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - path_ = s; - break; - } - case 26: { + workspace_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - contents_ = input.readBytes(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + path_ = s; + break; + } + case 26: + { + contents_ = input.readBytes(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -86,34 +105,41 @@ private WriteFileRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WriteFileRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_WriteFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WriteFileRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_WriteFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.WriteFileRequest.class, com.google.cloud.dataform.v1alpha2.WriteFileRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.WriteFileRequest.class, + com.google.cloud.dataform.v1alpha2.WriteFileRequest.Builder.class); } public static final int WORKSPACE_FIELD_NUMBER = 1; private volatile java.lang.Object workspace_; /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ @java.lang.Override @@ -122,29 +148,31 @@ public java.lang.String getWorkspace() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; } } /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ @java.lang.Override - public com.google.protobuf.ByteString - getWorkspaceBytes() { + public com.google.protobuf.ByteString getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workspace_ = b; return b; } else { @@ -155,11 +183,14 @@ public java.lang.String getWorkspace() { public static final int PATH_FIELD_NUMBER = 2; private volatile java.lang.Object path_; /** + * + * *
    * Required. The file.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The path. */ @java.lang.Override @@ -168,29 +199,29 @@ public java.lang.String getPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } } /** + * + * *
    * Required. The file.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for path. */ @java.lang.Override - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); path_ = b; return b; } else { @@ -201,11 +232,14 @@ public java.lang.String getPath() { public static final int CONTENTS_FIELD_NUMBER = 3; private com.google.protobuf.ByteString contents_; /** + * + * *
    * Required. The file's contents.
    * 
* * bytes contents = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The contents. */ @java.lang.Override @@ -214,6 +248,7 @@ public com.google.protobuf.ByteString getContents() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,8 +260,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workspace_); } @@ -252,8 +286,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, path_); } if (!contents_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(3, contents_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(3, contents_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -263,19 +296,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.WriteFileRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.WriteFileRequest other = (com.google.cloud.dataform.v1alpha2.WriteFileRequest) obj; + com.google.cloud.dataform.v1alpha2.WriteFileRequest other = + (com.google.cloud.dataform.v1alpha2.WriteFileRequest) obj; - if (!getWorkspace() - .equals(other.getWorkspace())) return false; - if (!getPath() - .equals(other.getPath())) return false; - if (!getContents() - .equals(other.getContents())) return false; + if (!getWorkspace().equals(other.getWorkspace())) return false; + if (!getPath().equals(other.getPath())) return false; + if (!getContents().equals(other.getContents())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -299,117 +330,126 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.WriteFileRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.WriteFileRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.WriteFileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.WriteFileRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.WriteFileRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.WriteFileRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.WriteFileRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.WriteFileRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.WriteFileRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.WriteFileRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.WriteFileRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.WriteFileRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.WriteFileRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.WriteFileRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.WriteFileRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `WriteFile` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.WriteFileRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.WriteFileRequest) com.google.cloud.dataform.v1alpha2.WriteFileRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WriteFileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_WriteFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WriteFileRequest_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_WriteFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.WriteFileRequest.class, com.google.cloud.dataform.v1alpha2.WriteFileRequest.Builder.class); + com.google.cloud.dataform.v1alpha2.WriteFileRequest.class, + com.google.cloud.dataform.v1alpha2.WriteFileRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.WriteFileRequest.newBuilder() @@ -417,16 +457,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -440,9 +479,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WriteFileRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_WriteFileRequest_descriptor; } @java.lang.Override @@ -461,7 +500,8 @@ public com.google.cloud.dataform.v1alpha2.WriteFileRequest build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.WriteFileRequest buildPartial() { - com.google.cloud.dataform.v1alpha2.WriteFileRequest result = new com.google.cloud.dataform.v1alpha2.WriteFileRequest(this); + com.google.cloud.dataform.v1alpha2.WriteFileRequest result = + new com.google.cloud.dataform.v1alpha2.WriteFileRequest(this); result.workspace_ = workspace_; result.path_ = path_; result.contents_ = contents_; @@ -473,38 +513,39 @@ public com.google.cloud.dataform.v1alpha2.WriteFileRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.WriteFileRequest) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.WriteFileRequest)other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.WriteFileRequest) other); } else { super.mergeFrom(other); return this; @@ -512,7 +553,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.WriteFileRequest other) { - if (other == com.google.cloud.dataform.v1alpha2.WriteFileRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1alpha2.WriteFileRequest.getDefaultInstance()) + return this; if (!other.getWorkspace().isEmpty()) { workspace_ = other.workspace_; onChanged(); @@ -543,7 +585,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.WriteFileRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.WriteFileRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -555,18 +598,22 @@ public Builder mergeFrom( private java.lang.Object workspace_ = ""; /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ public java.lang.String getWorkspace() { java.lang.Object ref = workspace_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; @@ -575,20 +622,23 @@ public java.lang.String getWorkspace() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ - public com.google.protobuf.ByteString - getWorkspaceBytes() { + public com.google.protobuf.ByteString getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workspace_ = b; return b; } else { @@ -596,54 +646,67 @@ public java.lang.String getWorkspace() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The workspace to set. * @return This builder for chaining. */ - public Builder setWorkspace( - java.lang.String value) { + public Builder setWorkspace(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + workspace_ = value; onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearWorkspace() { - + workspace_ = getDefaultInstance().getWorkspace(); onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for workspace to set. * @return This builder for chaining. */ - public Builder setWorkspaceBytes( - com.google.protobuf.ByteString value) { + public Builder setWorkspaceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workspace_ = value; onChanged(); return this; @@ -651,18 +714,20 @@ public Builder setWorkspaceBytes( private java.lang.Object path_ = ""; /** + * + * *
      * Required. The file.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; @@ -671,20 +736,21 @@ public java.lang.String getPath() { } } /** + * + * *
      * Required. The file.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for path. */ - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); path_ = b; return b; } else { @@ -692,54 +758,61 @@ public java.lang.String getPath() { } } /** + * + * *
      * Required. The file.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath( - java.lang.String value) { + public Builder setPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + path_ = value; onChanged(); return this; } /** + * + * *
      * Required. The file.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearPath() { - + path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** + * + * *
      * Required. The file.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes( - com.google.protobuf.ByteString value) { + public Builder setPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; onChanged(); return this; @@ -747,11 +820,14 @@ public Builder setPathBytes( private com.google.protobuf.ByteString contents_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * Required. The file's contents.
      * 
* * bytes contents = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The contents. */ @java.lang.Override @@ -759,40 +835,46 @@ public com.google.protobuf.ByteString getContents() { return contents_; } /** + * + * *
      * Required. The file's contents.
      * 
* * bytes contents = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The contents to set. * @return This builder for chaining. */ public Builder setContents(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + contents_ = value; onChanged(); return this; } /** + * + * *
      * Required. The file's contents.
      * 
* * bytes contents = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearContents() { - + contents_ = getDefaultInstance().getContents(); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -802,12 +884,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.WriteFileRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.WriteFileRequest) private static final com.google.cloud.dataform.v1alpha2.WriteFileRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.WriteFileRequest(); } @@ -816,16 +898,16 @@ public static com.google.cloud.dataform.v1alpha2.WriteFileRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WriteFileRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WriteFileRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WriteFileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WriteFileRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -840,6 +922,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.WriteFileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileRequestOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileRequestOrBuilder.java similarity index 51% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileRequestOrBuilder.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileRequestOrBuilder.java index e0f709a..d7fa3a6 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileRequestOrBuilder.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileRequestOrBuilder.java @@ -1,58 +1,91 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; -public interface WriteFileRequestOrBuilder extends +public interface WriteFileRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.WriteFileRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ java.lang.String getWorkspace(); /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ - com.google.protobuf.ByteString - getWorkspaceBytes(); + com.google.protobuf.ByteString getWorkspaceBytes(); /** + * + * *
    * Required. The file.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The path. */ java.lang.String getPath(); /** + * + * *
    * Required. The file.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for path. */ - com.google.protobuf.ByteString - getPathBytes(); + com.google.protobuf.ByteString getPathBytes(); /** + * + * *
    * Required. The file's contents.
    * 
* * bytes contents = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The contents. */ com.google.protobuf.ByteString getContents(); diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileResponse.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileResponse.java similarity index 66% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileResponse.java rename to proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileResponse.java index bd49e85..d093112 100644 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileResponse.java +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileResponse.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1alpha2/dataform.proto package com.google.cloud.dataform.v1alpha2; /** + * + * *
  * `WriteFile` response message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.WriteFileResponse} */ -public final class WriteFileResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class WriteFileResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1alpha2.WriteFileResponse) WriteFileResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use WriteFileResponse.newBuilder() to construct. private WriteFileResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private WriteFileResponse() { - } + + private WriteFileResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new WriteFileResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private WriteFileResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private WriteFileResponse( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private WriteFileResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WriteFileResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_WriteFileResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WriteFileResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_WriteFileResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.WriteFileResponse.class, com.google.cloud.dataform.v1alpha2.WriteFileResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.WriteFileResponse.class, + com.google.cloud.dataform.v1alpha2.WriteFileResponse.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1alpha2.WriteFileResponse)) { return super.equals(obj); } - com.google.cloud.dataform.v1alpha2.WriteFileResponse other = (com.google.cloud.dataform.v1alpha2.WriteFileResponse) obj; + com.google.cloud.dataform.v1alpha2.WriteFileResponse other = + (com.google.cloud.dataform.v1alpha2.WriteFileResponse) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,117 +160,126 @@ public int hashCode() { } public static com.google.cloud.dataform.v1alpha2.WriteFileResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.WriteFileResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.WriteFileResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.WriteFileResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.WriteFileResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1alpha2.WriteFileResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.WriteFileResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.WriteFileResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.WriteFileResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1alpha2.WriteFileResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1alpha2.WriteFileResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.WriteFileResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1alpha2.WriteFileResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1alpha2.WriteFileResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataform.v1alpha2.WriteFileResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `WriteFile` response message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1alpha2.WriteFileResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1alpha2.WriteFileResponse) com.google.cloud.dataform.v1alpha2.WriteFileResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WriteFileResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_WriteFileResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WriteFileResponse_fieldAccessorTable + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_WriteFileResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1alpha2.WriteFileResponse.class, com.google.cloud.dataform.v1alpha2.WriteFileResponse.Builder.class); + com.google.cloud.dataform.v1alpha2.WriteFileResponse.class, + com.google.cloud.dataform.v1alpha2.WriteFileResponse.Builder.class); } // Construct using com.google.cloud.dataform.v1alpha2.WriteFileResponse.newBuilder() @@ -259,16 +287,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,9 +303,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1alpha2.DataformProto.internal_static_google_cloud_dataform_v1alpha2_WriteFileResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1alpha2.DataformProto + .internal_static_google_cloud_dataform_v1alpha2_WriteFileResponse_descriptor; } @java.lang.Override @@ -297,7 +324,8 @@ public com.google.cloud.dataform.v1alpha2.WriteFileResponse build() { @java.lang.Override public com.google.cloud.dataform.v1alpha2.WriteFileResponse buildPartial() { - com.google.cloud.dataform.v1alpha2.WriteFileResponse result = new com.google.cloud.dataform.v1alpha2.WriteFileResponse(this); + com.google.cloud.dataform.v1alpha2.WriteFileResponse result = + new com.google.cloud.dataform.v1alpha2.WriteFileResponse(this); onBuilt(); return result; } @@ -306,38 +334,39 @@ public com.google.cloud.dataform.v1alpha2.WriteFileResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1alpha2.WriteFileResponse) { - return mergeFrom((com.google.cloud.dataform.v1alpha2.WriteFileResponse)other); + return mergeFrom((com.google.cloud.dataform.v1alpha2.WriteFileResponse) other); } else { super.mergeFrom(other); return this; @@ -345,7 +374,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1alpha2.WriteFileResponse other) { - if (other == com.google.cloud.dataform.v1alpha2.WriteFileResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1alpha2.WriteFileResponse.getDefaultInstance()) + return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +395,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1alpha2.WriteFileResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1alpha2.WriteFileResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +405,9 @@ public Builder mergeFrom( } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -386,12 +417,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1alpha2.WriteFileResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1alpha2.WriteFileResponse) private static final com.google.cloud.dataform.v1alpha2.WriteFileResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1alpha2.WriteFileResponse(); } @@ -400,16 +431,16 @@ public static com.google.cloud.dataform.v1alpha2.WriteFileResponse getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WriteFileResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WriteFileResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WriteFileResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WriteFileResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -424,6 +455,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1alpha2.WriteFileResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileResponseOrBuilder.java b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileResponseOrBuilder.java new file mode 100644 index 0000000..57e29a0 --- /dev/null +++ b/proto-google-cloud-dataform-v1alpha2/src/main/java/com/google/cloud/dataform/v1alpha2/WriteFileResponseOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1alpha2/dataform.proto + +package com.google.cloud.dataform.v1alpha2; + +public interface WriteFileResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1alpha2.WriteFileResponse) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/proto/google/cloud/dataform/v1alpha2/dataform.proto b/proto-google-cloud-dataform-v1alpha2/src/main/proto/google/cloud/dataform/v1alpha2/dataform.proto similarity index 100% rename from owl-bot-staging/v1alpha2/proto-google-cloud-dataform-v1alpha2/src/main/proto/google/cloud/dataform/v1alpha2/dataform.proto rename to proto-google-cloud-dataform-v1alpha2/src/main/proto/google/cloud/dataform/v1alpha2/dataform.proto diff --git a/proto-google-cloud-dataform-v1beta1/clirr-ignored-differences.xml b/proto-google-cloud-dataform-v1beta1/clirr-ignored-differences.xml new file mode 100644 index 0000000..6f37c7a --- /dev/null +++ b/proto-google-cloud-dataform-v1beta1/clirr-ignored-differences.xml @@ -0,0 +1,19 @@ + + + + + 7012 + com/google/cloud/dataform/v1beta1/*OrBuilder + * get*(*) + + + 7012 + com/google/cloud/dataform/v1beta1/*OrBuilder + boolean contains*(*) + + + 7012 + com/google/cloud/dataform/v1beta1/*OrBuilder + boolean has*(*) + + diff --git a/proto-google-cloud-dataform-v1beta1/pom.xml b/proto-google-cloud-dataform-v1beta1/pom.xml new file mode 100644 index 0000000..43b7876 --- /dev/null +++ b/proto-google-cloud-dataform-v1beta1/pom.xml @@ -0,0 +1,46 @@ + + 4.0.0 + com.google.api.grpc + proto-google-cloud-dataform-v1beta1 + 0.1.0 + proto-google-cloud-dataform-v1beta1 + Proto library for google-cloud-dataform + + com.google.cloud + google-cloud-dataform-parent + 0.1.0 + + + + com.google.protobuf + protobuf-java + + + com.google.api.grpc + proto-google-common-protos + + + com.google.api.grpc + proto-google-iam-v1 + + + com.google.api + api-common + + + com.google.guava + guava + + + + + + + org.codehaus.mojo + flatten-maven-plugin + + + + diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CancelWorkflowInvocationRequest.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CancelWorkflowInvocationRequest.java similarity index 60% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CancelWorkflowInvocationRequest.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CancelWorkflowInvocationRequest.java index d1d309d..e0c855a 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CancelWorkflowInvocationRequest.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CancelWorkflowInvocationRequest.java @@ -1,40 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * `CancelWorkflowInvocation` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest} */ -public final class CancelWorkflowInvocationRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CancelWorkflowInvocationRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest) CancelWorkflowInvocationRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CancelWorkflowInvocationRequest.newBuilder() to construct. - private CancelWorkflowInvocationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CancelWorkflowInvocationRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CancelWorkflowInvocationRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CancelWorkflowInvocationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CancelWorkflowInvocationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +71,20 @@ private CancelWorkflowInvocationRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +92,41 @@ private CancelWorkflowInvocationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CancelWorkflowInvocationRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CancelWorkflowInvocationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CancelWorkflowInvocationRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CancelWorkflowInvocationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest.class, com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest.Builder.class); + com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest.class, + com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The workflow invocation resource's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -109,29 +135,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The workflow invocation resource's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +168,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +180,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +204,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest other = (com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest) obj; + com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest other = + (com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,134 +232,145 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `CancelWorkflowInvocation` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest) com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CancelWorkflowInvocationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CancelWorkflowInvocationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CancelWorkflowInvocationRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CancelWorkflowInvocationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest.class, com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest.Builder.class); + com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest.class, + com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest.Builder.class); } - // Construct using com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest.newBuilder() + // Construct using + // com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +380,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CancelWorkflowInvocationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CancelWorkflowInvocationRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest getDefaultInstanceForType() { + public com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest + getDefaultInstanceForType() { return com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest.getDefaultInstance(); } @@ -362,7 +402,8 @@ public com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest build() @java.lang.Override public com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest buildPartial() { - com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest result = new com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest(this); + com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest result = + new com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,46 +413,50 @@ public com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest) { - return mergeFrom((com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest other) { - if (other == com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest other) { + if (other + == com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +480,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +494,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The workflow invocation resource's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -467,20 +518,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The workflow invocation resource's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -488,61 +542,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The workflow invocation resource's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The workflow invocation resource's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The workflow invocation resource's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,30 +619,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest) - private static final com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest(); } - public static com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest getDefaultInstance() { + public static com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CancelWorkflowInvocationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CancelWorkflowInvocationRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CancelWorkflowInvocationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CancelWorkflowInvocationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +656,8 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest getDefaultInstanceForType() { + public com.google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CancelWorkflowInvocationRequestOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CancelWorkflowInvocationRequestOrBuilder.java new file mode 100644 index 0000000..e8dd84e --- /dev/null +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CancelWorkflowInvocationRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface CancelWorkflowInvocationRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.CancelWorkflowInvocationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The workflow invocation resource's name.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The workflow invocation resource's name.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CommitAuthor.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CommitAuthor.java similarity index 70% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CommitAuthor.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CommitAuthor.java index 6b768c1..22f092f 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CommitAuthor.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CommitAuthor.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * Represents the author of a Git commit.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.CommitAuthor} */ -public final class CommitAuthor extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CommitAuthor extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.CommitAuthor) CommitAuthorOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CommitAuthor.newBuilder() to construct. private CommitAuthor(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CommitAuthor() { name_ = ""; emailAddress_ = ""; @@ -26,16 +44,15 @@ private CommitAuthor() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CommitAuthor(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CommitAuthor( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private CommitAuthor( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - emailAddress_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + emailAddress_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +99,39 @@ private CommitAuthor( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CommitAuthor_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CommitAuthor_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CommitAuthor_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CommitAuthor_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.CommitAuthor.class, com.google.cloud.dataform.v1beta1.CommitAuthor.Builder.class); + com.google.cloud.dataform.v1beta1.CommitAuthor.class, + com.google.cloud.dataform.v1beta1.CommitAuthor.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The commit author's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -116,29 +140,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The commit author's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -149,11 +173,14 @@ public java.lang.String getName() { public static final int EMAIL_ADDRESS_FIELD_NUMBER = 2; private volatile java.lang.Object emailAddress_; /** + * + * *
    * Required. The commit author's email address.
    * 
* * string email_address = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The emailAddress. */ @java.lang.Override @@ -162,29 +189,29 @@ public java.lang.String getEmailAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); emailAddress_ = s; return s; } } /** + * + * *
    * Required. The commit author's email address.
    * 
* * string email_address = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for emailAddress. */ @java.lang.Override - public com.google.protobuf.ByteString - getEmailAddressBytes() { + public com.google.protobuf.ByteString getEmailAddressBytes() { java.lang.Object ref = emailAddress_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); emailAddress_ = b; return b; } else { @@ -193,6 +220,7 @@ public java.lang.String getEmailAddress() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,8 +232,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -235,17 +262,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.CommitAuthor)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.CommitAuthor other = (com.google.cloud.dataform.v1beta1.CommitAuthor) obj; + com.google.cloud.dataform.v1beta1.CommitAuthor other = + (com.google.cloud.dataform.v1beta1.CommitAuthor) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getEmailAddress() - .equals(other.getEmailAddress())) return false; + if (!getName().equals(other.getName())) return false; + if (!getEmailAddress().equals(other.getEmailAddress())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -266,118 +292,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataform.v1beta1.CommitAuthor parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataform.v1beta1.CommitAuthor parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.CommitAuthor parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.CommitAuthor parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.CommitAuthor parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.CommitAuthor parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.CommitAuthor parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.CommitAuthor parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.CommitAuthor parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.CommitAuthor parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.CommitAuthor parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.CommitAuthor parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.CommitAuthor parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.CommitAuthor parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.CommitAuthor prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents the author of a Git commit.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.CommitAuthor} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.CommitAuthor) com.google.cloud.dataform.v1beta1.CommitAuthorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CommitAuthor_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CommitAuthor_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CommitAuthor_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CommitAuthor_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.CommitAuthor.class, com.google.cloud.dataform.v1beta1.CommitAuthor.Builder.class); + com.google.cloud.dataform.v1beta1.CommitAuthor.class, + com.google.cloud.dataform.v1beta1.CommitAuthor.Builder.class); } // Construct using com.google.cloud.dataform.v1beta1.CommitAuthor.newBuilder() @@ -385,16 +420,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -406,9 +440,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CommitAuthor_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CommitAuthor_descriptor; } @java.lang.Override @@ -427,7 +461,8 @@ public com.google.cloud.dataform.v1beta1.CommitAuthor build() { @java.lang.Override public com.google.cloud.dataform.v1beta1.CommitAuthor buildPartial() { - com.google.cloud.dataform.v1beta1.CommitAuthor result = new com.google.cloud.dataform.v1beta1.CommitAuthor(this); + com.google.cloud.dataform.v1beta1.CommitAuthor result = + new com.google.cloud.dataform.v1beta1.CommitAuthor(this); result.name_ = name_; result.emailAddress_ = emailAddress_; onBuilt(); @@ -438,38 +473,39 @@ public com.google.cloud.dataform.v1beta1.CommitAuthor buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.CommitAuthor) { - return mergeFrom((com.google.cloud.dataform.v1beta1.CommitAuthor)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.CommitAuthor) other); } else { super.mergeFrom(other); return this; @@ -517,18 +553,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The commit author's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -537,20 +575,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The commit author's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -558,54 +597,61 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The commit author's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The commit author's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The commit author's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -613,18 +659,20 @@ public Builder setNameBytes( private java.lang.Object emailAddress_ = ""; /** + * + * *
      * Required. The commit author's email address.
      * 
* * string email_address = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The emailAddress. */ public java.lang.String getEmailAddress() { java.lang.Object ref = emailAddress_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); emailAddress_ = s; return s; @@ -633,20 +681,21 @@ public java.lang.String getEmailAddress() { } } /** + * + * *
      * Required. The commit author's email address.
      * 
* * string email_address = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for emailAddress. */ - public com.google.protobuf.ByteString - getEmailAddressBytes() { + public com.google.protobuf.ByteString getEmailAddressBytes() { java.lang.Object ref = emailAddress_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); emailAddress_ = b; return b; } else { @@ -654,61 +703,68 @@ public java.lang.String getEmailAddress() { } } /** + * + * *
      * Required. The commit author's email address.
      * 
* * string email_address = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The emailAddress to set. * @return This builder for chaining. */ - public Builder setEmailAddress( - java.lang.String value) { + public Builder setEmailAddress(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + emailAddress_ = value; onChanged(); return this; } /** + * + * *
      * Required. The commit author's email address.
      * 
* * string email_address = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearEmailAddress() { - + emailAddress_ = getDefaultInstance().getEmailAddress(); onChanged(); return this; } /** + * + * *
      * Required. The commit author's email address.
      * 
* * string email_address = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for emailAddress to set. * @return This builder for chaining. */ - public Builder setEmailAddressBytes( - com.google.protobuf.ByteString value) { + public Builder setEmailAddressBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + emailAddress_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -718,12 +774,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.CommitAuthor) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.CommitAuthor) private static final com.google.cloud.dataform.v1beta1.CommitAuthor DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.CommitAuthor(); } @@ -732,16 +788,16 @@ public static com.google.cloud.dataform.v1beta1.CommitAuthor getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CommitAuthor parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CommitAuthor(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CommitAuthor parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CommitAuthor(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -756,6 +812,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1beta1.CommitAuthor getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CommitAuthorOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CommitAuthorOrBuilder.java similarity index 58% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CommitAuthorOrBuilder.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CommitAuthorOrBuilder.java index 1ee16f5..b0a7744 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CommitAuthorOrBuilder.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CommitAuthorOrBuilder.java @@ -1,49 +1,75 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; -public interface CommitAuthorOrBuilder extends +public interface CommitAuthorOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.CommitAuthor) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The commit author's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The commit author's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. The commit author's email address.
    * 
* * string email_address = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The emailAddress. */ java.lang.String getEmailAddress(); /** + * + * *
    * Required. The commit author's email address.
    * 
* * string email_address = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for emailAddress. */ - com.google.protobuf.ByteString - getEmailAddressBytes(); + com.google.protobuf.ByteString getEmailAddressBytes(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CommitWorkspaceChangesRequest.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CommitWorkspaceChangesRequest.java similarity index 66% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CommitWorkspaceChangesRequest.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CommitWorkspaceChangesRequest.java index 6db307c..45afa6d 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CommitWorkspaceChangesRequest.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CommitWorkspaceChangesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * `CommitWorkspaceChanges` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest} */ -public final class CommitWorkspaceChangesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CommitWorkspaceChangesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest) CommitWorkspaceChangesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CommitWorkspaceChangesRequest.newBuilder() to construct. private CommitWorkspaceChangesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CommitWorkspaceChangesRequest() { name_ = ""; commitMessage_ = ""; @@ -27,16 +45,15 @@ private CommitWorkspaceChangesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CommitWorkspaceChangesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CommitWorkspaceChangesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,47 +73,53 @@ private CommitWorkspaceChangesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - commitMessage_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - paths_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + name_ = s; + break; } - paths_.add(s); - break; - } - case 34: { - com.google.cloud.dataform.v1beta1.CommitAuthor.Builder subBuilder = null; - if (author_ != null) { - subBuilder = author_.toBuilder(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + commitMessage_ = s; + break; } - author_ = input.readMessage(com.google.cloud.dataform.v1beta1.CommitAuthor.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(author_); - author_ = subBuilder.buildPartial(); + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + paths_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + paths_.add(s); + break; } + case 34: + { + com.google.cloud.dataform.v1beta1.CommitAuthor.Builder subBuilder = null; + if (author_ != null) { + subBuilder = author_.toBuilder(); + } + author_ = + input.readMessage( + com.google.cloud.dataform.v1beta1.CommitAuthor.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(author_); + author_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,8 +127,7 @@ private CommitWorkspaceChangesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { paths_ = paths_.getUnmodifiableView(); @@ -114,27 +136,35 @@ private CommitWorkspaceChangesRequest( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CommitWorkspaceChangesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CommitWorkspaceChangesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CommitWorkspaceChangesRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CommitWorkspaceChangesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest.class, com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest.Builder.class); + com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest.class, + com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The workspace's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -143,29 +173,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The workspace's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -176,11 +208,16 @@ public java.lang.String getName() { public static final int AUTHOR_FIELD_NUMBER = 4; private com.google.cloud.dataform.v1beta1.CommitAuthor author_; /** + * + * *
    * Required. The commit's author.
    * 
* - * .google.cloud.dataform.v1beta1.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the author field is set. */ @java.lang.Override @@ -188,23 +225,34 @@ public boolean hasAuthor() { return author_ != null; } /** + * + * *
    * Required. The commit's author.
    * 
* - * .google.cloud.dataform.v1beta1.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The author. */ @java.lang.Override public com.google.cloud.dataform.v1beta1.CommitAuthor getAuthor() { - return author_ == null ? com.google.cloud.dataform.v1beta1.CommitAuthor.getDefaultInstance() : author_; + return author_ == null + ? com.google.cloud.dataform.v1beta1.CommitAuthor.getDefaultInstance() + : author_; } /** + * + * *
    * Required. The commit's author.
    * 
* - * .google.cloud.dataform.v1beta1.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.dataform.v1beta1.CommitAuthorOrBuilder getAuthorOrBuilder() { @@ -214,11 +262,14 @@ public com.google.cloud.dataform.v1beta1.CommitAuthorOrBuilder getAuthorOrBuilde public static final int COMMIT_MESSAGE_FIELD_NUMBER = 2; private volatile java.lang.Object commitMessage_; /** + * + * *
    * Optional. The commit's message.
    * 
* * string commit_message = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The commitMessage. */ @java.lang.Override @@ -227,29 +278,29 @@ public java.lang.String getCommitMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); commitMessage_ = s; return s; } } /** + * + * *
    * Optional. The commit's message.
    * 
* * string commit_message = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for commitMessage. */ @java.lang.Override - public com.google.protobuf.ByteString - getCommitMessageBytes() { + public com.google.protobuf.ByteString getCommitMessageBytes() { java.lang.Object ref = commitMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); commitMessage_ = b; return b; } else { @@ -260,37 +311,45 @@ public java.lang.String getCommitMessage() { public static final int PATHS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList paths_; /** + * + * *
    * Optional. Full file paths to commit including filename, rooted at workspace root. If
    * left empty, all files will be committed.
    * 
* * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the paths. */ - public com.google.protobuf.ProtocolStringList - getPathsList() { + public com.google.protobuf.ProtocolStringList getPathsList() { return paths_; } /** + * + * *
    * Optional. Full file paths to commit including filename, rooted at workspace root. If
    * left empty, all files will be committed.
    * 
* * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of paths. */ public int getPathsCount() { return paths_.size(); } /** + * + * *
    * Optional. Full file paths to commit including filename, rooted at workspace root. If
    * left empty, all files will be committed.
    * 
* * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The paths at the given index. */ @@ -298,21 +357,24 @@ public java.lang.String getPaths(int index) { return paths_.get(index); } /** + * + * *
    * Optional. Full file paths to commit including filename, rooted at workspace root. If
    * left empty, all files will be committed.
    * 
* * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the paths at the given index. */ - public com.google.protobuf.ByteString - getPathsBytes(int index) { + public com.google.protobuf.ByteString getPathsBytes(int index) { return paths_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -324,8 +386,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -362,8 +423,7 @@ public int getSerializedSize() { size += 1 * getPathsList().size(); } if (author_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getAuthor()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getAuthor()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -373,24 +433,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest other = (com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest) obj; + com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest other = + (com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasAuthor() != other.hasAuthor()) return false; if (hasAuthor()) { - if (!getAuthor() - .equals(other.getAuthor())) return false; + if (!getAuthor().equals(other.getAuthor())) return false; } - if (!getCommitMessage() - .equals(other.getCommitMessage())) return false; - if (!getPathsList() - .equals(other.getPathsList())) return false; + if (!getCommitMessage().equals(other.getCommitMessage())) return false; + if (!getPathsList().equals(other.getPathsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -420,117 +477,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `CommitWorkspaceChanges` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest) com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CommitWorkspaceChangesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CommitWorkspaceChangesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CommitWorkspaceChangesRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CommitWorkspaceChangesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest.class, com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest.Builder.class); + com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest.class, + com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest.newBuilder() @@ -538,16 +605,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -567,13 +633,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CommitWorkspaceChangesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CommitWorkspaceChangesRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest getDefaultInstanceForType() { + public com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest + getDefaultInstanceForType() { return com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest.getDefaultInstance(); } @@ -588,7 +655,8 @@ public com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest build() { @java.lang.Override public com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest buildPartial() { - com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest result = new com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest(this); + com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest result = + new com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest(this); int from_bitField0_ = bitField0_; result.name_ = name_; if (authorBuilder_ == null) { @@ -610,46 +678,50 @@ public com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest buildPart public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest) { - return mergeFrom((com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest other) { - if (other == com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest other) { + if (other + == com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -690,7 +762,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -699,22 +773,27 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -723,20 +802,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -744,54 +826,67 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -799,39 +894,58 @@ public Builder setNameBytes( private com.google.cloud.dataform.v1beta1.CommitAuthor author_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.CommitAuthor, com.google.cloud.dataform.v1beta1.CommitAuthor.Builder, com.google.cloud.dataform.v1beta1.CommitAuthorOrBuilder> authorBuilder_; + com.google.cloud.dataform.v1beta1.CommitAuthor, + com.google.cloud.dataform.v1beta1.CommitAuthor.Builder, + com.google.cloud.dataform.v1beta1.CommitAuthorOrBuilder> + authorBuilder_; /** + * + * *
      * Required. The commit's author.
      * 
* - * .google.cloud.dataform.v1beta1.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the author field is set. */ public boolean hasAuthor() { return authorBuilder_ != null || author_ != null; } /** + * + * *
      * Required. The commit's author.
      * 
* - * .google.cloud.dataform.v1beta1.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The author. */ public com.google.cloud.dataform.v1beta1.CommitAuthor getAuthor() { if (authorBuilder_ == null) { - return author_ == null ? com.google.cloud.dataform.v1beta1.CommitAuthor.getDefaultInstance() : author_; + return author_ == null + ? com.google.cloud.dataform.v1beta1.CommitAuthor.getDefaultInstance() + : author_; } else { return authorBuilder_.getMessage(); } } /** + * + * *
      * Required. The commit's author.
      * 
* - * .google.cloud.dataform.v1beta1.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAuthor(com.google.cloud.dataform.v1beta1.CommitAuthor value) { if (authorBuilder_ == null) { @@ -847,11 +961,15 @@ public Builder setAuthor(com.google.cloud.dataform.v1beta1.CommitAuthor value) { return this; } /** + * + * *
      * Required. The commit's author.
      * 
* - * .google.cloud.dataform.v1beta1.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAuthor( com.google.cloud.dataform.v1beta1.CommitAuthor.Builder builderForValue) { @@ -865,17 +983,23 @@ public Builder setAuthor( return this; } /** + * + * *
      * Required. The commit's author.
      * 
* - * .google.cloud.dataform.v1beta1.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeAuthor(com.google.cloud.dataform.v1beta1.CommitAuthor value) { if (authorBuilder_ == null) { if (author_ != null) { author_ = - com.google.cloud.dataform.v1beta1.CommitAuthor.newBuilder(author_).mergeFrom(value).buildPartial(); + com.google.cloud.dataform.v1beta1.CommitAuthor.newBuilder(author_) + .mergeFrom(value) + .buildPartial(); } else { author_ = value; } @@ -887,11 +1011,15 @@ public Builder mergeAuthor(com.google.cloud.dataform.v1beta1.CommitAuthor value) return this; } /** + * + * *
      * Required. The commit's author.
      * 
* - * .google.cloud.dataform.v1beta1.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAuthor() { if (authorBuilder_ == null) { @@ -905,48 +1033,64 @@ public Builder clearAuthor() { return this; } /** + * + * *
      * Required. The commit's author.
      * 
* - * .google.cloud.dataform.v1beta1.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataform.v1beta1.CommitAuthor.Builder getAuthorBuilder() { - + onChanged(); return getAuthorFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The commit's author.
      * 
* - * .google.cloud.dataform.v1beta1.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataform.v1beta1.CommitAuthorOrBuilder getAuthorOrBuilder() { if (authorBuilder_ != null) { return authorBuilder_.getMessageOrBuilder(); } else { - return author_ == null ? - com.google.cloud.dataform.v1beta1.CommitAuthor.getDefaultInstance() : author_; + return author_ == null + ? com.google.cloud.dataform.v1beta1.CommitAuthor.getDefaultInstance() + : author_; } } /** + * + * *
      * Required. The commit's author.
      * 
* - * .google.cloud.dataform.v1beta1.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.CommitAuthor, com.google.cloud.dataform.v1beta1.CommitAuthor.Builder, com.google.cloud.dataform.v1beta1.CommitAuthorOrBuilder> + com.google.cloud.dataform.v1beta1.CommitAuthor, + com.google.cloud.dataform.v1beta1.CommitAuthor.Builder, + com.google.cloud.dataform.v1beta1.CommitAuthorOrBuilder> getAuthorFieldBuilder() { if (authorBuilder_ == null) { - authorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.CommitAuthor, com.google.cloud.dataform.v1beta1.CommitAuthor.Builder, com.google.cloud.dataform.v1beta1.CommitAuthorOrBuilder>( - getAuthor(), - getParentForChildren(), - isClean()); + authorBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.CommitAuthor, + com.google.cloud.dataform.v1beta1.CommitAuthor.Builder, + com.google.cloud.dataform.v1beta1.CommitAuthorOrBuilder>( + getAuthor(), getParentForChildren(), isClean()); author_ = null; } return authorBuilder_; @@ -954,18 +1098,20 @@ public com.google.cloud.dataform.v1beta1.CommitAuthorOrBuilder getAuthorOrBuilde private java.lang.Object commitMessage_ = ""; /** + * + * *
      * Optional. The commit's message.
      * 
* * string commit_message = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The commitMessage. */ public java.lang.String getCommitMessage() { java.lang.Object ref = commitMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); commitMessage_ = s; return s; @@ -974,20 +1120,21 @@ public java.lang.String getCommitMessage() { } } /** + * + * *
      * Optional. The commit's message.
      * 
* * string commit_message = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for commitMessage. */ - public com.google.protobuf.ByteString - getCommitMessageBytes() { + public com.google.protobuf.ByteString getCommitMessageBytes() { java.lang.Object ref = commitMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); commitMessage_ = b; return b; } else { @@ -995,98 +1142,115 @@ public java.lang.String getCommitMessage() { } } /** + * + * *
      * Optional. The commit's message.
      * 
* * string commit_message = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The commitMessage to set. * @return This builder for chaining. */ - public Builder setCommitMessage( - java.lang.String value) { + public Builder setCommitMessage(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + commitMessage_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The commit's message.
      * 
* * string commit_message = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearCommitMessage() { - + commitMessage_ = getDefaultInstance().getCommitMessage(); onChanged(); return this; } /** + * + * *
      * Optional. The commit's message.
      * 
* * string commit_message = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for commitMessage to set. * @return This builder for chaining. */ - public Builder setCommitMessageBytes( - com.google.protobuf.ByteString value) { + public Builder setCommitMessageBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + commitMessage_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList paths_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList paths_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensurePathsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { paths_ = new com.google.protobuf.LazyStringArrayList(paths_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Optional. Full file paths to commit including filename, rooted at workspace root. If
      * left empty, all files will be committed.
      * 
* * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the paths. */ - public com.google.protobuf.ProtocolStringList - getPathsList() { + public com.google.protobuf.ProtocolStringList getPathsList() { return paths_.getUnmodifiableView(); } /** + * + * *
      * Optional. Full file paths to commit including filename, rooted at workspace root. If
      * left empty, all files will be committed.
      * 
* * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of paths. */ public int getPathsCount() { return paths_.size(); } /** + * + * *
      * Optional. Full file paths to commit including filename, rooted at workspace root. If
      * left empty, all files will be committed.
      * 
* * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The paths at the given index. */ @@ -1094,85 +1258,95 @@ public java.lang.String getPaths(int index) { return paths_.get(index); } /** + * + * *
      * Optional. Full file paths to commit including filename, rooted at workspace root. If
      * left empty, all files will be committed.
      * 
* * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the paths at the given index. */ - public com.google.protobuf.ByteString - getPathsBytes(int index) { + public com.google.protobuf.ByteString getPathsBytes(int index) { return paths_.getByteString(index); } /** + * + * *
      * Optional. Full file paths to commit including filename, rooted at workspace root. If
      * left empty, all files will be committed.
      * 
* * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index to set the value at. * @param value The paths to set. * @return This builder for chaining. */ - public Builder setPaths( - int index, java.lang.String value) { + public Builder setPaths(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePathsIsMutable(); + throw new NullPointerException(); + } + ensurePathsIsMutable(); paths_.set(index, value); onChanged(); return this; } /** + * + * *
      * Optional. Full file paths to commit including filename, rooted at workspace root. If
      * left empty, all files will be committed.
      * 
* * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The paths to add. * @return This builder for chaining. */ - public Builder addPaths( - java.lang.String value) { + public Builder addPaths(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePathsIsMutable(); + throw new NullPointerException(); + } + ensurePathsIsMutable(); paths_.add(value); onChanged(); return this; } /** + * + * *
      * Optional. Full file paths to commit including filename, rooted at workspace root. If
      * left empty, all files will be committed.
      * 
* * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param values The paths to add. * @return This builder for chaining. */ - public Builder addAllPaths( - java.lang.Iterable values) { + public Builder addAllPaths(java.lang.Iterable values) { ensurePathsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, paths_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, paths_); onChanged(); return this; } /** + * + * *
      * Optional. Full file paths to commit including filename, rooted at workspace root. If
      * left empty, all files will be committed.
      * 
* * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPaths() { @@ -1182,29 +1356,31 @@ public Builder clearPaths() { return this; } /** + * + * *
      * Optional. Full file paths to commit including filename, rooted at workspace root. If
      * left empty, all files will be committed.
      * 
* * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes of the paths to add. * @return This builder for chaining. */ - public Builder addPathsBytes( - com.google.protobuf.ByteString value) { + public Builder addPathsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensurePathsIsMutable(); paths_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1214,30 +1390,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest) - private static final com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest(); } - public static com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest getDefaultInstance() { + public static com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CommitWorkspaceChangesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CommitWorkspaceChangesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CommitWorkspaceChangesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CommitWorkspaceChangesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1249,9 +1427,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest getDefaultInstanceForType() { + public com.google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CommitWorkspaceChangesRequestOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CommitWorkspaceChangesRequestOrBuilder.java similarity index 62% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CommitWorkspaceChangesRequestOrBuilder.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CommitWorkspaceChangesRequestOrBuilder.java index 875b77f..545a509 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CommitWorkspaceChangesRequestOrBuilder.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CommitWorkspaceChangesRequestOrBuilder.java @@ -1,121 +1,175 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; -public interface CommitWorkspaceChangesRequestOrBuilder extends +public interface CommitWorkspaceChangesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.CommitWorkspaceChangesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The workspace's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The workspace's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. The commit's author.
    * 
* - * .google.cloud.dataform.v1beta1.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the author field is set. */ boolean hasAuthor(); /** + * + * *
    * Required. The commit's author.
    * 
* - * .google.cloud.dataform.v1beta1.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The author. */ com.google.cloud.dataform.v1beta1.CommitAuthor getAuthor(); /** + * + * *
    * Required. The commit's author.
    * 
* - * .google.cloud.dataform.v1beta1.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.dataform.v1beta1.CommitAuthorOrBuilder getAuthorOrBuilder(); /** + * + * *
    * Optional. The commit's message.
    * 
* * string commit_message = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The commitMessage. */ java.lang.String getCommitMessage(); /** + * + * *
    * Optional. The commit's message.
    * 
* * string commit_message = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for commitMessage. */ - com.google.protobuf.ByteString - getCommitMessageBytes(); + com.google.protobuf.ByteString getCommitMessageBytes(); /** + * + * *
    * Optional. Full file paths to commit including filename, rooted at workspace root. If
    * left empty, all files will be committed.
    * 
* * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the paths. */ - java.util.List - getPathsList(); + java.util.List getPathsList(); /** + * + * *
    * Optional. Full file paths to commit including filename, rooted at workspace root. If
    * left empty, all files will be committed.
    * 
* * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of paths. */ int getPathsCount(); /** + * + * *
    * Optional. Full file paths to commit including filename, rooted at workspace root. If
    * left empty, all files will be committed.
    * 
* * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The paths at the given index. */ java.lang.String getPaths(int index); /** + * + * *
    * Optional. Full file paths to commit including filename, rooted at workspace root. If
    * left empty, all files will be committed.
    * 
* * repeated string paths = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the paths at the given index. */ - com.google.protobuf.ByteString - getPathsBytes(int index); + com.google.protobuf.ByteString getPathsBytes(int index); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CompilationResult.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CompilationResult.java similarity index 68% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CompilationResult.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CompilationResult.java index 348686f..959e61b 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CompilationResult.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CompilationResult.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * Represents the result of compiling a Dataform project.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.CompilationResult} */ -public final class CompilationResult extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CompilationResult extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.CompilationResult) CompilationResultOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CompilationResult.newBuilder() to construct. private CompilationResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CompilationResult() { name_ = ""; dataformCoreVersion_ = ""; @@ -27,16 +45,15 @@ private CompilationResult() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CompilationResult(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CompilationResult( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,59 +73,74 @@ private CompilationResult( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - sourceCase_ = 2; - source_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - sourceCase_ = 3; - source_ = s; - break; - } - case 34: { - com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig.Builder subBuilder = null; - if (codeCompilationConfig_ != null) { - subBuilder = codeCompilationConfig_.toBuilder(); + name_ = s; + break; } - codeCompilationConfig_ = input.readMessage(com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(codeCompilationConfig_); - codeCompilationConfig_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + sourceCase_ = 2; + source_ = s; + break; } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + sourceCase_ = 3; + source_ = s; + break; + } + case 34: + { + com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig.Builder + subBuilder = null; + if (codeCompilationConfig_ != null) { + subBuilder = codeCompilationConfig_.toBuilder(); + } + codeCompilationConfig_ = + input.readMessage( + com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(codeCompilationConfig_); + codeCompilationConfig_ = subBuilder.buildPartial(); + } - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - dataformCoreVersion_ = s; - break; - } - case 50: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - compilationErrors_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + dataformCoreVersion_ = s; + break; } - compilationErrors_.add( - input.readMessage(com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 50: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + compilationErrors_ = + new java.util.ArrayList< + com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError>(); + mutable_bitField0_ |= 0x00000001; + } + compilationErrors_.add( + input.readMessage( + com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.parser(), + extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -116,8 +148,7 @@ private CompilationResult( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { compilationErrors_ = java.util.Collections.unmodifiableList(compilationErrors_); @@ -126,64 +157,80 @@ private CompilationResult( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResult_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CompilationResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResult_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CompilationResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.CompilationResult.class, com.google.cloud.dataform.v1beta1.CompilationResult.Builder.class); + com.google.cloud.dataform.v1beta1.CompilationResult.class, + com.google.cloud.dataform.v1beta1.CompilationResult.Builder.class); } - public interface CodeCompilationConfigOrBuilder extends + public interface CodeCompilationConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Optional. The default database (Google Cloud project ID).
      * 
* * string default_database = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The defaultDatabase. */ java.lang.String getDefaultDatabase(); /** + * + * *
      * Optional. The default database (Google Cloud project ID).
      * 
* * string default_database = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for defaultDatabase. */ - com.google.protobuf.ByteString - getDefaultDatabaseBytes(); + com.google.protobuf.ByteString getDefaultDatabaseBytes(); /** + * + * *
      * Optional. The default schema (BigQuery dataset ID).
      * 
* * string default_schema = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The defaultSchema. */ java.lang.String getDefaultSchema(); /** + * + * *
      * Optional. The default schema (BigQuery dataset ID).
      * 
* * string default_schema = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for defaultSchema. */ - com.google.protobuf.ByteString - getDefaultSchemaBytes(); + com.google.protobuf.ByteString getDefaultSchemaBytes(); /** + * + * *
      * Optional. The default BigQuery location to use. Defaults to "US".
      * See the BigQuery docs for a full list of locations:
@@ -191,10 +238,13 @@ public interface CodeCompilationConfigOrBuilder extends
      * 
* * string default_location = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The defaultLocation. */ java.lang.String getDefaultLocation(); /** + * + * *
      * Optional. The default BigQuery location to use. Defaults to "US".
      * See the BigQuery docs for a full list of locations:
@@ -202,32 +252,39 @@ public interface CodeCompilationConfigOrBuilder extends
      * 
* * string default_location = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for defaultLocation. */ - com.google.protobuf.ByteString - getDefaultLocationBytes(); + com.google.protobuf.ByteString getDefaultLocationBytes(); /** + * + * *
      * Optional. The default schema (BigQuery dataset ID) for assertions.
      * 
* * string assertion_schema = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The assertionSchema. */ java.lang.String getAssertionSchema(); /** + * + * *
      * Optional. The default schema (BigQuery dataset ID) for assertions.
      * 
* * string assertion_schema = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for assertionSchema. */ - com.google.protobuf.ByteString - getAssertionSchemaBytes(); + com.google.protobuf.ByteString getAssertionSchemaBytes(); /** + * + * *
      * Optional. User-defined variables that are made available to project code during
      * compilation.
@@ -237,6 +294,8 @@ public interface CodeCompilationConfigOrBuilder extends
      */
     int getVarsCount();
     /**
+     *
+     *
      * 
      * Optional. User-defined variables that are made available to project code during
      * compilation.
@@ -244,15 +303,13 @@ public interface CodeCompilationConfigOrBuilder extends
      *
      * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
-    boolean containsVars(
-        java.lang.String key);
-    /**
-     * Use {@link #getVarsMap()} instead.
-     */
+    boolean containsVars(java.lang.String key);
+    /** Use {@link #getVarsMap()} instead. */
     @java.lang.Deprecated
-    java.util.Map
-    getVars();
+    java.util.Map getVars();
     /**
+     *
+     *
      * 
      * Optional. User-defined variables that are made available to project code during
      * compilation.
@@ -260,9 +317,10 @@ boolean containsVars(
      *
      * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
-    java.util.Map
-    getVarsMap();
+    java.util.Map getVarsMap();
     /**
+     *
+     *
      * 
      * Optional. User-defined variables that are made available to project code during
      * compilation.
@@ -272,11 +330,13 @@ boolean containsVars(
      */
 
     /* nullable */
-java.lang.String getVarsOrDefault(
+    java.lang.String getVarsOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue);
+        java.lang.String defaultValue);
     /**
+     *
+     *
      * 
      * Optional. User-defined variables that are made available to project code during
      * compilation.
@@ -284,90 +344,106 @@ java.lang.String getVarsOrDefault(
      *
      * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
-
-    java.lang.String getVarsOrThrow(
-        java.lang.String key);
+    java.lang.String getVarsOrThrow(java.lang.String key);
 
     /**
+     *
+     *
      * 
      * Optional. The suffix that should be appended to all database (Google Cloud project
      * ID) names.
      * 
* * string database_suffix = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The databaseSuffix. */ java.lang.String getDatabaseSuffix(); /** + * + * *
      * Optional. The suffix that should be appended to all database (Google Cloud project
      * ID) names.
      * 
* * string database_suffix = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for databaseSuffix. */ - com.google.protobuf.ByteString - getDatabaseSuffixBytes(); + com.google.protobuf.ByteString getDatabaseSuffixBytes(); /** + * + * *
      * Optional. The suffix that should be appended to all schema (BigQuery dataset ID)
      * names.
      * 
* * string schema_suffix = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The schemaSuffix. */ java.lang.String getSchemaSuffix(); /** + * + * *
      * Optional. The suffix that should be appended to all schema (BigQuery dataset ID)
      * names.
      * 
* * string schema_suffix = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for schemaSuffix. */ - com.google.protobuf.ByteString - getSchemaSuffixBytes(); + com.google.protobuf.ByteString getSchemaSuffixBytes(); /** + * + * *
      * Optional. The prefix that should be prepended to all table names.
      * 
* * string table_prefix = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The tablePrefix. */ java.lang.String getTablePrefix(); /** + * + * *
      * Optional. The prefix that should be prepended to all table names.
      * 
* * string table_prefix = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for tablePrefix. */ - com.google.protobuf.ByteString - getTablePrefixBytes(); + com.google.protobuf.ByteString getTablePrefixBytes(); } /** + * + * *
    * Configures various aspects of Dataform code compilation.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig} */ - public static final class CodeCompilationConfig extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CodeCompilationConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig) CodeCompilationConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CodeCompilationConfig.newBuilder() to construct. private CodeCompilationConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CodeCompilationConfig() { defaultDatabase_ = ""; defaultSchema_ = ""; @@ -380,16 +456,15 @@ private CodeCompilationConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CodeCompilationConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CodeCompilationConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -409,68 +484,75 @@ private CodeCompilationConfig( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - defaultDatabase_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + defaultDatabase_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - defaultSchema_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + defaultSchema_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - assertionSchema_ = s; - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - vars_ = com.google.protobuf.MapField.newMapField( - VarsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; + assertionSchema_ = s; + break; } - com.google.protobuf.MapEntry - vars__ = input.readMessage( - VarsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - vars_.getMutableMap().put( - vars__.getKey(), vars__.getValue()); - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + case 34: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + vars_ = + com.google.protobuf.MapField.newMapField(VarsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry vars__ = + input.readMessage( + VarsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + vars_.getMutableMap().put(vars__.getKey(), vars__.getValue()); + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - databaseSuffix_ = s; - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); + databaseSuffix_ = s; + break; + } + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); - schemaSuffix_ = s; - break; - } - case 58: { - java.lang.String s = input.readStringRequireUtf8(); + schemaSuffix_ = s; + break; + } + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); - tablePrefix_ = s; - break; - } - case 66: { - java.lang.String s = input.readStringRequireUtf8(); + tablePrefix_ = s; + break; + } + case 66: + { + java.lang.String s = input.readStringRequireUtf8(); - defaultLocation_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + defaultLocation_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -478,46 +560,51 @@ private CodeCompilationConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResult_CodeCompilationConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CompilationResult_CodeCompilationConfig_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 4: return internalGetVars(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResult_CodeCompilationConfig_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CompilationResult_CodeCompilationConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig.class, com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig.Builder.class); + com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig.class, + com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig.Builder + .class); } public static final int DEFAULT_DATABASE_FIELD_NUMBER = 1; private volatile java.lang.Object defaultDatabase_; /** + * + * *
      * Optional. The default database (Google Cloud project ID).
      * 
* * string default_database = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The defaultDatabase. */ @java.lang.Override @@ -526,29 +613,29 @@ public java.lang.String getDefaultDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultDatabase_ = s; return s; } } /** + * + * *
      * Optional. The default database (Google Cloud project ID).
      * 
* * string default_database = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for defaultDatabase. */ @java.lang.Override - public com.google.protobuf.ByteString - getDefaultDatabaseBytes() { + public com.google.protobuf.ByteString getDefaultDatabaseBytes() { java.lang.Object ref = defaultDatabase_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); defaultDatabase_ = b; return b; } else { @@ -559,11 +646,14 @@ public java.lang.String getDefaultDatabase() { public static final int DEFAULT_SCHEMA_FIELD_NUMBER = 2; private volatile java.lang.Object defaultSchema_; /** + * + * *
      * Optional. The default schema (BigQuery dataset ID).
      * 
* * string default_schema = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The defaultSchema. */ @java.lang.Override @@ -572,29 +662,29 @@ public java.lang.String getDefaultSchema() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultSchema_ = s; return s; } } /** + * + * *
      * Optional. The default schema (BigQuery dataset ID).
      * 
* * string default_schema = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for defaultSchema. */ @java.lang.Override - public com.google.protobuf.ByteString - getDefaultSchemaBytes() { + public com.google.protobuf.ByteString getDefaultSchemaBytes() { java.lang.Object ref = defaultSchema_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); defaultSchema_ = b; return b; } else { @@ -605,6 +695,8 @@ public java.lang.String getDefaultSchema() { public static final int DEFAULT_LOCATION_FIELD_NUMBER = 8; private volatile java.lang.Object defaultLocation_; /** + * + * *
      * Optional. The default BigQuery location to use. Defaults to "US".
      * See the BigQuery docs for a full list of locations:
@@ -612,6 +704,7 @@ public java.lang.String getDefaultSchema() {
      * 
* * string default_location = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The defaultLocation. */ @java.lang.Override @@ -620,14 +713,15 @@ public java.lang.String getDefaultLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultLocation_ = s; return s; } } /** + * + * *
      * Optional. The default BigQuery location to use. Defaults to "US".
      * See the BigQuery docs for a full list of locations:
@@ -635,16 +729,15 @@ public java.lang.String getDefaultLocation() {
      * 
* * string default_location = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for defaultLocation. */ @java.lang.Override - public com.google.protobuf.ByteString - getDefaultLocationBytes() { + public com.google.protobuf.ByteString getDefaultLocationBytes() { java.lang.Object ref = defaultLocation_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); defaultLocation_ = b; return b; } else { @@ -655,11 +748,14 @@ public java.lang.String getDefaultLocation() { public static final int ASSERTION_SCHEMA_FIELD_NUMBER = 3; private volatile java.lang.Object assertionSchema_; /** + * + * *
      * Optional. The default schema (BigQuery dataset ID) for assertions.
      * 
* * string assertion_schema = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The assertionSchema. */ @java.lang.Override @@ -668,29 +764,29 @@ public java.lang.String getAssertionSchema() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assertionSchema_ = s; return s; } } /** + * + * *
      * Optional. The default schema (BigQuery dataset ID) for assertions.
      * 
* * string assertion_schema = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for assertionSchema. */ @java.lang.Override - public com.google.protobuf.ByteString - getAssertionSchemaBytes() { + public com.google.protobuf.ByteString getAssertionSchemaBytes() { java.lang.Object ref = assertionSchema_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); assertionSchema_ = b; return b; } else { @@ -699,24 +795,23 @@ public java.lang.String getAssertionSchema() { } public static final int VARS_FIELD_NUMBER = 4; + private static final class VarsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResult_CodeCompilationConfig_VarsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> vars_; - private com.google.protobuf.MapField - internalGetVars() { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CompilationResult_CodeCompilationConfig_VarsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + private com.google.protobuf.MapField vars_; + + private com.google.protobuf.MapField internalGetVars() { if (vars_ == null) { - return com.google.protobuf.MapField.emptyMapField( - VarsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(VarsDefaultEntryHolder.defaultEntry); } return vars_; } @@ -725,6 +820,8 @@ public int getVarsCount() { return internalGetVars().getMap().size(); } /** + * + * *
      * Optional. User-defined variables that are made available to project code during
      * compilation.
@@ -732,22 +829,22 @@ public int getVarsCount() {
      *
      * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
-
     @java.lang.Override
-    public boolean containsVars(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsVars(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetVars().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getVarsMap()} instead.
-     */
+    /** Use {@link #getVarsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getVars() {
       return getVarsMap();
     }
     /**
+     *
+     *
      * 
      * Optional. User-defined variables that are made available to project code during
      * compilation.
@@ -756,11 +853,12 @@ public java.util.Map getVars() {
      * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-
     public java.util.Map getVarsMap() {
       return internalGetVars().getMap();
     }
     /**
+     *
+     *
      * 
      * Optional. User-defined variables that are made available to project code during
      * compilation.
@@ -769,16 +867,16 @@ public java.util.Map getVarsMap() {
      * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-
-    public java.lang.String getVarsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetVars().getMap();
+    public java.lang.String getVarsOrDefault(java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetVars().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Optional. User-defined variables that are made available to project code during
      * compilation.
@@ -787,12 +885,11 @@ public java.lang.String getVarsOrDefault(
      * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];
      */
     @java.lang.Override
-
-    public java.lang.String getVarsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetVars().getMap();
+    public java.lang.String getVarsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetVars().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
@@ -802,12 +899,15 @@ public java.lang.String getVarsOrThrow(
     public static final int DATABASE_SUFFIX_FIELD_NUMBER = 5;
     private volatile java.lang.Object databaseSuffix_;
     /**
+     *
+     *
      * 
      * Optional. The suffix that should be appended to all database (Google Cloud project
      * ID) names.
      * 
* * string database_suffix = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The databaseSuffix. */ @java.lang.Override @@ -816,30 +916,30 @@ public java.lang.String getDatabaseSuffix() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseSuffix_ = s; return s; } } /** + * + * *
      * Optional. The suffix that should be appended to all database (Google Cloud project
      * ID) names.
      * 
* * string database_suffix = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for databaseSuffix. */ @java.lang.Override - public com.google.protobuf.ByteString - getDatabaseSuffixBytes() { + public com.google.protobuf.ByteString getDatabaseSuffixBytes() { java.lang.Object ref = databaseSuffix_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); databaseSuffix_ = b; return b; } else { @@ -850,12 +950,15 @@ public java.lang.String getDatabaseSuffix() { public static final int SCHEMA_SUFFIX_FIELD_NUMBER = 6; private volatile java.lang.Object schemaSuffix_; /** + * + * *
      * Optional. The suffix that should be appended to all schema (BigQuery dataset ID)
      * names.
      * 
* * string schema_suffix = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The schemaSuffix. */ @java.lang.Override @@ -864,30 +967,30 @@ public java.lang.String getSchemaSuffix() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schemaSuffix_ = s; return s; } } /** + * + * *
      * Optional. The suffix that should be appended to all schema (BigQuery dataset ID)
      * names.
      * 
* * string schema_suffix = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for schemaSuffix. */ @java.lang.Override - public com.google.protobuf.ByteString - getSchemaSuffixBytes() { + public com.google.protobuf.ByteString getSchemaSuffixBytes() { java.lang.Object ref = schemaSuffix_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); schemaSuffix_ = b; return b; } else { @@ -898,11 +1001,14 @@ public java.lang.String getSchemaSuffix() { public static final int TABLE_PREFIX_FIELD_NUMBER = 7; private volatile java.lang.Object tablePrefix_; /** + * + * *
      * Optional. The prefix that should be prepended to all table names.
      * 
* * string table_prefix = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The tablePrefix. */ @java.lang.Override @@ -911,29 +1017,29 @@ public java.lang.String getTablePrefix() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tablePrefix_ = s; return s; } } /** + * + * *
      * Optional. The prefix that should be prepended to all table names.
      * 
* * string table_prefix = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for tablePrefix. */ @java.lang.Override - public com.google.protobuf.ByteString - getTablePrefixBytes() { + public com.google.protobuf.ByteString getTablePrefixBytes() { java.lang.Object ref = tablePrefix_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tablePrefix_ = b; return b; } else { @@ -942,6 +1048,7 @@ public java.lang.String getTablePrefix() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -953,8 +1060,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultDatabase_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, defaultDatabase_); } @@ -964,12 +1070,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(assertionSchema_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, assertionSchema_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetVars(), - VarsDefaultEntryHolder.defaultEntry, - 4); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetVars(), VarsDefaultEntryHolder.defaultEntry, 4); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(databaseSuffix_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, databaseSuffix_); } @@ -1000,15 +1102,15 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(assertionSchema_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, assertionSchema_); } - for (java.util.Map.Entry entry - : internalGetVars().getMap().entrySet()) { - com.google.protobuf.MapEntry - vars__ = VarsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, vars__); + for (java.util.Map.Entry entry : + internalGetVars().getMap().entrySet()) { + com.google.protobuf.MapEntry vars__ = + VarsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, vars__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(databaseSuffix_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, databaseSuffix_); @@ -1030,29 +1132,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig)) { + if (!(obj + instanceof com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig other = (com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig) obj; - - if (!getDefaultDatabase() - .equals(other.getDefaultDatabase())) return false; - if (!getDefaultSchema() - .equals(other.getDefaultSchema())) return false; - if (!getDefaultLocation() - .equals(other.getDefaultLocation())) return false; - if (!getAssertionSchema() - .equals(other.getAssertionSchema())) return false; - if (!internalGetVars().equals( - other.internalGetVars())) return false; - if (!getDatabaseSuffix() - .equals(other.getDatabaseSuffix())) return false; - if (!getSchemaSuffix() - .equals(other.getSchemaSuffix())) return false; - if (!getTablePrefix() - .equals(other.getTablePrefix())) return false; + com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig other = + (com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig) obj; + + if (!getDefaultDatabase().equals(other.getDefaultDatabase())) return false; + if (!getDefaultSchema().equals(other.getDefaultSchema())) return false; + if (!getDefaultLocation().equals(other.getDefaultLocation())) return false; + if (!getAssertionSchema().equals(other.getAssertionSchema())) return false; + if (!internalGetVars().equals(other.internalGetVars())) return false; + if (!getDatabaseSuffix().equals(other.getDatabaseSuffix())) return false; + if (!getSchemaSuffix().equals(other.getSchemaSuffix())) return false; + if (!getTablePrefix().equals(other.getTablePrefix())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1087,88 +1183,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1178,66 +1287,70 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Configures various aspects of Dataform code compilation.
      * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig) com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResult_CodeCompilationConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CompilationResult_CodeCompilationConfig_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 4: return internalGetVars(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 4: return internalGetMutableVars(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResult_CodeCompilationConfig_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CompilationResult_CodeCompilationConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig.class, com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig.Builder.class); + com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig.class, + com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig.Builder + .class); } - // Construct using com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig.newBuilder() + // Construct using + // com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1260,19 +1373,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResult_CodeCompilationConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CompilationResult_CodeCompilationConfig_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig getDefaultInstanceForType() { - return com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig.getDefaultInstance(); + public com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig + getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig build() { - com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig result = buildPartial(); + com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1280,8 +1396,10 @@ public com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig } @java.lang.Override - public com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig buildPartial() { - com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig result = new com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig(this); + public com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig + buildPartial() { + com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig result = + new com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig(this); int from_bitField0_ = bitField0_; result.defaultDatabase_ = defaultDatabase_; result.defaultSchema_ = defaultSchema_; @@ -1300,46 +1418,54 @@ public com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig) { - return mergeFrom((com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig)other); + if (other + instanceof com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig) { + return mergeFrom( + (com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig other) { - if (other == com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig other) { + if (other + == com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig + .getDefaultInstance()) return this; if (!other.getDefaultDatabase().isEmpty()) { defaultDatabase_ = other.defaultDatabase_; onChanged(); @@ -1356,8 +1482,7 @@ public Builder mergeFrom(com.google.cloud.dataform.v1beta1.CompilationResult.Cod assertionSchema_ = other.assertionSchema_; onChanged(); } - internalGetMutableVars().mergeFrom( - other.internalGetVars()); + internalGetMutableVars().mergeFrom(other.internalGetVars()); if (!other.getDatabaseSuffix().isEmpty()) { databaseSuffix_ = other.databaseSuffix_; onChanged(); @@ -1385,11 +1510,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig parsedMessage = null; + com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1398,22 +1526,25 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object defaultDatabase_ = ""; /** + * + * *
        * Optional. The default database (Google Cloud project ID).
        * 
* * string default_database = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The defaultDatabase. */ public java.lang.String getDefaultDatabase() { java.lang.Object ref = defaultDatabase_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultDatabase_ = s; return s; @@ -1422,20 +1553,21 @@ public java.lang.String getDefaultDatabase() { } } /** + * + * *
        * Optional. The default database (Google Cloud project ID).
        * 
* * string default_database = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for defaultDatabase. */ - public com.google.protobuf.ByteString - getDefaultDatabaseBytes() { + public com.google.protobuf.ByteString getDefaultDatabaseBytes() { java.lang.Object ref = defaultDatabase_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); defaultDatabase_ = b; return b; } else { @@ -1443,54 +1575,61 @@ public java.lang.String getDefaultDatabase() { } } /** + * + * *
        * Optional. The default database (Google Cloud project ID).
        * 
* * string default_database = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The defaultDatabase to set. * @return This builder for chaining. */ - public Builder setDefaultDatabase( - java.lang.String value) { + public Builder setDefaultDatabase(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + defaultDatabase_ = value; onChanged(); return this; } /** + * + * *
        * Optional. The default database (Google Cloud project ID).
        * 
* * string default_database = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDefaultDatabase() { - + defaultDatabase_ = getDefaultInstance().getDefaultDatabase(); onChanged(); return this; } /** + * + * *
        * Optional. The default database (Google Cloud project ID).
        * 
* * string default_database = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for defaultDatabase to set. * @return This builder for chaining. */ - public Builder setDefaultDatabaseBytes( - com.google.protobuf.ByteString value) { + public Builder setDefaultDatabaseBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + defaultDatabase_ = value; onChanged(); return this; @@ -1498,18 +1637,20 @@ public Builder setDefaultDatabaseBytes( private java.lang.Object defaultSchema_ = ""; /** + * + * *
        * Optional. The default schema (BigQuery dataset ID).
        * 
* * string default_schema = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The defaultSchema. */ public java.lang.String getDefaultSchema() { java.lang.Object ref = defaultSchema_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultSchema_ = s; return s; @@ -1518,20 +1659,21 @@ public java.lang.String getDefaultSchema() { } } /** + * + * *
        * Optional. The default schema (BigQuery dataset ID).
        * 
* * string default_schema = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for defaultSchema. */ - public com.google.protobuf.ByteString - getDefaultSchemaBytes() { + public com.google.protobuf.ByteString getDefaultSchemaBytes() { java.lang.Object ref = defaultSchema_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); defaultSchema_ = b; return b; } else { @@ -1539,54 +1681,61 @@ public java.lang.String getDefaultSchema() { } } /** + * + * *
        * Optional. The default schema (BigQuery dataset ID).
        * 
* * string default_schema = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The defaultSchema to set. * @return This builder for chaining. */ - public Builder setDefaultSchema( - java.lang.String value) { + public Builder setDefaultSchema(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + defaultSchema_ = value; onChanged(); return this; } /** + * + * *
        * Optional. The default schema (BigQuery dataset ID).
        * 
* * string default_schema = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDefaultSchema() { - + defaultSchema_ = getDefaultInstance().getDefaultSchema(); onChanged(); return this; } /** + * + * *
        * Optional. The default schema (BigQuery dataset ID).
        * 
* * string default_schema = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for defaultSchema to set. * @return This builder for chaining. */ - public Builder setDefaultSchemaBytes( - com.google.protobuf.ByteString value) { + public Builder setDefaultSchemaBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + defaultSchema_ = value; onChanged(); return this; @@ -1594,6 +1743,8 @@ public Builder setDefaultSchemaBytes( private java.lang.Object defaultLocation_ = ""; /** + * + * *
        * Optional. The default BigQuery location to use. Defaults to "US".
        * See the BigQuery docs for a full list of locations:
@@ -1601,13 +1752,13 @@ public Builder setDefaultSchemaBytes(
        * 
* * string default_location = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The defaultLocation. */ public java.lang.String getDefaultLocation() { java.lang.Object ref = defaultLocation_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultLocation_ = s; return s; @@ -1616,6 +1767,8 @@ public java.lang.String getDefaultLocation() { } } /** + * + * *
        * Optional. The default BigQuery location to use. Defaults to "US".
        * See the BigQuery docs for a full list of locations:
@@ -1623,15 +1776,14 @@ public java.lang.String getDefaultLocation() {
        * 
* * string default_location = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for defaultLocation. */ - public com.google.protobuf.ByteString - getDefaultLocationBytes() { + public com.google.protobuf.ByteString getDefaultLocationBytes() { java.lang.Object ref = defaultLocation_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); defaultLocation_ = b; return b; } else { @@ -1639,6 +1791,8 @@ public java.lang.String getDefaultLocation() { } } /** + * + * *
        * Optional. The default BigQuery location to use. Defaults to "US".
        * See the BigQuery docs for a full list of locations:
@@ -1646,20 +1800,22 @@ public java.lang.String getDefaultLocation() {
        * 
* * string default_location = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The defaultLocation to set. * @return This builder for chaining. */ - public Builder setDefaultLocation( - java.lang.String value) { + public Builder setDefaultLocation(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + defaultLocation_ = value; onChanged(); return this; } /** + * + * *
        * Optional. The default BigQuery location to use. Defaults to "US".
        * See the BigQuery docs for a full list of locations:
@@ -1667,15 +1823,18 @@ public Builder setDefaultLocation(
        * 
* * string default_location = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDefaultLocation() { - + defaultLocation_ = getDefaultInstance().getDefaultLocation(); onChanged(); return this; } /** + * + * *
        * Optional. The default BigQuery location to use. Defaults to "US".
        * See the BigQuery docs for a full list of locations:
@@ -1683,16 +1842,16 @@ public Builder clearDefaultLocation() {
        * 
* * string default_location = 8 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for defaultLocation to set. * @return This builder for chaining. */ - public Builder setDefaultLocationBytes( - com.google.protobuf.ByteString value) { + public Builder setDefaultLocationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + defaultLocation_ = value; onChanged(); return this; @@ -1700,18 +1859,20 @@ public Builder setDefaultLocationBytes( private java.lang.Object assertionSchema_ = ""; /** + * + * *
        * Optional. The default schema (BigQuery dataset ID) for assertions.
        * 
* * string assertion_schema = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The assertionSchema. */ public java.lang.String getAssertionSchema() { java.lang.Object ref = assertionSchema_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); assertionSchema_ = s; return s; @@ -1720,20 +1881,21 @@ public java.lang.String getAssertionSchema() { } } /** + * + * *
        * Optional. The default schema (BigQuery dataset ID) for assertions.
        * 
* * string assertion_schema = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for assertionSchema. */ - public com.google.protobuf.ByteString - getAssertionSchemaBytes() { + public com.google.protobuf.ByteString getAssertionSchemaBytes() { java.lang.Object ref = assertionSchema_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); assertionSchema_ = b; return b; } else { @@ -1741,75 +1903,81 @@ public java.lang.String getAssertionSchema() { } } /** + * + * *
        * Optional. The default schema (BigQuery dataset ID) for assertions.
        * 
* * string assertion_schema = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The assertionSchema to set. * @return This builder for chaining. */ - public Builder setAssertionSchema( - java.lang.String value) { + public Builder setAssertionSchema(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + assertionSchema_ = value; onChanged(); return this; } /** + * + * *
        * Optional. The default schema (BigQuery dataset ID) for assertions.
        * 
* * string assertion_schema = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearAssertionSchema() { - + assertionSchema_ = getDefaultInstance().getAssertionSchema(); onChanged(); return this; } /** + * + * *
        * Optional. The default schema (BigQuery dataset ID) for assertions.
        * 
* * string assertion_schema = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for assertionSchema to set. * @return This builder for chaining. */ - public Builder setAssertionSchemaBytes( - com.google.protobuf.ByteString value) { + public Builder setAssertionSchemaBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + assertionSchema_ = value; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> vars_; - private com.google.protobuf.MapField - internalGetVars() { + private com.google.protobuf.MapField vars_; + + private com.google.protobuf.MapField internalGetVars() { if (vars_ == null) { - return com.google.protobuf.MapField.emptyMapField( - VarsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(VarsDefaultEntryHolder.defaultEntry); } return vars_; } + private com.google.protobuf.MapField - internalGetMutableVars() { - onChanged();; + internalGetMutableVars() { + onChanged(); + ; if (vars_ == null) { - vars_ = com.google.protobuf.MapField.newMapField( - VarsDefaultEntryHolder.defaultEntry); + vars_ = com.google.protobuf.MapField.newMapField(VarsDefaultEntryHolder.defaultEntry); } if (!vars_.isMutable()) { vars_ = vars_.copy(); @@ -1821,6 +1989,8 @@ public int getVarsCount() { return internalGetVars().getMap().size(); } /** + * + * *
        * Optional. User-defined variables that are made available to project code during
        * compilation.
@@ -1828,22 +1998,22 @@ public int getVarsCount() {
        *
        * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];
        */
-
       @java.lang.Override
-      public boolean containsVars(
-          java.lang.String key) {
-        if (key == null) { throw new NullPointerException("map key"); }
+      public boolean containsVars(java.lang.String key) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
         return internalGetVars().getMap().containsKey(key);
       }
-      /**
-       * Use {@link #getVarsMap()} instead.
-       */
+      /** Use {@link #getVarsMap()} instead. */
       @java.lang.Override
       @java.lang.Deprecated
       public java.util.Map getVars() {
         return getVarsMap();
       }
       /**
+       *
+       *
        * 
        * Optional. User-defined variables that are made available to project code during
        * compilation.
@@ -1852,11 +2022,12 @@ public java.util.Map getVars() {
        * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];
        */
       @java.lang.Override
-
       public java.util.Map getVarsMap() {
         return internalGetVars().getMap();
       }
       /**
+       *
+       *
        * 
        * Optional. User-defined variables that are made available to project code during
        * compilation.
@@ -1865,16 +2036,17 @@ public java.util.Map getVarsMap() {
        * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];
        */
       @java.lang.Override
-
       public java.lang.String getVarsOrDefault(
-          java.lang.String key,
-          java.lang.String defaultValue) {
-        if (key == null) { throw new NullPointerException("map key"); }
-        java.util.Map map =
-            internalGetVars().getMap();
+          java.lang.String key, java.lang.String defaultValue) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
+        java.util.Map map = internalGetVars().getMap();
         return map.containsKey(key) ? map.get(key) : defaultValue;
       }
       /**
+       *
+       *
        * 
        * Optional. User-defined variables that are made available to project code during
        * compilation.
@@ -1883,12 +2055,11 @@ public java.lang.String getVarsOrDefault(
        * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];
        */
       @java.lang.Override
-
-      public java.lang.String getVarsOrThrow(
-          java.lang.String key) {
-        if (key == null) { throw new NullPointerException("map key"); }
-        java.util.Map map =
-            internalGetVars().getMap();
+      public java.lang.String getVarsOrThrow(java.lang.String key) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
+        java.util.Map map = internalGetVars().getMap();
         if (!map.containsKey(key)) {
           throw new java.lang.IllegalArgumentException();
         }
@@ -1896,11 +2067,12 @@ public java.lang.String getVarsOrThrow(
       }
 
       public Builder clearVars() {
-        internalGetMutableVars().getMutableMap()
-            .clear();
+        internalGetMutableVars().getMutableMap().clear();
         return this;
       }
       /**
+       *
+       *
        * 
        * Optional. User-defined variables that are made available to project code during
        * compilation.
@@ -1908,23 +2080,21 @@ public Builder clearVars() {
        *
        * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];
        */
-
-      public Builder removeVars(
-          java.lang.String key) {
-        if (key == null) { throw new NullPointerException("map key"); }
-        internalGetMutableVars().getMutableMap()
-            .remove(key);
+      public Builder removeVars(java.lang.String key) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
+        internalGetMutableVars().getMutableMap().remove(key);
         return this;
       }
-      /**
-       * Use alternate mutation accessors instead.
-       */
+      /** Use alternate mutation accessors instead. */
       @java.lang.Deprecated
-      public java.util.Map
-      getMutableVars() {
+      public java.util.Map getMutableVars() {
         return internalGetMutableVars().getMutableMap();
       }
       /**
+       *
+       *
        * 
        * Optional. User-defined variables that are made available to project code during
        * compilation.
@@ -1932,19 +2102,20 @@ public Builder removeVars(
        *
        * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];
        */
-      public Builder putVars(
-          java.lang.String key,
-          java.lang.String value) {
-        if (key == null) { throw new NullPointerException("map key"); }
+      public Builder putVars(java.lang.String key, java.lang.String value) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
         if (value == null) {
-  throw new NullPointerException("map value");
-}
+          throw new NullPointerException("map value");
+        }
 
-        internalGetMutableVars().getMutableMap()
-            .put(key, value);
+        internalGetMutableVars().getMutableMap().put(key, value);
         return this;
       }
       /**
+       *
+       *
        * 
        * Optional. User-defined variables that are made available to project code during
        * compilation.
@@ -1952,29 +2123,28 @@ public Builder putVars(
        *
        * map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];
        */
-
-      public Builder putAllVars(
-          java.util.Map values) {
-        internalGetMutableVars().getMutableMap()
-            .putAll(values);
+      public Builder putAllVars(java.util.Map values) {
+        internalGetMutableVars().getMutableMap().putAll(values);
         return this;
       }
 
       private java.lang.Object databaseSuffix_ = "";
       /**
+       *
+       *
        * 
        * Optional. The suffix that should be appended to all database (Google Cloud project
        * ID) names.
        * 
* * string database_suffix = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The databaseSuffix. */ public java.lang.String getDatabaseSuffix() { java.lang.Object ref = databaseSuffix_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseSuffix_ = s; return s; @@ -1983,21 +2153,22 @@ public java.lang.String getDatabaseSuffix() { } } /** + * + * *
        * Optional. The suffix that should be appended to all database (Google Cloud project
        * ID) names.
        * 
* * string database_suffix = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for databaseSuffix. */ - public com.google.protobuf.ByteString - getDatabaseSuffixBytes() { + public com.google.protobuf.ByteString getDatabaseSuffixBytes() { java.lang.Object ref = databaseSuffix_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); databaseSuffix_ = b; return b; } else { @@ -2005,57 +2176,64 @@ public java.lang.String getDatabaseSuffix() { } } /** + * + * *
        * Optional. The suffix that should be appended to all database (Google Cloud project
        * ID) names.
        * 
* * string database_suffix = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The databaseSuffix to set. * @return This builder for chaining. */ - public Builder setDatabaseSuffix( - java.lang.String value) { + public Builder setDatabaseSuffix(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + databaseSuffix_ = value; onChanged(); return this; } /** + * + * *
        * Optional. The suffix that should be appended to all database (Google Cloud project
        * ID) names.
        * 
* * string database_suffix = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearDatabaseSuffix() { - + databaseSuffix_ = getDefaultInstance().getDatabaseSuffix(); onChanged(); return this; } /** + * + * *
        * Optional. The suffix that should be appended to all database (Google Cloud project
        * ID) names.
        * 
* * string database_suffix = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for databaseSuffix to set. * @return This builder for chaining. */ - public Builder setDatabaseSuffixBytes( - com.google.protobuf.ByteString value) { + public Builder setDatabaseSuffixBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + databaseSuffix_ = value; onChanged(); return this; @@ -2063,19 +2241,21 @@ public Builder setDatabaseSuffixBytes( private java.lang.Object schemaSuffix_ = ""; /** + * + * *
        * Optional. The suffix that should be appended to all schema (BigQuery dataset ID)
        * names.
        * 
* * string schema_suffix = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The schemaSuffix. */ public java.lang.String getSchemaSuffix() { java.lang.Object ref = schemaSuffix_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schemaSuffix_ = s; return s; @@ -2084,21 +2264,22 @@ public java.lang.String getSchemaSuffix() { } } /** + * + * *
        * Optional. The suffix that should be appended to all schema (BigQuery dataset ID)
        * names.
        * 
* * string schema_suffix = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for schemaSuffix. */ - public com.google.protobuf.ByteString - getSchemaSuffixBytes() { + public com.google.protobuf.ByteString getSchemaSuffixBytes() { java.lang.Object ref = schemaSuffix_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); schemaSuffix_ = b; return b; } else { @@ -2106,57 +2287,64 @@ public java.lang.String getSchemaSuffix() { } } /** + * + * *
        * Optional. The suffix that should be appended to all schema (BigQuery dataset ID)
        * names.
        * 
* * string schema_suffix = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The schemaSuffix to set. * @return This builder for chaining. */ - public Builder setSchemaSuffix( - java.lang.String value) { + public Builder setSchemaSuffix(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + schemaSuffix_ = value; onChanged(); return this; } /** + * + * *
        * Optional. The suffix that should be appended to all schema (BigQuery dataset ID)
        * names.
        * 
* * string schema_suffix = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearSchemaSuffix() { - + schemaSuffix_ = getDefaultInstance().getSchemaSuffix(); onChanged(); return this; } /** + * + * *
        * Optional. The suffix that should be appended to all schema (BigQuery dataset ID)
        * names.
        * 
* * string schema_suffix = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for schemaSuffix to set. * @return This builder for chaining. */ - public Builder setSchemaSuffixBytes( - com.google.protobuf.ByteString value) { + public Builder setSchemaSuffixBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + schemaSuffix_ = value; onChanged(); return this; @@ -2164,18 +2352,20 @@ public Builder setSchemaSuffixBytes( private java.lang.Object tablePrefix_ = ""; /** + * + * *
        * Optional. The prefix that should be prepended to all table names.
        * 
* * string table_prefix = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The tablePrefix. */ public java.lang.String getTablePrefix() { java.lang.Object ref = tablePrefix_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tablePrefix_ = s; return s; @@ -2184,20 +2374,21 @@ public java.lang.String getTablePrefix() { } } /** + * + * *
        * Optional. The prefix that should be prepended to all table names.
        * 
* * string table_prefix = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for tablePrefix. */ - public com.google.protobuf.ByteString - getTablePrefixBytes() { + public com.google.protobuf.ByteString getTablePrefixBytes() { java.lang.Object ref = tablePrefix_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tablePrefix_ = b; return b; } else { @@ -2205,58 +2396,66 @@ public java.lang.String getTablePrefix() { } } /** + * + * *
        * Optional. The prefix that should be prepended to all table names.
        * 
* * string table_prefix = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The tablePrefix to set. * @return This builder for chaining. */ - public Builder setTablePrefix( - java.lang.String value) { + public Builder setTablePrefix(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tablePrefix_ = value; onChanged(); return this; } /** + * + * *
        * Optional. The prefix that should be prepended to all table names.
        * 
* * string table_prefix = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearTablePrefix() { - + tablePrefix_ = getDefaultInstance().getTablePrefix(); onChanged(); return this; } /** + * + * *
        * Optional. The prefix that should be prepended to all table names.
        * 
* * string table_prefix = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for tablePrefix to set. * @return This builder for chaining. */ - public Builder setTablePrefixBytes( - com.google.protobuf.ByteString value) { + public Builder setTablePrefixBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tablePrefix_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2269,30 +2468,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig) - private static final com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig(); + DEFAULT_INSTANCE = + new com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig(); } - public static com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig getDefaultInstance() { + public static com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CodeCompilationConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CodeCompilationConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CodeCompilationConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CodeCompilationConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2304,121 +2506,154 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig getDefaultInstanceForType() { + public com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface CompilationErrorOrBuilder extends + public interface CompilationErrorOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.CompilationResult.CompilationError) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Output only. The error's top level message.
      * 
* * string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The message. */ java.lang.String getMessage(); /** + * + * *
      * Output only. The error's top level message.
      * 
* * string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for message. */ - com.google.protobuf.ByteString - getMessageBytes(); + com.google.protobuf.ByteString getMessageBytes(); /** + * + * *
      * Output only. The error's full stack trace.
      * 
* * string stack = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The stack. */ java.lang.String getStack(); /** + * + * *
      * Output only. The error's full stack trace.
      * 
* * string stack = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for stack. */ - com.google.protobuf.ByteString - getStackBytes(); + com.google.protobuf.ByteString getStackBytes(); /** + * + * *
      * Output only. The path of the file where this error occurred, if available, relative to
      * the project root.
      * 
* * string path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The path. */ java.lang.String getPath(); /** + * + * *
      * Output only. The path of the file where this error occurred, if available, relative to
      * the project root.
      * 
* * string path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for path. */ - com.google.protobuf.ByteString - getPathBytes(); + com.google.protobuf.ByteString getPathBytes(); /** + * + * *
      * Output only. The identifier of the action where this error occurred, if available.
      * 
* - * .google.cloud.dataform.v1beta1.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the actionTarget field is set. */ boolean hasActionTarget(); /** + * + * *
      * Output only. The identifier of the action where this error occurred, if available.
      * 
* - * .google.cloud.dataform.v1beta1.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The actionTarget. */ com.google.cloud.dataform.v1beta1.Target getActionTarget(); /** + * + * *
      * Output only. The identifier of the action where this error occurred, if available.
      * 
* - * .google.cloud.dataform.v1beta1.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.dataform.v1beta1.TargetOrBuilder getActionTargetOrBuilder(); } /** + * + * *
    * An error encountered when attempting to compile a Dataform project.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.CompilationResult.CompilationError} */ - public static final class CompilationError extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CompilationError extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.CompilationResult.CompilationError) CompilationErrorOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CompilationError.newBuilder() to construct. private CompilationError(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CompilationError() { message_ = ""; stack_ = ""; @@ -2427,16 +2662,15 @@ private CompilationError() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CompilationError(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CompilationError( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2455,44 +2689,50 @@ private CompilationError( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - message_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + message_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - stack_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + stack_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - path_ = s; - break; - } - case 34: { - com.google.cloud.dataform.v1beta1.Target.Builder subBuilder = null; - if (actionTarget_ != null) { - subBuilder = actionTarget_.toBuilder(); + path_ = s; + break; } - actionTarget_ = input.readMessage(com.google.cloud.dataform.v1beta1.Target.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(actionTarget_); - actionTarget_ = subBuilder.buildPartial(); + case 34: + { + com.google.cloud.dataform.v1beta1.Target.Builder subBuilder = null; + if (actionTarget_ != null) { + subBuilder = actionTarget_.toBuilder(); + } + actionTarget_ = + input.readMessage( + com.google.cloud.dataform.v1beta1.Target.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(actionTarget_); + actionTarget_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2500,34 +2740,39 @@ private CompilationError( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResult_CompilationError_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CompilationResult_CompilationError_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResult_CompilationError_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CompilationResult_CompilationError_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.class, com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.Builder.class); + com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.class, + com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.Builder.class); } public static final int MESSAGE_FIELD_NUMBER = 1; private volatile java.lang.Object message_; /** + * + * *
      * Output only. The error's top level message.
      * 
* * string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The message. */ @java.lang.Override @@ -2536,29 +2781,29 @@ public java.lang.String getMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** + * + * *
      * Output only. The error's top level message.
      * 
* * string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for message. */ @java.lang.Override - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { @@ -2569,11 +2814,14 @@ public java.lang.String getMessage() { public static final int STACK_FIELD_NUMBER = 2; private volatile java.lang.Object stack_; /** + * + * *
      * Output only. The error's full stack trace.
      * 
* * string stack = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The stack. */ @java.lang.Override @@ -2582,29 +2830,29 @@ public java.lang.String getStack() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stack_ = s; return s; } } /** + * + * *
      * Output only. The error's full stack trace.
      * 
* * string stack = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for stack. */ @java.lang.Override - public com.google.protobuf.ByteString - getStackBytes() { + public com.google.protobuf.ByteString getStackBytes() { java.lang.Object ref = stack_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); stack_ = b; return b; } else { @@ -2615,12 +2863,15 @@ public java.lang.String getStack() { public static final int PATH_FIELD_NUMBER = 3; private volatile java.lang.Object path_; /** + * + * *
      * Output only. The path of the file where this error occurred, if available, relative to
      * the project root.
      * 
* * string path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The path. */ @java.lang.Override @@ -2629,30 +2880,30 @@ public java.lang.String getPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } } /** + * + * *
      * Output only. The path of the file where this error occurred, if available, relative to
      * the project root.
      * 
* * string path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for path. */ @java.lang.Override - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); path_ = b; return b; } else { @@ -2663,11 +2914,16 @@ public java.lang.String getPath() { public static final int ACTION_TARGET_FIELD_NUMBER = 4; private com.google.cloud.dataform.v1beta1.Target actionTarget_; /** + * + * *
      * Output only. The identifier of the action where this error occurred, if available.
      * 
* - * .google.cloud.dataform.v1beta1.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the actionTarget field is set. */ @java.lang.Override @@ -2675,23 +2931,34 @@ public boolean hasActionTarget() { return actionTarget_ != null; } /** + * + * *
      * Output only. The identifier of the action where this error occurred, if available.
      * 
* - * .google.cloud.dataform.v1beta1.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The actionTarget. */ @java.lang.Override public com.google.cloud.dataform.v1beta1.Target getActionTarget() { - return actionTarget_ == null ? com.google.cloud.dataform.v1beta1.Target.getDefaultInstance() : actionTarget_; + return actionTarget_ == null + ? com.google.cloud.dataform.v1beta1.Target.getDefaultInstance() + : actionTarget_; } /** + * + * *
      * Output only. The identifier of the action where this error occurred, if available.
      * 
* - * .google.cloud.dataform.v1beta1.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.dataform.v1beta1.TargetOrBuilder getActionTargetOrBuilder() { @@ -2699,6 +2966,7 @@ public com.google.cloud.dataform.v1beta1.TargetOrBuilder getActionTargetOrBuilde } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2710,8 +2978,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, message_); } @@ -2743,8 +3010,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, path_); } if (actionTarget_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getActionTarget()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getActionTarget()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2754,23 +3020,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError other = (com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError) obj; + com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError other = + (com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError) obj; - if (!getMessage() - .equals(other.getMessage())) return false; - if (!getStack() - .equals(other.getStack())) return false; - if (!getPath() - .equals(other.getPath())) return false; + if (!getMessage().equals(other.getMessage())) return false; + if (!getStack().equals(other.getStack())) return false; + if (!getPath().equals(other.getPath())) return false; if (hasActionTarget() != other.hasActionTarget()) return false; if (hasActionTarget()) { - if (!getActionTarget() - .equals(other.getActionTarget())) return false; + if (!getActionTarget().equals(other.getActionTarget())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -2799,87 +3062,95 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2889,44 +3160,49 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * An error encountered when attempting to compile a Dataform project.
      * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.CompilationResult.CompilationError} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.CompilationResult.CompilationError) com.google.cloud.dataform.v1beta1.CompilationResult.CompilationErrorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResult_CompilationError_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CompilationResult_CompilationError_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResult_CompilationError_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CompilationResult_CompilationError_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.class, com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.Builder.class); + com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.class, + com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.Builder.class); } - // Construct using com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.newBuilder() + // Construct using + // com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -2946,19 +3222,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResult_CompilationError_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CompilationResult_CompilationError_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError getDefaultInstanceForType() { - return com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.getDefaultInstance(); + public com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError + getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError build() { - com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError result = buildPartial(); + com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -2967,7 +3246,8 @@ public com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError buil @java.lang.Override public com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError buildPartial() { - com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError result = new com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError(this); + com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError result = + new com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError(this); result.message_ = message_; result.stack_ = stack_; result.path_ = path_; @@ -2984,46 +3264,53 @@ public com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError buil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError) { - return mergeFrom((com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError)other); + return mergeFrom( + (com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError other) { - if (other == com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError other) { + if (other + == com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError + .getDefaultInstance()) return this; if (!other.getMessage().isEmpty()) { message_ = other.message_; onChanged(); @@ -3058,7 +3345,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3070,18 +3359,20 @@ public Builder mergeFrom( private java.lang.Object message_ = ""; /** + * + * *
        * Output only. The error's top level message.
        * 
* * string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; @@ -3090,20 +3381,21 @@ public java.lang.String getMessage() { } } /** + * + * *
        * Output only. The error's top level message.
        * 
* * string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for message. */ - public com.google.protobuf.ByteString - getMessageBytes() { + public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); message_ = b; return b; } else { @@ -3111,54 +3403,61 @@ public java.lang.String getMessage() { } } /** + * + * *
        * Output only. The error's top level message.
        * 
* * string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The message to set. * @return This builder for chaining. */ - public Builder setMessage( - java.lang.String value) { + public Builder setMessage(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + message_ = value; onChanged(); return this; } /** + * + * *
        * Output only. The error's top level message.
        * 
* * string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearMessage() { - + message_ = getDefaultInstance().getMessage(); onChanged(); return this; } /** + * + * *
        * Output only. The error's top level message.
        * 
* * string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for message to set. * @return This builder for chaining. */ - public Builder setMessageBytes( - com.google.protobuf.ByteString value) { + public Builder setMessageBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + message_ = value; onChanged(); return this; @@ -3166,18 +3465,20 @@ public Builder setMessageBytes( private java.lang.Object stack_ = ""; /** + * + * *
        * Output only. The error's full stack trace.
        * 
* * string stack = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The stack. */ public java.lang.String getStack() { java.lang.Object ref = stack_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stack_ = s; return s; @@ -3186,20 +3487,21 @@ public java.lang.String getStack() { } } /** + * + * *
        * Output only. The error's full stack trace.
        * 
* * string stack = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for stack. */ - public com.google.protobuf.ByteString - getStackBytes() { + public com.google.protobuf.ByteString getStackBytes() { java.lang.Object ref = stack_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); stack_ = b; return b; } else { @@ -3207,54 +3509,61 @@ public java.lang.String getStack() { } } /** + * + * *
        * Output only. The error's full stack trace.
        * 
* * string stack = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The stack to set. * @return This builder for chaining. */ - public Builder setStack( - java.lang.String value) { + public Builder setStack(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + stack_ = value; onChanged(); return this; } /** + * + * *
        * Output only. The error's full stack trace.
        * 
* * string stack = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearStack() { - + stack_ = getDefaultInstance().getStack(); onChanged(); return this; } /** + * + * *
        * Output only. The error's full stack trace.
        * 
* * string stack = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for stack to set. * @return This builder for chaining. */ - public Builder setStackBytes( - com.google.protobuf.ByteString value) { + public Builder setStackBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + stack_ = value; onChanged(); return this; @@ -3262,19 +3571,21 @@ public Builder setStackBytes( private java.lang.Object path_ = ""; /** + * + * *
        * Output only. The path of the file where this error occurred, if available, relative to
        * the project root.
        * 
* * string path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; @@ -3283,21 +3594,22 @@ public java.lang.String getPath() { } } /** + * + * *
        * Output only. The path of the file where this error occurred, if available, relative to
        * the project root.
        * 
* * string path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for path. */ - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); path_ = b; return b; } else { @@ -3305,57 +3617,64 @@ public java.lang.String getPath() { } } /** + * + * *
        * Output only. The path of the file where this error occurred, if available, relative to
        * the project root.
        * 
* * string path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath( - java.lang.String value) { + public Builder setPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + path_ = value; onChanged(); return this; } /** + * + * *
        * Output only. The path of the file where this error occurred, if available, relative to
        * the project root.
        * 
* * string path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearPath() { - + path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** + * + * *
        * Output only. The path of the file where this error occurred, if available, relative to
        * the project root.
        * 
* * string path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes( - com.google.protobuf.ByteString value) { + public Builder setPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; onChanged(); return this; @@ -3363,39 +3682,58 @@ public Builder setPathBytes( private com.google.cloud.dataform.v1beta1.Target actionTarget_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder> actionTargetBuilder_; + com.google.cloud.dataform.v1beta1.Target, + com.google.cloud.dataform.v1beta1.Target.Builder, + com.google.cloud.dataform.v1beta1.TargetOrBuilder> + actionTargetBuilder_; /** + * + * *
        * Output only. The identifier of the action where this error occurred, if available.
        * 
* - * .google.cloud.dataform.v1beta1.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the actionTarget field is set. */ public boolean hasActionTarget() { return actionTargetBuilder_ != null || actionTarget_ != null; } /** + * + * *
        * Output only. The identifier of the action where this error occurred, if available.
        * 
* - * .google.cloud.dataform.v1beta1.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The actionTarget. */ public com.google.cloud.dataform.v1beta1.Target getActionTarget() { if (actionTargetBuilder_ == null) { - return actionTarget_ == null ? com.google.cloud.dataform.v1beta1.Target.getDefaultInstance() : actionTarget_; + return actionTarget_ == null + ? com.google.cloud.dataform.v1beta1.Target.getDefaultInstance() + : actionTarget_; } else { return actionTargetBuilder_.getMessage(); } } /** + * + * *
        * Output only. The identifier of the action where this error occurred, if available.
        * 
* - * .google.cloud.dataform.v1beta1.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setActionTarget(com.google.cloud.dataform.v1beta1.Target value) { if (actionTargetBuilder_ == null) { @@ -3411,11 +3749,15 @@ public Builder setActionTarget(com.google.cloud.dataform.v1beta1.Target value) { return this; } /** + * + * *
        * Output only. The identifier of the action where this error occurred, if available.
        * 
* - * .google.cloud.dataform.v1beta1.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setActionTarget( com.google.cloud.dataform.v1beta1.Target.Builder builderForValue) { @@ -3429,17 +3771,23 @@ public Builder setActionTarget( return this; } /** + * + * *
        * Output only. The identifier of the action where this error occurred, if available.
        * 
* - * .google.cloud.dataform.v1beta1.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeActionTarget(com.google.cloud.dataform.v1beta1.Target value) { if (actionTargetBuilder_ == null) { if (actionTarget_ != null) { actionTarget_ = - com.google.cloud.dataform.v1beta1.Target.newBuilder(actionTarget_).mergeFrom(value).buildPartial(); + com.google.cloud.dataform.v1beta1.Target.newBuilder(actionTarget_) + .mergeFrom(value) + .buildPartial(); } else { actionTarget_ = value; } @@ -3451,11 +3799,15 @@ public Builder mergeActionTarget(com.google.cloud.dataform.v1beta1.Target value) return this; } /** + * + * *
        * Output only. The identifier of the action where this error occurred, if available.
        * 
* - * .google.cloud.dataform.v1beta1.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearActionTarget() { if (actionTargetBuilder_ == null) { @@ -3469,52 +3821,69 @@ public Builder clearActionTarget() { return this; } /** + * + * *
        * Output only. The identifier of the action where this error occurred, if available.
        * 
* - * .google.cloud.dataform.v1beta1.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.dataform.v1beta1.Target.Builder getActionTargetBuilder() { - + onChanged(); return getActionTargetFieldBuilder().getBuilder(); } /** + * + * *
        * Output only. The identifier of the action where this error occurred, if available.
        * 
* - * .google.cloud.dataform.v1beta1.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.dataform.v1beta1.TargetOrBuilder getActionTargetOrBuilder() { if (actionTargetBuilder_ != null) { return actionTargetBuilder_.getMessageOrBuilder(); } else { - return actionTarget_ == null ? - com.google.cloud.dataform.v1beta1.Target.getDefaultInstance() : actionTarget_; + return actionTarget_ == null + ? com.google.cloud.dataform.v1beta1.Target.getDefaultInstance() + : actionTarget_; } } /** + * + * *
        * Output only. The identifier of the action where this error occurred, if available.
        * 
* - * .google.cloud.dataform.v1beta1.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder> + com.google.cloud.dataform.v1beta1.Target, + com.google.cloud.dataform.v1beta1.Target.Builder, + com.google.cloud.dataform.v1beta1.TargetOrBuilder> getActionTargetFieldBuilder() { if (actionTargetBuilder_ == null) { - actionTargetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder>( - getActionTarget(), - getParentForChildren(), - isClean()); + actionTargetBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Target, + com.google.cloud.dataform.v1beta1.Target.Builder, + com.google.cloud.dataform.v1beta1.TargetOrBuilder>( + getActionTarget(), getParentForChildren(), isClean()); actionTarget_ = null; } return actionTargetBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3527,30 +3896,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.CompilationResult.CompilationError) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.CompilationResult.CompilationError) - private static final com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError(); } - public static com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError getDefaultInstance() { + public static com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompilationError parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CompilationError(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompilationError parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CompilationError(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3562,21 +3933,24 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError getDefaultInstanceForType() { + public com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int sourceCase_ = 0; private java.lang.Object source_; + public enum SourceCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GIT_COMMITISH(2), WORKSPACE(3), SOURCE_NOT_SET(0); private final int value; + private SourceCase(int value) { this.value = value; } @@ -3592,31 +3966,37 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 2: return GIT_COMMITISH; - case 3: return WORKSPACE; - case 0: return SOURCE_NOT_SET; - default: return null; + case 2: + return GIT_COMMITISH; + case 3: + return WORKSPACE; + case 0: + return SOURCE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public SourceCase - getSourceCase() { - return SourceCase.forNumber( - sourceCase_); + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Output only. The compilation result's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -3625,29 +4005,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. The compilation result's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -3657,6 +4037,8 @@ public java.lang.String getName() { public static final int GIT_COMMITISH_FIELD_NUMBER = 2; /** + * + * *
    * Immutable. Git commit/tag/branch name at which the repository should be compiled.
    * Must exist in the remote repository.
@@ -3667,12 +4049,15 @@ public java.lang.String getName() {
    * 
* * string git_commitish = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return Whether the gitCommitish field is set. */ public boolean hasGitCommitish() { return sourceCase_ == 2; } /** + * + * *
    * Immutable. Git commit/tag/branch name at which the repository should be compiled.
    * Must exist in the remote repository.
@@ -3683,6 +4068,7 @@ public boolean hasGitCommitish() {
    * 
* * string git_commitish = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The gitCommitish. */ public java.lang.String getGitCommitish() { @@ -3693,8 +4079,7 @@ public java.lang.String getGitCommitish() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (sourceCase_ == 2) { source_ = s; @@ -3703,6 +4088,8 @@ public java.lang.String getGitCommitish() { } } /** + * + * *
    * Immutable. Git commit/tag/branch name at which the repository should be compiled.
    * Must exist in the remote repository.
@@ -3713,18 +4100,17 @@ public java.lang.String getGitCommitish() {
    * 
* * string git_commitish = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for gitCommitish. */ - public com.google.protobuf.ByteString - getGitCommitishBytes() { + public com.google.protobuf.ByteString getGitCommitishBytes() { java.lang.Object ref = ""; if (sourceCase_ == 2) { ref = source_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (sourceCase_ == 2) { source_ = b; } @@ -3736,24 +4122,34 @@ public java.lang.String getGitCommitish() { public static final int WORKSPACE_FIELD_NUMBER = 3; /** + * + * *
    * Immutable. The name of the workspace to compile. Must be in the format
    * `projects/*/locations/*/repositories/*/workspaces/*`.
    * 
* - * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return Whether the workspace field is set. */ public boolean hasWorkspace() { return sourceCase_ == 3; } /** + * + * *
    * Immutable. The name of the workspace to compile. Must be in the format
    * `projects/*/locations/*/repositories/*/workspaces/*`.
    * 
* - * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ public java.lang.String getWorkspace() { @@ -3764,8 +4160,7 @@ public java.lang.String getWorkspace() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (sourceCase_ == 3) { source_ = s; @@ -3774,24 +4169,27 @@ public java.lang.String getWorkspace() { } } /** + * + * *
    * Immutable. The name of the workspace to compile. Must be in the format
    * `projects/*/locations/*/repositories/*/workspaces/*`.
    * 
* - * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ - public com.google.protobuf.ByteString - getWorkspaceBytes() { + public com.google.protobuf.ByteString getWorkspaceBytes() { java.lang.Object ref = ""; if (sourceCase_ == 3) { ref = source_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (sourceCase_ == 3) { source_ = b; } @@ -3802,14 +4200,20 @@ public java.lang.String getWorkspace() { } public static final int CODE_COMPILATION_CONFIG_FIELD_NUMBER = 4; - private com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig codeCompilationConfig_; + private com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig + codeCompilationConfig_; /** + * + * *
    * Immutable. If set, fields of `code_compilation_overrides` override the default
    * compilation settings that are specified in dataform.json.
    * 
* - * .google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return Whether the codeCompilationConfig field is set. */ @java.lang.Override @@ -3817,39 +4221,56 @@ public boolean hasCodeCompilationConfig() { return codeCompilationConfig_ != null; } /** + * + * *
    * Immutable. If set, fields of `code_compilation_overrides` override the default
    * compilation settings that are specified in dataform.json.
    * 
* - * .google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The codeCompilationConfig. */ @java.lang.Override - public com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig getCodeCompilationConfig() { - return codeCompilationConfig_ == null ? com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig.getDefaultInstance() : codeCompilationConfig_; + public com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig + getCodeCompilationConfig() { + return codeCompilationConfig_ == null + ? com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig + .getDefaultInstance() + : codeCompilationConfig_; } /** + * + * *
    * Immutable. If set, fields of `code_compilation_overrides` override the default
    * compilation settings that are specified in dataform.json.
    * 
* - * .google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * */ @java.lang.Override - public com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfigOrBuilder getCodeCompilationConfigOrBuilder() { + public com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfigOrBuilder + getCodeCompilationConfigOrBuilder() { return getCodeCompilationConfig(); } public static final int DATAFORM_CORE_VERSION_FIELD_NUMBER = 5; private volatile java.lang.Object dataformCoreVersion_; /** + * + * *
    * Output only. The version of `@dataform/core` that was used for compilation.
    * 
* * string dataform_core_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The dataformCoreVersion. */ @java.lang.Override @@ -3858,29 +4279,29 @@ public java.lang.String getDataformCoreVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataformCoreVersion_ = s; return s; } } /** + * + * *
    * Output only. The version of `@dataform/core` that was used for compilation.
    * 
* * string dataform_core_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for dataformCoreVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getDataformCoreVersionBytes() { + public com.google.protobuf.ByteString getDataformCoreVersionBytes() { java.lang.Object ref = dataformCoreVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dataformCoreVersion_ = b; return b; } else { @@ -3889,66 +4310,91 @@ public java.lang.String getDataformCoreVersion() { } public static final int COMPILATION_ERRORS_FIELD_NUMBER = 6; - private java.util.List compilationErrors_; + private java.util.List + compilationErrors_; /** + * + * *
    * Output only. Errors encountered during project compilation.
    * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List getCompilationErrorsList() { + public java.util.List + getCompilationErrorsList() { return compilationErrors_; } /** + * + * *
    * Output only. Errors encountered during project compilation.
    * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.dataform.v1beta1.CompilationResult.CompilationErrorOrBuilder> getCompilationErrorsOrBuilderList() { return compilationErrors_; } /** + * + * *
    * Output only. Errors encountered during project compilation.
    * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getCompilationErrorsCount() { return compilationErrors_.size(); } /** + * + * *
    * Output only. Errors encountered during project compilation.
    * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError getCompilationErrors(int index) { + public com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError getCompilationErrors( + int index) { return compilationErrors_.get(index); } /** + * + * *
    * Output only. Errors encountered during project compilation.
    * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.dataform.v1beta1.CompilationResult.CompilationErrorOrBuilder getCompilationErrorsOrBuilder( - int index) { + public com.google.cloud.dataform.v1beta1.CompilationResult.CompilationErrorOrBuilder + getCompilationErrorsOrBuilder(int index) { return compilationErrors_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3960,8 +4406,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -3999,15 +4444,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, source_); } if (codeCompilationConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getCodeCompilationConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCodeCompilationConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataformCoreVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, dataformCoreVersion_); } for (int i = 0; i < compilationErrors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, compilationErrors_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(6, compilationErrors_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -4017,33 +4462,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.CompilationResult)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.CompilationResult other = (com.google.cloud.dataform.v1beta1.CompilationResult) obj; + com.google.cloud.dataform.v1beta1.CompilationResult other = + (com.google.cloud.dataform.v1beta1.CompilationResult) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasCodeCompilationConfig() != other.hasCodeCompilationConfig()) return false; if (hasCodeCompilationConfig()) { - if (!getCodeCompilationConfig() - .equals(other.getCodeCompilationConfig())) return false; + if (!getCodeCompilationConfig().equals(other.getCodeCompilationConfig())) return false; } - if (!getDataformCoreVersion() - .equals(other.getDataformCoreVersion())) return false; - if (!getCompilationErrorsList() - .equals(other.getCompilationErrorsList())) return false; + if (!getDataformCoreVersion().equals(other.getDataformCoreVersion())) return false; + if (!getCompilationErrorsList().equals(other.getCompilationErrorsList())) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 2: - if (!getGitCommitish() - .equals(other.getGitCommitish())) return false; + if (!getGitCommitish().equals(other.getGitCommitish())) return false; break; case 3: - if (!getWorkspace() - .equals(other.getWorkspace())) return false; + if (!getWorkspace().equals(other.getWorkspace())) return false; break; case 0: default: @@ -4089,117 +4529,126 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.CompilationResult parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.CompilationResult parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.CompilationResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.CompilationResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.CompilationResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.CompilationResult parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.CompilationResult parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.CompilationResult parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.CompilationResult parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.CompilationResult parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.CompilationResult parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.CompilationResult parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.CompilationResult parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.CompilationResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.CompilationResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents the result of compiling a Dataform project.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.CompilationResult} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.CompilationResult) com.google.cloud.dataform.v1beta1.CompilationResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CompilationResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResult_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CompilationResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.CompilationResult.class, com.google.cloud.dataform.v1beta1.CompilationResult.Builder.class); + com.google.cloud.dataform.v1beta1.CompilationResult.class, + com.google.cloud.dataform.v1beta1.CompilationResult.Builder.class); } // Construct using com.google.cloud.dataform.v1beta1.CompilationResult.newBuilder() @@ -4207,17 +4656,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getCompilationErrorsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -4243,9 +4692,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CompilationResult_descriptor; } @java.lang.Override @@ -4264,7 +4713,8 @@ public com.google.cloud.dataform.v1beta1.CompilationResult build() { @java.lang.Override public com.google.cloud.dataform.v1beta1.CompilationResult buildPartial() { - com.google.cloud.dataform.v1beta1.CompilationResult result = new com.google.cloud.dataform.v1beta1.CompilationResult(this); + com.google.cloud.dataform.v1beta1.CompilationResult result = + new com.google.cloud.dataform.v1beta1.CompilationResult(this); int from_bitField0_ = bitField0_; result.name_ = name_; if (sourceCase_ == 2) { @@ -4297,38 +4747,39 @@ public com.google.cloud.dataform.v1beta1.CompilationResult buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.CompilationResult) { - return mergeFrom((com.google.cloud.dataform.v1beta1.CompilationResult)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.CompilationResult) other); } else { super.mergeFrom(other); return this; @@ -4336,7 +4787,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1beta1.CompilationResult other) { - if (other == com.google.cloud.dataform.v1beta1.CompilationResult.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1beta1.CompilationResult.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -4366,30 +4818,34 @@ public Builder mergeFrom(com.google.cloud.dataform.v1beta1.CompilationResult oth compilationErrorsBuilder_ = null; compilationErrors_ = other.compilationErrors_; bitField0_ = (bitField0_ & ~0x00000001); - compilationErrorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getCompilationErrorsFieldBuilder() : null; + compilationErrorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getCompilationErrorsFieldBuilder() + : null; } else { compilationErrorsBuilder_.addAllMessages(other.compilationErrors_); } } } switch (other.getSourceCase()) { - case GIT_COMMITISH: { - sourceCase_ = 2; - source_ = other.source_; - onChanged(); - break; - } - case WORKSPACE: { - sourceCase_ = 3; - source_ = other.source_; - onChanged(); - break; - } - case SOURCE_NOT_SET: { - break; - } + case GIT_COMMITISH: + { + sourceCase_ = 2; + source_ = other.source_; + onChanged(); + break; + } + case WORKSPACE: + { + sourceCase_ = 3; + source_ = other.source_; + onChanged(); + break; + } + case SOURCE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -4410,7 +4866,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.CompilationResult) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.CompilationResult) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -4419,12 +4876,12 @@ public Builder mergeFrom( } return this; } + private int sourceCase_ = 0; private java.lang.Object source_; - public SourceCase - getSourceCase() { - return SourceCase.forNumber( - sourceCase_); + + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); } public Builder clearSource() { @@ -4438,18 +4895,20 @@ public Builder clearSource() { private java.lang.Object name_ = ""; /** + * + * *
      * Output only. The compilation result's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -4458,20 +4917,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The compilation result's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -4479,60 +4939,69 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The compilation result's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The compilation result's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. The compilation result's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } /** + * + * *
      * Immutable. Git commit/tag/branch name at which the repository should be compiled.
      * Must exist in the remote repository.
@@ -4543,6 +5012,7 @@ public Builder setNameBytes(
      * 
* * string git_commitish = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return Whether the gitCommitish field is set. */ @java.lang.Override @@ -4550,6 +5020,8 @@ public boolean hasGitCommitish() { return sourceCase_ == 2; } /** + * + * *
      * Immutable. Git commit/tag/branch name at which the repository should be compiled.
      * Must exist in the remote repository.
@@ -4560,6 +5032,7 @@ public boolean hasGitCommitish() {
      * 
* * string git_commitish = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The gitCommitish. */ @java.lang.Override @@ -4569,8 +5042,7 @@ public java.lang.String getGitCommitish() { ref = source_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (sourceCase_ == 2) { source_ = s; @@ -4581,6 +5053,8 @@ public java.lang.String getGitCommitish() { } } /** + * + * *
      * Immutable. Git commit/tag/branch name at which the repository should be compiled.
      * Must exist in the remote repository.
@@ -4591,19 +5065,18 @@ public java.lang.String getGitCommitish() {
      * 
* * string git_commitish = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for gitCommitish. */ @java.lang.Override - public com.google.protobuf.ByteString - getGitCommitishBytes() { + public com.google.protobuf.ByteString getGitCommitishBytes() { java.lang.Object ref = ""; if (sourceCase_ == 2) { ref = source_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (sourceCase_ == 2) { source_ = b; } @@ -4613,6 +5086,8 @@ public java.lang.String getGitCommitish() { } } /** + * + * *
      * Immutable. Git commit/tag/branch name at which the repository should be compiled.
      * Must exist in the remote repository.
@@ -4623,20 +5098,22 @@ public java.lang.String getGitCommitish() {
      * 
* * string git_commitish = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The gitCommitish to set. * @return This builder for chaining. */ - public Builder setGitCommitish( - java.lang.String value) { + public Builder setGitCommitish(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - sourceCase_ = 2; + throw new NullPointerException(); + } + sourceCase_ = 2; source_ = value; onChanged(); return this; } /** + * + * *
      * Immutable. Git commit/tag/branch name at which the repository should be compiled.
      * Must exist in the remote repository.
@@ -4647,6 +5124,7 @@ public Builder setGitCommitish(
      * 
* * string git_commitish = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearGitCommitish() { @@ -4658,6 +5136,8 @@ public Builder clearGitCommitish() { return this; } /** + * + * *
      * Immutable. Git commit/tag/branch name at which the repository should be compiled.
      * Must exist in the remote repository.
@@ -4668,15 +5148,15 @@ public Builder clearGitCommitish() {
      * 
* * string git_commitish = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The bytes for gitCommitish to set. * @return This builder for chaining. */ - public Builder setGitCommitishBytes( - com.google.protobuf.ByteString value) { + public Builder setGitCommitishBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); sourceCase_ = 2; source_ = value; onChanged(); @@ -4684,12 +5164,17 @@ public Builder setGitCommitishBytes( } /** + * + * *
      * Immutable. The name of the workspace to compile. Must be in the format
      * `projects/*/locations/*/repositories/*/workspaces/*`.
      * 
* - * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return Whether the workspace field is set. */ @java.lang.Override @@ -4697,12 +5182,17 @@ public boolean hasWorkspace() { return sourceCase_ == 3; } /** + * + * *
      * Immutable. The name of the workspace to compile. Must be in the format
      * `projects/*/locations/*/repositories/*/workspaces/*`.
      * 
* - * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ @java.lang.Override @@ -4712,8 +5202,7 @@ public java.lang.String getWorkspace() { ref = source_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (sourceCase_ == 3) { source_ = s; @@ -4724,25 +5213,28 @@ public java.lang.String getWorkspace() { } } /** + * + * *
      * Immutable. The name of the workspace to compile. Must be in the format
      * `projects/*/locations/*/repositories/*/workspaces/*`.
      * 
* - * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ @java.lang.Override - public com.google.protobuf.ByteString - getWorkspaceBytes() { + public com.google.protobuf.ByteString getWorkspaceBytes() { java.lang.Object ref = ""; if (sourceCase_ == 3) { ref = source_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (sourceCase_ == 3) { source_ = b; } @@ -4752,32 +5244,41 @@ public java.lang.String getWorkspace() { } } /** + * + * *
      * Immutable. The name of the workspace to compile. Must be in the format
      * `projects/*/locations/*/repositories/*/workspaces/*`.
      * 
* - * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @param value The workspace to set. * @return This builder for chaining. */ - public Builder setWorkspace( - java.lang.String value) { + public Builder setWorkspace(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - sourceCase_ = 3; + throw new NullPointerException(); + } + sourceCase_ = 3; source_ = value; onChanged(); return this; } /** + * + * *
      * Immutable. The name of the workspace to compile. Must be in the format
      * `projects/*/locations/*/repositories/*/workspaces/*`.
      * 
* - * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearWorkspace() { @@ -4789,67 +5290,94 @@ public Builder clearWorkspace() { return this; } /** + * + * *
      * Immutable. The name of the workspace to compile. Must be in the format
      * `projects/*/locations/*/repositories/*/workspaces/*`.
      * 
* - * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for workspace to set. * @return This builder for chaining. */ - public Builder setWorkspaceBytes( - com.google.protobuf.ByteString value) { + public Builder setWorkspaceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); sourceCase_ = 3; source_ = value; onChanged(); return this; } - private com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig codeCompilationConfig_; + private com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig + codeCompilationConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig, com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig.Builder, com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfigOrBuilder> codeCompilationConfigBuilder_; + com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig, + com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig.Builder, + com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfigOrBuilder> + codeCompilationConfigBuilder_; /** + * + * *
      * Immutable. If set, fields of `code_compilation_overrides` override the default
      * compilation settings that are specified in dataform.json.
      * 
* - * .google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return Whether the codeCompilationConfig field is set. */ public boolean hasCodeCompilationConfig() { return codeCompilationConfigBuilder_ != null || codeCompilationConfig_ != null; } /** + * + * *
      * Immutable. If set, fields of `code_compilation_overrides` override the default
      * compilation settings that are specified in dataform.json.
      * 
* - * .google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The codeCompilationConfig. */ - public com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig getCodeCompilationConfig() { + public com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig + getCodeCompilationConfig() { if (codeCompilationConfigBuilder_ == null) { - return codeCompilationConfig_ == null ? com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig.getDefaultInstance() : codeCompilationConfig_; + return codeCompilationConfig_ == null + ? com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig + .getDefaultInstance() + : codeCompilationConfig_; } else { return codeCompilationConfigBuilder_.getMessage(); } } /** + * + * *
      * Immutable. If set, fields of `code_compilation_overrides` override the default
      * compilation settings that are specified in dataform.json.
      * 
* - * .google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * */ - public Builder setCodeCompilationConfig(com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig value) { + public Builder setCodeCompilationConfig( + com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig value) { if (codeCompilationConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4863,15 +5391,20 @@ public Builder setCodeCompilationConfig(com.google.cloud.dataform.v1beta1.Compil return this; } /** + * + * *
      * Immutable. If set, fields of `code_compilation_overrides` override the default
      * compilation settings that are specified in dataform.json.
      * 
* - * .google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public Builder setCodeCompilationConfig( - com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig.Builder builderForValue) { + com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig.Builder + builderForValue) { if (codeCompilationConfigBuilder_ == null) { codeCompilationConfig_ = builderForValue.build(); onChanged(); @@ -4882,18 +5415,26 @@ public Builder setCodeCompilationConfig( return this; } /** + * + * *
      * Immutable. If set, fields of `code_compilation_overrides` override the default
      * compilation settings that are specified in dataform.json.
      * 
* - * .google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * */ - public Builder mergeCodeCompilationConfig(com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig value) { + public Builder mergeCodeCompilationConfig( + com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig value) { if (codeCompilationConfigBuilder_ == null) { if (codeCompilationConfig_ != null) { codeCompilationConfig_ = - com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig.newBuilder(codeCompilationConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig.newBuilder( + codeCompilationConfig_) + .mergeFrom(value) + .buildPartial(); } else { codeCompilationConfig_ = value; } @@ -4905,12 +5446,16 @@ public Builder mergeCodeCompilationConfig(com.google.cloud.dataform.v1beta1.Comp return this; } /** + * + * *
      * Immutable. If set, fields of `code_compilation_overrides` override the default
      * compilation settings that are specified in dataform.json.
      * 
* - * .google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public Builder clearCodeCompilationConfig() { if (codeCompilationConfigBuilder_ == null) { @@ -4924,51 +5469,70 @@ public Builder clearCodeCompilationConfig() { return this; } /** + * + * *
      * Immutable. If set, fields of `code_compilation_overrides` override the default
      * compilation settings that are specified in dataform.json.
      * 
* - * .google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * */ - public com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig.Builder getCodeCompilationConfigBuilder() { - + public com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig.Builder + getCodeCompilationConfigBuilder() { + onChanged(); return getCodeCompilationConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Immutable. If set, fields of `code_compilation_overrides` override the default
      * compilation settings that are specified in dataform.json.
      * 
* - * .google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * */ - public com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfigOrBuilder getCodeCompilationConfigOrBuilder() { + public com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfigOrBuilder + getCodeCompilationConfigOrBuilder() { if (codeCompilationConfigBuilder_ != null) { return codeCompilationConfigBuilder_.getMessageOrBuilder(); } else { - return codeCompilationConfig_ == null ? - com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig.getDefaultInstance() : codeCompilationConfig_; + return codeCompilationConfig_ == null + ? com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig + .getDefaultInstance() + : codeCompilationConfig_; } } /** + * + * *
      * Immutable. If set, fields of `code_compilation_overrides` override the default
      * compilation settings that are specified in dataform.json.
      * 
* - * .google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig, com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig.Builder, com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfigOrBuilder> + com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig, + com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig.Builder, + com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfigOrBuilder> getCodeCompilationConfigFieldBuilder() { if (codeCompilationConfigBuilder_ == null) { - codeCompilationConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig, com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig.Builder, com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfigOrBuilder>( - getCodeCompilationConfig(), - getParentForChildren(), - isClean()); + codeCompilationConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig, + com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig.Builder, + com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfigOrBuilder>( + getCodeCompilationConfig(), getParentForChildren(), isClean()); codeCompilationConfig_ = null; } return codeCompilationConfigBuilder_; @@ -4976,18 +5540,20 @@ public com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig private java.lang.Object dataformCoreVersion_ = ""; /** + * + * *
      * Output only. The version of `@dataform/core` that was used for compilation.
      * 
* * string dataform_core_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The dataformCoreVersion. */ public java.lang.String getDataformCoreVersion() { java.lang.Object ref = dataformCoreVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataformCoreVersion_ = s; return s; @@ -4996,20 +5562,21 @@ public java.lang.String getDataformCoreVersion() { } } /** + * + * *
      * Output only. The version of `@dataform/core` that was used for compilation.
      * 
* * string dataform_core_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for dataformCoreVersion. */ - public com.google.protobuf.ByteString - getDataformCoreVersionBytes() { + public com.google.protobuf.ByteString getDataformCoreVersionBytes() { java.lang.Object ref = dataformCoreVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dataformCoreVersion_ = b; return b; } else { @@ -5017,79 +5584,98 @@ public java.lang.String getDataformCoreVersion() { } } /** + * + * *
      * Output only. The version of `@dataform/core` that was used for compilation.
      * 
* * string dataform_core_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The dataformCoreVersion to set. * @return This builder for chaining. */ - public Builder setDataformCoreVersion( - java.lang.String value) { + public Builder setDataformCoreVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dataformCoreVersion_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The version of `@dataform/core` that was used for compilation.
      * 
* * string dataform_core_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearDataformCoreVersion() { - + dataformCoreVersion_ = getDefaultInstance().getDataformCoreVersion(); onChanged(); return this; } /** + * + * *
      * Output only. The version of `@dataform/core` that was used for compilation.
      * 
* * string dataform_core_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for dataformCoreVersion to set. * @return This builder for chaining. */ - public Builder setDataformCoreVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setDataformCoreVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dataformCoreVersion_ = value; onChanged(); return this; } - private java.util.List compilationErrors_ = - java.util.Collections.emptyList(); + private java.util.List + compilationErrors_ = java.util.Collections.emptyList(); + private void ensureCompilationErrorsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - compilationErrors_ = new java.util.ArrayList(compilationErrors_); + compilationErrors_ = + new java.util.ArrayList< + com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError>( + compilationErrors_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError, com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.Builder, com.google.cloud.dataform.v1beta1.CompilationResult.CompilationErrorOrBuilder> compilationErrorsBuilder_; + com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError, + com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.Builder, + com.google.cloud.dataform.v1beta1.CompilationResult.CompilationErrorOrBuilder> + compilationErrorsBuilder_; /** + * + * *
      * Output only. Errors encountered during project compilation.
      * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List getCompilationErrorsList() { + public java.util.List + getCompilationErrorsList() { if (compilationErrorsBuilder_ == null) { return java.util.Collections.unmodifiableList(compilationErrors_); } else { @@ -5097,11 +5683,15 @@ public java.util.List * Output only. Errors encountered during project compilation. *
* - * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getCompilationErrorsCount() { if (compilationErrorsBuilder_ == null) { @@ -5111,13 +5701,18 @@ public int getCompilationErrorsCount() { } } /** + * + * *
      * Output only. Errors encountered during project compilation.
      * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError getCompilationErrors(int index) { + public com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError + getCompilationErrors(int index) { if (compilationErrorsBuilder_ == null) { return compilationErrors_.get(index); } else { @@ -5125,11 +5720,15 @@ public com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError getC } } /** + * + * *
      * Output only. Errors encountered during project compilation.
      * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCompilationErrors( int index, com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError value) { @@ -5146,14 +5745,20 @@ public Builder setCompilationErrors( return this; } /** + * + * *
      * Output only. Errors encountered during project compilation.
      * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCompilationErrors( - int index, com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.Builder builderForValue) { + int index, + com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.Builder + builderForValue) { if (compilationErrorsBuilder_ == null) { ensureCompilationErrorsIsMutable(); compilationErrors_.set(index, builderForValue.build()); @@ -5164,13 +5769,18 @@ public Builder setCompilationErrors( return this; } /** + * + * *
      * Output only. Errors encountered during project compilation.
      * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addCompilationErrors(com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError value) { + public Builder addCompilationErrors( + com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError value) { if (compilationErrorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5184,11 +5794,15 @@ public Builder addCompilationErrors(com.google.cloud.dataform.v1beta1.Compilatio return this; } /** + * + * *
      * Output only. Errors encountered during project compilation.
      * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addCompilationErrors( int index, com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError value) { @@ -5205,14 +5819,19 @@ public Builder addCompilationErrors( return this; } /** + * + * *
      * Output only. Errors encountered during project compilation.
      * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addCompilationErrors( - com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.Builder builderForValue) { + com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.Builder + builderForValue) { if (compilationErrorsBuilder_ == null) { ensureCompilationErrorsIsMutable(); compilationErrors_.add(builderForValue.build()); @@ -5223,14 +5842,20 @@ public Builder addCompilationErrors( return this; } /** + * + * *
      * Output only. Errors encountered during project compilation.
      * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addCompilationErrors( - int index, com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.Builder builderForValue) { + int index, + com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.Builder + builderForValue) { if (compilationErrorsBuilder_ == null) { ensureCompilationErrorsIsMutable(); compilationErrors_.add(index, builderForValue.build()); @@ -5241,18 +5866,23 @@ public Builder addCompilationErrors( return this; } /** + * + * *
      * Output only. Errors encountered during project compilation.
      * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllCompilationErrors( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError> + values) { if (compilationErrorsBuilder_ == null) { ensureCompilationErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, compilationErrors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, compilationErrors_); onChanged(); } else { compilationErrorsBuilder_.addAllMessages(values); @@ -5260,11 +5890,15 @@ public Builder addAllCompilationErrors( return this; } /** + * + * *
      * Output only. Errors encountered during project compilation.
      * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCompilationErrors() { if (compilationErrorsBuilder_ == null) { @@ -5277,11 +5911,15 @@ public Builder clearCompilationErrors() { return this; } /** + * + * *
      * Output only. Errors encountered during project compilation.
      * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeCompilationErrors(int index) { if (compilationErrorsBuilder_ == null) { @@ -5294,39 +5932,53 @@ public Builder removeCompilationErrors(int index) { return this; } /** + * + * *
      * Output only. Errors encountered during project compilation.
      * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.Builder getCompilationErrorsBuilder( - int index) { + public com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.Builder + getCompilationErrorsBuilder(int index) { return getCompilationErrorsFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. Errors encountered during project compilation.
      * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.dataform.v1beta1.CompilationResult.CompilationErrorOrBuilder getCompilationErrorsOrBuilder( - int index) { + public com.google.cloud.dataform.v1beta1.CompilationResult.CompilationErrorOrBuilder + getCompilationErrorsOrBuilder(int index) { if (compilationErrorsBuilder_ == null) { - return compilationErrors_.get(index); } else { + return compilationErrors_.get(index); + } else { return compilationErrorsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. Errors encountered during project compilation.
      * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getCompilationErrorsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.dataform.v1beta1.CompilationResult.CompilationErrorOrBuilder> + getCompilationErrorsOrBuilderList() { if (compilationErrorsBuilder_ != null) { return compilationErrorsBuilder_.getMessageOrBuilderList(); } else { @@ -5334,45 +5986,70 @@ public com.google.cloud.dataform.v1beta1.CompilationResult.CompilationErrorOrBui } } /** + * + * *
      * Output only. Errors encountered during project compilation.
      * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.Builder addCompilationErrorsBuilder() { - return getCompilationErrorsFieldBuilder().addBuilder( - com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.getDefaultInstance()); + public com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.Builder + addCompilationErrorsBuilder() { + return getCompilationErrorsFieldBuilder() + .addBuilder( + com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError + .getDefaultInstance()); } /** + * + * *
      * Output only. Errors encountered during project compilation.
      * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.Builder addCompilationErrorsBuilder( - int index) { - return getCompilationErrorsFieldBuilder().addBuilder( - index, com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.getDefaultInstance()); + public com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.Builder + addCompilationErrorsBuilder(int index) { + return getCompilationErrorsFieldBuilder() + .addBuilder( + index, + com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError + .getDefaultInstance()); } /** + * + * *
      * Output only. Errors encountered during project compilation.
      * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getCompilationErrorsBuilderList() { + public java.util.List< + com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.Builder> + getCompilationErrorsBuilderList() { return getCompilationErrorsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError, com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.Builder, com.google.cloud.dataform.v1beta1.CompilationResult.CompilationErrorOrBuilder> + com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError, + com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.Builder, + com.google.cloud.dataform.v1beta1.CompilationResult.CompilationErrorOrBuilder> getCompilationErrorsFieldBuilder() { if (compilationErrorsBuilder_ == null) { - compilationErrorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError, com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.Builder, com.google.cloud.dataform.v1beta1.CompilationResult.CompilationErrorOrBuilder>( + compilationErrorsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError, + com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.Builder, + com.google.cloud.dataform.v1beta1.CompilationResult.CompilationErrorOrBuilder>( compilationErrors_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -5381,9 +6058,9 @@ public com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.Buil } return compilationErrorsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5393,12 +6070,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.CompilationResult) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.CompilationResult) private static final com.google.cloud.dataform.v1beta1.CompilationResult DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.CompilationResult(); } @@ -5407,16 +6084,16 @@ public static com.google.cloud.dataform.v1beta1.CompilationResult getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompilationResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CompilationResult(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompilationResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CompilationResult(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5431,6 +6108,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1beta1.CompilationResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CompilationResultAction.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CompilationResultAction.java similarity index 72% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CompilationResultAction.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CompilationResultAction.java index ff357a2..7c1e77e 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CompilationResultAction.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CompilationResultAction.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * Represents a single Dataform action in a compilation result.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.CompilationResultAction} */ -public final class CompilationResultAction extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CompilationResultAction extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.CompilationResultAction) CompilationResultActionOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CompilationResultAction.newBuilder() to construct. private CompilationResultAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CompilationResultAction() { filePath_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CompilationResultAction(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CompilationResultAction( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,101 +70,145 @@ private CompilationResultAction( case 0: done = true; break; - case 10: { - com.google.cloud.dataform.v1beta1.Target.Builder subBuilder = null; - if (target_ != null) { - subBuilder = target_.toBuilder(); - } - target_ = input.readMessage(com.google.cloud.dataform.v1beta1.Target.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(target_); - target_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.dataform.v1beta1.Target.Builder subBuilder = null; + if (target_ != null) { + subBuilder = target_.toBuilder(); + } + target_ = + input.readMessage( + com.google.cloud.dataform.v1beta1.Target.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(target_); + target_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.cloud.dataform.v1beta1.Target.Builder subBuilder = null; - if (canonicalTarget_ != null) { - subBuilder = canonicalTarget_.toBuilder(); - } - canonicalTarget_ = input.readMessage(com.google.cloud.dataform.v1beta1.Target.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(canonicalTarget_); - canonicalTarget_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.cloud.dataform.v1beta1.Target.Builder subBuilder = null; + if (canonicalTarget_ != null) { + subBuilder = canonicalTarget_.toBuilder(); + } + canonicalTarget_ = + input.readMessage( + com.google.cloud.dataform.v1beta1.Target.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(canonicalTarget_); + canonicalTarget_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - filePath_ = s; - break; - } - case 34: { - com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.Builder subBuilder = null; - if (compiledObjectCase_ == 4) { - subBuilder = ((com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation) compiledObject_).toBuilder(); - } - compiledObject_ = - input.readMessage(com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation) compiledObject_); - compiledObject_ = subBuilder.buildPartial(); - } - compiledObjectCase_ = 4; - break; - } - case 42: { - com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.Builder subBuilder = null; - if (compiledObjectCase_ == 5) { - subBuilder = ((com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations) compiledObject_).toBuilder(); + break; } - compiledObject_ = - input.readMessage(com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations) compiledObject_); - compiledObject_ = subBuilder.buildPartial(); + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + + filePath_ = s; + break; } - compiledObjectCase_ = 5; - break; - } - case 50: { - com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.Builder subBuilder = null; - if (compiledObjectCase_ == 6) { - subBuilder = ((com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion) compiledObject_).toBuilder(); + case 34: + { + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.Builder + subBuilder = null; + if (compiledObjectCase_ == 4) { + subBuilder = + ((com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation) + compiledObject_) + .toBuilder(); + } + compiledObject_ = + input.readMessage( + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation) + compiledObject_); + compiledObject_ = subBuilder.buildPartial(); + } + compiledObjectCase_ = 4; + break; } - compiledObject_ = - input.readMessage(com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion) compiledObject_); - compiledObject_ = subBuilder.buildPartial(); + case 42: + { + com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.Builder + subBuilder = null; + if (compiledObjectCase_ == 5) { + subBuilder = + ((com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations) + compiledObject_) + .toBuilder(); + } + compiledObject_ = + input.readMessage( + com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations) + compiledObject_); + compiledObject_ = subBuilder.buildPartial(); + } + compiledObjectCase_ = 5; + break; } - compiledObjectCase_ = 6; - break; - } - case 58: { - com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.Builder subBuilder = null; - if (compiledObjectCase_ == 7) { - subBuilder = ((com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration) compiledObject_).toBuilder(); + case 50: + { + com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.Builder + subBuilder = null; + if (compiledObjectCase_ == 6) { + subBuilder = + ((com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion) + compiledObject_) + .toBuilder(); + } + compiledObject_ = + input.readMessage( + com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion) + compiledObject_); + compiledObject_ = subBuilder.buildPartial(); + } + compiledObjectCase_ = 6; + break; } - compiledObject_ = - input.readMessage(com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration) compiledObject_); - compiledObject_ = subBuilder.buildPartial(); + case 58: + { + com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.Builder + subBuilder = null; + if (compiledObjectCase_ == 7) { + subBuilder = + ((com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration) + compiledObject_) + .toBuilder(); + } + compiledObject_ = + input.readMessage( + com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration) + compiledObject_); + compiledObject_ = subBuilder.buildPartial(); + } + compiledObjectCase_ = 7; + break; } - compiledObjectCase_ = 7; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -155,40 +216,46 @@ private CompilationResultAction( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.CompilationResultAction.class, com.google.cloud.dataform.v1beta1.CompilationResultAction.Builder.class); + com.google.cloud.dataform.v1beta1.CompilationResultAction.class, + com.google.cloud.dataform.v1beta1.CompilationResultAction.Builder.class); } - public interface RelationOrBuilder extends + public interface RelationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.CompilationResultAction.Relation) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * A list of actions that this action depends on.
      * 
* * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; */ - java.util.List - getDependencyTargetsList(); + java.util.List getDependencyTargetsList(); /** + * + * *
      * A list of actions that this action depends on.
      * 
@@ -197,6 +264,8 @@ public interface RelationOrBuilder extends */ com.google.cloud.dataform.v1beta1.Target getDependencyTargets(int index); /** + * + * *
      * A list of actions that this action depends on.
      * 
@@ -205,94 +274,118 @@ public interface RelationOrBuilder extends */ int getDependencyTargetsCount(); /** + * + * *
      * A list of actions that this action depends on.
      * 
* * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; */ - java.util.List + java.util.List getDependencyTargetsOrBuilderList(); /** + * + * *
      * A list of actions that this action depends on.
      * 
* * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; */ - com.google.cloud.dataform.v1beta1.TargetOrBuilder getDependencyTargetsOrBuilder( - int index); + com.google.cloud.dataform.v1beta1.TargetOrBuilder getDependencyTargetsOrBuilder(int index); /** + * + * *
      * Whether this action is disabled (i.e. should not be run).
      * 
* * bool disabled = 2; + * * @return The disabled. */ boolean getDisabled(); /** + * + * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; + * * @return A list containing the tags. */ - java.util.List - getTagsList(); + java.util.List getTagsList(); /** + * + * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; + * * @return The count of tags. */ int getTagsCount(); /** + * + * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; + * * @param index The index of the element to return. * @return The tags at the given index. */ java.lang.String getTags(int index); /** + * + * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; + * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - com.google.protobuf.ByteString - getTagsBytes(int index); + com.google.protobuf.ByteString getTagsBytes(int index); /** + * + * *
      * Descriptor for the relation and its columns.
      * 
* * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 4; + * * @return Whether the relationDescriptor field is set. */ boolean hasRelationDescriptor(); /** + * + * *
      * Descriptor for the relation and its columns.
      * 
* * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 4; + * * @return The relationDescriptor. */ com.google.cloud.dataform.v1beta1.RelationDescriptor getRelationDescriptor(); /** + * + * *
      * Descriptor for the relation and its columns.
      * 
@@ -302,239 +395,315 @@ com.google.cloud.dataform.v1beta1.TargetOrBuilder getDependencyTargetsOrBuilder( com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder getRelationDescriptorOrBuilder(); /** + * + * *
      * The type of this relation.
      * 
* - * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType relation_type = 5; + * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType relation_type = 5; + * + * * @return The enum numeric value on the wire for relationType. */ int getRelationTypeValue(); /** + * + * *
      * The type of this relation.
      * 
* - * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType relation_type = 5; + * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType relation_type = 5; + * + * * @return The relationType. */ - com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType getRelationType(); + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType + getRelationType(); /** + * + * *
      * The SELECT query which returns rows which this relation should contain.
      * 
* * string select_query = 6; + * * @return The selectQuery. */ java.lang.String getSelectQuery(); /** + * + * *
      * The SELECT query which returns rows which this relation should contain.
      * 
* * string select_query = 6; + * * @return The bytes for selectQuery. */ - com.google.protobuf.ByteString - getSelectQueryBytes(); + com.google.protobuf.ByteString getSelectQueryBytes(); /** + * + * *
      * SQL statements to be executed before creating the relation.
      * 
* * repeated string pre_operations = 7; + * * @return A list containing the preOperations. */ - java.util.List - getPreOperationsList(); + java.util.List getPreOperationsList(); /** + * + * *
      * SQL statements to be executed before creating the relation.
      * 
* * repeated string pre_operations = 7; + * * @return The count of preOperations. */ int getPreOperationsCount(); /** + * + * *
      * SQL statements to be executed before creating the relation.
      * 
* * repeated string pre_operations = 7; + * * @param index The index of the element to return. * @return The preOperations at the given index. */ java.lang.String getPreOperations(int index); /** + * + * *
      * SQL statements to be executed before creating the relation.
      * 
* * repeated string pre_operations = 7; + * * @param index The index of the value to return. * @return The bytes of the preOperations at the given index. */ - com.google.protobuf.ByteString - getPreOperationsBytes(int index); + com.google.protobuf.ByteString getPreOperationsBytes(int index); /** + * + * *
      * SQL statements to be executed after creating the relation.
      * 
* * repeated string post_operations = 8; + * * @return A list containing the postOperations. */ - java.util.List - getPostOperationsList(); + java.util.List getPostOperationsList(); /** + * + * *
      * SQL statements to be executed after creating the relation.
      * 
* * repeated string post_operations = 8; + * * @return The count of postOperations. */ int getPostOperationsCount(); /** + * + * *
      * SQL statements to be executed after creating the relation.
      * 
* * repeated string post_operations = 8; + * * @param index The index of the element to return. * @return The postOperations at the given index. */ java.lang.String getPostOperations(int index); /** + * + * *
      * SQL statements to be executed after creating the relation.
      * 
* * repeated string post_operations = 8; + * * @param index The index of the value to return. * @return The bytes of the postOperations at the given index. */ - com.google.protobuf.ByteString - getPostOperationsBytes(int index); + com.google.protobuf.ByteString getPostOperationsBytes(int index); /** + * + * *
      * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
      * `relation_type` is `INCREMENTAL_TABLE`.
      * 
* - * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * + * * @return Whether the incrementalTableConfig field is set. */ boolean hasIncrementalTableConfig(); /** + * + * *
      * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
      * `relation_type` is `INCREMENTAL_TABLE`.
      * 
* - * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * + * * @return The incrementalTableConfig. */ - com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig getIncrementalTableConfig(); + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig + getIncrementalTableConfig(); /** + * + * *
      * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
      * `relation_type` is `INCREMENTAL_TABLE`.
      * 
* - * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * */ - com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfigOrBuilder getIncrementalTableConfigOrBuilder(); + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfigOrBuilder + getIncrementalTableConfigOrBuilder(); /** + * + * *
      * The SQL expression used to partition the relation.
      * 
* * string partition_expression = 10; + * * @return The partitionExpression. */ java.lang.String getPartitionExpression(); /** + * + * *
      * The SQL expression used to partition the relation.
      * 
* * string partition_expression = 10; + * * @return The bytes for partitionExpression. */ - com.google.protobuf.ByteString - getPartitionExpressionBytes(); + com.google.protobuf.ByteString getPartitionExpressionBytes(); /** + * + * *
      * A list of columns or SQL expressions used to cluster the table.
      * 
* * repeated string cluster_expressions = 11; + * * @return A list containing the clusterExpressions. */ - java.util.List - getClusterExpressionsList(); + java.util.List getClusterExpressionsList(); /** + * + * *
      * A list of columns or SQL expressions used to cluster the table.
      * 
* * repeated string cluster_expressions = 11; + * * @return The count of clusterExpressions. */ int getClusterExpressionsCount(); /** + * + * *
      * A list of columns or SQL expressions used to cluster the table.
      * 
* * repeated string cluster_expressions = 11; + * * @param index The index of the element to return. * @return The clusterExpressions at the given index. */ java.lang.String getClusterExpressions(int index); /** + * + * *
      * A list of columns or SQL expressions used to cluster the table.
      * 
* * repeated string cluster_expressions = 11; + * * @param index The index of the value to return. * @return The bytes of the clusterExpressions at the given index. */ - com.google.protobuf.ByteString - getClusterExpressionsBytes(int index); + com.google.protobuf.ByteString getClusterExpressionsBytes(int index); /** + * + * *
      * Sets the partition expiration in days.
      * 
* * int32 partition_expiration_days = 12; + * * @return The partitionExpirationDays. */ int getPartitionExpirationDays(); /** + * + * *
      * Specifies whether queries on this table must include a predicate filter
      * that filters on the partitioning column.
      * 
* * bool require_partition_filter = 13; + * * @return The requirePartitionFilter. */ boolean getRequirePartitionFilter(); /** + * + * *
      * Additional options that will be provided as key/value pairs into the
      * options clause of a create table/view statement. See
@@ -546,6 +715,8 @@ com.google.cloud.dataform.v1beta1.TargetOrBuilder getDependencyTargetsOrBuilder(
      */
     int getAdditionalOptionsCount();
     /**
+     *
+     *
      * 
      * Additional options that will be provided as key/value pairs into the
      * options clause of a create table/view statement. See
@@ -555,15 +726,13 @@ com.google.cloud.dataform.v1beta1.TargetOrBuilder getDependencyTargetsOrBuilder(
      *
      * map<string, string> additional_options = 14;
      */
-    boolean containsAdditionalOptions(
-        java.lang.String key);
-    /**
-     * Use {@link #getAdditionalOptionsMap()} instead.
-     */
+    boolean containsAdditionalOptions(java.lang.String key);
+    /** Use {@link #getAdditionalOptionsMap()} instead. */
     @java.lang.Deprecated
-    java.util.Map
-    getAdditionalOptions();
+    java.util.Map getAdditionalOptions();
     /**
+     *
+     *
      * 
      * Additional options that will be provided as key/value pairs into the
      * options clause of a create table/view statement. See
@@ -573,9 +742,10 @@ boolean containsAdditionalOptions(
      *
      * map<string, string> additional_options = 14;
      */
-    java.util.Map
-    getAdditionalOptionsMap();
+    java.util.Map getAdditionalOptionsMap();
     /**
+     *
+     *
      * 
      * Additional options that will be provided as key/value pairs into the
      * options clause of a create table/view statement. See
@@ -587,11 +757,13 @@ boolean containsAdditionalOptions(
      */
 
     /* nullable */
-java.lang.String getAdditionalOptionsOrDefault(
+    java.lang.String getAdditionalOptionsOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue);
+        java.lang.String defaultValue);
     /**
+     *
+     *
      * 
      * Additional options that will be provided as key/value pairs into the
      * options clause of a create table/view statement. See
@@ -601,26 +773,27 @@ java.lang.String getAdditionalOptionsOrDefault(
      *
      * map<string, string> additional_options = 14;
      */
-
-    java.lang.String getAdditionalOptionsOrThrow(
-        java.lang.String key);
+    java.lang.String getAdditionalOptionsOrThrow(java.lang.String key);
   }
   /**
+   *
+   *
    * 
    * Represents a database relation.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.CompilationResultAction.Relation} */ - public static final class Relation extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Relation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.CompilationResultAction.Relation) RelationOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Relation.newBuilder() to construct. private Relation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Relation() { dependencyTargets_ = java.util.Collections.emptyList(); tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -634,16 +807,15 @@ private Relation() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Relation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Relation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -663,130 +835,156 @@ private Relation( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - dependencyTargets_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - dependencyTargets_.add( - input.readMessage(com.google.cloud.dataform.v1beta1.Target.parser(), extensionRegistry)); - break; - } - case 16: { - - disabled_ = input.readBool(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - tags_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + dependencyTargets_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + dependencyTargets_.add( + input.readMessage( + com.google.cloud.dataform.v1beta1.Target.parser(), extensionRegistry)); + break; } - tags_.add(s); - break; - } - case 34: { - com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder subBuilder = null; - if (relationDescriptor_ != null) { - subBuilder = relationDescriptor_.toBuilder(); + case 16: + { + disabled_ = input.readBool(); + break; } - relationDescriptor_ = input.readMessage(com.google.cloud.dataform.v1beta1.RelationDescriptor.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(relationDescriptor_); - relationDescriptor_ = subBuilder.buildPartial(); + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + tags_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + tags_.add(s); + break; } + case 34: + { + com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder subBuilder = null; + if (relationDescriptor_ != null) { + subBuilder = relationDescriptor_.toBuilder(); + } + relationDescriptor_ = + input.readMessage( + com.google.cloud.dataform.v1beta1.RelationDescriptor.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(relationDescriptor_); + relationDescriptor_ = subBuilder.buildPartial(); + } - break; - } - case 40: { - int rawValue = input.readEnum(); - - relationType_ = rawValue; - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 40: + { + int rawValue = input.readEnum(); - selectQuery_ = s; - break; - } - case 58: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - preOperations_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000004; + relationType_ = rawValue; + break; } - preOperations_.add(s); - break; - } - case 66: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000008) != 0)) { - postOperations_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000008; + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); + + selectQuery_ = s; + break; } - postOperations_.add(s); - break; - } - case 74: { - com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig.Builder subBuilder = null; - if (incrementalTableConfig_ != null) { - subBuilder = incrementalTableConfig_.toBuilder(); + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + preOperations_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000004; + } + preOperations_.add(s); + break; } - incrementalTableConfig_ = input.readMessage(com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(incrementalTableConfig_); - incrementalTableConfig_ = subBuilder.buildPartial(); + case 66: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + postOperations_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000008; + } + postOperations_.add(s); + break; } + case 74: + { + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfig.Builder + subBuilder = null; + if (incrementalTableConfig_ != null) { + subBuilder = incrementalTableConfig_.toBuilder(); + } + incrementalTableConfig_ = + input.readMessage( + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(incrementalTableConfig_); + incrementalTableConfig_ = subBuilder.buildPartial(); + } - break; - } - case 82: { - java.lang.String s = input.readStringRequireUtf8(); - - partitionExpression_ = s; - break; - } - case 90: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000010) != 0)) { - clusterExpressions_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000010; + break; } - clusterExpressions_.add(s); - break; - } - case 96: { - - partitionExpirationDays_ = input.readInt32(); - break; - } - case 104: { + case 82: + { + java.lang.String s = input.readStringRequireUtf8(); - requirePartitionFilter_ = input.readBool(); - break; - } - case 114: { - if (!((mutable_bitField0_ & 0x00000020) != 0)) { - additionalOptions_ = com.google.protobuf.MapField.newMapField( - AdditionalOptionsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000020; + partitionExpression_ = s; + break; } - com.google.protobuf.MapEntry - additionalOptions__ = input.readMessage( - AdditionalOptionsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - additionalOptions_.getMutableMap().put( - additionalOptions__.getKey(), additionalOptions__.getValue()); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 90: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000010) != 0)) { + clusterExpressions_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000010; + } + clusterExpressions_.add(s); + break; + } + case 96: + { + partitionExpirationDays_ = input.readInt32(); + break; + } + case 104: + { + requirePartitionFilter_ = input.readBool(); + break; + } + case 114: + { + if (!((mutable_bitField0_ & 0x00000020) != 0)) { + additionalOptions_ = + com.google.protobuf.MapField.newMapField( + AdditionalOptionsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000020; + } + com.google.protobuf.MapEntry + additionalOptions__ = + input.readMessage( + AdditionalOptionsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + additionalOptions_ + .getMutableMap() + .put(additionalOptions__.getKey(), additionalOptions__.getValue()); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -794,8 +992,7 @@ private Relation( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { dependencyTargets_ = java.util.Collections.unmodifiableList(dependencyTargets_); @@ -816,41 +1013,47 @@ private Relation( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 14: return internalGetAdditionalOptions(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.class, com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.Builder.class); + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.class, + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.Builder.class); } /** + * + * *
      * Indicates the type of this relation.
      * 
* - * Protobuf enum {@code google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType} + * Protobuf enum {@code + * google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType} */ - public enum RelationType - implements com.google.protobuf.ProtocolMessageEnum { + public enum RelationType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Default value. This value is unused.
        * 
@@ -859,6 +1062,8 @@ public enum RelationType */ RELATION_TYPE_UNSPECIFIED(0), /** + * + * *
        * The relation is a table.
        * 
@@ -867,6 +1072,8 @@ public enum RelationType */ TABLE(1), /** + * + * *
        * The relation is a view.
        * 
@@ -875,6 +1082,8 @@ public enum RelationType */ VIEW(2), /** + * + * *
        * The relation is an incrementalized table.
        * 
@@ -883,6 +1092,8 @@ public enum RelationType */ INCREMENTAL_TABLE(3), /** + * + * *
        * The relation is a materialized view.
        * 
@@ -894,6 +1105,8 @@ public enum RelationType ; /** + * + * *
        * Default value. This value is unused.
        * 
@@ -902,6 +1115,8 @@ public enum RelationType */ public static final int RELATION_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * The relation is a table.
        * 
@@ -910,6 +1125,8 @@ public enum RelationType */ public static final int TABLE_VALUE = 1; /** + * + * *
        * The relation is a view.
        * 
@@ -918,6 +1135,8 @@ public enum RelationType */ public static final int VIEW_VALUE = 2; /** + * + * *
        * The relation is an incrementalized table.
        * 
@@ -926,6 +1145,8 @@ public enum RelationType */ public static final int INCREMENTAL_TABLE_VALUE = 3; /** + * + * *
        * The relation is a materialized view.
        * 
@@ -934,7 +1155,6 @@ public enum RelationType */ public static final int MATERIALIZED_VIEW_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -959,51 +1179,55 @@ public static RelationType valueOf(int value) { */ public static RelationType forNumber(int value) { switch (value) { - case 0: return RELATION_TYPE_UNSPECIFIED; - case 1: return TABLE; - case 2: return VIEW; - case 3: return INCREMENTAL_TABLE; - case 4: return MATERIALIZED_VIEW; - default: return null; + case 0: + return RELATION_TYPE_UNSPECIFIED; + case 1: + return TABLE; + case 2: + return VIEW; + case 3: + return INCREMENTAL_TABLE; + case 4: + return MATERIALIZED_VIEW; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - RelationType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RelationType findValueByNumber(int number) { - return RelationType.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RelationType findValueByNumber(int number) { + return RelationType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.getDescriptor() + .getEnumTypes() + .get(0); } private static final RelationType[] VALUES = values(); - public static RelationType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static RelationType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -1020,43 +1244,54 @@ private RelationType(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType) } - public interface IncrementalTableConfigOrBuilder extends + public interface IncrementalTableConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * The SELECT query which returns rows which should be inserted into the
        * relation if it already exists and is not being refreshed.
        * 
* * string incremental_select_query = 1; + * * @return The incrementalSelectQuery. */ java.lang.String getIncrementalSelectQuery(); /** + * + * *
        * The SELECT query which returns rows which should be inserted into the
        * relation if it already exists and is not being refreshed.
        * 
* * string incremental_select_query = 1; + * * @return The bytes for incrementalSelectQuery. */ - com.google.protobuf.ByteString - getIncrementalSelectQueryBytes(); + com.google.protobuf.ByteString getIncrementalSelectQueryBytes(); /** + * + * *
        * Whether this table should be protected from being refreshed.
        * 
* * bool refresh_disabled = 2; + * * @return The refreshDisabled. */ boolean getRefreshDisabled(); /** + * + * *
        * A set of columns or SQL expressions used to define row uniqueness.
        * If any duplicates are discovered (as defined by `unique_key_parts`),
@@ -1065,11 +1300,13 @@ public interface IncrementalTableConfigOrBuilder extends
        * 
* * repeated string unique_key_parts = 3; + * * @return A list containing the uniqueKeyParts. */ - java.util.List - getUniqueKeyPartsList(); + java.util.List getUniqueKeyPartsList(); /** + * + * *
        * A set of columns or SQL expressions used to define row uniqueness.
        * If any duplicates are discovered (as defined by `unique_key_parts`),
@@ -1078,10 +1315,13 @@ public interface IncrementalTableConfigOrBuilder extends
        * 
* * repeated string unique_key_parts = 3; + * * @return The count of uniqueKeyParts. */ int getUniqueKeyPartsCount(); /** + * + * *
        * A set of columns or SQL expressions used to define row uniqueness.
        * If any duplicates are discovered (as defined by `unique_key_parts`),
@@ -1090,11 +1330,14 @@ public interface IncrementalTableConfigOrBuilder extends
        * 
* * repeated string unique_key_parts = 3; + * * @param index The index of the element to return. * @return The uniqueKeyParts at the given index. */ java.lang.String getUniqueKeyParts(int index); /** + * + * *
        * A set of columns or SQL expressions used to define row uniqueness.
        * If any duplicates are discovered (as defined by `unique_key_parts`),
@@ -1103,13 +1346,15 @@ public interface IncrementalTableConfigOrBuilder extends
        * 
* * repeated string unique_key_parts = 3; + * * @param index The index of the value to return. * @return The bytes of the uniqueKeyParts at the given index. */ - com.google.protobuf.ByteString - getUniqueKeyPartsBytes(int index); + com.google.protobuf.ByteString getUniqueKeyPartsBytes(int index); /** + * + * *
        * A SQL expression conditional used to limit the set of existing rows
        * considered for a merge operation (see `unique_key_parts` for more
@@ -1117,10 +1362,13 @@ public interface IncrementalTableConfigOrBuilder extends
        * 
* * string update_partition_filter = 4; + * * @return The updatePartitionFilter. */ java.lang.String getUpdatePartitionFilter(); /** + * + * *
        * A SQL expression conditional used to limit the set of existing rows
        * considered for a merge operation (see `unique_key_parts` for more
@@ -1128,117 +1376,141 @@ public interface IncrementalTableConfigOrBuilder extends
        * 
* * string update_partition_filter = 4; + * * @return The bytes for updatePartitionFilter. */ - com.google.protobuf.ByteString - getUpdatePartitionFilterBytes(); + com.google.protobuf.ByteString getUpdatePartitionFilterBytes(); /** + * + * *
        * SQL statements to be executed before inserting new rows into the
        * relation.
        * 
* * repeated string incremental_pre_operations = 5; + * * @return A list containing the incrementalPreOperations. */ - java.util.List - getIncrementalPreOperationsList(); + java.util.List getIncrementalPreOperationsList(); /** + * + * *
        * SQL statements to be executed before inserting new rows into the
        * relation.
        * 
* * repeated string incremental_pre_operations = 5; + * * @return The count of incrementalPreOperations. */ int getIncrementalPreOperationsCount(); /** + * + * *
        * SQL statements to be executed before inserting new rows into the
        * relation.
        * 
* * repeated string incremental_pre_operations = 5; + * * @param index The index of the element to return. * @return The incrementalPreOperations at the given index. */ java.lang.String getIncrementalPreOperations(int index); /** + * + * *
        * SQL statements to be executed before inserting new rows into the
        * relation.
        * 
* * repeated string incremental_pre_operations = 5; + * * @param index The index of the value to return. * @return The bytes of the incrementalPreOperations at the given index. */ - com.google.protobuf.ByteString - getIncrementalPreOperationsBytes(int index); + com.google.protobuf.ByteString getIncrementalPreOperationsBytes(int index); /** + * + * *
        * SQL statements to be executed after inserting new rows into the
        * relation.
        * 
* * repeated string incremental_post_operations = 6; + * * @return A list containing the incrementalPostOperations. */ - java.util.List - getIncrementalPostOperationsList(); + java.util.List getIncrementalPostOperationsList(); /** + * + * *
        * SQL statements to be executed after inserting new rows into the
        * relation.
        * 
* * repeated string incremental_post_operations = 6; + * * @return The count of incrementalPostOperations. */ int getIncrementalPostOperationsCount(); /** + * + * *
        * SQL statements to be executed after inserting new rows into the
        * relation.
        * 
* * repeated string incremental_post_operations = 6; + * * @param index The index of the element to return. * @return The incrementalPostOperations at the given index. */ java.lang.String getIncrementalPostOperations(int index); /** + * + * *
        * SQL statements to be executed after inserting new rows into the
        * relation.
        * 
* * repeated string incremental_post_operations = 6; + * * @param index The index of the value to return. * @return The bytes of the incrementalPostOperations at the given index. */ - com.google.protobuf.ByteString - getIncrementalPostOperationsBytes(int index); + com.google.protobuf.ByteString getIncrementalPostOperationsBytes(int index); } /** + * + * *
      * Contains settings for relations of type `INCREMENTAL_TABLE`.
      * 
* - * Protobuf type {@code google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig} + * Protobuf type {@code + * google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig} */ - public static final class IncrementalTableConfig extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class IncrementalTableConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig) IncrementalTableConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IncrementalTableConfig.newBuilder() to construct. private IncrementalTableConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private IncrementalTableConfig() { incrementalSelectQuery_ = ""; uniqueKeyParts_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -1249,16 +1521,15 @@ private IncrementalTableConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new IncrementalTableConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private IncrementalTableConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1278,57 +1549,62 @@ private IncrementalTableConfig( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - incrementalSelectQuery_ = s; - break; - } - case 16: { - - refreshDisabled_ = input.readBool(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - uniqueKeyParts_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + incrementalSelectQuery_ = s; + break; } - uniqueKeyParts_.add(s); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + case 16: + { + refreshDisabled_ = input.readBool(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + uniqueKeyParts_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + uniqueKeyParts_.add(s); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - updatePartitionFilter_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - incrementalPreOperations_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + updatePartitionFilter_ = s; + break; } - incrementalPreOperations_.add(s); - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - incrementalPostOperations_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000004; + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + incrementalPreOperations_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + incrementalPreOperations_.add(s); + break; } - incrementalPostOperations_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + incrementalPostOperations_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000004; + } + incrementalPostOperations_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1336,8 +1612,8 @@ private IncrementalTableConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { uniqueKeyParts_ = uniqueKeyParts_.getUnmodifiableView(); @@ -1352,28 +1628,36 @@ private IncrementalTableConfig( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_IncrementalTableConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_IncrementalTableConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_IncrementalTableConfig_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_IncrementalTableConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig.class, com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig.Builder.class); + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfig.class, + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfig.Builder.class); } public static final int INCREMENTAL_SELECT_QUERY_FIELD_NUMBER = 1; private volatile java.lang.Object incrementalSelectQuery_; /** + * + * *
        * The SELECT query which returns rows which should be inserted into the
        * relation if it already exists and is not being refreshed.
        * 
* * string incremental_select_query = 1; + * * @return The incrementalSelectQuery. */ @java.lang.Override @@ -1382,30 +1666,30 @@ public java.lang.String getIncrementalSelectQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); incrementalSelectQuery_ = s; return s; } } /** + * + * *
        * The SELECT query which returns rows which should be inserted into the
        * relation if it already exists and is not being refreshed.
        * 
* * string incremental_select_query = 1; + * * @return The bytes for incrementalSelectQuery. */ @java.lang.Override - public com.google.protobuf.ByteString - getIncrementalSelectQueryBytes() { + public com.google.protobuf.ByteString getIncrementalSelectQueryBytes() { java.lang.Object ref = incrementalSelectQuery_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); incrementalSelectQuery_ = b; return b; } else { @@ -1416,11 +1700,14 @@ public java.lang.String getIncrementalSelectQuery() { public static final int REFRESH_DISABLED_FIELD_NUMBER = 2; private boolean refreshDisabled_; /** + * + * *
        * Whether this table should be protected from being refreshed.
        * 
* * bool refresh_disabled = 2; + * * @return The refreshDisabled. */ @java.lang.Override @@ -1431,6 +1718,8 @@ public boolean getRefreshDisabled() { public static final int UNIQUE_KEY_PARTS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList uniqueKeyParts_; /** + * + * *
        * A set of columns or SQL expressions used to define row uniqueness.
        * If any duplicates are discovered (as defined by `unique_key_parts`),
@@ -1439,13 +1728,15 @@ public boolean getRefreshDisabled() {
        * 
* * repeated string unique_key_parts = 3; + * * @return A list containing the uniqueKeyParts. */ - public com.google.protobuf.ProtocolStringList - getUniqueKeyPartsList() { + public com.google.protobuf.ProtocolStringList getUniqueKeyPartsList() { return uniqueKeyParts_; } /** + * + * *
        * A set of columns or SQL expressions used to define row uniqueness.
        * If any duplicates are discovered (as defined by `unique_key_parts`),
@@ -1454,12 +1745,15 @@ public boolean getRefreshDisabled() {
        * 
* * repeated string unique_key_parts = 3; + * * @return The count of uniqueKeyParts. */ public int getUniqueKeyPartsCount() { return uniqueKeyParts_.size(); } /** + * + * *
        * A set of columns or SQL expressions used to define row uniqueness.
        * If any duplicates are discovered (as defined by `unique_key_parts`),
@@ -1468,6 +1762,7 @@ public int getUniqueKeyPartsCount() {
        * 
* * repeated string unique_key_parts = 3; + * * @param index The index of the element to return. * @return The uniqueKeyParts at the given index. */ @@ -1475,6 +1770,8 @@ public java.lang.String getUniqueKeyParts(int index) { return uniqueKeyParts_.get(index); } /** + * + * *
        * A set of columns or SQL expressions used to define row uniqueness.
        * If any duplicates are discovered (as defined by `unique_key_parts`),
@@ -1483,17 +1780,19 @@ public java.lang.String getUniqueKeyParts(int index) {
        * 
* * repeated string unique_key_parts = 3; + * * @param index The index of the value to return. * @return The bytes of the uniqueKeyParts at the given index. */ - public com.google.protobuf.ByteString - getUniqueKeyPartsBytes(int index) { + public com.google.protobuf.ByteString getUniqueKeyPartsBytes(int index) { return uniqueKeyParts_.getByteString(index); } public static final int UPDATE_PARTITION_FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object updatePartitionFilter_; /** + * + * *
        * A SQL expression conditional used to limit the set of existing rows
        * considered for a merge operation (see `unique_key_parts` for more
@@ -1501,6 +1800,7 @@ public java.lang.String getUniqueKeyParts(int index) {
        * 
* * string update_partition_filter = 4; + * * @return The updatePartitionFilter. */ @java.lang.Override @@ -1509,14 +1809,15 @@ public java.lang.String getUpdatePartitionFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); updatePartitionFilter_ = s; return s; } } /** + * + * *
        * A SQL expression conditional used to limit the set of existing rows
        * considered for a merge operation (see `unique_key_parts` for more
@@ -1524,16 +1825,15 @@ public java.lang.String getUpdatePartitionFilter() {
        * 
* * string update_partition_filter = 4; + * * @return The bytes for updatePartitionFilter. */ @java.lang.Override - public com.google.protobuf.ByteString - getUpdatePartitionFilterBytes() { + public com.google.protobuf.ByteString getUpdatePartitionFilterBytes() { java.lang.Object ref = updatePartitionFilter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); updatePartitionFilter_ = b; return b; } else { @@ -1544,37 +1844,45 @@ public java.lang.String getUpdatePartitionFilter() { public static final int INCREMENTAL_PRE_OPERATIONS_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList incrementalPreOperations_; /** + * + * *
        * SQL statements to be executed before inserting new rows into the
        * relation.
        * 
* * repeated string incremental_pre_operations = 5; + * * @return A list containing the incrementalPreOperations. */ - public com.google.protobuf.ProtocolStringList - getIncrementalPreOperationsList() { + public com.google.protobuf.ProtocolStringList getIncrementalPreOperationsList() { return incrementalPreOperations_; } /** + * + * *
        * SQL statements to be executed before inserting new rows into the
        * relation.
        * 
* * repeated string incremental_pre_operations = 5; + * * @return The count of incrementalPreOperations. */ public int getIncrementalPreOperationsCount() { return incrementalPreOperations_.size(); } /** + * + * *
        * SQL statements to be executed before inserting new rows into the
        * relation.
        * 
* * repeated string incremental_pre_operations = 5; + * * @param index The index of the element to return. * @return The incrementalPreOperations at the given index. */ @@ -1582,54 +1890,64 @@ public java.lang.String getIncrementalPreOperations(int index) { return incrementalPreOperations_.get(index); } /** + * + * *
        * SQL statements to be executed before inserting new rows into the
        * relation.
        * 
* * repeated string incremental_pre_operations = 5; + * * @param index The index of the value to return. * @return The bytes of the incrementalPreOperations at the given index. */ - public com.google.protobuf.ByteString - getIncrementalPreOperationsBytes(int index) { + public com.google.protobuf.ByteString getIncrementalPreOperationsBytes(int index) { return incrementalPreOperations_.getByteString(index); } public static final int INCREMENTAL_POST_OPERATIONS_FIELD_NUMBER = 6; private com.google.protobuf.LazyStringList incrementalPostOperations_; /** + * + * *
        * SQL statements to be executed after inserting new rows into the
        * relation.
        * 
* * repeated string incremental_post_operations = 6; + * * @return A list containing the incrementalPostOperations. */ - public com.google.protobuf.ProtocolStringList - getIncrementalPostOperationsList() { + public com.google.protobuf.ProtocolStringList getIncrementalPostOperationsList() { return incrementalPostOperations_; } /** + * + * *
        * SQL statements to be executed after inserting new rows into the
        * relation.
        * 
* * repeated string incremental_post_operations = 6; + * * @return The count of incrementalPostOperations. */ public int getIncrementalPostOperationsCount() { return incrementalPostOperations_.size(); } /** + * + * *
        * SQL statements to be executed after inserting new rows into the
        * relation.
        * 
* * repeated string incremental_post_operations = 6; + * * @param index The index of the element to return. * @return The incrementalPostOperations at the given index. */ @@ -1637,21 +1955,24 @@ public java.lang.String getIncrementalPostOperations(int index) { return incrementalPostOperations_.get(index); } /** + * + * *
        * SQL statements to be executed after inserting new rows into the
        * relation.
        * 
* * repeated string incremental_post_operations = 6; + * * @param index The index of the value to return. * @return The bytes of the incrementalPostOperations at the given index. */ - public com.google.protobuf.ByteString - getIncrementalPostOperationsBytes(int index) { + public com.google.protobuf.ByteString getIncrementalPostOperationsBytes(int index) { return incrementalPostOperations_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1663,8 +1984,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(incrementalSelectQuery_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, incrementalSelectQuery_); } @@ -1678,10 +1998,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 4, updatePartitionFilter_); } for (int i = 0; i < incrementalPreOperations_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, incrementalPreOperations_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 5, incrementalPreOperations_.getRaw(i)); } for (int i = 0; i < incrementalPostOperations_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 6, incrementalPostOperations_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 6, incrementalPostOperations_.getRaw(i)); } unknownFields.writeTo(output); } @@ -1693,11 +2015,11 @@ public int getSerializedSize() { size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(incrementalSelectQuery_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, incrementalSelectQuery_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(1, incrementalSelectQuery_); } if (refreshDisabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, refreshDisabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, refreshDisabled_); } { int dataSize = 0; @@ -1708,7 +2030,8 @@ public int getSerializedSize() { size += 1 * getUniqueKeyPartsList().size(); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(updatePartitionFilter_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, updatePartitionFilter_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(4, updatePartitionFilter_); } { int dataSize = 0; @@ -1734,25 +2057,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig)) { + if (!(obj + instanceof + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfig)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig other = (com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig) obj; - - if (!getIncrementalSelectQuery() - .equals(other.getIncrementalSelectQuery())) return false; - if (getRefreshDisabled() - != other.getRefreshDisabled()) return false; - if (!getUniqueKeyPartsList() - .equals(other.getUniqueKeyPartsList())) return false; - if (!getUpdatePartitionFilter() - .equals(other.getUpdatePartitionFilter())) return false; - if (!getIncrementalPreOperationsList() - .equals(other.getIncrementalPreOperationsList())) return false; - if (!getIncrementalPostOperationsList() - .equals(other.getIncrementalPostOperationsList())) return false; + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig + other = + (com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfig) + obj; + + if (!getIncrementalSelectQuery().equals(other.getIncrementalSelectQuery())) return false; + if (getRefreshDisabled() != other.getRefreshDisabled()) return false; + if (!getUniqueKeyPartsList().equals(other.getUniqueKeyPartsList())) return false; + if (!getUpdatePartitionFilter().equals(other.getUpdatePartitionFilter())) return false; + if (!getIncrementalPreOperationsList().equals(other.getIncrementalPreOperationsList())) + return false; + if (!getIncrementalPostOperationsList().equals(other.getIncrementalPostOperationsList())) + return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1767,8 +2093,7 @@ public int hashCode() { hash = (37 * hash) + INCREMENTAL_SELECT_QUERY_FIELD_NUMBER; hash = (53 * hash) + getIncrementalSelectQuery().hashCode(); hash = (37 * hash) + REFRESH_DISABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRefreshDisabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRefreshDisabled()); if (getUniqueKeyPartsCount() > 0) { hash = (37 * hash) + UNIQUE_KEY_PARTS_FIELD_NUMBER; hash = (53 * hash) + getUniqueKeyPartsList().hashCode(); @@ -1788,88 +2113,116 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfig + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfig + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfig + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfig + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfig + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfig + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfig + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfig + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfig + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfig + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfig + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1879,44 +2232,53 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * Contains settings for relations of type `INCREMENTAL_TABLE`.
        * 
* - * Protobuf type {@code google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig} + * Protobuf type {@code + * google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig) - com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_IncrementalTableConfig_descriptor; + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_IncrementalTableConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_IncrementalTableConfig_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_IncrementalTableConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig.class, com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig.Builder.class); + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfig.class, + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfig.Builder.class); } - // Construct using com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig.newBuilder() + // Construct using + // com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1936,19 +2298,25 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_IncrementalTableConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_IncrementalTableConfig_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig getDefaultInstanceForType() { - return com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig.getDefaultInstance(); + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfig + getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfig.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig build() { - com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig result = buildPartial(); + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfig + build() { + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1956,8 +2324,13 @@ public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.Increm } @java.lang.Override - public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig buildPartial() { - com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig result = new com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig(this); + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfig + buildPartial() { + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig + result = + new com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfig(this); int from_bitField0_ = bitField0_; result.incrementalSelectQuery_ = incrementalSelectQuery_; result.refreshDisabled_ = refreshDisabled_; @@ -1985,46 +2358,60 @@ public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.Increm public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig) { - return mergeFrom((com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig)other); + if (other + instanceof + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfig) { + return mergeFrom( + (com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfig) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig other) { - if (other == com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfig + other) { + if (other + == com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfig.getDefaultInstance()) return this; if (!other.getIncrementalSelectQuery().isEmpty()) { incrementalSelectQuery_ = other.incrementalSelectQuery_; onChanged(); @@ -2081,11 +2468,15 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig parsedMessage = null; + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2094,23 +2485,26 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object incrementalSelectQuery_ = ""; /** + * + * *
          * The SELECT query which returns rows which should be inserted into the
          * relation if it already exists and is not being refreshed.
          * 
* * string incremental_select_query = 1; + * * @return The incrementalSelectQuery. */ public java.lang.String getIncrementalSelectQuery() { java.lang.Object ref = incrementalSelectQuery_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); incrementalSelectQuery_ = s; return s; @@ -2119,21 +2513,22 @@ public java.lang.String getIncrementalSelectQuery() { } } /** + * + * *
          * The SELECT query which returns rows which should be inserted into the
          * relation if it already exists and is not being refreshed.
          * 
* * string incremental_select_query = 1; + * * @return The bytes for incrementalSelectQuery. */ - public com.google.protobuf.ByteString - getIncrementalSelectQueryBytes() { + public com.google.protobuf.ByteString getIncrementalSelectQueryBytes() { java.lang.Object ref = incrementalSelectQuery_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); incrementalSelectQuery_ = b; return b; } else { @@ -2141,69 +2536,79 @@ public java.lang.String getIncrementalSelectQuery() { } } /** + * + * *
          * The SELECT query which returns rows which should be inserted into the
          * relation if it already exists and is not being refreshed.
          * 
* * string incremental_select_query = 1; + * * @param value The incrementalSelectQuery to set. * @return This builder for chaining. */ - public Builder setIncrementalSelectQuery( - java.lang.String value) { + public Builder setIncrementalSelectQuery(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + incrementalSelectQuery_ = value; onChanged(); return this; } /** + * + * *
          * The SELECT query which returns rows which should be inserted into the
          * relation if it already exists and is not being refreshed.
          * 
* * string incremental_select_query = 1; + * * @return This builder for chaining. */ public Builder clearIncrementalSelectQuery() { - + incrementalSelectQuery_ = getDefaultInstance().getIncrementalSelectQuery(); onChanged(); return this; } /** + * + * *
          * The SELECT query which returns rows which should be inserted into the
          * relation if it already exists and is not being refreshed.
          * 
* * string incremental_select_query = 1; + * * @param value The bytes for incrementalSelectQuery to set. * @return This builder for chaining. */ - public Builder setIncrementalSelectQueryBytes( - com.google.protobuf.ByteString value) { + public Builder setIncrementalSelectQueryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + incrementalSelectQuery_ = value; onChanged(); return this; } - private boolean refreshDisabled_ ; + private boolean refreshDisabled_; /** + * + * *
          * Whether this table should be protected from being refreshed.
          * 
* * bool refresh_disabled = 2; + * * @return The refreshDisabled. */ @java.lang.Override @@ -2211,43 +2616,53 @@ public boolean getRefreshDisabled() { return refreshDisabled_; } /** + * + * *
          * Whether this table should be protected from being refreshed.
          * 
* * bool refresh_disabled = 2; + * * @param value The refreshDisabled to set. * @return This builder for chaining. */ public Builder setRefreshDisabled(boolean value) { - + refreshDisabled_ = value; onChanged(); return this; } /** + * + * *
          * Whether this table should be protected from being refreshed.
          * 
* * bool refresh_disabled = 2; + * * @return This builder for chaining. */ public Builder clearRefreshDisabled() { - + refreshDisabled_ = false; onChanged(); return this; } - private com.google.protobuf.LazyStringList uniqueKeyParts_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList uniqueKeyParts_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUniqueKeyPartsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { uniqueKeyParts_ = new com.google.protobuf.LazyStringArrayList(uniqueKeyParts_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
          * A set of columns or SQL expressions used to define row uniqueness.
          * If any duplicates are discovered (as defined by `unique_key_parts`),
@@ -2256,13 +2671,15 @@ private void ensureUniqueKeyPartsIsMutable() {
          * 
* * repeated string unique_key_parts = 3; + * * @return A list containing the uniqueKeyParts. */ - public com.google.protobuf.ProtocolStringList - getUniqueKeyPartsList() { + public com.google.protobuf.ProtocolStringList getUniqueKeyPartsList() { return uniqueKeyParts_.getUnmodifiableView(); } /** + * + * *
          * A set of columns or SQL expressions used to define row uniqueness.
          * If any duplicates are discovered (as defined by `unique_key_parts`),
@@ -2271,12 +2688,15 @@ private void ensureUniqueKeyPartsIsMutable() {
          * 
* * repeated string unique_key_parts = 3; + * * @return The count of uniqueKeyParts. */ public int getUniqueKeyPartsCount() { return uniqueKeyParts_.size(); } /** + * + * *
          * A set of columns or SQL expressions used to define row uniqueness.
          * If any duplicates are discovered (as defined by `unique_key_parts`),
@@ -2285,6 +2705,7 @@ public int getUniqueKeyPartsCount() {
          * 
* * repeated string unique_key_parts = 3; + * * @param index The index of the element to return. * @return The uniqueKeyParts at the given index. */ @@ -2292,6 +2713,8 @@ public java.lang.String getUniqueKeyParts(int index) { return uniqueKeyParts_.get(index); } /** + * + * *
          * A set of columns or SQL expressions used to define row uniqueness.
          * If any duplicates are discovered (as defined by `unique_key_parts`),
@@ -2300,14 +2723,16 @@ public java.lang.String getUniqueKeyParts(int index) {
          * 
* * repeated string unique_key_parts = 3; + * * @param index The index of the value to return. * @return The bytes of the uniqueKeyParts at the given index. */ - public com.google.protobuf.ByteString - getUniqueKeyPartsBytes(int index) { + public com.google.protobuf.ByteString getUniqueKeyPartsBytes(int index) { return uniqueKeyParts_.getByteString(index); } /** + * + * *
          * A set of columns or SQL expressions used to define row uniqueness.
          * If any duplicates are discovered (as defined by `unique_key_parts`),
@@ -2316,21 +2741,23 @@ public java.lang.String getUniqueKeyParts(int index) {
          * 
* * repeated string unique_key_parts = 3; + * * @param index The index to set the value at. * @param value The uniqueKeyParts to set. * @return This builder for chaining. */ - public Builder setUniqueKeyParts( - int index, java.lang.String value) { + public Builder setUniqueKeyParts(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUniqueKeyPartsIsMutable(); + throw new NullPointerException(); + } + ensureUniqueKeyPartsIsMutable(); uniqueKeyParts_.set(index, value); onChanged(); return this; } /** + * + * *
          * A set of columns or SQL expressions used to define row uniqueness.
          * If any duplicates are discovered (as defined by `unique_key_parts`),
@@ -2339,20 +2766,22 @@ public Builder setUniqueKeyParts(
          * 
* * repeated string unique_key_parts = 3; + * * @param value The uniqueKeyParts to add. * @return This builder for chaining. */ - public Builder addUniqueKeyParts( - java.lang.String value) { + public Builder addUniqueKeyParts(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUniqueKeyPartsIsMutable(); + throw new NullPointerException(); + } + ensureUniqueKeyPartsIsMutable(); uniqueKeyParts_.add(value); onChanged(); return this; } /** + * + * *
          * A set of columns or SQL expressions used to define row uniqueness.
          * If any duplicates are discovered (as defined by `unique_key_parts`),
@@ -2361,18 +2790,19 @@ public Builder addUniqueKeyParts(
          * 
* * repeated string unique_key_parts = 3; + * * @param values The uniqueKeyParts to add. * @return This builder for chaining. */ - public Builder addAllUniqueKeyParts( - java.lang.Iterable values) { + public Builder addAllUniqueKeyParts(java.lang.Iterable values) { ensureUniqueKeyPartsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, uniqueKeyParts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uniqueKeyParts_); onChanged(); return this; } /** + * + * *
          * A set of columns or SQL expressions used to define row uniqueness.
          * If any duplicates are discovered (as defined by `unique_key_parts`),
@@ -2381,6 +2811,7 @@ public Builder addAllUniqueKeyParts(
          * 
* * repeated string unique_key_parts = 3; + * * @return This builder for chaining. */ public Builder clearUniqueKeyParts() { @@ -2390,6 +2821,8 @@ public Builder clearUniqueKeyParts() { return this; } /** + * + * *
          * A set of columns or SQL expressions used to define row uniqueness.
          * If any duplicates are discovered (as defined by `unique_key_parts`),
@@ -2398,15 +2831,15 @@ public Builder clearUniqueKeyParts() {
          * 
* * repeated string unique_key_parts = 3; + * * @param value The bytes of the uniqueKeyParts to add. * @return This builder for chaining. */ - public Builder addUniqueKeyPartsBytes( - com.google.protobuf.ByteString value) { + public Builder addUniqueKeyPartsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUniqueKeyPartsIsMutable(); uniqueKeyParts_.add(value); onChanged(); @@ -2415,6 +2848,8 @@ public Builder addUniqueKeyPartsBytes( private java.lang.Object updatePartitionFilter_ = ""; /** + * + * *
          * A SQL expression conditional used to limit the set of existing rows
          * considered for a merge operation (see `unique_key_parts` for more
@@ -2422,13 +2857,13 @@ public Builder addUniqueKeyPartsBytes(
          * 
* * string update_partition_filter = 4; + * * @return The updatePartitionFilter. */ public java.lang.String getUpdatePartitionFilter() { java.lang.Object ref = updatePartitionFilter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); updatePartitionFilter_ = s; return s; @@ -2437,6 +2872,8 @@ public java.lang.String getUpdatePartitionFilter() { } } /** + * + * *
          * A SQL expression conditional used to limit the set of existing rows
          * considered for a merge operation (see `unique_key_parts` for more
@@ -2444,15 +2881,14 @@ public java.lang.String getUpdatePartitionFilter() {
          * 
* * string update_partition_filter = 4; + * * @return The bytes for updatePartitionFilter. */ - public com.google.protobuf.ByteString - getUpdatePartitionFilterBytes() { + public com.google.protobuf.ByteString getUpdatePartitionFilterBytes() { java.lang.Object ref = updatePartitionFilter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); updatePartitionFilter_ = b; return b; } else { @@ -2460,6 +2896,8 @@ public java.lang.String getUpdatePartitionFilter() { } } /** + * + * *
          * A SQL expression conditional used to limit the set of existing rows
          * considered for a merge operation (see `unique_key_parts` for more
@@ -2467,20 +2905,22 @@ public java.lang.String getUpdatePartitionFilter() {
          * 
* * string update_partition_filter = 4; + * * @param value The updatePartitionFilter to set. * @return This builder for chaining. */ - public Builder setUpdatePartitionFilter( - java.lang.String value) { + public Builder setUpdatePartitionFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + updatePartitionFilter_ = value; onChanged(); return this; } /** + * + * *
          * A SQL expression conditional used to limit the set of existing rows
          * considered for a merge operation (see `unique_key_parts` for more
@@ -2488,15 +2928,18 @@ public Builder setUpdatePartitionFilter(
          * 
* * string update_partition_filter = 4; + * * @return This builder for chaining. */ public Builder clearUpdatePartitionFilter() { - + updatePartitionFilter_ = getDefaultInstance().getUpdatePartitionFilter(); onChanged(); return this; } /** + * + * *
          * A SQL expression conditional used to limit the set of existing rows
          * considered for a merge operation (see `unique_key_parts` for more
@@ -2504,60 +2947,71 @@ public Builder clearUpdatePartitionFilter() {
          * 
* * string update_partition_filter = 4; + * * @param value The bytes for updatePartitionFilter to set. * @return This builder for chaining. */ - public Builder setUpdatePartitionFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setUpdatePartitionFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + updatePartitionFilter_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList incrementalPreOperations_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList incrementalPreOperations_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureIncrementalPreOperationsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - incrementalPreOperations_ = new com.google.protobuf.LazyStringArrayList(incrementalPreOperations_); + incrementalPreOperations_ = + new com.google.protobuf.LazyStringArrayList(incrementalPreOperations_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
          * SQL statements to be executed before inserting new rows into the
          * relation.
          * 
* * repeated string incremental_pre_operations = 5; + * * @return A list containing the incrementalPreOperations. */ - public com.google.protobuf.ProtocolStringList - getIncrementalPreOperationsList() { + public com.google.protobuf.ProtocolStringList getIncrementalPreOperationsList() { return incrementalPreOperations_.getUnmodifiableView(); } /** + * + * *
          * SQL statements to be executed before inserting new rows into the
          * relation.
          * 
* * repeated string incremental_pre_operations = 5; + * * @return The count of incrementalPreOperations. */ public int getIncrementalPreOperationsCount() { return incrementalPreOperations_.size(); } /** + * + * *
          * SQL statements to be executed before inserting new rows into the
          * relation.
          * 
* * repeated string incremental_pre_operations = 5; + * * @param index The index of the element to return. * @return The incrementalPreOperations at the given index. */ @@ -2565,85 +3019,95 @@ public java.lang.String getIncrementalPreOperations(int index) { return incrementalPreOperations_.get(index); } /** + * + * *
          * SQL statements to be executed before inserting new rows into the
          * relation.
          * 
* * repeated string incremental_pre_operations = 5; + * * @param index The index of the value to return. * @return The bytes of the incrementalPreOperations at the given index. */ - public com.google.protobuf.ByteString - getIncrementalPreOperationsBytes(int index) { + public com.google.protobuf.ByteString getIncrementalPreOperationsBytes(int index) { return incrementalPreOperations_.getByteString(index); } /** + * + * *
          * SQL statements to be executed before inserting new rows into the
          * relation.
          * 
* * repeated string incremental_pre_operations = 5; + * * @param index The index to set the value at. * @param value The incrementalPreOperations to set. * @return This builder for chaining. */ - public Builder setIncrementalPreOperations( - int index, java.lang.String value) { + public Builder setIncrementalPreOperations(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIncrementalPreOperationsIsMutable(); + throw new NullPointerException(); + } + ensureIncrementalPreOperationsIsMutable(); incrementalPreOperations_.set(index, value); onChanged(); return this; } /** + * + * *
          * SQL statements to be executed before inserting new rows into the
          * relation.
          * 
* * repeated string incremental_pre_operations = 5; + * * @param value The incrementalPreOperations to add. * @return This builder for chaining. */ - public Builder addIncrementalPreOperations( - java.lang.String value) { + public Builder addIncrementalPreOperations(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIncrementalPreOperationsIsMutable(); + throw new NullPointerException(); + } + ensureIncrementalPreOperationsIsMutable(); incrementalPreOperations_.add(value); onChanged(); return this; } /** + * + * *
          * SQL statements to be executed before inserting new rows into the
          * relation.
          * 
* * repeated string incremental_pre_operations = 5; + * * @param values The incrementalPreOperations to add. * @return This builder for chaining. */ - public Builder addAllIncrementalPreOperations( - java.lang.Iterable values) { + public Builder addAllIncrementalPreOperations(java.lang.Iterable values) { ensureIncrementalPreOperationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, incrementalPreOperations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, incrementalPreOperations_); onChanged(); return this; } /** + * + * *
          * SQL statements to be executed before inserting new rows into the
          * relation.
          * 
* * repeated string incremental_pre_operations = 5; + * * @return This builder for chaining. */ public Builder clearIncrementalPreOperations() { @@ -2653,66 +3117,79 @@ public Builder clearIncrementalPreOperations() { return this; } /** + * + * *
          * SQL statements to be executed before inserting new rows into the
          * relation.
          * 
* * repeated string incremental_pre_operations = 5; + * * @param value The bytes of the incrementalPreOperations to add. * @return This builder for chaining. */ - public Builder addIncrementalPreOperationsBytes( - com.google.protobuf.ByteString value) { + public Builder addIncrementalPreOperationsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureIncrementalPreOperationsIsMutable(); incrementalPreOperations_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList incrementalPostOperations_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList incrementalPostOperations_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureIncrementalPostOperationsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - incrementalPostOperations_ = new com.google.protobuf.LazyStringArrayList(incrementalPostOperations_); + incrementalPostOperations_ = + new com.google.protobuf.LazyStringArrayList(incrementalPostOperations_); bitField0_ |= 0x00000004; - } + } } /** + * + * *
          * SQL statements to be executed after inserting new rows into the
          * relation.
          * 
* * repeated string incremental_post_operations = 6; + * * @return A list containing the incrementalPostOperations. */ - public com.google.protobuf.ProtocolStringList - getIncrementalPostOperationsList() { + public com.google.protobuf.ProtocolStringList getIncrementalPostOperationsList() { return incrementalPostOperations_.getUnmodifiableView(); } /** + * + * *
          * SQL statements to be executed after inserting new rows into the
          * relation.
          * 
* * repeated string incremental_post_operations = 6; + * * @return The count of incrementalPostOperations. */ public int getIncrementalPostOperationsCount() { return incrementalPostOperations_.size(); } /** + * + * *
          * SQL statements to be executed after inserting new rows into the
          * relation.
          * 
* * repeated string incremental_post_operations = 6; + * * @param index The index of the element to return. * @return The incrementalPostOperations at the given index. */ @@ -2720,67 +3197,76 @@ public java.lang.String getIncrementalPostOperations(int index) { return incrementalPostOperations_.get(index); } /** + * + * *
          * SQL statements to be executed after inserting new rows into the
          * relation.
          * 
* * repeated string incremental_post_operations = 6; + * * @param index The index of the value to return. * @return The bytes of the incrementalPostOperations at the given index. */ - public com.google.protobuf.ByteString - getIncrementalPostOperationsBytes(int index) { + public com.google.protobuf.ByteString getIncrementalPostOperationsBytes(int index) { return incrementalPostOperations_.getByteString(index); } /** + * + * *
          * SQL statements to be executed after inserting new rows into the
          * relation.
          * 
* * repeated string incremental_post_operations = 6; + * * @param index The index to set the value at. * @param value The incrementalPostOperations to set. * @return This builder for chaining. */ - public Builder setIncrementalPostOperations( - int index, java.lang.String value) { + public Builder setIncrementalPostOperations(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIncrementalPostOperationsIsMutable(); + throw new NullPointerException(); + } + ensureIncrementalPostOperationsIsMutable(); incrementalPostOperations_.set(index, value); onChanged(); return this; } /** + * + * *
          * SQL statements to be executed after inserting new rows into the
          * relation.
          * 
* * repeated string incremental_post_operations = 6; + * * @param value The incrementalPostOperations to add. * @return This builder for chaining. */ - public Builder addIncrementalPostOperations( - java.lang.String value) { + public Builder addIncrementalPostOperations(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIncrementalPostOperationsIsMutable(); + throw new NullPointerException(); + } + ensureIncrementalPostOperationsIsMutable(); incrementalPostOperations_.add(value); onChanged(); return this; } /** + * + * *
          * SQL statements to be executed after inserting new rows into the
          * relation.
          * 
* * repeated string incremental_post_operations = 6; + * * @param values The incrementalPostOperations to add. * @return This builder for chaining. */ @@ -2793,12 +3279,15 @@ public Builder addAllIncrementalPostOperations( return this; } /** + * + * *
          * SQL statements to be executed after inserting new rows into the
          * relation.
          * 
* * repeated string incremental_post_operations = 6; + * * @return This builder for chaining. */ public Builder clearIncrementalPostOperations() { @@ -2808,26 +3297,29 @@ public Builder clearIncrementalPostOperations() { return this; } /** + * + * *
          * SQL statements to be executed after inserting new rows into the
          * relation.
          * 
* * repeated string incremental_post_operations = 6; + * * @param value The bytes of the incrementalPostOperations to add. * @return This builder for chaining. */ - public Builder addIncrementalPostOperationsBytes( - com.google.protobuf.ByteString value) { + public Builder addIncrementalPostOperationsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureIncrementalPostOperationsIsMutable(); incrementalPostOperations_.add(value); onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2840,30 +3332,36 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig) - private static final com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfig + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig(); + DEFAULT_INSTANCE = + new com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfig(); } - public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig getDefaultInstance() { + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IncrementalTableConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new IncrementalTableConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IncrementalTableConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new IncrementalTableConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2875,15 +3373,18 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig getDefaultInstanceForType() { + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int DEPENDENCY_TARGETS_FIELD_NUMBER = 1; private java.util.List dependencyTargets_; /** + * + * *
      * A list of actions that this action depends on.
      * 
@@ -2895,6 +3396,8 @@ public java.util.List getDependencyTar return dependencyTargets_; } /** + * + * *
      * A list of actions that this action depends on.
      * 
@@ -2902,11 +3405,13 @@ public java.util.List getDependencyTar * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDependencyTargetsOrBuilderList() { return dependencyTargets_; } /** + * + * *
      * A list of actions that this action depends on.
      * 
@@ -2918,6 +3423,8 @@ public int getDependencyTargetsCount() { return dependencyTargets_.size(); } /** + * + * *
      * A list of actions that this action depends on.
      * 
@@ -2929,6 +3436,8 @@ public com.google.cloud.dataform.v1beta1.Target getDependencyTargets(int index) return dependencyTargets_.get(index); } /** + * + * *
      * A list of actions that this action depends on.
      * 
@@ -2944,11 +3453,14 @@ public com.google.cloud.dataform.v1beta1.TargetOrBuilder getDependencyTargetsOrB public static final int DISABLED_FIELD_NUMBER = 2; private boolean disabled_; /** + * + * *
      * Whether this action is disabled (i.e. should not be run).
      * 
* * bool disabled = 2; + * * @return The disabled. */ @java.lang.Override @@ -2959,34 +3471,42 @@ public boolean getDisabled() { public static final int TAGS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList tags_; /** + * + * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; + * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList - getTagsList() { + public com.google.protobuf.ProtocolStringList getTagsList() { return tags_; } /** + * + * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; + * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** + * + * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; + * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -2994,27 +3514,32 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** + * + * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; + * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString - getTagsBytes(int index) { + public com.google.protobuf.ByteString getTagsBytes(int index) { return tags_.getByteString(index); } public static final int RELATION_DESCRIPTOR_FIELD_NUMBER = 4; private com.google.cloud.dataform.v1beta1.RelationDescriptor relationDescriptor_; /** + * + * *
      * Descriptor for the relation and its columns.
      * 
* * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 4; + * * @return Whether the relationDescriptor field is set. */ @java.lang.Override @@ -3022,18 +3547,25 @@ public boolean hasRelationDescriptor() { return relationDescriptor_ != null; } /** + * + * *
      * Descriptor for the relation and its columns.
      * 
* * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 4; + * * @return The relationDescriptor. */ @java.lang.Override public com.google.cloud.dataform.v1beta1.RelationDescriptor getRelationDescriptor() { - return relationDescriptor_ == null ? com.google.cloud.dataform.v1beta1.RelationDescriptor.getDefaultInstance() : relationDescriptor_; + return relationDescriptor_ == null + ? com.google.cloud.dataform.v1beta1.RelationDescriptor.getDefaultInstance() + : relationDescriptor_; } /** + * + * *
      * Descriptor for the relation and its columns.
      * 
@@ -3041,45 +3573,67 @@ public com.google.cloud.dataform.v1beta1.RelationDescriptor getRelationDescripto * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 4; */ @java.lang.Override - public com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder getRelationDescriptorOrBuilder() { + public com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder + getRelationDescriptorOrBuilder() { return getRelationDescriptor(); } public static final int RELATION_TYPE_FIELD_NUMBER = 5; private int relationType_; /** + * + * *
      * The type of this relation.
      * 
* - * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType relation_type = 5; + * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType relation_type = 5; + * + * * @return The enum numeric value on the wire for relationType. */ - @java.lang.Override public int getRelationTypeValue() { + @java.lang.Override + public int getRelationTypeValue() { return relationType_; } /** + * + * *
      * The type of this relation.
      * 
* - * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType relation_type = 5; + * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType relation_type = 5; + * + * * @return The relationType. */ - @java.lang.Override public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType getRelationType() { + @java.lang.Override + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType + getRelationType() { @SuppressWarnings("deprecation") - com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType result = com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType.valueOf(relationType_); - return result == null ? com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType.UNRECOGNIZED : result; + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType result = + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType.valueOf( + relationType_); + return result == null + ? com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType + .UNRECOGNIZED + : result; } public static final int SELECT_QUERY_FIELD_NUMBER = 6; private volatile java.lang.Object selectQuery_; /** + * + * *
      * The SELECT query which returns rows which this relation should contain.
      * 
* * string select_query = 6; + * * @return The selectQuery. */ @java.lang.Override @@ -3088,29 +3642,29 @@ public java.lang.String getSelectQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); selectQuery_ = s; return s; } } /** + * + * *
      * The SELECT query which returns rows which this relation should contain.
      * 
* * string select_query = 6; + * * @return The bytes for selectQuery. */ @java.lang.Override - public com.google.protobuf.ByteString - getSelectQueryBytes() { + public com.google.protobuf.ByteString getSelectQueryBytes() { java.lang.Object ref = selectQuery_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); selectQuery_ = b; return b; } else { @@ -3121,34 +3675,42 @@ public java.lang.String getSelectQuery() { public static final int PRE_OPERATIONS_FIELD_NUMBER = 7; private com.google.protobuf.LazyStringList preOperations_; /** + * + * *
      * SQL statements to be executed before creating the relation.
      * 
* * repeated string pre_operations = 7; + * * @return A list containing the preOperations. */ - public com.google.protobuf.ProtocolStringList - getPreOperationsList() { + public com.google.protobuf.ProtocolStringList getPreOperationsList() { return preOperations_; } /** + * + * *
      * SQL statements to be executed before creating the relation.
      * 
* * repeated string pre_operations = 7; + * * @return The count of preOperations. */ public int getPreOperationsCount() { return preOperations_.size(); } /** + * + * *
      * SQL statements to be executed before creating the relation.
      * 
* * repeated string pre_operations = 7; + * * @param index The index of the element to return. * @return The preOperations at the given index. */ @@ -3156,50 +3718,60 @@ public java.lang.String getPreOperations(int index) { return preOperations_.get(index); } /** + * + * *
      * SQL statements to be executed before creating the relation.
      * 
* * repeated string pre_operations = 7; + * * @param index The index of the value to return. * @return The bytes of the preOperations at the given index. */ - public com.google.protobuf.ByteString - getPreOperationsBytes(int index) { + public com.google.protobuf.ByteString getPreOperationsBytes(int index) { return preOperations_.getByteString(index); } public static final int POST_OPERATIONS_FIELD_NUMBER = 8; private com.google.protobuf.LazyStringList postOperations_; /** + * + * *
      * SQL statements to be executed after creating the relation.
      * 
* * repeated string post_operations = 8; + * * @return A list containing the postOperations. */ - public com.google.protobuf.ProtocolStringList - getPostOperationsList() { + public com.google.protobuf.ProtocolStringList getPostOperationsList() { return postOperations_; } /** + * + * *
      * SQL statements to be executed after creating the relation.
      * 
* * repeated string post_operations = 8; + * * @return The count of postOperations. */ public int getPostOperationsCount() { return postOperations_.size(); } /** + * + * *
      * SQL statements to be executed after creating the relation.
      * 
* * repeated string post_operations = 8; + * * @param index The index of the element to return. * @return The postOperations at the given index. */ @@ -3207,28 +3779,37 @@ public java.lang.String getPostOperations(int index) { return postOperations_.get(index); } /** + * + * *
      * SQL statements to be executed after creating the relation.
      * 
* * repeated string post_operations = 8; + * * @param index The index of the value to return. * @return The bytes of the postOperations at the given index. */ - public com.google.protobuf.ByteString - getPostOperationsBytes(int index) { + public com.google.protobuf.ByteString getPostOperationsBytes(int index) { return postOperations_.getByteString(index); } public static final int INCREMENTAL_TABLE_CONFIG_FIELD_NUMBER = 9; - private com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incrementalTableConfig_; + private com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfig + incrementalTableConfig_; /** + * + * *
      * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
      * `relation_type` is `INCREMENTAL_TABLE`.
      * 
* - * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * + * * @return Whether the incrementalTableConfig field is set. */ @java.lang.Override @@ -3236,39 +3817,57 @@ public boolean hasIncrementalTableConfig() { return incrementalTableConfig_ != null; } /** + * + * *
      * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
      * `relation_type` is `INCREMENTAL_TABLE`.
      * 
* - * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * + * * @return The incrementalTableConfig. */ @java.lang.Override - public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig getIncrementalTableConfig() { - return incrementalTableConfig_ == null ? com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig.getDefaultInstance() : incrementalTableConfig_; + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig + getIncrementalTableConfig() { + return incrementalTableConfig_ == null + ? com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfig.getDefaultInstance() + : incrementalTableConfig_; } /** + * + * *
      * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
      * `relation_type` is `INCREMENTAL_TABLE`.
      * 
* - * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * */ @java.lang.Override - public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfigOrBuilder getIncrementalTableConfigOrBuilder() { + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfigOrBuilder + getIncrementalTableConfigOrBuilder() { return getIncrementalTableConfig(); } public static final int PARTITION_EXPRESSION_FIELD_NUMBER = 10; private volatile java.lang.Object partitionExpression_; /** + * + * *
      * The SQL expression used to partition the relation.
      * 
* * string partition_expression = 10; + * * @return The partitionExpression. */ @java.lang.Override @@ -3277,29 +3876,29 @@ public java.lang.String getPartitionExpression() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); partitionExpression_ = s; return s; } } /** + * + * *
      * The SQL expression used to partition the relation.
      * 
* * string partition_expression = 10; + * * @return The bytes for partitionExpression. */ @java.lang.Override - public com.google.protobuf.ByteString - getPartitionExpressionBytes() { + public com.google.protobuf.ByteString getPartitionExpressionBytes() { java.lang.Object ref = partitionExpression_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); partitionExpression_ = b; return b; } else { @@ -3310,34 +3909,42 @@ public java.lang.String getPartitionExpression() { public static final int CLUSTER_EXPRESSIONS_FIELD_NUMBER = 11; private com.google.protobuf.LazyStringList clusterExpressions_; /** + * + * *
      * A list of columns or SQL expressions used to cluster the table.
      * 
* * repeated string cluster_expressions = 11; + * * @return A list containing the clusterExpressions. */ - public com.google.protobuf.ProtocolStringList - getClusterExpressionsList() { + public com.google.protobuf.ProtocolStringList getClusterExpressionsList() { return clusterExpressions_; } /** + * + * *
      * A list of columns or SQL expressions used to cluster the table.
      * 
* * repeated string cluster_expressions = 11; + * * @return The count of clusterExpressions. */ public int getClusterExpressionsCount() { return clusterExpressions_.size(); } /** + * + * *
      * A list of columns or SQL expressions used to cluster the table.
      * 
* * repeated string cluster_expressions = 11; + * * @param index The index of the element to return. * @return The clusterExpressions at the given index. */ @@ -3345,27 +3952,32 @@ public java.lang.String getClusterExpressions(int index) { return clusterExpressions_.get(index); } /** + * + * *
      * A list of columns or SQL expressions used to cluster the table.
      * 
* * repeated string cluster_expressions = 11; + * * @param index The index of the value to return. * @return The bytes of the clusterExpressions at the given index. */ - public com.google.protobuf.ByteString - getClusterExpressionsBytes(int index) { + public com.google.protobuf.ByteString getClusterExpressionsBytes(int index) { return clusterExpressions_.getByteString(index); } public static final int PARTITION_EXPIRATION_DAYS_FIELD_NUMBER = 12; private int partitionExpirationDays_; /** + * + * *
      * Sets the partition expiration in days.
      * 
* * int32 partition_expiration_days = 12; + * * @return The partitionExpirationDays. */ @java.lang.Override @@ -3376,12 +3988,15 @@ public int getPartitionExpirationDays() { public static final int REQUIRE_PARTITION_FILTER_FIELD_NUMBER = 13; private boolean requirePartitionFilter_; /** + * + * *
      * Specifies whether queries on this table must include a predicate filter
      * that filters on the partitioning column.
      * 
* * bool require_partition_filter = 13; + * * @return The requirePartitionFilter. */ @java.lang.Override @@ -3390,21 +4005,22 @@ public boolean getRequirePartitionFilter() { } public static final int ADDITIONAL_OPTIONS_FIELD_NUMBER = 14; + private static final class AdditionalOptionsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_AdditionalOptionsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> additionalOptions_; + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_AdditionalOptionsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + private com.google.protobuf.MapField additionalOptions_; + private com.google.protobuf.MapField - internalGetAdditionalOptions() { + internalGetAdditionalOptions() { if (additionalOptions_ == null) { return com.google.protobuf.MapField.emptyMapField( AdditionalOptionsDefaultEntryHolder.defaultEntry); @@ -3416,6 +4032,8 @@ public int getAdditionalOptionsCount() { return internalGetAdditionalOptions().getMap().size(); } /** + * + * *
      * Additional options that will be provided as key/value pairs into the
      * options clause of a create table/view statement. See
@@ -3425,22 +4043,22 @@ public int getAdditionalOptionsCount() {
      *
      * map<string, string> additional_options = 14;
      */
-
     @java.lang.Override
-    public boolean containsAdditionalOptions(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsAdditionalOptions(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetAdditionalOptions().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getAdditionalOptionsMap()} instead.
-     */
+    /** Use {@link #getAdditionalOptionsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getAdditionalOptions() {
       return getAdditionalOptionsMap();
     }
     /**
+     *
+     *
      * 
      * Additional options that will be provided as key/value pairs into the
      * options clause of a create table/view statement. See
@@ -3451,11 +4069,12 @@ public java.util.Map getAdditionalOptions()
      * map<string, string> additional_options = 14;
      */
     @java.lang.Override
-
     public java.util.Map getAdditionalOptionsMap() {
       return internalGetAdditionalOptions().getMap();
     }
     /**
+     *
+     *
      * 
      * Additional options that will be provided as key/value pairs into the
      * options clause of a create table/view statement. See
@@ -3466,16 +4085,18 @@ public java.util.Map getAdditionalOptionsMap
      * map<string, string> additional_options = 14;
      */
     @java.lang.Override
-
     public java.lang.String getAdditionalOptionsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
+        java.lang.String key, java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetAdditionalOptions().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Additional options that will be provided as key/value pairs into the
      * options clause of a create table/view statement. See
@@ -3486,10 +4107,10 @@ public java.lang.String getAdditionalOptionsOrDefault(
      * map<string, string> additional_options = 14;
      */
     @java.lang.Override
-
-    public java.lang.String getAdditionalOptionsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public java.lang.String getAdditionalOptionsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetAdditionalOptions().getMap();
       if (!map.containsKey(key)) {
@@ -3499,6 +4120,7 @@ public java.lang.String getAdditionalOptionsOrThrow(
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -3510,8 +4132,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       for (int i = 0; i < dependencyTargets_.size(); i++) {
         output.writeMessage(1, dependencyTargets_.get(i));
       }
@@ -3524,7 +4145,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
       if (relationDescriptor_ != null) {
         output.writeMessage(4, getRelationDescriptor());
       }
-      if (relationType_ != com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType.RELATION_TYPE_UNSPECIFIED.getNumber()) {
+      if (relationType_
+          != com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType
+              .RELATION_TYPE_UNSPECIFIED
+              .getNumber()) {
         output.writeEnum(5, relationType_);
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(selectQuery_)) {
@@ -3543,7 +4167,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
         com.google.protobuf.GeneratedMessageV3.writeString(output, 10, partitionExpression_);
       }
       for (int i = 0; i < clusterExpressions_.size(); i++) {
-        com.google.protobuf.GeneratedMessageV3.writeString(output, 11, clusterExpressions_.getRaw(i));
+        com.google.protobuf.GeneratedMessageV3.writeString(
+            output, 11, clusterExpressions_.getRaw(i));
       }
       if (partitionExpirationDays_ != 0) {
         output.writeInt32(12, partitionExpirationDays_);
@@ -3551,8 +4176,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
       if (requirePartitionFilter_ != false) {
         output.writeBool(13, requirePartitionFilter_);
       }
-      com.google.protobuf.GeneratedMessageV3
-        .serializeStringMapTo(
+      com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
           output,
           internalGetAdditionalOptions(),
           AdditionalOptionsDefaultEntryHolder.defaultEntry,
@@ -3567,12 +4191,11 @@ public int getSerializedSize() {
 
       size = 0;
       for (int i = 0; i < dependencyTargets_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, dependencyTargets_.get(i));
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(1, dependencyTargets_.get(i));
       }
       if (disabled_ != false) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeBoolSize(2, disabled_);
+        size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, disabled_);
       }
       {
         int dataSize = 0;
@@ -3583,12 +4206,14 @@ public int getSerializedSize() {
         size += 1 * getTagsList().size();
       }
       if (relationDescriptor_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(4, getRelationDescriptor());
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(4, getRelationDescriptor());
       }
-      if (relationType_ != com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType.RELATION_TYPE_UNSPECIFIED.getNumber()) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeEnumSize(5, relationType_);
+      if (relationType_
+          != com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType
+              .RELATION_TYPE_UNSPECIFIED
+              .getNumber()) {
+        size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, relationType_);
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(selectQuery_)) {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, selectQuery_);
@@ -3610,8 +4235,9 @@ public int getSerializedSize() {
         size += 1 * getPostOperationsList().size();
       }
       if (incrementalTableConfig_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(9, getIncrementalTableConfig());
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(
+                9, getIncrementalTableConfig());
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partitionExpression_)) {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, partitionExpression_);
@@ -3625,22 +4251,21 @@ public int getSerializedSize() {
         size += 1 * getClusterExpressionsList().size();
       }
       if (partitionExpirationDays_ != 0) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeInt32Size(12, partitionExpirationDays_);
+        size +=
+            com.google.protobuf.CodedOutputStream.computeInt32Size(12, partitionExpirationDays_);
       }
       if (requirePartitionFilter_ != false) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeBoolSize(13, requirePartitionFilter_);
-      }
-      for (java.util.Map.Entry entry
-           : internalGetAdditionalOptions().getMap().entrySet()) {
-        com.google.protobuf.MapEntry
-        additionalOptions__ = AdditionalOptionsDefaultEntryHolder.defaultEntry.newBuilderForType()
-            .setKey(entry.getKey())
-            .setValue(entry.getValue())
-            .build();
-        size += com.google.protobuf.CodedOutputStream
-            .computeMessageSize(14, additionalOptions__);
+        size += com.google.protobuf.CodedOutputStream.computeBoolSize(13, requirePartitionFilter_);
+      }
+      for (java.util.Map.Entry entry :
+          internalGetAdditionalOptions().getMap().entrySet()) {
+        com.google.protobuf.MapEntry additionalOptions__ =
+            AdditionalOptionsDefaultEntryHolder.defaultEntry
+                .newBuilderForType()
+                .setKey(entry.getKey())
+                .setValue(entry.getValue())
+                .build();
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(14, additionalOptions__);
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -3650,46 +4275,35 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
       if (!(obj instanceof com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation)) {
         return super.equals(obj);
       }
-      com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation other = (com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation) obj;
+      com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation other =
+          (com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation) obj;
 
-      if (!getDependencyTargetsList()
-          .equals(other.getDependencyTargetsList())) return false;
-      if (getDisabled()
-          != other.getDisabled()) return false;
-      if (!getTagsList()
-          .equals(other.getTagsList())) return false;
+      if (!getDependencyTargetsList().equals(other.getDependencyTargetsList())) return false;
+      if (getDisabled() != other.getDisabled()) return false;
+      if (!getTagsList().equals(other.getTagsList())) return false;
       if (hasRelationDescriptor() != other.hasRelationDescriptor()) return false;
       if (hasRelationDescriptor()) {
-        if (!getRelationDescriptor()
-            .equals(other.getRelationDescriptor())) return false;
+        if (!getRelationDescriptor().equals(other.getRelationDescriptor())) return false;
       }
       if (relationType_ != other.relationType_) return false;
-      if (!getSelectQuery()
-          .equals(other.getSelectQuery())) return false;
-      if (!getPreOperationsList()
-          .equals(other.getPreOperationsList())) return false;
-      if (!getPostOperationsList()
-          .equals(other.getPostOperationsList())) return false;
+      if (!getSelectQuery().equals(other.getSelectQuery())) return false;
+      if (!getPreOperationsList().equals(other.getPreOperationsList())) return false;
+      if (!getPostOperationsList().equals(other.getPostOperationsList())) return false;
       if (hasIncrementalTableConfig() != other.hasIncrementalTableConfig()) return false;
       if (hasIncrementalTableConfig()) {
-        if (!getIncrementalTableConfig()
-            .equals(other.getIncrementalTableConfig())) return false;
-      }
-      if (!getPartitionExpression()
-          .equals(other.getPartitionExpression())) return false;
-      if (!getClusterExpressionsList()
-          .equals(other.getClusterExpressionsList())) return false;
-      if (getPartitionExpirationDays()
-          != other.getPartitionExpirationDays()) return false;
-      if (getRequirePartitionFilter()
-          != other.getRequirePartitionFilter()) return false;
-      if (!internalGetAdditionalOptions().equals(
-          other.internalGetAdditionalOptions())) return false;
+        if (!getIncrementalTableConfig().equals(other.getIncrementalTableConfig())) return false;
+      }
+      if (!getPartitionExpression().equals(other.getPartitionExpression())) return false;
+      if (!getClusterExpressionsList().equals(other.getClusterExpressionsList())) return false;
+      if (getPartitionExpirationDays() != other.getPartitionExpirationDays()) return false;
+      if (getRequirePartitionFilter() != other.getRequirePartitionFilter()) return false;
+      if (!internalGetAdditionalOptions().equals(other.internalGetAdditionalOptions()))
+        return false;
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
     }
@@ -3706,8 +4320,7 @@ public int hashCode() {
         hash = (53 * hash) + getDependencyTargetsList().hashCode();
       }
       hash = (37 * hash) + DISABLED_FIELD_NUMBER;
-      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
-          getDisabled());
+      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisabled());
       if (getTagsCount() > 0) {
         hash = (37 * hash) + TAGS_FIELD_NUMBER;
         hash = (53 * hash) + getTagsList().hashCode();
@@ -3741,8 +4354,7 @@ public int hashCode() {
       hash = (37 * hash) + PARTITION_EXPIRATION_DAYS_FIELD_NUMBER;
       hash = (53 * hash) + getPartitionExpirationDays();
       hash = (37 * hash) + REQUIRE_PARTITION_FILTER_FIELD_NUMBER;
-      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
-          getRequirePartitionFilter());
+      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequirePartitionFilter());
       if (!internalGetAdditionalOptions().getMap().isEmpty()) {
         hash = (37 * hash) + ADDITIONAL_OPTIONS_FIELD_NUMBER;
         hash = (53 * hash) + internalGetAdditionalOptions().hashCode();
@@ -3753,87 +4365,95 @@ public int hashCode() {
     }
 
     public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation parseFrom(
+        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation
+        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
-    public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+
+    public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation
+        parseDelimitedFrom(
+            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation prototype) {
+
+    public static Builder newBuilder(
+        com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -3843,67 +4463,71 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Represents a database relation.
      * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.CompilationResultAction.Relation} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.CompilationResultAction.Relation) com.google.cloud.dataform.v1beta1.CompilationResultAction.RelationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 14: return internalGetAdditionalOptions(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 14: return internalGetMutableAdditionalOptions(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.class, com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.Builder.class); + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.class, + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.Builder.class); } - // Construct using com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.newBuilder() + // Construct using + // com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getDependencyTargetsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -3950,14 +4574,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation getDefaultInstanceForType() { - return com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.getDefaultInstance(); + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .getDefaultInstance(); } @java.lang.Override @@ -3971,7 +4597,8 @@ public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation build( @java.lang.Override public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation buildPartial() { - com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation result = new com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation(this); + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation result = + new com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation(this); int from_bitField0_ = bitField0_; if (dependencyTargetsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -4028,46 +4655,53 @@ public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation buildP public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation) { - return mergeFrom((com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation)other); + return mergeFrom( + (com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation other) { - if (other == com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation other) { + if (other + == com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .getDefaultInstance()) return this; if (dependencyTargetsBuilder_ == null) { if (!other.dependencyTargets_.isEmpty()) { if (dependencyTargets_.isEmpty()) { @@ -4086,9 +4720,10 @@ public Builder mergeFrom(com.google.cloud.dataform.v1beta1.CompilationResultActi dependencyTargetsBuilder_ = null; dependencyTargets_ = other.dependencyTargets_; bitField0_ = (bitField0_ & ~0x00000001); - dependencyTargetsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDependencyTargetsFieldBuilder() : null; + dependencyTargetsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDependencyTargetsFieldBuilder() + : null; } else { dependencyTargetsBuilder_.addAllMessages(other.dependencyTargets_); } @@ -4160,8 +4795,7 @@ public Builder mergeFrom(com.google.cloud.dataform.v1beta1.CompilationResultActi if (other.getRequirePartitionFilter() != false) { setRequirePartitionFilter(other.getRequirePartitionFilter()); } - internalGetMutableAdditionalOptions().mergeFrom( - other.internalGetAdditionalOptions()); + internalGetMutableAdditionalOptions().mergeFrom(other.internalGetAdditionalOptions()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -4181,7 +4815,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -4190,21 +4826,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List dependencyTargets_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureDependencyTargetsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - dependencyTargets_ = new java.util.ArrayList(dependencyTargets_); + dependencyTargets_ = + new java.util.ArrayList(dependencyTargets_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder> dependencyTargetsBuilder_; + com.google.cloud.dataform.v1beta1.Target, + com.google.cloud.dataform.v1beta1.Target.Builder, + com.google.cloud.dataform.v1beta1.TargetOrBuilder> + dependencyTargetsBuilder_; /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -4219,6 +4863,8 @@ public java.util.List getDependencyTar } } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -4233,6 +4879,8 @@ public int getDependencyTargetsCount() { } } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -4247,6 +4895,8 @@ public com.google.cloud.dataform.v1beta1.Target getDependencyTargets(int index) } } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -4268,6 +4918,8 @@ public Builder setDependencyTargets( return this; } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -4286,6 +4938,8 @@ public Builder setDependencyTargets( return this; } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -4306,6 +4960,8 @@ public Builder addDependencyTargets(com.google.cloud.dataform.v1beta1.Target val return this; } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -4327,6 +4983,8 @@ public Builder addDependencyTargets( return this; } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -4345,6 +5003,8 @@ public Builder addDependencyTargets( return this; } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -4363,6 +5023,8 @@ public Builder addDependencyTargets( return this; } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -4373,8 +5035,7 @@ public Builder addAllDependencyTargets( java.lang.Iterable values) { if (dependencyTargetsBuilder_ == null) { ensureDependencyTargetsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, dependencyTargets_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dependencyTargets_); onChanged(); } else { dependencyTargetsBuilder_.addAllMessages(values); @@ -4382,6 +5043,8 @@ public Builder addAllDependencyTargets( return this; } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -4399,6 +5062,8 @@ public Builder clearDependencyTargets() { return this; } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -4416,6 +5081,8 @@ public Builder removeDependencyTargets(int index) { return this; } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -4427,6 +5094,8 @@ public com.google.cloud.dataform.v1beta1.Target.Builder getDependencyTargetsBuil return getDependencyTargetsFieldBuilder().getBuilder(index); } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -4436,19 +5105,22 @@ public com.google.cloud.dataform.v1beta1.Target.Builder getDependencyTargetsBuil public com.google.cloud.dataform.v1beta1.TargetOrBuilder getDependencyTargetsOrBuilder( int index) { if (dependencyTargetsBuilder_ == null) { - return dependencyTargets_.get(index); } else { + return dependencyTargets_.get(index); + } else { return dependencyTargetsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * A list of actions that this action depends on.
        * 
* * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; */ - public java.util.List - getDependencyTargetsOrBuilderList() { + public java.util.List + getDependencyTargetsOrBuilderList() { if (dependencyTargetsBuilder_ != null) { return dependencyTargetsBuilder_.getMessageOrBuilderList(); } else { @@ -4456,6 +5128,8 @@ public com.google.cloud.dataform.v1beta1.TargetOrBuilder getDependencyTargetsOrB } } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -4463,10 +5137,12 @@ public com.google.cloud.dataform.v1beta1.TargetOrBuilder getDependencyTargetsOrB * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; */ public com.google.cloud.dataform.v1beta1.Target.Builder addDependencyTargetsBuilder() { - return getDependencyTargetsFieldBuilder().addBuilder( - com.google.cloud.dataform.v1beta1.Target.getDefaultInstance()); + return getDependencyTargetsFieldBuilder() + .addBuilder(com.google.cloud.dataform.v1beta1.Target.getDefaultInstance()); } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -4475,26 +5151,34 @@ public com.google.cloud.dataform.v1beta1.Target.Builder addDependencyTargetsBuil */ public com.google.cloud.dataform.v1beta1.Target.Builder addDependencyTargetsBuilder( int index) { - return getDependencyTargetsFieldBuilder().addBuilder( - index, com.google.cloud.dataform.v1beta1.Target.getDefaultInstance()); + return getDependencyTargetsFieldBuilder() + .addBuilder(index, com.google.cloud.dataform.v1beta1.Target.getDefaultInstance()); } /** + * + * *
        * A list of actions that this action depends on.
        * 
* * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; */ - public java.util.List - getDependencyTargetsBuilderList() { + public java.util.List + getDependencyTargetsBuilderList() { return getDependencyTargetsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder> + com.google.cloud.dataform.v1beta1.Target, + com.google.cloud.dataform.v1beta1.Target.Builder, + com.google.cloud.dataform.v1beta1.TargetOrBuilder> getDependencyTargetsFieldBuilder() { if (dependencyTargetsBuilder_ == null) { - dependencyTargetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder>( + dependencyTargetsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Target, + com.google.cloud.dataform.v1beta1.Target.Builder, + com.google.cloud.dataform.v1beta1.TargetOrBuilder>( dependencyTargets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -4504,13 +5188,16 @@ public com.google.cloud.dataform.v1beta1.Target.Builder addDependencyTargetsBuil return dependencyTargetsBuilder_; } - private boolean disabled_ ; + private boolean disabled_; /** + * + * *
        * Whether this action is disabled (i.e. should not be run).
        * 
* * bool disabled = 2; + * * @return The disabled. */ @java.lang.Override @@ -4518,71 +5205,87 @@ public boolean getDisabled() { return disabled_; } /** + * + * *
        * Whether this action is disabled (i.e. should not be run).
        * 
* * bool disabled = 2; + * * @param value The disabled to set. * @return This builder for chaining. */ public Builder setDisabled(boolean value) { - + disabled_ = value; onChanged(); return this; } /** + * + * *
        * Whether this action is disabled (i.e. should not be run).
        * 
* * bool disabled = 2; + * * @return This builder for chaining. */ public Builder clearDisabled() { - + disabled_ = false; onChanged(); return this; } - private com.google.protobuf.LazyStringList tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList tags_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureTagsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { tags_ = new com.google.protobuf.LazyStringArrayList(tags_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; + * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList - getTagsList() { + public com.google.protobuf.ProtocolStringList getTagsList() { return tags_.getUnmodifiableView(); } /** + * + * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; + * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** + * + * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; + * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -4590,80 +5293,90 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** + * + * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; + * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString - getTagsBytes(int index) { + public com.google.protobuf.ByteString getTagsBytes(int index) { return tags_.getByteString(index); } /** + * + * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; + * * @param index The index to set the value at. * @param value The tags to set. * @return This builder for chaining. */ - public Builder setTags( - int index, java.lang.String value) { + public Builder setTags(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.set(index, value); onChanged(); return this; } /** + * + * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; + * * @param value The tags to add. * @return This builder for chaining. */ - public Builder addTags( - java.lang.String value) { + public Builder addTags(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } /** + * + * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; + * * @param values The tags to add. * @return This builder for chaining. */ - public Builder addAllTags( - java.lang.Iterable values) { + public Builder addAllTags(java.lang.Iterable values) { ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tags_); onChanged(); return this; } /** + * + * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; + * * @return This builder for chaining. */ public Builder clearTags() { @@ -4673,20 +5386,22 @@ public Builder clearTags() { return this; } /** + * + * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; + * * @param value The bytes of the tags to add. * @return This builder for chaining. */ - public Builder addTagsBytes( - com.google.protobuf.ByteString value) { + public Builder addTagsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureTagsIsMutable(); tags_.add(value); onChanged(); @@ -4695,41 +5410,55 @@ public Builder addTagsBytes( private com.google.cloud.dataform.v1beta1.RelationDescriptor relationDescriptor_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.RelationDescriptor, com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder, com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder> relationDescriptorBuilder_; + com.google.cloud.dataform.v1beta1.RelationDescriptor, + com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder, + com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder> + relationDescriptorBuilder_; /** + * + * *
        * Descriptor for the relation and its columns.
        * 
* * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 4; + * * @return Whether the relationDescriptor field is set. */ public boolean hasRelationDescriptor() { return relationDescriptorBuilder_ != null || relationDescriptor_ != null; } /** + * + * *
        * Descriptor for the relation and its columns.
        * 
* * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 4; + * * @return The relationDescriptor. */ public com.google.cloud.dataform.v1beta1.RelationDescriptor getRelationDescriptor() { if (relationDescriptorBuilder_ == null) { - return relationDescriptor_ == null ? com.google.cloud.dataform.v1beta1.RelationDescriptor.getDefaultInstance() : relationDescriptor_; + return relationDescriptor_ == null + ? com.google.cloud.dataform.v1beta1.RelationDescriptor.getDefaultInstance() + : relationDescriptor_; } else { return relationDescriptorBuilder_.getMessage(); } } /** + * + * *
        * Descriptor for the relation and its columns.
        * 
* * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 4; */ - public Builder setRelationDescriptor(com.google.cloud.dataform.v1beta1.RelationDescriptor value) { + public Builder setRelationDescriptor( + com.google.cloud.dataform.v1beta1.RelationDescriptor value) { if (relationDescriptorBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4743,6 +5472,8 @@ public Builder setRelationDescriptor(com.google.cloud.dataform.v1beta1.RelationD return this; } /** + * + * *
        * Descriptor for the relation and its columns.
        * 
@@ -4761,17 +5492,22 @@ public Builder setRelationDescriptor( return this; } /** + * + * *
        * Descriptor for the relation and its columns.
        * 
* * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 4; */ - public Builder mergeRelationDescriptor(com.google.cloud.dataform.v1beta1.RelationDescriptor value) { + public Builder mergeRelationDescriptor( + com.google.cloud.dataform.v1beta1.RelationDescriptor value) { if (relationDescriptorBuilder_ == null) { if (relationDescriptor_ != null) { relationDescriptor_ = - com.google.cloud.dataform.v1beta1.RelationDescriptor.newBuilder(relationDescriptor_).mergeFrom(value).buildPartial(); + com.google.cloud.dataform.v1beta1.RelationDescriptor.newBuilder(relationDescriptor_) + .mergeFrom(value) + .buildPartial(); } else { relationDescriptor_ = value; } @@ -4783,6 +5519,8 @@ public Builder mergeRelationDescriptor(com.google.cloud.dataform.v1beta1.Relatio return this; } /** + * + * *
        * Descriptor for the relation and its columns.
        * 
@@ -4801,33 +5539,42 @@ public Builder clearRelationDescriptor() { return this; } /** + * + * *
        * Descriptor for the relation and its columns.
        * 
* * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 4; */ - public com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder getRelationDescriptorBuilder() { - + public com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder + getRelationDescriptorBuilder() { + onChanged(); return getRelationDescriptorFieldBuilder().getBuilder(); } /** + * + * *
        * Descriptor for the relation and its columns.
        * 
* * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 4; */ - public com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder getRelationDescriptorOrBuilder() { + public com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder + getRelationDescriptorOrBuilder() { if (relationDescriptorBuilder_ != null) { return relationDescriptorBuilder_.getMessageOrBuilder(); } else { - return relationDescriptor_ == null ? - com.google.cloud.dataform.v1beta1.RelationDescriptor.getDefaultInstance() : relationDescriptor_; + return relationDescriptor_ == null + ? com.google.cloud.dataform.v1beta1.RelationDescriptor.getDefaultInstance() + : relationDescriptor_; } } /** + * + * *
        * Descriptor for the relation and its columns.
        * 
@@ -4835,14 +5582,17 @@ public com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder getRelation * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.RelationDescriptor, com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder, com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder> + com.google.cloud.dataform.v1beta1.RelationDescriptor, + com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder, + com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder> getRelationDescriptorFieldBuilder() { if (relationDescriptorBuilder_ == null) { - relationDescriptorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.RelationDescriptor, com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder, com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder>( - getRelationDescriptor(), - getParentForChildren(), - isClean()); + relationDescriptorBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.RelationDescriptor, + com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder, + com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder>( + getRelationDescriptor(), getParentForChildren(), isClean()); relationDescriptor_ = null; } return relationDescriptorBuilder_; @@ -4850,73 +5600,106 @@ public com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder getRelation private int relationType_ = 0; /** + * + * *
        * The type of this relation.
        * 
* - * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType relation_type = 5; + * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType relation_type = 5; + * + * * @return The enum numeric value on the wire for relationType. */ - @java.lang.Override public int getRelationTypeValue() { + @java.lang.Override + public int getRelationTypeValue() { return relationType_; } /** + * + * *
        * The type of this relation.
        * 
* - * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType relation_type = 5; + * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType relation_type = 5; + * + * * @param value The enum numeric value on the wire for relationType to set. * @return This builder for chaining. */ public Builder setRelationTypeValue(int value) { - + relationType_ = value; onChanged(); return this; } /** + * + * *
        * The type of this relation.
        * 
* - * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType relation_type = 5; + * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType relation_type = 5; + * + * * @return The relationType. */ @java.lang.Override - public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType getRelationType() { + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType + getRelationType() { @SuppressWarnings("deprecation") - com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType result = com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType.valueOf(relationType_); - return result == null ? com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType.UNRECOGNIZED : result; + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType result = + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType.valueOf( + relationType_); + return result == null + ? com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType + .UNRECOGNIZED + : result; } /** + * + * *
        * The type of this relation.
        * 
* - * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType relation_type = 5; + * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType relation_type = 5; + * + * * @param value The relationType to set. * @return This builder for chaining. */ - public Builder setRelationType(com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType value) { + public Builder setRelationType( + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType value) { if (value == null) { throw new NullPointerException(); } - + relationType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * The type of this relation.
        * 
* - * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType relation_type = 5; + * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.RelationType relation_type = 5; + * + * * @return This builder for chaining. */ public Builder clearRelationType() { - + relationType_ = 0; onChanged(); return this; @@ -4924,18 +5707,20 @@ public Builder clearRelationType() { private java.lang.Object selectQuery_ = ""; /** + * + * *
        * The SELECT query which returns rows which this relation should contain.
        * 
* * string select_query = 6; + * * @return The selectQuery. */ public java.lang.String getSelectQuery() { java.lang.Object ref = selectQuery_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); selectQuery_ = s; return s; @@ -4944,20 +5729,21 @@ public java.lang.String getSelectQuery() { } } /** + * + * *
        * The SELECT query which returns rows which this relation should contain.
        * 
* * string select_query = 6; + * * @return The bytes for selectQuery. */ - public com.google.protobuf.ByteString - getSelectQueryBytes() { + public com.google.protobuf.ByteString getSelectQueryBytes() { java.lang.Object ref = selectQuery_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); selectQuery_ = b; return b; } else { @@ -4965,95 +5751,112 @@ public java.lang.String getSelectQuery() { } } /** + * + * *
        * The SELECT query which returns rows which this relation should contain.
        * 
* * string select_query = 6; + * * @param value The selectQuery to set. * @return This builder for chaining. */ - public Builder setSelectQuery( - java.lang.String value) { + public Builder setSelectQuery(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + selectQuery_ = value; onChanged(); return this; } /** + * + * *
        * The SELECT query which returns rows which this relation should contain.
        * 
* * string select_query = 6; + * * @return This builder for chaining. */ public Builder clearSelectQuery() { - + selectQuery_ = getDefaultInstance().getSelectQuery(); onChanged(); return this; } /** + * + * *
        * The SELECT query which returns rows which this relation should contain.
        * 
* * string select_query = 6; + * * @param value The bytes for selectQuery to set. * @return This builder for chaining. */ - public Builder setSelectQueryBytes( - com.google.protobuf.ByteString value) { + public Builder setSelectQueryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + selectQuery_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList preOperations_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList preOperations_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensurePreOperationsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { preOperations_ = new com.google.protobuf.LazyStringArrayList(preOperations_); bitField0_ |= 0x00000004; - } + } } /** + * + * *
        * SQL statements to be executed before creating the relation.
        * 
* * repeated string pre_operations = 7; + * * @return A list containing the preOperations. */ - public com.google.protobuf.ProtocolStringList - getPreOperationsList() { + public com.google.protobuf.ProtocolStringList getPreOperationsList() { return preOperations_.getUnmodifiableView(); } /** + * + * *
        * SQL statements to be executed before creating the relation.
        * 
* * repeated string pre_operations = 7; + * * @return The count of preOperations. */ public int getPreOperationsCount() { return preOperations_.size(); } /** + * + * *
        * SQL statements to be executed before creating the relation.
        * 
* * repeated string pre_operations = 7; + * * @param index The index of the element to return. * @return The preOperations at the given index. */ @@ -5061,80 +5864,90 @@ public java.lang.String getPreOperations(int index) { return preOperations_.get(index); } /** + * + * *
        * SQL statements to be executed before creating the relation.
        * 
* * repeated string pre_operations = 7; + * * @param index The index of the value to return. * @return The bytes of the preOperations at the given index. */ - public com.google.protobuf.ByteString - getPreOperationsBytes(int index) { + public com.google.protobuf.ByteString getPreOperationsBytes(int index) { return preOperations_.getByteString(index); } /** + * + * *
        * SQL statements to be executed before creating the relation.
        * 
* * repeated string pre_operations = 7; + * * @param index The index to set the value at. * @param value The preOperations to set. * @return This builder for chaining. */ - public Builder setPreOperations( - int index, java.lang.String value) { + public Builder setPreOperations(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePreOperationsIsMutable(); + throw new NullPointerException(); + } + ensurePreOperationsIsMutable(); preOperations_.set(index, value); onChanged(); return this; } /** + * + * *
        * SQL statements to be executed before creating the relation.
        * 
* * repeated string pre_operations = 7; + * * @param value The preOperations to add. * @return This builder for chaining. */ - public Builder addPreOperations( - java.lang.String value) { + public Builder addPreOperations(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePreOperationsIsMutable(); + throw new NullPointerException(); + } + ensurePreOperationsIsMutable(); preOperations_.add(value); onChanged(); return this; } /** + * + * *
        * SQL statements to be executed before creating the relation.
        * 
* * repeated string pre_operations = 7; + * * @param values The preOperations to add. * @return This builder for chaining. */ - public Builder addAllPreOperations( - java.lang.Iterable values) { + public Builder addAllPreOperations(java.lang.Iterable values) { ensurePreOperationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, preOperations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, preOperations_); onChanged(); return this; } /** + * + * *
        * SQL statements to be executed before creating the relation.
        * 
* * repeated string pre_operations = 7; + * * @return This builder for chaining. */ public Builder clearPreOperations() { @@ -5144,62 +5957,74 @@ public Builder clearPreOperations() { return this; } /** + * + * *
        * SQL statements to be executed before creating the relation.
        * 
* * repeated string pre_operations = 7; + * * @param value The bytes of the preOperations to add. * @return This builder for chaining. */ - public Builder addPreOperationsBytes( - com.google.protobuf.ByteString value) { + public Builder addPreOperationsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensurePreOperationsIsMutable(); preOperations_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList postOperations_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList postOperations_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensurePostOperationsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { postOperations_ = new com.google.protobuf.LazyStringArrayList(postOperations_); bitField0_ |= 0x00000008; - } + } } /** + * + * *
        * SQL statements to be executed after creating the relation.
        * 
* * repeated string post_operations = 8; + * * @return A list containing the postOperations. */ - public com.google.protobuf.ProtocolStringList - getPostOperationsList() { + public com.google.protobuf.ProtocolStringList getPostOperationsList() { return postOperations_.getUnmodifiableView(); } /** + * + * *
        * SQL statements to be executed after creating the relation.
        * 
* * repeated string post_operations = 8; + * * @return The count of postOperations. */ public int getPostOperationsCount() { return postOperations_.size(); } /** + * + * *
        * SQL statements to be executed after creating the relation.
        * 
* * repeated string post_operations = 8; + * * @param index The index of the element to return. * @return The postOperations at the given index. */ @@ -5207,80 +6032,90 @@ public java.lang.String getPostOperations(int index) { return postOperations_.get(index); } /** + * + * *
        * SQL statements to be executed after creating the relation.
        * 
* * repeated string post_operations = 8; + * * @param index The index of the value to return. * @return The bytes of the postOperations at the given index. */ - public com.google.protobuf.ByteString - getPostOperationsBytes(int index) { + public com.google.protobuf.ByteString getPostOperationsBytes(int index) { return postOperations_.getByteString(index); } /** + * + * *
        * SQL statements to be executed after creating the relation.
        * 
* * repeated string post_operations = 8; + * * @param index The index to set the value at. * @param value The postOperations to set. * @return This builder for chaining. */ - public Builder setPostOperations( - int index, java.lang.String value) { + public Builder setPostOperations(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePostOperationsIsMutable(); + throw new NullPointerException(); + } + ensurePostOperationsIsMutable(); postOperations_.set(index, value); onChanged(); return this; } /** + * + * *
        * SQL statements to be executed after creating the relation.
        * 
* * repeated string post_operations = 8; + * * @param value The postOperations to add. * @return This builder for chaining. */ - public Builder addPostOperations( - java.lang.String value) { + public Builder addPostOperations(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePostOperationsIsMutable(); + throw new NullPointerException(); + } + ensurePostOperationsIsMutable(); postOperations_.add(value); onChanged(); return this; } /** + * + * *
        * SQL statements to be executed after creating the relation.
        * 
* * repeated string post_operations = 8; + * * @param values The postOperations to add. * @return This builder for chaining. */ - public Builder addAllPostOperations( - java.lang.Iterable values) { + public Builder addAllPostOperations(java.lang.Iterable values) { ensurePostOperationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, postOperations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, postOperations_); onChanged(); return this; } /** + * + * *
        * SQL statements to be executed after creating the relation.
        * 
* * repeated string post_operations = 8; + * * @return This builder for chaining. */ public Builder clearPostOperations() { @@ -5290,66 +6125,97 @@ public Builder clearPostOperations() { return this; } /** + * + * *
        * SQL statements to be executed after creating the relation.
        * 
* * repeated string post_operations = 8; + * * @param value The bytes of the postOperations to add. * @return This builder for chaining. */ - public Builder addPostOperationsBytes( - com.google.protobuf.ByteString value) { + public Builder addPostOperationsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensurePostOperationsIsMutable(); postOperations_.add(value); onChanged(); return this; } - private com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incrementalTableConfig_; + private com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfig + incrementalTableConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig, com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig.Builder, com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfigOrBuilder> incrementalTableConfigBuilder_; + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfig, + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfig.Builder, + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfigOrBuilder> + incrementalTableConfigBuilder_; /** + * + * *
        * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
        * `relation_type` is `INCREMENTAL_TABLE`.
        * 
* - * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * + * * @return Whether the incrementalTableConfig field is set. */ public boolean hasIncrementalTableConfig() { return incrementalTableConfigBuilder_ != null || incrementalTableConfig_ != null; } /** + * + * *
        * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
        * `relation_type` is `INCREMENTAL_TABLE`.
        * 
* - * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * + * * @return The incrementalTableConfig. */ - public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig getIncrementalTableConfig() { + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfig + getIncrementalTableConfig() { if (incrementalTableConfigBuilder_ == null) { - return incrementalTableConfig_ == null ? com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig.getDefaultInstance() : incrementalTableConfig_; + return incrementalTableConfig_ == null + ? com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfig.getDefaultInstance() + : incrementalTableConfig_; } else { return incrementalTableConfigBuilder_.getMessage(); } } /** + * + * *
        * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
        * `relation_type` is `INCREMENTAL_TABLE`.
        * 
* - * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * */ - public Builder setIncrementalTableConfig(com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig value) { + public Builder setIncrementalTableConfig( + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig + value) { if (incrementalTableConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5363,15 +6229,21 @@ public Builder setIncrementalTableConfig(com.google.cloud.dataform.v1beta1.Compi return this; } /** + * + * *
        * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
        * `relation_type` is `INCREMENTAL_TABLE`.
        * 
* - * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * */ public Builder setIncrementalTableConfig( - com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig.Builder builderForValue) { + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig + .Builder + builderForValue) { if (incrementalTableConfigBuilder_ == null) { incrementalTableConfig_ = builderForValue.build(); onChanged(); @@ -5382,18 +6254,27 @@ public Builder setIncrementalTableConfig( return this; } /** + * + * *
        * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
        * `relation_type` is `INCREMENTAL_TABLE`.
        * 
* - * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * */ - public Builder mergeIncrementalTableConfig(com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig value) { + public Builder mergeIncrementalTableConfig( + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig + value) { if (incrementalTableConfigBuilder_ == null) { if (incrementalTableConfig_ != null) { incrementalTableConfig_ = - com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig.newBuilder(incrementalTableConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfig.newBuilder(incrementalTableConfig_) + .mergeFrom(value) + .buildPartial(); } else { incrementalTableConfig_ = value; } @@ -5405,12 +6286,16 @@ public Builder mergeIncrementalTableConfig(com.google.cloud.dataform.v1beta1.Com return this; } /** + * + * *
        * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
        * `relation_type` is `INCREMENTAL_TABLE`.
        * 
* - * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * */ public Builder clearIncrementalTableConfig() { if (incrementalTableConfigBuilder_ == null) { @@ -5424,51 +6309,78 @@ public Builder clearIncrementalTableConfig() { return this; } /** + * + * *
        * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
        * `relation_type` is `INCREMENTAL_TABLE`.
        * 
* - * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * */ - public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig.Builder getIncrementalTableConfigBuilder() { - + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfig.Builder + getIncrementalTableConfigBuilder() { + onChanged(); return getIncrementalTableConfigFieldBuilder().getBuilder(); } /** + * + * *
        * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
        * `relation_type` is `INCREMENTAL_TABLE`.
        * 
* - * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * */ - public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfigOrBuilder getIncrementalTableConfigOrBuilder() { + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfigOrBuilder + getIncrementalTableConfigOrBuilder() { if (incrementalTableConfigBuilder_ != null) { return incrementalTableConfigBuilder_.getMessageOrBuilder(); } else { - return incrementalTableConfig_ == null ? - com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig.getDefaultInstance() : incrementalTableConfig_; + return incrementalTableConfig_ == null + ? com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfig.getDefaultInstance() + : incrementalTableConfig_; } } /** + * + * *
        * Configures `INCREMENTAL_TABLE` settings for this relation. Only set if
        * `relation_type` is `INCREMENTAL_TABLE`.
        * 
* - * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * + * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig incremental_table_config = 9; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig, com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig.Builder, com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfigOrBuilder> + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfig, + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfig.Builder, + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfigOrBuilder> getIncrementalTableConfigFieldBuilder() { if (incrementalTableConfigBuilder_ == null) { - incrementalTableConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig, com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfig.Builder, com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.IncrementalTableConfigOrBuilder>( - getIncrementalTableConfig(), - getParentForChildren(), - isClean()); + incrementalTableConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfig, + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfig.Builder, + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .IncrementalTableConfigOrBuilder>( + getIncrementalTableConfig(), getParentForChildren(), isClean()); incrementalTableConfig_ = null; } return incrementalTableConfigBuilder_; @@ -5476,18 +6388,20 @@ public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.Increm private java.lang.Object partitionExpression_ = ""; /** + * + * *
        * The SQL expression used to partition the relation.
        * 
* * string partition_expression = 10; + * * @return The partitionExpression. */ public java.lang.String getPartitionExpression() { java.lang.Object ref = partitionExpression_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); partitionExpression_ = s; return s; @@ -5496,20 +6410,21 @@ public java.lang.String getPartitionExpression() { } } /** + * + * *
        * The SQL expression used to partition the relation.
        * 
* * string partition_expression = 10; + * * @return The bytes for partitionExpression. */ - public com.google.protobuf.ByteString - getPartitionExpressionBytes() { + public com.google.protobuf.ByteString getPartitionExpressionBytes() { java.lang.Object ref = partitionExpression_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); partitionExpression_ = b; return b; } else { @@ -5517,95 +6432,112 @@ public java.lang.String getPartitionExpression() { } } /** + * + * *
        * The SQL expression used to partition the relation.
        * 
* * string partition_expression = 10; + * * @param value The partitionExpression to set. * @return This builder for chaining. */ - public Builder setPartitionExpression( - java.lang.String value) { + public Builder setPartitionExpression(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + partitionExpression_ = value; onChanged(); return this; } /** + * + * *
        * The SQL expression used to partition the relation.
        * 
* * string partition_expression = 10; + * * @return This builder for chaining. */ public Builder clearPartitionExpression() { - + partitionExpression_ = getDefaultInstance().getPartitionExpression(); onChanged(); return this; } /** + * + * *
        * The SQL expression used to partition the relation.
        * 
* * string partition_expression = 10; + * * @param value The bytes for partitionExpression to set. * @return This builder for chaining. */ - public Builder setPartitionExpressionBytes( - com.google.protobuf.ByteString value) { + public Builder setPartitionExpressionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + partitionExpression_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList clusterExpressions_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList clusterExpressions_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureClusterExpressionsIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { clusterExpressions_ = new com.google.protobuf.LazyStringArrayList(clusterExpressions_); bitField0_ |= 0x00000010; - } + } } /** + * + * *
        * A list of columns or SQL expressions used to cluster the table.
        * 
* * repeated string cluster_expressions = 11; + * * @return A list containing the clusterExpressions. */ - public com.google.protobuf.ProtocolStringList - getClusterExpressionsList() { + public com.google.protobuf.ProtocolStringList getClusterExpressionsList() { return clusterExpressions_.getUnmodifiableView(); } /** + * + * *
        * A list of columns or SQL expressions used to cluster the table.
        * 
* * repeated string cluster_expressions = 11; + * * @return The count of clusterExpressions. */ public int getClusterExpressionsCount() { return clusterExpressions_.size(); } /** + * + * *
        * A list of columns or SQL expressions used to cluster the table.
        * 
* * repeated string cluster_expressions = 11; + * * @param index The index of the element to return. * @return The clusterExpressions at the given index. */ @@ -5613,80 +6545,90 @@ public java.lang.String getClusterExpressions(int index) { return clusterExpressions_.get(index); } /** + * + * *
        * A list of columns or SQL expressions used to cluster the table.
        * 
* * repeated string cluster_expressions = 11; + * * @param index The index of the value to return. * @return The bytes of the clusterExpressions at the given index. */ - public com.google.protobuf.ByteString - getClusterExpressionsBytes(int index) { + public com.google.protobuf.ByteString getClusterExpressionsBytes(int index) { return clusterExpressions_.getByteString(index); } /** + * + * *
        * A list of columns or SQL expressions used to cluster the table.
        * 
* * repeated string cluster_expressions = 11; + * * @param index The index to set the value at. * @param value The clusterExpressions to set. * @return This builder for chaining. */ - public Builder setClusterExpressions( - int index, java.lang.String value) { + public Builder setClusterExpressions(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureClusterExpressionsIsMutable(); + throw new NullPointerException(); + } + ensureClusterExpressionsIsMutable(); clusterExpressions_.set(index, value); onChanged(); return this; } /** + * + * *
        * A list of columns or SQL expressions used to cluster the table.
        * 
* * repeated string cluster_expressions = 11; + * * @param value The clusterExpressions to add. * @return This builder for chaining. */ - public Builder addClusterExpressions( - java.lang.String value) { + public Builder addClusterExpressions(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureClusterExpressionsIsMutable(); + throw new NullPointerException(); + } + ensureClusterExpressionsIsMutable(); clusterExpressions_.add(value); onChanged(); return this; } /** + * + * *
        * A list of columns or SQL expressions used to cluster the table.
        * 
* * repeated string cluster_expressions = 11; + * * @param values The clusterExpressions to add. * @return This builder for chaining. */ - public Builder addAllClusterExpressions( - java.lang.Iterable values) { + public Builder addAllClusterExpressions(java.lang.Iterable values) { ensureClusterExpressionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, clusterExpressions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, clusterExpressions_); onChanged(); return this; } /** + * + * *
        * A list of columns or SQL expressions used to cluster the table.
        * 
* * repeated string cluster_expressions = 11; + * * @return This builder for chaining. */ public Builder clearClusterExpressions() { @@ -5696,33 +6638,38 @@ public Builder clearClusterExpressions() { return this; } /** + * + * *
        * A list of columns or SQL expressions used to cluster the table.
        * 
* * repeated string cluster_expressions = 11; + * * @param value The bytes of the clusterExpressions to add. * @return This builder for chaining. */ - public Builder addClusterExpressionsBytes( - com.google.protobuf.ByteString value) { + public Builder addClusterExpressionsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureClusterExpressionsIsMutable(); clusterExpressions_.add(value); onChanged(); return this; } - private int partitionExpirationDays_ ; + private int partitionExpirationDays_; /** + * + * *
        * Sets the partition expiration in days.
        * 
* * int32 partition_expiration_days = 12; + * * @return The partitionExpirationDays. */ @java.lang.Override @@ -5730,43 +6677,52 @@ public int getPartitionExpirationDays() { return partitionExpirationDays_; } /** + * + * *
        * Sets the partition expiration in days.
        * 
* * int32 partition_expiration_days = 12; + * * @param value The partitionExpirationDays to set. * @return This builder for chaining. */ public Builder setPartitionExpirationDays(int value) { - + partitionExpirationDays_ = value; onChanged(); return this; } /** + * + * *
        * Sets the partition expiration in days.
        * 
* * int32 partition_expiration_days = 12; + * * @return This builder for chaining. */ public Builder clearPartitionExpirationDays() { - + partitionExpirationDays_ = 0; onChanged(); return this; } - private boolean requirePartitionFilter_ ; + private boolean requirePartitionFilter_; /** + * + * *
        * Specifies whether queries on this table must include a predicate filter
        * that filters on the partitioning column.
        * 
* * bool require_partition_filter = 13; + * * @return The requirePartitionFilter. */ @java.lang.Override @@ -5774,53 +6730,62 @@ public boolean getRequirePartitionFilter() { return requirePartitionFilter_; } /** + * + * *
        * Specifies whether queries on this table must include a predicate filter
        * that filters on the partitioning column.
        * 
* * bool require_partition_filter = 13; + * * @param value The requirePartitionFilter to set. * @return This builder for chaining. */ public Builder setRequirePartitionFilter(boolean value) { - + requirePartitionFilter_ = value; onChanged(); return this; } /** + * + * *
        * Specifies whether queries on this table must include a predicate filter
        * that filters on the partitioning column.
        * 
* * bool require_partition_filter = 13; + * * @return This builder for chaining. */ public Builder clearRequirePartitionFilter() { - + requirePartitionFilter_ = false; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> additionalOptions_; + private com.google.protobuf.MapField additionalOptions_; + private com.google.protobuf.MapField - internalGetAdditionalOptions() { + internalGetAdditionalOptions() { if (additionalOptions_ == null) { return com.google.protobuf.MapField.emptyMapField( AdditionalOptionsDefaultEntryHolder.defaultEntry); } return additionalOptions_; } + private com.google.protobuf.MapField - internalGetMutableAdditionalOptions() { - onChanged();; + internalGetMutableAdditionalOptions() { + onChanged(); + ; if (additionalOptions_ == null) { - additionalOptions_ = com.google.protobuf.MapField.newMapField( - AdditionalOptionsDefaultEntryHolder.defaultEntry); + additionalOptions_ = + com.google.protobuf.MapField.newMapField( + AdditionalOptionsDefaultEntryHolder.defaultEntry); } if (!additionalOptions_.isMutable()) { additionalOptions_ = additionalOptions_.copy(); @@ -5832,6 +6797,8 @@ public int getAdditionalOptionsCount() { return internalGetAdditionalOptions().getMap().size(); } /** + * + * *
        * Additional options that will be provided as key/value pairs into the
        * options clause of a create table/view statement. See
@@ -5841,22 +6808,22 @@ public int getAdditionalOptionsCount() {
        *
        * map<string, string> additional_options = 14;
        */
-
       @java.lang.Override
-      public boolean containsAdditionalOptions(
-          java.lang.String key) {
-        if (key == null) { throw new NullPointerException("map key"); }
+      public boolean containsAdditionalOptions(java.lang.String key) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
         return internalGetAdditionalOptions().getMap().containsKey(key);
       }
-      /**
-       * Use {@link #getAdditionalOptionsMap()} instead.
-       */
+      /** Use {@link #getAdditionalOptionsMap()} instead. */
       @java.lang.Override
       @java.lang.Deprecated
       public java.util.Map getAdditionalOptions() {
         return getAdditionalOptionsMap();
       }
       /**
+       *
+       *
        * 
        * Additional options that will be provided as key/value pairs into the
        * options clause of a create table/view statement. See
@@ -5867,11 +6834,12 @@ public java.util.Map getAdditionalOptions()
        * map<string, string> additional_options = 14;
        */
       @java.lang.Override
-
       public java.util.Map getAdditionalOptionsMap() {
         return internalGetAdditionalOptions().getMap();
       }
       /**
+       *
+       *
        * 
        * Additional options that will be provided as key/value pairs into the
        * options clause of a create table/view statement. See
@@ -5882,16 +6850,18 @@ public java.util.Map getAdditionalOptionsMap
        * map<string, string> additional_options = 14;
        */
       @java.lang.Override
-
       public java.lang.String getAdditionalOptionsOrDefault(
-          java.lang.String key,
-          java.lang.String defaultValue) {
-        if (key == null) { throw new NullPointerException("map key"); }
+          java.lang.String key, java.lang.String defaultValue) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
         java.util.Map map =
             internalGetAdditionalOptions().getMap();
         return map.containsKey(key) ? map.get(key) : defaultValue;
       }
       /**
+       *
+       *
        * 
        * Additional options that will be provided as key/value pairs into the
        * options clause of a create table/view statement. See
@@ -5902,10 +6872,10 @@ public java.lang.String getAdditionalOptionsOrDefault(
        * map<string, string> additional_options = 14;
        */
       @java.lang.Override
-
-      public java.lang.String getAdditionalOptionsOrThrow(
-          java.lang.String key) {
-        if (key == null) { throw new NullPointerException("map key"); }
+      public java.lang.String getAdditionalOptionsOrThrow(java.lang.String key) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
         java.util.Map map =
             internalGetAdditionalOptions().getMap();
         if (!map.containsKey(key)) {
@@ -5915,11 +6885,12 @@ public java.lang.String getAdditionalOptionsOrThrow(
       }
 
       public Builder clearAdditionalOptions() {
-        internalGetMutableAdditionalOptions().getMutableMap()
-            .clear();
+        internalGetMutableAdditionalOptions().getMutableMap().clear();
         return this;
       }
       /**
+       *
+       *
        * 
        * Additional options that will be provided as key/value pairs into the
        * options clause of a create table/view statement. See
@@ -5929,23 +6900,21 @@ public Builder clearAdditionalOptions() {
        *
        * map<string, string> additional_options = 14;
        */
-
-      public Builder removeAdditionalOptions(
-          java.lang.String key) {
-        if (key == null) { throw new NullPointerException("map key"); }
-        internalGetMutableAdditionalOptions().getMutableMap()
-            .remove(key);
+      public Builder removeAdditionalOptions(java.lang.String key) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
+        internalGetMutableAdditionalOptions().getMutableMap().remove(key);
         return this;
       }
-      /**
-       * Use alternate mutation accessors instead.
-       */
+      /** Use alternate mutation accessors instead. */
       @java.lang.Deprecated
-      public java.util.Map
-      getMutableAdditionalOptions() {
+      public java.util.Map getMutableAdditionalOptions() {
         return internalGetMutableAdditionalOptions().getMutableMap();
       }
       /**
+       *
+       *
        * 
        * Additional options that will be provided as key/value pairs into the
        * options clause of a create table/view statement. See
@@ -5955,19 +6924,20 @@ public Builder removeAdditionalOptions(
        *
        * map<string, string> additional_options = 14;
        */
-      public Builder putAdditionalOptions(
-          java.lang.String key,
-          java.lang.String value) {
-        if (key == null) { throw new NullPointerException("map key"); }
+      public Builder putAdditionalOptions(java.lang.String key, java.lang.String value) {
+        if (key == null) {
+          throw new NullPointerException("map key");
+        }
         if (value == null) {
-  throw new NullPointerException("map value");
-}
+          throw new NullPointerException("map value");
+        }
 
-        internalGetMutableAdditionalOptions().getMutableMap()
-            .put(key, value);
+        internalGetMutableAdditionalOptions().getMutableMap().put(key, value);
         return this;
       }
       /**
+       *
+       *
        * 
        * Additional options that will be provided as key/value pairs into the
        * options clause of a create table/view statement. See
@@ -5977,13 +6947,12 @@ public Builder putAdditionalOptions(
        *
        * map<string, string> additional_options = 14;
        */
-
       public Builder putAllAdditionalOptions(
           java.util.Map values) {
-        internalGetMutableAdditionalOptions().getMutableMap()
-            .putAll(values);
+        internalGetMutableAdditionalOptions().getMutableMap().putAll(values);
         return this;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -5996,30 +6965,32 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.CompilationResultAction.Relation)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.CompilationResultAction.Relation)
-    private static final com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation DEFAULT_INSTANCE;
+    private static final com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation
+        DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation();
     }
 
-    public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation getDefaultInstance() {
+    public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation
+        getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public Relation parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new Relation(input, extensionRegistry);
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public Relation parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            return new Relation(input, extensionRegistry);
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -6031,26 +7002,30 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation getDefaultInstanceForType() {
+    public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation
+        getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
-  public interface OperationsOrBuilder extends
+  public interface OperationsOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.CompilationResultAction.Operations)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * A list of actions that this action depends on.
      * 
* * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; */ - java.util.List - getDependencyTargetsList(); + java.util.List getDependencyTargetsList(); /** + * + * *
      * A list of actions that this action depends on.
      * 
@@ -6059,6 +7034,8 @@ public interface OperationsOrBuilder extends */ com.google.cloud.dataform.v1beta1.Target getDependencyTargets(int index); /** + * + * *
      * A list of actions that this action depends on.
      * 
@@ -6067,96 +7044,120 @@ public interface OperationsOrBuilder extends */ int getDependencyTargetsCount(); /** + * + * *
      * A list of actions that this action depends on.
      * 
* * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; */ - java.util.List + java.util.List getDependencyTargetsOrBuilderList(); /** + * + * *
      * A list of actions that this action depends on.
      * 
* * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; */ - com.google.cloud.dataform.v1beta1.TargetOrBuilder getDependencyTargetsOrBuilder( - int index); + com.google.cloud.dataform.v1beta1.TargetOrBuilder getDependencyTargetsOrBuilder(int index); /** + * + * *
      * Whether this action is disabled (i.e. should not be run).
      * 
* * bool disabled = 2; + * * @return The disabled. */ boolean getDisabled(); /** + * + * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; + * * @return A list containing the tags. */ - java.util.List - getTagsList(); + java.util.List getTagsList(); /** + * + * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; + * * @return The count of tags. */ int getTagsCount(); /** + * + * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; + * * @param index The index of the element to return. * @return The tags at the given index. */ java.lang.String getTags(int index); /** + * + * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; + * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - com.google.protobuf.ByteString - getTagsBytes(int index); + com.google.protobuf.ByteString getTagsBytes(int index); /** + * + * *
      * Descriptor for any output relation and its columns. Only set if
      * `has_output` is true.
      * 
* * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6; + * * @return Whether the relationDescriptor field is set. */ boolean hasRelationDescriptor(); /** + * + * *
      * Descriptor for any output relation and its columns. Only set if
      * `has_output` is true.
      * 
* * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6; + * * @return The relationDescriptor. */ com.google.cloud.dataform.v1beta1.RelationDescriptor getRelationDescriptor(); /** + * + * *
      * Descriptor for any output relation and its columns. Only set if
      * `has_output` is true.
@@ -6167,76 +7168,92 @@ com.google.cloud.dataform.v1beta1.TargetOrBuilder getDependencyTargetsOrBuilder(
     com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder getRelationDescriptorOrBuilder();
 
     /**
+     *
+     *
      * 
      * A list of arbitrary SQL statements that will be executed without
      * alteration.
      * 
* * repeated string queries = 4; + * * @return A list containing the queries. */ - java.util.List - getQueriesList(); + java.util.List getQueriesList(); /** + * + * *
      * A list of arbitrary SQL statements that will be executed without
      * alteration.
      * 
* * repeated string queries = 4; + * * @return The count of queries. */ int getQueriesCount(); /** + * + * *
      * A list of arbitrary SQL statements that will be executed without
      * alteration.
      * 
* * repeated string queries = 4; + * * @param index The index of the element to return. * @return The queries at the given index. */ java.lang.String getQueries(int index); /** + * + * *
      * A list of arbitrary SQL statements that will be executed without
      * alteration.
      * 
* * repeated string queries = 4; + * * @param index The index of the value to return. * @return The bytes of the queries at the given index. */ - com.google.protobuf.ByteString - getQueriesBytes(int index); + com.google.protobuf.ByteString getQueriesBytes(int index); /** + * + * *
      * Whether these operations produce an output relation.
      * 
* * bool has_output = 5; + * * @return The hasOutput. */ boolean getHasOutput(); } /** + * + * *
    * Represents a list of arbitrary database operations.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.CompilationResultAction.Operations} */ - public static final class Operations extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Operations extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.CompilationResultAction.Operations) OperationsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Operations.newBuilder() to construct. private Operations(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Operations() { dependencyTargets_ = java.util.Collections.emptyList(); tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -6245,16 +7262,15 @@ private Operations() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Operations(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Operations( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -6274,63 +7290,72 @@ private Operations( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - dependencyTargets_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + dependencyTargets_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + dependencyTargets_.add( + input.readMessage( + com.google.cloud.dataform.v1beta1.Target.parser(), extensionRegistry)); + break; } - dependencyTargets_.add( - input.readMessage(com.google.cloud.dataform.v1beta1.Target.parser(), extensionRegistry)); - break; - } - case 16: { - - disabled_ = input.readBool(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - tags_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + case 16: + { + disabled_ = input.readBool(); + break; } - tags_.add(s); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000004) != 0)) { - queries_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000004; + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + tags_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + tags_.add(s); + break; } - queries_.add(s); - break; - } - case 40: { - - hasOutput_ = input.readBool(); - break; - } - case 50: { - com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder subBuilder = null; - if (relationDescriptor_ != null) { - subBuilder = relationDescriptor_.toBuilder(); + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + queries_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000004; + } + queries_.add(s); + break; } - relationDescriptor_ = input.readMessage(com.google.cloud.dataform.v1beta1.RelationDescriptor.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(relationDescriptor_); - relationDescriptor_ = subBuilder.buildPartial(); + case 40: + { + hasOutput_ = input.readBool(); + break; } + case 50: + { + com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder subBuilder = null; + if (relationDescriptor_ != null) { + subBuilder = relationDescriptor_.toBuilder(); + } + relationDescriptor_ = + input.readMessage( + com.google.cloud.dataform.v1beta1.RelationDescriptor.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(relationDescriptor_); + relationDescriptor_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -6338,8 +7363,7 @@ private Operations( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { dependencyTargets_ = java.util.Collections.unmodifiableList(dependencyTargets_); @@ -6354,22 +7378,27 @@ private Operations( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Operations_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Operations_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Operations_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Operations_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.class, com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.Builder.class); + com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.class, + com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.Builder.class); } public static final int DEPENDENCY_TARGETS_FIELD_NUMBER = 1; private java.util.List dependencyTargets_; /** + * + * *
      * A list of actions that this action depends on.
      * 
@@ -6381,6 +7410,8 @@ public java.util.List getDependencyTar return dependencyTargets_; } /** + * + * *
      * A list of actions that this action depends on.
      * 
@@ -6388,11 +7419,13 @@ public java.util.List getDependencyTar * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDependencyTargetsOrBuilderList() { return dependencyTargets_; } /** + * + * *
      * A list of actions that this action depends on.
      * 
@@ -6404,6 +7437,8 @@ public int getDependencyTargetsCount() { return dependencyTargets_.size(); } /** + * + * *
      * A list of actions that this action depends on.
      * 
@@ -6415,6 +7450,8 @@ public com.google.cloud.dataform.v1beta1.Target getDependencyTargets(int index) return dependencyTargets_.get(index); } /** + * + * *
      * A list of actions that this action depends on.
      * 
@@ -6430,11 +7467,14 @@ public com.google.cloud.dataform.v1beta1.TargetOrBuilder getDependencyTargetsOrB public static final int DISABLED_FIELD_NUMBER = 2; private boolean disabled_; /** + * + * *
      * Whether this action is disabled (i.e. should not be run).
      * 
* * bool disabled = 2; + * * @return The disabled. */ @java.lang.Override @@ -6445,34 +7485,42 @@ public boolean getDisabled() { public static final int TAGS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList tags_; /** + * + * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; + * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList - getTagsList() { + public com.google.protobuf.ProtocolStringList getTagsList() { return tags_; } /** + * + * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; + * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** + * + * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; + * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -6480,28 +7528,33 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** + * + * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; + * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString - getTagsBytes(int index) { + public com.google.protobuf.ByteString getTagsBytes(int index) { return tags_.getByteString(index); } public static final int RELATION_DESCRIPTOR_FIELD_NUMBER = 6; private com.google.cloud.dataform.v1beta1.RelationDescriptor relationDescriptor_; /** + * + * *
      * Descriptor for any output relation and its columns. Only set if
      * `has_output` is true.
      * 
* * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6; + * * @return Whether the relationDescriptor field is set. */ @java.lang.Override @@ -6509,19 +7562,26 @@ public boolean hasRelationDescriptor() { return relationDescriptor_ != null; } /** + * + * *
      * Descriptor for any output relation and its columns. Only set if
      * `has_output` is true.
      * 
* * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6; + * * @return The relationDescriptor. */ @java.lang.Override public com.google.cloud.dataform.v1beta1.RelationDescriptor getRelationDescriptor() { - return relationDescriptor_ == null ? com.google.cloud.dataform.v1beta1.RelationDescriptor.getDefaultInstance() : relationDescriptor_; + return relationDescriptor_ == null + ? com.google.cloud.dataform.v1beta1.RelationDescriptor.getDefaultInstance() + : relationDescriptor_; } /** + * + * *
      * Descriptor for any output relation and its columns. Only set if
      * `has_output` is true.
@@ -6530,44 +7590,53 @@ public com.google.cloud.dataform.v1beta1.RelationDescriptor getRelationDescripto
      * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6;
      */
     @java.lang.Override
-    public com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder getRelationDescriptorOrBuilder() {
+    public com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder
+        getRelationDescriptorOrBuilder() {
       return getRelationDescriptor();
     }
 
     public static final int QUERIES_FIELD_NUMBER = 4;
     private com.google.protobuf.LazyStringList queries_;
     /**
+     *
+     *
      * 
      * A list of arbitrary SQL statements that will be executed without
      * alteration.
      * 
* * repeated string queries = 4; + * * @return A list containing the queries. */ - public com.google.protobuf.ProtocolStringList - getQueriesList() { + public com.google.protobuf.ProtocolStringList getQueriesList() { return queries_; } /** + * + * *
      * A list of arbitrary SQL statements that will be executed without
      * alteration.
      * 
* * repeated string queries = 4; + * * @return The count of queries. */ public int getQueriesCount() { return queries_.size(); } /** + * + * *
      * A list of arbitrary SQL statements that will be executed without
      * alteration.
      * 
* * repeated string queries = 4; + * * @param index The index of the element to return. * @return The queries at the given index. */ @@ -6575,28 +7644,33 @@ public java.lang.String getQueries(int index) { return queries_.get(index); } /** + * + * *
      * A list of arbitrary SQL statements that will be executed without
      * alteration.
      * 
* * repeated string queries = 4; + * * @param index The index of the value to return. * @return The bytes of the queries at the given index. */ - public com.google.protobuf.ByteString - getQueriesBytes(int index) { + public com.google.protobuf.ByteString getQueriesBytes(int index) { return queries_.getByteString(index); } public static final int HAS_OUTPUT_FIELD_NUMBER = 5; private boolean hasOutput_; /** + * + * *
      * Whether these operations produce an output relation.
      * 
* * bool has_output = 5; + * * @return The hasOutput. */ @java.lang.Override @@ -6605,6 +7679,7 @@ public boolean getHasOutput() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6616,8 +7691,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < dependencyTargets_.size(); i++) { output.writeMessage(1, dependencyTargets_.get(i)); } @@ -6646,12 +7720,11 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < dependencyTargets_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, dependencyTargets_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, dependencyTargets_.get(i)); } if (disabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, disabled_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, disabled_); } { int dataSize = 0; @@ -6670,12 +7743,11 @@ public int getSerializedSize() { size += 1 * getQueriesList().size(); } if (hasOutput_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, hasOutput_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, hasOutput_); } if (relationDescriptor_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getRelationDescriptor()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(6, getRelationDescriptor()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -6685,28 +7757,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations other = (com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations) obj; + com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations other = + (com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations) obj; - if (!getDependencyTargetsList() - .equals(other.getDependencyTargetsList())) return false; - if (getDisabled() - != other.getDisabled()) return false; - if (!getTagsList() - .equals(other.getTagsList())) return false; + if (!getDependencyTargetsList().equals(other.getDependencyTargetsList())) return false; + if (getDisabled() != other.getDisabled()) return false; + if (!getTagsList().equals(other.getTagsList())) return false; if (hasRelationDescriptor() != other.hasRelationDescriptor()) return false; if (hasRelationDescriptor()) { - if (!getRelationDescriptor() - .equals(other.getRelationDescriptor())) return false; + if (!getRelationDescriptor().equals(other.getRelationDescriptor())) return false; } - if (!getQueriesList() - .equals(other.getQueriesList())) return false; - if (getHasOutput() - != other.getHasOutput()) return false; + if (!getQueriesList().equals(other.getQueriesList())) return false; + if (getHasOutput() != other.getHasOutput()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -6723,8 +7790,7 @@ public int hashCode() { hash = (53 * hash) + getDependencyTargetsList().hashCode(); } hash = (37 * hash) + DISABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getDisabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisabled()); if (getTagsCount() > 0) { hash = (37 * hash) + TAGS_FIELD_NUMBER; hash = (53 * hash) + getTagsList().hashCode(); @@ -6738,95 +7804,102 @@ public int hashCode() { hash = (53 * hash) + getQueriesList().hashCode(); } hash = (37 * hash) + HAS_OUTPUT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getHasOutput()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getHasOutput()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -6836,45 +7909,51 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Represents a list of arbitrary database operations.
      * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.CompilationResultAction.Operations} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.CompilationResultAction.Operations) com.google.cloud.dataform.v1beta1.CompilationResultAction.OperationsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Operations_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Operations_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Operations_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Operations_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.class, com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.Builder.class); + com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.class, + com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.Builder.class); } - // Construct using com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.newBuilder() + // Construct using + // com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getDependencyTargetsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -6902,19 +7981,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Operations_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Operations_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations getDefaultInstanceForType() { - return com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.getDefaultInstance(); + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations + getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations build() { - com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations result = buildPartial(); + com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -6923,7 +8005,8 @@ public com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations buil @java.lang.Override public com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations buildPartial() { - com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations result = new com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations(this); + com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations result = + new com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations(this); int from_bitField0_ = bitField0_; if (dependencyTargetsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -6959,46 +8042,53 @@ public com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations buil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations) { - return mergeFrom((com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations)other); + return mergeFrom( + (com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations other) { - if (other == com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations other) { + if (other + == com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations + .getDefaultInstance()) return this; if (dependencyTargetsBuilder_ == null) { if (!other.dependencyTargets_.isEmpty()) { if (dependencyTargets_.isEmpty()) { @@ -7017,9 +8107,10 @@ public Builder mergeFrom(com.google.cloud.dataform.v1beta1.CompilationResultActi dependencyTargetsBuilder_ = null; dependencyTargets_ = other.dependencyTargets_; bitField0_ = (bitField0_ & ~0x00000001); - dependencyTargetsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDependencyTargetsFieldBuilder() : null; + dependencyTargetsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDependencyTargetsFieldBuilder() + : null; } else { dependencyTargetsBuilder_.addAllMessages(other.dependencyTargets_); } @@ -7073,7 +8164,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -7082,21 +8175,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List dependencyTargets_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureDependencyTargetsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - dependencyTargets_ = new java.util.ArrayList(dependencyTargets_); + dependencyTargets_ = + new java.util.ArrayList(dependencyTargets_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder> dependencyTargetsBuilder_; + com.google.cloud.dataform.v1beta1.Target, + com.google.cloud.dataform.v1beta1.Target.Builder, + com.google.cloud.dataform.v1beta1.TargetOrBuilder> + dependencyTargetsBuilder_; /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -7111,6 +8212,8 @@ public java.util.List getDependencyTar } } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -7125,6 +8228,8 @@ public int getDependencyTargetsCount() { } } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -7139,6 +8244,8 @@ public com.google.cloud.dataform.v1beta1.Target getDependencyTargets(int index) } } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -7160,6 +8267,8 @@ public Builder setDependencyTargets( return this; } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -7178,6 +8287,8 @@ public Builder setDependencyTargets( return this; } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -7198,6 +8309,8 @@ public Builder addDependencyTargets(com.google.cloud.dataform.v1beta1.Target val return this; } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -7219,6 +8332,8 @@ public Builder addDependencyTargets( return this; } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -7237,6 +8352,8 @@ public Builder addDependencyTargets( return this; } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -7255,6 +8372,8 @@ public Builder addDependencyTargets( return this; } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -7265,8 +8384,7 @@ public Builder addAllDependencyTargets( java.lang.Iterable values) { if (dependencyTargetsBuilder_ == null) { ensureDependencyTargetsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, dependencyTargets_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dependencyTargets_); onChanged(); } else { dependencyTargetsBuilder_.addAllMessages(values); @@ -7274,6 +8392,8 @@ public Builder addAllDependencyTargets( return this; } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -7291,6 +8411,8 @@ public Builder clearDependencyTargets() { return this; } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -7308,6 +8430,8 @@ public Builder removeDependencyTargets(int index) { return this; } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -7319,6 +8443,8 @@ public com.google.cloud.dataform.v1beta1.Target.Builder getDependencyTargetsBuil return getDependencyTargetsFieldBuilder().getBuilder(index); } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -7328,19 +8454,22 @@ public com.google.cloud.dataform.v1beta1.Target.Builder getDependencyTargetsBuil public com.google.cloud.dataform.v1beta1.TargetOrBuilder getDependencyTargetsOrBuilder( int index) { if (dependencyTargetsBuilder_ == null) { - return dependencyTargets_.get(index); } else { + return dependencyTargets_.get(index); + } else { return dependencyTargetsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * A list of actions that this action depends on.
        * 
* * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; */ - public java.util.List - getDependencyTargetsOrBuilderList() { + public java.util.List + getDependencyTargetsOrBuilderList() { if (dependencyTargetsBuilder_ != null) { return dependencyTargetsBuilder_.getMessageOrBuilderList(); } else { @@ -7348,6 +8477,8 @@ public com.google.cloud.dataform.v1beta1.TargetOrBuilder getDependencyTargetsOrB } } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -7355,10 +8486,12 @@ public com.google.cloud.dataform.v1beta1.TargetOrBuilder getDependencyTargetsOrB * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; */ public com.google.cloud.dataform.v1beta1.Target.Builder addDependencyTargetsBuilder() { - return getDependencyTargetsFieldBuilder().addBuilder( - com.google.cloud.dataform.v1beta1.Target.getDefaultInstance()); + return getDependencyTargetsFieldBuilder() + .addBuilder(com.google.cloud.dataform.v1beta1.Target.getDefaultInstance()); } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -7367,26 +8500,34 @@ public com.google.cloud.dataform.v1beta1.Target.Builder addDependencyTargetsBuil */ public com.google.cloud.dataform.v1beta1.Target.Builder addDependencyTargetsBuilder( int index) { - return getDependencyTargetsFieldBuilder().addBuilder( - index, com.google.cloud.dataform.v1beta1.Target.getDefaultInstance()); + return getDependencyTargetsFieldBuilder() + .addBuilder(index, com.google.cloud.dataform.v1beta1.Target.getDefaultInstance()); } /** + * + * *
        * A list of actions that this action depends on.
        * 
* * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; */ - public java.util.List - getDependencyTargetsBuilderList() { + public java.util.List + getDependencyTargetsBuilderList() { return getDependencyTargetsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder> + com.google.cloud.dataform.v1beta1.Target, + com.google.cloud.dataform.v1beta1.Target.Builder, + com.google.cloud.dataform.v1beta1.TargetOrBuilder> getDependencyTargetsFieldBuilder() { if (dependencyTargetsBuilder_ == null) { - dependencyTargetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder>( + dependencyTargetsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Target, + com.google.cloud.dataform.v1beta1.Target.Builder, + com.google.cloud.dataform.v1beta1.TargetOrBuilder>( dependencyTargets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -7396,13 +8537,16 @@ public com.google.cloud.dataform.v1beta1.Target.Builder addDependencyTargetsBuil return dependencyTargetsBuilder_; } - private boolean disabled_ ; + private boolean disabled_; /** + * + * *
        * Whether this action is disabled (i.e. should not be run).
        * 
* * bool disabled = 2; + * * @return The disabled. */ @java.lang.Override @@ -7410,71 +8554,87 @@ public boolean getDisabled() { return disabled_; } /** + * + * *
        * Whether this action is disabled (i.e. should not be run).
        * 
* * bool disabled = 2; + * * @param value The disabled to set. * @return This builder for chaining. */ public Builder setDisabled(boolean value) { - + disabled_ = value; onChanged(); return this; } /** + * + * *
        * Whether this action is disabled (i.e. should not be run).
        * 
* * bool disabled = 2; + * * @return This builder for chaining. */ public Builder clearDisabled() { - + disabled_ = false; onChanged(); return this; } - private com.google.protobuf.LazyStringList tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList tags_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureTagsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { tags_ = new com.google.protobuf.LazyStringArrayList(tags_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; + * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList - getTagsList() { + public com.google.protobuf.ProtocolStringList getTagsList() { return tags_.getUnmodifiableView(); } /** + * + * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; + * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** + * + * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; + * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -7482,80 +8642,90 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** + * + * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; + * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString - getTagsBytes(int index) { + public com.google.protobuf.ByteString getTagsBytes(int index) { return tags_.getByteString(index); } /** + * + * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; + * * @param index The index to set the value at. * @param value The tags to set. * @return This builder for chaining. */ - public Builder setTags( - int index, java.lang.String value) { + public Builder setTags(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.set(index, value); onChanged(); return this; } /** + * + * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; + * * @param value The tags to add. * @return This builder for chaining. */ - public Builder addTags( - java.lang.String value) { + public Builder addTags(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } /** + * + * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; + * * @param values The tags to add. * @return This builder for chaining. */ - public Builder addAllTags( - java.lang.Iterable values) { + public Builder addAllTags(java.lang.Iterable values) { ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tags_); onChanged(); return this; } /** + * + * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; + * * @return This builder for chaining. */ public Builder clearTags() { @@ -7565,20 +8735,22 @@ public Builder clearTags() { return this; } /** + * + * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; + * * @param value The bytes of the tags to add. * @return This builder for chaining. */ - public Builder addTagsBytes( - com.google.protobuf.ByteString value) { + public Builder addTagsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureTagsIsMutable(); tags_.add(value); onChanged(); @@ -7587,36 +8759,49 @@ public Builder addTagsBytes( private com.google.cloud.dataform.v1beta1.RelationDescriptor relationDescriptor_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.RelationDescriptor, com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder, com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder> relationDescriptorBuilder_; + com.google.cloud.dataform.v1beta1.RelationDescriptor, + com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder, + com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder> + relationDescriptorBuilder_; /** + * + * *
        * Descriptor for any output relation and its columns. Only set if
        * `has_output` is true.
        * 
* * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6; + * * @return Whether the relationDescriptor field is set. */ public boolean hasRelationDescriptor() { return relationDescriptorBuilder_ != null || relationDescriptor_ != null; } /** + * + * *
        * Descriptor for any output relation and its columns. Only set if
        * `has_output` is true.
        * 
* * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6; + * * @return The relationDescriptor. */ public com.google.cloud.dataform.v1beta1.RelationDescriptor getRelationDescriptor() { if (relationDescriptorBuilder_ == null) { - return relationDescriptor_ == null ? com.google.cloud.dataform.v1beta1.RelationDescriptor.getDefaultInstance() : relationDescriptor_; + return relationDescriptor_ == null + ? com.google.cloud.dataform.v1beta1.RelationDescriptor.getDefaultInstance() + : relationDescriptor_; } else { return relationDescriptorBuilder_.getMessage(); } } /** + * + * *
        * Descriptor for any output relation and its columns. Only set if
        * `has_output` is true.
@@ -7624,7 +8809,8 @@ public com.google.cloud.dataform.v1beta1.RelationDescriptor getRelationDescripto
        *
        * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6;
        */
-      public Builder setRelationDescriptor(com.google.cloud.dataform.v1beta1.RelationDescriptor value) {
+      public Builder setRelationDescriptor(
+          com.google.cloud.dataform.v1beta1.RelationDescriptor value) {
         if (relationDescriptorBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -7638,6 +8824,8 @@ public Builder setRelationDescriptor(com.google.cloud.dataform.v1beta1.RelationD
         return this;
       }
       /**
+       *
+       *
        * 
        * Descriptor for any output relation and its columns. Only set if
        * `has_output` is true.
@@ -7657,6 +8845,8 @@ public Builder setRelationDescriptor(
         return this;
       }
       /**
+       *
+       *
        * 
        * Descriptor for any output relation and its columns. Only set if
        * `has_output` is true.
@@ -7664,11 +8854,14 @@ public Builder setRelationDescriptor(
        *
        * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6;
        */
-      public Builder mergeRelationDescriptor(com.google.cloud.dataform.v1beta1.RelationDescriptor value) {
+      public Builder mergeRelationDescriptor(
+          com.google.cloud.dataform.v1beta1.RelationDescriptor value) {
         if (relationDescriptorBuilder_ == null) {
           if (relationDescriptor_ != null) {
             relationDescriptor_ =
-              com.google.cloud.dataform.v1beta1.RelationDescriptor.newBuilder(relationDescriptor_).mergeFrom(value).buildPartial();
+                com.google.cloud.dataform.v1beta1.RelationDescriptor.newBuilder(relationDescriptor_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             relationDescriptor_ = value;
           }
@@ -7680,6 +8873,8 @@ public Builder mergeRelationDescriptor(com.google.cloud.dataform.v1beta1.Relatio
         return this;
       }
       /**
+       *
+       *
        * 
        * Descriptor for any output relation and its columns. Only set if
        * `has_output` is true.
@@ -7699,6 +8894,8 @@ public Builder clearRelationDescriptor() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Descriptor for any output relation and its columns. Only set if
        * `has_output` is true.
@@ -7706,12 +8903,15 @@ public Builder clearRelationDescriptor() {
        *
        * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6;
        */
-      public com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder getRelationDescriptorBuilder() {
-        
+      public com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder
+          getRelationDescriptorBuilder() {
+
         onChanged();
         return getRelationDescriptorFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Descriptor for any output relation and its columns. Only set if
        * `has_output` is true.
@@ -7719,15 +8919,19 @@ public com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder getRelationD
        *
        * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6;
        */
-      public com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder getRelationDescriptorOrBuilder() {
+      public com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder
+          getRelationDescriptorOrBuilder() {
         if (relationDescriptorBuilder_ != null) {
           return relationDescriptorBuilder_.getMessageOrBuilder();
         } else {
-          return relationDescriptor_ == null ?
-              com.google.cloud.dataform.v1beta1.RelationDescriptor.getDefaultInstance() : relationDescriptor_;
+          return relationDescriptor_ == null
+              ? com.google.cloud.dataform.v1beta1.RelationDescriptor.getDefaultInstance()
+              : relationDescriptor_;
         }
       }
       /**
+       *
+       *
        * 
        * Descriptor for any output relation and its columns. Only set if
        * `has_output` is true.
@@ -7736,58 +8940,71 @@ public com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder getRelation
        * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.dataform.v1beta1.RelationDescriptor, com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder, com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder> 
+              com.google.cloud.dataform.v1beta1.RelationDescriptor,
+              com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder,
+              com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder>
           getRelationDescriptorFieldBuilder() {
         if (relationDescriptorBuilder_ == null) {
-          relationDescriptorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.dataform.v1beta1.RelationDescriptor, com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder, com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder>(
-                  getRelationDescriptor(),
-                  getParentForChildren(),
-                  isClean());
+          relationDescriptorBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.cloud.dataform.v1beta1.RelationDescriptor,
+                  com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder,
+                  com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder>(
+                  getRelationDescriptor(), getParentForChildren(), isClean());
           relationDescriptor_ = null;
         }
         return relationDescriptorBuilder_;
       }
 
-      private com.google.protobuf.LazyStringList queries_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+      private com.google.protobuf.LazyStringList queries_ =
+          com.google.protobuf.LazyStringArrayList.EMPTY;
+
       private void ensureQueriesIsMutable() {
         if (!((bitField0_ & 0x00000004) != 0)) {
           queries_ = new com.google.protobuf.LazyStringArrayList(queries_);
           bitField0_ |= 0x00000004;
-         }
+        }
       }
       /**
+       *
+       *
        * 
        * A list of arbitrary SQL statements that will be executed without
        * alteration.
        * 
* * repeated string queries = 4; + * * @return A list containing the queries. */ - public com.google.protobuf.ProtocolStringList - getQueriesList() { + public com.google.protobuf.ProtocolStringList getQueriesList() { return queries_.getUnmodifiableView(); } /** + * + * *
        * A list of arbitrary SQL statements that will be executed without
        * alteration.
        * 
* * repeated string queries = 4; + * * @return The count of queries. */ public int getQueriesCount() { return queries_.size(); } /** + * + * *
        * A list of arbitrary SQL statements that will be executed without
        * alteration.
        * 
* * repeated string queries = 4; + * * @param index The index of the element to return. * @return The queries at the given index. */ @@ -7795,85 +9012,95 @@ public java.lang.String getQueries(int index) { return queries_.get(index); } /** + * + * *
        * A list of arbitrary SQL statements that will be executed without
        * alteration.
        * 
* * repeated string queries = 4; + * * @param index The index of the value to return. * @return The bytes of the queries at the given index. */ - public com.google.protobuf.ByteString - getQueriesBytes(int index) { + public com.google.protobuf.ByteString getQueriesBytes(int index) { return queries_.getByteString(index); } /** + * + * *
        * A list of arbitrary SQL statements that will be executed without
        * alteration.
        * 
* * repeated string queries = 4; + * * @param index The index to set the value at. * @param value The queries to set. * @return This builder for chaining. */ - public Builder setQueries( - int index, java.lang.String value) { + public Builder setQueries(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureQueriesIsMutable(); + throw new NullPointerException(); + } + ensureQueriesIsMutable(); queries_.set(index, value); onChanged(); return this; } /** + * + * *
        * A list of arbitrary SQL statements that will be executed without
        * alteration.
        * 
* * repeated string queries = 4; + * * @param value The queries to add. * @return This builder for chaining. */ - public Builder addQueries( - java.lang.String value) { + public Builder addQueries(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureQueriesIsMutable(); + throw new NullPointerException(); + } + ensureQueriesIsMutable(); queries_.add(value); onChanged(); return this; } /** + * + * *
        * A list of arbitrary SQL statements that will be executed without
        * alteration.
        * 
* * repeated string queries = 4; + * * @param values The queries to add. * @return This builder for chaining. */ - public Builder addAllQueries( - java.lang.Iterable values) { + public Builder addAllQueries(java.lang.Iterable values) { ensureQueriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, queries_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, queries_); onChanged(); return this; } /** + * + * *
        * A list of arbitrary SQL statements that will be executed without
        * alteration.
        * 
* * repeated string queries = 4; + * * @return This builder for chaining. */ public Builder clearQueries() { @@ -7883,34 +9110,39 @@ public Builder clearQueries() { return this; } /** + * + * *
        * A list of arbitrary SQL statements that will be executed without
        * alteration.
        * 
* * repeated string queries = 4; + * * @param value The bytes of the queries to add. * @return This builder for chaining. */ - public Builder addQueriesBytes( - com.google.protobuf.ByteString value) { + public Builder addQueriesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureQueriesIsMutable(); queries_.add(value); onChanged(); return this; } - private boolean hasOutput_ ; + private boolean hasOutput_; /** + * + * *
        * Whether these operations produce an output relation.
        * 
* * bool has_output = 5; + * * @return The hasOutput. */ @java.lang.Override @@ -7918,34 +9150,41 @@ public boolean getHasOutput() { return hasOutput_; } /** + * + * *
        * Whether these operations produce an output relation.
        * 
* * bool has_output = 5; + * * @param value The hasOutput to set. * @return This builder for chaining. */ public Builder setHasOutput(boolean value) { - + hasOutput_ = value; onChanged(); return this; } /** + * + * *
        * Whether these operations produce an output relation.
        * 
* * bool has_output = 5; + * * @return This builder for chaining. */ public Builder clearHasOutput() { - + hasOutput_ = false; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -7958,30 +9197,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.CompilationResultAction.Operations) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.CompilationResultAction.Operations) - private static final com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations(); } - public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations getDefaultInstance() { + public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Operations parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Operations(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Operations parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Operations(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7993,26 +9234,30 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations getDefaultInstanceForType() { + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface AssertionOrBuilder extends + public interface AssertionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.CompilationResultAction.Assertion) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * A list of actions that this action depends on.
      * 
* * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; */ - java.util.List - getDependencyTargetsList(); + java.util.List getDependencyTargetsList(); /** + * + * *
      * A list of actions that this action depends on.
      * 
@@ -8021,6 +9266,8 @@ public interface AssertionOrBuilder extends */ com.google.cloud.dataform.v1beta1.Target getDependencyTargets(int index); /** + * + * *
      * A list of actions that this action depends on.
      * 
@@ -8029,45 +9276,56 @@ public interface AssertionOrBuilder extends */ int getDependencyTargetsCount(); /** + * + * *
      * A list of actions that this action depends on.
      * 
* * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; */ - java.util.List + java.util.List getDependencyTargetsOrBuilderList(); /** + * + * *
      * A list of actions that this action depends on.
      * 
* * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; */ - com.google.cloud.dataform.v1beta1.TargetOrBuilder getDependencyTargetsOrBuilder( - int index); + com.google.cloud.dataform.v1beta1.TargetOrBuilder getDependencyTargetsOrBuilder(int index); /** + * + * *
      * The parent action of this assertion. Only set if this assertion was
      * automatically generated.
      * 
* * .google.cloud.dataform.v1beta1.Target parent_action = 5; + * * @return Whether the parentAction field is set. */ boolean hasParentAction(); /** + * + * *
      * The parent action of this assertion. Only set if this assertion was
      * automatically generated.
      * 
* * .google.cloud.dataform.v1beta1.Target parent_action = 5; + * * @return The parentAction. */ com.google.cloud.dataform.v1beta1.Target getParentAction(); /** + * + * *
      * The parent action of this assertion. Only set if this assertion was
      * automatically generated.
@@ -8078,99 +9336,125 @@ com.google.cloud.dataform.v1beta1.TargetOrBuilder getDependencyTargetsOrBuilder(
     com.google.cloud.dataform.v1beta1.TargetOrBuilder getParentActionOrBuilder();
 
     /**
+     *
+     *
      * 
      * Whether this action is disabled (i.e. should not be run).
      * 
* * bool disabled = 2; + * * @return The disabled. */ boolean getDisabled(); /** + * + * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; + * * @return A list containing the tags. */ - java.util.List - getTagsList(); + java.util.List getTagsList(); /** + * + * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; + * * @return The count of tags. */ int getTagsCount(); /** + * + * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; + * * @param index The index of the element to return. * @return The tags at the given index. */ java.lang.String getTags(int index); /** + * + * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; + * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - com.google.protobuf.ByteString - getTagsBytes(int index); + com.google.protobuf.ByteString getTagsBytes(int index); /** + * + * *
      * The SELECT query which must return zero rows in order for this assertion
      * to succeed.
      * 
* * string select_query = 4; + * * @return The selectQuery. */ java.lang.String getSelectQuery(); /** + * + * *
      * The SELECT query which must return zero rows in order for this assertion
      * to succeed.
      * 
* * string select_query = 4; + * * @return The bytes for selectQuery. */ - com.google.protobuf.ByteString - getSelectQueryBytes(); + com.google.protobuf.ByteString getSelectQueryBytes(); /** + * + * *
      * Descriptor for the assertion's automatically-generated view and its
      * columns.
      * 
* * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6; + * * @return Whether the relationDescriptor field is set. */ boolean hasRelationDescriptor(); /** + * + * *
      * Descriptor for the assertion's automatically-generated view and its
      * columns.
      * 
* * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6; + * * @return The relationDescriptor. */ com.google.cloud.dataform.v1beta1.RelationDescriptor getRelationDescriptor(); /** + * + * *
      * Descriptor for the assertion's automatically-generated view and its
      * columns.
@@ -8181,6 +9465,8 @@ com.google.cloud.dataform.v1beta1.TargetOrBuilder getDependencyTargetsOrBuilder(
     com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder getRelationDescriptorOrBuilder();
   }
   /**
+   *
+   *
    * 
    * Represents an assertion upon a SQL query which is required return zero
    * rows.
@@ -8188,15 +9474,16 @@ com.google.cloud.dataform.v1beta1.TargetOrBuilder getDependencyTargetsOrBuilder(
    *
    * Protobuf type {@code google.cloud.dataform.v1beta1.CompilationResultAction.Assertion}
    */
-  public static final class Assertion extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class Assertion extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.CompilationResultAction.Assertion)
       AssertionOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use Assertion.newBuilder() to construct.
     private Assertion(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private Assertion() {
       dependencyTargets_ = java.util.Collections.emptyList();
       tags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -8205,16 +9492,15 @@ private Assertion() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new Assertion();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private Assertion(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -8234,68 +9520,80 @@ private Assertion(
             case 0:
               done = true;
               break;
-            case 10: {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                dependencyTargets_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              dependencyTargets_.add(
-                  input.readMessage(com.google.cloud.dataform.v1beta1.Target.parser(), extensionRegistry));
-              break;
-            }
-            case 16: {
-
-              disabled_ = input.readBool();
-              break;
-            }
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                tags_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000002;
+            case 10:
+              {
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  dependencyTargets_ =
+                      new java.util.ArrayList();
+                  mutable_bitField0_ |= 0x00000001;
+                }
+                dependencyTargets_.add(
+                    input.readMessage(
+                        com.google.cloud.dataform.v1beta1.Target.parser(), extensionRegistry));
+                break;
               }
-              tags_.add(s);
-              break;
-            }
-            case 34: {
-              java.lang.String s = input.readStringRequireUtf8();
-
-              selectQuery_ = s;
-              break;
-            }
-            case 42: {
-              com.google.cloud.dataform.v1beta1.Target.Builder subBuilder = null;
-              if (parentAction_ != null) {
-                subBuilder = parentAction_.toBuilder();
+            case 16:
+              {
+                disabled_ = input.readBool();
+                break;
               }
-              parentAction_ = input.readMessage(com.google.cloud.dataform.v1beta1.Target.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(parentAction_);
-                parentAction_ = subBuilder.buildPartial();
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                  tags_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000002;
+                }
+                tags_.add(s);
+                break;
               }
+            case 34:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              break;
-            }
-            case 50: {
-              com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder subBuilder = null;
-              if (relationDescriptor_ != null) {
-                subBuilder = relationDescriptor_.toBuilder();
+                selectQuery_ = s;
+                break;
               }
-              relationDescriptor_ = input.readMessage(com.google.cloud.dataform.v1beta1.RelationDescriptor.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(relationDescriptor_);
-                relationDescriptor_ = subBuilder.buildPartial();
+            case 42:
+              {
+                com.google.cloud.dataform.v1beta1.Target.Builder subBuilder = null;
+                if (parentAction_ != null) {
+                  subBuilder = parentAction_.toBuilder();
+                }
+                parentAction_ =
+                    input.readMessage(
+                        com.google.cloud.dataform.v1beta1.Target.parser(), extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(parentAction_);
+                  parentAction_ = subBuilder.buildPartial();
+                }
+
+                break;
               }
+            case 50:
+              {
+                com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder subBuilder = null;
+                if (relationDescriptor_ != null) {
+                  subBuilder = relationDescriptor_.toBuilder();
+                }
+                relationDescriptor_ =
+                    input.readMessage(
+                        com.google.cloud.dataform.v1beta1.RelationDescriptor.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(relationDescriptor_);
+                  relationDescriptor_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -8303,8 +9601,7 @@ private Assertion(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           dependencyTargets_ = java.util.Collections.unmodifiableList(dependencyTargets_);
@@ -8316,22 +9613,27 @@ private Assertion(
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Assertion_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.dataform.v1beta1.DataformProto
+          .internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Assertion_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Assertion_fieldAccessorTable
+      return com.google.cloud.dataform.v1beta1.DataformProto
+          .internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Assertion_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.class, com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.Builder.class);
+              com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.class,
+              com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.Builder.class);
     }
 
     public static final int DEPENDENCY_TARGETS_FIELD_NUMBER = 1;
     private java.util.List dependencyTargets_;
     /**
+     *
+     *
      * 
      * A list of actions that this action depends on.
      * 
@@ -8343,6 +9645,8 @@ public java.util.List getDependencyTar return dependencyTargets_; } /** + * + * *
      * A list of actions that this action depends on.
      * 
@@ -8350,11 +9654,13 @@ public java.util.List getDependencyTar * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDependencyTargetsOrBuilderList() { return dependencyTargets_; } /** + * + * *
      * A list of actions that this action depends on.
      * 
@@ -8366,6 +9672,8 @@ public int getDependencyTargetsCount() { return dependencyTargets_.size(); } /** + * + * *
      * A list of actions that this action depends on.
      * 
@@ -8377,6 +9685,8 @@ public com.google.cloud.dataform.v1beta1.Target getDependencyTargets(int index) return dependencyTargets_.get(index); } /** + * + * *
      * A list of actions that this action depends on.
      * 
@@ -8392,12 +9702,15 @@ public com.google.cloud.dataform.v1beta1.TargetOrBuilder getDependencyTargetsOrB public static final int PARENT_ACTION_FIELD_NUMBER = 5; private com.google.cloud.dataform.v1beta1.Target parentAction_; /** + * + * *
      * The parent action of this assertion. Only set if this assertion was
      * automatically generated.
      * 
* * .google.cloud.dataform.v1beta1.Target parent_action = 5; + * * @return Whether the parentAction field is set. */ @java.lang.Override @@ -8405,19 +9718,26 @@ public boolean hasParentAction() { return parentAction_ != null; } /** + * + * *
      * The parent action of this assertion. Only set if this assertion was
      * automatically generated.
      * 
* * .google.cloud.dataform.v1beta1.Target parent_action = 5; + * * @return The parentAction. */ @java.lang.Override public com.google.cloud.dataform.v1beta1.Target getParentAction() { - return parentAction_ == null ? com.google.cloud.dataform.v1beta1.Target.getDefaultInstance() : parentAction_; + return parentAction_ == null + ? com.google.cloud.dataform.v1beta1.Target.getDefaultInstance() + : parentAction_; } /** + * + * *
      * The parent action of this assertion. Only set if this assertion was
      * automatically generated.
@@ -8433,11 +9753,14 @@ public com.google.cloud.dataform.v1beta1.TargetOrBuilder getParentActionOrBuilde
     public static final int DISABLED_FIELD_NUMBER = 2;
     private boolean disabled_;
     /**
+     *
+     *
      * 
      * Whether this action is disabled (i.e. should not be run).
      * 
* * bool disabled = 2; + * * @return The disabled. */ @java.lang.Override @@ -8448,34 +9771,42 @@ public boolean getDisabled() { public static final int TAGS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList tags_; /** + * + * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; + * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList - getTagsList() { + public com.google.protobuf.ProtocolStringList getTagsList() { return tags_; } /** + * + * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; + * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** + * + * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; + * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -8483,28 +9814,33 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** + * + * *
      * Arbitrary, user-defined tags on this action.
      * 
* * repeated string tags = 3; + * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString - getTagsBytes(int index) { + public com.google.protobuf.ByteString getTagsBytes(int index) { return tags_.getByteString(index); } public static final int SELECT_QUERY_FIELD_NUMBER = 4; private volatile java.lang.Object selectQuery_; /** + * + * *
      * The SELECT query which must return zero rows in order for this assertion
      * to succeed.
      * 
* * string select_query = 4; + * * @return The selectQuery. */ @java.lang.Override @@ -8513,30 +9849,30 @@ public java.lang.String getSelectQuery() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); selectQuery_ = s; return s; } } /** + * + * *
      * The SELECT query which must return zero rows in order for this assertion
      * to succeed.
      * 
* * string select_query = 4; + * * @return The bytes for selectQuery. */ @java.lang.Override - public com.google.protobuf.ByteString - getSelectQueryBytes() { + public com.google.protobuf.ByteString getSelectQueryBytes() { java.lang.Object ref = selectQuery_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); selectQuery_ = b; return b; } else { @@ -8547,12 +9883,15 @@ public java.lang.String getSelectQuery() { public static final int RELATION_DESCRIPTOR_FIELD_NUMBER = 6; private com.google.cloud.dataform.v1beta1.RelationDescriptor relationDescriptor_; /** + * + * *
      * Descriptor for the assertion's automatically-generated view and its
      * columns.
      * 
* * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6; + * * @return Whether the relationDescriptor field is set. */ @java.lang.Override @@ -8560,19 +9899,26 @@ public boolean hasRelationDescriptor() { return relationDescriptor_ != null; } /** + * + * *
      * Descriptor for the assertion's automatically-generated view and its
      * columns.
      * 
* * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6; + * * @return The relationDescriptor. */ @java.lang.Override public com.google.cloud.dataform.v1beta1.RelationDescriptor getRelationDescriptor() { - return relationDescriptor_ == null ? com.google.cloud.dataform.v1beta1.RelationDescriptor.getDefaultInstance() : relationDescriptor_; + return relationDescriptor_ == null + ? com.google.cloud.dataform.v1beta1.RelationDescriptor.getDefaultInstance() + : relationDescriptor_; } /** + * + * *
      * Descriptor for the assertion's automatically-generated view and its
      * columns.
@@ -8581,11 +9927,13 @@ public com.google.cloud.dataform.v1beta1.RelationDescriptor getRelationDescripto
      * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6;
      */
     @java.lang.Override
-    public com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder getRelationDescriptorOrBuilder() {
+    public com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder
+        getRelationDescriptorOrBuilder() {
       return getRelationDescriptor();
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -8597,8 +9945,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       for (int i = 0; i < dependencyTargets_.size(); i++) {
         output.writeMessage(1, dependencyTargets_.get(i));
       }
@@ -8627,12 +9974,11 @@ public int getSerializedSize() {
 
       size = 0;
       for (int i = 0; i < dependencyTargets_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, dependencyTargets_.get(i));
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(1, dependencyTargets_.get(i));
       }
       if (disabled_ != false) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeBoolSize(2, disabled_);
+        size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, disabled_);
       }
       {
         int dataSize = 0;
@@ -8646,12 +9992,11 @@ public int getSerializedSize() {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, selectQuery_);
       }
       if (parentAction_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(5, getParentAction());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getParentAction());
       }
       if (relationDescriptor_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(6, getRelationDescriptor());
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(6, getRelationDescriptor());
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -8661,30 +10006,25 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
       if (!(obj instanceof com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion)) {
         return super.equals(obj);
       }
-      com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion other = (com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion) obj;
+      com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion other =
+          (com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion) obj;
 
-      if (!getDependencyTargetsList()
-          .equals(other.getDependencyTargetsList())) return false;
+      if (!getDependencyTargetsList().equals(other.getDependencyTargetsList())) return false;
       if (hasParentAction() != other.hasParentAction()) return false;
       if (hasParentAction()) {
-        if (!getParentAction()
-            .equals(other.getParentAction())) return false;
-      }
-      if (getDisabled()
-          != other.getDisabled()) return false;
-      if (!getTagsList()
-          .equals(other.getTagsList())) return false;
-      if (!getSelectQuery()
-          .equals(other.getSelectQuery())) return false;
+        if (!getParentAction().equals(other.getParentAction())) return false;
+      }
+      if (getDisabled() != other.getDisabled()) return false;
+      if (!getTagsList().equals(other.getTagsList())) return false;
+      if (!getSelectQuery().equals(other.getSelectQuery())) return false;
       if (hasRelationDescriptor() != other.hasRelationDescriptor()) return false;
       if (hasRelationDescriptor()) {
-        if (!getRelationDescriptor()
-            .equals(other.getRelationDescriptor())) return false;
+        if (!getRelationDescriptor().equals(other.getRelationDescriptor())) return false;
       }
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -8706,8 +10046,7 @@ public int hashCode() {
         hash = (53 * hash) + getParentAction().hashCode();
       }
       hash = (37 * hash) + DISABLED_FIELD_NUMBER;
-      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
-          getDisabled());
+      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisabled());
       if (getTagsCount() > 0) {
         hash = (37 * hash) + TAGS_FIELD_NUMBER;
         hash = (53 * hash) + getTagsList().hashCode();
@@ -8724,87 +10063,95 @@ public int hashCode() {
     }
 
     public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion parseFrom(
+        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion
+        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
-    public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+
+    public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion
+        parseDelimitedFrom(
+            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion prototype) {
+
+    public static Builder newBuilder(
+        com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -8814,6 +10161,8 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Represents an assertion upon a SQL query which is required return zero
      * rows.
@@ -8821,39 +10170,43 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.dataform.v1beta1.CompilationResultAction.Assertion}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.CompilationResultAction.Assertion)
         com.google.cloud.dataform.v1beta1.CompilationResultAction.AssertionOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Assertion_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.dataform.v1beta1.DataformProto
+            .internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Assertion_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Assertion_fieldAccessorTable
+        return com.google.cloud.dataform.v1beta1.DataformProto
+            .internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Assertion_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.class, com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.Builder.class);
+                com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.class,
+                com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.Builder.class);
       }
 
-      // Construct using com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.newBuilder()
+      // Construct using
+      // com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
           getDependencyTargetsFieldBuilder();
         }
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -8885,14 +10238,16 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Assertion_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.dataform.v1beta1.DataformProto
+            .internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Assertion_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion getDefaultInstanceForType() {
-        return com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.getDefaultInstance();
+      public com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion
+          getDefaultInstanceForType() {
+        return com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion
+            .getDefaultInstance();
       }
 
       @java.lang.Override
@@ -8906,7 +10261,8 @@ public com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion build
 
       @java.lang.Override
       public com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion buildPartial() {
-        com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion result = new com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion(this);
+        com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion result =
+            new com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion(this);
         int from_bitField0_ = bitField0_;
         if (dependencyTargetsBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0)) {
@@ -8942,46 +10298,53 @@ public com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion build
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion) {
-          return mergeFrom((com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion)other);
+          return mergeFrom(
+              (com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion other) {
-        if (other == com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion other) {
+        if (other
+            == com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion
+                .getDefaultInstance()) return this;
         if (dependencyTargetsBuilder_ == null) {
           if (!other.dependencyTargets_.isEmpty()) {
             if (dependencyTargets_.isEmpty()) {
@@ -9000,9 +10363,10 @@ public Builder mergeFrom(com.google.cloud.dataform.v1beta1.CompilationResultActi
               dependencyTargetsBuilder_ = null;
               dependencyTargets_ = other.dependencyTargets_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              dependencyTargetsBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getDependencyTargetsFieldBuilder() : null;
+              dependencyTargetsBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getDependencyTargetsFieldBuilder()
+                      : null;
             } else {
               dependencyTargetsBuilder_.addAllMessages(other.dependencyTargets_);
             }
@@ -9050,7 +10414,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -9059,21 +10425,29 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int bitField0_;
 
       private java.util.List dependencyTargets_ =
-        java.util.Collections.emptyList();
+          java.util.Collections.emptyList();
+
       private void ensureDependencyTargetsIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
-          dependencyTargets_ = new java.util.ArrayList(dependencyTargets_);
+          dependencyTargets_ =
+              new java.util.ArrayList(dependencyTargets_);
           bitField0_ |= 0x00000001;
-         }
+        }
       }
 
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder> dependencyTargetsBuilder_;
+              com.google.cloud.dataform.v1beta1.Target,
+              com.google.cloud.dataform.v1beta1.Target.Builder,
+              com.google.cloud.dataform.v1beta1.TargetOrBuilder>
+          dependencyTargetsBuilder_;
 
       /**
+       *
+       *
        * 
        * A list of actions that this action depends on.
        * 
@@ -9088,6 +10462,8 @@ public java.util.List getDependencyTar } } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -9102,6 +10478,8 @@ public int getDependencyTargetsCount() { } } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -9116,6 +10494,8 @@ public com.google.cloud.dataform.v1beta1.Target getDependencyTargets(int index) } } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -9137,6 +10517,8 @@ public Builder setDependencyTargets( return this; } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -9155,6 +10537,8 @@ public Builder setDependencyTargets( return this; } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -9175,6 +10559,8 @@ public Builder addDependencyTargets(com.google.cloud.dataform.v1beta1.Target val return this; } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -9196,6 +10582,8 @@ public Builder addDependencyTargets( return this; } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -9214,6 +10602,8 @@ public Builder addDependencyTargets( return this; } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -9232,6 +10622,8 @@ public Builder addDependencyTargets( return this; } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -9242,8 +10634,7 @@ public Builder addAllDependencyTargets( java.lang.Iterable values) { if (dependencyTargetsBuilder_ == null) { ensureDependencyTargetsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, dependencyTargets_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dependencyTargets_); onChanged(); } else { dependencyTargetsBuilder_.addAllMessages(values); @@ -9251,6 +10642,8 @@ public Builder addAllDependencyTargets( return this; } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -9268,6 +10661,8 @@ public Builder clearDependencyTargets() { return this; } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -9285,6 +10680,8 @@ public Builder removeDependencyTargets(int index) { return this; } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -9296,6 +10693,8 @@ public com.google.cloud.dataform.v1beta1.Target.Builder getDependencyTargetsBuil return getDependencyTargetsFieldBuilder().getBuilder(index); } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -9305,19 +10704,22 @@ public com.google.cloud.dataform.v1beta1.Target.Builder getDependencyTargetsBuil public com.google.cloud.dataform.v1beta1.TargetOrBuilder getDependencyTargetsOrBuilder( int index) { if (dependencyTargetsBuilder_ == null) { - return dependencyTargets_.get(index); } else { + return dependencyTargets_.get(index); + } else { return dependencyTargetsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * A list of actions that this action depends on.
        * 
* * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; */ - public java.util.List - getDependencyTargetsOrBuilderList() { + public java.util.List + getDependencyTargetsOrBuilderList() { if (dependencyTargetsBuilder_ != null) { return dependencyTargetsBuilder_.getMessageOrBuilderList(); } else { @@ -9325,6 +10727,8 @@ public com.google.cloud.dataform.v1beta1.TargetOrBuilder getDependencyTargetsOrB } } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -9332,10 +10736,12 @@ public com.google.cloud.dataform.v1beta1.TargetOrBuilder getDependencyTargetsOrB * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; */ public com.google.cloud.dataform.v1beta1.Target.Builder addDependencyTargetsBuilder() { - return getDependencyTargetsFieldBuilder().addBuilder( - com.google.cloud.dataform.v1beta1.Target.getDefaultInstance()); + return getDependencyTargetsFieldBuilder() + .addBuilder(com.google.cloud.dataform.v1beta1.Target.getDefaultInstance()); } /** + * + * *
        * A list of actions that this action depends on.
        * 
@@ -9344,26 +10750,34 @@ public com.google.cloud.dataform.v1beta1.Target.Builder addDependencyTargetsBuil */ public com.google.cloud.dataform.v1beta1.Target.Builder addDependencyTargetsBuilder( int index) { - return getDependencyTargetsFieldBuilder().addBuilder( - index, com.google.cloud.dataform.v1beta1.Target.getDefaultInstance()); + return getDependencyTargetsFieldBuilder() + .addBuilder(index, com.google.cloud.dataform.v1beta1.Target.getDefaultInstance()); } /** + * + * *
        * A list of actions that this action depends on.
        * 
* * repeated .google.cloud.dataform.v1beta1.Target dependency_targets = 1; */ - public java.util.List - getDependencyTargetsBuilderList() { + public java.util.List + getDependencyTargetsBuilderList() { return getDependencyTargetsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder> + com.google.cloud.dataform.v1beta1.Target, + com.google.cloud.dataform.v1beta1.Target.Builder, + com.google.cloud.dataform.v1beta1.TargetOrBuilder> getDependencyTargetsFieldBuilder() { if (dependencyTargetsBuilder_ == null) { - dependencyTargetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder>( + dependencyTargetsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Target, + com.google.cloud.dataform.v1beta1.Target.Builder, + com.google.cloud.dataform.v1beta1.TargetOrBuilder>( dependencyTargets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -9375,36 +10789,49 @@ public com.google.cloud.dataform.v1beta1.Target.Builder addDependencyTargetsBuil private com.google.cloud.dataform.v1beta1.Target parentAction_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder> parentActionBuilder_; + com.google.cloud.dataform.v1beta1.Target, + com.google.cloud.dataform.v1beta1.Target.Builder, + com.google.cloud.dataform.v1beta1.TargetOrBuilder> + parentActionBuilder_; /** + * + * *
        * The parent action of this assertion. Only set if this assertion was
        * automatically generated.
        * 
* * .google.cloud.dataform.v1beta1.Target parent_action = 5; + * * @return Whether the parentAction field is set. */ public boolean hasParentAction() { return parentActionBuilder_ != null || parentAction_ != null; } /** + * + * *
        * The parent action of this assertion. Only set if this assertion was
        * automatically generated.
        * 
* * .google.cloud.dataform.v1beta1.Target parent_action = 5; + * * @return The parentAction. */ public com.google.cloud.dataform.v1beta1.Target getParentAction() { if (parentActionBuilder_ == null) { - return parentAction_ == null ? com.google.cloud.dataform.v1beta1.Target.getDefaultInstance() : parentAction_; + return parentAction_ == null + ? com.google.cloud.dataform.v1beta1.Target.getDefaultInstance() + : parentAction_; } else { return parentActionBuilder_.getMessage(); } } /** + * + * *
        * The parent action of this assertion. Only set if this assertion was
        * automatically generated.
@@ -9426,6 +10853,8 @@ public Builder setParentAction(com.google.cloud.dataform.v1beta1.Target value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * The parent action of this assertion. Only set if this assertion was
        * automatically generated.
@@ -9445,6 +10874,8 @@ public Builder setParentAction(
         return this;
       }
       /**
+       *
+       *
        * 
        * The parent action of this assertion. Only set if this assertion was
        * automatically generated.
@@ -9456,7 +10887,9 @@ public Builder mergeParentAction(com.google.cloud.dataform.v1beta1.Target value)
         if (parentActionBuilder_ == null) {
           if (parentAction_ != null) {
             parentAction_ =
-              com.google.cloud.dataform.v1beta1.Target.newBuilder(parentAction_).mergeFrom(value).buildPartial();
+                com.google.cloud.dataform.v1beta1.Target.newBuilder(parentAction_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             parentAction_ = value;
           }
@@ -9468,6 +10901,8 @@ public Builder mergeParentAction(com.google.cloud.dataform.v1beta1.Target value)
         return this;
       }
       /**
+       *
+       *
        * 
        * The parent action of this assertion. Only set if this assertion was
        * automatically generated.
@@ -9487,6 +10922,8 @@ public Builder clearParentAction() {
         return this;
       }
       /**
+       *
+       *
        * 
        * The parent action of this assertion. Only set if this assertion was
        * automatically generated.
@@ -9495,11 +10932,13 @@ public Builder clearParentAction() {
        * .google.cloud.dataform.v1beta1.Target parent_action = 5;
        */
       public com.google.cloud.dataform.v1beta1.Target.Builder getParentActionBuilder() {
-        
+
         onChanged();
         return getParentActionFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * The parent action of this assertion. Only set if this assertion was
        * automatically generated.
@@ -9511,11 +10950,14 @@ public com.google.cloud.dataform.v1beta1.TargetOrBuilder getParentActionOrBuilde
         if (parentActionBuilder_ != null) {
           return parentActionBuilder_.getMessageOrBuilder();
         } else {
-          return parentAction_ == null ?
-              com.google.cloud.dataform.v1beta1.Target.getDefaultInstance() : parentAction_;
+          return parentAction_ == null
+              ? com.google.cloud.dataform.v1beta1.Target.getDefaultInstance()
+              : parentAction_;
         }
       }
       /**
+       *
+       *
        * 
        * The parent action of this assertion. Only set if this assertion was
        * automatically generated.
@@ -9524,26 +10966,32 @@ public com.google.cloud.dataform.v1beta1.TargetOrBuilder getParentActionOrBuilde
        * .google.cloud.dataform.v1beta1.Target parent_action = 5;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder> 
+              com.google.cloud.dataform.v1beta1.Target,
+              com.google.cloud.dataform.v1beta1.Target.Builder,
+              com.google.cloud.dataform.v1beta1.TargetOrBuilder>
           getParentActionFieldBuilder() {
         if (parentActionBuilder_ == null) {
-          parentActionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder>(
-                  getParentAction(),
-                  getParentForChildren(),
-                  isClean());
+          parentActionBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.cloud.dataform.v1beta1.Target,
+                  com.google.cloud.dataform.v1beta1.Target.Builder,
+                  com.google.cloud.dataform.v1beta1.TargetOrBuilder>(
+                  getParentAction(), getParentForChildren(), isClean());
           parentAction_ = null;
         }
         return parentActionBuilder_;
       }
 
-      private boolean disabled_ ;
+      private boolean disabled_;
       /**
+       *
+       *
        * 
        * Whether this action is disabled (i.e. should not be run).
        * 
* * bool disabled = 2; + * * @return The disabled. */ @java.lang.Override @@ -9551,71 +10999,87 @@ public boolean getDisabled() { return disabled_; } /** + * + * *
        * Whether this action is disabled (i.e. should not be run).
        * 
* * bool disabled = 2; + * * @param value The disabled to set. * @return This builder for chaining. */ public Builder setDisabled(boolean value) { - + disabled_ = value; onChanged(); return this; } /** + * + * *
        * Whether this action is disabled (i.e. should not be run).
        * 
* * bool disabled = 2; + * * @return This builder for chaining. */ public Builder clearDisabled() { - + disabled_ = false; onChanged(); return this; } - private com.google.protobuf.LazyStringList tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList tags_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureTagsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { tags_ = new com.google.protobuf.LazyStringArrayList(tags_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; + * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList - getTagsList() { + public com.google.protobuf.ProtocolStringList getTagsList() { return tags_.getUnmodifiableView(); } /** + * + * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; + * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** + * + * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; + * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -9623,80 +11087,90 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** + * + * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; + * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString - getTagsBytes(int index) { + public com.google.protobuf.ByteString getTagsBytes(int index) { return tags_.getByteString(index); } /** + * + * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; + * * @param index The index to set the value at. * @param value The tags to set. * @return This builder for chaining. */ - public Builder setTags( - int index, java.lang.String value) { + public Builder setTags(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.set(index, value); onChanged(); return this; } /** + * + * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; + * * @param value The tags to add. * @return This builder for chaining. */ - public Builder addTags( - java.lang.String value) { + public Builder addTags(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } /** + * + * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; + * * @param values The tags to add. * @return This builder for chaining. */ - public Builder addAllTags( - java.lang.Iterable values) { + public Builder addAllTags(java.lang.Iterable values) { ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tags_); onChanged(); return this; } /** + * + * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; + * * @return This builder for chaining. */ public Builder clearTags() { @@ -9706,20 +11180,22 @@ public Builder clearTags() { return this; } /** + * + * *
        * Arbitrary, user-defined tags on this action.
        * 
* * repeated string tags = 3; + * * @param value The bytes of the tags to add. * @return This builder for chaining. */ - public Builder addTagsBytes( - com.google.protobuf.ByteString value) { + public Builder addTagsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureTagsIsMutable(); tags_.add(value); onChanged(); @@ -9728,19 +11204,21 @@ public Builder addTagsBytes( private java.lang.Object selectQuery_ = ""; /** + * + * *
        * The SELECT query which must return zero rows in order for this assertion
        * to succeed.
        * 
* * string select_query = 4; + * * @return The selectQuery. */ public java.lang.String getSelectQuery() { java.lang.Object ref = selectQuery_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); selectQuery_ = s; return s; @@ -9749,21 +11227,22 @@ public java.lang.String getSelectQuery() { } } /** + * + * *
        * The SELECT query which must return zero rows in order for this assertion
        * to succeed.
        * 
* * string select_query = 4; + * * @return The bytes for selectQuery. */ - public com.google.protobuf.ByteString - getSelectQueryBytes() { + public com.google.protobuf.ByteString getSelectQueryBytes() { java.lang.Object ref = selectQuery_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); selectQuery_ = b; return b; } else { @@ -9771,57 +11250,64 @@ public java.lang.String getSelectQuery() { } } /** + * + * *
        * The SELECT query which must return zero rows in order for this assertion
        * to succeed.
        * 
* * string select_query = 4; + * * @param value The selectQuery to set. * @return This builder for chaining. */ - public Builder setSelectQuery( - java.lang.String value) { + public Builder setSelectQuery(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + selectQuery_ = value; onChanged(); return this; } /** + * + * *
        * The SELECT query which must return zero rows in order for this assertion
        * to succeed.
        * 
* * string select_query = 4; + * * @return This builder for chaining. */ public Builder clearSelectQuery() { - + selectQuery_ = getDefaultInstance().getSelectQuery(); onChanged(); return this; } /** + * + * *
        * The SELECT query which must return zero rows in order for this assertion
        * to succeed.
        * 
* * string select_query = 4; + * * @param value The bytes for selectQuery to set. * @return This builder for chaining. */ - public Builder setSelectQueryBytes( - com.google.protobuf.ByteString value) { + public Builder setSelectQueryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + selectQuery_ = value; onChanged(); return this; @@ -9829,36 +11315,49 @@ public Builder setSelectQueryBytes( private com.google.cloud.dataform.v1beta1.RelationDescriptor relationDescriptor_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.RelationDescriptor, com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder, com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder> relationDescriptorBuilder_; + com.google.cloud.dataform.v1beta1.RelationDescriptor, + com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder, + com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder> + relationDescriptorBuilder_; /** + * + * *
        * Descriptor for the assertion's automatically-generated view and its
        * columns.
        * 
* * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6; + * * @return Whether the relationDescriptor field is set. */ public boolean hasRelationDescriptor() { return relationDescriptorBuilder_ != null || relationDescriptor_ != null; } /** + * + * *
        * Descriptor for the assertion's automatically-generated view and its
        * columns.
        * 
* * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6; + * * @return The relationDescriptor. */ public com.google.cloud.dataform.v1beta1.RelationDescriptor getRelationDescriptor() { if (relationDescriptorBuilder_ == null) { - return relationDescriptor_ == null ? com.google.cloud.dataform.v1beta1.RelationDescriptor.getDefaultInstance() : relationDescriptor_; + return relationDescriptor_ == null + ? com.google.cloud.dataform.v1beta1.RelationDescriptor.getDefaultInstance() + : relationDescriptor_; } else { return relationDescriptorBuilder_.getMessage(); } } /** + * + * *
        * Descriptor for the assertion's automatically-generated view and its
        * columns.
@@ -9866,7 +11365,8 @@ public com.google.cloud.dataform.v1beta1.RelationDescriptor getRelationDescripto
        *
        * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6;
        */
-      public Builder setRelationDescriptor(com.google.cloud.dataform.v1beta1.RelationDescriptor value) {
+      public Builder setRelationDescriptor(
+          com.google.cloud.dataform.v1beta1.RelationDescriptor value) {
         if (relationDescriptorBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -9880,6 +11380,8 @@ public Builder setRelationDescriptor(com.google.cloud.dataform.v1beta1.RelationD
         return this;
       }
       /**
+       *
+       *
        * 
        * Descriptor for the assertion's automatically-generated view and its
        * columns.
@@ -9899,6 +11401,8 @@ public Builder setRelationDescriptor(
         return this;
       }
       /**
+       *
+       *
        * 
        * Descriptor for the assertion's automatically-generated view and its
        * columns.
@@ -9906,11 +11410,14 @@ public Builder setRelationDescriptor(
        *
        * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6;
        */
-      public Builder mergeRelationDescriptor(com.google.cloud.dataform.v1beta1.RelationDescriptor value) {
+      public Builder mergeRelationDescriptor(
+          com.google.cloud.dataform.v1beta1.RelationDescriptor value) {
         if (relationDescriptorBuilder_ == null) {
           if (relationDescriptor_ != null) {
             relationDescriptor_ =
-              com.google.cloud.dataform.v1beta1.RelationDescriptor.newBuilder(relationDescriptor_).mergeFrom(value).buildPartial();
+                com.google.cloud.dataform.v1beta1.RelationDescriptor.newBuilder(relationDescriptor_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             relationDescriptor_ = value;
           }
@@ -9922,6 +11429,8 @@ public Builder mergeRelationDescriptor(com.google.cloud.dataform.v1beta1.Relatio
         return this;
       }
       /**
+       *
+       *
        * 
        * Descriptor for the assertion's automatically-generated view and its
        * columns.
@@ -9941,6 +11450,8 @@ public Builder clearRelationDescriptor() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Descriptor for the assertion's automatically-generated view and its
        * columns.
@@ -9948,12 +11459,15 @@ public Builder clearRelationDescriptor() {
        *
        * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6;
        */
-      public com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder getRelationDescriptorBuilder() {
-        
+      public com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder
+          getRelationDescriptorBuilder() {
+
         onChanged();
         return getRelationDescriptorFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Descriptor for the assertion's automatically-generated view and its
        * columns.
@@ -9961,15 +11475,19 @@ public com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder getRelationD
        *
        * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6;
        */
-      public com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder getRelationDescriptorOrBuilder() {
+      public com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder
+          getRelationDescriptorOrBuilder() {
         if (relationDescriptorBuilder_ != null) {
           return relationDescriptorBuilder_.getMessageOrBuilder();
         } else {
-          return relationDescriptor_ == null ?
-              com.google.cloud.dataform.v1beta1.RelationDescriptor.getDefaultInstance() : relationDescriptor_;
+          return relationDescriptor_ == null
+              ? com.google.cloud.dataform.v1beta1.RelationDescriptor.getDefaultInstance()
+              : relationDescriptor_;
         }
       }
       /**
+       *
+       *
        * 
        * Descriptor for the assertion's automatically-generated view and its
        * columns.
@@ -9978,18 +11496,22 @@ public com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder getRelation
        * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 6;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.dataform.v1beta1.RelationDescriptor, com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder, com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder> 
+              com.google.cloud.dataform.v1beta1.RelationDescriptor,
+              com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder,
+              com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder>
           getRelationDescriptorFieldBuilder() {
         if (relationDescriptorBuilder_ == null) {
-          relationDescriptorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.dataform.v1beta1.RelationDescriptor, com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder, com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder>(
-                  getRelationDescriptor(),
-                  getParentForChildren(),
-                  isClean());
+          relationDescriptorBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.cloud.dataform.v1beta1.RelationDescriptor,
+                  com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder,
+                  com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder>(
+                  getRelationDescriptor(), getParentForChildren(), isClean());
           relationDescriptor_ = null;
         }
         return relationDescriptorBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -10002,30 +11524,32 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.CompilationResultAction.Assertion)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.CompilationResultAction.Assertion)
-    private static final com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion DEFAULT_INSTANCE;
+    private static final com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion
+        DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion();
     }
 
-    public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion getDefaultInstance() {
+    public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion
+        getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public Assertion parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new Assertion(input, extensionRegistry);
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public Assertion parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            return new Assertion(input, extensionRegistry);
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -10037,37 +11561,46 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion getDefaultInstanceForType() {
+    public com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion
+        getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
-  public interface DeclarationOrBuilder extends
+  public interface DeclarationOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.CompilationResultAction.Declaration)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Descriptor for the relation and its columns. Used as documentation only,
      * i.e. values here will result in no changes to the relation's metadata.
      * 
* * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 1; + * * @return Whether the relationDescriptor field is set. */ boolean hasRelationDescriptor(); /** + * + * *
      * Descriptor for the relation and its columns. Used as documentation only,
      * i.e. values here will result in no changes to the relation's metadata.
      * 
* * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 1; + * * @return The relationDescriptor. */ com.google.cloud.dataform.v1beta1.RelationDescriptor getRelationDescriptor(); /** + * + * *
      * Descriptor for the relation and its columns. Used as documentation only,
      * i.e. values here will result in no changes to the relation's metadata.
@@ -10078,6 +11611,8 @@ public interface DeclarationOrBuilder extends
     com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder getRelationDescriptorOrBuilder();
   }
   /**
+   *
+   *
    * 
    * Represents a relation which is not managed by Dataform but which may be
    * referenced by Dataform actions.
@@ -10085,30 +11620,29 @@ public interface DeclarationOrBuilder extends
    *
    * Protobuf type {@code google.cloud.dataform.v1beta1.CompilationResultAction.Declaration}
    */
-  public static final class Declaration extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class Declaration extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.CompilationResultAction.Declaration)
       DeclarationOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use Declaration.newBuilder() to construct.
     private Declaration(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-    private Declaration() {
-    }
+
+    private Declaration() {}
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new Declaration();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private Declaration(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -10127,26 +11661,30 @@ private Declaration(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder subBuilder = null;
-              if (relationDescriptor_ != null) {
-                subBuilder = relationDescriptor_.toBuilder();
-              }
-              relationDescriptor_ = input.readMessage(com.google.cloud.dataform.v1beta1.RelationDescriptor.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(relationDescriptor_);
-                relationDescriptor_ = subBuilder.buildPartial();
-              }
+            case 10:
+              {
+                com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder subBuilder = null;
+                if (relationDescriptor_ != null) {
+                  subBuilder = relationDescriptor_.toBuilder();
+                }
+                relationDescriptor_ =
+                    input.readMessage(
+                        com.google.cloud.dataform.v1beta1.RelationDescriptor.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(relationDescriptor_);
+                  relationDescriptor_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -10154,35 +11692,40 @@ private Declaration(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Declaration_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.dataform.v1beta1.DataformProto
+          .internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Declaration_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Declaration_fieldAccessorTable
+      return com.google.cloud.dataform.v1beta1.DataformProto
+          .internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Declaration_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.class, com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.Builder.class);
+              com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.class,
+              com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.Builder.class);
     }
 
     public static final int RELATION_DESCRIPTOR_FIELD_NUMBER = 1;
     private com.google.cloud.dataform.v1beta1.RelationDescriptor relationDescriptor_;
     /**
+     *
+     *
      * 
      * Descriptor for the relation and its columns. Used as documentation only,
      * i.e. values here will result in no changes to the relation's metadata.
      * 
* * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 1; + * * @return Whether the relationDescriptor field is set. */ @java.lang.Override @@ -10190,19 +11733,26 @@ public boolean hasRelationDescriptor() { return relationDescriptor_ != null; } /** + * + * *
      * Descriptor for the relation and its columns. Used as documentation only,
      * i.e. values here will result in no changes to the relation's metadata.
      * 
* * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 1; + * * @return The relationDescriptor. */ @java.lang.Override public com.google.cloud.dataform.v1beta1.RelationDescriptor getRelationDescriptor() { - return relationDescriptor_ == null ? com.google.cloud.dataform.v1beta1.RelationDescriptor.getDefaultInstance() : relationDescriptor_; + return relationDescriptor_ == null + ? com.google.cloud.dataform.v1beta1.RelationDescriptor.getDefaultInstance() + : relationDescriptor_; } /** + * + * *
      * Descriptor for the relation and its columns. Used as documentation only,
      * i.e. values here will result in no changes to the relation's metadata.
@@ -10211,11 +11761,13 @@ public com.google.cloud.dataform.v1beta1.RelationDescriptor getRelationDescripto
      * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 1;
      */
     @java.lang.Override
-    public com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder getRelationDescriptorOrBuilder() {
+    public com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder
+        getRelationDescriptorOrBuilder() {
       return getRelationDescriptor();
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -10227,8 +11779,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output)
-                        throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
       if (relationDescriptor_ != null) {
         output.writeMessage(1, getRelationDescriptor());
       }
@@ -10242,8 +11793,8 @@ public int getSerializedSize() {
 
       size = 0;
       if (relationDescriptor_ != null) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, getRelationDescriptor());
+        size +=
+            com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRelationDescriptor());
       }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
@@ -10253,17 +11804,17 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
       if (!(obj instanceof com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration)) {
         return super.equals(obj);
       }
-      com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration other = (com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration) obj;
+      com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration other =
+          (com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration) obj;
 
       if (hasRelationDescriptor() != other.hasRelationDescriptor()) return false;
       if (hasRelationDescriptor()) {
-        if (!getRelationDescriptor()
-            .equals(other.getRelationDescriptor())) return false;
+        if (!getRelationDescriptor().equals(other.getRelationDescriptor())) return false;
       }
       if (!unknownFields.equals(other.unknownFields)) return false;
       return true;
@@ -10286,87 +11837,95 @@ public int hashCode() {
     }
 
     public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration parseFrom(
-        java.nio.ByteBuffer data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration parseFrom(
-        java.nio.ByteBuffer data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
+
     public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration parseFrom(
         com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration parseFrom(byte[] data)
-        throws com.google.protobuf.InvalidProtocolBufferException {
+
+    public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration parseFrom(
+        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration parseFrom(
-        byte[] data,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-    public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration parseFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
-    public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+
+    public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration
+        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
-    public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration parseDelimitedFrom(
-        java.io.InputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+
+    public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration
+        parseDelimitedFrom(
+            java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+          PARSER, input, extensionRegistry);
     }
+
     public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration parseFrom(
-        com.google.protobuf.CodedInputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+          PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() { return newBuilder(); }
+    public Builder newBuilderForType() {
+      return newBuilder();
+    }
+
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-    public static Builder newBuilder(com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration prototype) {
+
+    public static Builder newBuilder(
+        com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
+
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE
-          ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -10376,6 +11935,8 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Represents a relation which is not managed by Dataform but which may be
      * referenced by Dataform actions.
@@ -10383,38 +11944,42 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.dataform.v1beta1.CompilationResultAction.Declaration}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.CompilationResultAction.Declaration)
         com.google.cloud.dataform.v1beta1.CompilationResultAction.DeclarationOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Declaration_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.dataform.v1beta1.DataformProto
+            .internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Declaration_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Declaration_fieldAccessorTable
+        return com.google.cloud.dataform.v1beta1.DataformProto
+            .internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Declaration_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.class, com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.Builder.class);
+                com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.class,
+                com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.Builder
+                    .class);
       }
 
-      // Construct using com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.newBuilder()
+      // Construct using
+      // com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -10428,19 +11993,22 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Declaration_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.dataform.v1beta1.DataformProto
+            .internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Declaration_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration getDefaultInstanceForType() {
-        return com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.getDefaultInstance();
+      public com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration
+          getDefaultInstanceForType() {
+        return com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration
+            .getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration build() {
-        com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration result = buildPartial();
+        com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration result =
+            buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -10449,7 +12017,8 @@ public com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration bui
 
       @java.lang.Override
       public com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration buildPartial() {
-        com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration result = new com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration(this);
+        com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration result =
+            new com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration(this);
         if (relationDescriptorBuilder_ == null) {
           result.relationDescriptor_ = relationDescriptor_;
         } else {
@@ -10463,46 +12032,54 @@ public com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration bui
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other instanceof com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration) {
-          return mergeFrom((com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration)other);
+        if (other
+            instanceof com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration) {
+          return mergeFrom(
+              (com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration other) {
-        if (other == com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration other) {
+        if (other
+            == com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration
+                .getDefaultInstance()) return this;
         if (other.hasRelationDescriptor()) {
           mergeRelationDescriptor(other.getRelationDescriptor());
         }
@@ -10525,7 +12102,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -10537,36 +12116,49 @@ public Builder mergeFrom(
 
       private com.google.cloud.dataform.v1beta1.RelationDescriptor relationDescriptor_;
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.dataform.v1beta1.RelationDescriptor, com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder, com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder> relationDescriptorBuilder_;
+              com.google.cloud.dataform.v1beta1.RelationDescriptor,
+              com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder,
+              com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder>
+          relationDescriptorBuilder_;
       /**
+       *
+       *
        * 
        * Descriptor for the relation and its columns. Used as documentation only,
        * i.e. values here will result in no changes to the relation's metadata.
        * 
* * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 1; + * * @return Whether the relationDescriptor field is set. */ public boolean hasRelationDescriptor() { return relationDescriptorBuilder_ != null || relationDescriptor_ != null; } /** + * + * *
        * Descriptor for the relation and its columns. Used as documentation only,
        * i.e. values here will result in no changes to the relation's metadata.
        * 
* * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 1; + * * @return The relationDescriptor. */ public com.google.cloud.dataform.v1beta1.RelationDescriptor getRelationDescriptor() { if (relationDescriptorBuilder_ == null) { - return relationDescriptor_ == null ? com.google.cloud.dataform.v1beta1.RelationDescriptor.getDefaultInstance() : relationDescriptor_; + return relationDescriptor_ == null + ? com.google.cloud.dataform.v1beta1.RelationDescriptor.getDefaultInstance() + : relationDescriptor_; } else { return relationDescriptorBuilder_.getMessage(); } } /** + * + * *
        * Descriptor for the relation and its columns. Used as documentation only,
        * i.e. values here will result in no changes to the relation's metadata.
@@ -10574,7 +12166,8 @@ public com.google.cloud.dataform.v1beta1.RelationDescriptor getRelationDescripto
        *
        * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 1;
        */
-      public Builder setRelationDescriptor(com.google.cloud.dataform.v1beta1.RelationDescriptor value) {
+      public Builder setRelationDescriptor(
+          com.google.cloud.dataform.v1beta1.RelationDescriptor value) {
         if (relationDescriptorBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -10588,6 +12181,8 @@ public Builder setRelationDescriptor(com.google.cloud.dataform.v1beta1.RelationD
         return this;
       }
       /**
+       *
+       *
        * 
        * Descriptor for the relation and its columns. Used as documentation only,
        * i.e. values here will result in no changes to the relation's metadata.
@@ -10607,6 +12202,8 @@ public Builder setRelationDescriptor(
         return this;
       }
       /**
+       *
+       *
        * 
        * Descriptor for the relation and its columns. Used as documentation only,
        * i.e. values here will result in no changes to the relation's metadata.
@@ -10614,11 +12211,14 @@ public Builder setRelationDescriptor(
        *
        * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 1;
        */
-      public Builder mergeRelationDescriptor(com.google.cloud.dataform.v1beta1.RelationDescriptor value) {
+      public Builder mergeRelationDescriptor(
+          com.google.cloud.dataform.v1beta1.RelationDescriptor value) {
         if (relationDescriptorBuilder_ == null) {
           if (relationDescriptor_ != null) {
             relationDescriptor_ =
-              com.google.cloud.dataform.v1beta1.RelationDescriptor.newBuilder(relationDescriptor_).mergeFrom(value).buildPartial();
+                com.google.cloud.dataform.v1beta1.RelationDescriptor.newBuilder(relationDescriptor_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             relationDescriptor_ = value;
           }
@@ -10630,6 +12230,8 @@ public Builder mergeRelationDescriptor(com.google.cloud.dataform.v1beta1.Relatio
         return this;
       }
       /**
+       *
+       *
        * 
        * Descriptor for the relation and its columns. Used as documentation only,
        * i.e. values here will result in no changes to the relation's metadata.
@@ -10649,6 +12251,8 @@ public Builder clearRelationDescriptor() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Descriptor for the relation and its columns. Used as documentation only,
        * i.e. values here will result in no changes to the relation's metadata.
@@ -10656,12 +12260,15 @@ public Builder clearRelationDescriptor() {
        *
        * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 1;
        */
-      public com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder getRelationDescriptorBuilder() {
-        
+      public com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder
+          getRelationDescriptorBuilder() {
+
         onChanged();
         return getRelationDescriptorFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Descriptor for the relation and its columns. Used as documentation only,
        * i.e. values here will result in no changes to the relation's metadata.
@@ -10669,15 +12276,19 @@ public com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder getRelationD
        *
        * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 1;
        */
-      public com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder getRelationDescriptorOrBuilder() {
+      public com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder
+          getRelationDescriptorOrBuilder() {
         if (relationDescriptorBuilder_ != null) {
           return relationDescriptorBuilder_.getMessageOrBuilder();
         } else {
-          return relationDescriptor_ == null ?
-              com.google.cloud.dataform.v1beta1.RelationDescriptor.getDefaultInstance() : relationDescriptor_;
+          return relationDescriptor_ == null
+              ? com.google.cloud.dataform.v1beta1.RelationDescriptor.getDefaultInstance()
+              : relationDescriptor_;
         }
       }
       /**
+       *
+       *
        * 
        * Descriptor for the relation and its columns. Used as documentation only,
        * i.e. values here will result in no changes to the relation's metadata.
@@ -10686,18 +12297,22 @@ public com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder getRelation
        * .google.cloud.dataform.v1beta1.RelationDescriptor relation_descriptor = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-          com.google.cloud.dataform.v1beta1.RelationDescriptor, com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder, com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder> 
+              com.google.cloud.dataform.v1beta1.RelationDescriptor,
+              com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder,
+              com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder>
           getRelationDescriptorFieldBuilder() {
         if (relationDescriptorBuilder_ == null) {
-          relationDescriptorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              com.google.cloud.dataform.v1beta1.RelationDescriptor, com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder, com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder>(
-                  getRelationDescriptor(),
-                  getParentForChildren(),
-                  isClean());
+          relationDescriptorBuilder_ =
+              new com.google.protobuf.SingleFieldBuilderV3<
+                  com.google.cloud.dataform.v1beta1.RelationDescriptor,
+                  com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder,
+                  com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder>(
+                  getRelationDescriptor(), getParentForChildren(), isClean());
           relationDescriptor_ = null;
         }
         return relationDescriptorBuilder_;
       }
+
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -10710,30 +12325,33 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.CompilationResultAction.Declaration)
     }
 
     // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.CompilationResultAction.Declaration)
-    private static final com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration DEFAULT_INSTANCE;
+    private static final com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration
+        DEFAULT_INSTANCE;
+
     static {
-      DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration();
+      DEFAULT_INSTANCE =
+          new com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration();
     }
 
-    public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration getDefaultInstance() {
+    public static com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration
+        getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser
-        PARSER = new com.google.protobuf.AbstractParser() {
-      @java.lang.Override
-      public Declaration parsePartialFrom(
-          com.google.protobuf.CodedInputStream input,
-          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws com.google.protobuf.InvalidProtocolBufferException {
-        return new Declaration(input, extensionRegistry);
-      }
-    };
+    private static final com.google.protobuf.Parser PARSER =
+        new com.google.protobuf.AbstractParser() {
+          @java.lang.Override
+          public Declaration parsePartialFrom(
+              com.google.protobuf.CodedInputStream input,
+              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+              throws com.google.protobuf.InvalidProtocolBufferException {
+            return new Declaration(input, extensionRegistry);
+          }
+        };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -10745,16 +12363,18 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration getDefaultInstanceForType() {
+    public com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration
+        getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   private int compiledObjectCase_ = 0;
   private java.lang.Object compiledObject_;
+
   public enum CompiledObjectCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     RELATION(4),
     OPERATIONS(5),
@@ -10762,6 +12382,7 @@ public enum CompiledObjectCase
     DECLARATION(7),
     COMPILEDOBJECT_NOT_SET(0);
     private final int value;
+
     private CompiledObjectCase(int value) {
       this.value = value;
     }
@@ -10777,33 +12398,41 @@ public static CompiledObjectCase valueOf(int value) {
 
     public static CompiledObjectCase forNumber(int value) {
       switch (value) {
-        case 4: return RELATION;
-        case 5: return OPERATIONS;
-        case 6: return ASSERTION;
-        case 7: return DECLARATION;
-        case 0: return COMPILEDOBJECT_NOT_SET;
-        default: return null;
+        case 4:
+          return RELATION;
+        case 5:
+          return OPERATIONS;
+        case 6:
+          return ASSERTION;
+        case 7:
+          return DECLARATION;
+        case 0:
+          return COMPILEDOBJECT_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public CompiledObjectCase
-  getCompiledObjectCase() {
-    return CompiledObjectCase.forNumber(
-        compiledObjectCase_);
+  public CompiledObjectCase getCompiledObjectCase() {
+    return CompiledObjectCase.forNumber(compiledObjectCase_);
   }
 
   public static final int TARGET_FIELD_NUMBER = 1;
   private com.google.cloud.dataform.v1beta1.Target target_;
   /**
+   *
+   *
    * 
    * This action's identifier. Unique within the compilation result.
    * 
* * .google.cloud.dataform.v1beta1.Target target = 1; + * * @return Whether the target field is set. */ @java.lang.Override @@ -10811,18 +12440,25 @@ public boolean hasTarget() { return target_ != null; } /** + * + * *
    * This action's identifier. Unique within the compilation result.
    * 
* * .google.cloud.dataform.v1beta1.Target target = 1; + * * @return The target. */ @java.lang.Override public com.google.cloud.dataform.v1beta1.Target getTarget() { - return target_ == null ? com.google.cloud.dataform.v1beta1.Target.getDefaultInstance() : target_; + return target_ == null + ? com.google.cloud.dataform.v1beta1.Target.getDefaultInstance() + : target_; } /** + * + * *
    * This action's identifier. Unique within the compilation result.
    * 
@@ -10837,12 +12473,15 @@ public com.google.cloud.dataform.v1beta1.TargetOrBuilder getTargetOrBuilder() { public static final int CANONICAL_TARGET_FIELD_NUMBER = 2; private com.google.cloud.dataform.v1beta1.Target canonicalTarget_; /** + * + * *
    * The action's identifier if the project had been compiled without any
    * overrides configured. Unique within the compilation result.
    * 
* * .google.cloud.dataform.v1beta1.Target canonical_target = 2; + * * @return Whether the canonicalTarget field is set. */ @java.lang.Override @@ -10850,19 +12489,26 @@ public boolean hasCanonicalTarget() { return canonicalTarget_ != null; } /** + * + * *
    * The action's identifier if the project had been compiled without any
    * overrides configured. Unique within the compilation result.
    * 
* * .google.cloud.dataform.v1beta1.Target canonical_target = 2; + * * @return The canonicalTarget. */ @java.lang.Override public com.google.cloud.dataform.v1beta1.Target getCanonicalTarget() { - return canonicalTarget_ == null ? com.google.cloud.dataform.v1beta1.Target.getDefaultInstance() : canonicalTarget_; + return canonicalTarget_ == null + ? com.google.cloud.dataform.v1beta1.Target.getDefaultInstance() + : canonicalTarget_; } /** + * + * *
    * The action's identifier if the project had been compiled without any
    * overrides configured. Unique within the compilation result.
@@ -10878,12 +12524,15 @@ public com.google.cloud.dataform.v1beta1.TargetOrBuilder getCanonicalTargetOrBui
   public static final int FILE_PATH_FIELD_NUMBER = 3;
   private volatile java.lang.Object filePath_;
   /**
+   *
+   *
    * 
    * The full path including filename in which this action is located, relative
    * to the workspace root.
    * 
* * string file_path = 3; + * * @return The filePath. */ @java.lang.Override @@ -10892,30 +12541,30 @@ public java.lang.String getFilePath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filePath_ = s; return s; } } /** + * + * *
    * The full path including filename in which this action is located, relative
    * to the workspace root.
    * 
* * string file_path = 3; + * * @return The bytes for filePath. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilePathBytes() { + public com.google.protobuf.ByteString getFilePathBytes() { java.lang.Object ref = filePath_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filePath_ = b; return b; } else { @@ -10925,11 +12574,14 @@ public java.lang.String getFilePath() { public static final int RELATION_FIELD_NUMBER = 4; /** + * + * *
    * The database relation created/updated by this action.
    * 
* * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation relation = 4; + * * @return Whether the relation field is set. */ @java.lang.Override @@ -10937,21 +12589,26 @@ public boolean hasRelation() { return compiledObjectCase_ == 4; } /** + * + * *
    * The database relation created/updated by this action.
    * 
* * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation relation = 4; + * * @return The relation. */ @java.lang.Override public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation getRelation() { if (compiledObjectCase_ == 4) { - return (com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation) compiledObject_; + return (com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation) compiledObject_; } return com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.getDefaultInstance(); } /** + * + * *
    * The database relation created/updated by this action.
    * 
@@ -10959,20 +12616,24 @@ public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation getRel * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation relation = 4; */ @java.lang.Override - public com.google.cloud.dataform.v1beta1.CompilationResultAction.RelationOrBuilder getRelationOrBuilder() { + public com.google.cloud.dataform.v1beta1.CompilationResultAction.RelationOrBuilder + getRelationOrBuilder() { if (compiledObjectCase_ == 4) { - return (com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation) compiledObject_; + return (com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation) compiledObject_; } return com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.getDefaultInstance(); } public static final int OPERATIONS_FIELD_NUMBER = 5; /** + * + * *
    * The database operations executed by this action.
    * 
* * .google.cloud.dataform.v1beta1.CompilationResultAction.Operations operations = 5; + * * @return Whether the operations field is set. */ @java.lang.Override @@ -10980,21 +12641,27 @@ public boolean hasOperations() { return compiledObjectCase_ == 5; } /** + * + * *
    * The database operations executed by this action.
    * 
* * .google.cloud.dataform.v1beta1.CompilationResultAction.Operations operations = 5; + * * @return The operations. */ @java.lang.Override public com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations getOperations() { if (compiledObjectCase_ == 5) { - return (com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations) compiledObject_; + return (com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations) compiledObject_; } - return com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.getDefaultInstance(); + return com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations + .getDefaultInstance(); } /** + * + * *
    * The database operations executed by this action.
    * 
@@ -11002,20 +12669,25 @@ public com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations getO * .google.cloud.dataform.v1beta1.CompilationResultAction.Operations operations = 5; */ @java.lang.Override - public com.google.cloud.dataform.v1beta1.CompilationResultAction.OperationsOrBuilder getOperationsOrBuilder() { + public com.google.cloud.dataform.v1beta1.CompilationResultAction.OperationsOrBuilder + getOperationsOrBuilder() { if (compiledObjectCase_ == 5) { - return (com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations) compiledObject_; + return (com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations) compiledObject_; } - return com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.getDefaultInstance(); + return com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations + .getDefaultInstance(); } public static final int ASSERTION_FIELD_NUMBER = 6; /** + * + * *
    * The assertion executed by this action.
    * 
* * .google.cloud.dataform.v1beta1.CompilationResultAction.Assertion assertion = 6; + * * @return Whether the assertion field is set. */ @java.lang.Override @@ -11023,21 +12695,26 @@ public boolean hasAssertion() { return compiledObjectCase_ == 6; } /** + * + * *
    * The assertion executed by this action.
    * 
* * .google.cloud.dataform.v1beta1.CompilationResultAction.Assertion assertion = 6; + * * @return The assertion. */ @java.lang.Override public com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion getAssertion() { if (compiledObjectCase_ == 6) { - return (com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion) compiledObject_; + return (com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion) compiledObject_; } return com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.getDefaultInstance(); } /** + * + * *
    * The assertion executed by this action.
    * 
@@ -11045,20 +12722,25 @@ public com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion getAs * .google.cloud.dataform.v1beta1.CompilationResultAction.Assertion assertion = 6; */ @java.lang.Override - public com.google.cloud.dataform.v1beta1.CompilationResultAction.AssertionOrBuilder getAssertionOrBuilder() { + public com.google.cloud.dataform.v1beta1.CompilationResultAction.AssertionOrBuilder + getAssertionOrBuilder() { if (compiledObjectCase_ == 6) { - return (com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion) compiledObject_; + return (com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion) compiledObject_; } return com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.getDefaultInstance(); } public static final int DECLARATION_FIELD_NUMBER = 7; /** + * + * *
    * The declaration declared by this action.
    * 
* - * .google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7; + * .google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7; + * + * * @return Whether the declaration field is set. */ @java.lang.Override @@ -11066,36 +12748,49 @@ public boolean hasDeclaration() { return compiledObjectCase_ == 7; } /** + * + * *
    * The declaration declared by this action.
    * 
* - * .google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7; + * .google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7; + * + * * @return The declaration. */ @java.lang.Override public com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration getDeclaration() { if (compiledObjectCase_ == 7) { - return (com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration) compiledObject_; + return (com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration) + compiledObject_; } - return com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.getDefaultInstance(); + return com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration + .getDefaultInstance(); } /** + * + * *
    * The declaration declared by this action.
    * 
* - * .google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7; + * .google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7; + * */ @java.lang.Override - public com.google.cloud.dataform.v1beta1.CompilationResultAction.DeclarationOrBuilder getDeclarationOrBuilder() { + public com.google.cloud.dataform.v1beta1.CompilationResultAction.DeclarationOrBuilder + getDeclarationOrBuilder() { if (compiledObjectCase_ == 7) { - return (com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration) compiledObject_; + return (com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration) + compiledObject_; } - return com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.getDefaultInstance(); + return com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration + .getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -11107,8 +12802,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (target_ != null) { output.writeMessage(1, getTarget()); } @@ -11119,16 +12813,22 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 3, filePath_); } if (compiledObjectCase_ == 4) { - output.writeMessage(4, (com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation) compiledObject_); + output.writeMessage( + 4, (com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation) compiledObject_); } if (compiledObjectCase_ == 5) { - output.writeMessage(5, (com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations) compiledObject_); + output.writeMessage( + 5, + (com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations) compiledObject_); } if (compiledObjectCase_ == 6) { - output.writeMessage(6, (com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion) compiledObject_); + output.writeMessage( + 6, (com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion) compiledObject_); } if (compiledObjectCase_ == 7) { - output.writeMessage(7, (com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration) compiledObject_); + output.writeMessage( + 7, + (com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration) compiledObject_); } unknownFields.writeTo(output); } @@ -11140,31 +12840,40 @@ public int getSerializedSize() { size = 0; if (target_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getTarget()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTarget()); } if (canonicalTarget_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCanonicalTarget()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCanonicalTarget()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filePath_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, filePath_); } if (compiledObjectCase_ == 4) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, (com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation) compiledObject_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 4, + (com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation) compiledObject_); } if (compiledObjectCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations) compiledObject_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, + (com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations) + compiledObject_); } if (compiledObjectCase_ == 6) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, (com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion) compiledObject_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, + (com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion) + compiledObject_); } if (compiledObjectCase_ == 7) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, (com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration) compiledObject_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, + (com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration) + compiledObject_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -11174,42 +12883,36 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.CompilationResultAction)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.CompilationResultAction other = (com.google.cloud.dataform.v1beta1.CompilationResultAction) obj; + com.google.cloud.dataform.v1beta1.CompilationResultAction other = + (com.google.cloud.dataform.v1beta1.CompilationResultAction) obj; if (hasTarget() != other.hasTarget()) return false; if (hasTarget()) { - if (!getTarget() - .equals(other.getTarget())) return false; + if (!getTarget().equals(other.getTarget())) return false; } if (hasCanonicalTarget() != other.hasCanonicalTarget()) return false; if (hasCanonicalTarget()) { - if (!getCanonicalTarget() - .equals(other.getCanonicalTarget())) return false; + if (!getCanonicalTarget().equals(other.getCanonicalTarget())) return false; } - if (!getFilePath() - .equals(other.getFilePath())) return false; + if (!getFilePath().equals(other.getFilePath())) return false; if (!getCompiledObjectCase().equals(other.getCompiledObjectCase())) return false; switch (compiledObjectCase_) { case 4: - if (!getRelation() - .equals(other.getRelation())) return false; + if (!getRelation().equals(other.getRelation())) return false; break; case 5: - if (!getOperations() - .equals(other.getOperations())) return false; + if (!getOperations().equals(other.getOperations())) return false; break; case 6: - if (!getAssertion() - .equals(other.getAssertion())) return false; + if (!getAssertion().equals(other.getAssertion())) return false; break; case 7: - if (!getDeclaration() - .equals(other.getDeclaration())) return false; + if (!getDeclaration().equals(other.getDeclaration())) return false; break; case 0: default: @@ -11261,117 +12964,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.CompilationResultAction parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.CompilationResultAction parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.CompilationResultAction parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.CompilationResultAction parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.CompilationResultAction parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.CompilationResultAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.CompilationResultAction prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.CompilationResultAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents a single Dataform action in a compilation result.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.CompilationResultAction} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.CompilationResultAction) com.google.cloud.dataform.v1beta1.CompilationResultActionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.CompilationResultAction.class, com.google.cloud.dataform.v1beta1.CompilationResultAction.Builder.class); + com.google.cloud.dataform.v1beta1.CompilationResultAction.class, + com.google.cloud.dataform.v1beta1.CompilationResultAction.Builder.class); } // Construct using com.google.cloud.dataform.v1beta1.CompilationResultAction.newBuilder() @@ -11379,16 +13092,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -11412,9 +13124,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_descriptor; } @java.lang.Override @@ -11433,7 +13145,8 @@ public com.google.cloud.dataform.v1beta1.CompilationResultAction build() { @java.lang.Override public com.google.cloud.dataform.v1beta1.CompilationResultAction buildPartial() { - com.google.cloud.dataform.v1beta1.CompilationResultAction result = new com.google.cloud.dataform.v1beta1.CompilationResultAction(this); + com.google.cloud.dataform.v1beta1.CompilationResultAction result = + new com.google.cloud.dataform.v1beta1.CompilationResultAction(this); if (targetBuilder_ == null) { result.target_ = target_; } else { @@ -11482,38 +13195,39 @@ public com.google.cloud.dataform.v1beta1.CompilationResultAction buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.CompilationResultAction) { - return mergeFrom((com.google.cloud.dataform.v1beta1.CompilationResultAction)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.CompilationResultAction) other); } else { super.mergeFrom(other); return this; @@ -11521,7 +13235,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1beta1.CompilationResultAction other) { - if (other == com.google.cloud.dataform.v1beta1.CompilationResultAction.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1beta1.CompilationResultAction.getDefaultInstance()) + return this; if (other.hasTarget()) { mergeTarget(other.getTarget()); } @@ -11533,25 +13248,30 @@ public Builder mergeFrom(com.google.cloud.dataform.v1beta1.CompilationResultActi onChanged(); } switch (other.getCompiledObjectCase()) { - case RELATION: { - mergeRelation(other.getRelation()); - break; - } - case OPERATIONS: { - mergeOperations(other.getOperations()); - break; - } - case ASSERTION: { - mergeAssertion(other.getAssertion()); - break; - } - case DECLARATION: { - mergeDeclaration(other.getDeclaration()); - break; - } - case COMPILEDOBJECT_NOT_SET: { - break; - } + case RELATION: + { + mergeRelation(other.getRelation()); + break; + } + case OPERATIONS: + { + mergeOperations(other.getOperations()); + break; + } + case ASSERTION: + { + mergeAssertion(other.getAssertion()); + break; + } + case DECLARATION: + { + mergeDeclaration(other.getDeclaration()); + break; + } + case COMPILEDOBJECT_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -11572,7 +13292,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.CompilationResultAction) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.CompilationResultAction) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -11581,12 +13302,12 @@ public Builder mergeFrom( } return this; } + private int compiledObjectCase_ = 0; private java.lang.Object compiledObject_; - public CompiledObjectCase - getCompiledObjectCase() { - return CompiledObjectCase.forNumber( - compiledObjectCase_); + + public CompiledObjectCase getCompiledObjectCase() { + return CompiledObjectCase.forNumber(compiledObjectCase_); } public Builder clearCompiledObject() { @@ -11596,37 +13317,49 @@ public Builder clearCompiledObject() { return this; } - private com.google.cloud.dataform.v1beta1.Target target_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder> targetBuilder_; + com.google.cloud.dataform.v1beta1.Target, + com.google.cloud.dataform.v1beta1.Target.Builder, + com.google.cloud.dataform.v1beta1.TargetOrBuilder> + targetBuilder_; /** + * + * *
      * This action's identifier. Unique within the compilation result.
      * 
* * .google.cloud.dataform.v1beta1.Target target = 1; + * * @return Whether the target field is set. */ public boolean hasTarget() { return targetBuilder_ != null || target_ != null; } /** + * + * *
      * This action's identifier. Unique within the compilation result.
      * 
* * .google.cloud.dataform.v1beta1.Target target = 1; + * * @return The target. */ public com.google.cloud.dataform.v1beta1.Target getTarget() { if (targetBuilder_ == null) { - return target_ == null ? com.google.cloud.dataform.v1beta1.Target.getDefaultInstance() : target_; + return target_ == null + ? com.google.cloud.dataform.v1beta1.Target.getDefaultInstance() + : target_; } else { return targetBuilder_.getMessage(); } } /** + * + * *
      * This action's identifier. Unique within the compilation result.
      * 
@@ -11647,14 +13380,15 @@ public Builder setTarget(com.google.cloud.dataform.v1beta1.Target value) { return this; } /** + * + * *
      * This action's identifier. Unique within the compilation result.
      * 
* * .google.cloud.dataform.v1beta1.Target target = 1; */ - public Builder setTarget( - com.google.cloud.dataform.v1beta1.Target.Builder builderForValue) { + public Builder setTarget(com.google.cloud.dataform.v1beta1.Target.Builder builderForValue) { if (targetBuilder_ == null) { target_ = builderForValue.build(); onChanged(); @@ -11665,6 +13399,8 @@ public Builder setTarget( return this; } /** + * + * *
      * This action's identifier. Unique within the compilation result.
      * 
@@ -11675,7 +13411,9 @@ public Builder mergeTarget(com.google.cloud.dataform.v1beta1.Target value) { if (targetBuilder_ == null) { if (target_ != null) { target_ = - com.google.cloud.dataform.v1beta1.Target.newBuilder(target_).mergeFrom(value).buildPartial(); + com.google.cloud.dataform.v1beta1.Target.newBuilder(target_) + .mergeFrom(value) + .buildPartial(); } else { target_ = value; } @@ -11687,6 +13425,8 @@ public Builder mergeTarget(com.google.cloud.dataform.v1beta1.Target value) { return this; } /** + * + * *
      * This action's identifier. Unique within the compilation result.
      * 
@@ -11705,6 +13445,8 @@ public Builder clearTarget() { return this; } /** + * + * *
      * This action's identifier. Unique within the compilation result.
      * 
@@ -11712,11 +13454,13 @@ public Builder clearTarget() { * .google.cloud.dataform.v1beta1.Target target = 1; */ public com.google.cloud.dataform.v1beta1.Target.Builder getTargetBuilder() { - + onChanged(); return getTargetFieldBuilder().getBuilder(); } /** + * + * *
      * This action's identifier. Unique within the compilation result.
      * 
@@ -11727,11 +13471,14 @@ public com.google.cloud.dataform.v1beta1.TargetOrBuilder getTargetOrBuilder() { if (targetBuilder_ != null) { return targetBuilder_.getMessageOrBuilder(); } else { - return target_ == null ? - com.google.cloud.dataform.v1beta1.Target.getDefaultInstance() : target_; + return target_ == null + ? com.google.cloud.dataform.v1beta1.Target.getDefaultInstance() + : target_; } } /** + * + * *
      * This action's identifier. Unique within the compilation result.
      * 
@@ -11739,14 +13486,17 @@ public com.google.cloud.dataform.v1beta1.TargetOrBuilder getTargetOrBuilder() { * .google.cloud.dataform.v1beta1.Target target = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder> + com.google.cloud.dataform.v1beta1.Target, + com.google.cloud.dataform.v1beta1.Target.Builder, + com.google.cloud.dataform.v1beta1.TargetOrBuilder> getTargetFieldBuilder() { if (targetBuilder_ == null) { - targetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder>( - getTarget(), - getParentForChildren(), - isClean()); + targetBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Target, + com.google.cloud.dataform.v1beta1.Target.Builder, + com.google.cloud.dataform.v1beta1.TargetOrBuilder>( + getTarget(), getParentForChildren(), isClean()); target_ = null; } return targetBuilder_; @@ -11754,36 +13504,49 @@ public com.google.cloud.dataform.v1beta1.TargetOrBuilder getTargetOrBuilder() { private com.google.cloud.dataform.v1beta1.Target canonicalTarget_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder> canonicalTargetBuilder_; + com.google.cloud.dataform.v1beta1.Target, + com.google.cloud.dataform.v1beta1.Target.Builder, + com.google.cloud.dataform.v1beta1.TargetOrBuilder> + canonicalTargetBuilder_; /** + * + * *
      * The action's identifier if the project had been compiled without any
      * overrides configured. Unique within the compilation result.
      * 
* * .google.cloud.dataform.v1beta1.Target canonical_target = 2; + * * @return Whether the canonicalTarget field is set. */ public boolean hasCanonicalTarget() { return canonicalTargetBuilder_ != null || canonicalTarget_ != null; } /** + * + * *
      * The action's identifier if the project had been compiled without any
      * overrides configured. Unique within the compilation result.
      * 
* * .google.cloud.dataform.v1beta1.Target canonical_target = 2; + * * @return The canonicalTarget. */ public com.google.cloud.dataform.v1beta1.Target getCanonicalTarget() { if (canonicalTargetBuilder_ == null) { - return canonicalTarget_ == null ? com.google.cloud.dataform.v1beta1.Target.getDefaultInstance() : canonicalTarget_; + return canonicalTarget_ == null + ? com.google.cloud.dataform.v1beta1.Target.getDefaultInstance() + : canonicalTarget_; } else { return canonicalTargetBuilder_.getMessage(); } } /** + * + * *
      * The action's identifier if the project had been compiled without any
      * overrides configured. Unique within the compilation result.
@@ -11805,6 +13568,8 @@ public Builder setCanonicalTarget(com.google.cloud.dataform.v1beta1.Target value
       return this;
     }
     /**
+     *
+     *
      * 
      * The action's identifier if the project had been compiled without any
      * overrides configured. Unique within the compilation result.
@@ -11824,6 +13589,8 @@ public Builder setCanonicalTarget(
       return this;
     }
     /**
+     *
+     *
      * 
      * The action's identifier if the project had been compiled without any
      * overrides configured. Unique within the compilation result.
@@ -11835,7 +13602,9 @@ public Builder mergeCanonicalTarget(com.google.cloud.dataform.v1beta1.Target val
       if (canonicalTargetBuilder_ == null) {
         if (canonicalTarget_ != null) {
           canonicalTarget_ =
-            com.google.cloud.dataform.v1beta1.Target.newBuilder(canonicalTarget_).mergeFrom(value).buildPartial();
+              com.google.cloud.dataform.v1beta1.Target.newBuilder(canonicalTarget_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           canonicalTarget_ = value;
         }
@@ -11847,6 +13616,8 @@ public Builder mergeCanonicalTarget(com.google.cloud.dataform.v1beta1.Target val
       return this;
     }
     /**
+     *
+     *
      * 
      * The action's identifier if the project had been compiled without any
      * overrides configured. Unique within the compilation result.
@@ -11866,6 +13637,8 @@ public Builder clearCanonicalTarget() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The action's identifier if the project had been compiled without any
      * overrides configured. Unique within the compilation result.
@@ -11874,11 +13647,13 @@ public Builder clearCanonicalTarget() {
      * .google.cloud.dataform.v1beta1.Target canonical_target = 2;
      */
     public com.google.cloud.dataform.v1beta1.Target.Builder getCanonicalTargetBuilder() {
-      
+
       onChanged();
       return getCanonicalTargetFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The action's identifier if the project had been compiled without any
      * overrides configured. Unique within the compilation result.
@@ -11890,11 +13665,14 @@ public com.google.cloud.dataform.v1beta1.TargetOrBuilder getCanonicalTargetOrBui
       if (canonicalTargetBuilder_ != null) {
         return canonicalTargetBuilder_.getMessageOrBuilder();
       } else {
-        return canonicalTarget_ == null ?
-            com.google.cloud.dataform.v1beta1.Target.getDefaultInstance() : canonicalTarget_;
+        return canonicalTarget_ == null
+            ? com.google.cloud.dataform.v1beta1.Target.getDefaultInstance()
+            : canonicalTarget_;
       }
     }
     /**
+     *
+     *
      * 
      * The action's identifier if the project had been compiled without any
      * overrides configured. Unique within the compilation result.
@@ -11903,14 +13681,17 @@ public com.google.cloud.dataform.v1beta1.TargetOrBuilder getCanonicalTargetOrBui
      * .google.cloud.dataform.v1beta1.Target canonical_target = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder> 
+            com.google.cloud.dataform.v1beta1.Target,
+            com.google.cloud.dataform.v1beta1.Target.Builder,
+            com.google.cloud.dataform.v1beta1.TargetOrBuilder>
         getCanonicalTargetFieldBuilder() {
       if (canonicalTargetBuilder_ == null) {
-        canonicalTargetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder>(
-                getCanonicalTarget(),
-                getParentForChildren(),
-                isClean());
+        canonicalTargetBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.cloud.dataform.v1beta1.Target,
+                com.google.cloud.dataform.v1beta1.Target.Builder,
+                com.google.cloud.dataform.v1beta1.TargetOrBuilder>(
+                getCanonicalTarget(), getParentForChildren(), isClean());
         canonicalTarget_ = null;
       }
       return canonicalTargetBuilder_;
@@ -11918,19 +13699,21 @@ public com.google.cloud.dataform.v1beta1.TargetOrBuilder getCanonicalTargetOrBui
 
     private java.lang.Object filePath_ = "";
     /**
+     *
+     *
      * 
      * The full path including filename in which this action is located, relative
      * to the workspace root.
      * 
* * string file_path = 3; + * * @return The filePath. */ public java.lang.String getFilePath() { java.lang.Object ref = filePath_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filePath_ = s; return s; @@ -11939,21 +13722,22 @@ public java.lang.String getFilePath() { } } /** + * + * *
      * The full path including filename in which this action is located, relative
      * to the workspace root.
      * 
* * string file_path = 3; + * * @return The bytes for filePath. */ - public com.google.protobuf.ByteString - getFilePathBytes() { + public com.google.protobuf.ByteString getFilePathBytes() { java.lang.Object ref = filePath_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filePath_ = b; return b; } else { @@ -11961,70 +13745,83 @@ public java.lang.String getFilePath() { } } /** + * + * *
      * The full path including filename in which this action is located, relative
      * to the workspace root.
      * 
* * string file_path = 3; + * * @param value The filePath to set. * @return This builder for chaining. */ - public Builder setFilePath( - java.lang.String value) { + public Builder setFilePath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filePath_ = value; onChanged(); return this; } /** + * + * *
      * The full path including filename in which this action is located, relative
      * to the workspace root.
      * 
* * string file_path = 3; + * * @return This builder for chaining. */ public Builder clearFilePath() { - + filePath_ = getDefaultInstance().getFilePath(); onChanged(); return this; } /** + * + * *
      * The full path including filename in which this action is located, relative
      * to the workspace root.
      * 
* * string file_path = 3; + * * @param value The bytes for filePath to set. * @return This builder for chaining. */ - public Builder setFilePathBytes( - com.google.protobuf.ByteString value) { + public Builder setFilePathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filePath_ = value; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation, com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.Builder, com.google.cloud.dataform.v1beta1.CompilationResultAction.RelationOrBuilder> relationBuilder_; + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation, + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.Builder, + com.google.cloud.dataform.v1beta1.CompilationResultAction.RelationOrBuilder> + relationBuilder_; /** + * + * *
      * The database relation created/updated by this action.
      * 
* * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation relation = 4; + * * @return Whether the relation field is set. */ @java.lang.Override @@ -12032,35 +13829,44 @@ public boolean hasRelation() { return compiledObjectCase_ == 4; } /** + * + * *
      * The database relation created/updated by this action.
      * 
* * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation relation = 4; + * * @return The relation. */ @java.lang.Override public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation getRelation() { if (relationBuilder_ == null) { if (compiledObjectCase_ == 4) { - return (com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation) compiledObject_; + return (com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation) + compiledObject_; } - return com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.getDefaultInstance(); + return com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .getDefaultInstance(); } else { if (compiledObjectCase_ == 4) { return relationBuilder_.getMessage(); } - return com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.getDefaultInstance(); + return com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .getDefaultInstance(); } } /** + * + * *
      * The database relation created/updated by this action.
      * 
* * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation relation = 4; */ - public Builder setRelation(com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation value) { + public Builder setRelation( + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation value) { if (relationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -12074,6 +13880,8 @@ public Builder setRelation(com.google.cloud.dataform.v1beta1.CompilationResultAc return this; } /** + * + * *
      * The database relation created/updated by this action.
      * 
@@ -12081,7 +13889,8 @@ public Builder setRelation(com.google.cloud.dataform.v1beta1.CompilationResultAc * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation relation = 4; */ public Builder setRelation( - com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.Builder builderForValue) { + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.Builder + builderForValue) { if (relationBuilder_ == null) { compiledObject_ = builderForValue.build(); onChanged(); @@ -12092,18 +13901,27 @@ public Builder setRelation( return this; } /** + * + * *
      * The database relation created/updated by this action.
      * 
* * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation relation = 4; */ - public Builder mergeRelation(com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation value) { + public Builder mergeRelation( + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation value) { if (relationBuilder_ == null) { - if (compiledObjectCase_ == 4 && - compiledObject_ != com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.getDefaultInstance()) { - compiledObject_ = com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.newBuilder((com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation) compiledObject_) - .mergeFrom(value).buildPartial(); + if (compiledObjectCase_ == 4 + && compiledObject_ + != com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .getDefaultInstance()) { + compiledObject_ = + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.newBuilder( + (com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation) + compiledObject_) + .mergeFrom(value) + .buildPartial(); } else { compiledObject_ = value; } @@ -12119,6 +13937,8 @@ public Builder mergeRelation(com.google.cloud.dataform.v1beta1.CompilationResult return this; } /** + * + * *
      * The database relation created/updated by this action.
      * 
@@ -12142,16 +13962,21 @@ public Builder clearRelation() { return this; } /** + * + * *
      * The database relation created/updated by this action.
      * 
* * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation relation = 4; */ - public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.Builder getRelationBuilder() { + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.Builder + getRelationBuilder() { return getRelationFieldBuilder().getBuilder(); } /** + * + * *
      * The database relation created/updated by this action.
      * 
@@ -12159,17 +13984,22 @@ public com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.Builde * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation relation = 4; */ @java.lang.Override - public com.google.cloud.dataform.v1beta1.CompilationResultAction.RelationOrBuilder getRelationOrBuilder() { + public com.google.cloud.dataform.v1beta1.CompilationResultAction.RelationOrBuilder + getRelationOrBuilder() { if ((compiledObjectCase_ == 4) && (relationBuilder_ != null)) { return relationBuilder_.getMessageOrBuilder(); } else { if (compiledObjectCase_ == 4) { - return (com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation) compiledObject_; + return (com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation) + compiledObject_; } - return com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.getDefaultInstance(); + return com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .getDefaultInstance(); } } /** + * + * *
      * The database relation created/updated by this action.
      * 
@@ -12177,32 +14007,48 @@ public com.google.cloud.dataform.v1beta1.CompilationResultAction.RelationOrBuild * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation relation = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation, com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.Builder, com.google.cloud.dataform.v1beta1.CompilationResultAction.RelationOrBuilder> + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation, + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.Builder, + com.google.cloud.dataform.v1beta1.CompilationResultAction.RelationOrBuilder> getRelationFieldBuilder() { if (relationBuilder_ == null) { if (!(compiledObjectCase_ == 4)) { - compiledObject_ = com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.getDefaultInstance(); - } - relationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation, com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.Builder, com.google.cloud.dataform.v1beta1.CompilationResultAction.RelationOrBuilder>( - (com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation) compiledObject_, + compiledObject_ = + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation + .getDefaultInstance(); + } + relationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation, + com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation.Builder, + com.google.cloud.dataform.v1beta1.CompilationResultAction.RelationOrBuilder>( + (com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation) + compiledObject_, getParentForChildren(), isClean()); compiledObject_ = null; } compiledObjectCase_ = 4; - onChanged();; + onChanged(); + ; return relationBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations, com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.Builder, com.google.cloud.dataform.v1beta1.CompilationResultAction.OperationsOrBuilder> operationsBuilder_; + com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations, + com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.Builder, + com.google.cloud.dataform.v1beta1.CompilationResultAction.OperationsOrBuilder> + operationsBuilder_; /** + * + * *
      * The database operations executed by this action.
      * 
* - * .google.cloud.dataform.v1beta1.CompilationResultAction.Operations operations = 5; + * .google.cloud.dataform.v1beta1.CompilationResultAction.Operations operations = 5; + * + * * @return Whether the operations field is set. */ @java.lang.Override @@ -12210,35 +14056,46 @@ public boolean hasOperations() { return compiledObjectCase_ == 5; } /** + * + * *
      * The database operations executed by this action.
      * 
* - * .google.cloud.dataform.v1beta1.CompilationResultAction.Operations operations = 5; + * .google.cloud.dataform.v1beta1.CompilationResultAction.Operations operations = 5; + * + * * @return The operations. */ @java.lang.Override public com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations getOperations() { if (operationsBuilder_ == null) { if (compiledObjectCase_ == 5) { - return (com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations) compiledObject_; + return (com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations) + compiledObject_; } - return com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.getDefaultInstance(); + return com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations + .getDefaultInstance(); } else { if (compiledObjectCase_ == 5) { return operationsBuilder_.getMessage(); } - return com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.getDefaultInstance(); + return com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations + .getDefaultInstance(); } } /** + * + * *
      * The database operations executed by this action.
      * 
* - * .google.cloud.dataform.v1beta1.CompilationResultAction.Operations operations = 5; + * .google.cloud.dataform.v1beta1.CompilationResultAction.Operations operations = 5; + * */ - public Builder setOperations(com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations value) { + public Builder setOperations( + com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations value) { if (operationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -12252,14 +14109,18 @@ public Builder setOperations(com.google.cloud.dataform.v1beta1.CompilationResult return this; } /** + * + * *
      * The database operations executed by this action.
      * 
* - * .google.cloud.dataform.v1beta1.CompilationResultAction.Operations operations = 5; + * .google.cloud.dataform.v1beta1.CompilationResultAction.Operations operations = 5; + * */ public Builder setOperations( - com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.Builder builderForValue) { + com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.Builder + builderForValue) { if (operationsBuilder_ == null) { compiledObject_ = builderForValue.build(); onChanged(); @@ -12270,18 +14131,28 @@ public Builder setOperations( return this; } /** + * + * *
      * The database operations executed by this action.
      * 
* - * .google.cloud.dataform.v1beta1.CompilationResultAction.Operations operations = 5; + * .google.cloud.dataform.v1beta1.CompilationResultAction.Operations operations = 5; + * */ - public Builder mergeOperations(com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations value) { + public Builder mergeOperations( + com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations value) { if (operationsBuilder_ == null) { - if (compiledObjectCase_ == 5 && - compiledObject_ != com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.getDefaultInstance()) { - compiledObject_ = com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.newBuilder((com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations) compiledObject_) - .mergeFrom(value).buildPartial(); + if (compiledObjectCase_ == 5 + && compiledObject_ + != com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations + .getDefaultInstance()) { + compiledObject_ = + com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.newBuilder( + (com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations) + compiledObject_) + .mergeFrom(value) + .buildPartial(); } else { compiledObject_ = value; } @@ -12297,11 +14168,14 @@ public Builder mergeOperations(com.google.cloud.dataform.v1beta1.CompilationResu return this; } /** + * + * *
      * The database operations executed by this action.
      * 
* - * .google.cloud.dataform.v1beta1.CompilationResultAction.Operations operations = 5; + * .google.cloud.dataform.v1beta1.CompilationResultAction.Operations operations = 5; + * */ public Builder clearOperations() { if (operationsBuilder_ == null) { @@ -12320,67 +14194,95 @@ public Builder clearOperations() { return this; } /** + * + * *
      * The database operations executed by this action.
      * 
* - * .google.cloud.dataform.v1beta1.CompilationResultAction.Operations operations = 5; + * .google.cloud.dataform.v1beta1.CompilationResultAction.Operations operations = 5; + * */ - public com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.Builder getOperationsBuilder() { + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.Builder + getOperationsBuilder() { return getOperationsFieldBuilder().getBuilder(); } /** + * + * *
      * The database operations executed by this action.
      * 
* - * .google.cloud.dataform.v1beta1.CompilationResultAction.Operations operations = 5; + * .google.cloud.dataform.v1beta1.CompilationResultAction.Operations operations = 5; + * */ @java.lang.Override - public com.google.cloud.dataform.v1beta1.CompilationResultAction.OperationsOrBuilder getOperationsOrBuilder() { + public com.google.cloud.dataform.v1beta1.CompilationResultAction.OperationsOrBuilder + getOperationsOrBuilder() { if ((compiledObjectCase_ == 5) && (operationsBuilder_ != null)) { return operationsBuilder_.getMessageOrBuilder(); } else { if (compiledObjectCase_ == 5) { - return (com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations) compiledObject_; + return (com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations) + compiledObject_; } - return com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.getDefaultInstance(); + return com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations + .getDefaultInstance(); } } /** + * + * *
      * The database operations executed by this action.
      * 
* - * .google.cloud.dataform.v1beta1.CompilationResultAction.Operations operations = 5; + * .google.cloud.dataform.v1beta1.CompilationResultAction.Operations operations = 5; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations, com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.Builder, com.google.cloud.dataform.v1beta1.CompilationResultAction.OperationsOrBuilder> + com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations, + com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.Builder, + com.google.cloud.dataform.v1beta1.CompilationResultAction.OperationsOrBuilder> getOperationsFieldBuilder() { if (operationsBuilder_ == null) { if (!(compiledObjectCase_ == 5)) { - compiledObject_ = com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.getDefaultInstance(); - } - operationsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations, com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.Builder, com.google.cloud.dataform.v1beta1.CompilationResultAction.OperationsOrBuilder>( - (com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations) compiledObject_, + compiledObject_ = + com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations + .getDefaultInstance(); + } + operationsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations, + com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations.Builder, + com.google.cloud.dataform.v1beta1.CompilationResultAction.OperationsOrBuilder>( + (com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations) + compiledObject_, getParentForChildren(), isClean()); compiledObject_ = null; } compiledObjectCase_ = 5; - onChanged();; + onChanged(); + ; return operationsBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion, com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.Builder, com.google.cloud.dataform.v1beta1.CompilationResultAction.AssertionOrBuilder> assertionBuilder_; + com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion, + com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.Builder, + com.google.cloud.dataform.v1beta1.CompilationResultAction.AssertionOrBuilder> + assertionBuilder_; /** + * + * *
      * The assertion executed by this action.
      * 
* * .google.cloud.dataform.v1beta1.CompilationResultAction.Assertion assertion = 6; + * * @return Whether the assertion field is set. */ @java.lang.Override @@ -12388,35 +14290,44 @@ public boolean hasAssertion() { return compiledObjectCase_ == 6; } /** + * + * *
      * The assertion executed by this action.
      * 
* * .google.cloud.dataform.v1beta1.CompilationResultAction.Assertion assertion = 6; + * * @return The assertion. */ @java.lang.Override public com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion getAssertion() { if (assertionBuilder_ == null) { if (compiledObjectCase_ == 6) { - return (com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion) compiledObject_; + return (com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion) + compiledObject_; } - return com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.getDefaultInstance(); + return com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion + .getDefaultInstance(); } else { if (compiledObjectCase_ == 6) { return assertionBuilder_.getMessage(); } - return com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.getDefaultInstance(); + return com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion + .getDefaultInstance(); } } /** + * + * *
      * The assertion executed by this action.
      * 
* * .google.cloud.dataform.v1beta1.CompilationResultAction.Assertion assertion = 6; */ - public Builder setAssertion(com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion value) { + public Builder setAssertion( + com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion value) { if (assertionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -12430,6 +14341,8 @@ public Builder setAssertion(com.google.cloud.dataform.v1beta1.CompilationResultA return this; } /** + * + * *
      * The assertion executed by this action.
      * 
@@ -12437,7 +14350,8 @@ public Builder setAssertion(com.google.cloud.dataform.v1beta1.CompilationResultA * .google.cloud.dataform.v1beta1.CompilationResultAction.Assertion assertion = 6; */ public Builder setAssertion( - com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.Builder builderForValue) { + com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.Builder + builderForValue) { if (assertionBuilder_ == null) { compiledObject_ = builderForValue.build(); onChanged(); @@ -12448,18 +14362,27 @@ public Builder setAssertion( return this; } /** + * + * *
      * The assertion executed by this action.
      * 
* * .google.cloud.dataform.v1beta1.CompilationResultAction.Assertion assertion = 6; */ - public Builder mergeAssertion(com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion value) { + public Builder mergeAssertion( + com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion value) { if (assertionBuilder_ == null) { - if (compiledObjectCase_ == 6 && - compiledObject_ != com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.getDefaultInstance()) { - compiledObject_ = com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.newBuilder((com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion) compiledObject_) - .mergeFrom(value).buildPartial(); + if (compiledObjectCase_ == 6 + && compiledObject_ + != com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion + .getDefaultInstance()) { + compiledObject_ = + com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.newBuilder( + (com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion) + compiledObject_) + .mergeFrom(value) + .buildPartial(); } else { compiledObject_ = value; } @@ -12475,6 +14398,8 @@ public Builder mergeAssertion(com.google.cloud.dataform.v1beta1.CompilationResul return this; } /** + * + * *
      * The assertion executed by this action.
      * 
@@ -12498,16 +14423,21 @@ public Builder clearAssertion() { return this; } /** + * + * *
      * The assertion executed by this action.
      * 
* * .google.cloud.dataform.v1beta1.CompilationResultAction.Assertion assertion = 6; */ - public com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.Builder getAssertionBuilder() { + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.Builder + getAssertionBuilder() { return getAssertionFieldBuilder().getBuilder(); } /** + * + * *
      * The assertion executed by this action.
      * 
@@ -12515,17 +14445,22 @@ public com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.Build * .google.cloud.dataform.v1beta1.CompilationResultAction.Assertion assertion = 6; */ @java.lang.Override - public com.google.cloud.dataform.v1beta1.CompilationResultAction.AssertionOrBuilder getAssertionOrBuilder() { + public com.google.cloud.dataform.v1beta1.CompilationResultAction.AssertionOrBuilder + getAssertionOrBuilder() { if ((compiledObjectCase_ == 6) && (assertionBuilder_ != null)) { return assertionBuilder_.getMessageOrBuilder(); } else { if (compiledObjectCase_ == 6) { - return (com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion) compiledObject_; + return (com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion) + compiledObject_; } - return com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.getDefaultInstance(); + return com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion + .getDefaultInstance(); } } /** + * + * *
      * The assertion executed by this action.
      * 
@@ -12533,32 +14468,48 @@ public com.google.cloud.dataform.v1beta1.CompilationResultAction.AssertionOrBuil * .google.cloud.dataform.v1beta1.CompilationResultAction.Assertion assertion = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion, com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.Builder, com.google.cloud.dataform.v1beta1.CompilationResultAction.AssertionOrBuilder> + com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion, + com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.Builder, + com.google.cloud.dataform.v1beta1.CompilationResultAction.AssertionOrBuilder> getAssertionFieldBuilder() { if (assertionBuilder_ == null) { if (!(compiledObjectCase_ == 6)) { - compiledObject_ = com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.getDefaultInstance(); - } - assertionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion, com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.Builder, com.google.cloud.dataform.v1beta1.CompilationResultAction.AssertionOrBuilder>( - (com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion) compiledObject_, + compiledObject_ = + com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion + .getDefaultInstance(); + } + assertionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion, + com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion.Builder, + com.google.cloud.dataform.v1beta1.CompilationResultAction.AssertionOrBuilder>( + (com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion) + compiledObject_, getParentForChildren(), isClean()); compiledObject_ = null; } compiledObjectCase_ = 6; - onChanged();; + onChanged(); + ; return assertionBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration, com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.Builder, com.google.cloud.dataform.v1beta1.CompilationResultAction.DeclarationOrBuilder> declarationBuilder_; + com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration, + com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.Builder, + com.google.cloud.dataform.v1beta1.CompilationResultAction.DeclarationOrBuilder> + declarationBuilder_; /** + * + * *
      * The declaration declared by this action.
      * 
* - * .google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7; + * .google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7; + * + * * @return Whether the declaration field is set. */ @java.lang.Override @@ -12566,35 +14517,46 @@ public boolean hasDeclaration() { return compiledObjectCase_ == 7; } /** + * + * *
      * The declaration declared by this action.
      * 
* - * .google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7; + * .google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7; + * + * * @return The declaration. */ @java.lang.Override public com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration getDeclaration() { if (declarationBuilder_ == null) { if (compiledObjectCase_ == 7) { - return (com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration) compiledObject_; + return (com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration) + compiledObject_; } - return com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.getDefaultInstance(); + return com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration + .getDefaultInstance(); } else { if (compiledObjectCase_ == 7) { return declarationBuilder_.getMessage(); } - return com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.getDefaultInstance(); + return com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration + .getDefaultInstance(); } } /** + * + * *
      * The declaration declared by this action.
      * 
* - * .google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7; + * .google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7; + * */ - public Builder setDeclaration(com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration value) { + public Builder setDeclaration( + com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration value) { if (declarationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -12608,14 +14570,18 @@ public Builder setDeclaration(com.google.cloud.dataform.v1beta1.CompilationResul return this; } /** + * + * *
      * The declaration declared by this action.
      * 
* - * .google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7; + * .google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7; + * */ public Builder setDeclaration( - com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.Builder builderForValue) { + com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.Builder + builderForValue) { if (declarationBuilder_ == null) { compiledObject_ = builderForValue.build(); onChanged(); @@ -12626,18 +14592,28 @@ public Builder setDeclaration( return this; } /** + * + * *
      * The declaration declared by this action.
      * 
* - * .google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7; + * .google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7; + * */ - public Builder mergeDeclaration(com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration value) { + public Builder mergeDeclaration( + com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration value) { if (declarationBuilder_ == null) { - if (compiledObjectCase_ == 7 && - compiledObject_ != com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.getDefaultInstance()) { - compiledObject_ = com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.newBuilder((com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration) compiledObject_) - .mergeFrom(value).buildPartial(); + if (compiledObjectCase_ == 7 + && compiledObject_ + != com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration + .getDefaultInstance()) { + compiledObject_ = + com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.newBuilder( + (com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration) + compiledObject_) + .mergeFrom(value) + .buildPartial(); } else { compiledObject_ = value; } @@ -12653,11 +14629,14 @@ public Builder mergeDeclaration(com.google.cloud.dataform.v1beta1.CompilationRes return this; } /** + * + * *
      * The declaration declared by this action.
      * 
* - * .google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7; + * .google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7; + * */ public Builder clearDeclaration() { if (declarationBuilder_ == null) { @@ -12676,61 +14655,83 @@ public Builder clearDeclaration() { return this; } /** + * + * *
      * The declaration declared by this action.
      * 
* - * .google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7; + * .google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7; + * */ - public com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.Builder getDeclarationBuilder() { + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.Builder + getDeclarationBuilder() { return getDeclarationFieldBuilder().getBuilder(); } /** + * + * *
      * The declaration declared by this action.
      * 
* - * .google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7; + * .google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7; + * */ @java.lang.Override - public com.google.cloud.dataform.v1beta1.CompilationResultAction.DeclarationOrBuilder getDeclarationOrBuilder() { + public com.google.cloud.dataform.v1beta1.CompilationResultAction.DeclarationOrBuilder + getDeclarationOrBuilder() { if ((compiledObjectCase_ == 7) && (declarationBuilder_ != null)) { return declarationBuilder_.getMessageOrBuilder(); } else { if (compiledObjectCase_ == 7) { - return (com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration) compiledObject_; + return (com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration) + compiledObject_; } - return com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.getDefaultInstance(); + return com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration + .getDefaultInstance(); } } /** + * + * *
      * The declaration declared by this action.
      * 
* - * .google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7; + * .google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration, com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.Builder, com.google.cloud.dataform.v1beta1.CompilationResultAction.DeclarationOrBuilder> + com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration, + com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.Builder, + com.google.cloud.dataform.v1beta1.CompilationResultAction.DeclarationOrBuilder> getDeclarationFieldBuilder() { if (declarationBuilder_ == null) { if (!(compiledObjectCase_ == 7)) { - compiledObject_ = com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.getDefaultInstance(); - } - declarationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration, com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.Builder, com.google.cloud.dataform.v1beta1.CompilationResultAction.DeclarationOrBuilder>( - (com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration) compiledObject_, + compiledObject_ = + com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration + .getDefaultInstance(); + } + declarationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration, + com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration.Builder, + com.google.cloud.dataform.v1beta1.CompilationResultAction.DeclarationOrBuilder>( + (com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration) + compiledObject_, getParentForChildren(), isClean()); compiledObject_ = null; } compiledObjectCase_ = 7; - onChanged();; + onChanged(); + ; return declarationBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -12740,12 +14741,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.CompilationResultAction) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.CompilationResultAction) private static final com.google.cloud.dataform.v1beta1.CompilationResultAction DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.CompilationResultAction(); } @@ -12754,16 +14755,16 @@ public static com.google.cloud.dataform.v1beta1.CompilationResultAction getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CompilationResultAction parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CompilationResultAction(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CompilationResultAction parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CompilationResultAction(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -12778,6 +14779,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1beta1.CompilationResultAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CompilationResultActionOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CompilationResultActionOrBuilder.java similarity index 81% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CompilationResultActionOrBuilder.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CompilationResultActionOrBuilder.java index 3d3716a..e45d948 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CompilationResultActionOrBuilder.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CompilationResultActionOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; -public interface CompilationResultActionOrBuilder extends +public interface CompilationResultActionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.CompilationResultAction) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * This action's identifier. Unique within the compilation result.
    * 
* * .google.cloud.dataform.v1beta1.Target target = 1; + * * @return Whether the target field is set. */ boolean hasTarget(); /** + * + * *
    * This action's identifier. Unique within the compilation result.
    * 
* * .google.cloud.dataform.v1beta1.Target target = 1; + * * @return The target. */ com.google.cloud.dataform.v1beta1.Target getTarget(); /** + * + * *
    * This action's identifier. Unique within the compilation result.
    * 
@@ -35,26 +59,34 @@ public interface CompilationResultActionOrBuilder extends com.google.cloud.dataform.v1beta1.TargetOrBuilder getTargetOrBuilder(); /** + * + * *
    * The action's identifier if the project had been compiled without any
    * overrides configured. Unique within the compilation result.
    * 
* * .google.cloud.dataform.v1beta1.Target canonical_target = 2; + * * @return Whether the canonicalTarget field is set. */ boolean hasCanonicalTarget(); /** + * + * *
    * The action's identifier if the project had been compiled without any
    * overrides configured. Unique within the compilation result.
    * 
* * .google.cloud.dataform.v1beta1.Target canonical_target = 2; + * * @return The canonicalTarget. */ com.google.cloud.dataform.v1beta1.Target getCanonicalTarget(); /** + * + * *
    * The action's identifier if the project had been compiled without any
    * overrides configured. Unique within the compilation result.
@@ -65,134 +97,179 @@ public interface CompilationResultActionOrBuilder extends
   com.google.cloud.dataform.v1beta1.TargetOrBuilder getCanonicalTargetOrBuilder();
 
   /**
+   *
+   *
    * 
    * The full path including filename in which this action is located, relative
    * to the workspace root.
    * 
* * string file_path = 3; + * * @return The filePath. */ java.lang.String getFilePath(); /** + * + * *
    * The full path including filename in which this action is located, relative
    * to the workspace root.
    * 
* * string file_path = 3; + * * @return The bytes for filePath. */ - com.google.protobuf.ByteString - getFilePathBytes(); + com.google.protobuf.ByteString getFilePathBytes(); /** + * + * *
    * The database relation created/updated by this action.
    * 
* * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation relation = 4; + * * @return Whether the relation field is set. */ boolean hasRelation(); /** + * + * *
    * The database relation created/updated by this action.
    * 
* * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation relation = 4; + * * @return The relation. */ com.google.cloud.dataform.v1beta1.CompilationResultAction.Relation getRelation(); /** + * + * *
    * The database relation created/updated by this action.
    * 
* * .google.cloud.dataform.v1beta1.CompilationResultAction.Relation relation = 4; */ - com.google.cloud.dataform.v1beta1.CompilationResultAction.RelationOrBuilder getRelationOrBuilder(); + com.google.cloud.dataform.v1beta1.CompilationResultAction.RelationOrBuilder + getRelationOrBuilder(); /** + * + * *
    * The database operations executed by this action.
    * 
* * .google.cloud.dataform.v1beta1.CompilationResultAction.Operations operations = 5; + * * @return Whether the operations field is set. */ boolean hasOperations(); /** + * + * *
    * The database operations executed by this action.
    * 
* * .google.cloud.dataform.v1beta1.CompilationResultAction.Operations operations = 5; + * * @return The operations. */ com.google.cloud.dataform.v1beta1.CompilationResultAction.Operations getOperations(); /** + * + * *
    * The database operations executed by this action.
    * 
* * .google.cloud.dataform.v1beta1.CompilationResultAction.Operations operations = 5; */ - com.google.cloud.dataform.v1beta1.CompilationResultAction.OperationsOrBuilder getOperationsOrBuilder(); + com.google.cloud.dataform.v1beta1.CompilationResultAction.OperationsOrBuilder + getOperationsOrBuilder(); /** + * + * *
    * The assertion executed by this action.
    * 
* * .google.cloud.dataform.v1beta1.CompilationResultAction.Assertion assertion = 6; + * * @return Whether the assertion field is set. */ boolean hasAssertion(); /** + * + * *
    * The assertion executed by this action.
    * 
* * .google.cloud.dataform.v1beta1.CompilationResultAction.Assertion assertion = 6; + * * @return The assertion. */ com.google.cloud.dataform.v1beta1.CompilationResultAction.Assertion getAssertion(); /** + * + * *
    * The assertion executed by this action.
    * 
* * .google.cloud.dataform.v1beta1.CompilationResultAction.Assertion assertion = 6; */ - com.google.cloud.dataform.v1beta1.CompilationResultAction.AssertionOrBuilder getAssertionOrBuilder(); + com.google.cloud.dataform.v1beta1.CompilationResultAction.AssertionOrBuilder + getAssertionOrBuilder(); /** + * + * *
    * The declaration declared by this action.
    * 
* - * .google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7; + * .google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7; + * + * * @return Whether the declaration field is set. */ boolean hasDeclaration(); /** + * + * *
    * The declaration declared by this action.
    * 
* - * .google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7; + * .google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7; + * + * * @return The declaration. */ com.google.cloud.dataform.v1beta1.CompilationResultAction.Declaration getDeclaration(); /** + * + * *
    * The declaration declared by this action.
    * 
* - * .google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7; + * .google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7; + * */ - com.google.cloud.dataform.v1beta1.CompilationResultAction.DeclarationOrBuilder getDeclarationOrBuilder(); + com.google.cloud.dataform.v1beta1.CompilationResultAction.DeclarationOrBuilder + getDeclarationOrBuilder(); - public com.google.cloud.dataform.v1beta1.CompilationResultAction.CompiledObjectCase getCompiledObjectCase(); + public com.google.cloud.dataform.v1beta1.CompilationResultAction.CompiledObjectCase + getCompiledObjectCase(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CompilationResultName.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CompilationResultName.java similarity index 100% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CompilationResultName.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CompilationResultName.java diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CompilationResultOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CompilationResultOrBuilder.java similarity index 61% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CompilationResultOrBuilder.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CompilationResultOrBuilder.java index 8e13266..597f51b 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CompilationResultOrBuilder.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CompilationResultOrBuilder.java @@ -1,33 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; -public interface CompilationResultOrBuilder extends +public interface CompilationResultOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.CompilationResult) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The compilation result's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The compilation result's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Immutable. Git commit/tag/branch name at which the repository should be compiled.
    * Must exist in the remote repository.
@@ -38,10 +61,13 @@ public interface CompilationResultOrBuilder extends
    * 
* * string git_commitish = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return Whether the gitCommitish field is set. */ boolean hasGitCommitish(); /** + * + * *
    * Immutable. Git commit/tag/branch name at which the repository should be compiled.
    * Must exist in the remote repository.
@@ -52,10 +78,13 @@ public interface CompilationResultOrBuilder extends
    * 
* * string git_commitish = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The gitCommitish. */ java.lang.String getGitCommitish(); /** + * + * *
    * Immutable. Git commit/tag/branch name at which the repository should be compiled.
    * Must exist in the remote repository.
@@ -66,136 +95,193 @@ public interface CompilationResultOrBuilder extends
    * 
* * string git_commitish = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The bytes for gitCommitish. */ - com.google.protobuf.ByteString - getGitCommitishBytes(); + com.google.protobuf.ByteString getGitCommitishBytes(); /** + * + * *
    * Immutable. The name of the workspace to compile. Must be in the format
    * `projects/*/locations/*/repositories/*/workspaces/*`.
    * 
* - * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return Whether the workspace field is set. */ boolean hasWorkspace(); /** + * + * *
    * Immutable. The name of the workspace to compile. Must be in the format
    * `projects/*/locations/*/repositories/*/workspaces/*`.
    * 
* - * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ java.lang.String getWorkspace(); /** + * + * *
    * Immutable. The name of the workspace to compile. Must be in the format
    * `projects/*/locations/*/repositories/*/workspaces/*`.
    * 
* - * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ - com.google.protobuf.ByteString - getWorkspaceBytes(); + com.google.protobuf.ByteString getWorkspaceBytes(); /** + * + * *
    * Immutable. If set, fields of `code_compilation_overrides` override the default
    * compilation settings that are specified in dataform.json.
    * 
* - * .google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return Whether the codeCompilationConfig field is set. */ boolean hasCodeCompilationConfig(); /** + * + * *
    * Immutable. If set, fields of `code_compilation_overrides` override the default
    * compilation settings that are specified in dataform.json.
    * 
* - * .google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The codeCompilationConfig. */ - com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig getCodeCompilationConfig(); + com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig + getCodeCompilationConfig(); /** + * + * *
    * Immutable. If set, fields of `code_compilation_overrides` override the default
    * compilation settings that are specified in dataform.json.
    * 
* - * .google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * */ - com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfigOrBuilder getCodeCompilationConfigOrBuilder(); + com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfigOrBuilder + getCodeCompilationConfigOrBuilder(); /** + * + * *
    * Output only. The version of `@dataform/core` that was used for compilation.
    * 
* * string dataform_core_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The dataformCoreVersion. */ java.lang.String getDataformCoreVersion(); /** + * + * *
    * Output only. The version of `@dataform/core` that was used for compilation.
    * 
* * string dataform_core_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for dataformCoreVersion. */ - com.google.protobuf.ByteString - getDataformCoreVersionBytes(); + com.google.protobuf.ByteString getDataformCoreVersionBytes(); /** + * + * *
    * Output only. Errors encountered during project compilation.
    * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getCompilationErrorsList(); /** + * + * *
    * Output only. Errors encountered during project compilation.
    * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError getCompilationErrors(int index); + com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError getCompilationErrors( + int index); /** + * + * *
    * Output only. Errors encountered during project compilation.
    * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getCompilationErrorsCount(); /** + * + * *
    * Output only. Errors encountered during project compilation.
    * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List< + ? extends com.google.cloud.dataform.v1beta1.CompilationResult.CompilationErrorOrBuilder> getCompilationErrorsOrBuilderList(); /** + * + * *
    * Output only. Errors encountered during project compilation.
    * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.dataform.v1beta1.CompilationResult.CompilationErrorOrBuilder getCompilationErrorsOrBuilder( - int index); + com.google.cloud.dataform.v1beta1.CompilationResult.CompilationErrorOrBuilder + getCompilationErrorsOrBuilder(int index); public com.google.cloud.dataform.v1beta1.CompilationResult.SourceCase getSourceCase(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateCompilationResultRequest.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateCompilationResultRequest.java similarity index 60% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateCompilationResultRequest.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateCompilationResultRequest.java index e9cd72f..f15d0f3 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateCompilationResultRequest.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateCompilationResultRequest.java @@ -1,40 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * `CreateCompilationResult` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.CreateCompilationResultRequest} */ -public final class CreateCompilationResultRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateCompilationResultRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.CreateCompilationResultRequest) CreateCompilationResultRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateCompilationResultRequest.newBuilder() to construct. - private CreateCompilationResultRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateCompilationResultRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateCompilationResultRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateCompilationResultRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateCompilationResultRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,32 +71,37 @@ private CreateCompilationResultRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.dataform.v1beta1.CompilationResult.Builder subBuilder = null; - if (compilationResult_ != null) { - subBuilder = compilationResult_.toBuilder(); + parent_ = s; + break; } - compilationResult_ = input.readMessage(com.google.cloud.dataform.v1beta1.CompilationResult.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(compilationResult_); - compilationResult_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.dataform.v1beta1.CompilationResult.Builder subBuilder = null; + if (compilationResult_ != null) { + subBuilder = compilationResult_.toBuilder(); + } + compilationResult_ = + input.readMessage( + com.google.cloud.dataform.v1beta1.CompilationResult.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(compilationResult_); + compilationResult_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -86,35 +109,42 @@ private CreateCompilationResultRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CreateCompilationResultRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CreateCompilationResultRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CreateCompilationResultRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CreateCompilationResultRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest.class, com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest.Builder.class); + com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest.class, + com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The repository in which to create the compilation result. Must be in the
    * format `projects/*/locations/*/repositories/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -123,30 +153,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The repository in which to create the compilation result. Must be in the
    * format `projects/*/locations/*/repositories/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -157,11 +189,16 @@ public java.lang.String getParent() { public static final int COMPILATION_RESULT_FIELD_NUMBER = 2; private com.google.cloud.dataform.v1beta1.CompilationResult compilationResult_; /** + * + * *
    * Required. The compilation result to create.
    * 
* - * .google.cloud.dataform.v1beta1.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the compilationResult field is set. */ @java.lang.Override @@ -169,30 +206,43 @@ public boolean hasCompilationResult() { return compilationResult_ != null; } /** + * + * *
    * Required. The compilation result to create.
    * 
* - * .google.cloud.dataform.v1beta1.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The compilationResult. */ @java.lang.Override public com.google.cloud.dataform.v1beta1.CompilationResult getCompilationResult() { - return compilationResult_ == null ? com.google.cloud.dataform.v1beta1.CompilationResult.getDefaultInstance() : compilationResult_; + return compilationResult_ == null + ? com.google.cloud.dataform.v1beta1.CompilationResult.getDefaultInstance() + : compilationResult_; } /** + * + * *
    * Required. The compilation result to create.
    * 
* - * .google.cloud.dataform.v1beta1.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.dataform.v1beta1.CompilationResultOrBuilder getCompilationResultOrBuilder() { + public com.google.cloud.dataform.v1beta1.CompilationResultOrBuilder + getCompilationResultOrBuilder() { return getCompilationResult(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,8 +254,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -225,8 +274,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (compilationResult_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCompilationResult()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCompilationResult()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -236,19 +284,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest other = (com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest) obj; + com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest other = + (com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasCompilationResult() != other.hasCompilationResult()) return false; if (hasCompilationResult()) { - if (!getCompilationResult() - .equals(other.getCompilationResult())) return false; + if (!getCompilationResult().equals(other.getCompilationResult())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -273,117 +320,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `CreateCompilationResult` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.CreateCompilationResultRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.CreateCompilationResultRequest) com.google.cloud.dataform.v1beta1.CreateCompilationResultRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CreateCompilationResultRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CreateCompilationResultRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CreateCompilationResultRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CreateCompilationResultRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest.class, com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest.Builder.class); + com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest.class, + com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest.newBuilder() @@ -391,16 +448,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -416,13 +472,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CreateCompilationResultRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CreateCompilationResultRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest getDefaultInstanceForType() { + public com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest + getDefaultInstanceForType() { return com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest.getDefaultInstance(); } @@ -437,7 +494,8 @@ public com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest build() @java.lang.Override public com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest buildPartial() { - com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest result = new com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest(this); + com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest result = + new com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest(this); result.parent_ = parent_; if (compilationResultBuilder_ == null) { result.compilationResult_ = compilationResult_; @@ -452,46 +510,50 @@ public com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest buildPar public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest) { - return mergeFrom((com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest other) { - if (other == com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest other) { + if (other + == com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -518,7 +580,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -530,19 +594,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The repository in which to create the compilation result. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -551,21 +619,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The repository in which to create the compilation result. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -573,57 +644,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The repository in which to create the compilation result. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The repository in which to create the compilation result. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The repository in which to create the compilation result. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -631,39 +715,58 @@ public Builder setParentBytes( private com.google.cloud.dataform.v1beta1.CompilationResult compilationResult_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.CompilationResult, com.google.cloud.dataform.v1beta1.CompilationResult.Builder, com.google.cloud.dataform.v1beta1.CompilationResultOrBuilder> compilationResultBuilder_; + com.google.cloud.dataform.v1beta1.CompilationResult, + com.google.cloud.dataform.v1beta1.CompilationResult.Builder, + com.google.cloud.dataform.v1beta1.CompilationResultOrBuilder> + compilationResultBuilder_; /** + * + * *
      * Required. The compilation result to create.
      * 
* - * .google.cloud.dataform.v1beta1.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the compilationResult field is set. */ public boolean hasCompilationResult() { return compilationResultBuilder_ != null || compilationResult_ != null; } /** + * + * *
      * Required. The compilation result to create.
      * 
* - * .google.cloud.dataform.v1beta1.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The compilationResult. */ public com.google.cloud.dataform.v1beta1.CompilationResult getCompilationResult() { if (compilationResultBuilder_ == null) { - return compilationResult_ == null ? com.google.cloud.dataform.v1beta1.CompilationResult.getDefaultInstance() : compilationResult_; + return compilationResult_ == null + ? com.google.cloud.dataform.v1beta1.CompilationResult.getDefaultInstance() + : compilationResult_; } else { return compilationResultBuilder_.getMessage(); } } /** + * + * *
      * Required. The compilation result to create.
      * 
* - * .google.cloud.dataform.v1beta1.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCompilationResult(com.google.cloud.dataform.v1beta1.CompilationResult value) { if (compilationResultBuilder_ == null) { @@ -679,11 +782,15 @@ public Builder setCompilationResult(com.google.cloud.dataform.v1beta1.Compilatio return this; } /** + * + * *
      * Required. The compilation result to create.
      * 
* - * .google.cloud.dataform.v1beta1.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCompilationResult( com.google.cloud.dataform.v1beta1.CompilationResult.Builder builderForValue) { @@ -697,17 +804,24 @@ public Builder setCompilationResult( return this; } /** + * + * *
      * Required. The compilation result to create.
      * 
* - * .google.cloud.dataform.v1beta1.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeCompilationResult(com.google.cloud.dataform.v1beta1.CompilationResult value) { + public Builder mergeCompilationResult( + com.google.cloud.dataform.v1beta1.CompilationResult value) { if (compilationResultBuilder_ == null) { if (compilationResult_ != null) { compilationResult_ = - com.google.cloud.dataform.v1beta1.CompilationResult.newBuilder(compilationResult_).mergeFrom(value).buildPartial(); + com.google.cloud.dataform.v1beta1.CompilationResult.newBuilder(compilationResult_) + .mergeFrom(value) + .buildPartial(); } else { compilationResult_ = value; } @@ -719,11 +833,15 @@ public Builder mergeCompilationResult(com.google.cloud.dataform.v1beta1.Compilat return this; } /** + * + * *
      * Required. The compilation result to create.
      * 
* - * .google.cloud.dataform.v1beta1.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearCompilationResult() { if (compilationResultBuilder_ == null) { @@ -737,55 +855,73 @@ public Builder clearCompilationResult() { return this; } /** + * + * *
      * Required. The compilation result to create.
      * 
* - * .google.cloud.dataform.v1beta1.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.dataform.v1beta1.CompilationResult.Builder getCompilationResultBuilder() { - + public com.google.cloud.dataform.v1beta1.CompilationResult.Builder + getCompilationResultBuilder() { + onChanged(); return getCompilationResultFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The compilation result to create.
      * 
* - * .google.cloud.dataform.v1beta1.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.dataform.v1beta1.CompilationResultOrBuilder getCompilationResultOrBuilder() { + public com.google.cloud.dataform.v1beta1.CompilationResultOrBuilder + getCompilationResultOrBuilder() { if (compilationResultBuilder_ != null) { return compilationResultBuilder_.getMessageOrBuilder(); } else { - return compilationResult_ == null ? - com.google.cloud.dataform.v1beta1.CompilationResult.getDefaultInstance() : compilationResult_; + return compilationResult_ == null + ? com.google.cloud.dataform.v1beta1.CompilationResult.getDefaultInstance() + : compilationResult_; } } /** + * + * *
      * Required. The compilation result to create.
      * 
* - * .google.cloud.dataform.v1beta1.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.CompilationResult, com.google.cloud.dataform.v1beta1.CompilationResult.Builder, com.google.cloud.dataform.v1beta1.CompilationResultOrBuilder> + com.google.cloud.dataform.v1beta1.CompilationResult, + com.google.cloud.dataform.v1beta1.CompilationResult.Builder, + com.google.cloud.dataform.v1beta1.CompilationResultOrBuilder> getCompilationResultFieldBuilder() { if (compilationResultBuilder_ == null) { - compilationResultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.CompilationResult, com.google.cloud.dataform.v1beta1.CompilationResult.Builder, com.google.cloud.dataform.v1beta1.CompilationResultOrBuilder>( - getCompilationResult(), - getParentForChildren(), - isClean()); + compilationResultBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.CompilationResult, + com.google.cloud.dataform.v1beta1.CompilationResult.Builder, + com.google.cloud.dataform.v1beta1.CompilationResultOrBuilder>( + getCompilationResult(), getParentForChildren(), isClean()); compilationResult_ = null; } return compilationResultBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -795,30 +931,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.CreateCompilationResultRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.CreateCompilationResultRequest) - private static final com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest(); } - public static com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest getDefaultInstance() { + public static com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateCompilationResultRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateCompilationResultRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateCompilationResultRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateCompilationResultRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -830,9 +968,8 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest getDefaultInstanceForType() { + public com.google.cloud.dataform.v1beta1.CreateCompilationResultRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateCompilationResultRequestOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateCompilationResultRequestOrBuilder.java new file mode 100644 index 0000000..2f3ea53 --- /dev/null +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateCompilationResultRequestOrBuilder.java @@ -0,0 +1,97 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface CreateCompilationResultRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.CreateCompilationResultRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The repository in which to create the compilation result. Must be in the
+   * format `projects/*/locations/*/repositories/*`.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. The repository in which to create the compilation result. Must be in the
+   * format `projects/*/locations/*/repositories/*`.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * Required. The compilation result to create.
+   * 
+ * + * + * .google.cloud.dataform.v1beta1.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the compilationResult field is set. + */ + boolean hasCompilationResult(); + /** + * + * + *
+   * Required. The compilation result to create.
+   * 
+ * + * + * .google.cloud.dataform.v1beta1.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The compilationResult. + */ + com.google.cloud.dataform.v1beta1.CompilationResult getCompilationResult(); + /** + * + * + *
+   * Required. The compilation result to create.
+   * 
+ * + * + * .google.cloud.dataform.v1beta1.CompilationResult compilation_result = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.dataform.v1beta1.CompilationResultOrBuilder getCompilationResultOrBuilder(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateRepositoryRequest.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateRepositoryRequest.java similarity index 65% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateRepositoryRequest.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateRepositoryRequest.java index 6183697..37942d1 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateRepositoryRequest.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateRepositoryRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * `CreateRepository` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.CreateRepositoryRequest} */ -public final class CreateRepositoryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.CreateRepositoryRequest) CreateRepositoryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateRepositoryRequest.newBuilder() to construct. private CreateRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateRepositoryRequest() { parent_ = ""; repositoryId_ = ""; @@ -26,16 +44,15 @@ private CreateRepositoryRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +71,43 @@ private CreateRepositoryRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.dataform.v1beta1.Repository.Builder subBuilder = null; - if (repository_ != null) { - subBuilder = repository_.toBuilder(); - } - repository_ = input.readMessage(com.google.cloud.dataform.v1beta1.Repository.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(repository_); - repository_ = subBuilder.buildPartial(); + parent_ = s; + break; } + case 18: + { + com.google.cloud.dataform.v1beta1.Repository.Builder subBuilder = null; + if (repository_ != null) { + subBuilder = repository_.toBuilder(); + } + repository_ = + input.readMessage( + com.google.cloud.dataform.v1beta1.Repository.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(repository_); + repository_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - repositoryId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + repositoryId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,35 +115,42 @@ private CreateRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CreateRepositoryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CreateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CreateRepositoryRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CreateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.CreateRepositoryRequest.class, com.google.cloud.dataform.v1beta1.CreateRepositoryRequest.Builder.class); + com.google.cloud.dataform.v1beta1.CreateRepositoryRequest.class, + com.google.cloud.dataform.v1beta1.CreateRepositoryRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The location in which to create the repository. Must be in the format
    * `projects/*/locations/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -130,30 +159,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The location in which to create the repository. Must be in the format
    * `projects/*/locations/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -164,11 +195,16 @@ public java.lang.String getParent() { public static final int REPOSITORY_FIELD_NUMBER = 2; private com.google.cloud.dataform.v1beta1.Repository repository_; /** + * + * *
    * Required. The repository to create.
    * 
* - * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the repository field is set. */ @java.lang.Override @@ -176,23 +212,34 @@ public boolean hasRepository() { return repository_ != null; } /** + * + * *
    * Required. The repository to create.
    * 
* - * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The repository. */ @java.lang.Override public com.google.cloud.dataform.v1beta1.Repository getRepository() { - return repository_ == null ? com.google.cloud.dataform.v1beta1.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.cloud.dataform.v1beta1.Repository.getDefaultInstance() + : repository_; } /** + * + * *
    * Required. The repository to create.
    * 
* - * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.dataform.v1beta1.RepositoryOrBuilder getRepositoryOrBuilder() { @@ -202,12 +249,15 @@ public com.google.cloud.dataform.v1beta1.RepositoryOrBuilder getRepositoryOrBuil public static final int REPOSITORY_ID_FIELD_NUMBER = 3; private volatile java.lang.Object repositoryId_; /** + * + * *
    * Required. The ID to use for the repository, which will become the final component of
    * the repository's resource name.
    * 
* * string repository_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The repositoryId. */ @java.lang.Override @@ -216,30 +266,30 @@ public java.lang.String getRepositoryId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); repositoryId_ = s; return s; } } /** + * + * *
    * Required. The ID to use for the repository, which will become the final component of
    * the repository's resource name.
    * 
* * string repository_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for repositoryId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRepositoryIdBytes() { + public com.google.protobuf.ByteString getRepositoryIdBytes() { java.lang.Object ref = repositoryId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); repositoryId_ = b; return b; } else { @@ -248,6 +298,7 @@ public java.lang.String getRepositoryId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -259,8 +310,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -283,8 +333,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (repository_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getRepository()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRepository()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(repositoryId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, repositoryId_); @@ -297,22 +346,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.CreateRepositoryRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.CreateRepositoryRequest other = (com.google.cloud.dataform.v1beta1.CreateRepositoryRequest) obj; + com.google.cloud.dataform.v1beta1.CreateRepositoryRequest other = + (com.google.cloud.dataform.v1beta1.CreateRepositoryRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasRepository() != other.hasRepository()) return false; if (hasRepository()) { - if (!getRepository() - .equals(other.getRepository())) return false; + if (!getRepository().equals(other.getRepository())) return false; } - if (!getRepositoryId() - .equals(other.getRepositoryId())) return false; + if (!getRepositoryId().equals(other.getRepositoryId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -338,117 +385,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.CreateRepositoryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.CreateRepositoryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.CreateRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.CreateRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.CreateRepositoryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.CreateRepositoryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.CreateRepositoryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.CreateRepositoryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.CreateRepositoryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.CreateRepositoryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.CreateRepositoryRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.CreateRepositoryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.CreateRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.CreateRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.CreateRepositoryRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.CreateRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `CreateRepository` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.CreateRepositoryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.CreateRepositoryRequest) com.google.cloud.dataform.v1beta1.CreateRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CreateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CreateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CreateRepositoryRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CreateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.CreateRepositoryRequest.class, com.google.cloud.dataform.v1beta1.CreateRepositoryRequest.Builder.class); + com.google.cloud.dataform.v1beta1.CreateRepositoryRequest.class, + com.google.cloud.dataform.v1beta1.CreateRepositoryRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1beta1.CreateRepositoryRequest.newBuilder() @@ -456,16 +513,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -483,9 +539,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CreateRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CreateRepositoryRequest_descriptor; } @java.lang.Override @@ -504,7 +560,8 @@ public com.google.cloud.dataform.v1beta1.CreateRepositoryRequest build() { @java.lang.Override public com.google.cloud.dataform.v1beta1.CreateRepositoryRequest buildPartial() { - com.google.cloud.dataform.v1beta1.CreateRepositoryRequest result = new com.google.cloud.dataform.v1beta1.CreateRepositoryRequest(this); + com.google.cloud.dataform.v1beta1.CreateRepositoryRequest result = + new com.google.cloud.dataform.v1beta1.CreateRepositoryRequest(this); result.parent_ = parent_; if (repositoryBuilder_ == null) { result.repository_ = repository_; @@ -520,38 +577,39 @@ public com.google.cloud.dataform.v1beta1.CreateRepositoryRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.CreateRepositoryRequest) { - return mergeFrom((com.google.cloud.dataform.v1beta1.CreateRepositoryRequest)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.CreateRepositoryRequest) other); } else { super.mergeFrom(other); return this; @@ -559,7 +617,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1beta1.CreateRepositoryRequest other) { - if (other == com.google.cloud.dataform.v1beta1.CreateRepositoryRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1beta1.CreateRepositoryRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -590,7 +649,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.CreateRepositoryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.CreateRepositoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -602,19 +662,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The location in which to create the repository. Must be in the format
      * `projects/*/locations/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -623,21 +687,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location in which to create the repository. Must be in the format
      * `projects/*/locations/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -645,57 +712,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location in which to create the repository. Must be in the format
      * `projects/*/locations/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The location in which to create the repository. Must be in the format
      * `projects/*/locations/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The location in which to create the repository. Must be in the format
      * `projects/*/locations/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -703,39 +783,58 @@ public Builder setParentBytes( private com.google.cloud.dataform.v1beta1.Repository repository_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.Repository, com.google.cloud.dataform.v1beta1.Repository.Builder, com.google.cloud.dataform.v1beta1.RepositoryOrBuilder> repositoryBuilder_; + com.google.cloud.dataform.v1beta1.Repository, + com.google.cloud.dataform.v1beta1.Repository.Builder, + com.google.cloud.dataform.v1beta1.RepositoryOrBuilder> + repositoryBuilder_; /** + * + * *
      * Required. The repository to create.
      * 
* - * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the repository field is set. */ public boolean hasRepository() { return repositoryBuilder_ != null || repository_ != null; } /** + * + * *
      * Required. The repository to create.
      * 
* - * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The repository. */ public com.google.cloud.dataform.v1beta1.Repository getRepository() { if (repositoryBuilder_ == null) { - return repository_ == null ? com.google.cloud.dataform.v1beta1.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.cloud.dataform.v1beta1.Repository.getDefaultInstance() + : repository_; } else { return repositoryBuilder_.getMessage(); } } /** + * + * *
      * Required. The repository to create.
      * 
* - * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRepository(com.google.cloud.dataform.v1beta1.Repository value) { if (repositoryBuilder_ == null) { @@ -751,11 +850,15 @@ public Builder setRepository(com.google.cloud.dataform.v1beta1.Repository value) return this; } /** + * + * *
      * Required. The repository to create.
      * 
* - * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRepository( com.google.cloud.dataform.v1beta1.Repository.Builder builderForValue) { @@ -769,17 +872,23 @@ public Builder setRepository( return this; } /** + * + * *
      * Required. The repository to create.
      * 
* - * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeRepository(com.google.cloud.dataform.v1beta1.Repository value) { if (repositoryBuilder_ == null) { if (repository_ != null) { repository_ = - com.google.cloud.dataform.v1beta1.Repository.newBuilder(repository_).mergeFrom(value).buildPartial(); + com.google.cloud.dataform.v1beta1.Repository.newBuilder(repository_) + .mergeFrom(value) + .buildPartial(); } else { repository_ = value; } @@ -791,11 +900,15 @@ public Builder mergeRepository(com.google.cloud.dataform.v1beta1.Repository valu return this; } /** + * + * *
      * Required. The repository to create.
      * 
* - * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearRepository() { if (repositoryBuilder_ == null) { @@ -809,48 +922,64 @@ public Builder clearRepository() { return this; } /** + * + * *
      * Required. The repository to create.
      * 
* - * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataform.v1beta1.Repository.Builder getRepositoryBuilder() { - + onChanged(); return getRepositoryFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The repository to create.
      * 
* - * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataform.v1beta1.RepositoryOrBuilder getRepositoryOrBuilder() { if (repositoryBuilder_ != null) { return repositoryBuilder_.getMessageOrBuilder(); } else { - return repository_ == null ? - com.google.cloud.dataform.v1beta1.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.cloud.dataform.v1beta1.Repository.getDefaultInstance() + : repository_; } } /** + * + * *
      * Required. The repository to create.
      * 
* - * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.Repository, com.google.cloud.dataform.v1beta1.Repository.Builder, com.google.cloud.dataform.v1beta1.RepositoryOrBuilder> + com.google.cloud.dataform.v1beta1.Repository, + com.google.cloud.dataform.v1beta1.Repository.Builder, + com.google.cloud.dataform.v1beta1.RepositoryOrBuilder> getRepositoryFieldBuilder() { if (repositoryBuilder_ == null) { - repositoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.Repository, com.google.cloud.dataform.v1beta1.Repository.Builder, com.google.cloud.dataform.v1beta1.RepositoryOrBuilder>( - getRepository(), - getParentForChildren(), - isClean()); + repositoryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Repository, + com.google.cloud.dataform.v1beta1.Repository.Builder, + com.google.cloud.dataform.v1beta1.RepositoryOrBuilder>( + getRepository(), getParentForChildren(), isClean()); repository_ = null; } return repositoryBuilder_; @@ -858,19 +987,21 @@ public com.google.cloud.dataform.v1beta1.RepositoryOrBuilder getRepositoryOrBuil private java.lang.Object repositoryId_ = ""; /** + * + * *
      * Required. The ID to use for the repository, which will become the final component of
      * the repository's resource name.
      * 
* * string repository_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The repositoryId. */ public java.lang.String getRepositoryId() { java.lang.Object ref = repositoryId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); repositoryId_ = s; return s; @@ -879,21 +1010,22 @@ public java.lang.String getRepositoryId() { } } /** + * + * *
      * Required. The ID to use for the repository, which will become the final component of
      * the repository's resource name.
      * 
* * string repository_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for repositoryId. */ - public com.google.protobuf.ByteString - getRepositoryIdBytes() { + public com.google.protobuf.ByteString getRepositoryIdBytes() { java.lang.Object ref = repositoryId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); repositoryId_ = b; return b; } else { @@ -901,64 +1033,71 @@ public java.lang.String getRepositoryId() { } } /** + * + * *
      * Required. The ID to use for the repository, which will become the final component of
      * the repository's resource name.
      * 
* * string repository_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The repositoryId to set. * @return This builder for chaining. */ - public Builder setRepositoryId( - java.lang.String value) { + public Builder setRepositoryId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + repositoryId_ = value; onChanged(); return this; } /** + * + * *
      * Required. The ID to use for the repository, which will become the final component of
      * the repository's resource name.
      * 
* * string repository_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearRepositoryId() { - + repositoryId_ = getDefaultInstance().getRepositoryId(); onChanged(); return this; } /** + * + * *
      * Required. The ID to use for the repository, which will become the final component of
      * the repository's resource name.
      * 
* * string repository_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for repositoryId to set. * @return This builder for chaining. */ - public Builder setRepositoryIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRepositoryIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + repositoryId_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -968,12 +1107,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.CreateRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.CreateRepositoryRequest) private static final com.google.cloud.dataform.v1beta1.CreateRepositoryRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.CreateRepositoryRequest(); } @@ -982,16 +1121,16 @@ public static com.google.cloud.dataform.v1beta1.CreateRepositoryRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1006,6 +1145,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1beta1.CreateRepositoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateRepositoryRequestOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateRepositoryRequestOrBuilder.java similarity index 54% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateRepositoryRequestOrBuilder.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateRepositoryRequestOrBuilder.java index eee8b15..9e8089c 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateRepositoryRequestOrBuilder.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateRepositoryRequestOrBuilder.java @@ -1,80 +1,124 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; -public interface CreateRepositoryRequestOrBuilder extends +public interface CreateRepositoryRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.CreateRepositoryRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The location in which to create the repository. Must be in the format
    * `projects/*/locations/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The location in which to create the repository. Must be in the format
    * `projects/*/locations/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The repository to create.
    * 
* - * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the repository field is set. */ boolean hasRepository(); /** + * + * *
    * Required. The repository to create.
    * 
* - * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The repository. */ com.google.cloud.dataform.v1beta1.Repository getRepository(); /** + * + * *
    * Required. The repository to create.
    * 
* - * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.dataform.v1beta1.RepositoryOrBuilder getRepositoryOrBuilder(); /** + * + * *
    * Required. The ID to use for the repository, which will become the final component of
    * the repository's resource name.
    * 
* * string repository_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The repositoryId. */ java.lang.String getRepositoryId(); /** + * + * *
    * Required. The ID to use for the repository, which will become the final component of
    * the repository's resource name.
    * 
* * string repository_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for repositoryId. */ - com.google.protobuf.ByteString - getRepositoryIdBytes(); + com.google.protobuf.ByteString getRepositoryIdBytes(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateWorkflowInvocationRequest.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateWorkflowInvocationRequest.java similarity index 60% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateWorkflowInvocationRequest.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateWorkflowInvocationRequest.java index d49f783..23345c4 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateWorkflowInvocationRequest.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateWorkflowInvocationRequest.java @@ -1,40 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * `CreateWorkflowInvocation` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest} */ -public final class CreateWorkflowInvocationRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateWorkflowInvocationRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest) CreateWorkflowInvocationRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateWorkflowInvocationRequest.newBuilder() to construct. - private CreateWorkflowInvocationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateWorkflowInvocationRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateWorkflowInvocationRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateWorkflowInvocationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateWorkflowInvocationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,32 +71,37 @@ private CreateWorkflowInvocationRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.dataform.v1beta1.WorkflowInvocation.Builder subBuilder = null; - if (workflowInvocation_ != null) { - subBuilder = workflowInvocation_.toBuilder(); + parent_ = s; + break; } - workflowInvocation_ = input.readMessage(com.google.cloud.dataform.v1beta1.WorkflowInvocation.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(workflowInvocation_); - workflowInvocation_ = subBuilder.buildPartial(); + case 18: + { + com.google.cloud.dataform.v1beta1.WorkflowInvocation.Builder subBuilder = null; + if (workflowInvocation_ != null) { + subBuilder = workflowInvocation_.toBuilder(); + } + workflowInvocation_ = + input.readMessage( + com.google.cloud.dataform.v1beta1.WorkflowInvocation.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(workflowInvocation_); + workflowInvocation_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -86,35 +109,42 @@ private CreateWorkflowInvocationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CreateWorkflowInvocationRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CreateWorkflowInvocationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CreateWorkflowInvocationRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CreateWorkflowInvocationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest.class, com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest.Builder.class); + com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest.class, + com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The repository in which to create the workflow invocation. Must be in the
    * format `projects/*/locations/*/repositories/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -123,30 +153,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The repository in which to create the workflow invocation. Must be in the
    * format `projects/*/locations/*/repositories/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -157,11 +189,16 @@ public java.lang.String getParent() { public static final int WORKFLOW_INVOCATION_FIELD_NUMBER = 2; private com.google.cloud.dataform.v1beta1.WorkflowInvocation workflowInvocation_; /** + * + * *
    * Required. The workflow invocation resource to create.
    * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the workflowInvocation field is set. */ @java.lang.Override @@ -169,30 +206,43 @@ public boolean hasWorkflowInvocation() { return workflowInvocation_ != null; } /** + * + * *
    * Required. The workflow invocation resource to create.
    * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The workflowInvocation. */ @java.lang.Override public com.google.cloud.dataform.v1beta1.WorkflowInvocation getWorkflowInvocation() { - return workflowInvocation_ == null ? com.google.cloud.dataform.v1beta1.WorkflowInvocation.getDefaultInstance() : workflowInvocation_; + return workflowInvocation_ == null + ? com.google.cloud.dataform.v1beta1.WorkflowInvocation.getDefaultInstance() + : workflowInvocation_; } /** + * + * *
    * Required. The workflow invocation resource to create.
    * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.dataform.v1beta1.WorkflowInvocationOrBuilder getWorkflowInvocationOrBuilder() { + public com.google.cloud.dataform.v1beta1.WorkflowInvocationOrBuilder + getWorkflowInvocationOrBuilder() { return getWorkflowInvocation(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,8 +254,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -225,8 +274,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (workflowInvocation_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getWorkflowInvocation()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getWorkflowInvocation()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -236,19 +284,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest other = (com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest) obj; + com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest other = + (com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasWorkflowInvocation() != other.hasWorkflowInvocation()) return false; if (hasWorkflowInvocation()) { - if (!getWorkflowInvocation() - .equals(other.getWorkflowInvocation())) return false; + if (!getWorkflowInvocation().equals(other.getWorkflowInvocation())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -273,134 +320,145 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `CreateWorkflowInvocation` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest) com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CreateWorkflowInvocationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CreateWorkflowInvocationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CreateWorkflowInvocationRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CreateWorkflowInvocationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest.class, com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest.Builder.class); + com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest.class, + com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest.Builder.class); } - // Construct using com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest.newBuilder() + // Construct using + // com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -416,13 +474,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CreateWorkflowInvocationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CreateWorkflowInvocationRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest getDefaultInstanceForType() { + public com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest + getDefaultInstanceForType() { return com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest.getDefaultInstance(); } @@ -437,7 +496,8 @@ public com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest build() @java.lang.Override public com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest buildPartial() { - com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest result = new com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest(this); + com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest result = + new com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest(this); result.parent_ = parent_; if (workflowInvocationBuilder_ == null) { result.workflowInvocation_ = workflowInvocation_; @@ -452,46 +512,50 @@ public com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest) { - return mergeFrom((com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest other) { - if (other == com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest other) { + if (other + == com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -518,7 +582,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -530,19 +596,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The repository in which to create the workflow invocation. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -551,21 +621,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The repository in which to create the workflow invocation. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -573,57 +646,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The repository in which to create the workflow invocation. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The repository in which to create the workflow invocation. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The repository in which to create the workflow invocation. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -631,41 +717,61 @@ public Builder setParentBytes( private com.google.cloud.dataform.v1beta1.WorkflowInvocation workflowInvocation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.WorkflowInvocation, com.google.cloud.dataform.v1beta1.WorkflowInvocation.Builder, com.google.cloud.dataform.v1beta1.WorkflowInvocationOrBuilder> workflowInvocationBuilder_; + com.google.cloud.dataform.v1beta1.WorkflowInvocation, + com.google.cloud.dataform.v1beta1.WorkflowInvocation.Builder, + com.google.cloud.dataform.v1beta1.WorkflowInvocationOrBuilder> + workflowInvocationBuilder_; /** + * + * *
      * Required. The workflow invocation resource to create.
      * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the workflowInvocation field is set. */ public boolean hasWorkflowInvocation() { return workflowInvocationBuilder_ != null || workflowInvocation_ != null; } /** + * + * *
      * Required. The workflow invocation resource to create.
      * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The workflowInvocation. */ public com.google.cloud.dataform.v1beta1.WorkflowInvocation getWorkflowInvocation() { if (workflowInvocationBuilder_ == null) { - return workflowInvocation_ == null ? com.google.cloud.dataform.v1beta1.WorkflowInvocation.getDefaultInstance() : workflowInvocation_; + return workflowInvocation_ == null + ? com.google.cloud.dataform.v1beta1.WorkflowInvocation.getDefaultInstance() + : workflowInvocation_; } else { return workflowInvocationBuilder_.getMessage(); } } /** + * + * *
      * Required. The workflow invocation resource to create.
      * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setWorkflowInvocation(com.google.cloud.dataform.v1beta1.WorkflowInvocation value) { + public Builder setWorkflowInvocation( + com.google.cloud.dataform.v1beta1.WorkflowInvocation value) { if (workflowInvocationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -679,11 +785,15 @@ public Builder setWorkflowInvocation(com.google.cloud.dataform.v1beta1.WorkflowI return this; } /** + * + * *
      * Required. The workflow invocation resource to create.
      * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setWorkflowInvocation( com.google.cloud.dataform.v1beta1.WorkflowInvocation.Builder builderForValue) { @@ -697,17 +807,24 @@ public Builder setWorkflowInvocation( return this; } /** + * + * *
      * Required. The workflow invocation resource to create.
      * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeWorkflowInvocation(com.google.cloud.dataform.v1beta1.WorkflowInvocation value) { + public Builder mergeWorkflowInvocation( + com.google.cloud.dataform.v1beta1.WorkflowInvocation value) { if (workflowInvocationBuilder_ == null) { if (workflowInvocation_ != null) { workflowInvocation_ = - com.google.cloud.dataform.v1beta1.WorkflowInvocation.newBuilder(workflowInvocation_).mergeFrom(value).buildPartial(); + com.google.cloud.dataform.v1beta1.WorkflowInvocation.newBuilder(workflowInvocation_) + .mergeFrom(value) + .buildPartial(); } else { workflowInvocation_ = value; } @@ -719,11 +836,15 @@ public Builder mergeWorkflowInvocation(com.google.cloud.dataform.v1beta1.Workflo return this; } /** + * + * *
      * Required. The workflow invocation resource to create.
      * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearWorkflowInvocation() { if (workflowInvocationBuilder_ == null) { @@ -737,55 +858,73 @@ public Builder clearWorkflowInvocation() { return this; } /** + * + * *
      * Required. The workflow invocation resource to create.
      * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.dataform.v1beta1.WorkflowInvocation.Builder getWorkflowInvocationBuilder() { - + public com.google.cloud.dataform.v1beta1.WorkflowInvocation.Builder + getWorkflowInvocationBuilder() { + onChanged(); return getWorkflowInvocationFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The workflow invocation resource to create.
      * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.dataform.v1beta1.WorkflowInvocationOrBuilder getWorkflowInvocationOrBuilder() { + public com.google.cloud.dataform.v1beta1.WorkflowInvocationOrBuilder + getWorkflowInvocationOrBuilder() { if (workflowInvocationBuilder_ != null) { return workflowInvocationBuilder_.getMessageOrBuilder(); } else { - return workflowInvocation_ == null ? - com.google.cloud.dataform.v1beta1.WorkflowInvocation.getDefaultInstance() : workflowInvocation_; + return workflowInvocation_ == null + ? com.google.cloud.dataform.v1beta1.WorkflowInvocation.getDefaultInstance() + : workflowInvocation_; } } /** + * + * *
      * Required. The workflow invocation resource to create.
      * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.WorkflowInvocation, com.google.cloud.dataform.v1beta1.WorkflowInvocation.Builder, com.google.cloud.dataform.v1beta1.WorkflowInvocationOrBuilder> + com.google.cloud.dataform.v1beta1.WorkflowInvocation, + com.google.cloud.dataform.v1beta1.WorkflowInvocation.Builder, + com.google.cloud.dataform.v1beta1.WorkflowInvocationOrBuilder> getWorkflowInvocationFieldBuilder() { if (workflowInvocationBuilder_ == null) { - workflowInvocationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.WorkflowInvocation, com.google.cloud.dataform.v1beta1.WorkflowInvocation.Builder, com.google.cloud.dataform.v1beta1.WorkflowInvocationOrBuilder>( - getWorkflowInvocation(), - getParentForChildren(), - isClean()); + workflowInvocationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.WorkflowInvocation, + com.google.cloud.dataform.v1beta1.WorkflowInvocation.Builder, + com.google.cloud.dataform.v1beta1.WorkflowInvocationOrBuilder>( + getWorkflowInvocation(), getParentForChildren(), isClean()); workflowInvocation_ = null; } return workflowInvocationBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -795,30 +934,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest) - private static final com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest(); } - public static com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest getDefaultInstance() { + public static com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateWorkflowInvocationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateWorkflowInvocationRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateWorkflowInvocationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateWorkflowInvocationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -830,9 +971,8 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest getDefaultInstanceForType() { + public com.google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateWorkflowInvocationRequestOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateWorkflowInvocationRequestOrBuilder.java new file mode 100644 index 0000000..8eae163 --- /dev/null +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateWorkflowInvocationRequestOrBuilder.java @@ -0,0 +1,97 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface CreateWorkflowInvocationRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.CreateWorkflowInvocationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The repository in which to create the workflow invocation. Must be in the
+   * format `projects/*/locations/*/repositories/*`.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. The repository in which to create the workflow invocation. Must be in the
+   * format `projects/*/locations/*/repositories/*`.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * Required. The workflow invocation resource to create.
+   * 
+ * + * + * .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the workflowInvocation field is set. + */ + boolean hasWorkflowInvocation(); + /** + * + * + *
+   * Required. The workflow invocation resource to create.
+   * 
+ * + * + * .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The workflowInvocation. + */ + com.google.cloud.dataform.v1beta1.WorkflowInvocation getWorkflowInvocation(); + /** + * + * + *
+   * Required. The workflow invocation resource to create.
+   * 
+ * + * + * .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocation = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.dataform.v1beta1.WorkflowInvocationOrBuilder getWorkflowInvocationOrBuilder(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateWorkspaceRequest.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateWorkspaceRequest.java similarity index 65% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateWorkspaceRequest.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateWorkspaceRequest.java index 9f35209..abf3fbe 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateWorkspaceRequest.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateWorkspaceRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * `CreateWorkspace` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.CreateWorkspaceRequest} */ -public final class CreateWorkspaceRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateWorkspaceRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.CreateWorkspaceRequest) CreateWorkspaceRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateWorkspaceRequest.newBuilder() to construct. private CreateWorkspaceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateWorkspaceRequest() { parent_ = ""; workspaceId_ = ""; @@ -26,16 +44,15 @@ private CreateWorkspaceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateWorkspaceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateWorkspaceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +71,43 @@ private CreateWorkspaceRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.cloud.dataform.v1beta1.Workspace.Builder subBuilder = null; - if (workspace_ != null) { - subBuilder = workspace_.toBuilder(); - } - workspace_ = input.readMessage(com.google.cloud.dataform.v1beta1.Workspace.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(workspace_); - workspace_ = subBuilder.buildPartial(); + parent_ = s; + break; } + case 18: + { + com.google.cloud.dataform.v1beta1.Workspace.Builder subBuilder = null; + if (workspace_ != null) { + subBuilder = workspace_.toBuilder(); + } + workspace_ = + input.readMessage( + com.google.cloud.dataform.v1beta1.Workspace.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(workspace_); + workspace_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - workspaceId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + workspaceId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,35 +115,42 @@ private CreateWorkspaceRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CreateWorkspaceRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CreateWorkspaceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CreateWorkspaceRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CreateWorkspaceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest.class, com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest.Builder.class); + com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest.class, + com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The repository in which to create the workspace. Must be in the format
    * `projects/*/locations/*/repositories/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -130,30 +159,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The repository in which to create the workspace. Must be in the format
    * `projects/*/locations/*/repositories/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -164,11 +195,16 @@ public java.lang.String getParent() { public static final int WORKSPACE_FIELD_NUMBER = 2; private com.google.cloud.dataform.v1beta1.Workspace workspace_; /** + * + * *
    * Required. The workspace to create.
    * 
* - * .google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the workspace field is set. */ @java.lang.Override @@ -176,23 +212,34 @@ public boolean hasWorkspace() { return workspace_ != null; } /** + * + * *
    * Required. The workspace to create.
    * 
* - * .google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The workspace. */ @java.lang.Override public com.google.cloud.dataform.v1beta1.Workspace getWorkspace() { - return workspace_ == null ? com.google.cloud.dataform.v1beta1.Workspace.getDefaultInstance() : workspace_; + return workspace_ == null + ? com.google.cloud.dataform.v1beta1.Workspace.getDefaultInstance() + : workspace_; } /** + * + * *
    * Required. The workspace to create.
    * 
* - * .google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.dataform.v1beta1.WorkspaceOrBuilder getWorkspaceOrBuilder() { @@ -202,12 +249,15 @@ public com.google.cloud.dataform.v1beta1.WorkspaceOrBuilder getWorkspaceOrBuilde public static final int WORKSPACE_ID_FIELD_NUMBER = 3; private volatile java.lang.Object workspaceId_; /** + * + * *
    * Required. The ID to use for the workspace, which will become the final component of
    * the workspace's resource name.
    * 
* * string workspace_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The workspaceId. */ @java.lang.Override @@ -216,30 +266,30 @@ public java.lang.String getWorkspaceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspaceId_ = s; return s; } } /** + * + * *
    * Required. The ID to use for the workspace, which will become the final component of
    * the workspace's resource name.
    * 
* * string workspace_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for workspaceId. */ @java.lang.Override - public com.google.protobuf.ByteString - getWorkspaceIdBytes() { + public com.google.protobuf.ByteString getWorkspaceIdBytes() { java.lang.Object ref = workspaceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workspaceId_ = b; return b; } else { @@ -248,6 +298,7 @@ public java.lang.String getWorkspaceId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -259,8 +310,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -283,8 +333,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (workspace_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getWorkspace()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getWorkspace()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspaceId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, workspaceId_); @@ -297,22 +346,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest other = (com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest) obj; + com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest other = + (com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasWorkspace() != other.hasWorkspace()) return false; if (hasWorkspace()) { - if (!getWorkspace() - .equals(other.getWorkspace())) return false; + if (!getWorkspace().equals(other.getWorkspace())) return false; } - if (!getWorkspaceId() - .equals(other.getWorkspaceId())) return false; + if (!getWorkspaceId().equals(other.getWorkspaceId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -338,117 +385,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `CreateWorkspace` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.CreateWorkspaceRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.CreateWorkspaceRequest) com.google.cloud.dataform.v1beta1.CreateWorkspaceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CreateWorkspaceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CreateWorkspaceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CreateWorkspaceRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CreateWorkspaceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest.class, com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest.Builder.class); + com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest.class, + com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest.newBuilder() @@ -456,16 +513,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -483,9 +539,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_CreateWorkspaceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_CreateWorkspaceRequest_descriptor; } @java.lang.Override @@ -504,7 +560,8 @@ public com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest build() { @java.lang.Override public com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest buildPartial() { - com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest result = new com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest(this); + com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest result = + new com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest(this); result.parent_ = parent_; if (workspaceBuilder_ == null) { result.workspace_ = workspace_; @@ -520,38 +577,39 @@ public com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest) { - return mergeFrom((com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest) other); } else { super.mergeFrom(other); return this; @@ -559,7 +617,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest other) { - if (other == com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -590,7 +649,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -602,19 +662,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The repository in which to create the workspace. Must be in the format
      * `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -623,21 +687,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The repository in which to create the workspace. Must be in the format
      * `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -645,57 +712,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The repository in which to create the workspace. Must be in the format
      * `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The repository in which to create the workspace. Must be in the format
      * `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The repository in which to create the workspace. Must be in the format
      * `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -703,39 +783,58 @@ public Builder setParentBytes( private com.google.cloud.dataform.v1beta1.Workspace workspace_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.Workspace, com.google.cloud.dataform.v1beta1.Workspace.Builder, com.google.cloud.dataform.v1beta1.WorkspaceOrBuilder> workspaceBuilder_; + com.google.cloud.dataform.v1beta1.Workspace, + com.google.cloud.dataform.v1beta1.Workspace.Builder, + com.google.cloud.dataform.v1beta1.WorkspaceOrBuilder> + workspaceBuilder_; /** + * + * *
      * Required. The workspace to create.
      * 
* - * .google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the workspace field is set. */ public boolean hasWorkspace() { return workspaceBuilder_ != null || workspace_ != null; } /** + * + * *
      * Required. The workspace to create.
      * 
* - * .google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The workspace. */ public com.google.cloud.dataform.v1beta1.Workspace getWorkspace() { if (workspaceBuilder_ == null) { - return workspace_ == null ? com.google.cloud.dataform.v1beta1.Workspace.getDefaultInstance() : workspace_; + return workspace_ == null + ? com.google.cloud.dataform.v1beta1.Workspace.getDefaultInstance() + : workspace_; } else { return workspaceBuilder_.getMessage(); } } /** + * + * *
      * Required. The workspace to create.
      * 
* - * .google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setWorkspace(com.google.cloud.dataform.v1beta1.Workspace value) { if (workspaceBuilder_ == null) { @@ -751,11 +850,15 @@ public Builder setWorkspace(com.google.cloud.dataform.v1beta1.Workspace value) { return this; } /** + * + * *
      * Required. The workspace to create.
      * 
* - * .google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setWorkspace( com.google.cloud.dataform.v1beta1.Workspace.Builder builderForValue) { @@ -769,17 +872,23 @@ public Builder setWorkspace( return this; } /** + * + * *
      * Required. The workspace to create.
      * 
* - * .google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeWorkspace(com.google.cloud.dataform.v1beta1.Workspace value) { if (workspaceBuilder_ == null) { if (workspace_ != null) { workspace_ = - com.google.cloud.dataform.v1beta1.Workspace.newBuilder(workspace_).mergeFrom(value).buildPartial(); + com.google.cloud.dataform.v1beta1.Workspace.newBuilder(workspace_) + .mergeFrom(value) + .buildPartial(); } else { workspace_ = value; } @@ -791,11 +900,15 @@ public Builder mergeWorkspace(com.google.cloud.dataform.v1beta1.Workspace value) return this; } /** + * + * *
      * Required. The workspace to create.
      * 
* - * .google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearWorkspace() { if (workspaceBuilder_ == null) { @@ -809,48 +922,64 @@ public Builder clearWorkspace() { return this; } /** + * + * *
      * Required. The workspace to create.
      * 
* - * .google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataform.v1beta1.Workspace.Builder getWorkspaceBuilder() { - + onChanged(); return getWorkspaceFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The workspace to create.
      * 
* - * .google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataform.v1beta1.WorkspaceOrBuilder getWorkspaceOrBuilder() { if (workspaceBuilder_ != null) { return workspaceBuilder_.getMessageOrBuilder(); } else { - return workspace_ == null ? - com.google.cloud.dataform.v1beta1.Workspace.getDefaultInstance() : workspace_; + return workspace_ == null + ? com.google.cloud.dataform.v1beta1.Workspace.getDefaultInstance() + : workspace_; } } /** + * + * *
      * Required. The workspace to create.
      * 
* - * .google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.Workspace, com.google.cloud.dataform.v1beta1.Workspace.Builder, com.google.cloud.dataform.v1beta1.WorkspaceOrBuilder> + com.google.cloud.dataform.v1beta1.Workspace, + com.google.cloud.dataform.v1beta1.Workspace.Builder, + com.google.cloud.dataform.v1beta1.WorkspaceOrBuilder> getWorkspaceFieldBuilder() { if (workspaceBuilder_ == null) { - workspaceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.Workspace, com.google.cloud.dataform.v1beta1.Workspace.Builder, com.google.cloud.dataform.v1beta1.WorkspaceOrBuilder>( - getWorkspace(), - getParentForChildren(), - isClean()); + workspaceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Workspace, + com.google.cloud.dataform.v1beta1.Workspace.Builder, + com.google.cloud.dataform.v1beta1.WorkspaceOrBuilder>( + getWorkspace(), getParentForChildren(), isClean()); workspace_ = null; } return workspaceBuilder_; @@ -858,19 +987,21 @@ public com.google.cloud.dataform.v1beta1.WorkspaceOrBuilder getWorkspaceOrBuilde private java.lang.Object workspaceId_ = ""; /** + * + * *
      * Required. The ID to use for the workspace, which will become the final component of
      * the workspace's resource name.
      * 
* * string workspace_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The workspaceId. */ public java.lang.String getWorkspaceId() { java.lang.Object ref = workspaceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspaceId_ = s; return s; @@ -879,21 +1010,22 @@ public java.lang.String getWorkspaceId() { } } /** + * + * *
      * Required. The ID to use for the workspace, which will become the final component of
      * the workspace's resource name.
      * 
* * string workspace_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for workspaceId. */ - public com.google.protobuf.ByteString - getWorkspaceIdBytes() { + public com.google.protobuf.ByteString getWorkspaceIdBytes() { java.lang.Object ref = workspaceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workspaceId_ = b; return b; } else { @@ -901,64 +1033,71 @@ public java.lang.String getWorkspaceId() { } } /** + * + * *
      * Required. The ID to use for the workspace, which will become the final component of
      * the workspace's resource name.
      * 
* * string workspace_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The workspaceId to set. * @return This builder for chaining. */ - public Builder setWorkspaceId( - java.lang.String value) { + public Builder setWorkspaceId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + workspaceId_ = value; onChanged(); return this; } /** + * + * *
      * Required. The ID to use for the workspace, which will become the final component of
      * the workspace's resource name.
      * 
* * string workspace_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearWorkspaceId() { - + workspaceId_ = getDefaultInstance().getWorkspaceId(); onChanged(); return this; } /** + * + * *
      * Required. The ID to use for the workspace, which will become the final component of
      * the workspace's resource name.
      * 
* * string workspace_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for workspaceId to set. * @return This builder for chaining. */ - public Builder setWorkspaceIdBytes( - com.google.protobuf.ByteString value) { + public Builder setWorkspaceIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workspaceId_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -968,12 +1107,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.CreateWorkspaceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.CreateWorkspaceRequest) private static final com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest(); } @@ -982,16 +1121,16 @@ public static com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateWorkspaceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateWorkspaceRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateWorkspaceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateWorkspaceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1006,6 +1145,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1beta1.CreateWorkspaceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateWorkspaceRequestOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateWorkspaceRequestOrBuilder.java similarity index 55% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateWorkspaceRequestOrBuilder.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateWorkspaceRequestOrBuilder.java index 9b55c7a..0d2e149 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateWorkspaceRequestOrBuilder.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/CreateWorkspaceRequestOrBuilder.java @@ -1,80 +1,124 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; -public interface CreateWorkspaceRequestOrBuilder extends +public interface CreateWorkspaceRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.CreateWorkspaceRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The repository in which to create the workspace. Must be in the format
    * `projects/*/locations/*/repositories/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The repository in which to create the workspace. Must be in the format
    * `projects/*/locations/*/repositories/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. The workspace to create.
    * 
* - * .google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the workspace field is set. */ boolean hasWorkspace(); /** + * + * *
    * Required. The workspace to create.
    * 
* - * .google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The workspace. */ com.google.cloud.dataform.v1beta1.Workspace getWorkspace(); /** + * + * *
    * Required. The workspace to create.
    * 
* - * .google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.Workspace workspace = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.dataform.v1beta1.WorkspaceOrBuilder getWorkspaceOrBuilder(); /** + * + * *
    * Required. The ID to use for the workspace, which will become the final component of
    * the workspace's resource name.
    * 
* * string workspace_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The workspaceId. */ java.lang.String getWorkspaceId(); /** + * + * *
    * Required. The ID to use for the workspace, which will become the final component of
    * the workspace's resource name.
    * 
* * string workspace_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for workspaceId. */ - com.google.protobuf.ByteString - getWorkspaceIdBytes(); + com.google.protobuf.ByteString getWorkspaceIdBytes(); } diff --git a/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DataformProto.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DataformProto.java new file mode 100644 index 0000000..7e277dd --- /dev/null +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DataformProto.java @@ -0,0 +1,1612 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public final class DataformProto { + private DataformProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_Repository_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_Repository_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_Repository_GitRemoteSettings_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_Repository_GitRemoteSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_ListRepositoriesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_ListRepositoriesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_ListRepositoriesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_ListRepositoriesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_GetRepositoryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_GetRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_CreateRepositoryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_CreateRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_UpdateRepositoryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_UpdateRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_DeleteRepositoryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_DeleteRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_Workspace_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_Workspace_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_ListWorkspacesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_ListWorkspacesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_ListWorkspacesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_ListWorkspacesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_GetWorkspaceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_GetWorkspaceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_CreateWorkspaceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_CreateWorkspaceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_DeleteWorkspaceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_DeleteWorkspaceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_CommitAuthor_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_CommitAuthor_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_PullGitCommitsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_PullGitCommitsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_PushGitCommitsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_PushGitCommitsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_UncommittedFileChange_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_UncommittedFileChange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_CommitWorkspaceChangesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_CommitWorkspaceChangesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_ResetWorkspaceChangesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_ResetWorkspaceChangesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_FetchFileDiffRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_FetchFileDiffRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_FetchFileDiffResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_FetchFileDiffResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_DirectoryEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_DirectoryEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_MakeDirectoryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_MakeDirectoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_MakeDirectoryResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_MakeDirectoryResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_RemoveDirectoryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_RemoveDirectoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_MoveDirectoryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_MoveDirectoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_MoveDirectoryResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_MoveDirectoryResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_ReadFileRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_ReadFileRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_ReadFileResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_ReadFileResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_RemoveFileRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_RemoveFileRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_MoveFileRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_MoveFileRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_MoveFileResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_MoveFileResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_WriteFileRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_WriteFileRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_WriteFileResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_WriteFileResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_CompilationResult_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_CompilationResult_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_CompilationResult_CodeCompilationConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_CompilationResult_CodeCompilationConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_CompilationResult_CodeCompilationConfig_VarsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_CompilationResult_CodeCompilationConfig_VarsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_CompilationResult_CompilationError_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_CompilationResult_CompilationError_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_GetCompilationResultRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_GetCompilationResultRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_CreateCompilationResultRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_CreateCompilationResultRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_Target_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_Target_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_ColumnDescriptor_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_ColumnDescriptor_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_BigqueryLabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_BigqueryLabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_IncrementalTableConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_IncrementalTableConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_AdditionalOptionsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_AdditionalOptionsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Operations_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Operations_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Assertion_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Assertion_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Declaration_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Declaration_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_InvocationConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_InvocationConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_GetWorkflowInvocationRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_GetWorkflowInvocationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_CreateWorkflowInvocationRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_CreateWorkflowInvocationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_DeleteWorkflowInvocationRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_DeleteWorkflowInvocationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_CancelWorkflowInvocationRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_CancelWorkflowInvocationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_BigQueryAction_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_BigQueryAction_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n,google/cloud/dataform/v1beta1/dataform" + + ".proto\022\035google.cloud.dataform.v1beta1\032\034g" + + "oogle/api/annotations.proto\032\027google/api/" + + "client.proto\032\037google/api/field_behavior." + + "proto\032\031google/api/resource.proto\032\033google" + + "/protobuf/empty.proto\032 google/protobuf/f" + + "ield_mask.proto\032\032google/type/interval.pr" + + "oto\"\310\004\n\nRepository\022\021\n\004name\030\001 \001(\tB\003\340A\003\022]\n" + + "\023git_remote_settings\030\002 \001(\0132;.google.clou" + + "d.dataform.v1beta1.Repository.GitRemoteS" + + "ettingsB\003\340A\001\032\333\002\n\021GitRemoteSettings\022\020\n\003ur" + + "l\030\001 \001(\tB\003\340A\002\022\033\n\016default_branch\030\002 \001(\tB\003\340A" + + "\002\022_\n#authentication_token_secret_version" + + "\030\003 \001(\tB2\340A\002\372A,\n*secretmanager.googleapis" + + ".com/SecretVersion\022b\n\014token_status\030\004 \001(\016" + + "2G.google.cloud.dataform.v1beta1.Reposit" + + "ory.GitRemoteSettings.TokenStatusB\003\340A\003\"R" + + "\n\013TokenStatus\022\034\n\030TOKEN_STATUS_UNSPECIFIE" + + "D\020\000\022\r\n\tNOT_FOUND\020\001\022\013\n\007INVALID\020\002\022\t\n\005VALID" + + "\020\003:j\352Ag\n\"dataform.googleapis.com/Reposit" + + "ory\022Aprojects/{project}/locations/{locat" + + "ion}/repositories/{repository}\"\261\001\n\027ListR" + + "epositoriesRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372" + + "A#\n!locations.googleapis.com/Location\022\026\n" + + "\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(" + + "\tB\003\340A\001\022\025\n\010order_by\030\004 \001(\tB\003\340A\001\022\023\n\006filter\030" + + "\005 \001(\tB\003\340A\001\"\211\001\n\030ListRepositoriesResponse\022" + + "?\n\014repositories\030\001 \003(\0132).google.cloud.dat" + + "aform.v1beta1.Repository\022\027\n\017next_page_to" + + "ken\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"P\n\024GetRep" + + "ositoryRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"da" + + "taform.googleapis.com/Repository\"\264\001\n\027Cre" + + "ateRepositoryRequest\0229\n\006parent\030\001 \001(\tB)\340A" + + "\002\372A#\n!locations.googleapis.com/Location\022" + + "B\n\nrepository\030\002 \001(\0132).google.cloud.dataf" + + "orm.v1beta1.RepositoryB\003\340A\002\022\032\n\rrepositor" + + "y_id\030\003 \001(\tB\003\340A\002\"\223\001\n\027UpdateRepositoryRequ" + + "est\0224\n\013update_mask\030\001 \001(\0132\032.google.protob" + + "uf.FieldMaskB\003\340A\001\022B\n\nrepository\030\002 \001(\0132)." + + "google.cloud.dataform.v1beta1.Repository" + + "B\003\340A\002\"b\n\027DeleteRepositoryRequest\0228\n\004name" + + "\030\001 \001(\tB*\340A\002\372A$\n\"dataform.googleapis.com/" + + "Repository\022\r\n\005force\030\002 \001(\010\"V\n\032FetchRemote" + + "BranchesRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"d" + + "ataform.googleapis.com/Repository\"/\n\033Fet" + + "chRemoteBranchesResponse\022\020\n\010branches\030\001 \003" + + "(\t\"\241\001\n\tWorkspace\022\021\n\004name\030\001 \001(\tB\003\340A\003:\200\001\352A" + + "}\n!dataform.googleapis.com/Workspace\022Xpr" + + "ojects/{project}/locations/{location}/re" + + "positories/{repository}/workspaces/{work" + + "space}\"\260\001\n\025ListWorkspacesRequest\022:\n\006pare" + + "nt\030\001 \001(\tB*\340A\002\372A$\n\"dataform.googleapis.co" + + "m/Repository\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\n" + + "page_token\030\003 \001(\tB\003\340A\001\022\025\n\010order_by\030\004 \001(\tB" + + "\003\340A\001\022\023\n\006filter\030\005 \001(\tB\003\340A\001\"\204\001\n\026ListWorksp" + + "acesResponse\022<\n\nworkspaces\030\001 \003(\0132(.googl" + + "e.cloud.dataform.v1beta1.Workspace\022\027\n\017ne" + + "xt_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t" + + "\"N\n\023GetWorkspaceRequest\0227\n\004name\030\001 \001(\tB)\340" + + "A\002\372A#\n!dataform.googleapis.com/Workspace" + + "\"\261\001\n\026CreateWorkspaceRequest\022:\n\006parent\030\001 " + + "\001(\tB*\340A\002\372A$\n\"dataform.googleapis.com/Rep" + + "ository\022@\n\tworkspace\030\002 \001(\0132(.google.clou" + + "d.dataform.v1beta1.WorkspaceB\003\340A\002\022\031\n\014wor" + + "kspace_id\030\003 \001(\tB\003\340A\002\"Q\n\026DeleteWorkspaceR" + + "equest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dataform.g" + + "oogleapis.com/Workspace\"=\n\014CommitAuthor\022" + + "\021\n\004name\030\001 \001(\tB\003\340A\002\022\032\n\remail_address\030\002 \001(" + + "\tB\003\340A\002\"\256\001\n\025PullGitCommitsRequest\0227\n\004name" + + "\030\001 \001(\tB)\340A\002\372A#\n!dataform.googleapis.com/" + + "Workspace\022\032\n\rremote_branch\030\002 \001(\tB\003\340A\001\022@\n" + + "\006author\030\003 \001(\0132+.google.cloud.dataform.v1" + + "beta1.CommitAuthorB\003\340A\002\"l\n\025PushGitCommit" + + "sRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dataform" + + ".googleapis.com/Workspace\022\032\n\rremote_bran" + + "ch\030\002 \001(\tB\003\340A\001\"V\n\033FetchFileGitStatusesReq" + + "uest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!dataform.goo" + + "gleapis.com/Workspace\"\374\002\n\034FetchFileGitSt" + + "atusesResponse\022s\n\030uncommitted_file_chang" + + "es\030\001 \003(\0132Q.google.cloud.dataform.v1beta1" + + ".FetchFileGitStatusesResponse.Uncommitte" + + "dFileChange\032\346\001\n\025UncommittedFileChange\022\014\n" + + "\004path\030\001 \001(\t\022f\n\005state\030\002 \001(\0162W.google.clou" + + "d.dataform.v1beta1.FetchFileGitStatusesR" + + "esponse.UncommittedFileChange.State\"W\n\005S" + + "tate\022\025\n\021STATE_UNSPECIFIED\020\000\022\t\n\005ADDED\020\001\022\013" + + "\n\007DELETED\020\002\022\014\n\010MODIFIED\020\003\022\021\n\rHAS_CONFLIC" + + "TS\020\004\"q\n\032FetchGitAheadBehindRequest\0227\n\004na" + + "me\030\001 \001(\tB)\340A\002\372A#\n!dataform.googleapis.co" + + "m/Workspace\022\032\n\rremote_branch\030\002 \001(\tB\003\340A\001\"" + + "L\n\033FetchGitAheadBehindResponse\022\025\n\rcommit" + + "s_ahead\030\001 \001(\005\022\026\n\016commits_behind\030\002 \001(\005\"\313\001" + + "\n\035CommitWorkspaceChangesRequest\0227\n\004name\030" + + "\001 \001(\tB)\340A\002\372A#\n!dataform.googleapis.com/W" + + "orkspace\022@\n\006author\030\004 \001(\0132+.google.cloud." + + "dataform.v1beta1.CommitAuthorB\003\340A\002\022\033\n\016co" + + "mmit_message\030\002 \001(\tB\003\340A\001\022\022\n\005paths\030\003 \003(\tB\003" + + "\340A\001\"\177\n\034ResetWorkspaceChangesRequest\0227\n\004n" + + "ame\030\001 \001(\tB)\340A\002\372A#\n!dataform.googleapis.c" + + "om/Workspace\022\022\n\005paths\030\002 \003(\tB\003\340A\001\022\022\n\005clea" + + "n\030\003 \001(\010B\003\340A\001\"g\n\024FetchFileDiffRequest\022<\n\t" + + "workspace\030\001 \001(\tB)\340A\002\372A#\n!dataform.google" + + "apis.com/Workspace\022\021\n\004path\030\002 \001(\tB\003\340A\002\"/\n" + + "\025FetchFileDiffResponse\022\026\n\016formatted_diff" + + "\030\001 \001(\t\"\241\001\n\035QueryDirectoryContentsRequest" + + "\022<\n\tworkspace\030\001 \001(\tB)\340A\002\372A#\n!dataform.go" + + "ogleapis.com/Workspace\022\021\n\004path\030\002 \001(\tB\003\340A" + + "\001\022\026\n\tpage_size\030\003 \001(\005B\003\340A\001\022\027\n\npage_token\030" + + "\004 \001(\tB\003\340A\001\"\342\001\n\036QueryDirectoryContentsRes" + + "ponse\022g\n\021directory_entries\030\001 \003(\0132L.googl" + + "e.cloud.dataform.v1beta1.QueryDirectoryC" + + "ontentsResponse.DirectoryEntry\022\027\n\017next_p" + + "age_token\030\002 \001(\t\032>\n\016DirectoryEntry\022\016\n\004fil" + + "e\030\001 \001(\tH\000\022\023\n\tdirectory\030\002 \001(\tH\000B\007\n\005entry\"" + + "g\n\024MakeDirectoryRequest\022<\n\tworkspace\030\001 \001" + + "(\tB)\340A\002\372A#\n!dataform.googleapis.com/Work" + + "space\022\021\n\004path\030\002 \001(\tB\003\340A\002\"\027\n\025MakeDirector" + + "yResponse\"i\n\026RemoveDirectoryRequest\022<\n\tw" + + "orkspace\030\001 \001(\tB)\340A\002\372A#\n!dataform.googlea" + + "pis.com/Workspace\022\021\n\004path\030\002 \001(\tB\003\340A\002\"~\n\024" + + "MoveDirectoryRequest\022<\n\tworkspace\030\001 \001(\tB" + + ")\340A\002\372A#\n!dataform.googleapis.com/Workspa" + + "ce\022\021\n\004path\030\002 \001(\tB\003\340A\002\022\025\n\010new_path\030\003 \001(\tB" + + "\003\340A\002\"\027\n\025MoveDirectoryResponse\"b\n\017ReadFil" + + "eRequest\022<\n\tworkspace\030\001 \001(\tB)\340A\002\372A#\n!dat" + + "aform.googleapis.com/Workspace\022\021\n\004path\030\002" + + " \001(\tB\003\340A\002\")\n\020ReadFileResponse\022\025\n\rfile_co" + + "ntents\030\001 \001(\014\"d\n\021RemoveFileRequest\022<\n\twor" + + "kspace\030\001 \001(\tB)\340A\002\372A#\n!dataform.googleapi" + + "s.com/Workspace\022\021\n\004path\030\002 \001(\tB\003\340A\002\"y\n\017Mo" + + "veFileRequest\022<\n\tworkspace\030\001 \001(\tB)\340A\002\372A#" + + "\n!dataform.googleapis.com/Workspace\022\021\n\004p" + + "ath\030\002 \001(\tB\003\340A\002\022\025\n\010new_path\030\003 \001(\tB\003\340A\002\"\022\n" + + "\020MoveFileResponse\"z\n\020WriteFileRequest\022<\n" + + "\tworkspace\030\001 \001(\tB)\340A\002\372A#\n!dataform.googl" + + "eapis.com/Workspace\022\021\n\004path\030\002 \001(\tB\003\340A\002\022\025" + + "\n\010contents\030\003 \001(\014B\003\340A\002\"\023\n\021WriteFileRespon" + + "se\"Y\n\031InstallNpmPackagesRequest\022<\n\tworks" + + "pace\030\001 \001(\tB)\340A\002\372A#\n!dataform.googleapis." + + "com/Workspace\"\034\n\032InstallNpmPackagesRespo" + + "nse\"\261\010\n\021CompilationResult\022\021\n\004name\030\001 \001(\tB" + + "\003\340A\003\022\034\n\rgit_commitish\030\002 \001(\tB\003\340A\005H\000\022>\n\two" + + "rkspace\030\003 \001(\tB)\340A\005\372A#\n!dataform.googleap" + + "is.com/WorkspaceH\000\022l\n\027code_compilation_c" + + "onfig\030\004 \001(\0132F.google.cloud.dataform.v1be" + + "ta1.CompilationResult.CodeCompilationCon" + + "figB\003\340A\005\022\"\n\025dataform_core_version\030\005 \001(\tB" + + "\003\340A\003\022b\n\022compilation_errors\030\006 \003(\0132A.googl" + + "e.cloud.dataform.v1beta1.CompilationResu" + + "lt.CompilationErrorB\003\340A\003\032\370\002\n\025CodeCompila" + + "tionConfig\022\035\n\020default_database\030\001 \001(\tB\003\340A" + + "\001\022\033\n\016default_schema\030\002 \001(\tB\003\340A\001\022\035\n\020defaul" + + "t_location\030\010 \001(\tB\003\340A\001\022\035\n\020assertion_schem" + + "a\030\003 \001(\tB\003\340A\001\022c\n\004vars\030\004 \003(\0132P.google.clou" + + "d.dataform.v1beta1.CompilationResult.Cod" + + "eCompilationConfig.VarsEntryB\003\340A\001\022\034\n\017dat" + + "abase_suffix\030\005 \001(\tB\003\340A\001\022\032\n\rschema_suffix" + + "\030\006 \001(\tB\003\340A\001\022\031\n\014table_prefix\030\007 \001(\tB\003\340A\001\032+" + + "\n\tVarsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:" + + "\0028\001\032\222\001\n\020CompilationError\022\024\n\007message\030\001 \001(" + + "\tB\003\340A\003\022\022\n\005stack\030\002 \001(\tB\003\340A\003\022\021\n\004path\030\003 \001(\t" + + "B\003\340A\003\022A\n\raction_target\030\004 \001(\0132%.google.cl" + + "oud.dataform.v1beta1.TargetB\003\340A\003:\232\001\352A\226\001\n" + + ")dataform.googleapis.com/CompilationResu" + + "lt\022iprojects/{project}/locations/{locati" + + "on}/repositories/{repository}/compilatio" + + "nResults/{compilation_result}B\010\n\006source\"" + + "\214\001\n\035ListCompilationResultsRequest\022:\n\006par" + + "ent\030\001 \001(\tB*\340A\002\372A$\n\"dataform.googleapis.c" + + "om/Repository\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n" + + "\npage_token\030\003 \001(\tB\003\340A\001\"\235\001\n\036ListCompilati" + + "onResultsResponse\022M\n\023compilation_results" + + "\030\001 \003(\01320.google.cloud.dataform.v1beta1.C" + + "ompilationResult\022\027\n\017next_page_token\030\002 \001(" + + "\t\022\023\n\013unreachable\030\003 \003(\t\"^\n\033GetCompilation" + + "ResultRequest\022?\n\004name\030\001 \001(\tB1\340A\002\372A+\n)dat" + + "aform.googleapis.com/CompilationResult\"\257" + + "\001\n\036CreateCompilationResultRequest\022:\n\006par" + + "ent\030\001 \001(\tB*\340A\002\372A$\n\"dataform.googleapis.c" + + "om/Repository\022Q\n\022compilation_result\030\002 \001(" + + "\01320.google.cloud.dataform.v1beta1.Compil" + + "ationResultB\003\340A\002\"8\n\006Target\022\020\n\010database\030\001" + + " \001(\t\022\016\n\006schema\030\002 \001(\t\022\014\n\004name\030\003 \001(\t\"\352\002\n\022R" + + "elationDescriptor\022\023\n\013description\030\001 \001(\t\022S" + + "\n\007columns\030\002 \003(\0132B.google.cloud.dataform." + + "v1beta1.RelationDescriptor.ColumnDescrip" + + "tor\022^\n\017bigquery_labels\030\003 \003(\0132E.google.cl" + + "oud.dataform.v1beta1.RelationDescriptor." + + "BigqueryLabelsEntry\032S\n\020ColumnDescriptor\022" + + "\014\n\004path\030\001 \003(\t\022\023\n\013description\030\002 \001(\t\022\034\n\024bi" + + "gquery_policy_tags\030\003 \003(\t\0325\n\023BigqueryLabe" + + "lsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"" + + "\323\021\n\027CompilationResultAction\0225\n\006target\030\001 " + + "\001(\0132%.google.cloud.dataform.v1beta1.Targ" + + "et\022?\n\020canonical_target\030\002 \001(\0132%.google.cl" + + "oud.dataform.v1beta1.Target\022\021\n\tfile_path" + + "\030\003 \001(\t\022S\n\010relation\030\004 \001(\0132?.google.cloud." + + "dataform.v1beta1.CompilationResultAction" + + ".RelationH\000\022W\n\noperations\030\005 \001(\0132A.google" + + ".cloud.dataform.v1beta1.CompilationResul" + + "tAction.OperationsH\000\022U\n\tassertion\030\006 \001(\0132" + + "@.google.cloud.dataform.v1beta1.Compilat" + + "ionResultAction.AssertionH\000\022Y\n\013declarati" + + "on\030\007 \001(\0132B.google.cloud.dataform.v1beta1" + + ".CompilationResultAction.DeclarationH\000\032\336" + + "\010\n\010Relation\022A\n\022dependency_targets\030\001 \003(\0132" + + "%.google.cloud.dataform.v1beta1.Target\022\020" + + "\n\010disabled\030\002 \001(\010\022\014\n\004tags\030\003 \003(\t\022N\n\023relati" + + "on_descriptor\030\004 \001(\01321.google.cloud.dataf" + + "orm.v1beta1.RelationDescriptor\022c\n\rrelati" + + "on_type\030\005 \001(\0162L.google.cloud.dataform.v1" + + "beta1.CompilationResultAction.Relation.R" + + "elationType\022\024\n\014select_query\030\006 \001(\t\022\026\n\016pre" + + "_operations\030\007 \003(\t\022\027\n\017post_operations\030\010 \003" + + "(\t\022x\n\030incremental_table_config\030\t \001(\0132V.g" + + "oogle.cloud.dataform.v1beta1.Compilation" + + "ResultAction.Relation.IncrementalTableCo" + + "nfig\022\034\n\024partition_expression\030\n \001(\t\022\033\n\023cl" + + "uster_expressions\030\013 \003(\t\022!\n\031partition_exp" + + "iration_days\030\014 \001(\005\022 \n\030require_partition_" + + "filter\030\r \001(\010\022r\n\022additional_options\030\016 \003(\013" + + "2V.google.cloud.dataform.v1beta1.Compila" + + "tionResultAction.Relation.AdditionalOpti" + + "onsEntry\032\330\001\n\026IncrementalTableConfig\022 \n\030i" + + "ncremental_select_query\030\001 \001(\t\022\030\n\020refresh" + + "_disabled\030\002 \001(\010\022\030\n\020unique_key_parts\030\003 \003(" + + "\t\022\037\n\027update_partition_filter\030\004 \001(\t\022\"\n\032in" + + "cremental_pre_operations\030\005 \003(\t\022#\n\033increm" + + "ental_post_operations\030\006 \003(\t\0328\n\026Additiona" + + "lOptionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(" + + "\t:\0028\001\"p\n\014RelationType\022\035\n\031RELATION_TYPE_U" + + "NSPECIFIED\020\000\022\t\n\005TABLE\020\001\022\010\n\004VIEW\020\002\022\025\n\021INC" + + "REMENTAL_TABLE\020\003\022\025\n\021MATERIALIZED_VIEW\020\004\032" + + "\344\001\n\nOperations\022A\n\022dependency_targets\030\001 \003" + + "(\0132%.google.cloud.dataform.v1beta1.Targe" + + "t\022\020\n\010disabled\030\002 \001(\010\022\014\n\004tags\030\003 \003(\t\022N\n\023rel" + + "ation_descriptor\030\006 \001(\01321.google.cloud.da" + + "taform.v1beta1.RelationDescriptor\022\017\n\007que" + + "ries\030\004 \003(\t\022\022\n\nhas_output\030\005 \001(\010\032\222\002\n\tAsser" + + "tion\022A\n\022dependency_targets\030\001 \003(\0132%.googl" + + "e.cloud.dataform.v1beta1.Target\022<\n\rparen" + + "t_action\030\005 \001(\0132%.google.cloud.dataform.v" + + "1beta1.Target\022\020\n\010disabled\030\002 \001(\010\022\014\n\004tags\030" + + "\003 \003(\t\022\024\n\014select_query\030\004 \001(\t\022N\n\023relation_" + + "descriptor\030\006 \001(\01321.google.cloud.dataform" + + ".v1beta1.RelationDescriptor\032]\n\013Declarati" + + "on\022N\n\023relation_descriptor\030\001 \001(\01321.google" + + ".cloud.dataform.v1beta1.RelationDescript" + + "orB\021\n\017compiled_object\"\255\001\n$QueryCompilati" + + "onResultActionsRequest\022?\n\004name\030\001 \001(\tB1\340A" + + "\002\372A+\n)dataform.googleapis.com/Compilatio" + + "nResult\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\npage_" + + "token\030\003 \001(\tB\003\340A\001\022\023\n\006filter\030\004 \001(\tB\003\340A\001\"\234\001" + + "\n%QueryCompilationResultActionsResponse\022" + + "Z\n\032compilation_result_actions\030\001 \003(\01326.go" + + "ogle.cloud.dataform.v1beta1.CompilationR" + + "esultAction\022\027\n\017next_page_token\030\002 \001(\t\"\356\006\n" + + "\022WorkflowInvocation\022\021\n\004name\030\001 \001(\tB\003\340A\003\022M" + + "\n\022compilation_result\030\002 \001(\tB1\340A\005\372A+\n)data" + + "form.googleapis.com/CompilationResult\022b\n" + + "\021invocation_config\030\003 \001(\0132B.google.cloud." + + "dataform.v1beta1.WorkflowInvocation.Invo" + + "cationConfigB\003\340A\005\022K\n\005state\030\004 \001(\01627.googl" + + "e.cloud.dataform.v1beta1.WorkflowInvocat" + + "ion.StateB\003\340A\003\0225\n\021invocation_timing\030\005 \001(" + + "\0132\025.google.type.IntervalB\003\340A\003\032\207\002\n\020Invoca" + + "tionConfig\022D\n\020included_targets\030\001 \003(\0132%.g" + + "oogle.cloud.dataform.v1beta1.TargetB\003\340A\005" + + "\022\032\n\rincluded_tags\030\002 \003(\tB\003\340A\005\022-\n transiti" + + "ve_dependencies_included\030\003 \001(\010B\003\340A\005\022+\n\036t" + + "ransitive_dependents_included\030\004 \001(\010B\003\340A\005" + + "\0225\n(fully_refresh_incremental_tables_ena" + + "bled\030\005 \001(\010B\003\340A\005\"d\n\005State\022\025\n\021STATE_UNSPEC" + + "IFIED\020\000\022\013\n\007RUNNING\020\001\022\r\n\tSUCCEEDED\020\002\022\r\n\tC" + + "ANCELLED\020\003\022\n\n\006FAILED\020\004\022\r\n\tCANCELING\020\005:\235\001" + + "\352A\231\001\n*dataform.googleapis.com/WorkflowIn" + + "vocation\022kprojects/{project}/locations/{" + + "location}/repositories/{repository}/work" + + "flowInvocations/{workflow_invocation}\"\215\001" + + "\n\036ListWorkflowInvocationsRequest\022:\n\006pare" + + "nt\030\001 \001(\tB*\340A\002\372A$\n\"dataform.googleapis.co" + + "m/Repository\022\026\n\tpage_size\030\002 \001(\005B\003\340A\001\022\027\n\n" + + "page_token\030\003 \001(\tB\003\340A\001\"\240\001\n\037ListWorkflowIn" + + "vocationsResponse\022O\n\024workflow_invocation" + + "s\030\001 \003(\01321.google.cloud.dataform.v1beta1." + + "WorkflowInvocation\022\027\n\017next_page_token\030\002 " + + "\001(\t\022\023\n\013unreachable\030\003 \003(\t\"`\n\034GetWorkflowI" + + "nvocationRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*" + + "dataform.googleapis.com/WorkflowInvocati" + + "on\"\262\001\n\037CreateWorkflowInvocationRequest\022:" + + "\n\006parent\030\001 \001(\tB*\340A\002\372A$\n\"dataform.googlea" + + "pis.com/Repository\022S\n\023workflow_invocatio" + + "n\030\002 \001(\01321.google.cloud.dataform.v1beta1." + + "WorkflowInvocationB\003\340A\002\"c\n\037DeleteWorkflo" + + "wInvocationRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A," + + "\n*dataform.googleapis.com/WorkflowInvoca" + + "tion\"c\n\037CancelWorkflowInvocationRequest\022" + + "@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*dataform.googleap" + + "is.com/WorkflowInvocation\"\274\004\n\030WorkflowIn" + + "vocationAction\022:\n\006target\030\001 \001(\0132%.google." + + "cloud.dataform.v1beta1.TargetB\003\340A\003\022D\n\020ca" + + "nonical_target\030\002 \001(\0132%.google.cloud.data" + + "form.v1beta1.TargetB\003\340A\003\022Q\n\005state\030\004 \001(\0162" + + "=.google.cloud.dataform.v1beta1.Workflow" + + "InvocationAction.StateB\003\340A\003\022\033\n\016failure_r" + + "eason\030\007 \001(\tB\003\340A\003\0225\n\021invocation_timing\030\005 " + + "\001(\0132\025.google.type.IntervalB\003\340A\003\022d\n\017bigqu" + + "ery_action\030\006 \001(\0132F.google.cloud.dataform" + + ".v1beta1.WorkflowInvocationAction.BigQue" + + "ryActionB\003\340A\003\032)\n\016BigQueryAction\022\027\n\nsql_s" + + "cript\030\001 \001(\tB\003\340A\003\"f\n\005State\022\013\n\007PENDING\020\000\022\013" + + "\n\007RUNNING\020\001\022\013\n\007SKIPPED\020\002\022\014\n\010DISABLED\020\003\022\r" + + "\n\tSUCCEEDED\020\004\022\r\n\tCANCELLED\020\005\022\n\n\006FAILED\020\006" + + "\"\232\001\n%QueryWorkflowInvocationActionsReque" + + "st\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*dataform.googl" + + "eapis.com/WorkflowInvocation\022\026\n\tpage_siz" + + "e\030\002 \001(\005B\003\340A\001\022\027\n\npage_token\030\003 \001(\tB\003\340A\001\"\237\001" + + "\n&QueryWorkflowInvocationActionsResponse" + + "\022\\\n\033workflow_invocation_actions\030\001 \003(\01327." + + "google.cloud.dataform.v1beta1.WorkflowIn" + + "vocationAction\022\027\n\017next_page_token\030\002 \001(\t2" + + "\313>\n\010Dataform\022\313\001\n\020ListRepositories\0226.goog" + + "le.cloud.dataform.v1beta1.ListRepositori" + + "esRequest\0327.google.cloud.dataform.v1beta" + + "1.ListRepositoriesResponse\"F\202\323\344\223\0027\0225/v1b" + + "eta1/{parent=projects/*/locations/*}/rep" + + "ositories\332A\006parent\022\265\001\n\rGetRepository\0223.g" + + "oogle.cloud.dataform.v1beta1.GetReposito" + + "ryRequest\032).google.cloud.dataform.v1beta" + + "1.Repository\"D\202\323\344\223\0027\0225/v1beta1/{name=pro" + + "jects/*/locations/*/repositories/*}\332A\004na" + + "me\022\342\001\n\020CreateRepository\0226.google.cloud.d" + + "ataform.v1beta1.CreateRepositoryRequest\032" + + ").google.cloud.dataform.v1beta1.Reposito" + + "ry\"k\202\323\344\223\002C\"5/v1beta1/{parent=projects/*/" + + "locations/*}/repositories:\nrepository\332A\037" + + "parent,repository,repository_id\022\344\001\n\020Upda" + + "teRepository\0226.google.cloud.dataform.v1b" + + "eta1.UpdateRepositoryRequest\032).google.cl" + + "oud.dataform.v1beta1.Repository\"m\202\323\344\223\002N2" + + "@/v1beta1/{repository.name=projects/*/lo" + + "cations/*/repositories/*}:\nrepository\332A\026" + + "repository,update_mask\022\250\001\n\020DeleteReposit" + + "ory\0226.google.cloud.dataform.v1beta1.Dele" + + "teRepositoryRequest\032\026.google.protobuf.Em" + + "pty\"D\202\323\344\223\0027*5/v1beta1/{name=projects/*/l" + + "ocations/*/repositories/*}\332A\004name\022\337\001\n\023Fe" + + "tchRemoteBranches\0229.google.cloud.datafor" + + "m.v1beta1.FetchRemoteBranchesRequest\032:.g" + + "oogle.cloud.dataform.v1beta1.FetchRemote" + + "BranchesResponse\"Q\202\323\344\223\002K\022I/v1beta1/{name" + + "=projects/*/locations/*/repositories/*}:" + + "fetchRemoteBranches\022\322\001\n\016ListWorkspaces\0224" + + ".google.cloud.dataform.v1beta1.ListWorks" + + "pacesRequest\0325.google.cloud.dataform.v1b" + + "eta1.ListWorkspacesResponse\"S\202\323\344\223\002D\022B/v1" + + "beta1/{parent=projects/*/locations/*/rep" + + "ositories/*}/workspaces\332A\006parent\022\277\001\n\014Get" + + "Workspace\0222.google.cloud.dataform.v1beta" + + "1.GetWorkspaceRequest\032(.google.cloud.dat" + + "aform.v1beta1.Workspace\"Q\202\323\344\223\002D\022B/v1beta" + + "1/{name=projects/*/locations/*/repositor" + + "ies/*/workspaces/*}\332A\004name\022\351\001\n\017CreateWor" + + "kspace\0225.google.cloud.dataform.v1beta1.C" + + "reateWorkspaceRequest\032(.google.cloud.dat" + + "aform.v1beta1.Workspace\"u\202\323\344\223\002O\"B/v1beta" + + "1/{parent=projects/*/locations/*/reposit" + + "ories/*}/workspaces:\tworkspace\332A\035parent," + + "workspace,workspace_id\022\263\001\n\017DeleteWorkspa" + + "ce\0225.google.cloud.dataform.v1beta1.Delet" + + "eWorkspaceRequest\032\026.google.protobuf.Empt" + + "y\"Q\202\323\344\223\002D*B/v1beta1/{name=projects/*/loc" + + "ations/*/repositories/*/workspaces/*}\332A\004" + + "name\022\360\001\n\022InstallNpmPackages\0228.google.clo" + + "ud.dataform.v1beta1.InstallNpmPackagesRe" + + "quest\0329.google.cloud.dataform.v1beta1.In" + + "stallNpmPackagesResponse\"e\202\323\344\223\002_\"Z/v1bet" + + "a1/{workspace=projects/*/locations/*/rep" + + "ositories/*/workspaces/*}:installNpmPack" + + "ages:\001*\022\262\001\n\016PullGitCommits\0224.google.clou" + + "d.dataform.v1beta1.PullGitCommitsRequest" + + "\032\026.google.protobuf.Empty\"R\202\323\344\223\002L\"G/v1bet" + + "a1/{name=projects/*/locations/*/reposito" + + "ries/*/workspaces/*}:pull:\001*\022\262\001\n\016PushGit" + + "Commits\0224.google.cloud.dataform.v1beta1." + + "PushGitCommitsRequest\032\026.google.protobuf." + + "Empty\"R\202\323\344\223\002L\"G/v1beta1/{name=projects/*" + + "/locations/*/repositories/*/workspaces/*" + + "}:push:\001*\022\360\001\n\024FetchFileGitStatuses\022:.goo" + + "gle.cloud.dataform.v1beta1.FetchFileGitS" + + "tatusesRequest\032;.google.cloud.dataform.v" + + "1beta1.FetchFileGitStatusesResponse\"_\202\323\344" + + "\223\002Y\022W/v1beta1/{name=projects/*/locations" + + "/*/repositories/*/workspaces/*}:fetchFil" + + "eGitStatuses\022\354\001\n\023FetchGitAheadBehind\0229.g" + + "oogle.cloud.dataform.v1beta1.FetchGitAhe" + + "adBehindRequest\032:.google.cloud.dataform." + + "v1beta1.FetchGitAheadBehindResponse\"^\202\323\344" + + "\223\002X\022V/v1beta1/{name=projects/*/locations" + + "/*/repositories/*/workspaces/*}:fetchGit", + "AheadBehind\022\304\001\n\026CommitWorkspaceChanges\022<" + + ".google.cloud.dataform.v1beta1.CommitWor" + + "kspaceChangesRequest\032\026.google.protobuf.E" + + "mpty\"T\202\323\344\223\002N\"I/v1beta1/{name=projects/*/" + + "locations/*/repositories/*/workspaces/*}" + + ":commit:\001*\022\301\001\n\025ResetWorkspaceChanges\022;.g" + + "oogle.cloud.dataform.v1beta1.ResetWorksp" + + "aceChangesRequest\032\026.google.protobuf.Empt" + + "y\"S\202\323\344\223\002M\"H/v1beta1/{name=projects/*/loc" + + "ations/*/repositories/*/workspaces/*}:re" + + "set:\001*\022\331\001\n\rFetchFileDiff\0223.google.cloud." + + "dataform.v1beta1.FetchFileDiffRequest\0324." + + "google.cloud.dataform.v1beta1.FetchFileD" + + "iffResponse\"]\202\323\344\223\002W\022U/v1beta1/{workspace" + + "=projects/*/locations/*/repositories/*/w" + + "orkspaces/*}:fetchFileDiff\022\375\001\n\026QueryDire" + + "ctoryContents\022<.google.cloud.dataform.v1" + + "beta1.QueryDirectoryContentsRequest\032=.go" + + "ogle.cloud.dataform.v1beta1.QueryDirecto" + + "ryContentsResponse\"f\202\323\344\223\002`\022^/v1beta1/{wo" + + "rkspace=projects/*/locations/*/repositor" + + "ies/*/workspaces/*}:queryDirectoryConten" + + "ts\022\334\001\n\rMakeDirectory\0223.google.cloud.data" + + "form.v1beta1.MakeDirectoryRequest\0324.goog" + + "le.cloud.dataform.v1beta1.MakeDirectoryR" + + "esponse\"`\202\323\344\223\002Z\"U/v1beta1/{workspace=pro" + + "jects/*/locations/*/repositories/*/works" + + "paces/*}:makeDirectory:\001*\022\304\001\n\017RemoveDire" + + "ctory\0225.google.cloud.dataform.v1beta1.Re" + + "moveDirectoryRequest\032\026.google.protobuf.E" + + "mpty\"b\202\323\344\223\002\\\"W/v1beta1/{workspace=projec" + + "ts/*/locations/*/repositories/*/workspac" + + "es/*}:removeDirectory:\001*\022\334\001\n\rMoveDirecto" + + "ry\0223.google.cloud.dataform.v1beta1.MoveD" + + "irectoryRequest\0324.google.cloud.dataform." + + "v1beta1.MoveDirectoryResponse\"`\202\323\344\223\002Z\"U/" + + "v1beta1/{workspace=projects/*/locations/" + + "*/repositories/*/workspaces/*}:moveDirec" + + "tory:\001*\022\305\001\n\010ReadFile\022..google.cloud.data" + + "form.v1beta1.ReadFileRequest\032/.google.cl" + + "oud.dataform.v1beta1.ReadFileResponse\"X\202" + + "\323\344\223\002R\022P/v1beta1/{workspace=projects/*/lo" + + "cations/*/repositories/*/workspaces/*}:r" + + "eadFile\022\265\001\n\nRemoveFile\0220.google.cloud.da" + + "taform.v1beta1.RemoveFileRequest\032\026.googl" + + "e.protobuf.Empty\"]\202\323\344\223\002W\"R/v1beta1/{work" + + "space=projects/*/locations/*/repositorie" + + "s/*/workspaces/*}:removeFile:\001*\022\310\001\n\010Move" + + "File\022..google.cloud.dataform.v1beta1.Mov" + + "eFileRequest\032/.google.cloud.dataform.v1b" + + "eta1.MoveFileResponse\"[\202\323\344\223\002U\"P/v1beta1/" + + "{workspace=projects/*/locations/*/reposi" + + "tories/*/workspaces/*}:moveFile:\001*\022\314\001\n\tW" + + "riteFile\022/.google.cloud.dataform.v1beta1" + + ".WriteFileRequest\0320.google.cloud.datafor" + + "m.v1beta1.WriteFileResponse\"\\\202\323\344\223\002V\"Q/v1" + + "beta1/{workspace=projects/*/locations/*/" + + "repositories/*/workspaces/*}:writeFile:\001" + + "*\022\362\001\n\026ListCompilationResults\022<.google.cl" + + "oud.dataform.v1beta1.ListCompilationResu" + + "ltsRequest\032=.google.cloud.dataform.v1bet" + + "a1.ListCompilationResultsResponse\"[\202\323\344\223\002" + + "L\022J/v1beta1/{parent=projects/*/locations" + + "/*/repositories/*}/compilationResults\332A\006" + + "parent\022\337\001\n\024GetCompilationResult\022:.google" + + ".cloud.dataform.v1beta1.GetCompilationRe" + + "sultRequest\0320.google.cloud.dataform.v1be" + + "ta1.CompilationResult\"Y\202\323\344\223\002L\022J/v1beta1/" + + "{name=projects/*/locations/*/repositorie" + + "s/*/compilationResults/*}\332A\004name\022\217\002\n\027Cre" + + "ateCompilationResult\022=.google.cloud.data" + + "form.v1beta1.CreateCompilationResultRequ" + + "est\0320.google.cloud.dataform.v1beta1.Comp" + + "ilationResult\"\202\001\202\323\344\223\002`\"J/v1beta1/{parent" + + "=projects/*/locations/*/repositories/*}/" + + "compilationResults:\022compilation_result\332A" + + "\031parent,compilation_result\022\204\002\n\035QueryComp" + + "ilationResultActions\022C.google.cloud.data" + + "form.v1beta1.QueryCompilationResultActio" + + "nsRequest\032D.google.cloud.dataform.v1beta" + + "1.QueryCompilationResultActionsResponse\"" + + "X\202\323\344\223\002R\022P/v1beta1/{name=projects/*/locat" + + "ions/*/repositories/*/compilationResults" + + "/*}:query\022\366\001\n\027ListWorkflowInvocations\022=." + + "google.cloud.dataform.v1beta1.ListWorkfl" + + "owInvocationsRequest\032>.google.cloud.data" + + "form.v1beta1.ListWorkflowInvocationsResp" + + "onse\"\\\202\323\344\223\002M\022K/v1beta1/{parent=projects/" + + "*/locations/*/repositories/*}/workflowIn" + + "vocations\332A\006parent\022\343\001\n\025GetWorkflowInvoca" + + "tion\022;.google.cloud.dataform.v1beta1.Get" + + "WorkflowInvocationRequest\0321.google.cloud" + + ".dataform.v1beta1.WorkflowInvocation\"Z\202\323" + + "\344\223\002M\022K/v1beta1/{name=projects/*/location" + + "s/*/repositories/*/workflowInvocations/*" + + "}\332A\004name\022\225\002\n\030CreateWorkflowInvocation\022>." + + "google.cloud.dataform.v1beta1.CreateWork" + + "flowInvocationRequest\0321.google.cloud.dat" + + "aform.v1beta1.WorkflowInvocation\"\205\001\202\323\344\223\002" + + "b\"K/v1beta1/{parent=projects/*/locations" + + "/*/repositories/*}/workflowInvocations:\023" + + "workflow_invocation\332A\032parent,workflow_in" + + "vocation\022\316\001\n\030DeleteWorkflowInvocation\022>." + + "google.cloud.dataform.v1beta1.DeleteWork" + + "flowInvocationRequest\032\026.google.protobuf." + + "Empty\"Z\202\323\344\223\002M*K/v1beta1/{name=projects/*" + + "/locations/*/repositories/*/workflowInvo" + + "cations/*}\332A\004name\022\321\001\n\030CancelWorkflowInvo" + + "cation\022>.google.cloud.dataform.v1beta1.C" + + "ancelWorkflowInvocationRequest\032\026.google." + + "protobuf.Empty\"]\202\323\344\223\002W\"R/v1beta1/{name=p" + + "rojects/*/locations/*/repositories/*/wor" + + "kflowInvocations/*}:cancel:\001*\022\210\002\n\036QueryW" + + "orkflowInvocationActions\022D.google.cloud." + + "dataform.v1beta1.QueryWorkflowInvocation" + + "ActionsRequest\032E.google.cloud.dataform.v" + + "1beta1.QueryWorkflowInvocationActionsRes" + + "ponse\"Y\202\323\344\223\002S\022Q/v1beta1/{name=projects/*" + + "/locations/*/repositories/*/workflowInvo" + + "cations/*}:query\032K\312A\027dataform.googleapis" + + ".com\322A.https://www.googleapis.com/auth/c" + + "loud-platformB\305\002\n!com.google.cloud.dataf" + + "orm.v1beta1B\rDataformProtoP\001ZEgoogle.gol" + + "ang.org/genproto/googleapis/cloud/datafo" + + "rm/v1beta1;dataform\252\002\035Google.Cloud.Dataf" + + "orm.V1Beta1\312\002\035Google\\Cloud\\Dataform\\V1be" + + "ta1\352\002 Google::Cloud::Dataform::V1beta1\352A" + + "d\n*secretmanager.googleapis.com/SecretVe" + + "rsion\0226projects/{project}/secrets/{secre" + + "t}/versions/{version}b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.type.IntervalProto.getDescriptor(), + }); + internal_static_google_cloud_dataform_v1beta1_Repository_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_dataform_v1beta1_Repository_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_Repository_descriptor, + new java.lang.String[] { + "Name", "GitRemoteSettings", + }); + internal_static_google_cloud_dataform_v1beta1_Repository_GitRemoteSettings_descriptor = + internal_static_google_cloud_dataform_v1beta1_Repository_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_dataform_v1beta1_Repository_GitRemoteSettings_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_Repository_GitRemoteSettings_descriptor, + new java.lang.String[] { + "Url", "DefaultBranch", "AuthenticationTokenSecretVersion", "TokenStatus", + }); + internal_static_google_cloud_dataform_v1beta1_ListRepositoriesRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_dataform_v1beta1_ListRepositoriesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_ListRepositoriesRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "OrderBy", "Filter", + }); + internal_static_google_cloud_dataform_v1beta1_ListRepositoriesResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_dataform_v1beta1_ListRepositoriesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_ListRepositoriesResponse_descriptor, + new java.lang.String[] { + "Repositories", "NextPageToken", "Unreachable", + }); + internal_static_google_cloud_dataform_v1beta1_GetRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_dataform_v1beta1_GetRepositoryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_GetRepositoryRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_dataform_v1beta1_CreateRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_dataform_v1beta1_CreateRepositoryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_CreateRepositoryRequest_descriptor, + new java.lang.String[] { + "Parent", "Repository", "RepositoryId", + }); + internal_static_google_cloud_dataform_v1beta1_UpdateRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_dataform_v1beta1_UpdateRepositoryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_UpdateRepositoryRequest_descriptor, + new java.lang.String[] { + "UpdateMask", "Repository", + }); + internal_static_google_cloud_dataform_v1beta1_DeleteRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_dataform_v1beta1_DeleteRepositoryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_DeleteRepositoryRequest_descriptor, + new java.lang.String[] { + "Name", "Force", + }); + internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesResponse_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesResponse_descriptor, + new java.lang.String[] { + "Branches", + }); + internal_static_google_cloud_dataform_v1beta1_Workspace_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_dataform_v1beta1_Workspace_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_Workspace_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_dataform_v1beta1_ListWorkspacesRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_dataform_v1beta1_ListWorkspacesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_ListWorkspacesRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "OrderBy", "Filter", + }); + internal_static_google_cloud_dataform_v1beta1_ListWorkspacesResponse_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_dataform_v1beta1_ListWorkspacesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_ListWorkspacesResponse_descriptor, + new java.lang.String[] { + "Workspaces", "NextPageToken", "Unreachable", + }); + internal_static_google_cloud_dataform_v1beta1_GetWorkspaceRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_dataform_v1beta1_GetWorkspaceRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_GetWorkspaceRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_dataform_v1beta1_CreateWorkspaceRequest_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_dataform_v1beta1_CreateWorkspaceRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_CreateWorkspaceRequest_descriptor, + new java.lang.String[] { + "Parent", "Workspace", "WorkspaceId", + }); + internal_static_google_cloud_dataform_v1beta1_DeleteWorkspaceRequest_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_dataform_v1beta1_DeleteWorkspaceRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_DeleteWorkspaceRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_dataform_v1beta1_CommitAuthor_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_dataform_v1beta1_CommitAuthor_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_CommitAuthor_descriptor, + new java.lang.String[] { + "Name", "EmailAddress", + }); + internal_static_google_cloud_dataform_v1beta1_PullGitCommitsRequest_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_dataform_v1beta1_PullGitCommitsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_PullGitCommitsRequest_descriptor, + new java.lang.String[] { + "Name", "RemoteBranch", "Author", + }); + internal_static_google_cloud_dataform_v1beta1_PushGitCommitsRequest_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_dataform_v1beta1_PushGitCommitsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_PushGitCommitsRequest_descriptor, + new java.lang.String[] { + "Name", "RemoteBranch", + }); + internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesRequest_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_descriptor, + new java.lang.String[] { + "UncommittedFileChanges", + }); + internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_UncommittedFileChange_descriptor = + internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_UncommittedFileChange_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_UncommittedFileChange_descriptor, + new java.lang.String[] { + "Path", "State", + }); + internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindRequest_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindRequest_descriptor, + new java.lang.String[] { + "Name", "RemoteBranch", + }); + internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindResponse_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindResponse_descriptor, + new java.lang.String[] { + "CommitsAhead", "CommitsBehind", + }); + internal_static_google_cloud_dataform_v1beta1_CommitWorkspaceChangesRequest_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_cloud_dataform_v1beta1_CommitWorkspaceChangesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_CommitWorkspaceChangesRequest_descriptor, + new java.lang.String[] { + "Name", "Author", "CommitMessage", "Paths", + }); + internal_static_google_cloud_dataform_v1beta1_ResetWorkspaceChangesRequest_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_cloud_dataform_v1beta1_ResetWorkspaceChangesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_ResetWorkspaceChangesRequest_descriptor, + new java.lang.String[] { + "Name", "Paths", "Clean", + }); + internal_static_google_cloud_dataform_v1beta1_FetchFileDiffRequest_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_cloud_dataform_v1beta1_FetchFileDiffRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_FetchFileDiffRequest_descriptor, + new java.lang.String[] { + "Workspace", "Path", + }); + internal_static_google_cloud_dataform_v1beta1_FetchFileDiffResponse_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_google_cloud_dataform_v1beta1_FetchFileDiffResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_FetchFileDiffResponse_descriptor, + new java.lang.String[] { + "FormattedDiff", + }); + internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsRequest_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsRequest_descriptor, + new java.lang.String[] { + "Workspace", "Path", "PageSize", "PageToken", + }); + internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_descriptor = + getDescriptor().getMessageTypes().get(27); + internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_descriptor, + new java.lang.String[] { + "DirectoryEntries", "NextPageToken", + }); + internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_DirectoryEntry_descriptor = + internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_DirectoryEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_DirectoryEntry_descriptor, + new java.lang.String[] { + "File", "Directory", "Entry", + }); + internal_static_google_cloud_dataform_v1beta1_MakeDirectoryRequest_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_google_cloud_dataform_v1beta1_MakeDirectoryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_MakeDirectoryRequest_descriptor, + new java.lang.String[] { + "Workspace", "Path", + }); + internal_static_google_cloud_dataform_v1beta1_MakeDirectoryResponse_descriptor = + getDescriptor().getMessageTypes().get(29); + internal_static_google_cloud_dataform_v1beta1_MakeDirectoryResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_MakeDirectoryResponse_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_dataform_v1beta1_RemoveDirectoryRequest_descriptor = + getDescriptor().getMessageTypes().get(30); + internal_static_google_cloud_dataform_v1beta1_RemoveDirectoryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_RemoveDirectoryRequest_descriptor, + new java.lang.String[] { + "Workspace", "Path", + }); + internal_static_google_cloud_dataform_v1beta1_MoveDirectoryRequest_descriptor = + getDescriptor().getMessageTypes().get(31); + internal_static_google_cloud_dataform_v1beta1_MoveDirectoryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_MoveDirectoryRequest_descriptor, + new java.lang.String[] { + "Workspace", "Path", "NewPath", + }); + internal_static_google_cloud_dataform_v1beta1_MoveDirectoryResponse_descriptor = + getDescriptor().getMessageTypes().get(32); + internal_static_google_cloud_dataform_v1beta1_MoveDirectoryResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_MoveDirectoryResponse_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_dataform_v1beta1_ReadFileRequest_descriptor = + getDescriptor().getMessageTypes().get(33); + internal_static_google_cloud_dataform_v1beta1_ReadFileRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_ReadFileRequest_descriptor, + new java.lang.String[] { + "Workspace", "Path", + }); + internal_static_google_cloud_dataform_v1beta1_ReadFileResponse_descriptor = + getDescriptor().getMessageTypes().get(34); + internal_static_google_cloud_dataform_v1beta1_ReadFileResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_ReadFileResponse_descriptor, + new java.lang.String[] { + "FileContents", + }); + internal_static_google_cloud_dataform_v1beta1_RemoveFileRequest_descriptor = + getDescriptor().getMessageTypes().get(35); + internal_static_google_cloud_dataform_v1beta1_RemoveFileRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_RemoveFileRequest_descriptor, + new java.lang.String[] { + "Workspace", "Path", + }); + internal_static_google_cloud_dataform_v1beta1_MoveFileRequest_descriptor = + getDescriptor().getMessageTypes().get(36); + internal_static_google_cloud_dataform_v1beta1_MoveFileRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_MoveFileRequest_descriptor, + new java.lang.String[] { + "Workspace", "Path", "NewPath", + }); + internal_static_google_cloud_dataform_v1beta1_MoveFileResponse_descriptor = + getDescriptor().getMessageTypes().get(37); + internal_static_google_cloud_dataform_v1beta1_MoveFileResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_MoveFileResponse_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_dataform_v1beta1_WriteFileRequest_descriptor = + getDescriptor().getMessageTypes().get(38); + internal_static_google_cloud_dataform_v1beta1_WriteFileRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_WriteFileRequest_descriptor, + new java.lang.String[] { + "Workspace", "Path", "Contents", + }); + internal_static_google_cloud_dataform_v1beta1_WriteFileResponse_descriptor = + getDescriptor().getMessageTypes().get(39); + internal_static_google_cloud_dataform_v1beta1_WriteFileResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_WriteFileResponse_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesRequest_descriptor = + getDescriptor().getMessageTypes().get(40); + internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesRequest_descriptor, + new java.lang.String[] { + "Workspace", + }); + internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesResponse_descriptor = + getDescriptor().getMessageTypes().get(41); + internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesResponse_descriptor, + new java.lang.String[] {}); + internal_static_google_cloud_dataform_v1beta1_CompilationResult_descriptor = + getDescriptor().getMessageTypes().get(42); + internal_static_google_cloud_dataform_v1beta1_CompilationResult_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_CompilationResult_descriptor, + new java.lang.String[] { + "Name", + "GitCommitish", + "Workspace", + "CodeCompilationConfig", + "DataformCoreVersion", + "CompilationErrors", + "Source", + }); + internal_static_google_cloud_dataform_v1beta1_CompilationResult_CodeCompilationConfig_descriptor = + internal_static_google_cloud_dataform_v1beta1_CompilationResult_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_dataform_v1beta1_CompilationResult_CodeCompilationConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_CompilationResult_CodeCompilationConfig_descriptor, + new java.lang.String[] { + "DefaultDatabase", + "DefaultSchema", + "DefaultLocation", + "AssertionSchema", + "Vars", + "DatabaseSuffix", + "SchemaSuffix", + "TablePrefix", + }); + internal_static_google_cloud_dataform_v1beta1_CompilationResult_CodeCompilationConfig_VarsEntry_descriptor = + internal_static_google_cloud_dataform_v1beta1_CompilationResult_CodeCompilationConfig_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_dataform_v1beta1_CompilationResult_CodeCompilationConfig_VarsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_CompilationResult_CodeCompilationConfig_VarsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_dataform_v1beta1_CompilationResult_CompilationError_descriptor = + internal_static_google_cloud_dataform_v1beta1_CompilationResult_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_dataform_v1beta1_CompilationResult_CompilationError_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_CompilationResult_CompilationError_descriptor, + new java.lang.String[] { + "Message", "Stack", "Path", "ActionTarget", + }); + internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsRequest_descriptor = + getDescriptor().getMessageTypes().get(43); + internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsResponse_descriptor = + getDescriptor().getMessageTypes().get(44); + internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsResponse_descriptor, + new java.lang.String[] { + "CompilationResults", "NextPageToken", "Unreachable", + }); + internal_static_google_cloud_dataform_v1beta1_GetCompilationResultRequest_descriptor = + getDescriptor().getMessageTypes().get(45); + internal_static_google_cloud_dataform_v1beta1_GetCompilationResultRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_GetCompilationResultRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_dataform_v1beta1_CreateCompilationResultRequest_descriptor = + getDescriptor().getMessageTypes().get(46); + internal_static_google_cloud_dataform_v1beta1_CreateCompilationResultRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_CreateCompilationResultRequest_descriptor, + new java.lang.String[] { + "Parent", "CompilationResult", + }); + internal_static_google_cloud_dataform_v1beta1_Target_descriptor = + getDescriptor().getMessageTypes().get(47); + internal_static_google_cloud_dataform_v1beta1_Target_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_Target_descriptor, + new java.lang.String[] { + "Database", "Schema", "Name", + }); + internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_descriptor = + getDescriptor().getMessageTypes().get(48); + internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_descriptor, + new java.lang.String[] { + "Description", "Columns", "BigqueryLabels", + }); + internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_ColumnDescriptor_descriptor = + internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_ColumnDescriptor_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_ColumnDescriptor_descriptor, + new java.lang.String[] { + "Path", "Description", "BigqueryPolicyTags", + }); + internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_BigqueryLabelsEntry_descriptor = + internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_BigqueryLabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_BigqueryLabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_descriptor = + getDescriptor().getMessageTypes().get(49); + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_descriptor, + new java.lang.String[] { + "Target", + "CanonicalTarget", + "FilePath", + "Relation", + "Operations", + "Assertion", + "Declaration", + "CompiledObject", + }); + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_descriptor = + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_descriptor, + new java.lang.String[] { + "DependencyTargets", + "Disabled", + "Tags", + "RelationDescriptor", + "RelationType", + "SelectQuery", + "PreOperations", + "PostOperations", + "IncrementalTableConfig", + "PartitionExpression", + "ClusterExpressions", + "PartitionExpirationDays", + "RequirePartitionFilter", + "AdditionalOptions", + }); + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_IncrementalTableConfig_descriptor = + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_IncrementalTableConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_IncrementalTableConfig_descriptor, + new java.lang.String[] { + "IncrementalSelectQuery", + "RefreshDisabled", + "UniqueKeyParts", + "UpdatePartitionFilter", + "IncrementalPreOperations", + "IncrementalPostOperations", + }); + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_AdditionalOptionsEntry_descriptor = + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_AdditionalOptionsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Relation_AdditionalOptionsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Operations_descriptor = + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Operations_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Operations_descriptor, + new java.lang.String[] { + "DependencyTargets", "Disabled", "Tags", "RelationDescriptor", "Queries", "HasOutput", + }); + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Assertion_descriptor = + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_descriptor + .getNestedTypes() + .get(2); + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Assertion_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Assertion_descriptor, + new java.lang.String[] { + "DependencyTargets", + "ParentAction", + "Disabled", + "Tags", + "SelectQuery", + "RelationDescriptor", + }); + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Declaration_descriptor = + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_descriptor + .getNestedTypes() + .get(3); + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Declaration_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_CompilationResultAction_Declaration_descriptor, + new java.lang.String[] { + "RelationDescriptor", + }); + internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsRequest_descriptor = + getDescriptor().getMessageTypes().get(50); + internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsRequest_descriptor, + new java.lang.String[] { + "Name", "PageSize", "PageToken", "Filter", + }); + internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsResponse_descriptor = + getDescriptor().getMessageTypes().get(51); + internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsResponse_descriptor, + new java.lang.String[] { + "CompilationResultActions", "NextPageToken", + }); + internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_descriptor = + getDescriptor().getMessageTypes().get(52); + internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_descriptor, + new java.lang.String[] { + "Name", "CompilationResult", "InvocationConfig", "State", "InvocationTiming", + }); + internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_InvocationConfig_descriptor = + internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_InvocationConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_InvocationConfig_descriptor, + new java.lang.String[] { + "IncludedTargets", + "IncludedTags", + "TransitiveDependenciesIncluded", + "TransitiveDependentsIncluded", + "FullyRefreshIncrementalTablesEnabled", + }); + internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsRequest_descriptor = + getDescriptor().getMessageTypes().get(53); + internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsResponse_descriptor = + getDescriptor().getMessageTypes().get(54); + internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsResponse_descriptor, + new java.lang.String[] { + "WorkflowInvocations", "NextPageToken", "Unreachable", + }); + internal_static_google_cloud_dataform_v1beta1_GetWorkflowInvocationRequest_descriptor = + getDescriptor().getMessageTypes().get(55); + internal_static_google_cloud_dataform_v1beta1_GetWorkflowInvocationRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_GetWorkflowInvocationRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_dataform_v1beta1_CreateWorkflowInvocationRequest_descriptor = + getDescriptor().getMessageTypes().get(56); + internal_static_google_cloud_dataform_v1beta1_CreateWorkflowInvocationRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_CreateWorkflowInvocationRequest_descriptor, + new java.lang.String[] { + "Parent", "WorkflowInvocation", + }); + internal_static_google_cloud_dataform_v1beta1_DeleteWorkflowInvocationRequest_descriptor = + getDescriptor().getMessageTypes().get(57); + internal_static_google_cloud_dataform_v1beta1_DeleteWorkflowInvocationRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_DeleteWorkflowInvocationRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_dataform_v1beta1_CancelWorkflowInvocationRequest_descriptor = + getDescriptor().getMessageTypes().get(58); + internal_static_google_cloud_dataform_v1beta1_CancelWorkflowInvocationRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_CancelWorkflowInvocationRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_descriptor = + getDescriptor().getMessageTypes().get(59); + internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_descriptor, + new java.lang.String[] { + "Target", + "CanonicalTarget", + "State", + "FailureReason", + "InvocationTiming", + "BigqueryAction", + }); + internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_BigQueryAction_descriptor = + internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_BigQueryAction_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_BigQueryAction_descriptor, + new java.lang.String[] { + "SqlScript", + }); + internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsRequest_descriptor = + getDescriptor().getMessageTypes().get(60); + internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsRequest_descriptor, + new java.lang.String[] { + "Name", "PageSize", "PageToken", + }); + internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsResponse_descriptor = + getDescriptor().getMessageTypes().get(61); + internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsResponse_descriptor, + new java.lang.String[] { + "WorkflowInvocationActions", "NextPageToken", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceDefinition); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.type.IntervalProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteRepositoryRequest.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteRepositoryRequest.java similarity index 66% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteRepositoryRequest.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteRepositoryRequest.java index 46ed7a2..a857cf1 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteRepositoryRequest.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteRepositoryRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * `DeleteRepository` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.DeleteRepositoryRequest} */ -public final class DeleteRepositoryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.DeleteRepositoryRequest) DeleteRepositoryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteRepositoryRequest.newBuilder() to construct. private DeleteRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteRepositoryRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,24 +70,25 @@ private DeleteRepositoryRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - force_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + case 16: + { + force_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -78,34 +96,41 @@ private DeleteRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_DeleteRepositoryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_DeleteRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_DeleteRepositoryRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_DeleteRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest.class, com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest.Builder.class); + com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest.class, + com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The repository's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -114,29 +139,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The repository's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -147,6 +174,8 @@ public java.lang.String getName() { public static final int FORCE_FIELD_NUMBER = 2; private boolean force_; /** + * + * *
    * If set to true, any child resources of this repository will also be
    * deleted. (Otherwise, the request will only succeed if the repository has no
@@ -154,6 +183,7 @@ public java.lang.String getName() {
    * 
* * bool force = 2; + * * @return The force. */ @java.lang.Override @@ -162,6 +192,7 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -173,8 +204,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -194,8 +224,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, force_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, force_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -205,17 +234,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest other = (com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest) obj; + com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest other = + (com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (getForce() - != other.getForce()) return false; + if (!getName().equals(other.getName())) return false; + if (getForce() != other.getForce()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -230,125 +258,134 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `DeleteRepository` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.DeleteRepositoryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.DeleteRepositoryRequest) com.google.cloud.dataform.v1beta1.DeleteRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_DeleteRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_DeleteRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_DeleteRepositoryRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_DeleteRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest.class, com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest.Builder.class); + com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest.class, + com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest.newBuilder() @@ -356,16 +393,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -377,9 +413,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_DeleteRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_DeleteRepositoryRequest_descriptor; } @java.lang.Override @@ -398,7 +434,8 @@ public com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest build() { @java.lang.Override public com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest buildPartial() { - com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest result = new com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest(this); + com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest result = + new com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest(this); result.name_ = name_; result.force_ = force_; onBuilt(); @@ -409,38 +446,39 @@ public com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest) { - return mergeFrom((com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest) other); } else { super.mergeFrom(other); return this; @@ -448,7 +486,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest other) { - if (other == com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -475,7 +514,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -487,18 +527,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The repository's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -507,20 +551,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The repository's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -528,61 +575,76 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The repository's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The repository's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The repository's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private boolean force_ ; + private boolean force_; /** + * + * *
      * If set to true, any child resources of this repository will also be
      * deleted. (Otherwise, the request will only succeed if the repository has no
@@ -590,6 +652,7 @@ public Builder setNameBytes(
      * 
* * bool force = 2; + * * @return The force. */ @java.lang.Override @@ -597,6 +660,8 @@ public boolean getForce() { return force_; } /** + * + * *
      * If set to true, any child resources of this repository will also be
      * deleted. (Otherwise, the request will only succeed if the repository has no
@@ -604,16 +669,19 @@ public boolean getForce() {
      * 
* * bool force = 2; + * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; onChanged(); return this; } /** + * + * *
      * If set to true, any child resources of this repository will also be
      * deleted. (Otherwise, the request will only succeed if the repository has no
@@ -621,17 +689,18 @@ public Builder setForce(boolean value) {
      * 
* * bool force = 2; + * * @return This builder for chaining. */ public Builder clearForce() { - + force_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -641,12 +710,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.DeleteRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.DeleteRepositoryRequest) private static final com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest(); } @@ -655,16 +724,16 @@ public static com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -679,6 +748,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1beta1.DeleteRepositoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteRepositoryRequestOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteRepositoryRequestOrBuilder.java new file mode 100644 index 0000000..586b433 --- /dev/null +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteRepositoryRequestOrBuilder.java @@ -0,0 +1,69 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface DeleteRepositoryRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.DeleteRepositoryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The repository's name.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The repository's name.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * If set to true, any child resources of this repository will also be
+   * deleted. (Otherwise, the request will only succeed if the repository has no
+   * child resources.)
+   * 
+ * + * bool force = 2; + * + * @return The force. + */ + boolean getForce(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteWorkflowInvocationRequest.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteWorkflowInvocationRequest.java similarity index 60% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteWorkflowInvocationRequest.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteWorkflowInvocationRequest.java index 0b1072d..ba98b66 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteWorkflowInvocationRequest.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteWorkflowInvocationRequest.java @@ -1,40 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * `DeleteWorkflowInvocation` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest} */ -public final class DeleteWorkflowInvocationRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteWorkflowInvocationRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest) DeleteWorkflowInvocationRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteWorkflowInvocationRequest.newBuilder() to construct. - private DeleteWorkflowInvocationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteWorkflowInvocationRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteWorkflowInvocationRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteWorkflowInvocationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteWorkflowInvocationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +71,20 @@ private DeleteWorkflowInvocationRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +92,41 @@ private DeleteWorkflowInvocationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_DeleteWorkflowInvocationRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_DeleteWorkflowInvocationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_DeleteWorkflowInvocationRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_DeleteWorkflowInvocationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest.class, com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest.Builder.class); + com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest.class, + com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The workflow invocation resource's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -109,29 +135,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The workflow invocation resource's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +168,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +180,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +204,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest other = (com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest) obj; + com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest other = + (com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,134 +232,145 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `DeleteWorkflowInvocation` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest) com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_DeleteWorkflowInvocationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_DeleteWorkflowInvocationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_DeleteWorkflowInvocationRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_DeleteWorkflowInvocationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest.class, com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest.Builder.class); + com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest.class, + com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest.Builder.class); } - // Construct using com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest.newBuilder() + // Construct using + // com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +380,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_DeleteWorkflowInvocationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_DeleteWorkflowInvocationRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest getDefaultInstanceForType() { + public com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest + getDefaultInstanceForType() { return com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest.getDefaultInstance(); } @@ -362,7 +402,8 @@ public com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest build() @java.lang.Override public com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest buildPartial() { - com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest result = new com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest(this); + com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest result = + new com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,46 +413,50 @@ public com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest) { - return mergeFrom((com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest other) { - if (other == com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest other) { + if (other + == com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +480,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +494,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The workflow invocation resource's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -467,20 +518,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The workflow invocation resource's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -488,61 +542,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The workflow invocation resource's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The workflow invocation resource's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The workflow invocation resource's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,30 +619,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest) - private static final com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest(); } - public static com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest getDefaultInstance() { + public static com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteWorkflowInvocationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteWorkflowInvocationRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteWorkflowInvocationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteWorkflowInvocationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +656,8 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest getDefaultInstanceForType() { + public com.google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteWorkflowInvocationRequestOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteWorkflowInvocationRequestOrBuilder.java new file mode 100644 index 0000000..3b7c48a --- /dev/null +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteWorkflowInvocationRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface DeleteWorkflowInvocationRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.DeleteWorkflowInvocationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The workflow invocation resource's name.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The workflow invocation resource's name.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteWorkspaceRequest.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteWorkspaceRequest.java similarity index 64% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteWorkspaceRequest.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteWorkspaceRequest.java index 80a75fe..b4dfecd 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteWorkspaceRequest.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteWorkspaceRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * `DeleteWorkspace` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.DeleteWorkspaceRequest} */ -public final class DeleteWorkspaceRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteWorkspaceRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.DeleteWorkspaceRequest) DeleteWorkspaceRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteWorkspaceRequest.newBuilder() to construct. private DeleteWorkspaceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteWorkspaceRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteWorkspaceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteWorkspaceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeleteWorkspaceRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private DeleteWorkspaceRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_DeleteWorkspaceRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_DeleteWorkspaceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_DeleteWorkspaceRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_DeleteWorkspaceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest.class, com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest.Builder.class); + com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest.class, + com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The workspace resource's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -109,29 +134,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The workspace resource's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest other = (com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest) obj; + com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest other = + (com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `DeleteWorkspace` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.DeleteWorkspaceRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.DeleteWorkspaceRequest) com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_DeleteWorkspaceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_DeleteWorkspaceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_DeleteWorkspaceRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_DeleteWorkspaceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest.class, com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest.Builder.class); + com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest.class, + com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest.newBuilder() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +377,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_DeleteWorkspaceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_DeleteWorkspaceRequest_descriptor; } @java.lang.Override @@ -362,7 +398,8 @@ public com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest build() { @java.lang.Override public com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest buildPartial() { - com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest result = new com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest(this); + com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest result = + new com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +409,39 @@ public com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest) { - return mergeFrom((com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +449,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest other) { - if (other == com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +474,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +487,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The workspace resource's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -467,20 +511,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The workspace resource's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -488,61 +535,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The workspace resource's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The workspace resource's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The workspace resource's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +612,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.DeleteWorkspaceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.DeleteWorkspaceRequest) private static final com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest(); } @@ -566,16 +626,16 @@ public static com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteWorkspaceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteWorkspaceRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteWorkspaceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteWorkspaceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +650,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1beta1.DeleteWorkspaceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteWorkspaceRequestOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteWorkspaceRequestOrBuilder.java new file mode 100644 index 0000000..d073616 --- /dev/null +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/DeleteWorkspaceRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface DeleteWorkspaceRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.DeleteWorkspaceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The workspace resource's name.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The workspace resource's name.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileDiffRequest.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileDiffRequest.java similarity index 66% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileDiffRequest.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileDiffRequest.java index 598d564..bb3d9bc 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileDiffRequest.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileDiffRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * `FetchFileDiff` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.FetchFileDiffRequest} */ -public final class FetchFileDiffRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class FetchFileDiffRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.FetchFileDiffRequest) FetchFileDiffRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FetchFileDiffRequest.newBuilder() to construct. private FetchFileDiffRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private FetchFileDiffRequest() { workspace_ = ""; path_ = ""; @@ -26,16 +44,15 @@ private FetchFileDiffRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FetchFileDiffRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private FetchFileDiffRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private FetchFileDiffRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - workspace_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + workspace_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - path_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + path_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +99,41 @@ private FetchFileDiffRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchFileDiffRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_FetchFileDiffRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchFileDiffRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_FetchFileDiffRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.FetchFileDiffRequest.class, com.google.cloud.dataform.v1beta1.FetchFileDiffRequest.Builder.class); + com.google.cloud.dataform.v1beta1.FetchFileDiffRequest.class, + com.google.cloud.dataform.v1beta1.FetchFileDiffRequest.Builder.class); } public static final int WORKSPACE_FIELD_NUMBER = 1; private volatile java.lang.Object workspace_; /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ @java.lang.Override @@ -116,29 +142,31 @@ public java.lang.String getWorkspace() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; } } /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ @java.lang.Override - public com.google.protobuf.ByteString - getWorkspaceBytes() { + public com.google.protobuf.ByteString getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workspace_ = b; return b; } else { @@ -149,11 +177,14 @@ public java.lang.String getWorkspace() { public static final int PATH_FIELD_NUMBER = 2; private volatile java.lang.Object path_; /** + * + * *
    * Required. The file's full path including filename, relative to the workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The path. */ @java.lang.Override @@ -162,29 +193,29 @@ public java.lang.String getPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } } /** + * + * *
    * Required. The file's full path including filename, relative to the workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for path. */ @java.lang.Override - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); path_ = b; return b; } else { @@ -193,6 +224,7 @@ public java.lang.String getPath() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,8 +236,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workspace_); } @@ -235,17 +266,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.FetchFileDiffRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.FetchFileDiffRequest other = (com.google.cloud.dataform.v1beta1.FetchFileDiffRequest) obj; + com.google.cloud.dataform.v1beta1.FetchFileDiffRequest other = + (com.google.cloud.dataform.v1beta1.FetchFileDiffRequest) obj; - if (!getWorkspace() - .equals(other.getWorkspace())) return false; - if (!getPath() - .equals(other.getPath())) return false; + if (!getWorkspace().equals(other.getWorkspace())) return false; + if (!getPath().equals(other.getPath())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -267,117 +297,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.FetchFileDiffRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.FetchFileDiffRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.FetchFileDiffRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.FetchFileDiffRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.FetchFileDiffRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.FetchFileDiffRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.FetchFileDiffRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.FetchFileDiffRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.FetchFileDiffRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.FetchFileDiffRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.FetchFileDiffRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.FetchFileDiffRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.FetchFileDiffRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.FetchFileDiffRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.FetchFileDiffRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.FetchFileDiffRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `FetchFileDiff` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.FetchFileDiffRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.FetchFileDiffRequest) com.google.cloud.dataform.v1beta1.FetchFileDiffRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchFileDiffRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_FetchFileDiffRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchFileDiffRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_FetchFileDiffRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.FetchFileDiffRequest.class, com.google.cloud.dataform.v1beta1.FetchFileDiffRequest.Builder.class); + com.google.cloud.dataform.v1beta1.FetchFileDiffRequest.class, + com.google.cloud.dataform.v1beta1.FetchFileDiffRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1beta1.FetchFileDiffRequest.newBuilder() @@ -385,16 +425,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -406,9 +445,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchFileDiffRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_FetchFileDiffRequest_descriptor; } @java.lang.Override @@ -427,7 +466,8 @@ public com.google.cloud.dataform.v1beta1.FetchFileDiffRequest build() { @java.lang.Override public com.google.cloud.dataform.v1beta1.FetchFileDiffRequest buildPartial() { - com.google.cloud.dataform.v1beta1.FetchFileDiffRequest result = new com.google.cloud.dataform.v1beta1.FetchFileDiffRequest(this); + com.google.cloud.dataform.v1beta1.FetchFileDiffRequest result = + new com.google.cloud.dataform.v1beta1.FetchFileDiffRequest(this); result.workspace_ = workspace_; result.path_ = path_; onBuilt(); @@ -438,38 +478,39 @@ public com.google.cloud.dataform.v1beta1.FetchFileDiffRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.FetchFileDiffRequest) { - return mergeFrom((com.google.cloud.dataform.v1beta1.FetchFileDiffRequest)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.FetchFileDiffRequest) other); } else { super.mergeFrom(other); return this; @@ -477,7 +518,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1beta1.FetchFileDiffRequest other) { - if (other == com.google.cloud.dataform.v1beta1.FetchFileDiffRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1beta1.FetchFileDiffRequest.getDefaultInstance()) + return this; if (!other.getWorkspace().isEmpty()) { workspace_ = other.workspace_; onChanged(); @@ -505,7 +547,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.FetchFileDiffRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.FetchFileDiffRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -517,18 +560,22 @@ public Builder mergeFrom( private java.lang.Object workspace_ = ""; /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ public java.lang.String getWorkspace() { java.lang.Object ref = workspace_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; @@ -537,20 +584,23 @@ public java.lang.String getWorkspace() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ - public com.google.protobuf.ByteString - getWorkspaceBytes() { + public com.google.protobuf.ByteString getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workspace_ = b; return b; } else { @@ -558,54 +608,67 @@ public java.lang.String getWorkspace() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The workspace to set. * @return This builder for chaining. */ - public Builder setWorkspace( - java.lang.String value) { + public Builder setWorkspace(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + workspace_ = value; onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearWorkspace() { - + workspace_ = getDefaultInstance().getWorkspace(); onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for workspace to set. * @return This builder for chaining. */ - public Builder setWorkspaceBytes( - com.google.protobuf.ByteString value) { + public Builder setWorkspaceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workspace_ = value; onChanged(); return this; @@ -613,18 +676,20 @@ public Builder setWorkspaceBytes( private java.lang.Object path_ = ""; /** + * + * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; @@ -633,20 +698,21 @@ public java.lang.String getPath() { } } /** + * + * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for path. */ - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); path_ = b; return b; } else { @@ -654,61 +720,68 @@ public java.lang.String getPath() { } } /** + * + * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath( - java.lang.String value) { + public Builder setPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + path_ = value; onChanged(); return this; } /** + * + * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearPath() { - + path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** + * + * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes( - com.google.protobuf.ByteString value) { + public Builder setPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -718,12 +791,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.FetchFileDiffRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.FetchFileDiffRequest) private static final com.google.cloud.dataform.v1beta1.FetchFileDiffRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.FetchFileDiffRequest(); } @@ -732,16 +805,16 @@ public static com.google.cloud.dataform.v1beta1.FetchFileDiffRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FetchFileDiffRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FetchFileDiffRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FetchFileDiffRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FetchFileDiffRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -756,6 +829,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1beta1.FetchFileDiffRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileDiffRequestOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileDiffRequestOrBuilder.java new file mode 100644 index 0000000..ce8cdcb --- /dev/null +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileDiffRequestOrBuilder.java @@ -0,0 +1,79 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface FetchFileDiffRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.FetchFileDiffRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The workspace's name.
+   * 
+ * + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The workspace. + */ + java.lang.String getWorkspace(); + /** + * + * + *
+   * Required. The workspace's name.
+   * 
+ * + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for workspace. + */ + com.google.protobuf.ByteString getWorkspaceBytes(); + + /** + * + * + *
+   * Required. The file's full path including filename, relative to the workspace root.
+   * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The path. + */ + java.lang.String getPath(); + /** + * + * + *
+   * Required. The file's full path including filename, relative to the workspace root.
+   * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for path. + */ + com.google.protobuf.ByteString getPathBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileDiffResponse.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileDiffResponse.java similarity index 68% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileDiffResponse.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileDiffResponse.java index a924d88..3930b0b 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileDiffResponse.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileDiffResponse.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * `FetchFileDiff` response message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.FetchFileDiffResponse} */ -public final class FetchFileDiffResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class FetchFileDiffResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.FetchFileDiffResponse) FetchFileDiffResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FetchFileDiffResponse.newBuilder() to construct. private FetchFileDiffResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private FetchFileDiffResponse() { formattedDiff_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FetchFileDiffResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private FetchFileDiffResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private FetchFileDiffResponse( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - formattedDiff_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + formattedDiff_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private FetchFileDiffResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchFileDiffResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_FetchFileDiffResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchFileDiffResponse_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_FetchFileDiffResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.FetchFileDiffResponse.class, com.google.cloud.dataform.v1beta1.FetchFileDiffResponse.Builder.class); + com.google.cloud.dataform.v1beta1.FetchFileDiffResponse.class, + com.google.cloud.dataform.v1beta1.FetchFileDiffResponse.Builder.class); } public static final int FORMATTED_DIFF_FIELD_NUMBER = 1; private volatile java.lang.Object formattedDiff_; /** + * + * *
    * The raw formatted Git diff for the file.
    * 
* * string formatted_diff = 1; + * * @return The formattedDiff. */ @java.lang.Override @@ -109,29 +132,29 @@ public java.lang.String getFormattedDiff() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); formattedDiff_ = s; return s; } } /** + * + * *
    * The raw formatted Git diff for the file.
    * 
* * string formatted_diff = 1; + * * @return The bytes for formattedDiff. */ @java.lang.Override - public com.google.protobuf.ByteString - getFormattedDiffBytes() { + public com.google.protobuf.ByteString getFormattedDiffBytes() { java.lang.Object ref = formattedDiff_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); formattedDiff_ = b; return b; } else { @@ -140,6 +163,7 @@ public java.lang.String getFormattedDiff() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(formattedDiff_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, formattedDiff_); } @@ -176,15 +199,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.FetchFileDiffResponse)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.FetchFileDiffResponse other = (com.google.cloud.dataform.v1beta1.FetchFileDiffResponse) obj; + com.google.cloud.dataform.v1beta1.FetchFileDiffResponse other = + (com.google.cloud.dataform.v1beta1.FetchFileDiffResponse) obj; - if (!getFormattedDiff() - .equals(other.getFormattedDiff())) return false; + if (!getFormattedDiff().equals(other.getFormattedDiff())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +227,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.FetchFileDiffResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.FetchFileDiffResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.FetchFileDiffResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.FetchFileDiffResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.FetchFileDiffResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.FetchFileDiffResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.FetchFileDiffResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.FetchFileDiffResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.FetchFileDiffResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.FetchFileDiffResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.FetchFileDiffResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.FetchFileDiffResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.FetchFileDiffResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.FetchFileDiffResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.FetchFileDiffResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.FetchFileDiffResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `FetchFileDiff` response message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.FetchFileDiffResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.FetchFileDiffResponse) com.google.cloud.dataform.v1beta1.FetchFileDiffResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchFileDiffResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_FetchFileDiffResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchFileDiffResponse_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_FetchFileDiffResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.FetchFileDiffResponse.class, com.google.cloud.dataform.v1beta1.FetchFileDiffResponse.Builder.class); + com.google.cloud.dataform.v1beta1.FetchFileDiffResponse.class, + com.google.cloud.dataform.v1beta1.FetchFileDiffResponse.Builder.class); } // Construct using com.google.cloud.dataform.v1beta1.FetchFileDiffResponse.newBuilder() @@ -322,16 +355,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +373,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchFileDiffResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_FetchFileDiffResponse_descriptor; } @java.lang.Override @@ -362,7 +394,8 @@ public com.google.cloud.dataform.v1beta1.FetchFileDiffResponse build() { @java.lang.Override public com.google.cloud.dataform.v1beta1.FetchFileDiffResponse buildPartial() { - com.google.cloud.dataform.v1beta1.FetchFileDiffResponse result = new com.google.cloud.dataform.v1beta1.FetchFileDiffResponse(this); + com.google.cloud.dataform.v1beta1.FetchFileDiffResponse result = + new com.google.cloud.dataform.v1beta1.FetchFileDiffResponse(this); result.formattedDiff_ = formattedDiff_; onBuilt(); return result; @@ -372,38 +405,39 @@ public com.google.cloud.dataform.v1beta1.FetchFileDiffResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.FetchFileDiffResponse) { - return mergeFrom((com.google.cloud.dataform.v1beta1.FetchFileDiffResponse)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.FetchFileDiffResponse) other); } else { super.mergeFrom(other); return this; @@ -411,7 +445,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1beta1.FetchFileDiffResponse other) { - if (other == com.google.cloud.dataform.v1beta1.FetchFileDiffResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1beta1.FetchFileDiffResponse.getDefaultInstance()) + return this; if (!other.getFormattedDiff().isEmpty()) { formattedDiff_ = other.formattedDiff_; onChanged(); @@ -435,7 +470,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.FetchFileDiffResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.FetchFileDiffResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +483,20 @@ public Builder mergeFrom( private java.lang.Object formattedDiff_ = ""; /** + * + * *
      * The raw formatted Git diff for the file.
      * 
* * string formatted_diff = 1; + * * @return The formattedDiff. */ public java.lang.String getFormattedDiff() { java.lang.Object ref = formattedDiff_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); formattedDiff_ = s; return s; @@ -467,20 +505,21 @@ public java.lang.String getFormattedDiff() { } } /** + * + * *
      * The raw formatted Git diff for the file.
      * 
* * string formatted_diff = 1; + * * @return The bytes for formattedDiff. */ - public com.google.protobuf.ByteString - getFormattedDiffBytes() { + public com.google.protobuf.ByteString getFormattedDiffBytes() { java.lang.Object ref = formattedDiff_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); formattedDiff_ = b; return b; } else { @@ -488,61 +527,68 @@ public java.lang.String getFormattedDiff() { } } /** + * + * *
      * The raw formatted Git diff for the file.
      * 
* * string formatted_diff = 1; + * * @param value The formattedDiff to set. * @return This builder for chaining. */ - public Builder setFormattedDiff( - java.lang.String value) { + public Builder setFormattedDiff(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + formattedDiff_ = value; onChanged(); return this; } /** + * + * *
      * The raw formatted Git diff for the file.
      * 
* * string formatted_diff = 1; + * * @return This builder for chaining. */ public Builder clearFormattedDiff() { - + formattedDiff_ = getDefaultInstance().getFormattedDiff(); onChanged(); return this; } /** + * + * *
      * The raw formatted Git diff for the file.
      * 
* * string formatted_diff = 1; + * * @param value The bytes for formattedDiff to set. * @return This builder for chaining. */ - public Builder setFormattedDiffBytes( - com.google.protobuf.ByteString value) { + public Builder setFormattedDiffBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + formattedDiff_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +598,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.FetchFileDiffResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.FetchFileDiffResponse) private static final com.google.cloud.dataform.v1beta1.FetchFileDiffResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.FetchFileDiffResponse(); } @@ -566,16 +612,16 @@ public static com.google.cloud.dataform.v1beta1.FetchFileDiffResponse getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FetchFileDiffResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FetchFileDiffResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FetchFileDiffResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FetchFileDiffResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +636,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1beta1.FetchFileDiffResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileDiffResponseOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileDiffResponseOrBuilder.java new file mode 100644 index 0000000..614a9d4 --- /dev/null +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileDiffResponseOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface FetchFileDiffResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.FetchFileDiffResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The raw formatted Git diff for the file.
+   * 
+ * + * string formatted_diff = 1; + * + * @return The formattedDiff. + */ + java.lang.String getFormattedDiff(); + /** + * + * + *
+   * The raw formatted Git diff for the file.
+   * 
+ * + * string formatted_diff = 1; + * + * @return The bytes for formattedDiff. + */ + com.google.protobuf.ByteString getFormattedDiffBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileGitStatusesRequest.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileGitStatusesRequest.java similarity index 63% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileGitStatusesRequest.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileGitStatusesRequest.java index 715fcd8..33ce109 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileGitStatusesRequest.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileGitStatusesRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * `FetchFileGitStatuses` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest} */ -public final class FetchFileGitStatusesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class FetchFileGitStatusesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest) FetchFileGitStatusesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FetchFileGitStatusesRequest.newBuilder() to construct. private FetchFileGitStatusesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private FetchFileGitStatusesRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FetchFileGitStatusesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private FetchFileGitStatusesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private FetchFileGitStatusesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private FetchFileGitStatusesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest.class, com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest.Builder.class); + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest.class, + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The workspace's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -109,29 +134,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The workspace's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest other = (com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest) obj; + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest other = + (com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `FetchFileGitStatuses` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest) com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest.class, com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest.Builder.class); + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest.class, + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest.newBuilder() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +377,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest getDefaultInstanceForType() { + public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest + getDefaultInstanceForType() { return com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest.getDefaultInstance(); } @@ -362,7 +399,8 @@ public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest build() { @java.lang.Override public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest buildPartial() { - com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest result = new com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest(this); + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest result = + new com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +410,39 @@ public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest) { - return mergeFrom((com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +450,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest other) { - if (other == com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +476,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +490,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -467,20 +514,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -488,61 +538,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +615,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest) - private static final com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest(); } @@ -566,16 +630,16 @@ public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FetchFileGitStatusesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FetchFileGitStatusesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FetchFileGitStatusesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FetchFileGitStatusesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +654,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileGitStatusesRequestOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileGitStatusesRequestOrBuilder.java new file mode 100644 index 0000000..123a882 --- /dev/null +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileGitStatusesRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface FetchFileGitStatusesRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.FetchFileGitStatusesRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The workspace's name.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The workspace's name.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileGitStatusesResponse.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileGitStatusesResponse.java similarity index 59% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileGitStatusesResponse.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileGitStatusesResponse.java index ef71978..efa184e 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileGitStatusesResponse.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileGitStatusesResponse.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * `FetchFileGitStatuses` response message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse} */ -public final class FetchFileGitStatusesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class FetchFileGitStatusesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse) FetchFileGitStatusesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FetchFileGitStatusesResponse.newBuilder() to construct. private FetchFileGitStatusesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private FetchFileGitStatusesResponse() { uncommittedFileChanges_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FetchFileGitStatusesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private FetchFileGitStatusesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,22 +71,29 @@ private FetchFileGitStatusesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - uncommittedFileChanges_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + uncommittedFileChanges_ = + new java.util.ArrayList< + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse + .UncommittedFileChange>(); + mutable_bitField0_ |= 0x00000001; + } + uncommittedFileChanges_.add( + input.readMessage( + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse + .UncommittedFileChange.parser(), + extensionRegistry)); + break; } - uncommittedFileChanges_.add( - input.readMessage(com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -77,8 +101,7 @@ private FetchFileGitStatusesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { uncommittedFileChanges_ = java.util.Collections.unmodifiableList(uncommittedFileChanges_); @@ -87,78 +110,102 @@ private FetchFileGitStatusesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.class, com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.Builder.class); + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.class, + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.Builder.class); } - public interface UncommittedFileChangeOrBuilder extends + public interface UncommittedFileChangeOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The file's full path including filename, relative to the workspace root.
      * 
* * string path = 1; + * * @return The path. */ java.lang.String getPath(); /** + * + * *
      * The file's full path including filename, relative to the workspace root.
      * 
* * string path = 1; + * * @return The bytes for path. */ - com.google.protobuf.ByteString - getPathBytes(); + com.google.protobuf.ByteString getPathBytes(); /** + * + * *
      * Indicates the status of the file.
      * 
* - * .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; + * + * .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
      * Indicates the status of the file.
      * 
* - * .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; + * + * .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; + * + * * @return The state. */ - com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State getState(); + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State + getState(); } /** + * + * *
    * Represents the Git state of a file with uncommitted changes.
    * 
* - * Protobuf type {@code google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange} + * Protobuf type {@code + * google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange} */ - public static final class UncommittedFileChange extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class UncommittedFileChange extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange) UncommittedFileChangeOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UncommittedFileChange.newBuilder() to construct. private UncommittedFileChange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private UncommittedFileChange() { path_ = ""; state_ = 0; @@ -166,16 +213,15 @@ private UncommittedFileChange() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UncommittedFileChange(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UncommittedFileChange( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -194,25 +240,27 @@ private UncommittedFileChange( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - path_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + path_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - state_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + state_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -220,36 +268,44 @@ private UncommittedFileChange( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_UncommittedFileChange_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_UncommittedFileChange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_UncommittedFileChange_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_UncommittedFileChange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.class, com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.Builder.class); + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange + .class, + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange + .Builder.class); } /** + * + * *
      * Indicates the status of an uncommitted file change.
      * 
* - * Protobuf enum {@code google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State} + * Protobuf enum {@code + * google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Default value. This value is unused.
        * 
@@ -258,6 +314,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
        * The file has been newly added.
        * 
@@ -266,6 +324,8 @@ public enum State */ ADDED(1), /** + * + * *
        * The file has been deleted.
        * 
@@ -274,6 +334,8 @@ public enum State */ DELETED(2), /** + * + * *
        * The file has been modified.
        * 
@@ -282,6 +344,8 @@ public enum State */ MODIFIED(3), /** + * + * *
        * The file contains merge conflicts.
        * 
@@ -293,6 +357,8 @@ public enum State ; /** + * + * *
        * Default value. This value is unused.
        * 
@@ -301,6 +367,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * The file has been newly added.
        * 
@@ -309,6 +377,8 @@ public enum State */ public static final int ADDED_VALUE = 1; /** + * + * *
        * The file has been deleted.
        * 
@@ -317,6 +387,8 @@ public enum State */ public static final int DELETED_VALUE = 2; /** + * + * *
        * The file has been modified.
        * 
@@ -325,6 +397,8 @@ public enum State */ public static final int MODIFIED_VALUE = 3; /** + * + * *
        * The file contains merge conflicts.
        * 
@@ -333,7 +407,6 @@ public enum State */ public static final int HAS_CONFLICTS_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -358,51 +431,56 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: return STATE_UNSPECIFIED; - case 1: return ADDED; - case 2: return DELETED; - case 3: return MODIFIED; - case 4: return HAS_CONFLICTS; - default: return null; + case 0: + return STATE_UNSPECIFIED; + case 1: + return ADDED; + case 2: + return DELETED; + case 3: + return MODIFIED; + case 4: + return HAS_CONFLICTS; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - State> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange + .getDescriptor() + .getEnumTypes() + .get(0); } private static final State[] VALUES = values(); - public static State valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -422,11 +500,14 @@ private State(int value) { public static final int PATH_FIELD_NUMBER = 1; private volatile java.lang.Object path_; /** + * + * *
      * The file's full path including filename, relative to the workspace root.
      * 
* * string path = 1; + * * @return The path. */ @java.lang.Override @@ -435,29 +516,29 @@ public java.lang.String getPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } } /** + * + * *
      * The file's full path including filename, relative to the workspace root.
      * 
* * string path = 1; + * * @return The bytes for path. */ @java.lang.Override - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); path_ = b; return b; } else { @@ -468,31 +549,52 @@ public java.lang.String getPath() { public static final int STATE_FIELD_NUMBER = 2; private int state_; /** + * + * *
      * Indicates the status of the file.
      * 
* - * .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; + * + * .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Indicates the status of the file.
      * 
* - * .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; + * + * .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State getState() { + @java.lang.Override + public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange + .State + getState() { @SuppressWarnings("deprecation") - com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State result = com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State.valueOf(state_); - return result == null ? com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State.UNRECOGNIZED : result; + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State + result = + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange + .State.valueOf(state_); + return result == null + ? com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange + .State.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -504,12 +606,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, path_); } - if (state_ != com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State.STATE_UNSPECIFIED.getNumber()) { + if (state_ + != com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange + .State.STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, state_); } unknownFields.writeTo(output); @@ -524,9 +628,11 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, path_); } - if (state_ != com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, state_); + if (state_ + != com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange + .State.STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, state_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -536,15 +642,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange)) { + if (!(obj + instanceof + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange other = (com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange) obj; + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange other = + (com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange) + obj; - if (!getPath() - .equals(other.getPath())) return false; + if (!getPath().equals(other.getPath())) return false; if (state_ != other.state_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -566,88 +675,114 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse + .UncommittedFileChange + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse + .UncommittedFileChange + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse + .UncommittedFileChange + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse + .UncommittedFileChange + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse + .UncommittedFileChange + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse + .UncommittedFileChange + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse + .UncommittedFileChange + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse + .UncommittedFileChange + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse + .UncommittedFileChange + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse + .UncommittedFileChange + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse + .UncommittedFileChange + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse + .UncommittedFileChange + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -657,44 +792,53 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Represents the Git state of a file with uncommitted changes.
      * 
* - * Protobuf type {@code google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange} + * Protobuf type {@code + * google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange) - com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_UncommittedFileChange_descriptor; + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse + .UncommittedFileChangeOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_UncommittedFileChange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_UncommittedFileChange_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_UncommittedFileChange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.class, com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.Builder.class); + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange + .class, + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange + .Builder.class); } - // Construct using com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.newBuilder() + // Construct using + // com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -706,19 +850,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_UncommittedFileChange_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_UncommittedFileChange_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange getDefaultInstanceForType() { - return com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.getDefaultInstance(); + public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange + getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange build() { - com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange result = buildPartial(); + public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange + build() { + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -726,8 +874,12 @@ public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.Uncommitte } @java.lang.Override - public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange buildPartial() { - com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange result = new com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange(this); + public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange + buildPartial() { + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange + result = + new com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse + .UncommittedFileChange(this); result.path_ = path_; result.state_ = state_; onBuilt(); @@ -738,46 +890,57 @@ public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.Uncommitte public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange) { - return mergeFrom((com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange)other); + if (other + instanceof + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange) { + return mergeFrom( + (com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange other) { - if (other == com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange + other) { + if (other + == com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange + .getDefaultInstance()) return this; if (!other.getPath().isEmpty()) { path_ = other.path_; onChanged(); @@ -800,11 +963,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange parsedMessage = null; + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -816,18 +982,20 @@ public Builder mergeFrom( private java.lang.Object path_ = ""; /** + * + * *
        * The file's full path including filename, relative to the workspace root.
        * 
* * string path = 1; + * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; @@ -836,20 +1004,21 @@ public java.lang.String getPath() { } } /** + * + * *
        * The file's full path including filename, relative to the workspace root.
        * 
* * string path = 1; + * * @return The bytes for path. */ - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); path_ = b; return b; } else { @@ -857,54 +1026,61 @@ public java.lang.String getPath() { } } /** + * + * *
        * The file's full path including filename, relative to the workspace root.
        * 
* * string path = 1; + * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath( - java.lang.String value) { + public Builder setPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + path_ = value; onChanged(); return this; } /** + * + * *
        * The file's full path including filename, relative to the workspace root.
        * 
* * string path = 1; + * * @return This builder for chaining. */ public Builder clearPath() { - + path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** + * + * *
        * The file's full path including filename, relative to the workspace root.
        * 
* * string path = 1; + * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes( - com.google.protobuf.ByteString value) { + public Builder setPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; onChanged(); return this; @@ -912,77 +1088,114 @@ public Builder setPathBytes( private int state_ = 0; /** + * + * *
        * Indicates the status of the file.
        * 
* - * .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; + * + * .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
        * Indicates the status of the file.
        * 
* - * .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; + * + * .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
        * Indicates the status of the file.
        * 
* - * .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; + * + * .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; + * + * * @return The state. */ @java.lang.Override - public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State getState() { + public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange + .State + getState() { @SuppressWarnings("deprecation") - com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State result = com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State.valueOf(state_); - return result == null ? com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State.UNRECOGNIZED : result; + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State + result = + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange + .State.valueOf(state_); + return result == null + ? com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange + .State.UNRECOGNIZED + : result; } /** + * + * *
        * Indicates the status of the file.
        * 
* - * .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; + * + * .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; + * + * * @param value The state to set. * @return This builder for chaining. */ - public Builder setState(com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State value) { + public Builder setState( + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State + value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Indicates the status of the file.
        * 
* - * .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; + * + * .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.State state = 2; + * + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -995,30 +1208,36 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange) - private static final com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse + .UncommittedFileChange + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange(); + DEFAULT_INSTANCE = + new com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse + .UncommittedFileChange(); } - public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange getDefaultInstance() { + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse + .UncommittedFileChange + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UncommittedFileChange parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UncommittedFileChange(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UncommittedFileChange parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UncommittedFileChange(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1030,78 +1249,108 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange getDefaultInstanceForType() { + public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int UNCOMMITTED_FILE_CHANGES_FIELD_NUMBER = 1; - private java.util.List uncommittedFileChanges_; + private java.util.List< + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange> + uncommittedFileChanges_; /** + * + * *
    * A list of all files which have uncommitted Git changes. There will only be
    * a single entry for any given file.
    * 
* - * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * */ @java.lang.Override - public java.util.List getUncommittedFileChangesList() { + public java.util.List< + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange> + getUncommittedFileChangesList() { return uncommittedFileChanges_; } /** + * + * *
    * A list of all files which have uncommitted Git changes. There will only be
    * a single entry for any given file.
    * 
* - * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse + .UncommittedFileChangeOrBuilder> getUncommittedFileChangesOrBuilderList() { return uncommittedFileChanges_; } /** + * + * *
    * A list of all files which have uncommitted Git changes. There will only be
    * a single entry for any given file.
    * 
* - * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * */ @java.lang.Override public int getUncommittedFileChangesCount() { return uncommittedFileChanges_.size(); } /** + * + * *
    * A list of all files which have uncommitted Git changes. There will only be
    * a single entry for any given file.
    * 
* - * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * */ @java.lang.Override - public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange getUncommittedFileChanges(int index) { + public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange + getUncommittedFileChanges(int index) { return uncommittedFileChanges_.get(index); } /** + * + * *
    * A list of all files which have uncommitted Git changes. There will only be
    * a single entry for any given file.
    * 
* - * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * */ @java.lang.Override - public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChangeOrBuilder getUncommittedFileChangesOrBuilder( - int index) { + public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse + .UncommittedFileChangeOrBuilder + getUncommittedFileChangesOrBuilder(int index) { return uncommittedFileChanges_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1113,8 +1362,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < uncommittedFileChanges_.size(); i++) { output.writeMessage(1, uncommittedFileChanges_.get(i)); } @@ -1128,8 +1376,9 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < uncommittedFileChanges_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, uncommittedFileChanges_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, uncommittedFileChanges_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1139,15 +1388,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse other = (com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse) obj; + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse other = + (com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse) obj; - if (!getUncommittedFileChangesList() - .equals(other.getUncommittedFileChangesList())) return false; + if (!getUncommittedFileChangesList().equals(other.getUncommittedFileChangesList())) + return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1169,117 +1419,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `FetchFileGitStatuses` response message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse) com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.class, com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.Builder.class); + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.class, + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.Builder.class); } // Construct using com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.newBuilder() @@ -1287,17 +1547,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getUncommittedFileChangesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -1311,13 +1571,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_FetchFileGitStatusesResponse_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse getDefaultInstanceForType() { + public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse + getDefaultInstanceForType() { return com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.getDefaultInstance(); } @@ -1332,7 +1593,8 @@ public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse build() { @java.lang.Override public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse buildPartial() { - com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse result = new com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse(this); + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse result = + new com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse(this); int from_bitField0_ = bitField0_; if (uncommittedFileChangesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -1351,38 +1613,39 @@ public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse buildParti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse) { - return mergeFrom((com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse) other); } else { super.mergeFrom(other); return this; @@ -1390,7 +1653,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse other) { - if (other == com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.getDefaultInstance()) return this; + if (other + == com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.getDefaultInstance()) + return this; if (uncommittedFileChangesBuilder_ == null) { if (!other.uncommittedFileChanges_.isEmpty()) { if (uncommittedFileChanges_.isEmpty()) { @@ -1409,9 +1674,10 @@ public Builder mergeFrom(com.google.cloud.dataform.v1beta1.FetchFileGitStatusesR uncommittedFileChangesBuilder_ = null; uncommittedFileChanges_ = other.uncommittedFileChanges_; bitField0_ = (bitField0_ & ~0x00000001); - uncommittedFileChangesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getUncommittedFileChangesFieldBuilder() : null; + uncommittedFileChangesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getUncommittedFileChangesFieldBuilder() + : null; } else { uncommittedFileChangesBuilder_.addAllMessages(other.uncommittedFileChanges_); } @@ -1436,7 +1702,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1445,29 +1713,46 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private java.util.List uncommittedFileChanges_ = - java.util.Collections.emptyList(); + private java.util.List< + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange> + uncommittedFileChanges_ = java.util.Collections.emptyList(); + private void ensureUncommittedFileChangesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - uncommittedFileChanges_ = new java.util.ArrayList(uncommittedFileChanges_); + uncommittedFileChanges_ = + new java.util.ArrayList< + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse + .UncommittedFileChange>(uncommittedFileChanges_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange, com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.Builder, com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChangeOrBuilder> uncommittedFileChangesBuilder_; + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange, + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange + .Builder, + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse + .UncommittedFileChangeOrBuilder> + uncommittedFileChangesBuilder_; /** + * + * *
      * A list of all files which have uncommitted Git changes. There will only be
      * a single entry for any given file.
      * 
* - * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * */ - public java.util.List getUncommittedFileChangesList() { + public java.util.List< + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange> + getUncommittedFileChangesList() { if (uncommittedFileChangesBuilder_ == null) { return java.util.Collections.unmodifiableList(uncommittedFileChanges_); } else { @@ -1475,12 +1760,16 @@ public java.util.List * A list of all files which have uncommitted Git changes. There will only be * a single entry for any given file. *
* - * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * */ public int getUncommittedFileChangesCount() { if (uncommittedFileChangesBuilder_ == null) { @@ -1490,14 +1779,19 @@ public int getUncommittedFileChangesCount() { } } /** + * + * *
      * A list of all files which have uncommitted Git changes. There will only be
      * a single entry for any given file.
      * 
* - * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * */ - public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange getUncommittedFileChanges(int index) { + public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange + getUncommittedFileChanges(int index) { if (uncommittedFileChangesBuilder_ == null) { return uncommittedFileChanges_.get(index); } else { @@ -1505,15 +1799,21 @@ public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.Uncommitte } } /** + * + * *
      * A list of all files which have uncommitted Git changes. There will only be
      * a single entry for any given file.
      * 
* - * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * */ public Builder setUncommittedFileChanges( - int index, com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange value) { + int index, + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange + value) { if (uncommittedFileChangesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1527,15 +1827,21 @@ public Builder setUncommittedFileChanges( return this; } /** + * + * *
      * A list of all files which have uncommitted Git changes. There will only be
      * a single entry for any given file.
      * 
* - * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * */ public Builder setUncommittedFileChanges( - int index, com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.Builder builderForValue) { + int index, + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.Builder + builderForValue) { if (uncommittedFileChangesBuilder_ == null) { ensureUncommittedFileChangesIsMutable(); uncommittedFileChanges_.set(index, builderForValue.build()); @@ -1546,14 +1852,20 @@ public Builder setUncommittedFileChanges( return this; } /** + * + * *
      * A list of all files which have uncommitted Git changes. There will only be
      * a single entry for any given file.
      * 
* - * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * */ - public Builder addUncommittedFileChanges(com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange value) { + public Builder addUncommittedFileChanges( + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange + value) { if (uncommittedFileChangesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1567,15 +1879,21 @@ public Builder addUncommittedFileChanges(com.google.cloud.dataform.v1beta1.Fetch return this; } /** + * + * *
      * A list of all files which have uncommitted Git changes. There will only be
      * a single entry for any given file.
      * 
* - * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * */ public Builder addUncommittedFileChanges( - int index, com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange value) { + int index, + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange + value) { if (uncommittedFileChangesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1589,15 +1907,20 @@ public Builder addUncommittedFileChanges( return this; } /** + * + * *
      * A list of all files which have uncommitted Git changes. There will only be
      * a single entry for any given file.
      * 
* - * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * */ public Builder addUncommittedFileChanges( - com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.Builder builderForValue) { + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.Builder + builderForValue) { if (uncommittedFileChangesBuilder_ == null) { ensureUncommittedFileChangesIsMutable(); uncommittedFileChanges_.add(builderForValue.build()); @@ -1608,15 +1931,21 @@ public Builder addUncommittedFileChanges( return this; } /** + * + * *
      * A list of all files which have uncommitted Git changes. There will only be
      * a single entry for any given file.
      * 
* - * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * */ public Builder addUncommittedFileChanges( - int index, com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.Builder builderForValue) { + int index, + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.Builder + builderForValue) { if (uncommittedFileChangesBuilder_ == null) { ensureUncommittedFileChangesIsMutable(); uncommittedFileChanges_.add(index, builderForValue.build()); @@ -1627,19 +1956,26 @@ public Builder addUncommittedFileChanges( return this; } /** + * + * *
      * A list of all files which have uncommitted Git changes. There will only be
      * a single entry for any given file.
      * 
* - * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * */ public Builder addAllUncommittedFileChanges( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse + .UncommittedFileChange> + values) { if (uncommittedFileChangesBuilder_ == null) { ensureUncommittedFileChangesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, uncommittedFileChanges_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uncommittedFileChanges_); onChanged(); } else { uncommittedFileChangesBuilder_.addAllMessages(values); @@ -1647,12 +1983,16 @@ public Builder addAllUncommittedFileChanges( return this; } /** + * + * *
      * A list of all files which have uncommitted Git changes. There will only be
      * a single entry for any given file.
      * 
* - * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * */ public Builder clearUncommittedFileChanges() { if (uncommittedFileChangesBuilder_ == null) { @@ -1665,12 +2005,16 @@ public Builder clearUncommittedFileChanges() { return this; } /** + * + * *
      * A list of all files which have uncommitted Git changes. There will only be
      * a single entry for any given file.
      * 
* - * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * */ public Builder removeUncommittedFileChanges(int index) { if (uncommittedFileChangesBuilder_ == null) { @@ -1683,42 +2027,60 @@ public Builder removeUncommittedFileChanges(int index) { return this; } /** + * + * *
      * A list of all files which have uncommitted Git changes. There will only be
      * a single entry for any given file.
      * 
* - * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * */ - public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.Builder getUncommittedFileChangesBuilder( - int index) { + public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange + .Builder + getUncommittedFileChangesBuilder(int index) { return getUncommittedFileChangesFieldBuilder().getBuilder(index); } /** + * + * *
      * A list of all files which have uncommitted Git changes. There will only be
      * a single entry for any given file.
      * 
* - * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * */ - public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChangeOrBuilder getUncommittedFileChangesOrBuilder( - int index) { + public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse + .UncommittedFileChangeOrBuilder + getUncommittedFileChangesOrBuilder(int index) { if (uncommittedFileChangesBuilder_ == null) { - return uncommittedFileChanges_.get(index); } else { + return uncommittedFileChanges_.get(index); + } else { return uncommittedFileChangesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * A list of all files which have uncommitted Git changes. There will only be
      * a single entry for any given file.
      * 
* - * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * */ - public java.util.List - getUncommittedFileChangesOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse + .UncommittedFileChangeOrBuilder> + getUncommittedFileChangesOrBuilderList() { if (uncommittedFileChangesBuilder_ != null) { return uncommittedFileChangesBuilder_.getMessageOrBuilderList(); } else { @@ -1726,48 +2088,81 @@ public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.Uncommitte } } /** + * + * *
      * A list of all files which have uncommitted Git changes. There will only be
      * a single entry for any given file.
      * 
* - * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * */ - public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.Builder addUncommittedFileChangesBuilder() { - return getUncommittedFileChangesFieldBuilder().addBuilder( - com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.getDefaultInstance()); + public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange + .Builder + addUncommittedFileChangesBuilder() { + return getUncommittedFileChangesFieldBuilder() + .addBuilder( + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange + .getDefaultInstance()); } /** + * + * *
      * A list of all files which have uncommitted Git changes. There will only be
      * a single entry for any given file.
      * 
* - * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * */ - public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.Builder addUncommittedFileChangesBuilder( - int index) { - return getUncommittedFileChangesFieldBuilder().addBuilder( - index, com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.getDefaultInstance()); + public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange + .Builder + addUncommittedFileChangesBuilder(int index) { + return getUncommittedFileChangesFieldBuilder() + .addBuilder( + index, + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange + .getDefaultInstance()); } /** + * + * *
      * A list of all files which have uncommitted Git changes. There will only be
      * a single entry for any given file.
      * 
* - * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * */ - public java.util.List - getUncommittedFileChangesBuilderList() { + public java.util.List< + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange + .Builder> + getUncommittedFileChangesBuilderList() { return getUncommittedFileChangesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange, com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.Builder, com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChangeOrBuilder> + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange, + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange + .Builder, + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse + .UncommittedFileChangeOrBuilder> getUncommittedFileChangesFieldBuilder() { if (uncommittedFileChangesBuilder_ == null) { - uncommittedFileChangesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange, com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange.Builder, com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChangeOrBuilder>( + uncommittedFileChangesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse + .UncommittedFileChange, + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange + .Builder, + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse + .UncommittedFileChangeOrBuilder>( uncommittedFileChanges_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1776,9 +2171,9 @@ public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.Uncommitte } return uncommittedFileChangesBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1788,30 +2183,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse) - private static final com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse(); } - public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse getDefaultInstance() { + public static com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FetchFileGitStatusesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FetchFileGitStatusesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FetchFileGitStatusesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FetchFileGitStatusesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1823,9 +2220,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse getDefaultInstanceForType() { + public com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileGitStatusesResponseOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileGitStatusesResponseOrBuilder.java new file mode 100644 index 0000000..81d1214 --- /dev/null +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchFileGitStatusesResponseOrBuilder.java @@ -0,0 +1,99 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface FetchFileGitStatusesResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * A list of all files which have uncommitted Git changes. There will only be
+   * a single entry for any given file.
+   * 
+ * + * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + */ + java.util.List< + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange> + getUncommittedFileChangesList(); + /** + * + * + *
+   * A list of all files which have uncommitted Git changes. There will only be
+   * a single entry for any given file.
+   * 
+ * + * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + */ + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange + getUncommittedFileChanges(int index); + /** + * + * + *
+   * A list of all files which have uncommitted Git changes. There will only be
+   * a single entry for any given file.
+   * 
+ * + * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + */ + int getUncommittedFileChangesCount(); + /** + * + * + *
+   * A list of all files which have uncommitted Git changes. There will only be
+   * a single entry for any given file.
+   * 
+ * + * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + */ + java.util.List< + ? extends + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse + .UncommittedFileChangeOrBuilder> + getUncommittedFileChangesOrBuilderList(); + /** + * + * + *
+   * A list of all files which have uncommitted Git changes. There will only be
+   * a single entry for any given file.
+   * 
+ * + * + * repeated .google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange uncommitted_file_changes = 1; + * + */ + com.google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChangeOrBuilder + getUncommittedFileChangesOrBuilder(int index); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchGitAheadBehindRequest.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchGitAheadBehindRequest.java similarity index 67% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchGitAheadBehindRequest.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchGitAheadBehindRequest.java index ce3bc79..d677f32 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchGitAheadBehindRequest.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchGitAheadBehindRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * `FetchGitAheadBehind` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest} */ -public final class FetchGitAheadBehindRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class FetchGitAheadBehindRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest) FetchGitAheadBehindRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FetchGitAheadBehindRequest.newBuilder() to construct. private FetchGitAheadBehindRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private FetchGitAheadBehindRequest() { name_ = ""; remoteBranch_ = ""; @@ -26,16 +44,15 @@ private FetchGitAheadBehindRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FetchGitAheadBehindRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private FetchGitAheadBehindRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private FetchGitAheadBehindRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - remoteBranch_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + remoteBranch_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +99,41 @@ private FetchGitAheadBehindRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest.class, com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest.Builder.class); + com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest.class, + com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The workspace's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -116,29 +142,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The workspace's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -149,6 +177,8 @@ public java.lang.String getName() { public static final int REMOTE_BRANCH_FIELD_NUMBER = 2; private volatile java.lang.Object remoteBranch_; /** + * + * *
    * Optional. The name of the branch in the Git remote against which this workspace
    * should be compared. If left unset, the repository's default branch name
@@ -156,6 +186,7 @@ public java.lang.String getName() {
    * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The remoteBranch. */ @java.lang.Override @@ -164,14 +195,15 @@ public java.lang.String getRemoteBranch() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); remoteBranch_ = s; return s; } } /** + * + * *
    * Optional. The name of the branch in the Git remote against which this workspace
    * should be compared. If left unset, the repository's default branch name
@@ -179,16 +211,15 @@ public java.lang.String getRemoteBranch() {
    * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for remoteBranch. */ @java.lang.Override - public com.google.protobuf.ByteString - getRemoteBranchBytes() { + public com.google.protobuf.ByteString getRemoteBranchBytes() { java.lang.Object ref = remoteBranch_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); remoteBranch_ = b; return b; } else { @@ -197,6 +228,7 @@ public java.lang.String getRemoteBranch() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -208,8 +240,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -239,17 +270,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest other = (com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest) obj; + com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest other = + (com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getRemoteBranch() - .equals(other.getRemoteBranch())) return false; + if (!getName().equals(other.getName())) return false; + if (!getRemoteBranch().equals(other.getRemoteBranch())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -271,117 +301,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `FetchGitAheadBehind` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest) com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest.class, com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest.Builder.class); + com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest.class, + com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest.newBuilder() @@ -389,16 +429,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -410,13 +449,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest getDefaultInstanceForType() { + public com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest + getDefaultInstanceForType() { return com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest.getDefaultInstance(); } @@ -431,7 +471,8 @@ public com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest build() { @java.lang.Override public com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest buildPartial() { - com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest result = new com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest(this); + com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest result = + new com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest(this); result.name_ = name_; result.remoteBranch_ = remoteBranch_; onBuilt(); @@ -442,38 +483,39 @@ public com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest) { - return mergeFrom((com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest) other); } else { super.mergeFrom(other); return this; @@ -481,7 +523,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest other) { - if (other == com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -509,7 +553,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -521,18 +566,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -541,20 +590,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -562,54 +614,67 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -617,6 +682,8 @@ public Builder setNameBytes( private java.lang.Object remoteBranch_ = ""; /** + * + * *
      * Optional. The name of the branch in the Git remote against which this workspace
      * should be compared. If left unset, the repository's default branch name
@@ -624,13 +691,13 @@ public Builder setNameBytes(
      * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The remoteBranch. */ public java.lang.String getRemoteBranch() { java.lang.Object ref = remoteBranch_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); remoteBranch_ = s; return s; @@ -639,6 +706,8 @@ public java.lang.String getRemoteBranch() { } } /** + * + * *
      * Optional. The name of the branch in the Git remote against which this workspace
      * should be compared. If left unset, the repository's default branch name
@@ -646,15 +715,14 @@ public java.lang.String getRemoteBranch() {
      * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for remoteBranch. */ - public com.google.protobuf.ByteString - getRemoteBranchBytes() { + public com.google.protobuf.ByteString getRemoteBranchBytes() { java.lang.Object ref = remoteBranch_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); remoteBranch_ = b; return b; } else { @@ -662,6 +730,8 @@ public java.lang.String getRemoteBranch() { } } /** + * + * *
      * Optional. The name of the branch in the Git remote against which this workspace
      * should be compared. If left unset, the repository's default branch name
@@ -669,20 +739,22 @@ public java.lang.String getRemoteBranch() {
      * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The remoteBranch to set. * @return This builder for chaining. */ - public Builder setRemoteBranch( - java.lang.String value) { + public Builder setRemoteBranch(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + remoteBranch_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The name of the branch in the Git remote against which this workspace
      * should be compared. If left unset, the repository's default branch name
@@ -690,15 +762,18 @@ public Builder setRemoteBranch(
      * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRemoteBranch() { - + remoteBranch_ = getDefaultInstance().getRemoteBranch(); onChanged(); return this; } /** + * + * *
      * Optional. The name of the branch in the Git remote against which this workspace
      * should be compared. If left unset, the repository's default branch name
@@ -706,23 +781,23 @@ public Builder clearRemoteBranch() {
      * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for remoteBranch to set. * @return This builder for chaining. */ - public Builder setRemoteBranchBytes( - com.google.protobuf.ByteString value) { + public Builder setRemoteBranchBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + remoteBranch_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -732,12 +807,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest) - private static final com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest(); } @@ -746,16 +822,16 @@ public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FetchGitAheadBehindRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FetchGitAheadBehindRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FetchGitAheadBehindRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FetchGitAheadBehindRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -770,6 +846,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchGitAheadBehindRequestOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchGitAheadBehindRequestOrBuilder.java similarity index 54% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchGitAheadBehindRequestOrBuilder.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchGitAheadBehindRequestOrBuilder.java index 9c22083..eb0052e 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchGitAheadBehindRequestOrBuilder.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchGitAheadBehindRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; -public interface FetchGitAheadBehindRequestOrBuilder extends +public interface FetchGitAheadBehindRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.FetchGitAheadBehindRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The workspace's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The workspace's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. The name of the branch in the Git remote against which this workspace
    * should be compared. If left unset, the repository's default branch name
@@ -35,10 +62,13 @@ public interface FetchGitAheadBehindRequestOrBuilder extends
    * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The remoteBranch. */ java.lang.String getRemoteBranch(); /** + * + * *
    * Optional. The name of the branch in the Git remote against which this workspace
    * should be compared. If left unset, the repository's default branch name
@@ -46,8 +76,8 @@ public interface FetchGitAheadBehindRequestOrBuilder extends
    * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for remoteBranch. */ - com.google.protobuf.ByteString - getRemoteBranchBytes(); + com.google.protobuf.ByteString getRemoteBranchBytes(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchGitAheadBehindResponse.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchGitAheadBehindResponse.java similarity index 68% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchGitAheadBehindResponse.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchGitAheadBehindResponse.java index f088ec7..0166d01 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchGitAheadBehindResponse.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchGitAheadBehindResponse.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * `FetchGitAheadBehind` response message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse} */ -public final class FetchGitAheadBehindResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class FetchGitAheadBehindResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse) FetchGitAheadBehindResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FetchGitAheadBehindResponse.newBuilder() to construct. private FetchGitAheadBehindResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private FetchGitAheadBehindResponse() { - } + + private FetchGitAheadBehindResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FetchGitAheadBehindResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private FetchGitAheadBehindResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,23 +68,23 @@ private FetchGitAheadBehindResponse( case 0: done = true; break; - case 8: { - - commitsAhead_ = input.readInt32(); - break; - } - case 16: { - - commitsBehind_ = input.readInt32(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 8: + { + commitsAhead_ = input.readInt32(); + break; + } + case 16: + { + commitsBehind_ = input.readInt32(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -76,34 +92,39 @@ private FetchGitAheadBehindResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindResponse_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse.class, com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse.Builder.class); + com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse.class, + com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse.Builder.class); } public static final int COMMITS_AHEAD_FIELD_NUMBER = 1; private int commitsAhead_; /** + * + * *
    * The number of commits in the remote branch that are not in the workspace.
    * 
* * int32 commits_ahead = 1; + * * @return The commitsAhead. */ @java.lang.Override @@ -114,11 +135,14 @@ public int getCommitsAhead() { public static final int COMMITS_BEHIND_FIELD_NUMBER = 2; private int commitsBehind_; /** + * + * *
    * The number of commits in the workspace that are not in the remote branch.
    * 
* * int32 commits_behind = 2; + * * @return The commitsBehind. */ @java.lang.Override @@ -127,6 +151,7 @@ public int getCommitsBehind() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -138,8 +163,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (commitsAhead_ != 0) { output.writeInt32(1, commitsAhead_); } @@ -156,12 +180,10 @@ public int getSerializedSize() { size = 0; if (commitsAhead_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, commitsAhead_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, commitsAhead_); } if (commitsBehind_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, commitsBehind_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, commitsBehind_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -171,17 +193,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse other = (com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse) obj; + com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse other = + (com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse) obj; - if (getCommitsAhead() - != other.getCommitsAhead()) return false; - if (getCommitsBehind() - != other.getCommitsBehind()) return false; + if (getCommitsAhead() != other.getCommitsAhead()) return false; + if (getCommitsBehind() != other.getCommitsBehind()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -203,117 +224,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `FetchGitAheadBehind` response message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse) com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindResponse_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse.class, com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse.Builder.class); + com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse.class, + com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse.Builder.class); } // Construct using com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse.newBuilder() @@ -321,16 +352,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -342,13 +372,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_FetchGitAheadBehindResponse_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse getDefaultInstanceForType() { + public com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse + getDefaultInstanceForType() { return com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse.getDefaultInstance(); } @@ -363,7 +394,8 @@ public com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse build() { @java.lang.Override public com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse buildPartial() { - com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse result = new com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse(this); + com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse result = + new com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse(this); result.commitsAhead_ = commitsAhead_; result.commitsBehind_ = commitsBehind_; onBuilt(); @@ -374,38 +406,39 @@ public com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse) { - return mergeFrom((com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse) other); } else { super.mergeFrom(other); return this; @@ -413,7 +446,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse other) { - if (other == com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse.getDefaultInstance()) return this; + if (other + == com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse.getDefaultInstance()) + return this; if (other.getCommitsAhead() != 0) { setCommitsAhead(other.getCommitsAhead()); } @@ -439,7 +474,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,13 +486,16 @@ public Builder mergeFrom( return this; } - private int commitsAhead_ ; + private int commitsAhead_; /** + * + * *
      * The number of commits in the remote branch that are not in the workspace.
      * 
* * int32 commits_ahead = 1; + * * @return The commitsAhead. */ @java.lang.Override @@ -463,42 +503,51 @@ public int getCommitsAhead() { return commitsAhead_; } /** + * + * *
      * The number of commits in the remote branch that are not in the workspace.
      * 
* * int32 commits_ahead = 1; + * * @param value The commitsAhead to set. * @return This builder for chaining. */ public Builder setCommitsAhead(int value) { - + commitsAhead_ = value; onChanged(); return this; } /** + * + * *
      * The number of commits in the remote branch that are not in the workspace.
      * 
* * int32 commits_ahead = 1; + * * @return This builder for chaining. */ public Builder clearCommitsAhead() { - + commitsAhead_ = 0; onChanged(); return this; } - private int commitsBehind_ ; + private int commitsBehind_; /** + * + * *
      * The number of commits in the workspace that are not in the remote branch.
      * 
* * int32 commits_behind = 2; + * * @return The commitsBehind. */ @java.lang.Override @@ -506,37 +555,43 @@ public int getCommitsBehind() { return commitsBehind_; } /** + * + * *
      * The number of commits in the workspace that are not in the remote branch.
      * 
* * int32 commits_behind = 2; + * * @param value The commitsBehind to set. * @return This builder for chaining. */ public Builder setCommitsBehind(int value) { - + commitsBehind_ = value; onChanged(); return this; } /** + * + * *
      * The number of commits in the workspace that are not in the remote branch.
      * 
* * int32 commits_behind = 2; + * * @return This builder for chaining. */ public Builder clearCommitsBehind() { - + commitsBehind_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -546,12 +601,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse) - private static final com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse(); } @@ -560,16 +616,16 @@ public static com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FetchGitAheadBehindResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FetchGitAheadBehindResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FetchGitAheadBehindResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FetchGitAheadBehindResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -584,6 +640,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchGitAheadBehindResponseOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchGitAheadBehindResponseOrBuilder.java similarity index 52% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchGitAheadBehindResponseOrBuilder.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchGitAheadBehindResponseOrBuilder.java index a326082..b5c2170 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchGitAheadBehindResponseOrBuilder.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchGitAheadBehindResponseOrBuilder.java @@ -1,28 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; -public interface FetchGitAheadBehindResponseOrBuilder extends +public interface FetchGitAheadBehindResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.FetchGitAheadBehindResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The number of commits in the remote branch that are not in the workspace.
    * 
* * int32 commits_ahead = 1; + * * @return The commitsAhead. */ int getCommitsAhead(); /** + * + * *
    * The number of commits in the workspace that are not in the remote branch.
    * 
* * int32 commits_behind = 2; + * * @return The commitsBehind. */ int getCommitsBehind(); diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchRemoteBranchesRequest.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchRemoteBranchesRequest.java similarity index 63% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchRemoteBranchesRequest.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchRemoteBranchesRequest.java index 3ef2a29..4eaac86 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchRemoteBranchesRequest.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchRemoteBranchesRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * `FetchRemoteBranches` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest} */ -public final class FetchRemoteBranchesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class FetchRemoteBranchesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest) FetchRemoteBranchesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FetchRemoteBranchesRequest.newBuilder() to construct. private FetchRemoteBranchesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private FetchRemoteBranchesRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FetchRemoteBranchesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private FetchRemoteBranchesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private FetchRemoteBranchesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private FetchRemoteBranchesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest.class, com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest.Builder.class); + com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest.class, + com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The repository's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -109,29 +134,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The repository's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest other = (com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest) obj; + com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest other = + (com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `FetchRemoteBranches` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest) com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest.class, com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest.Builder.class); + com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest.class, + com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest.newBuilder() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +377,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest getDefaultInstanceForType() { + public com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest + getDefaultInstanceForType() { return com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest.getDefaultInstance(); } @@ -362,7 +399,8 @@ public com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest build() { @java.lang.Override public com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest buildPartial() { - com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest result = new com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest(this); + com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest result = + new com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +410,39 @@ public com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest) { - return mergeFrom((com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +450,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest other) { - if (other == com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +476,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +489,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The repository's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -467,20 +513,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The repository's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -488,61 +537,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The repository's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The repository's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The repository's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +614,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest) - private static final com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest(); } @@ -566,16 +629,16 @@ public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FetchRemoteBranchesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FetchRemoteBranchesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FetchRemoteBranchesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FetchRemoteBranchesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +653,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchRemoteBranchesRequestOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchRemoteBranchesRequestOrBuilder.java new file mode 100644 index 0000000..bcb36bf --- /dev/null +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchRemoteBranchesRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface FetchRemoteBranchesRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.FetchRemoteBranchesRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The repository's name.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The repository's name.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchRemoteBranchesResponse.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchRemoteBranchesResponse.java similarity index 68% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchRemoteBranchesResponse.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchRemoteBranchesResponse.java index 0eabd8d..55d6e6a 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchRemoteBranchesResponse.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchRemoteBranchesResponse.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * `FetchRemoteBranches` response message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse} */ -public final class FetchRemoteBranchesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class FetchRemoteBranchesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse) FetchRemoteBranchesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use FetchRemoteBranchesResponse.newBuilder() to construct. private FetchRemoteBranchesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private FetchRemoteBranchesResponse() { branches_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new FetchRemoteBranchesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private FetchRemoteBranchesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,22 +71,23 @@ private FetchRemoteBranchesResponse( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - branches_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + branches_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + branches_.add(s); + break; } - branches_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -77,8 +95,7 @@ private FetchRemoteBranchesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { branches_ = branches_.getUnmodifiableView(); @@ -87,50 +104,61 @@ private FetchRemoteBranchesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesResponse_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse.class, com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse.Builder.class); + com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse.class, + com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse.Builder.class); } public static final int BRANCHES_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList branches_; /** + * + * *
    * The remote repository's branch names.
    * 
* * repeated string branches = 1; + * * @return A list containing the branches. */ - public com.google.protobuf.ProtocolStringList - getBranchesList() { + public com.google.protobuf.ProtocolStringList getBranchesList() { return branches_; } /** + * + * *
    * The remote repository's branch names.
    * 
* * repeated string branches = 1; + * * @return The count of branches. */ public int getBranchesCount() { return branches_.size(); } /** + * + * *
    * The remote repository's branch names.
    * 
* * repeated string branches = 1; + * * @param index The index of the element to return. * @return The branches at the given index. */ @@ -138,20 +166,23 @@ public java.lang.String getBranches(int index) { return branches_.get(index); } /** + * + * *
    * The remote repository's branch names.
    * 
* * repeated string branches = 1; + * * @param index The index of the value to return. * @return The bytes of the branches at the given index. */ - public com.google.protobuf.ByteString - getBranchesBytes(int index) { + public com.google.protobuf.ByteString getBranchesBytes(int index) { return branches_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -163,8 +194,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < branches_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, branches_.getRaw(i)); } @@ -193,15 +223,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse other = (com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse) obj; + com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse other = + (com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse) obj; - if (!getBranchesList() - .equals(other.getBranchesList())) return false; + if (!getBranchesList().equals(other.getBranchesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -223,117 +253,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `FetchRemoteBranches` response message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse) com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesResponse_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse.class, com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse.Builder.class); + com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse.class, + com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse.Builder.class); } // Construct using com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse.newBuilder() @@ -341,16 +381,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -360,13 +399,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_FetchRemoteBranchesResponse_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse getDefaultInstanceForType() { + public com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse + getDefaultInstanceForType() { return com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse.getDefaultInstance(); } @@ -381,7 +421,8 @@ public com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse build() { @java.lang.Override public com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse buildPartial() { - com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse result = new com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse(this); + com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse result = + new com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { branches_ = branches_.getUnmodifiableView(); @@ -396,38 +437,39 @@ public com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse) { - return mergeFrom((com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse) other); } else { super.mergeFrom(other); return this; @@ -435,7 +477,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse other) { - if (other == com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse.getDefaultInstance()) return this; + if (other + == com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse.getDefaultInstance()) + return this; if (!other.branches_.isEmpty()) { if (branches_.isEmpty()) { branches_ = other.branches_; @@ -465,7 +509,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -474,44 +520,55 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList branches_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList branches_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureBranchesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { branches_ = new com.google.protobuf.LazyStringArrayList(branches_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * The remote repository's branch names.
      * 
* * repeated string branches = 1; + * * @return A list containing the branches. */ - public com.google.protobuf.ProtocolStringList - getBranchesList() { + public com.google.protobuf.ProtocolStringList getBranchesList() { return branches_.getUnmodifiableView(); } /** + * + * *
      * The remote repository's branch names.
      * 
* * repeated string branches = 1; + * * @return The count of branches. */ public int getBranchesCount() { return branches_.size(); } /** + * + * *
      * The remote repository's branch names.
      * 
* * repeated string branches = 1; + * * @param index The index of the element to return. * @return The branches at the given index. */ @@ -519,80 +576,90 @@ public java.lang.String getBranches(int index) { return branches_.get(index); } /** + * + * *
      * The remote repository's branch names.
      * 
* * repeated string branches = 1; + * * @param index The index of the value to return. * @return The bytes of the branches at the given index. */ - public com.google.protobuf.ByteString - getBranchesBytes(int index) { + public com.google.protobuf.ByteString getBranchesBytes(int index) { return branches_.getByteString(index); } /** + * + * *
      * The remote repository's branch names.
      * 
* * repeated string branches = 1; + * * @param index The index to set the value at. * @param value The branches to set. * @return This builder for chaining. */ - public Builder setBranches( - int index, java.lang.String value) { + public Builder setBranches(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureBranchesIsMutable(); + throw new NullPointerException(); + } + ensureBranchesIsMutable(); branches_.set(index, value); onChanged(); return this; } /** + * + * *
      * The remote repository's branch names.
      * 
* * repeated string branches = 1; + * * @param value The branches to add. * @return This builder for chaining. */ - public Builder addBranches( - java.lang.String value) { + public Builder addBranches(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureBranchesIsMutable(); + throw new NullPointerException(); + } + ensureBranchesIsMutable(); branches_.add(value); onChanged(); return this; } /** + * + * *
      * The remote repository's branch names.
      * 
* * repeated string branches = 1; + * * @param values The branches to add. * @return This builder for chaining. */ - public Builder addAllBranches( - java.lang.Iterable values) { + public Builder addAllBranches(java.lang.Iterable values) { ensureBranchesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, branches_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, branches_); onChanged(); return this; } /** + * + * *
      * The remote repository's branch names.
      * 
* * repeated string branches = 1; + * * @return This builder for chaining. */ public Builder clearBranches() { @@ -602,28 +669,30 @@ public Builder clearBranches() { return this; } /** + * + * *
      * The remote repository's branch names.
      * 
* * repeated string branches = 1; + * * @param value The bytes of the branches to add. * @return This builder for chaining. */ - public Builder addBranchesBytes( - com.google.protobuf.ByteString value) { + public Builder addBranchesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureBranchesIsMutable(); branches_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -633,12 +702,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse) - private static final com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse(); } @@ -647,16 +717,16 @@ public static com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FetchRemoteBranchesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new FetchRemoteBranchesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FetchRemoteBranchesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FetchRemoteBranchesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -671,6 +741,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchRemoteBranchesResponseOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchRemoteBranchesResponseOrBuilder.java similarity index 58% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchRemoteBranchesResponseOrBuilder.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchRemoteBranchesResponseOrBuilder.java index 7e89ffe..1bef05e 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchRemoteBranchesResponseOrBuilder.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/FetchRemoteBranchesResponseOrBuilder.java @@ -1,50 +1,76 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; -public interface FetchRemoteBranchesResponseOrBuilder extends +public interface FetchRemoteBranchesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.FetchRemoteBranchesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The remote repository's branch names.
    * 
* * repeated string branches = 1; + * * @return A list containing the branches. */ - java.util.List - getBranchesList(); + java.util.List getBranchesList(); /** + * + * *
    * The remote repository's branch names.
    * 
* * repeated string branches = 1; + * * @return The count of branches. */ int getBranchesCount(); /** + * + * *
    * The remote repository's branch names.
    * 
* * repeated string branches = 1; + * * @param index The index of the element to return. * @return The branches at the given index. */ java.lang.String getBranches(int index); /** + * + * *
    * The remote repository's branch names.
    * 
* * repeated string branches = 1; + * * @param index The index of the value to return. * @return The bytes of the branches at the given index. */ - com.google.protobuf.ByteString - getBranchesBytes(int index); + com.google.protobuf.ByteString getBranchesBytes(int index); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetCompilationResultRequest.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetCompilationResultRequest.java similarity index 63% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetCompilationResultRequest.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetCompilationResultRequest.java index 7d8d767..5346fd3 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetCompilationResultRequest.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetCompilationResultRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * `GetCompilationResult` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.GetCompilationResultRequest} */ -public final class GetCompilationResultRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetCompilationResultRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.GetCompilationResultRequest) GetCompilationResultRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetCompilationResultRequest.newBuilder() to construct. private GetCompilationResultRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetCompilationResultRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetCompilationResultRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetCompilationResultRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetCompilationResultRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private GetCompilationResultRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_GetCompilationResultRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_GetCompilationResultRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_GetCompilationResultRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_GetCompilationResultRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.GetCompilationResultRequest.class, com.google.cloud.dataform.v1beta1.GetCompilationResultRequest.Builder.class); + com.google.cloud.dataform.v1beta1.GetCompilationResultRequest.class, + com.google.cloud.dataform.v1beta1.GetCompilationResultRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The compilation result's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -109,29 +134,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The compilation result's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.GetCompilationResultRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.GetCompilationResultRequest other = (com.google.cloud.dataform.v1beta1.GetCompilationResultRequest) obj; + com.google.cloud.dataform.v1beta1.GetCompilationResultRequest other = + (com.google.cloud.dataform.v1beta1.GetCompilationResultRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.GetCompilationResultRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.GetCompilationResultRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.GetCompilationResultRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.GetCompilationResultRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.GetCompilationResultRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.GetCompilationResultRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.GetCompilationResultRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.GetCompilationResultRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.GetCompilationResultRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.GetCompilationResultRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.GetCompilationResultRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.GetCompilationResultRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.GetCompilationResultRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.GetCompilationResultRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.GetCompilationResultRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.GetCompilationResultRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `GetCompilationResult` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.GetCompilationResultRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.GetCompilationResultRequest) com.google.cloud.dataform.v1beta1.GetCompilationResultRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_GetCompilationResultRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_GetCompilationResultRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_GetCompilationResultRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_GetCompilationResultRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.GetCompilationResultRequest.class, com.google.cloud.dataform.v1beta1.GetCompilationResultRequest.Builder.class); + com.google.cloud.dataform.v1beta1.GetCompilationResultRequest.class, + com.google.cloud.dataform.v1beta1.GetCompilationResultRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1beta1.GetCompilationResultRequest.newBuilder() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +377,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_GetCompilationResultRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_GetCompilationResultRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1beta1.GetCompilationResultRequest getDefaultInstanceForType() { + public com.google.cloud.dataform.v1beta1.GetCompilationResultRequest + getDefaultInstanceForType() { return com.google.cloud.dataform.v1beta1.GetCompilationResultRequest.getDefaultInstance(); } @@ -362,7 +399,8 @@ public com.google.cloud.dataform.v1beta1.GetCompilationResultRequest build() { @java.lang.Override public com.google.cloud.dataform.v1beta1.GetCompilationResultRequest buildPartial() { - com.google.cloud.dataform.v1beta1.GetCompilationResultRequest result = new com.google.cloud.dataform.v1beta1.GetCompilationResultRequest(this); + com.google.cloud.dataform.v1beta1.GetCompilationResultRequest result = + new com.google.cloud.dataform.v1beta1.GetCompilationResultRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +410,39 @@ public com.google.cloud.dataform.v1beta1.GetCompilationResultRequest buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.GetCompilationResultRequest) { - return mergeFrom((com.google.cloud.dataform.v1beta1.GetCompilationResultRequest)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.GetCompilationResultRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +450,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1beta1.GetCompilationResultRequest other) { - if (other == com.google.cloud.dataform.v1beta1.GetCompilationResultRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.dataform.v1beta1.GetCompilationResultRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +476,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.GetCompilationResultRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.GetCompilationResultRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +490,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The compilation result's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -467,20 +514,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The compilation result's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -488,61 +538,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The compilation result's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The compilation result's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The compilation result's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +615,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.GetCompilationResultRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.GetCompilationResultRequest) - private static final com.google.cloud.dataform.v1beta1.GetCompilationResultRequest DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1beta1.GetCompilationResultRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.GetCompilationResultRequest(); } @@ -566,16 +630,16 @@ public static com.google.cloud.dataform.v1beta1.GetCompilationResultRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetCompilationResultRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetCompilationResultRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetCompilationResultRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetCompilationResultRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +654,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.cloud.dataform.v1beta1.GetCompilationResultRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetCompilationResultRequestOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetCompilationResultRequestOrBuilder.java new file mode 100644 index 0000000..20e206f --- /dev/null +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetCompilationResultRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface GetCompilationResultRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.GetCompilationResultRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The compilation result's name.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The compilation result's name.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetRepositoryRequest.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetRepositoryRequest.java similarity index 64% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetRepositoryRequest.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetRepositoryRequest.java index 39c57b3..ac23c25 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetRepositoryRequest.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetRepositoryRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * `GetRepository` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.GetRepositoryRequest} */ -public final class GetRepositoryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.GetRepositoryRequest) GetRepositoryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetRepositoryRequest.newBuilder() to construct. private GetRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetRepositoryRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetRepositoryRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private GetRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_GetRepositoryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_GetRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_GetRepositoryRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_GetRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.GetRepositoryRequest.class, com.google.cloud.dataform.v1beta1.GetRepositoryRequest.Builder.class); + com.google.cloud.dataform.v1beta1.GetRepositoryRequest.class, + com.google.cloud.dataform.v1beta1.GetRepositoryRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The repository's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -109,29 +134,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The repository's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.GetRepositoryRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.GetRepositoryRequest other = (com.google.cloud.dataform.v1beta1.GetRepositoryRequest) obj; + com.google.cloud.dataform.v1beta1.GetRepositoryRequest other = + (com.google.cloud.dataform.v1beta1.GetRepositoryRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.GetRepositoryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.GetRepositoryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.GetRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.GetRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.GetRepositoryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.GetRepositoryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.GetRepositoryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.GetRepositoryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.GetRepositoryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.GetRepositoryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.GetRepositoryRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.GetRepositoryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.GetRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.GetRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.GetRepositoryRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.GetRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `GetRepository` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.GetRepositoryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.GetRepositoryRequest) com.google.cloud.dataform.v1beta1.GetRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_GetRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_GetRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_GetRepositoryRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_GetRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.GetRepositoryRequest.class, com.google.cloud.dataform.v1beta1.GetRepositoryRequest.Builder.class); + com.google.cloud.dataform.v1beta1.GetRepositoryRequest.class, + com.google.cloud.dataform.v1beta1.GetRepositoryRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1beta1.GetRepositoryRequest.newBuilder() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +377,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_GetRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_GetRepositoryRequest_descriptor; } @java.lang.Override @@ -362,7 +398,8 @@ public com.google.cloud.dataform.v1beta1.GetRepositoryRequest build() { @java.lang.Override public com.google.cloud.dataform.v1beta1.GetRepositoryRequest buildPartial() { - com.google.cloud.dataform.v1beta1.GetRepositoryRequest result = new com.google.cloud.dataform.v1beta1.GetRepositoryRequest(this); + com.google.cloud.dataform.v1beta1.GetRepositoryRequest result = + new com.google.cloud.dataform.v1beta1.GetRepositoryRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +409,39 @@ public com.google.cloud.dataform.v1beta1.GetRepositoryRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.GetRepositoryRequest) { - return mergeFrom((com.google.cloud.dataform.v1beta1.GetRepositoryRequest)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.GetRepositoryRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +449,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1beta1.GetRepositoryRequest other) { - if (other == com.google.cloud.dataform.v1beta1.GetRepositoryRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1beta1.GetRepositoryRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +474,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.GetRepositoryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.GetRepositoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +487,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The repository's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -467,20 +511,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The repository's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -488,61 +535,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The repository's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The repository's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The repository's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +612,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.GetRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.GetRepositoryRequest) private static final com.google.cloud.dataform.v1beta1.GetRepositoryRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.GetRepositoryRequest(); } @@ -566,16 +626,16 @@ public static com.google.cloud.dataform.v1beta1.GetRepositoryRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +650,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1beta1.GetRepositoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetRepositoryRequestOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetRepositoryRequestOrBuilder.java new file mode 100644 index 0000000..b691eed --- /dev/null +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetRepositoryRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface GetRepositoryRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.GetRepositoryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The repository's name.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The repository's name.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetWorkflowInvocationRequest.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetWorkflowInvocationRequest.java similarity index 62% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetWorkflowInvocationRequest.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetWorkflowInvocationRequest.java index 00708e8..361bf67 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetWorkflowInvocationRequest.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetWorkflowInvocationRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * `GetWorkflowInvocation` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest} */ -public final class GetWorkflowInvocationRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetWorkflowInvocationRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest) GetWorkflowInvocationRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetWorkflowInvocationRequest.newBuilder() to construct. private GetWorkflowInvocationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetWorkflowInvocationRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetWorkflowInvocationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetWorkflowInvocationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetWorkflowInvocationRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private GetWorkflowInvocationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_GetWorkflowInvocationRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_GetWorkflowInvocationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_GetWorkflowInvocationRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_GetWorkflowInvocationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest.class, com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest.Builder.class); + com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest.class, + com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The workflow invocation resource's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -109,29 +134,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The workflow invocation resource's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest other = (com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest) obj; + com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest other = + (com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `GetWorkflowInvocation` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest) com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_GetWorkflowInvocationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_GetWorkflowInvocationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_GetWorkflowInvocationRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_GetWorkflowInvocationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest.class, com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest.Builder.class); + com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest.class, + com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest.newBuilder() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +377,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_GetWorkflowInvocationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_GetWorkflowInvocationRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest getDefaultInstanceForType() { + public com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest + getDefaultInstanceForType() { return com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest.getDefaultInstance(); } @@ -362,7 +399,8 @@ public com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest build() { @java.lang.Override public com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest buildPartial() { - com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest result = new com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest(this); + com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest result = + new com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +410,39 @@ public com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest buildParti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest) { - return mergeFrom((com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +450,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest other) { - if (other == com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +476,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +490,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The workflow invocation resource's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -467,20 +514,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The workflow invocation resource's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -488,61 +538,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The workflow invocation resource's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The workflow invocation resource's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The workflow invocation resource's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,30 +615,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest) - private static final com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest(); } - public static com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest getDefaultInstance() { + public static com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetWorkflowInvocationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetWorkflowInvocationRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetWorkflowInvocationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetWorkflowInvocationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +652,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest getDefaultInstanceForType() { + public com.google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetWorkflowInvocationRequestOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetWorkflowInvocationRequestOrBuilder.java new file mode 100644 index 0000000..1de0c8d --- /dev/null +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetWorkflowInvocationRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface GetWorkflowInvocationRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.GetWorkflowInvocationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The workflow invocation resource's name.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The workflow invocation resource's name.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetWorkspaceRequest.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetWorkspaceRequest.java similarity index 64% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetWorkspaceRequest.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetWorkspaceRequest.java index 2169785..646e397 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetWorkspaceRequest.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetWorkspaceRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * `GetWorkspace` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.GetWorkspaceRequest} */ -public final class GetWorkspaceRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetWorkspaceRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.GetWorkspaceRequest) GetWorkspaceRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetWorkspaceRequest.newBuilder() to construct. private GetWorkspaceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetWorkspaceRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetWorkspaceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetWorkspaceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetWorkspaceRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private GetWorkspaceRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_GetWorkspaceRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_GetWorkspaceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_GetWorkspaceRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_GetWorkspaceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.GetWorkspaceRequest.class, com.google.cloud.dataform.v1beta1.GetWorkspaceRequest.Builder.class); + com.google.cloud.dataform.v1beta1.GetWorkspaceRequest.class, + com.google.cloud.dataform.v1beta1.GetWorkspaceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The workspace's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -109,29 +134,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The workspace's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.GetWorkspaceRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.GetWorkspaceRequest other = (com.google.cloud.dataform.v1beta1.GetWorkspaceRequest) obj; + com.google.cloud.dataform.v1beta1.GetWorkspaceRequest other = + (com.google.cloud.dataform.v1beta1.GetWorkspaceRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.GetWorkspaceRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.GetWorkspaceRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.GetWorkspaceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.GetWorkspaceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.GetWorkspaceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.GetWorkspaceRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.GetWorkspaceRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.GetWorkspaceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.GetWorkspaceRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.GetWorkspaceRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.GetWorkspaceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.GetWorkspaceRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.GetWorkspaceRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.GetWorkspaceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.GetWorkspaceRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.GetWorkspaceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `GetWorkspace` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.GetWorkspaceRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.GetWorkspaceRequest) com.google.cloud.dataform.v1beta1.GetWorkspaceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_GetWorkspaceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_GetWorkspaceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_GetWorkspaceRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_GetWorkspaceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.GetWorkspaceRequest.class, com.google.cloud.dataform.v1beta1.GetWorkspaceRequest.Builder.class); + com.google.cloud.dataform.v1beta1.GetWorkspaceRequest.class, + com.google.cloud.dataform.v1beta1.GetWorkspaceRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1beta1.GetWorkspaceRequest.newBuilder() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +377,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_GetWorkspaceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_GetWorkspaceRequest_descriptor; } @java.lang.Override @@ -362,7 +398,8 @@ public com.google.cloud.dataform.v1beta1.GetWorkspaceRequest build() { @java.lang.Override public com.google.cloud.dataform.v1beta1.GetWorkspaceRequest buildPartial() { - com.google.cloud.dataform.v1beta1.GetWorkspaceRequest result = new com.google.cloud.dataform.v1beta1.GetWorkspaceRequest(this); + com.google.cloud.dataform.v1beta1.GetWorkspaceRequest result = + new com.google.cloud.dataform.v1beta1.GetWorkspaceRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +409,39 @@ public com.google.cloud.dataform.v1beta1.GetWorkspaceRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.GetWorkspaceRequest) { - return mergeFrom((com.google.cloud.dataform.v1beta1.GetWorkspaceRequest)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.GetWorkspaceRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +449,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1beta1.GetWorkspaceRequest other) { - if (other == com.google.cloud.dataform.v1beta1.GetWorkspaceRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1beta1.GetWorkspaceRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +474,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.GetWorkspaceRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.GetWorkspaceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +487,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -467,20 +511,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -488,61 +535,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +612,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.GetWorkspaceRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.GetWorkspaceRequest) private static final com.google.cloud.dataform.v1beta1.GetWorkspaceRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.GetWorkspaceRequest(); } @@ -566,16 +626,16 @@ public static com.google.cloud.dataform.v1beta1.GetWorkspaceRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetWorkspaceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetWorkspaceRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetWorkspaceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetWorkspaceRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +650,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1beta1.GetWorkspaceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetWorkspaceRequestOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetWorkspaceRequestOrBuilder.java new file mode 100644 index 0000000..ad7864e --- /dev/null +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/GetWorkspaceRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface GetWorkspaceRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.GetWorkspaceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The workspace's name.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The workspace's name.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/InstallNpmPackagesRequest.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/InstallNpmPackagesRequest.java similarity index 64% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/InstallNpmPackagesRequest.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/InstallNpmPackagesRequest.java index cb73772..ea3d1df 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/InstallNpmPackagesRequest.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/InstallNpmPackagesRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * `InstallNpmPackages` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.InstallNpmPackagesRequest} */ -public final class InstallNpmPackagesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class InstallNpmPackagesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.InstallNpmPackagesRequest) InstallNpmPackagesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InstallNpmPackagesRequest.newBuilder() to construct. private InstallNpmPackagesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private InstallNpmPackagesRequest() { workspace_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new InstallNpmPackagesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private InstallNpmPackagesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private InstallNpmPackagesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - workspace_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + workspace_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private InstallNpmPackagesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest.class, com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest.Builder.class); + com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest.class, + com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest.Builder.class); } public static final int WORKSPACE_FIELD_NUMBER = 1; private volatile java.lang.Object workspace_; /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ @java.lang.Override @@ -109,29 +134,31 @@ public java.lang.String getWorkspace() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; } } /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ @java.lang.Override - public com.google.protobuf.ByteString - getWorkspaceBytes() { + public com.google.protobuf.ByteString getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workspace_ = b; return b; } else { @@ -140,6 +167,7 @@ public java.lang.String getWorkspace() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workspace_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest other = (com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest) obj; + com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest other = + (com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest) obj; - if (!getWorkspace() - .equals(other.getWorkspace())) return false; + if (!getWorkspace().equals(other.getWorkspace())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `InstallNpmPackages` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.InstallNpmPackagesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.InstallNpmPackagesRequest) com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest.class, com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest.Builder.class); + com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest.class, + com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest.newBuilder() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +377,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesRequest_descriptor; } @java.lang.Override @@ -362,7 +398,8 @@ public com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest build() { @java.lang.Override public com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest buildPartial() { - com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest result = new com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest(this); + com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest result = + new com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest(this); result.workspace_ = workspace_; onBuilt(); return result; @@ -372,38 +409,39 @@ public com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest buildPartial( public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest) { - return mergeFrom((com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +449,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest other) { - if (other == com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest.getDefaultInstance()) + return this; if (!other.getWorkspace().isEmpty()) { workspace_ = other.workspace_; onChanged(); @@ -435,7 +474,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +487,22 @@ public Builder mergeFrom( private java.lang.Object workspace_ = ""; /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ public java.lang.String getWorkspace() { java.lang.Object ref = workspace_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; @@ -467,20 +511,23 @@ public java.lang.String getWorkspace() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ - public com.google.protobuf.ByteString - getWorkspaceBytes() { + public com.google.protobuf.ByteString getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workspace_ = b; return b; } else { @@ -488,61 +535,74 @@ public java.lang.String getWorkspace() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The workspace to set. * @return This builder for chaining. */ - public Builder setWorkspace( - java.lang.String value) { + public Builder setWorkspace(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + workspace_ = value; onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearWorkspace() { - + workspace_ = getDefaultInstance().getWorkspace(); onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for workspace to set. * @return This builder for chaining. */ - public Builder setWorkspaceBytes( - com.google.protobuf.ByteString value) { + public Builder setWorkspaceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workspace_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +612,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.InstallNpmPackagesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.InstallNpmPackagesRequest) private static final com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest(); } @@ -566,16 +626,16 @@ public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InstallNpmPackagesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InstallNpmPackagesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InstallNpmPackagesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InstallNpmPackagesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +650,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.dataform.v1beta1.InstallNpmPackagesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/InstallNpmPackagesRequestOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/InstallNpmPackagesRequestOrBuilder.java new file mode 100644 index 0000000..4705367 --- /dev/null +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/InstallNpmPackagesRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface InstallNpmPackagesRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.InstallNpmPackagesRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The workspace's name.
+   * 
+ * + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The workspace. + */ + java.lang.String getWorkspace(); + /** + * + * + *
+   * Required. The workspace's name.
+   * 
+ * + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for workspace. + */ + com.google.protobuf.ByteString getWorkspaceBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/InstallNpmPackagesResponse.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/InstallNpmPackagesResponse.java similarity index 64% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/InstallNpmPackagesResponse.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/InstallNpmPackagesResponse.java index b6cd5e0..c7aae67 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/InstallNpmPackagesResponse.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/InstallNpmPackagesResponse.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * `InstallNpmPackages` response message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.InstallNpmPackagesResponse} */ -public final class InstallNpmPackagesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class InstallNpmPackagesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.InstallNpmPackagesResponse) InstallNpmPackagesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use InstallNpmPackagesResponse.newBuilder() to construct. private InstallNpmPackagesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private InstallNpmPackagesResponse() { - } + + private InstallNpmPackagesResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new InstallNpmPackagesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private InstallNpmPackagesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private InstallNpmPackagesResponse( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private InstallNpmPackagesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesResponse_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse.class, com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse.Builder.class); + com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse.class, + com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse other = (com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse) obj; + com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse other = + (com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,117 +160,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `InstallNpmPackages` response message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.InstallNpmPackagesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.InstallNpmPackagesResponse) com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesResponse_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse.class, com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse.Builder.class); + com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse.class, + com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse.Builder.class); } // Construct using com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse.newBuilder() @@ -259,16 +288,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,13 +304,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_InstallNpmPackagesResponse_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse getDefaultInstanceForType() { + public com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse + getDefaultInstanceForType() { return com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse.getDefaultInstance(); } @@ -297,7 +326,8 @@ public com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse build() { @java.lang.Override public com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse buildPartial() { - com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse result = new com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse(this); + com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse result = + new com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse(this); onBuilt(); return result; } @@ -306,38 +336,39 @@ public com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse) { - return mergeFrom((com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse) other); } else { super.mergeFrom(other); return this; @@ -345,7 +376,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse other) { - if (other == com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse.getDefaultInstance()) return this; + if (other + == com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse.getDefaultInstance()) + return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +398,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +408,9 @@ public Builder mergeFrom( } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -386,12 +420,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.InstallNpmPackagesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.InstallNpmPackagesResponse) - private static final com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse(); } @@ -400,16 +435,16 @@ public static com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InstallNpmPackagesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InstallNpmPackagesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InstallNpmPackagesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InstallNpmPackagesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -424,6 +459,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.cloud.dataform.v1beta1.InstallNpmPackagesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/InstallNpmPackagesResponseOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/InstallNpmPackagesResponseOrBuilder.java new file mode 100644 index 0000000..4091a48 --- /dev/null +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/InstallNpmPackagesResponseOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface InstallNpmPackagesResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.InstallNpmPackagesResponse) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListCompilationResultsRequest.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListCompilationResultsRequest.java similarity index 68% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListCompilationResultsRequest.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListCompilationResultsRequest.java index bd0e1db..a4e2723 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListCompilationResultsRequest.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListCompilationResultsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * `ListCompilationResults` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.ListCompilationResultsRequest} */ -public final class ListCompilationResultsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListCompilationResultsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.ListCompilationResultsRequest) ListCompilationResultsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListCompilationResultsRequest.newBuilder() to construct. private ListCompilationResultsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListCompilationResultsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,16 +44,15 @@ private ListCompilationResultsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListCompilationResultsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListCompilationResultsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +71,32 @@ private ListCompilationResultsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,35 +104,42 @@ private ListCompilationResultsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest.class, com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest.Builder.class); + com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest.class, + com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The repository in which to list compilation results. Must be in the
    * format `projects/*/locations/*/repositories/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -122,30 +148,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The repository in which to list compilation results. Must be in the
    * format `projects/*/locations/*/repositories/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -156,6 +184,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * Optional. Maximum number of compilation results to return. The server may return
    * fewer items than requested. If unspecified, the server will pick an
@@ -163,6 +193,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -173,6 +204,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * Optional. Page token received from a previous `ListCompilationResults` call.
    * Provide this to retrieve the subsequent page.
@@ -181,6 +214,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -189,14 +223,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Optional. Page token received from a previous `ListCompilationResults` call.
    * Provide this to retrieve the subsequent page.
@@ -205,16 +240,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -223,6 +257,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -234,8 +269,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -258,8 +292,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -272,19 +305,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest other = (com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest) obj; + com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest other = + (com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -308,117 +339,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `ListCompilationResults` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.ListCompilationResultsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.ListCompilationResultsRequest) com.google.cloud.dataform.v1beta1.ListCompilationResultsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest.class, com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest.Builder.class); + com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest.class, + com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest.newBuilder() @@ -426,16 +467,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -449,13 +489,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest getDefaultInstanceForType() { + public com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest + getDefaultInstanceForType() { return com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest.getDefaultInstance(); } @@ -470,7 +511,8 @@ public com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest build() { @java.lang.Override public com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest buildPartial() { - com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest result = new com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest(this); + com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest result = + new com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -482,46 +524,50 @@ public com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest buildPart public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest) { - return mergeFrom((com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest other) { - if (other == com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest other) { + if (other + == com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -552,7 +598,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -564,19 +612,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The repository in which to list compilation results. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -585,21 +637,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The repository in which to list compilation results. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -607,64 +662,79 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The repository in which to list compilation results. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The repository in which to list compilation results. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The repository in which to list compilation results. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. Maximum number of compilation results to return. The server may return
      * fewer items than requested. If unspecified, the server will pick an
@@ -672,6 +742,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -679,6 +750,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. Maximum number of compilation results to return. The server may return
      * fewer items than requested. If unspecified, the server will pick an
@@ -686,16 +759,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Maximum number of compilation results to return. The server may return
      * fewer items than requested. If unspecified, the server will pick an
@@ -703,10 +779,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -714,6 +791,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. Page token received from a previous `ListCompilationResults` call.
      * Provide this to retrieve the subsequent page.
@@ -722,13 +801,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -737,6 +816,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `ListCompilationResults` call.
      * Provide this to retrieve the subsequent page.
@@ -745,15 +826,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -761,6 +841,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `ListCompilationResults` call.
      * Provide this to retrieve the subsequent page.
@@ -769,20 +851,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Page token received from a previous `ListCompilationResults` call.
      * Provide this to retrieve the subsequent page.
@@ -791,15 +875,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * Optional. Page token received from a previous `ListCompilationResults` call.
      * Provide this to retrieve the subsequent page.
@@ -808,23 +895,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -834,30 +921,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.ListCompilationResultsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.ListCompilationResultsRequest) - private static final com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest(); } - public static com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest getDefaultInstance() { + public static com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCompilationResultsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListCompilationResultsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCompilationResultsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListCompilationResultsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -869,9 +958,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest getDefaultInstanceForType() { + public com.google.cloud.dataform.v1beta1.ListCompilationResultsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListCompilationResultsRequestOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListCompilationResultsRequestOrBuilder.java similarity index 64% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListCompilationResultsRequestOrBuilder.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListCompilationResultsRequestOrBuilder.java index 3d22fbf..4e4c7bd 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListCompilationResultsRequestOrBuilder.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListCompilationResultsRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; -public interface ListCompilationResultsRequestOrBuilder extends +public interface ListCompilationResultsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.ListCompilationResultsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The repository in which to list compilation results. Must be in the
    * format `projects/*/locations/*/repositories/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The repository in which to list compilation results. Must be in the
    * format `projects/*/locations/*/repositories/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Optional. Maximum number of compilation results to return. The server may return
    * fewer items than requested. If unspecified, the server will pick an
@@ -37,11 +64,14 @@ public interface ListCompilationResultsRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. Page token received from a previous `ListCompilationResults` call.
    * Provide this to retrieve the subsequent page.
@@ -50,10 +80,13 @@ public interface ListCompilationResultsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. Page token received from a previous `ListCompilationResults` call.
    * Provide this to retrieve the subsequent page.
@@ -62,8 +95,8 @@ public interface ListCompilationResultsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListCompilationResultsResponse.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListCompilationResultsResponse.java similarity index 71% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListCompilationResultsResponse.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListCompilationResultsResponse.java index 73e7f8f..df4eed6 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListCompilationResultsResponse.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListCompilationResultsResponse.java @@ -1,24 +1,43 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * `ListCompilationResults` response message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.ListCompilationResultsResponse} */ -public final class ListCompilationResultsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListCompilationResultsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.ListCompilationResultsResponse) ListCompilationResultsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListCompilationResultsResponse.newBuilder() to construct. - private ListCompilationResultsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListCompilationResultsResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListCompilationResultsResponse() { compilationResults_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -27,16 +46,15 @@ private ListCompilationResultsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListCompilationResultsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListCompilationResultsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,37 +74,43 @@ private ListCompilationResultsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - compilationResults_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + compilationResults_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + compilationResults_.add( + input.readMessage( + com.google.cloud.dataform.v1beta1.CompilationResult.parser(), + extensionRegistry)); + break; } - compilationResults_.add( - input.readMessage(com.google.cloud.dataform.v1beta1.CompilationResult.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + nextPageToken_ = s; + break; } - unreachable_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + unreachable_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -94,8 +118,7 @@ private ListCompilationResultsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { compilationResults_ = java.util.Collections.unmodifiableList(compilationResults_); @@ -107,22 +130,27 @@ private ListCompilationResultsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsResponse_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse.class, com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse.Builder.class); + com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse.class, + com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse.Builder.class); } public static final int COMPILATION_RESULTS_FIELD_NUMBER = 1; private java.util.List compilationResults_; /** + * + * *
    * List of compilation results.
    * 
@@ -130,10 +158,13 @@ private ListCompilationResultsResponse( * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; */ @java.lang.Override - public java.util.List getCompilationResultsList() { + public java.util.List + getCompilationResultsList() { return compilationResults_; } /** + * + * *
    * List of compilation results.
    * 
@@ -141,11 +172,13 @@ public java.util.List getCo * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; */ @java.lang.Override - public java.util.List + public java.util.List getCompilationResultsOrBuilderList() { return compilationResults_; } /** + * + * *
    * List of compilation results.
    * 
@@ -157,6 +190,8 @@ public int getCompilationResultsCount() { return compilationResults_.size(); } /** + * + * *
    * List of compilation results.
    * 
@@ -168,6 +203,8 @@ public com.google.cloud.dataform.v1beta1.CompilationResult getCompilationResults return compilationResults_.get(index); } /** + * + * *
    * List of compilation results.
    * 
@@ -175,20 +212,23 @@ public com.google.cloud.dataform.v1beta1.CompilationResult getCompilationResults * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; */ @java.lang.Override - public com.google.cloud.dataform.v1beta1.CompilationResultOrBuilder getCompilationResultsOrBuilder( - int index) { + public com.google.cloud.dataform.v1beta1.CompilationResultOrBuilder + getCompilationResultsOrBuilder(int index) { return compilationResults_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -197,30 +237,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -231,34 +271,42 @@ public java.lang.String getNextPageToken() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -266,20 +314,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -291,8 +342,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < compilationResults_.size(); i++) { output.writeMessage(1, compilationResults_.get(i)); } @@ -312,8 +362,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < compilationResults_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, compilationResults_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, compilationResults_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -334,19 +384,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse other = (com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse) obj; + com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse other = + (com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse) obj; - if (!getCompilationResultsList() - .equals(other.getCompilationResultsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getCompilationResultsList().equals(other.getCompilationResultsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -374,117 +422,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `ListCompilationResults` response message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.ListCompilationResultsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.ListCompilationResultsResponse) com.google.cloud.dataform.v1beta1.ListCompilationResultsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsResponse_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse.class, com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse.Builder.class); + com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse.class, + com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse.Builder.class); } // Construct using com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse.newBuilder() @@ -492,17 +550,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getCompilationResultsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -520,13 +578,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ListCompilationResultsResponse_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse getDefaultInstanceForType() { + public com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse + getDefaultInstanceForType() { return com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse.getDefaultInstance(); } @@ -541,7 +600,8 @@ public com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse build() @java.lang.Override public com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse buildPartial() { - com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse result = new com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse(this); + com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse result = + new com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse(this); int from_bitField0_ = bitField0_; if (compilationResultsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -566,46 +626,50 @@ public com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse buildPar public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse) { - return mergeFrom((com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse other) { - if (other == com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse other) { + if (other + == com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse.getDefaultInstance()) + return this; if (compilationResultsBuilder_ == null) { if (!other.compilationResults_.isEmpty()) { if (compilationResults_.isEmpty()) { @@ -624,9 +688,10 @@ public Builder mergeFrom(com.google.cloud.dataform.v1beta1.ListCompilationResult compilationResultsBuilder_ = null; compilationResults_ = other.compilationResults_; bitField0_ = (bitField0_ & ~0x00000001); - compilationResultsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getCompilationResultsFieldBuilder() : null; + compilationResultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getCompilationResultsFieldBuilder() + : null; } else { compilationResultsBuilder_.addAllMessages(other.compilationResults_); } @@ -665,7 +730,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -674,28 +741,39 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private java.util.List compilationResults_ = - java.util.Collections.emptyList(); + private java.util.List + compilationResults_ = java.util.Collections.emptyList(); + private void ensureCompilationResultsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - compilationResults_ = new java.util.ArrayList(compilationResults_); + compilationResults_ = + new java.util.ArrayList( + compilationResults_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1beta1.CompilationResult, com.google.cloud.dataform.v1beta1.CompilationResult.Builder, com.google.cloud.dataform.v1beta1.CompilationResultOrBuilder> compilationResultsBuilder_; + com.google.cloud.dataform.v1beta1.CompilationResult, + com.google.cloud.dataform.v1beta1.CompilationResult.Builder, + com.google.cloud.dataform.v1beta1.CompilationResultOrBuilder> + compilationResultsBuilder_; /** + * + * *
      * List of compilation results.
      * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + * */ - public java.util.List getCompilationResultsList() { + public java.util.List + getCompilationResultsList() { if (compilationResultsBuilder_ == null) { return java.util.Collections.unmodifiableList(compilationResults_); } else { @@ -703,11 +781,14 @@ public java.util.List getCo } } /** + * + * *
      * List of compilation results.
      * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + * */ public int getCompilationResultsCount() { if (compilationResultsBuilder_ == null) { @@ -717,11 +798,14 @@ public int getCompilationResultsCount() { } } /** + * + * *
      * List of compilation results.
      * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + * */ public com.google.cloud.dataform.v1beta1.CompilationResult getCompilationResults(int index) { if (compilationResultsBuilder_ == null) { @@ -731,11 +815,14 @@ public com.google.cloud.dataform.v1beta1.CompilationResult getCompilationResults } } /** + * + * *
      * List of compilation results.
      * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + * */ public Builder setCompilationResults( int index, com.google.cloud.dataform.v1beta1.CompilationResult value) { @@ -752,11 +839,14 @@ public Builder setCompilationResults( return this; } /** + * + * *
      * List of compilation results.
      * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + * */ public Builder setCompilationResults( int index, com.google.cloud.dataform.v1beta1.CompilationResult.Builder builderForValue) { @@ -770,13 +860,17 @@ public Builder setCompilationResults( return this; } /** + * + * *
      * List of compilation results.
      * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + * */ - public Builder addCompilationResults(com.google.cloud.dataform.v1beta1.CompilationResult value) { + public Builder addCompilationResults( + com.google.cloud.dataform.v1beta1.CompilationResult value) { if (compilationResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -790,11 +884,14 @@ public Builder addCompilationResults(com.google.cloud.dataform.v1beta1.Compilati return this; } /** + * + * *
      * List of compilation results.
      * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + * */ public Builder addCompilationResults( int index, com.google.cloud.dataform.v1beta1.CompilationResult value) { @@ -811,11 +908,14 @@ public Builder addCompilationResults( return this; } /** + * + * *
      * List of compilation results.
      * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + * */ public Builder addCompilationResults( com.google.cloud.dataform.v1beta1.CompilationResult.Builder builderForValue) { @@ -829,11 +929,14 @@ public Builder addCompilationResults( return this; } /** + * + * *
      * List of compilation results.
      * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + * */ public Builder addCompilationResults( int index, com.google.cloud.dataform.v1beta1.CompilationResult.Builder builderForValue) { @@ -847,18 +950,20 @@ public Builder addCompilationResults( return this; } /** + * + * *
      * List of compilation results.
      * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + * */ public Builder addAllCompilationResults( java.lang.Iterable values) { if (compilationResultsBuilder_ == null) { ensureCompilationResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, compilationResults_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, compilationResults_); onChanged(); } else { compilationResultsBuilder_.addAllMessages(values); @@ -866,11 +971,14 @@ public Builder addAllCompilationResults( return this; } /** + * + * *
      * List of compilation results.
      * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + * */ public Builder clearCompilationResults() { if (compilationResultsBuilder_ == null) { @@ -883,11 +991,14 @@ public Builder clearCompilationResults() { return this; } /** + * + * *
      * List of compilation results.
      * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + * */ public Builder removeCompilationResults(int index) { if (compilationResultsBuilder_ == null) { @@ -900,39 +1011,49 @@ public Builder removeCompilationResults(int index) { return this; } /** + * + * *
      * List of compilation results.
      * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + * */ public com.google.cloud.dataform.v1beta1.CompilationResult.Builder getCompilationResultsBuilder( int index) { return getCompilationResultsFieldBuilder().getBuilder(index); } /** + * + * *
      * List of compilation results.
      * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + * */ - public com.google.cloud.dataform.v1beta1.CompilationResultOrBuilder getCompilationResultsOrBuilder( - int index) { + public com.google.cloud.dataform.v1beta1.CompilationResultOrBuilder + getCompilationResultsOrBuilder(int index) { if (compilationResultsBuilder_ == null) { - return compilationResults_.get(index); } else { + return compilationResults_.get(index); + } else { return compilationResultsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of compilation results.
      * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + * */ - public java.util.List - getCompilationResultsOrBuilderList() { + public java.util.List + getCompilationResultsOrBuilderList() { if (compilationResultsBuilder_ != null) { return compilationResultsBuilder_.getMessageOrBuilderList(); } else { @@ -940,45 +1061,62 @@ public com.google.cloud.dataform.v1beta1.CompilationResultOrBuilder getCompilati } } /** + * + * *
      * List of compilation results.
      * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + * */ - public com.google.cloud.dataform.v1beta1.CompilationResult.Builder addCompilationResultsBuilder() { - return getCompilationResultsFieldBuilder().addBuilder( - com.google.cloud.dataform.v1beta1.CompilationResult.getDefaultInstance()); + public com.google.cloud.dataform.v1beta1.CompilationResult.Builder + addCompilationResultsBuilder() { + return getCompilationResultsFieldBuilder() + .addBuilder(com.google.cloud.dataform.v1beta1.CompilationResult.getDefaultInstance()); } /** + * + * *
      * List of compilation results.
      * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + * */ public com.google.cloud.dataform.v1beta1.CompilationResult.Builder addCompilationResultsBuilder( int index) { - return getCompilationResultsFieldBuilder().addBuilder( - index, com.google.cloud.dataform.v1beta1.CompilationResult.getDefaultInstance()); + return getCompilationResultsFieldBuilder() + .addBuilder( + index, com.google.cloud.dataform.v1beta1.CompilationResult.getDefaultInstance()); } /** + * + * *
      * List of compilation results.
      * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; + * */ - public java.util.List - getCompilationResultsBuilderList() { + public java.util.List + getCompilationResultsBuilderList() { return getCompilationResultsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1beta1.CompilationResult, com.google.cloud.dataform.v1beta1.CompilationResult.Builder, com.google.cloud.dataform.v1beta1.CompilationResultOrBuilder> + com.google.cloud.dataform.v1beta1.CompilationResult, + com.google.cloud.dataform.v1beta1.CompilationResult.Builder, + com.google.cloud.dataform.v1beta1.CompilationResultOrBuilder> getCompilationResultsFieldBuilder() { if (compilationResultsBuilder_ == null) { - compilationResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1beta1.CompilationResult, com.google.cloud.dataform.v1beta1.CompilationResult.Builder, com.google.cloud.dataform.v1beta1.CompilationResultOrBuilder>( + compilationResultsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.CompilationResult, + com.google.cloud.dataform.v1beta1.CompilationResult.Builder, + com.google.cloud.dataform.v1beta1.CompilationResultOrBuilder>( compilationResults_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -990,19 +1128,21 @@ public com.google.cloud.dataform.v1beta1.CompilationResult.Builder addCompilatio private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1011,21 +1151,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1033,98 +1174,115 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList unreachable_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1132,80 +1290,90 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { + public Builder setUnreachable(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { + public Builder addUnreachable(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); onChanged(); return this; } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1215,28 +1383,30 @@ public Builder clearUnreachable() { return this; } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1246,30 +1416,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.ListCompilationResultsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.ListCompilationResultsResponse) - private static final com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse(); } - public static com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse getDefaultInstance() { + public static com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCompilationResultsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListCompilationResultsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCompilationResultsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListCompilationResultsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1281,9 +1453,8 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse getDefaultInstanceForType() { + public com.google.cloud.dataform.v1beta1.ListCompilationResultsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListCompilationResultsResponseOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListCompilationResultsResponseOrBuilder.java similarity index 74% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListCompilationResultsResponseOrBuilder.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListCompilationResultsResponseOrBuilder.java index c3f6c03..83d007d 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListCompilationResultsResponseOrBuilder.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListCompilationResultsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; -public interface ListCompilationResultsResponseOrBuilder extends +public interface ListCompilationResultsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.ListCompilationResultsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of compilation results.
    * 
* * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; */ - java.util.List - getCompilationResultsList(); + java.util.List getCompilationResultsList(); /** + * + * *
    * List of compilation results.
    * 
@@ -25,6 +44,8 @@ public interface ListCompilationResultsResponseOrBuilder extends */ com.google.cloud.dataform.v1beta1.CompilationResult getCompilationResults(int index); /** + * + * *
    * List of compilation results.
    * 
@@ -33,15 +54,19 @@ public interface ListCompilationResultsResponseOrBuilder extends */ int getCompilationResultsCount(); /** + * + * *
    * List of compilation results.
    * 
* * repeated .google.cloud.dataform.v1beta1.CompilationResult compilation_results = 1; */ - java.util.List + java.util.List getCompilationResultsOrBuilderList(); /** + * + * *
    * List of compilation results.
    * 
@@ -52,65 +77,80 @@ com.google.cloud.dataform.v1beta1.CompilationResultOrBuilder getCompilationResul int index); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListRepositoriesRequest.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListRepositoriesRequest.java similarity index 72% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListRepositoriesRequest.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListRepositoriesRequest.java index 4eb56ab..a9879fc 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListRepositoriesRequest.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListRepositoriesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * `ListRepositories` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.ListRepositoriesRequest} */ -public final class ListRepositoriesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListRepositoriesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.ListRepositoriesRequest) ListRepositoriesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListRepositoriesRequest.newBuilder() to construct. private ListRepositoriesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListRepositoriesRequest() { parent_ = ""; pageToken_ = ""; @@ -28,16 +46,15 @@ private ListRepositoriesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListRepositoriesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListRepositoriesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,42 +73,46 @@ private ListRepositoriesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + orderBy_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + filter_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,35 +120,42 @@ private ListRepositoriesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListRepositoriesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ListRepositoriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListRepositoriesRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ListRepositoriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.ListRepositoriesRequest.class, com.google.cloud.dataform.v1beta1.ListRepositoriesRequest.Builder.class); + com.google.cloud.dataform.v1beta1.ListRepositoriesRequest.class, + com.google.cloud.dataform.v1beta1.ListRepositoriesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The location in which to list repositories. Must be in the format
    * `projects/*/locations/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -136,30 +164,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The location in which to list repositories. Must be in the format
    * `projects/*/locations/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -170,6 +200,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * Optional. Maximum number of repositories to return. The server may return fewer
    * items than requested. If unspecified, the server will pick an appropriate
@@ -177,6 +209,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -187,6 +220,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * Optional. Page token received from a previous `ListRepositories` call.
    * Provide this to retrieve the subsequent page.
@@ -195,6 +230,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -203,14 +239,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Optional. Page token received from a previous `ListRepositories` call.
    * Provide this to retrieve the subsequent page.
@@ -219,16 +256,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -239,6 +275,8 @@ public java.lang.String getPageToken() { public static final int ORDER_BY_FIELD_NUMBER = 4; private volatile java.lang.Object orderBy_; /** + * + * *
    * Optional. This field only supports ordering by `name`. If unspecified, the server
    * will choose the ordering. If specified, the default order is ascending for
@@ -246,6 +284,7 @@ public java.lang.String getPageToken() {
    * 
* * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -254,14 +293,15 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * Optional. This field only supports ordering by `name`. If unspecified, the server
    * will choose the ordering. If specified, the default order is ascending for
@@ -269,16 +309,15 @@ public java.lang.String getOrderBy() {
    * 
* * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -289,11 +328,14 @@ public java.lang.String getOrderBy() { public static final int FILTER_FIELD_NUMBER = 5; private volatile java.lang.Object filter_; /** + * + * *
    * Optional. Filter for the returned list.
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -302,29 +344,29 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * Optional. Filter for the returned list.
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -333,6 +375,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -344,8 +387,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -374,8 +416,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -394,23 +435,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.ListRepositoriesRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.ListRepositoriesRequest other = (com.google.cloud.dataform.v1beta1.ListRepositoriesRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; + com.google.cloud.dataform.v1beta1.ListRepositoriesRequest other = + (com.google.cloud.dataform.v1beta1.ListRepositoriesRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; + if (!getFilter().equals(other.getFilter())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -438,117 +475,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.ListRepositoriesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.ListRepositoriesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.ListRepositoriesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.ListRepositoriesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.ListRepositoriesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.ListRepositoriesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.ListRepositoriesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.ListRepositoriesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.ListRepositoriesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.ListRepositoriesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.ListRepositoriesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.ListRepositoriesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.ListRepositoriesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.ListRepositoriesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.ListRepositoriesRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.ListRepositoriesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `ListRepositories` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.ListRepositoriesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.ListRepositoriesRequest) com.google.cloud.dataform.v1beta1.ListRepositoriesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListRepositoriesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ListRepositoriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListRepositoriesRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ListRepositoriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.ListRepositoriesRequest.class, com.google.cloud.dataform.v1beta1.ListRepositoriesRequest.Builder.class); + com.google.cloud.dataform.v1beta1.ListRepositoriesRequest.class, + com.google.cloud.dataform.v1beta1.ListRepositoriesRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1beta1.ListRepositoriesRequest.newBuilder() @@ -556,16 +603,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -583,9 +629,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListRepositoriesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ListRepositoriesRequest_descriptor; } @java.lang.Override @@ -604,7 +650,8 @@ public com.google.cloud.dataform.v1beta1.ListRepositoriesRequest build() { @java.lang.Override public com.google.cloud.dataform.v1beta1.ListRepositoriesRequest buildPartial() { - com.google.cloud.dataform.v1beta1.ListRepositoriesRequest result = new com.google.cloud.dataform.v1beta1.ListRepositoriesRequest(this); + com.google.cloud.dataform.v1beta1.ListRepositoriesRequest result = + new com.google.cloud.dataform.v1beta1.ListRepositoriesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -618,38 +665,39 @@ public com.google.cloud.dataform.v1beta1.ListRepositoriesRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.ListRepositoriesRequest) { - return mergeFrom((com.google.cloud.dataform.v1beta1.ListRepositoriesRequest)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.ListRepositoriesRequest) other); } else { super.mergeFrom(other); return this; @@ -657,7 +705,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1beta1.ListRepositoriesRequest other) { - if (other == com.google.cloud.dataform.v1beta1.ListRepositoriesRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1beta1.ListRepositoriesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -696,7 +745,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.ListRepositoriesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.ListRepositoriesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -708,19 +758,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The location in which to list repositories. Must be in the format
      * `projects/*/locations/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -729,21 +783,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location in which to list repositories. Must be in the format
      * `projects/*/locations/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -751,64 +808,79 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The location in which to list repositories. Must be in the format
      * `projects/*/locations/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The location in which to list repositories. Must be in the format
      * `projects/*/locations/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The location in which to list repositories. Must be in the format
      * `projects/*/locations/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. Maximum number of repositories to return. The server may return fewer
      * items than requested. If unspecified, the server will pick an appropriate
@@ -816,6 +888,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -823,6 +896,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. Maximum number of repositories to return. The server may return fewer
      * items than requested. If unspecified, the server will pick an appropriate
@@ -830,16 +905,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Maximum number of repositories to return. The server may return fewer
      * items than requested. If unspecified, the server will pick an appropriate
@@ -847,10 +925,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -858,6 +937,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. Page token received from a previous `ListRepositories` call.
      * Provide this to retrieve the subsequent page.
@@ -866,13 +947,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -881,6 +962,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `ListRepositories` call.
      * Provide this to retrieve the subsequent page.
@@ -889,15 +972,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -905,6 +987,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `ListRepositories` call.
      * Provide this to retrieve the subsequent page.
@@ -913,20 +997,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Page token received from a previous `ListRepositories` call.
      * Provide this to retrieve the subsequent page.
@@ -935,15 +1021,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * Optional. Page token received from a previous `ListRepositories` call.
      * Provide this to retrieve the subsequent page.
@@ -952,16 +1041,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -969,6 +1058,8 @@ public Builder setPageTokenBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Optional. This field only supports ordering by `name`. If unspecified, the server
      * will choose the ordering. If specified, the default order is ascending for
@@ -976,13 +1067,13 @@ public Builder setPageTokenBytes(
      * 
* * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -991,6 +1082,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. This field only supports ordering by `name`. If unspecified, the server
      * will choose the ordering. If specified, the default order is ascending for
@@ -998,15 +1091,14 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1014,6 +1106,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. This field only supports ordering by `name`. If unspecified, the server
      * will choose the ordering. If specified, the default order is ascending for
@@ -1021,20 +1115,22 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { + public Builder setOrderBy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** + * + * *
      * Optional. This field only supports ordering by `name`. If unspecified, the server
      * will choose the ordering. If specified, the default order is ascending for
@@ -1042,15 +1138,18 @@ public Builder setOrderBy(
      * 
* * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** + * + * *
      * Optional. This field only supports ordering by `name`. If unspecified, the server
      * will choose the ordering. If specified, the default order is ascending for
@@ -1058,16 +1157,16 @@ public Builder clearOrderBy() {
      * 
* * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; @@ -1075,18 +1174,20 @@ public Builder setOrderByBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Optional. Filter for the returned list.
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1095,20 +1196,21 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filter for the returned list.
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -1116,61 +1218,68 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filter for the returned list.
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Filter for the returned list.
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * Optional. Filter for the returned list.
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1180,12 +1289,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.ListRepositoriesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.ListRepositoriesRequest) private static final com.google.cloud.dataform.v1beta1.ListRepositoriesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.ListRepositoriesRequest(); } @@ -1194,16 +1303,16 @@ public static com.google.cloud.dataform.v1beta1.ListRepositoriesRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRepositoriesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListRepositoriesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRepositoriesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRepositoriesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1218,6 +1327,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1beta1.ListRepositoriesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListRepositoriesRequestOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListRepositoriesRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListRepositoriesRequestOrBuilder.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListRepositoriesRequestOrBuilder.java index 738ca8b..4e84110 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListRepositoriesRequestOrBuilder.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListRepositoriesRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; -public interface ListRepositoriesRequestOrBuilder extends +public interface ListRepositoriesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.ListRepositoriesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The location in which to list repositories. Must be in the format
    * `projects/*/locations/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The location in which to list repositories. Must be in the format
    * `projects/*/locations/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Optional. Maximum number of repositories to return. The server may return fewer
    * items than requested. If unspecified, the server will pick an appropriate
@@ -37,11 +64,14 @@ public interface ListRepositoriesRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. Page token received from a previous `ListRepositories` call.
    * Provide this to retrieve the subsequent page.
@@ -50,10 +80,13 @@ public interface ListRepositoriesRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. Page token received from a previous `ListRepositories` call.
    * Provide this to retrieve the subsequent page.
@@ -62,12 +95,14 @@ public interface ListRepositoriesRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. This field only supports ordering by `name`. If unspecified, the server
    * will choose the ordering. If specified, the default order is ascending for
@@ -75,10 +110,13 @@ public interface ListRepositoriesRequestOrBuilder extends
    * 
* * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Optional. This field only supports ordering by `name`. If unspecified, the server
    * will choose the ordering. If specified, the default order is ascending for
@@ -86,28 +124,33 @@ public interface ListRepositoriesRequestOrBuilder extends
    * 
* * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); /** + * + * *
    * Optional. Filter for the returned list.
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Optional. Filter for the returned list.
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListRepositoriesResponse.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListRepositoriesResponse.java similarity index 74% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListRepositoriesResponse.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListRepositoriesResponse.java index fb11aeb..a976bb8 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListRepositoriesResponse.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListRepositoriesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * `ListRepositories` response message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.ListRepositoriesResponse} */ -public final class ListRepositoriesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListRepositoriesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.ListRepositoriesResponse) ListRepositoriesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListRepositoriesResponse.newBuilder() to construct. private ListRepositoriesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListRepositoriesResponse() { repositories_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -27,16 +45,15 @@ private ListRepositoriesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListRepositoriesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListRepositoriesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,37 +73,42 @@ private ListRepositoriesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - repositories_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + repositories_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + repositories_.add( + input.readMessage( + com.google.cloud.dataform.v1beta1.Repository.parser(), extensionRegistry)); + break; } - repositories_.add( - input.readMessage(com.google.cloud.dataform.v1beta1.Repository.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + nextPageToken_ = s; + break; } - unreachable_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + unreachable_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -94,8 +116,7 @@ private ListRepositoriesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { repositories_ = java.util.Collections.unmodifiableList(repositories_); @@ -107,22 +128,27 @@ private ListRepositoriesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListRepositoriesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ListRepositoriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListRepositoriesResponse_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ListRepositoriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.ListRepositoriesResponse.class, com.google.cloud.dataform.v1beta1.ListRepositoriesResponse.Builder.class); + com.google.cloud.dataform.v1beta1.ListRepositoriesResponse.class, + com.google.cloud.dataform.v1beta1.ListRepositoriesResponse.Builder.class); } public static final int REPOSITORIES_FIELD_NUMBER = 1; private java.util.List repositories_; /** + * + * *
    * List of repositories.
    * 
@@ -134,6 +160,8 @@ public java.util.List getRepositor return repositories_; } /** + * + * *
    * List of repositories.
    * 
@@ -141,11 +169,13 @@ public java.util.List getRepositor * repeated .google.cloud.dataform.v1beta1.Repository repositories = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRepositoriesOrBuilderList() { return repositories_; } /** + * + * *
    * List of repositories.
    * 
@@ -157,6 +187,8 @@ public int getRepositoriesCount() { return repositories_.size(); } /** + * + * *
    * List of repositories.
    * 
@@ -168,6 +200,8 @@ public com.google.cloud.dataform.v1beta1.Repository getRepositories(int index) { return repositories_.get(index); } /** + * + * *
    * List of repositories.
    * 
@@ -175,20 +209,22 @@ public com.google.cloud.dataform.v1beta1.Repository getRepositories(int index) { * repeated .google.cloud.dataform.v1beta1.Repository repositories = 1; */ @java.lang.Override - public com.google.cloud.dataform.v1beta1.RepositoryOrBuilder getRepositoriesOrBuilder( - int index) { + public com.google.cloud.dataform.v1beta1.RepositoryOrBuilder getRepositoriesOrBuilder(int index) { return repositories_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -197,30 +233,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -231,34 +267,42 @@ public java.lang.String getNextPageToken() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -266,20 +310,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -291,8 +338,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < repositories_.size(); i++) { output.writeMessage(1, repositories_.get(i)); } @@ -312,8 +358,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < repositories_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, repositories_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, repositories_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -334,19 +379,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.ListRepositoriesResponse)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.ListRepositoriesResponse other = (com.google.cloud.dataform.v1beta1.ListRepositoriesResponse) obj; + com.google.cloud.dataform.v1beta1.ListRepositoriesResponse other = + (com.google.cloud.dataform.v1beta1.ListRepositoriesResponse) obj; - if (!getRepositoriesList() - .equals(other.getRepositoriesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getRepositoriesList().equals(other.getRepositoriesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -374,117 +417,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.ListRepositoriesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.ListRepositoriesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.ListRepositoriesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.ListRepositoriesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.ListRepositoriesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.ListRepositoriesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.ListRepositoriesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.ListRepositoriesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.ListRepositoriesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.ListRepositoriesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.ListRepositoriesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.ListRepositoriesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.ListRepositoriesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.ListRepositoriesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.ListRepositoriesResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.ListRepositoriesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `ListRepositories` response message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.ListRepositoriesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.ListRepositoriesResponse) com.google.cloud.dataform.v1beta1.ListRepositoriesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListRepositoriesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ListRepositoriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListRepositoriesResponse_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ListRepositoriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.ListRepositoriesResponse.class, com.google.cloud.dataform.v1beta1.ListRepositoriesResponse.Builder.class); + com.google.cloud.dataform.v1beta1.ListRepositoriesResponse.class, + com.google.cloud.dataform.v1beta1.ListRepositoriesResponse.Builder.class); } // Construct using com.google.cloud.dataform.v1beta1.ListRepositoriesResponse.newBuilder() @@ -492,17 +545,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getRepositoriesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -520,9 +573,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListRepositoriesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ListRepositoriesResponse_descriptor; } @java.lang.Override @@ -541,7 +594,8 @@ public com.google.cloud.dataform.v1beta1.ListRepositoriesResponse build() { @java.lang.Override public com.google.cloud.dataform.v1beta1.ListRepositoriesResponse buildPartial() { - com.google.cloud.dataform.v1beta1.ListRepositoriesResponse result = new com.google.cloud.dataform.v1beta1.ListRepositoriesResponse(this); + com.google.cloud.dataform.v1beta1.ListRepositoriesResponse result = + new com.google.cloud.dataform.v1beta1.ListRepositoriesResponse(this); int from_bitField0_ = bitField0_; if (repositoriesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -566,38 +620,39 @@ public com.google.cloud.dataform.v1beta1.ListRepositoriesResponse buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.ListRepositoriesResponse) { - return mergeFrom((com.google.cloud.dataform.v1beta1.ListRepositoriesResponse)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.ListRepositoriesResponse) other); } else { super.mergeFrom(other); return this; @@ -605,7 +660,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1beta1.ListRepositoriesResponse other) { - if (other == com.google.cloud.dataform.v1beta1.ListRepositoriesResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1beta1.ListRepositoriesResponse.getDefaultInstance()) + return this; if (repositoriesBuilder_ == null) { if (!other.repositories_.isEmpty()) { if (repositories_.isEmpty()) { @@ -624,9 +680,10 @@ public Builder mergeFrom(com.google.cloud.dataform.v1beta1.ListRepositoriesRespo repositoriesBuilder_ = null; repositories_ = other.repositories_; bitField0_ = (bitField0_ & ~0x00000001); - repositoriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getRepositoriesFieldBuilder() : null; + repositoriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getRepositoriesFieldBuilder() + : null; } else { repositoriesBuilder_.addAllMessages(other.repositories_); } @@ -665,7 +722,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.ListRepositoriesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.ListRepositoriesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -674,21 +732,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List repositories_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRepositoriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - repositories_ = new java.util.ArrayList(repositories_); + repositories_ = + new java.util.ArrayList(repositories_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1beta1.Repository, com.google.cloud.dataform.v1beta1.Repository.Builder, com.google.cloud.dataform.v1beta1.RepositoryOrBuilder> repositoriesBuilder_; + com.google.cloud.dataform.v1beta1.Repository, + com.google.cloud.dataform.v1beta1.Repository.Builder, + com.google.cloud.dataform.v1beta1.RepositoryOrBuilder> + repositoriesBuilder_; /** + * + * *
      * List of repositories.
      * 
@@ -703,6 +769,8 @@ public java.util.List getRepositor } } /** + * + * *
      * List of repositories.
      * 
@@ -717,6 +785,8 @@ public int getRepositoriesCount() { } } /** + * + * *
      * List of repositories.
      * 
@@ -731,14 +801,15 @@ public com.google.cloud.dataform.v1beta1.Repository getRepositories(int index) { } } /** + * + * *
      * List of repositories.
      * 
* * repeated .google.cloud.dataform.v1beta1.Repository repositories = 1; */ - public Builder setRepositories( - int index, com.google.cloud.dataform.v1beta1.Repository value) { + public Builder setRepositories(int index, com.google.cloud.dataform.v1beta1.Repository value) { if (repositoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -752,6 +823,8 @@ public Builder setRepositories( return this; } /** + * + * *
      * List of repositories.
      * 
@@ -770,6 +843,8 @@ public Builder setRepositories( return this; } /** + * + * *
      * List of repositories.
      * 
@@ -790,14 +865,15 @@ public Builder addRepositories(com.google.cloud.dataform.v1beta1.Repository valu return this; } /** + * + * *
      * List of repositories.
      * 
* * repeated .google.cloud.dataform.v1beta1.Repository repositories = 1; */ - public Builder addRepositories( - int index, com.google.cloud.dataform.v1beta1.Repository value) { + public Builder addRepositories(int index, com.google.cloud.dataform.v1beta1.Repository value) { if (repositoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -811,6 +887,8 @@ public Builder addRepositories( return this; } /** + * + * *
      * List of repositories.
      * 
@@ -829,6 +907,8 @@ public Builder addRepositories( return this; } /** + * + * *
      * List of repositories.
      * 
@@ -847,6 +927,8 @@ public Builder addRepositories( return this; } /** + * + * *
      * List of repositories.
      * 
@@ -857,8 +939,7 @@ public Builder addAllRepositories( java.lang.Iterable values) { if (repositoriesBuilder_ == null) { ensureRepositoriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, repositories_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repositories_); onChanged(); } else { repositoriesBuilder_.addAllMessages(values); @@ -866,6 +947,8 @@ public Builder addAllRepositories( return this; } /** + * + * *
      * List of repositories.
      * 
@@ -883,6 +966,8 @@ public Builder clearRepositories() { return this; } /** + * + * *
      * List of repositories.
      * 
@@ -900,17 +985,20 @@ public Builder removeRepositories(int index) { return this; } /** + * + * *
      * List of repositories.
      * 
* * repeated .google.cloud.dataform.v1beta1.Repository repositories = 1; */ - public com.google.cloud.dataform.v1beta1.Repository.Builder getRepositoriesBuilder( - int index) { + public com.google.cloud.dataform.v1beta1.Repository.Builder getRepositoriesBuilder(int index) { return getRepositoriesFieldBuilder().getBuilder(index); } /** + * + * *
      * List of repositories.
      * 
@@ -920,19 +1008,22 @@ public com.google.cloud.dataform.v1beta1.Repository.Builder getRepositoriesBuild public com.google.cloud.dataform.v1beta1.RepositoryOrBuilder getRepositoriesOrBuilder( int index) { if (repositoriesBuilder_ == null) { - return repositories_.get(index); } else { + return repositories_.get(index); + } else { return repositoriesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of repositories.
      * 
* * repeated .google.cloud.dataform.v1beta1.Repository repositories = 1; */ - public java.util.List - getRepositoriesOrBuilderList() { + public java.util.List + getRepositoriesOrBuilderList() { if (repositoriesBuilder_ != null) { return repositoriesBuilder_.getMessageOrBuilderList(); } else { @@ -940,6 +1031,8 @@ public com.google.cloud.dataform.v1beta1.RepositoryOrBuilder getRepositoriesOrBu } } /** + * + * *
      * List of repositories.
      * 
@@ -947,42 +1040,48 @@ public com.google.cloud.dataform.v1beta1.RepositoryOrBuilder getRepositoriesOrBu * repeated .google.cloud.dataform.v1beta1.Repository repositories = 1; */ public com.google.cloud.dataform.v1beta1.Repository.Builder addRepositoriesBuilder() { - return getRepositoriesFieldBuilder().addBuilder( - com.google.cloud.dataform.v1beta1.Repository.getDefaultInstance()); + return getRepositoriesFieldBuilder() + .addBuilder(com.google.cloud.dataform.v1beta1.Repository.getDefaultInstance()); } /** + * + * *
      * List of repositories.
      * 
* * repeated .google.cloud.dataform.v1beta1.Repository repositories = 1; */ - public com.google.cloud.dataform.v1beta1.Repository.Builder addRepositoriesBuilder( - int index) { - return getRepositoriesFieldBuilder().addBuilder( - index, com.google.cloud.dataform.v1beta1.Repository.getDefaultInstance()); + public com.google.cloud.dataform.v1beta1.Repository.Builder addRepositoriesBuilder(int index) { + return getRepositoriesFieldBuilder() + .addBuilder(index, com.google.cloud.dataform.v1beta1.Repository.getDefaultInstance()); } /** + * + * *
      * List of repositories.
      * 
* * repeated .google.cloud.dataform.v1beta1.Repository repositories = 1; */ - public java.util.List - getRepositoriesBuilderList() { + public java.util.List + getRepositoriesBuilderList() { return getRepositoriesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1beta1.Repository, com.google.cloud.dataform.v1beta1.Repository.Builder, com.google.cloud.dataform.v1beta1.RepositoryOrBuilder> + com.google.cloud.dataform.v1beta1.Repository, + com.google.cloud.dataform.v1beta1.Repository.Builder, + com.google.cloud.dataform.v1beta1.RepositoryOrBuilder> getRepositoriesFieldBuilder() { if (repositoriesBuilder_ == null) { - repositoriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1beta1.Repository, com.google.cloud.dataform.v1beta1.Repository.Builder, com.google.cloud.dataform.v1beta1.RepositoryOrBuilder>( - repositories_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + repositoriesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Repository, + com.google.cloud.dataform.v1beta1.Repository.Builder, + com.google.cloud.dataform.v1beta1.RepositoryOrBuilder>( + repositories_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); repositories_ = null; } return repositoriesBuilder_; @@ -990,19 +1089,21 @@ public com.google.cloud.dataform.v1beta1.Repository.Builder addRepositoriesBuild private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1011,21 +1112,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1033,98 +1135,115 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList unreachable_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1132,80 +1251,90 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { + public Builder setUnreachable(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { + public Builder addUnreachable(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); onChanged(); return this; } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1215,28 +1344,30 @@ public Builder clearUnreachable() { return this; } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1246,12 +1377,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.ListRepositoriesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.ListRepositoriesResponse) private static final com.google.cloud.dataform.v1beta1.ListRepositoriesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.ListRepositoriesResponse(); } @@ -1260,16 +1391,16 @@ public static com.google.cloud.dataform.v1beta1.ListRepositoriesResponse getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRepositoriesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListRepositoriesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRepositoriesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRepositoriesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1284,6 +1415,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1beta1.ListRepositoriesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListRepositoriesResponseOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListRepositoriesResponseOrBuilder.java similarity index 71% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListRepositoriesResponseOrBuilder.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListRepositoriesResponseOrBuilder.java index fb8dda4..7476199 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListRepositoriesResponseOrBuilder.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListRepositoriesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; -public interface ListRepositoriesResponseOrBuilder extends +public interface ListRepositoriesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.ListRepositoriesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of repositories.
    * 
* * repeated .google.cloud.dataform.v1beta1.Repository repositories = 1; */ - java.util.List - getRepositoriesList(); + java.util.List getRepositoriesList(); /** + * + * *
    * List of repositories.
    * 
@@ -25,6 +44,8 @@ public interface ListRepositoriesResponseOrBuilder extends */ com.google.cloud.dataform.v1beta1.Repository getRepositories(int index); /** + * + * *
    * List of repositories.
    * 
@@ -33,84 +54,102 @@ public interface ListRepositoriesResponseOrBuilder extends */ int getRepositoriesCount(); /** + * + * *
    * List of repositories.
    * 
* * repeated .google.cloud.dataform.v1beta1.Repository repositories = 1; */ - java.util.List + java.util.List getRepositoriesOrBuilderList(); /** + * + * *
    * List of repositories.
    * 
* * repeated .google.cloud.dataform.v1beta1.Repository repositories = 1; */ - com.google.cloud.dataform.v1beta1.RepositoryOrBuilder getRepositoriesOrBuilder( - int index); + com.google.cloud.dataform.v1beta1.RepositoryOrBuilder getRepositoriesOrBuilder(int index); /** + * + * *
    * A token which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkflowInvocationsRequest.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkflowInvocationsRequest.java similarity index 68% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkflowInvocationsRequest.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkflowInvocationsRequest.java index d6ca006..8a3bb35 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkflowInvocationsRequest.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkflowInvocationsRequest.java @@ -1,24 +1,43 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * `ListWorkflowInvocations` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest} */ -public final class ListWorkflowInvocationsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListWorkflowInvocationsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest) ListWorkflowInvocationsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListWorkflowInvocationsRequest.newBuilder() to construct. - private ListWorkflowInvocationsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListWorkflowInvocationsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListWorkflowInvocationsRequest() { parent_ = ""; pageToken_ = ""; @@ -26,16 +45,15 @@ private ListWorkflowInvocationsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListWorkflowInvocationsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListWorkflowInvocationsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +72,32 @@ private ListWorkflowInvocationsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: { - - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,35 +105,42 @@ private ListWorkflowInvocationsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest.class, com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest.Builder.class); + com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest.class, + com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent resource of the WorkflowInvocation type. Must be in the
    * format `projects/*/locations/*/repositories/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -122,30 +149,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent resource of the WorkflowInvocation type. Must be in the
    * format `projects/*/locations/*/repositories/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -156,6 +185,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * Optional. Maximum number of workflow invocations to return. The server may return
    * fewer items than requested. If unspecified, the server will pick an
@@ -163,6 +194,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -173,6 +205,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * Optional. Page token received from a previous `ListWorkflowInvocations` call.
    * Provide this to retrieve the subsequent page.
@@ -181,6 +215,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -189,14 +224,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Optional. Page token received from a previous `ListWorkflowInvocations` call.
    * Provide this to retrieve the subsequent page.
@@ -205,16 +241,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -223,6 +258,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -234,8 +270,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -258,8 +293,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -272,19 +306,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest other = (com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest) obj; + com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest other = + (com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -308,117 +340,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `ListWorkflowInvocations` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest) com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest.class, com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest.Builder.class); + com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest.class, + com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest.newBuilder() @@ -426,16 +468,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -449,13 +490,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest getDefaultInstanceForType() { + public com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest + getDefaultInstanceForType() { return com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest.getDefaultInstance(); } @@ -470,7 +512,8 @@ public com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest build() @java.lang.Override public com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest buildPartial() { - com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest result = new com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest(this); + com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest result = + new com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -482,46 +525,50 @@ public com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest buildPar public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest) { - return mergeFrom((com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest other) { - if (other == com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest other) { + if (other + == com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -552,7 +599,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -564,19 +613,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent resource of the WorkflowInvocation type. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -585,21 +638,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the WorkflowInvocation type. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -607,64 +663,79 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the WorkflowInvocation type. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The parent resource of the WorkflowInvocation type. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The parent resource of the WorkflowInvocation type. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. Maximum number of workflow invocations to return. The server may return
      * fewer items than requested. If unspecified, the server will pick an
@@ -672,6 +743,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -679,6 +751,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. Maximum number of workflow invocations to return. The server may return
      * fewer items than requested. If unspecified, the server will pick an
@@ -686,16 +760,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Maximum number of workflow invocations to return. The server may return
      * fewer items than requested. If unspecified, the server will pick an
@@ -703,10 +780,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -714,6 +792,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. Page token received from a previous `ListWorkflowInvocations` call.
      * Provide this to retrieve the subsequent page.
@@ -722,13 +802,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -737,6 +817,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `ListWorkflowInvocations` call.
      * Provide this to retrieve the subsequent page.
@@ -745,15 +827,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -761,6 +842,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `ListWorkflowInvocations` call.
      * Provide this to retrieve the subsequent page.
@@ -769,20 +852,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Page token received from a previous `ListWorkflowInvocations` call.
      * Provide this to retrieve the subsequent page.
@@ -791,15 +876,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * Optional. Page token received from a previous `ListWorkflowInvocations` call.
      * Provide this to retrieve the subsequent page.
@@ -808,23 +896,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -834,30 +922,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest) - private static final com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest(); } - public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest getDefaultInstance() { + public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListWorkflowInvocationsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListWorkflowInvocationsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListWorkflowInvocationsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListWorkflowInvocationsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -869,9 +959,8 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest getDefaultInstanceForType() { + public com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkflowInvocationsRequestOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkflowInvocationsRequestOrBuilder.java similarity index 64% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkflowInvocationsRequestOrBuilder.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkflowInvocationsRequestOrBuilder.java index 04a6489..b8d5eab 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkflowInvocationsRequestOrBuilder.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkflowInvocationsRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; -public interface ListWorkflowInvocationsRequestOrBuilder extends +public interface ListWorkflowInvocationsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.ListWorkflowInvocationsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent resource of the WorkflowInvocation type. Must be in the
    * format `projects/*/locations/*/repositories/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The parent resource of the WorkflowInvocation type. Must be in the
    * format `projects/*/locations/*/repositories/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Optional. Maximum number of workflow invocations to return. The server may return
    * fewer items than requested. If unspecified, the server will pick an
@@ -37,11 +64,14 @@ public interface ListWorkflowInvocationsRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. Page token received from a previous `ListWorkflowInvocations` call.
    * Provide this to retrieve the subsequent page.
@@ -50,10 +80,13 @@ public interface ListWorkflowInvocationsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. Page token received from a previous `ListWorkflowInvocations` call.
    * Provide this to retrieve the subsequent page.
@@ -62,8 +95,8 @@ public interface ListWorkflowInvocationsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkflowInvocationsResponse.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkflowInvocationsResponse.java similarity index 70% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkflowInvocationsResponse.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkflowInvocationsResponse.java index 0cc9f36..d2523e3 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkflowInvocationsResponse.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkflowInvocationsResponse.java @@ -1,24 +1,43 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * `ListWorkflowInvocations` response message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse} */ -public final class ListWorkflowInvocationsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListWorkflowInvocationsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse) ListWorkflowInvocationsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListWorkflowInvocationsResponse.newBuilder() to construct. - private ListWorkflowInvocationsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListWorkflowInvocationsResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListWorkflowInvocationsResponse() { workflowInvocations_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -27,16 +46,15 @@ private ListWorkflowInvocationsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListWorkflowInvocationsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListWorkflowInvocationsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,37 +74,43 @@ private ListWorkflowInvocationsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - workflowInvocations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + workflowInvocations_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + workflowInvocations_.add( + input.readMessage( + com.google.cloud.dataform.v1beta1.WorkflowInvocation.parser(), + extensionRegistry)); + break; } - workflowInvocations_.add( - input.readMessage(com.google.cloud.dataform.v1beta1.WorkflowInvocation.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + nextPageToken_ = s; + break; } - unreachable_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + unreachable_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -94,8 +118,7 @@ private ListWorkflowInvocationsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { workflowInvocations_ = java.util.Collections.unmodifiableList(workflowInvocations_); @@ -107,88 +130,110 @@ private ListWorkflowInvocationsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsResponse_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse.class, com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse.Builder.class); + com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse.class, + com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse.Builder.class); } public static final int WORKFLOW_INVOCATIONS_FIELD_NUMBER = 1; private java.util.List workflowInvocations_; /** + * + * *
    * List of workflow invocations.
    * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * */ @java.lang.Override - public java.util.List getWorkflowInvocationsList() { + public java.util.List + getWorkflowInvocationsList() { return workflowInvocations_; } /** + * + * *
    * List of workflow invocations.
    * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List getWorkflowInvocationsOrBuilderList() { return workflowInvocations_; } /** + * + * *
    * List of workflow invocations.
    * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * */ @java.lang.Override public int getWorkflowInvocationsCount() { return workflowInvocations_.size(); } /** + * + * *
    * List of workflow invocations.
    * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * */ @java.lang.Override public com.google.cloud.dataform.v1beta1.WorkflowInvocation getWorkflowInvocations(int index) { return workflowInvocations_.get(index); } /** + * + * *
    * List of workflow invocations.
    * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * */ @java.lang.Override - public com.google.cloud.dataform.v1beta1.WorkflowInvocationOrBuilder getWorkflowInvocationsOrBuilder( - int index) { + public com.google.cloud.dataform.v1beta1.WorkflowInvocationOrBuilder + getWorkflowInvocationsOrBuilder(int index) { return workflowInvocations_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -197,30 +242,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -231,34 +276,42 @@ public java.lang.String getNextPageToken() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -266,20 +319,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -291,8 +347,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < workflowInvocations_.size(); i++) { output.writeMessage(1, workflowInvocations_.get(i)); } @@ -312,8 +367,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < workflowInvocations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, workflowInvocations_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, workflowInvocations_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -334,19 +389,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse other = (com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse) obj; + com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse other = + (com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse) obj; - if (!getWorkflowInvocationsList() - .equals(other.getWorkflowInvocationsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getWorkflowInvocationsList().equals(other.getWorkflowInvocationsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -374,135 +427,147 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `ListWorkflowInvocations` response message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse) com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsResponse_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse.class, com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse.Builder.class); + com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse.class, + com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse.Builder.class); } - // Construct using com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse.newBuilder() + // Construct using + // com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getWorkflowInvocationsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -520,13 +585,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ListWorkflowInvocationsResponse_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse getDefaultInstanceForType() { + public com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse + getDefaultInstanceForType() { return com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse.getDefaultInstance(); } @@ -541,7 +607,8 @@ public com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse build() @java.lang.Override public com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse buildPartial() { - com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse result = new com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse(this); + com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse result = + new com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse(this); int from_bitField0_ = bitField0_; if (workflowInvocationsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -566,46 +633,50 @@ public com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse) { - return mergeFrom((com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse other) { - if (other == com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse other) { + if (other + == com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse.getDefaultInstance()) + return this; if (workflowInvocationsBuilder_ == null) { if (!other.workflowInvocations_.isEmpty()) { if (workflowInvocations_.isEmpty()) { @@ -624,9 +695,10 @@ public Builder mergeFrom(com.google.cloud.dataform.v1beta1.ListWorkflowInvocatio workflowInvocationsBuilder_ = null; workflowInvocations_ = other.workflowInvocations_; bitField0_ = (bitField0_ & ~0x00000001); - workflowInvocationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getWorkflowInvocationsFieldBuilder() : null; + workflowInvocationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getWorkflowInvocationsFieldBuilder() + : null; } else { workflowInvocationsBuilder_.addAllMessages(other.workflowInvocations_); } @@ -665,7 +737,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -674,28 +748,39 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private java.util.List workflowInvocations_ = - java.util.Collections.emptyList(); + private java.util.List + workflowInvocations_ = java.util.Collections.emptyList(); + private void ensureWorkflowInvocationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - workflowInvocations_ = new java.util.ArrayList(workflowInvocations_); + workflowInvocations_ = + new java.util.ArrayList( + workflowInvocations_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1beta1.WorkflowInvocation, com.google.cloud.dataform.v1beta1.WorkflowInvocation.Builder, com.google.cloud.dataform.v1beta1.WorkflowInvocationOrBuilder> workflowInvocationsBuilder_; + com.google.cloud.dataform.v1beta1.WorkflowInvocation, + com.google.cloud.dataform.v1beta1.WorkflowInvocation.Builder, + com.google.cloud.dataform.v1beta1.WorkflowInvocationOrBuilder> + workflowInvocationsBuilder_; /** + * + * *
      * List of workflow invocations.
      * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * */ - public java.util.List getWorkflowInvocationsList() { + public java.util.List + getWorkflowInvocationsList() { if (workflowInvocationsBuilder_ == null) { return java.util.Collections.unmodifiableList(workflowInvocations_); } else { @@ -703,11 +788,14 @@ public java.util.List getW } } /** + * + * *
      * List of workflow invocations.
      * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * */ public int getWorkflowInvocationsCount() { if (workflowInvocationsBuilder_ == null) { @@ -717,11 +805,14 @@ public int getWorkflowInvocationsCount() { } } /** + * + * *
      * List of workflow invocations.
      * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * */ public com.google.cloud.dataform.v1beta1.WorkflowInvocation getWorkflowInvocations(int index) { if (workflowInvocationsBuilder_ == null) { @@ -731,11 +822,14 @@ public com.google.cloud.dataform.v1beta1.WorkflowInvocation getWorkflowInvocatio } } /** + * + * *
      * List of workflow invocations.
      * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * */ public Builder setWorkflowInvocations( int index, com.google.cloud.dataform.v1beta1.WorkflowInvocation value) { @@ -752,11 +846,14 @@ public Builder setWorkflowInvocations( return this; } /** + * + * *
      * List of workflow invocations.
      * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * */ public Builder setWorkflowInvocations( int index, com.google.cloud.dataform.v1beta1.WorkflowInvocation.Builder builderForValue) { @@ -770,13 +867,17 @@ public Builder setWorkflowInvocations( return this; } /** + * + * *
      * List of workflow invocations.
      * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * */ - public Builder addWorkflowInvocations(com.google.cloud.dataform.v1beta1.WorkflowInvocation value) { + public Builder addWorkflowInvocations( + com.google.cloud.dataform.v1beta1.WorkflowInvocation value) { if (workflowInvocationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -790,11 +891,14 @@ public Builder addWorkflowInvocations(com.google.cloud.dataform.v1beta1.Workflow return this; } /** + * + * *
      * List of workflow invocations.
      * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * */ public Builder addWorkflowInvocations( int index, com.google.cloud.dataform.v1beta1.WorkflowInvocation value) { @@ -811,11 +915,14 @@ public Builder addWorkflowInvocations( return this; } /** + * + * *
      * List of workflow invocations.
      * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * */ public Builder addWorkflowInvocations( com.google.cloud.dataform.v1beta1.WorkflowInvocation.Builder builderForValue) { @@ -829,11 +936,14 @@ public Builder addWorkflowInvocations( return this; } /** + * + * *
      * List of workflow invocations.
      * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * */ public Builder addWorkflowInvocations( int index, com.google.cloud.dataform.v1beta1.WorkflowInvocation.Builder builderForValue) { @@ -847,18 +957,20 @@ public Builder addWorkflowInvocations( return this; } /** + * + * *
      * List of workflow invocations.
      * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * */ public Builder addAllWorkflowInvocations( java.lang.Iterable values) { if (workflowInvocationsBuilder_ == null) { ensureWorkflowInvocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, workflowInvocations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, workflowInvocations_); onChanged(); } else { workflowInvocationsBuilder_.addAllMessages(values); @@ -866,11 +978,14 @@ public Builder addAllWorkflowInvocations( return this; } /** + * + * *
      * List of workflow invocations.
      * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * */ public Builder clearWorkflowInvocations() { if (workflowInvocationsBuilder_ == null) { @@ -883,11 +998,14 @@ public Builder clearWorkflowInvocations() { return this; } /** + * + * *
      * List of workflow invocations.
      * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * */ public Builder removeWorkflowInvocations(int index) { if (workflowInvocationsBuilder_ == null) { @@ -900,39 +1018,49 @@ public Builder removeWorkflowInvocations(int index) { return this; } /** + * + * *
      * List of workflow invocations.
      * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * */ - public com.google.cloud.dataform.v1beta1.WorkflowInvocation.Builder getWorkflowInvocationsBuilder( - int index) { + public com.google.cloud.dataform.v1beta1.WorkflowInvocation.Builder + getWorkflowInvocationsBuilder(int index) { return getWorkflowInvocationsFieldBuilder().getBuilder(index); } /** + * + * *
      * List of workflow invocations.
      * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * */ - public com.google.cloud.dataform.v1beta1.WorkflowInvocationOrBuilder getWorkflowInvocationsOrBuilder( - int index) { + public com.google.cloud.dataform.v1beta1.WorkflowInvocationOrBuilder + getWorkflowInvocationsOrBuilder(int index) { if (workflowInvocationsBuilder_ == null) { - return workflowInvocations_.get(index); } else { + return workflowInvocations_.get(index); + } else { return workflowInvocationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of workflow invocations.
      * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * */ - public java.util.List - getWorkflowInvocationsOrBuilderList() { + public java.util.List + getWorkflowInvocationsOrBuilderList() { if (workflowInvocationsBuilder_ != null) { return workflowInvocationsBuilder_.getMessageOrBuilderList(); } else { @@ -940,45 +1068,62 @@ public com.google.cloud.dataform.v1beta1.WorkflowInvocationOrBuilder getWorkflow } } /** + * + * *
      * List of workflow invocations.
      * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * */ - public com.google.cloud.dataform.v1beta1.WorkflowInvocation.Builder addWorkflowInvocationsBuilder() { - return getWorkflowInvocationsFieldBuilder().addBuilder( - com.google.cloud.dataform.v1beta1.WorkflowInvocation.getDefaultInstance()); + public com.google.cloud.dataform.v1beta1.WorkflowInvocation.Builder + addWorkflowInvocationsBuilder() { + return getWorkflowInvocationsFieldBuilder() + .addBuilder(com.google.cloud.dataform.v1beta1.WorkflowInvocation.getDefaultInstance()); } /** + * + * *
      * List of workflow invocations.
      * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * */ - public com.google.cloud.dataform.v1beta1.WorkflowInvocation.Builder addWorkflowInvocationsBuilder( - int index) { - return getWorkflowInvocationsFieldBuilder().addBuilder( - index, com.google.cloud.dataform.v1beta1.WorkflowInvocation.getDefaultInstance()); + public com.google.cloud.dataform.v1beta1.WorkflowInvocation.Builder + addWorkflowInvocationsBuilder(int index) { + return getWorkflowInvocationsFieldBuilder() + .addBuilder( + index, com.google.cloud.dataform.v1beta1.WorkflowInvocation.getDefaultInstance()); } /** + * + * *
      * List of workflow invocations.
      * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * */ - public java.util.List - getWorkflowInvocationsBuilderList() { + public java.util.List + getWorkflowInvocationsBuilderList() { return getWorkflowInvocationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1beta1.WorkflowInvocation, com.google.cloud.dataform.v1beta1.WorkflowInvocation.Builder, com.google.cloud.dataform.v1beta1.WorkflowInvocationOrBuilder> + com.google.cloud.dataform.v1beta1.WorkflowInvocation, + com.google.cloud.dataform.v1beta1.WorkflowInvocation.Builder, + com.google.cloud.dataform.v1beta1.WorkflowInvocationOrBuilder> getWorkflowInvocationsFieldBuilder() { if (workflowInvocationsBuilder_ == null) { - workflowInvocationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1beta1.WorkflowInvocation, com.google.cloud.dataform.v1beta1.WorkflowInvocation.Builder, com.google.cloud.dataform.v1beta1.WorkflowInvocationOrBuilder>( + workflowInvocationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.WorkflowInvocation, + com.google.cloud.dataform.v1beta1.WorkflowInvocation.Builder, + com.google.cloud.dataform.v1beta1.WorkflowInvocationOrBuilder>( workflowInvocations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -990,19 +1135,21 @@ public com.google.cloud.dataform.v1beta1.WorkflowInvocation.Builder addWorkflowI private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1011,21 +1158,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1033,98 +1181,115 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList unreachable_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1132,80 +1297,90 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { + public Builder setUnreachable(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { + public Builder addUnreachable(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); onChanged(); return this; } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1215,28 +1390,30 @@ public Builder clearUnreachable() { return this; } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1246,30 +1423,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse) - private static final com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse(); } - public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse getDefaultInstance() { + public static com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListWorkflowInvocationsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListWorkflowInvocationsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListWorkflowInvocationsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListWorkflowInvocationsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1281,9 +1460,8 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse getDefaultInstanceForType() { + public com.google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkflowInvocationsResponseOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkflowInvocationsResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkflowInvocationsResponseOrBuilder.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkflowInvocationsResponseOrBuilder.java index c6e46aa..8481a5f 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkflowInvocationsResponseOrBuilder.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkflowInvocationsResponseOrBuilder.java @@ -1,116 +1,161 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; -public interface ListWorkflowInvocationsResponseOrBuilder extends +public interface ListWorkflowInvocationsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.ListWorkflowInvocationsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of workflow invocations.
    * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * */ - java.util.List - getWorkflowInvocationsList(); + java.util.List getWorkflowInvocationsList(); /** + * + * *
    * List of workflow invocations.
    * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * */ com.google.cloud.dataform.v1beta1.WorkflowInvocation getWorkflowInvocations(int index); /** + * + * *
    * List of workflow invocations.
    * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * */ int getWorkflowInvocationsCount(); /** + * + * *
    * List of workflow invocations.
    * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * */ - java.util.List + java.util.List getWorkflowInvocationsOrBuilderList(); /** + * + * *
    * List of workflow invocations.
    * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocation workflow_invocations = 1; + * */ com.google.cloud.dataform.v1beta1.WorkflowInvocationOrBuilder getWorkflowInvocationsOrBuilder( int index); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkspacesRequest.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkspacesRequest.java similarity index 72% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkspacesRequest.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkspacesRequest.java index 4b496f1..e9362bf 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkspacesRequest.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkspacesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * `ListWorkspaces` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.ListWorkspacesRequest} */ -public final class ListWorkspacesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListWorkspacesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.ListWorkspacesRequest) ListWorkspacesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListWorkspacesRequest.newBuilder() to construct. private ListWorkspacesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListWorkspacesRequest() { parent_ = ""; pageToken_ = ""; @@ -28,16 +46,15 @@ private ListWorkspacesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListWorkspacesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListWorkspacesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,42 +73,46 @@ private ListWorkspacesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + orderBy_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + filter_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,35 +120,42 @@ private ListWorkspacesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListWorkspacesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ListWorkspacesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListWorkspacesRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ListWorkspacesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.ListWorkspacesRequest.class, com.google.cloud.dataform.v1beta1.ListWorkspacesRequest.Builder.class); + com.google.cloud.dataform.v1beta1.ListWorkspacesRequest.class, + com.google.cloud.dataform.v1beta1.ListWorkspacesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The repository in which to list workspaces. Must be in the
    * format `projects/*/locations/*/repositories/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -136,30 +164,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The repository in which to list workspaces. Must be in the
    * format `projects/*/locations/*/repositories/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -170,6 +200,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * Optional. Maximum number of workspaces to return. The server may return fewer
    * items than requested. If unspecified, the server will pick an appropriate
@@ -177,6 +209,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -187,6 +220,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * Optional. Page token received from a previous `ListWorkspaces` call.
    * Provide this to retrieve the subsequent page.
@@ -195,6 +230,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -203,14 +239,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Optional. Page token received from a previous `ListWorkspaces` call.
    * Provide this to retrieve the subsequent page.
@@ -219,16 +256,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -239,6 +275,8 @@ public java.lang.String getPageToken() { public static final int ORDER_BY_FIELD_NUMBER = 4; private volatile java.lang.Object orderBy_; /** + * + * *
    * Optional. This field only supports ordering by `name`. If unspecified, the server
    * will choose the ordering. If specified, the default order is ascending for
@@ -246,6 +284,7 @@ public java.lang.String getPageToken() {
    * 
* * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -254,14 +293,15 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * Optional. This field only supports ordering by `name`. If unspecified, the server
    * will choose the ordering. If specified, the default order is ascending for
@@ -269,16 +309,15 @@ public java.lang.String getOrderBy() {
    * 
* * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -289,11 +328,14 @@ public java.lang.String getOrderBy() { public static final int FILTER_FIELD_NUMBER = 5; private volatile java.lang.Object filter_; /** + * + * *
    * Optional. Filter for the returned list.
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -302,29 +344,29 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * Optional. Filter for the returned list.
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -333,6 +375,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -344,8 +387,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -374,8 +416,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -394,23 +435,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.ListWorkspacesRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.ListWorkspacesRequest other = (com.google.cloud.dataform.v1beta1.ListWorkspacesRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; + com.google.cloud.dataform.v1beta1.ListWorkspacesRequest other = + (com.google.cloud.dataform.v1beta1.ListWorkspacesRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; + if (!getFilter().equals(other.getFilter())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -438,117 +475,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.ListWorkspacesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.ListWorkspacesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.ListWorkspacesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.ListWorkspacesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.ListWorkspacesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.ListWorkspacesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.ListWorkspacesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.ListWorkspacesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.ListWorkspacesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.ListWorkspacesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.ListWorkspacesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.ListWorkspacesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.ListWorkspacesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.ListWorkspacesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.ListWorkspacesRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.ListWorkspacesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `ListWorkspaces` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.ListWorkspacesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.ListWorkspacesRequest) com.google.cloud.dataform.v1beta1.ListWorkspacesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListWorkspacesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ListWorkspacesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListWorkspacesRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ListWorkspacesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.ListWorkspacesRequest.class, com.google.cloud.dataform.v1beta1.ListWorkspacesRequest.Builder.class); + com.google.cloud.dataform.v1beta1.ListWorkspacesRequest.class, + com.google.cloud.dataform.v1beta1.ListWorkspacesRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1beta1.ListWorkspacesRequest.newBuilder() @@ -556,16 +603,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -583,9 +629,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListWorkspacesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ListWorkspacesRequest_descriptor; } @java.lang.Override @@ -604,7 +650,8 @@ public com.google.cloud.dataform.v1beta1.ListWorkspacesRequest build() { @java.lang.Override public com.google.cloud.dataform.v1beta1.ListWorkspacesRequest buildPartial() { - com.google.cloud.dataform.v1beta1.ListWorkspacesRequest result = new com.google.cloud.dataform.v1beta1.ListWorkspacesRequest(this); + com.google.cloud.dataform.v1beta1.ListWorkspacesRequest result = + new com.google.cloud.dataform.v1beta1.ListWorkspacesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -618,38 +665,39 @@ public com.google.cloud.dataform.v1beta1.ListWorkspacesRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.ListWorkspacesRequest) { - return mergeFrom((com.google.cloud.dataform.v1beta1.ListWorkspacesRequest)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.ListWorkspacesRequest) other); } else { super.mergeFrom(other); return this; @@ -657,7 +705,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1beta1.ListWorkspacesRequest other) { - if (other == com.google.cloud.dataform.v1beta1.ListWorkspacesRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1beta1.ListWorkspacesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -696,7 +745,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.ListWorkspacesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.ListWorkspacesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -708,19 +758,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The repository in which to list workspaces. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -729,21 +783,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The repository in which to list workspaces. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -751,64 +808,79 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The repository in which to list workspaces. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The repository in which to list workspaces. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The repository in which to list workspaces. Must be in the
      * format `projects/*/locations/*/repositories/*`.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. Maximum number of workspaces to return. The server may return fewer
      * items than requested. If unspecified, the server will pick an appropriate
@@ -816,6 +888,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -823,6 +896,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. Maximum number of workspaces to return. The server may return fewer
      * items than requested. If unspecified, the server will pick an appropriate
@@ -830,16 +905,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Maximum number of workspaces to return. The server may return fewer
      * items than requested. If unspecified, the server will pick an appropriate
@@ -847,10 +925,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -858,6 +937,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. Page token received from a previous `ListWorkspaces` call.
      * Provide this to retrieve the subsequent page.
@@ -866,13 +947,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -881,6 +962,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `ListWorkspaces` call.
      * Provide this to retrieve the subsequent page.
@@ -889,15 +972,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -905,6 +987,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `ListWorkspaces` call.
      * Provide this to retrieve the subsequent page.
@@ -913,20 +997,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Page token received from a previous `ListWorkspaces` call.
      * Provide this to retrieve the subsequent page.
@@ -935,15 +1021,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * Optional. Page token received from a previous `ListWorkspaces` call.
      * Provide this to retrieve the subsequent page.
@@ -952,16 +1041,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -969,6 +1058,8 @@ public Builder setPageTokenBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Optional. This field only supports ordering by `name`. If unspecified, the server
      * will choose the ordering. If specified, the default order is ascending for
@@ -976,13 +1067,13 @@ public Builder setPageTokenBytes(
      * 
* * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -991,6 +1082,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. This field only supports ordering by `name`. If unspecified, the server
      * will choose the ordering. If specified, the default order is ascending for
@@ -998,15 +1091,14 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1014,6 +1106,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. This field only supports ordering by `name`. If unspecified, the server
      * will choose the ordering. If specified, the default order is ascending for
@@ -1021,20 +1115,22 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { + public Builder setOrderBy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** + * + * *
      * Optional. This field only supports ordering by `name`. If unspecified, the server
      * will choose the ordering. If specified, the default order is ascending for
@@ -1042,15 +1138,18 @@ public Builder setOrderBy(
      * 
* * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** + * + * *
      * Optional. This field only supports ordering by `name`. If unspecified, the server
      * will choose the ordering. If specified, the default order is ascending for
@@ -1058,16 +1157,16 @@ public Builder clearOrderBy() {
      * 
* * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; @@ -1075,18 +1174,20 @@ public Builder setOrderByBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Optional. Filter for the returned list.
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1095,20 +1196,21 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filter for the returned list.
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -1116,61 +1218,68 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filter for the returned list.
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Filter for the returned list.
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * Optional. Filter for the returned list.
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1180,12 +1289,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.ListWorkspacesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.ListWorkspacesRequest) private static final com.google.cloud.dataform.v1beta1.ListWorkspacesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.ListWorkspacesRequest(); } @@ -1194,16 +1303,16 @@ public static com.google.cloud.dataform.v1beta1.ListWorkspacesRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListWorkspacesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListWorkspacesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListWorkspacesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListWorkspacesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1218,6 +1327,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1beta1.ListWorkspacesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkspacesRequestOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkspacesRequestOrBuilder.java similarity index 71% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkspacesRequestOrBuilder.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkspacesRequestOrBuilder.java index bbd0c40..ee42771 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkspacesRequestOrBuilder.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkspacesRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; -public interface ListWorkspacesRequestOrBuilder extends +public interface ListWorkspacesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.ListWorkspacesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The repository in which to list workspaces. Must be in the
    * format `projects/*/locations/*/repositories/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The repository in which to list workspaces. Must be in the
    * format `projects/*/locations/*/repositories/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Optional. Maximum number of workspaces to return. The server may return fewer
    * items than requested. If unspecified, the server will pick an appropriate
@@ -37,11 +64,14 @@ public interface ListWorkspacesRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. Page token received from a previous `ListWorkspaces` call.
    * Provide this to retrieve the subsequent page.
@@ -50,10 +80,13 @@ public interface ListWorkspacesRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. Page token received from a previous `ListWorkspaces` call.
    * Provide this to retrieve the subsequent page.
@@ -62,12 +95,14 @@ public interface ListWorkspacesRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. This field only supports ordering by `name`. If unspecified, the server
    * will choose the ordering. If specified, the default order is ascending for
@@ -75,10 +110,13 @@ public interface ListWorkspacesRequestOrBuilder extends
    * 
* * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Optional. This field only supports ordering by `name`. If unspecified, the server
    * will choose the ordering. If specified, the default order is ascending for
@@ -86,28 +124,33 @@ public interface ListWorkspacesRequestOrBuilder extends
    * 
* * string order_by = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); /** + * + * *
    * Optional. Filter for the returned list.
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Optional. Filter for the returned list.
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkspacesResponse.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkspacesResponse.java similarity index 73% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkspacesResponse.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkspacesResponse.java index ee2807b..1676436 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkspacesResponse.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkspacesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * `ListWorkspaces` response message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.ListWorkspacesResponse} */ -public final class ListWorkspacesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListWorkspacesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.ListWorkspacesResponse) ListWorkspacesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListWorkspacesResponse.newBuilder() to construct. private ListWorkspacesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListWorkspacesResponse() { workspaces_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -27,16 +45,15 @@ private ListWorkspacesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListWorkspacesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListWorkspacesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,37 +73,42 @@ private ListWorkspacesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - workspaces_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + workspaces_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + workspaces_.add( + input.readMessage( + com.google.cloud.dataform.v1beta1.Workspace.parser(), extensionRegistry)); + break; } - workspaces_.add( - input.readMessage(com.google.cloud.dataform.v1beta1.Workspace.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + nextPageToken_ = s; + break; } - unreachable_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + unreachable_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -94,8 +116,7 @@ private ListWorkspacesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { workspaces_ = java.util.Collections.unmodifiableList(workspaces_); @@ -107,22 +128,27 @@ private ListWorkspacesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListWorkspacesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ListWorkspacesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListWorkspacesResponse_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ListWorkspacesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.ListWorkspacesResponse.class, com.google.cloud.dataform.v1beta1.ListWorkspacesResponse.Builder.class); + com.google.cloud.dataform.v1beta1.ListWorkspacesResponse.class, + com.google.cloud.dataform.v1beta1.ListWorkspacesResponse.Builder.class); } public static final int WORKSPACES_FIELD_NUMBER = 1; private java.util.List workspaces_; /** + * + * *
    * List of workspaces.
    * 
@@ -134,6 +160,8 @@ public java.util.List getWorkspaces return workspaces_; } /** + * + * *
    * List of workspaces.
    * 
@@ -141,11 +169,13 @@ public java.util.List getWorkspaces * repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1; */ @java.lang.Override - public java.util.List + public java.util.List getWorkspacesOrBuilderList() { return workspaces_; } /** + * + * *
    * List of workspaces.
    * 
@@ -157,6 +187,8 @@ public int getWorkspacesCount() { return workspaces_.size(); } /** + * + * *
    * List of workspaces.
    * 
@@ -168,6 +200,8 @@ public com.google.cloud.dataform.v1beta1.Workspace getWorkspaces(int index) { return workspaces_.get(index); } /** + * + * *
    * List of workspaces.
    * 
@@ -175,20 +209,22 @@ public com.google.cloud.dataform.v1beta1.Workspace getWorkspaces(int index) { * repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1; */ @java.lang.Override - public com.google.cloud.dataform.v1beta1.WorkspaceOrBuilder getWorkspacesOrBuilder( - int index) { + public com.google.cloud.dataform.v1beta1.WorkspaceOrBuilder getWorkspacesOrBuilder(int index) { return workspaces_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -197,30 +233,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -231,34 +267,42 @@ public java.lang.String getNextPageToken() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -266,20 +310,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -291,8 +338,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < workspaces_.size(); i++) { output.writeMessage(1, workspaces_.get(i)); } @@ -312,8 +358,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < workspaces_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, workspaces_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, workspaces_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -334,19 +379,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.ListWorkspacesResponse)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.ListWorkspacesResponse other = (com.google.cloud.dataform.v1beta1.ListWorkspacesResponse) obj; + com.google.cloud.dataform.v1beta1.ListWorkspacesResponse other = + (com.google.cloud.dataform.v1beta1.ListWorkspacesResponse) obj; - if (!getWorkspacesList() - .equals(other.getWorkspacesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getWorkspacesList().equals(other.getWorkspacesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -374,117 +417,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.ListWorkspacesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.ListWorkspacesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.ListWorkspacesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.ListWorkspacesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.ListWorkspacesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.ListWorkspacesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.ListWorkspacesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.ListWorkspacesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.ListWorkspacesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.ListWorkspacesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.ListWorkspacesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.ListWorkspacesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.ListWorkspacesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.ListWorkspacesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.ListWorkspacesResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.ListWorkspacesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `ListWorkspaces` response message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.ListWorkspacesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.ListWorkspacesResponse) com.google.cloud.dataform.v1beta1.ListWorkspacesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListWorkspacesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ListWorkspacesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListWorkspacesResponse_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ListWorkspacesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.ListWorkspacesResponse.class, com.google.cloud.dataform.v1beta1.ListWorkspacesResponse.Builder.class); + com.google.cloud.dataform.v1beta1.ListWorkspacesResponse.class, + com.google.cloud.dataform.v1beta1.ListWorkspacesResponse.Builder.class); } // Construct using com.google.cloud.dataform.v1beta1.ListWorkspacesResponse.newBuilder() @@ -492,17 +545,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getWorkspacesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -520,9 +573,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ListWorkspacesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ListWorkspacesResponse_descriptor; } @java.lang.Override @@ -541,7 +594,8 @@ public com.google.cloud.dataform.v1beta1.ListWorkspacesResponse build() { @java.lang.Override public com.google.cloud.dataform.v1beta1.ListWorkspacesResponse buildPartial() { - com.google.cloud.dataform.v1beta1.ListWorkspacesResponse result = new com.google.cloud.dataform.v1beta1.ListWorkspacesResponse(this); + com.google.cloud.dataform.v1beta1.ListWorkspacesResponse result = + new com.google.cloud.dataform.v1beta1.ListWorkspacesResponse(this); int from_bitField0_ = bitField0_; if (workspacesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -566,38 +620,39 @@ public com.google.cloud.dataform.v1beta1.ListWorkspacesResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.ListWorkspacesResponse) { - return mergeFrom((com.google.cloud.dataform.v1beta1.ListWorkspacesResponse)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.ListWorkspacesResponse) other); } else { super.mergeFrom(other); return this; @@ -605,7 +660,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1beta1.ListWorkspacesResponse other) { - if (other == com.google.cloud.dataform.v1beta1.ListWorkspacesResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1beta1.ListWorkspacesResponse.getDefaultInstance()) + return this; if (workspacesBuilder_ == null) { if (!other.workspaces_.isEmpty()) { if (workspaces_.isEmpty()) { @@ -624,9 +680,10 @@ public Builder mergeFrom(com.google.cloud.dataform.v1beta1.ListWorkspacesRespons workspacesBuilder_ = null; workspaces_ = other.workspaces_; bitField0_ = (bitField0_ & ~0x00000001); - workspacesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getWorkspacesFieldBuilder() : null; + workspacesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getWorkspacesFieldBuilder() + : null; } else { workspacesBuilder_.addAllMessages(other.workspaces_); } @@ -665,7 +722,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.ListWorkspacesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.ListWorkspacesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -674,21 +732,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List workspaces_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureWorkspacesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - workspaces_ = new java.util.ArrayList(workspaces_); + workspaces_ = + new java.util.ArrayList(workspaces_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1beta1.Workspace, com.google.cloud.dataform.v1beta1.Workspace.Builder, com.google.cloud.dataform.v1beta1.WorkspaceOrBuilder> workspacesBuilder_; + com.google.cloud.dataform.v1beta1.Workspace, + com.google.cloud.dataform.v1beta1.Workspace.Builder, + com.google.cloud.dataform.v1beta1.WorkspaceOrBuilder> + workspacesBuilder_; /** + * + * *
      * List of workspaces.
      * 
@@ -703,6 +769,8 @@ public java.util.List getWorkspaces } } /** + * + * *
      * List of workspaces.
      * 
@@ -717,6 +785,8 @@ public int getWorkspacesCount() { } } /** + * + * *
      * List of workspaces.
      * 
@@ -731,14 +801,15 @@ public com.google.cloud.dataform.v1beta1.Workspace getWorkspaces(int index) { } } /** + * + * *
      * List of workspaces.
      * 
* * repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1; */ - public Builder setWorkspaces( - int index, com.google.cloud.dataform.v1beta1.Workspace value) { + public Builder setWorkspaces(int index, com.google.cloud.dataform.v1beta1.Workspace value) { if (workspacesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -752,6 +823,8 @@ public Builder setWorkspaces( return this; } /** + * + * *
      * List of workspaces.
      * 
@@ -770,6 +843,8 @@ public Builder setWorkspaces( return this; } /** + * + * *
      * List of workspaces.
      * 
@@ -790,14 +865,15 @@ public Builder addWorkspaces(com.google.cloud.dataform.v1beta1.Workspace value) return this; } /** + * + * *
      * List of workspaces.
      * 
* * repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1; */ - public Builder addWorkspaces( - int index, com.google.cloud.dataform.v1beta1.Workspace value) { + public Builder addWorkspaces(int index, com.google.cloud.dataform.v1beta1.Workspace value) { if (workspacesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -811,6 +887,8 @@ public Builder addWorkspaces( return this; } /** + * + * *
      * List of workspaces.
      * 
@@ -829,6 +907,8 @@ public Builder addWorkspaces( return this; } /** + * + * *
      * List of workspaces.
      * 
@@ -847,6 +927,8 @@ public Builder addWorkspaces( return this; } /** + * + * *
      * List of workspaces.
      * 
@@ -857,8 +939,7 @@ public Builder addAllWorkspaces( java.lang.Iterable values) { if (workspacesBuilder_ == null) { ensureWorkspacesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, workspaces_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, workspaces_); onChanged(); } else { workspacesBuilder_.addAllMessages(values); @@ -866,6 +947,8 @@ public Builder addAllWorkspaces( return this; } /** + * + * *
      * List of workspaces.
      * 
@@ -883,6 +966,8 @@ public Builder clearWorkspaces() { return this; } /** + * + * *
      * List of workspaces.
      * 
@@ -900,39 +985,44 @@ public Builder removeWorkspaces(int index) { return this; } /** + * + * *
      * List of workspaces.
      * 
* * repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1; */ - public com.google.cloud.dataform.v1beta1.Workspace.Builder getWorkspacesBuilder( - int index) { + public com.google.cloud.dataform.v1beta1.Workspace.Builder getWorkspacesBuilder(int index) { return getWorkspacesFieldBuilder().getBuilder(index); } /** + * + * *
      * List of workspaces.
      * 
* * repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1; */ - public com.google.cloud.dataform.v1beta1.WorkspaceOrBuilder getWorkspacesOrBuilder( - int index) { + public com.google.cloud.dataform.v1beta1.WorkspaceOrBuilder getWorkspacesOrBuilder(int index) { if (workspacesBuilder_ == null) { - return workspaces_.get(index); } else { + return workspaces_.get(index); + } else { return workspacesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of workspaces.
      * 
* * repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1; */ - public java.util.List - getWorkspacesOrBuilderList() { + public java.util.List + getWorkspacesOrBuilderList() { if (workspacesBuilder_ != null) { return workspacesBuilder_.getMessageOrBuilderList(); } else { @@ -940,6 +1030,8 @@ public com.google.cloud.dataform.v1beta1.WorkspaceOrBuilder getWorkspacesOrBuild } } /** + * + * *
      * List of workspaces.
      * 
@@ -947,42 +1039,48 @@ public com.google.cloud.dataform.v1beta1.WorkspaceOrBuilder getWorkspacesOrBuild * repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1; */ public com.google.cloud.dataform.v1beta1.Workspace.Builder addWorkspacesBuilder() { - return getWorkspacesFieldBuilder().addBuilder( - com.google.cloud.dataform.v1beta1.Workspace.getDefaultInstance()); + return getWorkspacesFieldBuilder() + .addBuilder(com.google.cloud.dataform.v1beta1.Workspace.getDefaultInstance()); } /** + * + * *
      * List of workspaces.
      * 
* * repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1; */ - public com.google.cloud.dataform.v1beta1.Workspace.Builder addWorkspacesBuilder( - int index) { - return getWorkspacesFieldBuilder().addBuilder( - index, com.google.cloud.dataform.v1beta1.Workspace.getDefaultInstance()); + public com.google.cloud.dataform.v1beta1.Workspace.Builder addWorkspacesBuilder(int index) { + return getWorkspacesFieldBuilder() + .addBuilder(index, com.google.cloud.dataform.v1beta1.Workspace.getDefaultInstance()); } /** + * + * *
      * List of workspaces.
      * 
* * repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1; */ - public java.util.List - getWorkspacesBuilderList() { + public java.util.List + getWorkspacesBuilderList() { return getWorkspacesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1beta1.Workspace, com.google.cloud.dataform.v1beta1.Workspace.Builder, com.google.cloud.dataform.v1beta1.WorkspaceOrBuilder> + com.google.cloud.dataform.v1beta1.Workspace, + com.google.cloud.dataform.v1beta1.Workspace.Builder, + com.google.cloud.dataform.v1beta1.WorkspaceOrBuilder> getWorkspacesFieldBuilder() { if (workspacesBuilder_ == null) { - workspacesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1beta1.Workspace, com.google.cloud.dataform.v1beta1.Workspace.Builder, com.google.cloud.dataform.v1beta1.WorkspaceOrBuilder>( - workspaces_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + workspacesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Workspace, + com.google.cloud.dataform.v1beta1.Workspace.Builder, + com.google.cloud.dataform.v1beta1.WorkspaceOrBuilder>( + workspaces_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); workspaces_ = null; } return workspacesBuilder_; @@ -990,19 +1088,21 @@ public com.google.cloud.dataform.v1beta1.Workspace.Builder addWorkspacesBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1011,21 +1111,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1033,98 +1134,115 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList unreachable_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1132,80 +1250,90 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { + public Builder setUnreachable(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { + public Builder addUnreachable(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); onChanged(); return this; } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1215,28 +1343,30 @@ public Builder clearUnreachable() { return this; } /** + * + * *
      * Locations which could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1246,12 +1376,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.ListWorkspacesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.ListWorkspacesResponse) private static final com.google.cloud.dataform.v1beta1.ListWorkspacesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.ListWorkspacesResponse(); } @@ -1260,16 +1390,16 @@ public static com.google.cloud.dataform.v1beta1.ListWorkspacesResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListWorkspacesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListWorkspacesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListWorkspacesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListWorkspacesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1284,6 +1414,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1beta1.ListWorkspacesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkspacesResponseOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkspacesResponseOrBuilder.java similarity index 71% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkspacesResponseOrBuilder.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkspacesResponseOrBuilder.java index c3739e2..fc58ae4 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkspacesResponseOrBuilder.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ListWorkspacesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; -public interface ListWorkspacesResponseOrBuilder extends +public interface ListWorkspacesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.ListWorkspacesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of workspaces.
    * 
* * repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1; */ - java.util.List - getWorkspacesList(); + java.util.List getWorkspacesList(); /** + * + * *
    * List of workspaces.
    * 
@@ -25,6 +44,8 @@ public interface ListWorkspacesResponseOrBuilder extends */ com.google.cloud.dataform.v1beta1.Workspace getWorkspaces(int index); /** + * + * *
    * List of workspaces.
    * 
@@ -33,84 +54,102 @@ public interface ListWorkspacesResponseOrBuilder extends */ int getWorkspacesCount(); /** + * + * *
    * List of workspaces.
    * 
* * repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1; */ - java.util.List + java.util.List getWorkspacesOrBuilderList(); /** + * + * *
    * List of workspaces.
    * 
* * repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1; */ - com.google.cloud.dataform.v1beta1.WorkspaceOrBuilder getWorkspacesOrBuilder( - int index); + com.google.cloud.dataform.v1beta1.WorkspaceOrBuilder getWorkspacesOrBuilder(int index); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Locations which could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/LocationName.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/LocationName.java similarity index 100% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/LocationName.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/LocationName.java diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MakeDirectoryRequest.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MakeDirectoryRequest.java similarity index 66% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MakeDirectoryRequest.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MakeDirectoryRequest.java index af42296..4d2aa7f 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MakeDirectoryRequest.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MakeDirectoryRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * `MakeDirectory` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.MakeDirectoryRequest} */ -public final class MakeDirectoryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class MakeDirectoryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.MakeDirectoryRequest) MakeDirectoryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MakeDirectoryRequest.newBuilder() to construct. private MakeDirectoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private MakeDirectoryRequest() { workspace_ = ""; path_ = ""; @@ -26,16 +44,15 @@ private MakeDirectoryRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MakeDirectoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private MakeDirectoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private MakeDirectoryRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - workspace_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + workspace_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - path_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + path_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +99,41 @@ private MakeDirectoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MakeDirectoryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_MakeDirectoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MakeDirectoryRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_MakeDirectoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.MakeDirectoryRequest.class, com.google.cloud.dataform.v1beta1.MakeDirectoryRequest.Builder.class); + com.google.cloud.dataform.v1beta1.MakeDirectoryRequest.class, + com.google.cloud.dataform.v1beta1.MakeDirectoryRequest.Builder.class); } public static final int WORKSPACE_FIELD_NUMBER = 1; private volatile java.lang.Object workspace_; /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ @java.lang.Override @@ -116,29 +142,31 @@ public java.lang.String getWorkspace() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; } } /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ @java.lang.Override - public com.google.protobuf.ByteString - getWorkspaceBytes() { + public com.google.protobuf.ByteString getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workspace_ = b; return b; } else { @@ -149,12 +177,15 @@ public java.lang.String getWorkspace() { public static final int PATH_FIELD_NUMBER = 2; private volatile java.lang.Object path_; /** + * + * *
    * Required. The directory's full path including directory name, relative to the
    * workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The path. */ @java.lang.Override @@ -163,30 +194,30 @@ public java.lang.String getPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } } /** + * + * *
    * Required. The directory's full path including directory name, relative to the
    * workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for path. */ @java.lang.Override - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); path_ = b; return b; } else { @@ -195,6 +226,7 @@ public java.lang.String getPath() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,8 +238,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workspace_); } @@ -237,17 +268,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.MakeDirectoryRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.MakeDirectoryRequest other = (com.google.cloud.dataform.v1beta1.MakeDirectoryRequest) obj; + com.google.cloud.dataform.v1beta1.MakeDirectoryRequest other = + (com.google.cloud.dataform.v1beta1.MakeDirectoryRequest) obj; - if (!getWorkspace() - .equals(other.getWorkspace())) return false; - if (!getPath() - .equals(other.getPath())) return false; + if (!getWorkspace().equals(other.getWorkspace())) return false; + if (!getPath().equals(other.getPath())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -269,117 +299,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.MakeDirectoryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.MakeDirectoryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.MakeDirectoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.MakeDirectoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.MakeDirectoryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.MakeDirectoryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.MakeDirectoryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.MakeDirectoryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.MakeDirectoryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.MakeDirectoryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.MakeDirectoryRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.MakeDirectoryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.MakeDirectoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.MakeDirectoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.MakeDirectoryRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.MakeDirectoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `MakeDirectory` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.MakeDirectoryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.MakeDirectoryRequest) com.google.cloud.dataform.v1beta1.MakeDirectoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MakeDirectoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_MakeDirectoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MakeDirectoryRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_MakeDirectoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.MakeDirectoryRequest.class, com.google.cloud.dataform.v1beta1.MakeDirectoryRequest.Builder.class); + com.google.cloud.dataform.v1beta1.MakeDirectoryRequest.class, + com.google.cloud.dataform.v1beta1.MakeDirectoryRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1beta1.MakeDirectoryRequest.newBuilder() @@ -387,16 +427,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -408,9 +447,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MakeDirectoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_MakeDirectoryRequest_descriptor; } @java.lang.Override @@ -429,7 +468,8 @@ public com.google.cloud.dataform.v1beta1.MakeDirectoryRequest build() { @java.lang.Override public com.google.cloud.dataform.v1beta1.MakeDirectoryRequest buildPartial() { - com.google.cloud.dataform.v1beta1.MakeDirectoryRequest result = new com.google.cloud.dataform.v1beta1.MakeDirectoryRequest(this); + com.google.cloud.dataform.v1beta1.MakeDirectoryRequest result = + new com.google.cloud.dataform.v1beta1.MakeDirectoryRequest(this); result.workspace_ = workspace_; result.path_ = path_; onBuilt(); @@ -440,38 +480,39 @@ public com.google.cloud.dataform.v1beta1.MakeDirectoryRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.MakeDirectoryRequest) { - return mergeFrom((com.google.cloud.dataform.v1beta1.MakeDirectoryRequest)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.MakeDirectoryRequest) other); } else { super.mergeFrom(other); return this; @@ -479,7 +520,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1beta1.MakeDirectoryRequest other) { - if (other == com.google.cloud.dataform.v1beta1.MakeDirectoryRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1beta1.MakeDirectoryRequest.getDefaultInstance()) + return this; if (!other.getWorkspace().isEmpty()) { workspace_ = other.workspace_; onChanged(); @@ -507,7 +549,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.MakeDirectoryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.MakeDirectoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -519,18 +562,22 @@ public Builder mergeFrom( private java.lang.Object workspace_ = ""; /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ public java.lang.String getWorkspace() { java.lang.Object ref = workspace_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; @@ -539,20 +586,23 @@ public java.lang.String getWorkspace() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ - public com.google.protobuf.ByteString - getWorkspaceBytes() { + public com.google.protobuf.ByteString getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workspace_ = b; return b; } else { @@ -560,54 +610,67 @@ public java.lang.String getWorkspace() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The workspace to set. * @return This builder for chaining. */ - public Builder setWorkspace( - java.lang.String value) { + public Builder setWorkspace(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + workspace_ = value; onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearWorkspace() { - + workspace_ = getDefaultInstance().getWorkspace(); onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for workspace to set. * @return This builder for chaining. */ - public Builder setWorkspaceBytes( - com.google.protobuf.ByteString value) { + public Builder setWorkspaceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workspace_ = value; onChanged(); return this; @@ -615,19 +678,21 @@ public Builder setWorkspaceBytes( private java.lang.Object path_ = ""; /** + * + * *
      * Required. The directory's full path including directory name, relative to the
      * workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; @@ -636,21 +701,22 @@ public java.lang.String getPath() { } } /** + * + * *
      * Required. The directory's full path including directory name, relative to the
      * workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for path. */ - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); path_ = b; return b; } else { @@ -658,64 +724,71 @@ public java.lang.String getPath() { } } /** + * + * *
      * Required. The directory's full path including directory name, relative to the
      * workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath( - java.lang.String value) { + public Builder setPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + path_ = value; onChanged(); return this; } /** + * + * *
      * Required. The directory's full path including directory name, relative to the
      * workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearPath() { - + path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** + * + * *
      * Required. The directory's full path including directory name, relative to the
      * workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes( - com.google.protobuf.ByteString value) { + public Builder setPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -725,12 +798,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.MakeDirectoryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.MakeDirectoryRequest) private static final com.google.cloud.dataform.v1beta1.MakeDirectoryRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.MakeDirectoryRequest(); } @@ -739,16 +812,16 @@ public static com.google.cloud.dataform.v1beta1.MakeDirectoryRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MakeDirectoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MakeDirectoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MakeDirectoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MakeDirectoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -763,6 +836,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1beta1.MakeDirectoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MakeDirectoryRequestOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MakeDirectoryRequestOrBuilder.java similarity index 50% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MakeDirectoryRequestOrBuilder.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MakeDirectoryRequestOrBuilder.java index 8e3f5ae..11bc721 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MakeDirectoryRequestOrBuilder.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MakeDirectoryRequestOrBuilder.java @@ -1,51 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; -public interface MakeDirectoryRequestOrBuilder extends +public interface MakeDirectoryRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.MakeDirectoryRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ java.lang.String getWorkspace(); /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ - com.google.protobuf.ByteString - getWorkspaceBytes(); + com.google.protobuf.ByteString getWorkspaceBytes(); /** + * + * *
    * Required. The directory's full path including directory name, relative to the
    * workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The path. */ java.lang.String getPath(); /** + * + * *
    * Required. The directory's full path including directory name, relative to the
    * workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for path. */ - com.google.protobuf.ByteString - getPathBytes(); + com.google.protobuf.ByteString getPathBytes(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MakeDirectoryResponse.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MakeDirectoryResponse.java similarity index 65% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MakeDirectoryResponse.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MakeDirectoryResponse.java index 45a855e..48db3de 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MakeDirectoryResponse.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MakeDirectoryResponse.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * `MakeDirectory` response message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.MakeDirectoryResponse} */ -public final class MakeDirectoryResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class MakeDirectoryResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.MakeDirectoryResponse) MakeDirectoryResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MakeDirectoryResponse.newBuilder() to construct. private MakeDirectoryResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MakeDirectoryResponse() { - } + + private MakeDirectoryResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MakeDirectoryResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private MakeDirectoryResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private MakeDirectoryResponse( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private MakeDirectoryResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MakeDirectoryResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_MakeDirectoryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MakeDirectoryResponse_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_MakeDirectoryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.MakeDirectoryResponse.class, com.google.cloud.dataform.v1beta1.MakeDirectoryResponse.Builder.class); + com.google.cloud.dataform.v1beta1.MakeDirectoryResponse.class, + com.google.cloud.dataform.v1beta1.MakeDirectoryResponse.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.MakeDirectoryResponse)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.MakeDirectoryResponse other = (com.google.cloud.dataform.v1beta1.MakeDirectoryResponse) obj; + com.google.cloud.dataform.v1beta1.MakeDirectoryResponse other = + (com.google.cloud.dataform.v1beta1.MakeDirectoryResponse) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,117 +160,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.MakeDirectoryResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.MakeDirectoryResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.MakeDirectoryResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.MakeDirectoryResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.MakeDirectoryResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.MakeDirectoryResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.MakeDirectoryResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.MakeDirectoryResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.MakeDirectoryResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.MakeDirectoryResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.MakeDirectoryResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.MakeDirectoryResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.MakeDirectoryResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.MakeDirectoryResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.MakeDirectoryResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.MakeDirectoryResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `MakeDirectory` response message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.MakeDirectoryResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.MakeDirectoryResponse) com.google.cloud.dataform.v1beta1.MakeDirectoryResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MakeDirectoryResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_MakeDirectoryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MakeDirectoryResponse_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_MakeDirectoryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.MakeDirectoryResponse.class, com.google.cloud.dataform.v1beta1.MakeDirectoryResponse.Builder.class); + com.google.cloud.dataform.v1beta1.MakeDirectoryResponse.class, + com.google.cloud.dataform.v1beta1.MakeDirectoryResponse.Builder.class); } // Construct using com.google.cloud.dataform.v1beta1.MakeDirectoryResponse.newBuilder() @@ -259,16 +288,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,9 +304,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MakeDirectoryResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_MakeDirectoryResponse_descriptor; } @java.lang.Override @@ -297,7 +325,8 @@ public com.google.cloud.dataform.v1beta1.MakeDirectoryResponse build() { @java.lang.Override public com.google.cloud.dataform.v1beta1.MakeDirectoryResponse buildPartial() { - com.google.cloud.dataform.v1beta1.MakeDirectoryResponse result = new com.google.cloud.dataform.v1beta1.MakeDirectoryResponse(this); + com.google.cloud.dataform.v1beta1.MakeDirectoryResponse result = + new com.google.cloud.dataform.v1beta1.MakeDirectoryResponse(this); onBuilt(); return result; } @@ -306,38 +335,39 @@ public com.google.cloud.dataform.v1beta1.MakeDirectoryResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.MakeDirectoryResponse) { - return mergeFrom((com.google.cloud.dataform.v1beta1.MakeDirectoryResponse)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.MakeDirectoryResponse) other); } else { super.mergeFrom(other); return this; @@ -345,7 +375,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1beta1.MakeDirectoryResponse other) { - if (other == com.google.cloud.dataform.v1beta1.MakeDirectoryResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1beta1.MakeDirectoryResponse.getDefaultInstance()) + return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +396,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.MakeDirectoryResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.MakeDirectoryResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +406,9 @@ public Builder mergeFrom( } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -386,12 +418,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.MakeDirectoryResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.MakeDirectoryResponse) private static final com.google.cloud.dataform.v1beta1.MakeDirectoryResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.MakeDirectoryResponse(); } @@ -400,16 +432,16 @@ public static com.google.cloud.dataform.v1beta1.MakeDirectoryResponse getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MakeDirectoryResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MakeDirectoryResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MakeDirectoryResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MakeDirectoryResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -424,6 +456,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1beta1.MakeDirectoryResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MakeDirectoryResponseOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MakeDirectoryResponseOrBuilder.java new file mode 100644 index 0000000..0fcc051 --- /dev/null +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MakeDirectoryResponseOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface MakeDirectoryResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.MakeDirectoryResponse) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveDirectoryRequest.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveDirectoryRequest.java similarity index 68% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveDirectoryRequest.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveDirectoryRequest.java index c7d7691..889fd97 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveDirectoryRequest.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveDirectoryRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * `MoveDirectory` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.MoveDirectoryRequest} */ -public final class MoveDirectoryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class MoveDirectoryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.MoveDirectoryRequest) MoveDirectoryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MoveDirectoryRequest.newBuilder() to construct. private MoveDirectoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private MoveDirectoryRequest() { workspace_ = ""; path_ = ""; @@ -27,16 +45,15 @@ private MoveDirectoryRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MoveDirectoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private MoveDirectoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,31 +72,34 @@ private MoveDirectoryRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - workspace_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + workspace_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - path_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + path_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - newPath_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + newPath_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,34 +107,41 @@ private MoveDirectoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MoveDirectoryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_MoveDirectoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MoveDirectoryRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_MoveDirectoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.MoveDirectoryRequest.class, com.google.cloud.dataform.v1beta1.MoveDirectoryRequest.Builder.class); + com.google.cloud.dataform.v1beta1.MoveDirectoryRequest.class, + com.google.cloud.dataform.v1beta1.MoveDirectoryRequest.Builder.class); } public static final int WORKSPACE_FIELD_NUMBER = 1; private volatile java.lang.Object workspace_; /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ @java.lang.Override @@ -123,29 +150,31 @@ public java.lang.String getWorkspace() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; } } /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ @java.lang.Override - public com.google.protobuf.ByteString - getWorkspaceBytes() { + public com.google.protobuf.ByteString getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workspace_ = b; return b; } else { @@ -156,12 +185,15 @@ public java.lang.String getWorkspace() { public static final int PATH_FIELD_NUMBER = 2; private volatile java.lang.Object path_; /** + * + * *
    * Required. The directory's full path including directory name, relative to the
    * workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The path. */ @java.lang.Override @@ -170,30 +202,30 @@ public java.lang.String getPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } } /** + * + * *
    * Required. The directory's full path including directory name, relative to the
    * workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for path. */ @java.lang.Override - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); path_ = b; return b; } else { @@ -204,12 +236,15 @@ public java.lang.String getPath() { public static final int NEW_PATH_FIELD_NUMBER = 3; private volatile java.lang.Object newPath_; /** + * + * *
    * Required. The new path for the directory including directory name, rooted at
    * workspace root.
    * 
* * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The newPath. */ @java.lang.Override @@ -218,30 +253,30 @@ public java.lang.String getNewPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); newPath_ = s; return s; } } /** + * + * *
    * Required. The new path for the directory including directory name, rooted at
    * workspace root.
    * 
* * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for newPath. */ @java.lang.Override - public com.google.protobuf.ByteString - getNewPathBytes() { + public com.google.protobuf.ByteString getNewPathBytes() { java.lang.Object ref = newPath_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); newPath_ = b; return b; } else { @@ -250,6 +285,7 @@ public java.lang.String getNewPath() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -261,8 +297,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workspace_); } @@ -298,19 +333,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.MoveDirectoryRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.MoveDirectoryRequest other = (com.google.cloud.dataform.v1beta1.MoveDirectoryRequest) obj; + com.google.cloud.dataform.v1beta1.MoveDirectoryRequest other = + (com.google.cloud.dataform.v1beta1.MoveDirectoryRequest) obj; - if (!getWorkspace() - .equals(other.getWorkspace())) return false; - if (!getPath() - .equals(other.getPath())) return false; - if (!getNewPath() - .equals(other.getNewPath())) return false; + if (!getWorkspace().equals(other.getWorkspace())) return false; + if (!getPath().equals(other.getPath())) return false; + if (!getNewPath().equals(other.getNewPath())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -334,117 +367,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.MoveDirectoryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.MoveDirectoryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.MoveDirectoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.MoveDirectoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.MoveDirectoryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.MoveDirectoryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.MoveDirectoryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.MoveDirectoryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.MoveDirectoryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.MoveDirectoryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.MoveDirectoryRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.MoveDirectoryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.MoveDirectoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.MoveDirectoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.MoveDirectoryRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.MoveDirectoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `MoveDirectory` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.MoveDirectoryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.MoveDirectoryRequest) com.google.cloud.dataform.v1beta1.MoveDirectoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MoveDirectoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_MoveDirectoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MoveDirectoryRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_MoveDirectoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.MoveDirectoryRequest.class, com.google.cloud.dataform.v1beta1.MoveDirectoryRequest.Builder.class); + com.google.cloud.dataform.v1beta1.MoveDirectoryRequest.class, + com.google.cloud.dataform.v1beta1.MoveDirectoryRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1beta1.MoveDirectoryRequest.newBuilder() @@ -452,16 +495,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -475,9 +517,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MoveDirectoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_MoveDirectoryRequest_descriptor; } @java.lang.Override @@ -496,7 +538,8 @@ public com.google.cloud.dataform.v1beta1.MoveDirectoryRequest build() { @java.lang.Override public com.google.cloud.dataform.v1beta1.MoveDirectoryRequest buildPartial() { - com.google.cloud.dataform.v1beta1.MoveDirectoryRequest result = new com.google.cloud.dataform.v1beta1.MoveDirectoryRequest(this); + com.google.cloud.dataform.v1beta1.MoveDirectoryRequest result = + new com.google.cloud.dataform.v1beta1.MoveDirectoryRequest(this); result.workspace_ = workspace_; result.path_ = path_; result.newPath_ = newPath_; @@ -508,38 +551,39 @@ public com.google.cloud.dataform.v1beta1.MoveDirectoryRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.MoveDirectoryRequest) { - return mergeFrom((com.google.cloud.dataform.v1beta1.MoveDirectoryRequest)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.MoveDirectoryRequest) other); } else { super.mergeFrom(other); return this; @@ -547,7 +591,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1beta1.MoveDirectoryRequest other) { - if (other == com.google.cloud.dataform.v1beta1.MoveDirectoryRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1beta1.MoveDirectoryRequest.getDefaultInstance()) + return this; if (!other.getWorkspace().isEmpty()) { workspace_ = other.workspace_; onChanged(); @@ -579,7 +624,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.MoveDirectoryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.MoveDirectoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -591,18 +637,22 @@ public Builder mergeFrom( private java.lang.Object workspace_ = ""; /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ public java.lang.String getWorkspace() { java.lang.Object ref = workspace_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; @@ -611,20 +661,23 @@ public java.lang.String getWorkspace() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ - public com.google.protobuf.ByteString - getWorkspaceBytes() { + public com.google.protobuf.ByteString getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workspace_ = b; return b; } else { @@ -632,54 +685,67 @@ public java.lang.String getWorkspace() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The workspace to set. * @return This builder for chaining. */ - public Builder setWorkspace( - java.lang.String value) { + public Builder setWorkspace(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + workspace_ = value; onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearWorkspace() { - + workspace_ = getDefaultInstance().getWorkspace(); onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for workspace to set. * @return This builder for chaining. */ - public Builder setWorkspaceBytes( - com.google.protobuf.ByteString value) { + public Builder setWorkspaceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workspace_ = value; onChanged(); return this; @@ -687,19 +753,21 @@ public Builder setWorkspaceBytes( private java.lang.Object path_ = ""; /** + * + * *
      * Required. The directory's full path including directory name, relative to the
      * workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; @@ -708,21 +776,22 @@ public java.lang.String getPath() { } } /** + * + * *
      * Required. The directory's full path including directory name, relative to the
      * workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for path. */ - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); path_ = b; return b; } else { @@ -730,57 +799,64 @@ public java.lang.String getPath() { } } /** + * + * *
      * Required. The directory's full path including directory name, relative to the
      * workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath( - java.lang.String value) { + public Builder setPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + path_ = value; onChanged(); return this; } /** + * + * *
      * Required. The directory's full path including directory name, relative to the
      * workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearPath() { - + path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** + * + * *
      * Required. The directory's full path including directory name, relative to the
      * workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes( - com.google.protobuf.ByteString value) { + public Builder setPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; onChanged(); return this; @@ -788,19 +864,21 @@ public Builder setPathBytes( private java.lang.Object newPath_ = ""; /** + * + * *
      * Required. The new path for the directory including directory name, rooted at
      * workspace root.
      * 
* * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The newPath. */ public java.lang.String getNewPath() { java.lang.Object ref = newPath_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); newPath_ = s; return s; @@ -809,21 +887,22 @@ public java.lang.String getNewPath() { } } /** + * + * *
      * Required. The new path for the directory including directory name, rooted at
      * workspace root.
      * 
* * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for newPath. */ - public com.google.protobuf.ByteString - getNewPathBytes() { + public com.google.protobuf.ByteString getNewPathBytes() { java.lang.Object ref = newPath_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); newPath_ = b; return b; } else { @@ -831,64 +910,71 @@ public java.lang.String getNewPath() { } } /** + * + * *
      * Required. The new path for the directory including directory name, rooted at
      * workspace root.
      * 
* * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The newPath to set. * @return This builder for chaining. */ - public Builder setNewPath( - java.lang.String value) { + public Builder setNewPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + newPath_ = value; onChanged(); return this; } /** + * + * *
      * Required. The new path for the directory including directory name, rooted at
      * workspace root.
      * 
* * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearNewPath() { - + newPath_ = getDefaultInstance().getNewPath(); onChanged(); return this; } /** + * + * *
      * Required. The new path for the directory including directory name, rooted at
      * workspace root.
      * 
* * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for newPath to set. * @return This builder for chaining. */ - public Builder setNewPathBytes( - com.google.protobuf.ByteString value) { + public Builder setNewPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + newPath_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -898,12 +984,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.MoveDirectoryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.MoveDirectoryRequest) private static final com.google.cloud.dataform.v1beta1.MoveDirectoryRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.MoveDirectoryRequest(); } @@ -912,16 +998,16 @@ public static com.google.cloud.dataform.v1beta1.MoveDirectoryRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MoveDirectoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MoveDirectoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MoveDirectoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MoveDirectoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -936,6 +1022,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1beta1.MoveDirectoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveDirectoryRequestOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveDirectoryRequestOrBuilder.java similarity index 58% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveDirectoryRequestOrBuilder.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveDirectoryRequestOrBuilder.java index af46fb3..6ddb1e5 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveDirectoryRequestOrBuilder.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveDirectoryRequestOrBuilder.java @@ -1,73 +1,108 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; -public interface MoveDirectoryRequestOrBuilder extends +public interface MoveDirectoryRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.MoveDirectoryRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ java.lang.String getWorkspace(); /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ - com.google.protobuf.ByteString - getWorkspaceBytes(); + com.google.protobuf.ByteString getWorkspaceBytes(); /** + * + * *
    * Required. The directory's full path including directory name, relative to the
    * workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The path. */ java.lang.String getPath(); /** + * + * *
    * Required. The directory's full path including directory name, relative to the
    * workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for path. */ - com.google.protobuf.ByteString - getPathBytes(); + com.google.protobuf.ByteString getPathBytes(); /** + * + * *
    * Required. The new path for the directory including directory name, rooted at
    * workspace root.
    * 
* * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The newPath. */ java.lang.String getNewPath(); /** + * + * *
    * Required. The new path for the directory including directory name, rooted at
    * workspace root.
    * 
* * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for newPath. */ - com.google.protobuf.ByteString - getNewPathBytes(); + com.google.protobuf.ByteString getNewPathBytes(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveDirectoryResponse.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveDirectoryResponse.java similarity index 65% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveDirectoryResponse.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveDirectoryResponse.java index 2fa3968..af446d5 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveDirectoryResponse.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveDirectoryResponse.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * `MoveDirectory` response message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.MoveDirectoryResponse} */ -public final class MoveDirectoryResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class MoveDirectoryResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.MoveDirectoryResponse) MoveDirectoryResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MoveDirectoryResponse.newBuilder() to construct. private MoveDirectoryResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MoveDirectoryResponse() { - } + + private MoveDirectoryResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MoveDirectoryResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private MoveDirectoryResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private MoveDirectoryResponse( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private MoveDirectoryResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MoveDirectoryResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_MoveDirectoryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MoveDirectoryResponse_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_MoveDirectoryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.MoveDirectoryResponse.class, com.google.cloud.dataform.v1beta1.MoveDirectoryResponse.Builder.class); + com.google.cloud.dataform.v1beta1.MoveDirectoryResponse.class, + com.google.cloud.dataform.v1beta1.MoveDirectoryResponse.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.MoveDirectoryResponse)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.MoveDirectoryResponse other = (com.google.cloud.dataform.v1beta1.MoveDirectoryResponse) obj; + com.google.cloud.dataform.v1beta1.MoveDirectoryResponse other = + (com.google.cloud.dataform.v1beta1.MoveDirectoryResponse) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,117 +160,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.MoveDirectoryResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.MoveDirectoryResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.MoveDirectoryResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.MoveDirectoryResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.MoveDirectoryResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.MoveDirectoryResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.MoveDirectoryResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.MoveDirectoryResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.MoveDirectoryResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.MoveDirectoryResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.MoveDirectoryResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.MoveDirectoryResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.MoveDirectoryResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.MoveDirectoryResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.MoveDirectoryResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.MoveDirectoryResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `MoveDirectory` response message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.MoveDirectoryResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.MoveDirectoryResponse) com.google.cloud.dataform.v1beta1.MoveDirectoryResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MoveDirectoryResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_MoveDirectoryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MoveDirectoryResponse_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_MoveDirectoryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.MoveDirectoryResponse.class, com.google.cloud.dataform.v1beta1.MoveDirectoryResponse.Builder.class); + com.google.cloud.dataform.v1beta1.MoveDirectoryResponse.class, + com.google.cloud.dataform.v1beta1.MoveDirectoryResponse.Builder.class); } // Construct using com.google.cloud.dataform.v1beta1.MoveDirectoryResponse.newBuilder() @@ -259,16 +288,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,9 +304,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MoveDirectoryResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_MoveDirectoryResponse_descriptor; } @java.lang.Override @@ -297,7 +325,8 @@ public com.google.cloud.dataform.v1beta1.MoveDirectoryResponse build() { @java.lang.Override public com.google.cloud.dataform.v1beta1.MoveDirectoryResponse buildPartial() { - com.google.cloud.dataform.v1beta1.MoveDirectoryResponse result = new com.google.cloud.dataform.v1beta1.MoveDirectoryResponse(this); + com.google.cloud.dataform.v1beta1.MoveDirectoryResponse result = + new com.google.cloud.dataform.v1beta1.MoveDirectoryResponse(this); onBuilt(); return result; } @@ -306,38 +335,39 @@ public com.google.cloud.dataform.v1beta1.MoveDirectoryResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.MoveDirectoryResponse) { - return mergeFrom((com.google.cloud.dataform.v1beta1.MoveDirectoryResponse)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.MoveDirectoryResponse) other); } else { super.mergeFrom(other); return this; @@ -345,7 +375,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1beta1.MoveDirectoryResponse other) { - if (other == com.google.cloud.dataform.v1beta1.MoveDirectoryResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1beta1.MoveDirectoryResponse.getDefaultInstance()) + return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +396,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.MoveDirectoryResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.MoveDirectoryResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +406,9 @@ public Builder mergeFrom( } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -386,12 +418,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.MoveDirectoryResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.MoveDirectoryResponse) private static final com.google.cloud.dataform.v1beta1.MoveDirectoryResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.MoveDirectoryResponse(); } @@ -400,16 +432,16 @@ public static com.google.cloud.dataform.v1beta1.MoveDirectoryResponse getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MoveDirectoryResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MoveDirectoryResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MoveDirectoryResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MoveDirectoryResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -424,6 +456,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1beta1.MoveDirectoryResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveDirectoryResponseOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveDirectoryResponseOrBuilder.java new file mode 100644 index 0000000..54d0d24 --- /dev/null +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveDirectoryResponseOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface MoveDirectoryResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.MoveDirectoryResponse) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveFileRequest.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveFileRequest.java similarity index 68% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveFileRequest.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveFileRequest.java index 058e459..6142332 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveFileRequest.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveFileRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * `MoveFile` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.MoveFileRequest} */ -public final class MoveFileRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class MoveFileRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.MoveFileRequest) MoveFileRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MoveFileRequest.newBuilder() to construct. private MoveFileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private MoveFileRequest() { workspace_ = ""; path_ = ""; @@ -27,16 +45,15 @@ private MoveFileRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MoveFileRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private MoveFileRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,31 +72,34 @@ private MoveFileRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - workspace_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + workspace_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - path_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + path_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - newPath_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + newPath_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,34 +107,41 @@ private MoveFileRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MoveFileRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_MoveFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MoveFileRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_MoveFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.MoveFileRequest.class, com.google.cloud.dataform.v1beta1.MoveFileRequest.Builder.class); + com.google.cloud.dataform.v1beta1.MoveFileRequest.class, + com.google.cloud.dataform.v1beta1.MoveFileRequest.Builder.class); } public static final int WORKSPACE_FIELD_NUMBER = 1; private volatile java.lang.Object workspace_; /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ @java.lang.Override @@ -123,29 +150,31 @@ public java.lang.String getWorkspace() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; } } /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ @java.lang.Override - public com.google.protobuf.ByteString - getWorkspaceBytes() { + public com.google.protobuf.ByteString getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workspace_ = b; return b; } else { @@ -156,11 +185,14 @@ public java.lang.String getWorkspace() { public static final int PATH_FIELD_NUMBER = 2; private volatile java.lang.Object path_; /** + * + * *
    * Required. The file's full path including filename, relative to the workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The path. */ @java.lang.Override @@ -169,29 +201,29 @@ public java.lang.String getPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } } /** + * + * *
    * Required. The file's full path including filename, relative to the workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for path. */ @java.lang.Override - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); path_ = b; return b; } else { @@ -202,11 +234,14 @@ public java.lang.String getPath() { public static final int NEW_PATH_FIELD_NUMBER = 3; private volatile java.lang.Object newPath_; /** + * + * *
    * Required. The file's new path including filename, relative to the workspace root.
    * 
* * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The newPath. */ @java.lang.Override @@ -215,29 +250,29 @@ public java.lang.String getNewPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); newPath_ = s; return s; } } /** + * + * *
    * Required. The file's new path including filename, relative to the workspace root.
    * 
* * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for newPath. */ @java.lang.Override - public com.google.protobuf.ByteString - getNewPathBytes() { + public com.google.protobuf.ByteString getNewPathBytes() { java.lang.Object ref = newPath_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); newPath_ = b; return b; } else { @@ -246,6 +281,7 @@ public java.lang.String getNewPath() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -257,8 +293,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workspace_); } @@ -294,19 +329,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.MoveFileRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.MoveFileRequest other = (com.google.cloud.dataform.v1beta1.MoveFileRequest) obj; + com.google.cloud.dataform.v1beta1.MoveFileRequest other = + (com.google.cloud.dataform.v1beta1.MoveFileRequest) obj; - if (!getWorkspace() - .equals(other.getWorkspace())) return false; - if (!getPath() - .equals(other.getPath())) return false; - if (!getNewPath() - .equals(other.getNewPath())) return false; + if (!getWorkspace().equals(other.getWorkspace())) return false; + if (!getPath().equals(other.getPath())) return false; + if (!getNewPath().equals(other.getNewPath())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -330,117 +363,126 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.MoveFileRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.MoveFileRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.MoveFileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.MoveFileRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.MoveFileRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.MoveFileRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.MoveFileRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.MoveFileRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.MoveFileRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.MoveFileRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.MoveFileRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.MoveFileRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.MoveFileRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.MoveFileRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.MoveFileRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `MoveFile` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.MoveFileRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.MoveFileRequest) com.google.cloud.dataform.v1beta1.MoveFileRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MoveFileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_MoveFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MoveFileRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_MoveFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.MoveFileRequest.class, com.google.cloud.dataform.v1beta1.MoveFileRequest.Builder.class); + com.google.cloud.dataform.v1beta1.MoveFileRequest.class, + com.google.cloud.dataform.v1beta1.MoveFileRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1beta1.MoveFileRequest.newBuilder() @@ -448,16 +490,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -471,9 +512,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MoveFileRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_MoveFileRequest_descriptor; } @java.lang.Override @@ -492,7 +533,8 @@ public com.google.cloud.dataform.v1beta1.MoveFileRequest build() { @java.lang.Override public com.google.cloud.dataform.v1beta1.MoveFileRequest buildPartial() { - com.google.cloud.dataform.v1beta1.MoveFileRequest result = new com.google.cloud.dataform.v1beta1.MoveFileRequest(this); + com.google.cloud.dataform.v1beta1.MoveFileRequest result = + new com.google.cloud.dataform.v1beta1.MoveFileRequest(this); result.workspace_ = workspace_; result.path_ = path_; result.newPath_ = newPath_; @@ -504,38 +546,39 @@ public com.google.cloud.dataform.v1beta1.MoveFileRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.MoveFileRequest) { - return mergeFrom((com.google.cloud.dataform.v1beta1.MoveFileRequest)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.MoveFileRequest) other); } else { super.mergeFrom(other); return this; @@ -543,7 +586,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1beta1.MoveFileRequest other) { - if (other == com.google.cloud.dataform.v1beta1.MoveFileRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1beta1.MoveFileRequest.getDefaultInstance()) + return this; if (!other.getWorkspace().isEmpty()) { workspace_ = other.workspace_; onChanged(); @@ -575,7 +619,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.MoveFileRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.MoveFileRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -587,18 +632,22 @@ public Builder mergeFrom( private java.lang.Object workspace_ = ""; /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ public java.lang.String getWorkspace() { java.lang.Object ref = workspace_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; @@ -607,20 +656,23 @@ public java.lang.String getWorkspace() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ - public com.google.protobuf.ByteString - getWorkspaceBytes() { + public com.google.protobuf.ByteString getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workspace_ = b; return b; } else { @@ -628,54 +680,67 @@ public java.lang.String getWorkspace() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The workspace to set. * @return This builder for chaining. */ - public Builder setWorkspace( - java.lang.String value) { + public Builder setWorkspace(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + workspace_ = value; onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearWorkspace() { - + workspace_ = getDefaultInstance().getWorkspace(); onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for workspace to set. * @return This builder for chaining. */ - public Builder setWorkspaceBytes( - com.google.protobuf.ByteString value) { + public Builder setWorkspaceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workspace_ = value; onChanged(); return this; @@ -683,18 +748,20 @@ public Builder setWorkspaceBytes( private java.lang.Object path_ = ""; /** + * + * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; @@ -703,20 +770,21 @@ public java.lang.String getPath() { } } /** + * + * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for path. */ - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); path_ = b; return b; } else { @@ -724,54 +792,61 @@ public java.lang.String getPath() { } } /** + * + * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath( - java.lang.String value) { + public Builder setPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + path_ = value; onChanged(); return this; } /** + * + * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearPath() { - + path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** + * + * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes( - com.google.protobuf.ByteString value) { + public Builder setPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; onChanged(); return this; @@ -779,18 +854,20 @@ public Builder setPathBytes( private java.lang.Object newPath_ = ""; /** + * + * *
      * Required. The file's new path including filename, relative to the workspace root.
      * 
* * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The newPath. */ public java.lang.String getNewPath() { java.lang.Object ref = newPath_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); newPath_ = s; return s; @@ -799,20 +876,21 @@ public java.lang.String getNewPath() { } } /** + * + * *
      * Required. The file's new path including filename, relative to the workspace root.
      * 
* * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for newPath. */ - public com.google.protobuf.ByteString - getNewPathBytes() { + public com.google.protobuf.ByteString getNewPathBytes() { java.lang.Object ref = newPath_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); newPath_ = b; return b; } else { @@ -820,61 +898,68 @@ public java.lang.String getNewPath() { } } /** + * + * *
      * Required. The file's new path including filename, relative to the workspace root.
      * 
* * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The newPath to set. * @return This builder for chaining. */ - public Builder setNewPath( - java.lang.String value) { + public Builder setNewPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + newPath_ = value; onChanged(); return this; } /** + * + * *
      * Required. The file's new path including filename, relative to the workspace root.
      * 
* * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearNewPath() { - + newPath_ = getDefaultInstance().getNewPath(); onChanged(); return this; } /** + * + * *
      * Required. The file's new path including filename, relative to the workspace root.
      * 
* * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for newPath to set. * @return This builder for chaining. */ - public Builder setNewPathBytes( - com.google.protobuf.ByteString value) { + public Builder setNewPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + newPath_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -884,12 +969,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.MoveFileRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.MoveFileRequest) private static final com.google.cloud.dataform.v1beta1.MoveFileRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.MoveFileRequest(); } @@ -898,16 +983,16 @@ public static com.google.cloud.dataform.v1beta1.MoveFileRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MoveFileRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MoveFileRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MoveFileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MoveFileRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -922,6 +1007,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1beta1.MoveFileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveFileRequestOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveFileRequestOrBuilder.java similarity index 57% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveFileRequestOrBuilder.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveFileRequestOrBuilder.java index 1af6767..2607f3a 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveFileRequestOrBuilder.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveFileRequestOrBuilder.java @@ -1,69 +1,104 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; -public interface MoveFileRequestOrBuilder extends +public interface MoveFileRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.MoveFileRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ java.lang.String getWorkspace(); /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ - com.google.protobuf.ByteString - getWorkspaceBytes(); + com.google.protobuf.ByteString getWorkspaceBytes(); /** + * + * *
    * Required. The file's full path including filename, relative to the workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The path. */ java.lang.String getPath(); /** + * + * *
    * Required. The file's full path including filename, relative to the workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for path. */ - com.google.protobuf.ByteString - getPathBytes(); + com.google.protobuf.ByteString getPathBytes(); /** + * + * *
    * Required. The file's new path including filename, relative to the workspace root.
    * 
* * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The newPath. */ java.lang.String getNewPath(); /** + * + * *
    * Required. The file's new path including filename, relative to the workspace root.
    * 
* * string new_path = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for newPath. */ - com.google.protobuf.ByteString - getNewPathBytes(); + com.google.protobuf.ByteString getNewPathBytes(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveFileResponse.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveFileResponse.java similarity index 65% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveFileResponse.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveFileResponse.java index f2bd20e..5d1a0a8 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveFileResponse.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveFileResponse.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * `MoveFile` response message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.MoveFileResponse} */ -public final class MoveFileResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class MoveFileResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.MoveFileResponse) MoveFileResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MoveFileResponse.newBuilder() to construct. private MoveFileResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MoveFileResponse() { - } + + private MoveFileResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MoveFileResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private MoveFileResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private MoveFileResponse( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private MoveFileResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MoveFileResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_MoveFileResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MoveFileResponse_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_MoveFileResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.MoveFileResponse.class, com.google.cloud.dataform.v1beta1.MoveFileResponse.Builder.class); + com.google.cloud.dataform.v1beta1.MoveFileResponse.class, + com.google.cloud.dataform.v1beta1.MoveFileResponse.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.MoveFileResponse)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.MoveFileResponse other = (com.google.cloud.dataform.v1beta1.MoveFileResponse) obj; + com.google.cloud.dataform.v1beta1.MoveFileResponse other = + (com.google.cloud.dataform.v1beta1.MoveFileResponse) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,117 +160,126 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.MoveFileResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.MoveFileResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.MoveFileResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.MoveFileResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.MoveFileResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.MoveFileResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.MoveFileResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.MoveFileResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.MoveFileResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.MoveFileResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.MoveFileResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.MoveFileResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.MoveFileResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.MoveFileResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.MoveFileResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `MoveFile` response message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.MoveFileResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.MoveFileResponse) com.google.cloud.dataform.v1beta1.MoveFileResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MoveFileResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_MoveFileResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MoveFileResponse_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_MoveFileResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.MoveFileResponse.class, com.google.cloud.dataform.v1beta1.MoveFileResponse.Builder.class); + com.google.cloud.dataform.v1beta1.MoveFileResponse.class, + com.google.cloud.dataform.v1beta1.MoveFileResponse.Builder.class); } // Construct using com.google.cloud.dataform.v1beta1.MoveFileResponse.newBuilder() @@ -259,16 +287,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,9 +303,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_MoveFileResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_MoveFileResponse_descriptor; } @java.lang.Override @@ -297,7 +324,8 @@ public com.google.cloud.dataform.v1beta1.MoveFileResponse build() { @java.lang.Override public com.google.cloud.dataform.v1beta1.MoveFileResponse buildPartial() { - com.google.cloud.dataform.v1beta1.MoveFileResponse result = new com.google.cloud.dataform.v1beta1.MoveFileResponse(this); + com.google.cloud.dataform.v1beta1.MoveFileResponse result = + new com.google.cloud.dataform.v1beta1.MoveFileResponse(this); onBuilt(); return result; } @@ -306,38 +334,39 @@ public com.google.cloud.dataform.v1beta1.MoveFileResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.MoveFileResponse) { - return mergeFrom((com.google.cloud.dataform.v1beta1.MoveFileResponse)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.MoveFileResponse) other); } else { super.mergeFrom(other); return this; @@ -345,7 +374,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1beta1.MoveFileResponse other) { - if (other == com.google.cloud.dataform.v1beta1.MoveFileResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1beta1.MoveFileResponse.getDefaultInstance()) + return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +395,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.MoveFileResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.MoveFileResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +405,9 @@ public Builder mergeFrom( } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -386,12 +417,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.MoveFileResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.MoveFileResponse) private static final com.google.cloud.dataform.v1beta1.MoveFileResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.MoveFileResponse(); } @@ -400,16 +431,16 @@ public static com.google.cloud.dataform.v1beta1.MoveFileResponse getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MoveFileResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MoveFileResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MoveFileResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MoveFileResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -424,6 +455,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1beta1.MoveFileResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveFileResponseOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveFileResponseOrBuilder.java new file mode 100644 index 0000000..1827d12 --- /dev/null +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/MoveFileResponseOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface MoveFileResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.MoveFileResponse) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/PullGitCommitsRequest.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/PullGitCommitsRequest.java similarity index 65% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/PullGitCommitsRequest.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/PullGitCommitsRequest.java index 70b9206..6c44955 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/PullGitCommitsRequest.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/PullGitCommitsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * `PullGitCommits` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.PullGitCommitsRequest} */ -public final class PullGitCommitsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PullGitCommitsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.PullGitCommitsRequest) PullGitCommitsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PullGitCommitsRequest.newBuilder() to construct. private PullGitCommitsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PullGitCommitsRequest() { name_ = ""; remoteBranch_ = ""; @@ -26,16 +44,15 @@ private PullGitCommitsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PullGitCommitsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PullGitCommitsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +71,43 @@ private PullGitCommitsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - remoteBranch_ = s; - break; - } - case 26: { - com.google.cloud.dataform.v1beta1.CommitAuthor.Builder subBuilder = null; - if (author_ != null) { - subBuilder = author_.toBuilder(); + name_ = s; + break; } - author_ = input.readMessage(com.google.cloud.dataform.v1beta1.CommitAuthor.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(author_); - author_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + remoteBranch_ = s; + break; } + case 26: + { + com.google.cloud.dataform.v1beta1.CommitAuthor.Builder subBuilder = null; + if (author_ != null) { + subBuilder = author_.toBuilder(); + } + author_ = + input.readMessage( + com.google.cloud.dataform.v1beta1.CommitAuthor.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(author_); + author_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,34 +115,41 @@ private PullGitCommitsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_PullGitCommitsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_PullGitCommitsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_PullGitCommitsRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_PullGitCommitsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.PullGitCommitsRequest.class, com.google.cloud.dataform.v1beta1.PullGitCommitsRequest.Builder.class); + com.google.cloud.dataform.v1beta1.PullGitCommitsRequest.class, + com.google.cloud.dataform.v1beta1.PullGitCommitsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The workspace's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -129,29 +158,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The workspace's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -162,12 +193,15 @@ public java.lang.String getName() { public static final int REMOTE_BRANCH_FIELD_NUMBER = 2; private volatile java.lang.Object remoteBranch_; /** + * + * *
    * Optional. The name of the branch in the Git remote from which to pull commits.
    * If left unset, the repository's default branch name will be used.
    * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The remoteBranch. */ @java.lang.Override @@ -176,30 +210,30 @@ public java.lang.String getRemoteBranch() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); remoteBranch_ = s; return s; } } /** + * + * *
    * Optional. The name of the branch in the Git remote from which to pull commits.
    * If left unset, the repository's default branch name will be used.
    * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for remoteBranch. */ @java.lang.Override - public com.google.protobuf.ByteString - getRemoteBranchBytes() { + public com.google.protobuf.ByteString getRemoteBranchBytes() { java.lang.Object ref = remoteBranch_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); remoteBranch_ = b; return b; } else { @@ -210,12 +244,17 @@ public java.lang.String getRemoteBranch() { public static final int AUTHOR_FIELD_NUMBER = 3; private com.google.cloud.dataform.v1beta1.CommitAuthor author_; /** + * + * *
    * Required. The author of any merge commit which may be created as a result of merging
    * fetched Git commits into this workspace.
    * 
* - * .google.cloud.dataform.v1beta1.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the author field is set. */ @java.lang.Override @@ -223,25 +262,36 @@ public boolean hasAuthor() { return author_ != null; } /** + * + * *
    * Required. The author of any merge commit which may be created as a result of merging
    * fetched Git commits into this workspace.
    * 
* - * .google.cloud.dataform.v1beta1.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The author. */ @java.lang.Override public com.google.cloud.dataform.v1beta1.CommitAuthor getAuthor() { - return author_ == null ? com.google.cloud.dataform.v1beta1.CommitAuthor.getDefaultInstance() : author_; + return author_ == null + ? com.google.cloud.dataform.v1beta1.CommitAuthor.getDefaultInstance() + : author_; } /** + * + * *
    * Required. The author of any merge commit which may be created as a result of merging
    * fetched Git commits into this workspace.
    * 
* - * .google.cloud.dataform.v1beta1.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.dataform.v1beta1.CommitAuthorOrBuilder getAuthorOrBuilder() { @@ -249,6 +299,7 @@ public com.google.cloud.dataform.v1beta1.CommitAuthorOrBuilder getAuthorOrBuilde } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -260,8 +311,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -287,8 +337,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, remoteBranch_); } if (author_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getAuthor()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getAuthor()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -298,21 +347,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.PullGitCommitsRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.PullGitCommitsRequest other = (com.google.cloud.dataform.v1beta1.PullGitCommitsRequest) obj; + com.google.cloud.dataform.v1beta1.PullGitCommitsRequest other = + (com.google.cloud.dataform.v1beta1.PullGitCommitsRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getRemoteBranch() - .equals(other.getRemoteBranch())) return false; + if (!getName().equals(other.getName())) return false; + if (!getRemoteBranch().equals(other.getRemoteBranch())) return false; if (hasAuthor() != other.hasAuthor()) return false; if (hasAuthor()) { - if (!getAuthor() - .equals(other.getAuthor())) return false; + if (!getAuthor().equals(other.getAuthor())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -339,117 +386,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.PullGitCommitsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.PullGitCommitsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.PullGitCommitsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.PullGitCommitsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.PullGitCommitsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.PullGitCommitsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.PullGitCommitsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.PullGitCommitsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.PullGitCommitsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.PullGitCommitsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.PullGitCommitsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.PullGitCommitsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.PullGitCommitsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.PullGitCommitsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.PullGitCommitsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.PullGitCommitsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `PullGitCommits` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.PullGitCommitsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.PullGitCommitsRequest) com.google.cloud.dataform.v1beta1.PullGitCommitsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_PullGitCommitsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_PullGitCommitsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_PullGitCommitsRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_PullGitCommitsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.PullGitCommitsRequest.class, com.google.cloud.dataform.v1beta1.PullGitCommitsRequest.Builder.class); + com.google.cloud.dataform.v1beta1.PullGitCommitsRequest.class, + com.google.cloud.dataform.v1beta1.PullGitCommitsRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1beta1.PullGitCommitsRequest.newBuilder() @@ -457,16 +514,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -484,9 +540,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_PullGitCommitsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_PullGitCommitsRequest_descriptor; } @java.lang.Override @@ -505,7 +561,8 @@ public com.google.cloud.dataform.v1beta1.PullGitCommitsRequest build() { @java.lang.Override public com.google.cloud.dataform.v1beta1.PullGitCommitsRequest buildPartial() { - com.google.cloud.dataform.v1beta1.PullGitCommitsRequest result = new com.google.cloud.dataform.v1beta1.PullGitCommitsRequest(this); + com.google.cloud.dataform.v1beta1.PullGitCommitsRequest result = + new com.google.cloud.dataform.v1beta1.PullGitCommitsRequest(this); result.name_ = name_; result.remoteBranch_ = remoteBranch_; if (authorBuilder_ == null) { @@ -521,38 +578,39 @@ public com.google.cloud.dataform.v1beta1.PullGitCommitsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.PullGitCommitsRequest) { - return mergeFrom((com.google.cloud.dataform.v1beta1.PullGitCommitsRequest)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.PullGitCommitsRequest) other); } else { super.mergeFrom(other); return this; @@ -560,7 +618,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1beta1.PullGitCommitsRequest other) { - if (other == com.google.cloud.dataform.v1beta1.PullGitCommitsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1beta1.PullGitCommitsRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -591,7 +650,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.PullGitCommitsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.PullGitCommitsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -603,18 +663,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -623,20 +687,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -644,54 +711,67 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -699,19 +779,21 @@ public Builder setNameBytes( private java.lang.Object remoteBranch_ = ""; /** + * + * *
      * Optional. The name of the branch in the Git remote from which to pull commits.
      * If left unset, the repository's default branch name will be used.
      * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The remoteBranch. */ public java.lang.String getRemoteBranch() { java.lang.Object ref = remoteBranch_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); remoteBranch_ = s; return s; @@ -720,21 +802,22 @@ public java.lang.String getRemoteBranch() { } } /** + * + * *
      * Optional. The name of the branch in the Git remote from which to pull commits.
      * If left unset, the repository's default branch name will be used.
      * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for remoteBranch. */ - public com.google.protobuf.ByteString - getRemoteBranchBytes() { + public com.google.protobuf.ByteString getRemoteBranchBytes() { java.lang.Object ref = remoteBranch_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); remoteBranch_ = b; return b; } else { @@ -742,57 +825,64 @@ public java.lang.String getRemoteBranch() { } } /** + * + * *
      * Optional. The name of the branch in the Git remote from which to pull commits.
      * If left unset, the repository's default branch name will be used.
      * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The remoteBranch to set. * @return This builder for chaining. */ - public Builder setRemoteBranch( - java.lang.String value) { + public Builder setRemoteBranch(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + remoteBranch_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The name of the branch in the Git remote from which to pull commits.
      * If left unset, the repository's default branch name will be used.
      * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRemoteBranch() { - + remoteBranch_ = getDefaultInstance().getRemoteBranch(); onChanged(); return this; } /** + * + * *
      * Optional. The name of the branch in the Git remote from which to pull commits.
      * If left unset, the repository's default branch name will be used.
      * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for remoteBranch to set. * @return This builder for chaining. */ - public Builder setRemoteBranchBytes( - com.google.protobuf.ByteString value) { + public Builder setRemoteBranchBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + remoteBranch_ = value; onChanged(); return this; @@ -800,42 +890,61 @@ public Builder setRemoteBranchBytes( private com.google.cloud.dataform.v1beta1.CommitAuthor author_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.CommitAuthor, com.google.cloud.dataform.v1beta1.CommitAuthor.Builder, com.google.cloud.dataform.v1beta1.CommitAuthorOrBuilder> authorBuilder_; + com.google.cloud.dataform.v1beta1.CommitAuthor, + com.google.cloud.dataform.v1beta1.CommitAuthor.Builder, + com.google.cloud.dataform.v1beta1.CommitAuthorOrBuilder> + authorBuilder_; /** + * + * *
      * Required. The author of any merge commit which may be created as a result of merging
      * fetched Git commits into this workspace.
      * 
* - * .google.cloud.dataform.v1beta1.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the author field is set. */ public boolean hasAuthor() { return authorBuilder_ != null || author_ != null; } /** + * + * *
      * Required. The author of any merge commit which may be created as a result of merging
      * fetched Git commits into this workspace.
      * 
* - * .google.cloud.dataform.v1beta1.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The author. */ public com.google.cloud.dataform.v1beta1.CommitAuthor getAuthor() { if (authorBuilder_ == null) { - return author_ == null ? com.google.cloud.dataform.v1beta1.CommitAuthor.getDefaultInstance() : author_; + return author_ == null + ? com.google.cloud.dataform.v1beta1.CommitAuthor.getDefaultInstance() + : author_; } else { return authorBuilder_.getMessage(); } } /** + * + * *
      * Required. The author of any merge commit which may be created as a result of merging
      * fetched Git commits into this workspace.
      * 
* - * .google.cloud.dataform.v1beta1.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAuthor(com.google.cloud.dataform.v1beta1.CommitAuthor value) { if (authorBuilder_ == null) { @@ -851,12 +960,16 @@ public Builder setAuthor(com.google.cloud.dataform.v1beta1.CommitAuthor value) { return this; } /** + * + * *
      * Required. The author of any merge commit which may be created as a result of merging
      * fetched Git commits into this workspace.
      * 
* - * .google.cloud.dataform.v1beta1.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setAuthor( com.google.cloud.dataform.v1beta1.CommitAuthor.Builder builderForValue) { @@ -870,18 +983,24 @@ public Builder setAuthor( return this; } /** + * + * *
      * Required. The author of any merge commit which may be created as a result of merging
      * fetched Git commits into this workspace.
      * 
* - * .google.cloud.dataform.v1beta1.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeAuthor(com.google.cloud.dataform.v1beta1.CommitAuthor value) { if (authorBuilder_ == null) { if (author_ != null) { author_ = - com.google.cloud.dataform.v1beta1.CommitAuthor.newBuilder(author_).mergeFrom(value).buildPartial(); + com.google.cloud.dataform.v1beta1.CommitAuthor.newBuilder(author_) + .mergeFrom(value) + .buildPartial(); } else { author_ = value; } @@ -893,12 +1012,16 @@ public Builder mergeAuthor(com.google.cloud.dataform.v1beta1.CommitAuthor value) return this; } /** + * + * *
      * Required. The author of any merge commit which may be created as a result of merging
      * fetched Git commits into this workspace.
      * 
* - * .google.cloud.dataform.v1beta1.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearAuthor() { if (authorBuilder_ == null) { @@ -912,58 +1035,74 @@ public Builder clearAuthor() { return this; } /** + * + * *
      * Required. The author of any merge commit which may be created as a result of merging
      * fetched Git commits into this workspace.
      * 
* - * .google.cloud.dataform.v1beta1.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataform.v1beta1.CommitAuthor.Builder getAuthorBuilder() { - + onChanged(); return getAuthorFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The author of any merge commit which may be created as a result of merging
      * fetched Git commits into this workspace.
      * 
* - * .google.cloud.dataform.v1beta1.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataform.v1beta1.CommitAuthorOrBuilder getAuthorOrBuilder() { if (authorBuilder_ != null) { return authorBuilder_.getMessageOrBuilder(); } else { - return author_ == null ? - com.google.cloud.dataform.v1beta1.CommitAuthor.getDefaultInstance() : author_; + return author_ == null + ? com.google.cloud.dataform.v1beta1.CommitAuthor.getDefaultInstance() + : author_; } } /** + * + * *
      * Required. The author of any merge commit which may be created as a result of merging
      * fetched Git commits into this workspace.
      * 
* - * .google.cloud.dataform.v1beta1.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.CommitAuthor, com.google.cloud.dataform.v1beta1.CommitAuthor.Builder, com.google.cloud.dataform.v1beta1.CommitAuthorOrBuilder> + com.google.cloud.dataform.v1beta1.CommitAuthor, + com.google.cloud.dataform.v1beta1.CommitAuthor.Builder, + com.google.cloud.dataform.v1beta1.CommitAuthorOrBuilder> getAuthorFieldBuilder() { if (authorBuilder_ == null) { - authorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.CommitAuthor, com.google.cloud.dataform.v1beta1.CommitAuthor.Builder, com.google.cloud.dataform.v1beta1.CommitAuthorOrBuilder>( - getAuthor(), - getParentForChildren(), - isClean()); + authorBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.CommitAuthor, + com.google.cloud.dataform.v1beta1.CommitAuthor.Builder, + com.google.cloud.dataform.v1beta1.CommitAuthorOrBuilder>( + getAuthor(), getParentForChildren(), isClean()); author_ = null; } return authorBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -973,12 +1112,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.PullGitCommitsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.PullGitCommitsRequest) private static final com.google.cloud.dataform.v1beta1.PullGitCommitsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.PullGitCommitsRequest(); } @@ -987,16 +1126,16 @@ public static com.google.cloud.dataform.v1beta1.PullGitCommitsRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PullGitCommitsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PullGitCommitsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PullGitCommitsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PullGitCommitsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1011,6 +1150,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1beta1.PullGitCommitsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/PullGitCommitsRequestOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/PullGitCommitsRequestOrBuilder.java similarity index 56% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/PullGitCommitsRequestOrBuilder.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/PullGitCommitsRequestOrBuilder.java index bb0d347..edf0be7 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/PullGitCommitsRequestOrBuilder.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/PullGitCommitsRequestOrBuilder.java @@ -1,81 +1,125 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; -public interface PullGitCommitsRequestOrBuilder extends +public interface PullGitCommitsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.PullGitCommitsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The workspace's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The workspace's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. The name of the branch in the Git remote from which to pull commits.
    * If left unset, the repository's default branch name will be used.
    * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The remoteBranch. */ java.lang.String getRemoteBranch(); /** + * + * *
    * Optional. The name of the branch in the Git remote from which to pull commits.
    * If left unset, the repository's default branch name will be used.
    * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for remoteBranch. */ - com.google.protobuf.ByteString - getRemoteBranchBytes(); + com.google.protobuf.ByteString getRemoteBranchBytes(); /** + * + * *
    * Required. The author of any merge commit which may be created as a result of merging
    * fetched Git commits into this workspace.
    * 
* - * .google.cloud.dataform.v1beta1.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the author field is set. */ boolean hasAuthor(); /** + * + * *
    * Required. The author of any merge commit which may be created as a result of merging
    * fetched Git commits into this workspace.
    * 
* - * .google.cloud.dataform.v1beta1.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The author. */ com.google.cloud.dataform.v1beta1.CommitAuthor getAuthor(); /** + * + * *
    * Required. The author of any merge commit which may be created as a result of merging
    * fetched Git commits into this workspace.
    * 
* - * .google.cloud.dataform.v1beta1.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.dataform.v1beta1.CommitAuthorOrBuilder getAuthorOrBuilder(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/PushGitCommitsRequest.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/PushGitCommitsRequest.java similarity index 67% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/PushGitCommitsRequest.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/PushGitCommitsRequest.java index b4f47f5..99c9d01 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/PushGitCommitsRequest.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/PushGitCommitsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * `PushGitCommits` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.PushGitCommitsRequest} */ -public final class PushGitCommitsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PushGitCommitsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.PushGitCommitsRequest) PushGitCommitsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PushGitCommitsRequest.newBuilder() to construct. private PushGitCommitsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PushGitCommitsRequest() { name_ = ""; remoteBranch_ = ""; @@ -26,16 +44,15 @@ private PushGitCommitsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PushGitCommitsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private PushGitCommitsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private PushGitCommitsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - remoteBranch_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + remoteBranch_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +99,41 @@ private PushGitCommitsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_PushGitCommitsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_PushGitCommitsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_PushGitCommitsRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_PushGitCommitsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.PushGitCommitsRequest.class, com.google.cloud.dataform.v1beta1.PushGitCommitsRequest.Builder.class); + com.google.cloud.dataform.v1beta1.PushGitCommitsRequest.class, + com.google.cloud.dataform.v1beta1.PushGitCommitsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The workspace's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -116,29 +142,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The workspace's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -149,12 +177,15 @@ public java.lang.String getName() { public static final int REMOTE_BRANCH_FIELD_NUMBER = 2; private volatile java.lang.Object remoteBranch_; /** + * + * *
    * Optional. The name of the branch in the Git remote to which commits should be pushed.
    * If left unset, the repository's default branch name will be used.
    * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The remoteBranch. */ @java.lang.Override @@ -163,30 +194,30 @@ public java.lang.String getRemoteBranch() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); remoteBranch_ = s; return s; } } /** + * + * *
    * Optional. The name of the branch in the Git remote to which commits should be pushed.
    * If left unset, the repository's default branch name will be used.
    * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for remoteBranch. */ @java.lang.Override - public com.google.protobuf.ByteString - getRemoteBranchBytes() { + public com.google.protobuf.ByteString getRemoteBranchBytes() { java.lang.Object ref = remoteBranch_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); remoteBranch_ = b; return b; } else { @@ -195,6 +226,7 @@ public java.lang.String getRemoteBranch() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,8 +238,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -237,17 +268,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.PushGitCommitsRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.PushGitCommitsRequest other = (com.google.cloud.dataform.v1beta1.PushGitCommitsRequest) obj; + com.google.cloud.dataform.v1beta1.PushGitCommitsRequest other = + (com.google.cloud.dataform.v1beta1.PushGitCommitsRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getRemoteBranch() - .equals(other.getRemoteBranch())) return false; + if (!getName().equals(other.getName())) return false; + if (!getRemoteBranch().equals(other.getRemoteBranch())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -269,117 +299,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.PushGitCommitsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.PushGitCommitsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.PushGitCommitsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.PushGitCommitsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.PushGitCommitsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.PushGitCommitsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.PushGitCommitsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.PushGitCommitsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.PushGitCommitsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.PushGitCommitsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.PushGitCommitsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.PushGitCommitsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.PushGitCommitsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.PushGitCommitsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.PushGitCommitsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.PushGitCommitsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `PushGitCommits` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.PushGitCommitsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.PushGitCommitsRequest) com.google.cloud.dataform.v1beta1.PushGitCommitsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_PushGitCommitsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_PushGitCommitsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_PushGitCommitsRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_PushGitCommitsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.PushGitCommitsRequest.class, com.google.cloud.dataform.v1beta1.PushGitCommitsRequest.Builder.class); + com.google.cloud.dataform.v1beta1.PushGitCommitsRequest.class, + com.google.cloud.dataform.v1beta1.PushGitCommitsRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1beta1.PushGitCommitsRequest.newBuilder() @@ -387,16 +427,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -408,9 +447,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_PushGitCommitsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_PushGitCommitsRequest_descriptor; } @java.lang.Override @@ -429,7 +468,8 @@ public com.google.cloud.dataform.v1beta1.PushGitCommitsRequest build() { @java.lang.Override public com.google.cloud.dataform.v1beta1.PushGitCommitsRequest buildPartial() { - com.google.cloud.dataform.v1beta1.PushGitCommitsRequest result = new com.google.cloud.dataform.v1beta1.PushGitCommitsRequest(this); + com.google.cloud.dataform.v1beta1.PushGitCommitsRequest result = + new com.google.cloud.dataform.v1beta1.PushGitCommitsRequest(this); result.name_ = name_; result.remoteBranch_ = remoteBranch_; onBuilt(); @@ -440,38 +480,39 @@ public com.google.cloud.dataform.v1beta1.PushGitCommitsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.PushGitCommitsRequest) { - return mergeFrom((com.google.cloud.dataform.v1beta1.PushGitCommitsRequest)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.PushGitCommitsRequest) other); } else { super.mergeFrom(other); return this; @@ -479,7 +520,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1beta1.PushGitCommitsRequest other) { - if (other == com.google.cloud.dataform.v1beta1.PushGitCommitsRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1beta1.PushGitCommitsRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -507,7 +549,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.PushGitCommitsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.PushGitCommitsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -519,18 +562,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -539,20 +586,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -560,54 +610,67 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -615,19 +678,21 @@ public Builder setNameBytes( private java.lang.Object remoteBranch_ = ""; /** + * + * *
      * Optional. The name of the branch in the Git remote to which commits should be pushed.
      * If left unset, the repository's default branch name will be used.
      * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The remoteBranch. */ public java.lang.String getRemoteBranch() { java.lang.Object ref = remoteBranch_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); remoteBranch_ = s; return s; @@ -636,21 +701,22 @@ public java.lang.String getRemoteBranch() { } } /** + * + * *
      * Optional. The name of the branch in the Git remote to which commits should be pushed.
      * If left unset, the repository's default branch name will be used.
      * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for remoteBranch. */ - public com.google.protobuf.ByteString - getRemoteBranchBytes() { + public com.google.protobuf.ByteString getRemoteBranchBytes() { java.lang.Object ref = remoteBranch_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); remoteBranch_ = b; return b; } else { @@ -658,64 +724,71 @@ public java.lang.String getRemoteBranch() { } } /** + * + * *
      * Optional. The name of the branch in the Git remote to which commits should be pushed.
      * If left unset, the repository's default branch name will be used.
      * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The remoteBranch to set. * @return This builder for chaining. */ - public Builder setRemoteBranch( - java.lang.String value) { + public Builder setRemoteBranch(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + remoteBranch_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The name of the branch in the Git remote to which commits should be pushed.
      * If left unset, the repository's default branch name will be used.
      * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearRemoteBranch() { - + remoteBranch_ = getDefaultInstance().getRemoteBranch(); onChanged(); return this; } /** + * + * *
      * Optional. The name of the branch in the Git remote to which commits should be pushed.
      * If left unset, the repository's default branch name will be used.
      * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for remoteBranch to set. * @return This builder for chaining. */ - public Builder setRemoteBranchBytes( - com.google.protobuf.ByteString value) { + public Builder setRemoteBranchBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + remoteBranch_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -725,12 +798,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.PushGitCommitsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.PushGitCommitsRequest) private static final com.google.cloud.dataform.v1beta1.PushGitCommitsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.PushGitCommitsRequest(); } @@ -739,16 +812,16 @@ public static com.google.cloud.dataform.v1beta1.PushGitCommitsRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PushGitCommitsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new PushGitCommitsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PushGitCommitsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PushGitCommitsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -763,6 +836,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1beta1.PushGitCommitsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/PushGitCommitsRequestOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/PushGitCommitsRequestOrBuilder.java similarity index 53% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/PushGitCommitsRequestOrBuilder.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/PushGitCommitsRequestOrBuilder.java index c6a54a8..28940d3 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/PushGitCommitsRequestOrBuilder.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/PushGitCommitsRequestOrBuilder.java @@ -1,51 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; -public interface PushGitCommitsRequestOrBuilder extends +public interface PushGitCommitsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.PushGitCommitsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The workspace's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The workspace's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. The name of the branch in the Git remote to which commits should be pushed.
    * If left unset, the repository's default branch name will be used.
    * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The remoteBranch. */ java.lang.String getRemoteBranch(); /** + * + * *
    * Optional. The name of the branch in the Git remote to which commits should be pushed.
    * If left unset, the repository's default branch name will be used.
    * 
* * string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for remoteBranch. */ - com.google.protobuf.ByteString - getRemoteBranchBytes(); + com.google.protobuf.ByteString getRemoteBranchBytes(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryCompilationResultActionsRequest.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryCompilationResultActionsRequest.java similarity index 68% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryCompilationResultActionsRequest.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryCompilationResultActionsRequest.java index 60d160f..f5d44d9 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryCompilationResultActionsRequest.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryCompilationResultActionsRequest.java @@ -1,24 +1,44 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * `QueryCompilationResultActions` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest} */ -public final class QueryCompilationResultActionsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class QueryCompilationResultActionsRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest) QueryCompilationResultActionsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use QueryCompilationResultActionsRequest.newBuilder() to construct. - private QueryCompilationResultActionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private QueryCompilationResultActionsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private QueryCompilationResultActionsRequest() { name_ = ""; pageToken_ = ""; @@ -27,16 +47,15 @@ private QueryCompilationResultActionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new QueryCompilationResultActionsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private QueryCompilationResultActionsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,36 +74,39 @@ private QueryCompilationResultActionsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + filter_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +114,41 @@ private QueryCompilationResultActionsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest.class, com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest.Builder.class); + com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest.class, + com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The compilation result's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -128,29 +157,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The compilation result's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -161,6 +192,8 @@ public java.lang.String getName() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * Optional. Maximum number of compilation results to return. The server may return
    * fewer items than requested. If unspecified, the server will pick an
@@ -168,6 +201,7 @@ public java.lang.String getName() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -178,6 +212,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * Optional. Page token received from a previous `QueryCompilationResultActions` call.
    * Provide this to retrieve the subsequent page.
@@ -187,6 +223,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -195,14 +232,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Optional. Page token received from a previous `QueryCompilationResultActions` call.
    * Provide this to retrieve the subsequent page.
@@ -212,16 +250,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -232,12 +269,15 @@ public java.lang.String getPageToken() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
    * Optional. Optional filter for the returned list. Filtering is only currently
    * supported on the `file_path` field.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -246,30 +286,30 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * Optional. Optional filter for the returned list. Filtering is only currently
    * supported on the `file_path` field.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -278,6 +318,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -289,8 +330,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -316,8 +356,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -333,21 +372,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest other = (com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest) obj; - - if (!getName() - .equals(other.getName())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; + com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest other = + (com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest) obj; + + if (!getName().equals(other.getName())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -373,134 +409,145 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `QueryCompilationResultActions` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest) com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest.class, com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest.Builder.class); + com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest.class, + com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest.Builder.class); } - // Construct using com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest.newBuilder() + // Construct using + // com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -516,19 +563,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest getDefaultInstanceForType() { - return com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest.getDefaultInstance(); + public com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest + getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest build() { - com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest result = buildPartial(); + com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -537,7 +587,8 @@ public com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest bu @java.lang.Override public com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest buildPartial() { - com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest result = new com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest(this); + com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest result = + new com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest(this); result.name_ = name_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -550,46 +601,51 @@ public com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest bu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest) { - return mergeFrom((com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest)other); + return mergeFrom( + (com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest other) { - if (other == com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest other) { + if (other + == com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -624,7 +680,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -636,18 +694,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The compilation result's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -656,20 +718,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The compilation result's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -677,61 +742,76 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The compilation result's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The compilation result's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The compilation result's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. Maximum number of compilation results to return. The server may return
      * fewer items than requested. If unspecified, the server will pick an
@@ -739,6 +819,7 @@ public Builder setNameBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -746,6 +827,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. Maximum number of compilation results to return. The server may return
      * fewer items than requested. If unspecified, the server will pick an
@@ -753,16 +836,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Maximum number of compilation results to return. The server may return
      * fewer items than requested. If unspecified, the server will pick an
@@ -770,10 +856,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -781,6 +868,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. Page token received from a previous `QueryCompilationResultActions` call.
      * Provide this to retrieve the subsequent page.
@@ -790,13 +879,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -805,6 +894,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `QueryCompilationResultActions` call.
      * Provide this to retrieve the subsequent page.
@@ -814,15 +905,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -830,6 +920,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `QueryCompilationResultActions` call.
      * Provide this to retrieve the subsequent page.
@@ -839,20 +931,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Page token received from a previous `QueryCompilationResultActions` call.
      * Provide this to retrieve the subsequent page.
@@ -862,15 +956,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * Optional. Page token received from a previous `QueryCompilationResultActions` call.
      * Provide this to retrieve the subsequent page.
@@ -880,16 +977,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -897,19 +994,21 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Optional. Optional filter for the returned list. Filtering is only currently
      * supported on the `file_path` field.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -918,21 +1017,22 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Optional filter for the returned list. Filtering is only currently
      * supported on the `file_path` field.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -940,64 +1040,71 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Optional filter for the returned list. Filtering is only currently
      * supported on the `file_path` field.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Optional filter for the returned list. Filtering is only currently
      * supported on the `file_path` field.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * Optional. Optional filter for the returned list. Filtering is only currently
      * supported on the `file_path` field.
      * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1007,30 +1114,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest) - private static final com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest(); } - public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest getDefaultInstance() { + public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueryCompilationResultActionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new QueryCompilationResultActionsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryCompilationResultActionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new QueryCompilationResultActionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1042,9 +1151,8 @@ public com.google.protobuf.Parser getParse } @java.lang.Override - public com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest getDefaultInstanceForType() { + public com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryCompilationResultActionsRequestOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryCompilationResultActionsRequestOrBuilder.java similarity index 67% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryCompilationResultActionsRequestOrBuilder.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryCompilationResultActionsRequestOrBuilder.java index 91d9994..94cd291 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryCompilationResultActionsRequestOrBuilder.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryCompilationResultActionsRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; -public interface QueryCompilationResultActionsRequestOrBuilder extends +public interface QueryCompilationResultActionsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.QueryCompilationResultActionsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The compilation result's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The compilation result's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. Maximum number of compilation results to return. The server may return
    * fewer items than requested. If unspecified, the server will pick an
@@ -35,11 +62,14 @@ public interface QueryCompilationResultActionsRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. Page token received from a previous `QueryCompilationResultActions` call.
    * Provide this to retrieve the subsequent page.
@@ -49,10 +79,13 @@ public interface QueryCompilationResultActionsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. Page token received from a previous `QueryCompilationResultActions` call.
    * Provide this to retrieve the subsequent page.
@@ -62,30 +95,35 @@ public interface QueryCompilationResultActionsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. Optional filter for the returned list. Filtering is only currently
    * supported on the `file_path` field.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Optional. Optional filter for the returned list. Filtering is only currently
    * supported on the `file_path` field.
    * 
* * string filter = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryCompilationResultActionsResponse.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryCompilationResultActionsResponse.java similarity index 62% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryCompilationResultActionsResponse.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryCompilationResultActionsResponse.java index 1a7c137..3284203 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryCompilationResultActionsResponse.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryCompilationResultActionsResponse.java @@ -1,24 +1,44 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * `QueryCompilationResultActions` response message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse} */ -public final class QueryCompilationResultActionsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class QueryCompilationResultActionsResponse + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse) QueryCompilationResultActionsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use QueryCompilationResultActionsResponse.newBuilder() to construct. - private QueryCompilationResultActionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private QueryCompilationResultActionsResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private QueryCompilationResultActionsResponse() { compilationResultActions_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +46,15 @@ private QueryCompilationResultActionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new QueryCompilationResultActionsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private QueryCompilationResultActionsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +74,34 @@ private QueryCompilationResultActionsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - compilationResultActions_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + compilationResultActions_ = + new java.util.ArrayList< + com.google.cloud.dataform.v1beta1.CompilationResultAction>(); + mutable_bitField0_ |= 0x00000001; + } + compilationResultActions_.add( + input.readMessage( + com.google.cloud.dataform.v1beta1.CompilationResultAction.parser(), + extensionRegistry)); + break; } - compilationResultActions_.add( - input.readMessage(com.google.cloud.dataform.v1beta1.CompilationResultAction.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,98 +109,128 @@ private QueryCompilationResultActionsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { - compilationResultActions_ = java.util.Collections.unmodifiableList(compilationResultActions_); + compilationResultActions_ = + java.util.Collections.unmodifiableList(compilationResultActions_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsResponse_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse.class, com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse.Builder.class); + com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse.class, + com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse.Builder.class); } public static final int COMPILATION_RESULT_ACTIONS_FIELD_NUMBER = 1; - private java.util.List compilationResultActions_; + private java.util.List + compilationResultActions_; /** + * + * *
    * List of compilation result actions.
    * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * */ @java.lang.Override - public java.util.List getCompilationResultActionsList() { + public java.util.List + getCompilationResultActionsList() { return compilationResultActions_; } /** + * + * *
    * List of compilation result actions.
    * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.dataform.v1beta1.CompilationResultActionOrBuilder> getCompilationResultActionsOrBuilderList() { return compilationResultActions_; } /** + * + * *
    * List of compilation result actions.
    * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * */ @java.lang.Override public int getCompilationResultActionsCount() { return compilationResultActions_.size(); } /** + * + * *
    * List of compilation result actions.
    * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * */ @java.lang.Override - public com.google.cloud.dataform.v1beta1.CompilationResultAction getCompilationResultActions(int index) { + public com.google.cloud.dataform.v1beta1.CompilationResultAction getCompilationResultActions( + int index) { return compilationResultActions_.get(index); } /** + * + * *
    * List of compilation result actions.
    * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * */ @java.lang.Override - public com.google.cloud.dataform.v1beta1.CompilationResultActionOrBuilder getCompilationResultActionsOrBuilder( - int index) { + public com.google.cloud.dataform.v1beta1.CompilationResultActionOrBuilder + getCompilationResultActionsOrBuilder(int index) { return compilationResultActions_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +239,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +271,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +283,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < compilationResultActions_.size(); i++) { output.writeMessage(1, compilationResultActions_.get(i)); } @@ -245,8 +300,9 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < compilationResultActions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, compilationResultActions_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, compilationResultActions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +315,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse other = (com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse) obj; + com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse other = + (com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse) obj; - if (!getCompilationResultActionsList() - .equals(other.getCompilationResultActionsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getCompilationResultActionsList().equals(other.getCompilationResultActionsList())) + return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,135 +349,148 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `QueryCompilationResultActions` response message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse) com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsResponse_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse.class, com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse.Builder.class); + com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse.class, + com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse.Builder + .class); } - // Construct using com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse.newBuilder() + // Construct using + // com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getCompilationResultActionsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,19 +506,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_QueryCompilationResultActionsResponse_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse getDefaultInstanceForType() { - return com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse.getDefaultInstance(); + public com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse + getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse build() { - com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse result = buildPartial(); + com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -458,11 +530,13 @@ public com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse b @java.lang.Override public com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse buildPartial() { - com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse result = new com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse(this); + com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse result = + new com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse(this); int from_bitField0_ = bitField0_; if (compilationResultActionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - compilationResultActions_ = java.util.Collections.unmodifiableList(compilationResultActions_); + compilationResultActions_ = + java.util.Collections.unmodifiableList(compilationResultActions_); bitField0_ = (bitField0_ & ~0x00000001); } result.compilationResultActions_ = compilationResultActions_; @@ -478,46 +552,52 @@ public com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse b public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse) { - return mergeFrom((com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse)other); + if (other + instanceof com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse) { + return mergeFrom( + (com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse other) { - if (other == com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse other) { + if (other + == com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse + .getDefaultInstance()) return this; if (compilationResultActionsBuilder_ == null) { if (!other.compilationResultActions_.isEmpty()) { if (compilationResultActions_.isEmpty()) { @@ -536,9 +616,10 @@ public Builder mergeFrom(com.google.cloud.dataform.v1beta1.QueryCompilationResul compilationResultActionsBuilder_ = null; compilationResultActions_ = other.compilationResultActions_; bitField0_ = (bitField0_ & ~0x00000001); - compilationResultActionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getCompilationResultActionsFieldBuilder() : null; + compilationResultActionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getCompilationResultActionsFieldBuilder() + : null; } else { compilationResultActionsBuilder_.addAllMessages(other.compilationResultActions_); } @@ -567,7 +648,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,28 +659,40 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private java.util.List compilationResultActions_ = - java.util.Collections.emptyList(); + private java.util.List + compilationResultActions_ = java.util.Collections.emptyList(); + private void ensureCompilationResultActionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - compilationResultActions_ = new java.util.ArrayList(compilationResultActions_); + compilationResultActions_ = + new java.util.ArrayList( + compilationResultActions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1beta1.CompilationResultAction, com.google.cloud.dataform.v1beta1.CompilationResultAction.Builder, com.google.cloud.dataform.v1beta1.CompilationResultActionOrBuilder> compilationResultActionsBuilder_; + com.google.cloud.dataform.v1beta1.CompilationResultAction, + com.google.cloud.dataform.v1beta1.CompilationResultAction.Builder, + com.google.cloud.dataform.v1beta1.CompilationResultActionOrBuilder> + compilationResultActionsBuilder_; /** + * + * *
      * List of compilation result actions.
      * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * */ - public java.util.List getCompilationResultActionsList() { + public java.util.List + getCompilationResultActionsList() { if (compilationResultActionsBuilder_ == null) { return java.util.Collections.unmodifiableList(compilationResultActions_); } else { @@ -605,11 +700,15 @@ public java.util.List } } /** + * + * *
      * List of compilation result actions.
      * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * */ public int getCompilationResultActionsCount() { if (compilationResultActionsBuilder_ == null) { @@ -619,13 +718,18 @@ public int getCompilationResultActionsCount() { } } /** + * + * *
      * List of compilation result actions.
      * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * */ - public com.google.cloud.dataform.v1beta1.CompilationResultAction getCompilationResultActions(int index) { + public com.google.cloud.dataform.v1beta1.CompilationResultAction getCompilationResultActions( + int index) { if (compilationResultActionsBuilder_ == null) { return compilationResultActions_.get(index); } else { @@ -633,11 +737,15 @@ public com.google.cloud.dataform.v1beta1.CompilationResultAction getCompilationR } } /** + * + * *
      * List of compilation result actions.
      * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * */ public Builder setCompilationResultActions( int index, com.google.cloud.dataform.v1beta1.CompilationResultAction value) { @@ -654,14 +762,19 @@ public Builder setCompilationResultActions( return this; } /** + * + * *
      * List of compilation result actions.
      * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * */ public Builder setCompilationResultActions( - int index, com.google.cloud.dataform.v1beta1.CompilationResultAction.Builder builderForValue) { + int index, + com.google.cloud.dataform.v1beta1.CompilationResultAction.Builder builderForValue) { if (compilationResultActionsBuilder_ == null) { ensureCompilationResultActionsIsMutable(); compilationResultActions_.set(index, builderForValue.build()); @@ -672,13 +785,18 @@ public Builder setCompilationResultActions( return this; } /** + * + * *
      * List of compilation result actions.
      * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * */ - public Builder addCompilationResultActions(com.google.cloud.dataform.v1beta1.CompilationResultAction value) { + public Builder addCompilationResultActions( + com.google.cloud.dataform.v1beta1.CompilationResultAction value) { if (compilationResultActionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -692,11 +810,15 @@ public Builder addCompilationResultActions(com.google.cloud.dataform.v1beta1.Com return this; } /** + * + * *
      * List of compilation result actions.
      * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * */ public Builder addCompilationResultActions( int index, com.google.cloud.dataform.v1beta1.CompilationResultAction value) { @@ -713,11 +835,15 @@ public Builder addCompilationResultActions( return this; } /** + * + * *
      * List of compilation result actions.
      * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * */ public Builder addCompilationResultActions( com.google.cloud.dataform.v1beta1.CompilationResultAction.Builder builderForValue) { @@ -731,14 +857,19 @@ public Builder addCompilationResultActions( return this; } /** + * + * *
      * List of compilation result actions.
      * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * */ public Builder addCompilationResultActions( - int index, com.google.cloud.dataform.v1beta1.CompilationResultAction.Builder builderForValue) { + int index, + com.google.cloud.dataform.v1beta1.CompilationResultAction.Builder builderForValue) { if (compilationResultActionsBuilder_ == null) { ensureCompilationResultActionsIsMutable(); compilationResultActions_.add(index, builderForValue.build()); @@ -749,18 +880,22 @@ public Builder addCompilationResultActions( return this; } /** + * + * *
      * List of compilation result actions.
      * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * */ public Builder addAllCompilationResultActions( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (compilationResultActionsBuilder_ == null) { ensureCompilationResultActionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, compilationResultActions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, compilationResultActions_); onChanged(); } else { compilationResultActionsBuilder_.addAllMessages(values); @@ -768,11 +903,15 @@ public Builder addAllCompilationResultActions( return this; } /** + * + * *
      * List of compilation result actions.
      * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * */ public Builder clearCompilationResultActions() { if (compilationResultActionsBuilder_ == null) { @@ -785,11 +924,15 @@ public Builder clearCompilationResultActions() { return this; } /** + * + * *
      * List of compilation result actions.
      * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * */ public Builder removeCompilationResultActions(int index) { if (compilationResultActionsBuilder_ == null) { @@ -802,39 +945,53 @@ public Builder removeCompilationResultActions(int index) { return this; } /** + * + * *
      * List of compilation result actions.
      * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * */ - public com.google.cloud.dataform.v1beta1.CompilationResultAction.Builder getCompilationResultActionsBuilder( - int index) { + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Builder + getCompilationResultActionsBuilder(int index) { return getCompilationResultActionsFieldBuilder().getBuilder(index); } /** + * + * *
      * List of compilation result actions.
      * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * */ - public com.google.cloud.dataform.v1beta1.CompilationResultActionOrBuilder getCompilationResultActionsOrBuilder( - int index) { + public com.google.cloud.dataform.v1beta1.CompilationResultActionOrBuilder + getCompilationResultActionsOrBuilder(int index) { if (compilationResultActionsBuilder_ == null) { - return compilationResultActions_.get(index); } else { + return compilationResultActions_.get(index); + } else { return compilationResultActionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of compilation result actions.
      * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * */ - public java.util.List - getCompilationResultActionsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.dataform.v1beta1.CompilationResultActionOrBuilder> + getCompilationResultActionsOrBuilderList() { if (compilationResultActionsBuilder_ != null) { return compilationResultActionsBuilder_.getMessageOrBuilderList(); } else { @@ -842,45 +999,67 @@ public com.google.cloud.dataform.v1beta1.CompilationResultActionOrBuilder getCom } } /** + * + * *
      * List of compilation result actions.
      * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * */ - public com.google.cloud.dataform.v1beta1.CompilationResultAction.Builder addCompilationResultActionsBuilder() { - return getCompilationResultActionsFieldBuilder().addBuilder( - com.google.cloud.dataform.v1beta1.CompilationResultAction.getDefaultInstance()); + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Builder + addCompilationResultActionsBuilder() { + return getCompilationResultActionsFieldBuilder() + .addBuilder( + com.google.cloud.dataform.v1beta1.CompilationResultAction.getDefaultInstance()); } /** + * + * *
      * List of compilation result actions.
      * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * */ - public com.google.cloud.dataform.v1beta1.CompilationResultAction.Builder addCompilationResultActionsBuilder( - int index) { - return getCompilationResultActionsFieldBuilder().addBuilder( - index, com.google.cloud.dataform.v1beta1.CompilationResultAction.getDefaultInstance()); + public com.google.cloud.dataform.v1beta1.CompilationResultAction.Builder + addCompilationResultActionsBuilder(int index) { + return getCompilationResultActionsFieldBuilder() + .addBuilder( + index, + com.google.cloud.dataform.v1beta1.CompilationResultAction.getDefaultInstance()); } /** + * + * *
      * List of compilation result actions.
      * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * */ - public java.util.List - getCompilationResultActionsBuilderList() { + public java.util.List + getCompilationResultActionsBuilderList() { return getCompilationResultActionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1beta1.CompilationResultAction, com.google.cloud.dataform.v1beta1.CompilationResultAction.Builder, com.google.cloud.dataform.v1beta1.CompilationResultActionOrBuilder> + com.google.cloud.dataform.v1beta1.CompilationResultAction, + com.google.cloud.dataform.v1beta1.CompilationResultAction.Builder, + com.google.cloud.dataform.v1beta1.CompilationResultActionOrBuilder> getCompilationResultActionsFieldBuilder() { if (compilationResultActionsBuilder_ == null) { - compilationResultActionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1beta1.CompilationResultAction, com.google.cloud.dataform.v1beta1.CompilationResultAction.Builder, com.google.cloud.dataform.v1beta1.CompilationResultActionOrBuilder>( + compilationResultActionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.CompilationResultAction, + com.google.cloud.dataform.v1beta1.CompilationResultAction.Builder, + com.google.cloud.dataform.v1beta1.CompilationResultActionOrBuilder>( compilationResultActions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -892,19 +1071,21 @@ public com.google.cloud.dataform.v1beta1.CompilationResultAction.Builder addComp private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1094,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1117,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,30 +1191,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse) - private static final com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse(); + DEFAULT_INSTANCE = + new com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse(); } - public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse getDefaultInstance() { + public static com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueryCompilationResultActionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new QueryCompilationResultActionsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryCompilationResultActionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new QueryCompilationResultActionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,9 +1229,8 @@ public com.google.protobuf.Parser getPars } @java.lang.Override - public com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse getDefaultInstanceForType() { + public com.google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryCompilationResultActionsResponseOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryCompilationResultActionsResponseOrBuilder.java similarity index 52% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryCompilationResultActionsResponseOrBuilder.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryCompilationResultActionsResponseOrBuilder.java index 8d51631..f62a881 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryCompilationResultActionsResponseOrBuilder.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryCompilationResultActionsResponseOrBuilder.java @@ -1,75 +1,116 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; -public interface QueryCompilationResultActionsResponseOrBuilder extends +public interface QueryCompilationResultActionsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.QueryCompilationResultActionsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of compilation result actions.
    * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * */ - java.util.List + java.util.List getCompilationResultActionsList(); /** + * + * *
    * List of compilation result actions.
    * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * */ com.google.cloud.dataform.v1beta1.CompilationResultAction getCompilationResultActions(int index); /** + * + * *
    * List of compilation result actions.
    * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * */ int getCompilationResultActionsCount(); /** + * + * *
    * List of compilation result actions.
    * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * */ - java.util.List + java.util.List getCompilationResultActionsOrBuilderList(); /** + * + * *
    * List of compilation result actions.
    * 
* - * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.CompilationResultAction compilation_result_actions = 1; + * */ - com.google.cloud.dataform.v1beta1.CompilationResultActionOrBuilder getCompilationResultActionsOrBuilder( - int index); + com.google.cloud.dataform.v1beta1.CompilationResultActionOrBuilder + getCompilationResultActionsOrBuilder(int index); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryDirectoryContentsRequest.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryDirectoryContentsRequest.java similarity index 69% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryDirectoryContentsRequest.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryDirectoryContentsRequest.java index 0dd89a0..82614b1 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryDirectoryContentsRequest.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryDirectoryContentsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * `QueryDirectoryContents` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest} */ -public final class QueryDirectoryContentsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class QueryDirectoryContentsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest) QueryDirectoryContentsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use QueryDirectoryContentsRequest.newBuilder() to construct. private QueryDirectoryContentsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private QueryDirectoryContentsRequest() { workspace_ = ""; path_ = ""; @@ -27,16 +45,15 @@ private QueryDirectoryContentsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new QueryDirectoryContentsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private QueryDirectoryContentsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,36 +72,39 @@ private QueryDirectoryContentsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - workspace_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - path_ = s; - break; - } - case 24: { + workspace_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + path_ = s; + break; + } + case 24: + { + pageSize_ = input.readInt32(); + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +112,41 @@ private QueryDirectoryContentsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest.class, com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest.Builder.class); + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest.class, + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest.Builder.class); } public static final int WORKSPACE_FIELD_NUMBER = 1; private volatile java.lang.Object workspace_; /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ @java.lang.Override @@ -128,29 +155,31 @@ public java.lang.String getWorkspace() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; } } /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ @java.lang.Override - public com.google.protobuf.ByteString - getWorkspaceBytes() { + public com.google.protobuf.ByteString getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workspace_ = b; return b; } else { @@ -161,12 +190,15 @@ public java.lang.String getWorkspace() { public static final int PATH_FIELD_NUMBER = 2; private volatile java.lang.Object path_; /** + * + * *
    * Optional. The directory's full path including directory name, relative to the
    * workspace root. If left unset, the workspace root is used.
    * 
* * string path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The path. */ @java.lang.Override @@ -175,30 +207,30 @@ public java.lang.String getPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } } /** + * + * *
    * Optional. The directory's full path including directory name, relative to the
    * workspace root. If left unset, the workspace root is used.
    * 
* * string path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for path. */ @java.lang.Override - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); path_ = b; return b; } else { @@ -209,6 +241,8 @@ public java.lang.String getPath() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** + * + * *
    * Optional. Maximum number of paths to return. The server may return fewer
    * items than requested. If unspecified, the server will pick an appropriate
@@ -216,6 +250,7 @@ public java.lang.String getPath() {
    * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -226,6 +261,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object pageToken_; /** + * + * *
    * Optional. Page token received from a previous `QueryDirectoryContents` call.
    * Provide this to retrieve the subsequent page.
@@ -235,6 +272,7 @@ public int getPageSize() {
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -243,14 +281,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Optional. Page token received from a previous `QueryDirectoryContents` call.
    * Provide this to retrieve the subsequent page.
@@ -260,16 +299,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -278,6 +316,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -289,8 +328,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workspace_); } @@ -319,8 +357,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, path_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pageToken_); @@ -333,21 +370,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest other = (com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest) obj; - - if (!getWorkspace() - .equals(other.getWorkspace())) return false; - if (!getPath() - .equals(other.getPath())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest other = + (com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest) obj; + + if (!getWorkspace().equals(other.getWorkspace())) return false; + if (!getPath().equals(other.getPath())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -373,117 +407,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `QueryDirectoryContents` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest) com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest.class, com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest.Builder.class); + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest.class, + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest.newBuilder() @@ -491,16 +535,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -516,13 +559,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest getDefaultInstanceForType() { + public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest + getDefaultInstanceForType() { return com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest.getDefaultInstance(); } @@ -537,7 +581,8 @@ public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest build() { @java.lang.Override public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest buildPartial() { - com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest result = new com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest(this); + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest result = + new com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest(this); result.workspace_ = workspace_; result.path_ = path_; result.pageSize_ = pageSize_; @@ -550,46 +595,50 @@ public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest buildPart public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest) { - return mergeFrom((com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest other) { - if (other == com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest other) { + if (other + == com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest.getDefaultInstance()) + return this; if (!other.getWorkspace().isEmpty()) { workspace_ = other.workspace_; onChanged(); @@ -624,7 +673,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -636,18 +687,22 @@ public Builder mergeFrom( private java.lang.Object workspace_ = ""; /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ public java.lang.String getWorkspace() { java.lang.Object ref = workspace_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; @@ -656,20 +711,23 @@ public java.lang.String getWorkspace() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ - public com.google.protobuf.ByteString - getWorkspaceBytes() { + public com.google.protobuf.ByteString getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workspace_ = b; return b; } else { @@ -677,54 +735,67 @@ public java.lang.String getWorkspace() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The workspace to set. * @return This builder for chaining. */ - public Builder setWorkspace( - java.lang.String value) { + public Builder setWorkspace(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + workspace_ = value; onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearWorkspace() { - + workspace_ = getDefaultInstance().getWorkspace(); onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for workspace to set. * @return This builder for chaining. */ - public Builder setWorkspaceBytes( - com.google.protobuf.ByteString value) { + public Builder setWorkspaceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workspace_ = value; onChanged(); return this; @@ -732,19 +803,21 @@ public Builder setWorkspaceBytes( private java.lang.Object path_ = ""; /** + * + * *
      * Optional. The directory's full path including directory name, relative to the
      * workspace root. If left unset, the workspace root is used.
      * 
* * string path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; @@ -753,21 +826,22 @@ public java.lang.String getPath() { } } /** + * + * *
      * Optional. The directory's full path including directory name, relative to the
      * workspace root. If left unset, the workspace root is used.
      * 
* * string path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for path. */ - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); path_ = b; return b; } else { @@ -775,64 +849,73 @@ public java.lang.String getPath() { } } /** + * + * *
      * Optional. The directory's full path including directory name, relative to the
      * workspace root. If left unset, the workspace root is used.
      * 
* * string path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath( - java.lang.String value) { + public Builder setPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + path_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The directory's full path including directory name, relative to the
      * workspace root. If left unset, the workspace root is used.
      * 
* * string path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPath() { - + path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** + * + * *
      * Optional. The directory's full path including directory name, relative to the
      * workspace root. If left unset, the workspace root is used.
      * 
* * string path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes( - com.google.protobuf.ByteString value) { + public Builder setPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. Maximum number of paths to return. The server may return fewer
      * items than requested. If unspecified, the server will pick an appropriate
@@ -840,6 +923,7 @@ public Builder setPathBytes(
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -847,6 +931,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. Maximum number of paths to return. The server may return fewer
      * items than requested. If unspecified, the server will pick an appropriate
@@ -854,16 +940,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Maximum number of paths to return. The server may return fewer
      * items than requested. If unspecified, the server will pick an appropriate
@@ -871,10 +960,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -882,6 +972,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. Page token received from a previous `QueryDirectoryContents` call.
      * Provide this to retrieve the subsequent page.
@@ -891,13 +983,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -906,6 +998,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `QueryDirectoryContents` call.
      * Provide this to retrieve the subsequent page.
@@ -915,15 +1009,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -931,6 +1024,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `QueryDirectoryContents` call.
      * Provide this to retrieve the subsequent page.
@@ -940,20 +1035,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Page token received from a previous `QueryDirectoryContents` call.
      * Provide this to retrieve the subsequent page.
@@ -963,15 +1060,18 @@ public Builder setPageToken(
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * Optional. Page token received from a previous `QueryDirectoryContents` call.
      * Provide this to retrieve the subsequent page.
@@ -981,23 +1081,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1007,30 +1107,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest) - private static final com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest(); } - public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest getDefaultInstance() { + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueryDirectoryContentsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new QueryDirectoryContentsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryDirectoryContentsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new QueryDirectoryContentsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1042,9 +1144,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest getDefaultInstanceForType() { + public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryDirectoryContentsRequestOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryDirectoryContentsRequestOrBuilder.java similarity index 66% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryDirectoryContentsRequestOrBuilder.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryDirectoryContentsRequestOrBuilder.java index c515070..70d750c 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryDirectoryContentsRequestOrBuilder.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryDirectoryContentsRequestOrBuilder.java @@ -1,55 +1,87 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; -public interface QueryDirectoryContentsRequestOrBuilder extends +public interface QueryDirectoryContentsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.QueryDirectoryContentsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ java.lang.String getWorkspace(); /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ - com.google.protobuf.ByteString - getWorkspaceBytes(); + com.google.protobuf.ByteString getWorkspaceBytes(); /** + * + * *
    * Optional. The directory's full path including directory name, relative to the
    * workspace root. If left unset, the workspace root is used.
    * 
* * string path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The path. */ java.lang.String getPath(); /** + * + * *
    * Optional. The directory's full path including directory name, relative to the
    * workspace root. If left unset, the workspace root is used.
    * 
* * string path = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for path. */ - com.google.protobuf.ByteString - getPathBytes(); + com.google.protobuf.ByteString getPathBytes(); /** + * + * *
    * Optional. Maximum number of paths to return. The server may return fewer
    * items than requested. If unspecified, the server will pick an appropriate
@@ -57,11 +89,14 @@ public interface QueryDirectoryContentsRequestOrBuilder extends
    * 
* * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. Page token received from a previous `QueryDirectoryContents` call.
    * Provide this to retrieve the subsequent page.
@@ -71,10 +106,13 @@ public interface QueryDirectoryContentsRequestOrBuilder extends
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. Page token received from a previous `QueryDirectoryContents` call.
    * Provide this to retrieve the subsequent page.
@@ -84,8 +122,8 @@ public interface QueryDirectoryContentsRequestOrBuilder extends
    * 
* * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryDirectoryContentsResponse.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryDirectoryContentsResponse.java similarity index 62% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryDirectoryContentsResponse.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryDirectoryContentsResponse.java index 9a759bb..fe4a561 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryDirectoryContentsResponse.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryDirectoryContentsResponse.java @@ -1,24 +1,43 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * `QueryDirectoryContents` response message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse} */ -public final class QueryDirectoryContentsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class QueryDirectoryContentsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse) QueryDirectoryContentsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use QueryDirectoryContentsResponse.newBuilder() to construct. - private QueryDirectoryContentsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private QueryDirectoryContentsResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private QueryDirectoryContentsResponse() { directoryEntries_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +45,15 @@ private QueryDirectoryContentsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new QueryDirectoryContentsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private QueryDirectoryContentsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +73,36 @@ private QueryDirectoryContentsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - directoryEntries_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + directoryEntries_ = + new java.util.ArrayList< + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse + .DirectoryEntry>(); + mutable_bitField0_ |= 0x00000001; + } + directoryEntries_.add( + input.readMessage( + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse + .DirectoryEntry.parser(), + extensionRegistry)); + break; } - directoryEntries_.add( - input.readMessage(com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +110,7 @@ private QueryDirectoryContentsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { directoryEntries_ = java.util.Collections.unmodifiableList(directoryEntries_); @@ -94,114 +119,137 @@ private QueryDirectoryContentsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.class, com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.Builder.class); + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.class, + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.Builder.class); } - public interface DirectoryEntryOrBuilder extends + public interface DirectoryEntryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * A file in the directory.
      * 
* * string file = 1; + * * @return Whether the file field is set. */ boolean hasFile(); /** + * + * *
      * A file in the directory.
      * 
* * string file = 1; + * * @return The file. */ java.lang.String getFile(); /** + * + * *
      * A file in the directory.
      * 
* * string file = 1; + * * @return The bytes for file. */ - com.google.protobuf.ByteString - getFileBytes(); + com.google.protobuf.ByteString getFileBytes(); /** + * + * *
      * A child directory in the directory.
      * 
* * string directory = 2; + * * @return Whether the directory field is set. */ boolean hasDirectory(); /** + * + * *
      * A child directory in the directory.
      * 
* * string directory = 2; + * * @return The directory. */ java.lang.String getDirectory(); /** + * + * *
      * A child directory in the directory.
      * 
* * string directory = 2; + * * @return The bytes for directory. */ - com.google.protobuf.ByteString - getDirectoryBytes(); + com.google.protobuf.ByteString getDirectoryBytes(); - public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry.EntryCase getEntryCase(); + public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry.EntryCase + getEntryCase(); } /** + * + * *
    * Represents a single entry in a workspace directory.
    * 
* - * Protobuf type {@code google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry} + * Protobuf type {@code + * google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry} */ - public static final class DirectoryEntry extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class DirectoryEntry extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry) DirectoryEntryOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DirectoryEntry.newBuilder() to construct. private DirectoryEntry(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DirectoryEntry() { - } + + private DirectoryEntry() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DirectoryEntry(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DirectoryEntry( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -220,25 +268,27 @@ private DirectoryEntry( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - entryCase_ = 1; - entry_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - entryCase_ = 2; - entry_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + entryCase_ = 1; + entry_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + entryCase_ = 2; + entry_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -246,35 +296,41 @@ private DirectoryEntry( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_DirectoryEntry_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_DirectoryEntry_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_DirectoryEntry_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_DirectoryEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry.class, com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry.Builder.class); + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry.class, + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry + .Builder.class); } private int entryCase_ = 0; private java.lang.Object entry_; + public enum EntryCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { FILE(1), DIRECTORY(2), ENTRY_NOT_SET(0); private final int value; + private EntryCase(int value) { this.value = value; } @@ -290,41 +346,50 @@ public static EntryCase valueOf(int value) { public static EntryCase forNumber(int value) { switch (value) { - case 1: return FILE; - case 2: return DIRECTORY; - case 0: return ENTRY_NOT_SET; - default: return null; + case 1: + return FILE; + case 2: + return DIRECTORY; + case 0: + return ENTRY_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public EntryCase - getEntryCase() { - return EntryCase.forNumber( - entryCase_); + public EntryCase getEntryCase() { + return EntryCase.forNumber(entryCase_); } public static final int FILE_FIELD_NUMBER = 1; /** + * + * *
      * A file in the directory.
      * 
* * string file = 1; + * * @return Whether the file field is set. */ public boolean hasFile() { return entryCase_ == 1; } /** + * + * *
      * A file in the directory.
      * 
* * string file = 1; + * * @return The file. */ public java.lang.String getFile() { @@ -335,8 +400,7 @@ public java.lang.String getFile() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (entryCase_ == 1) { entry_ = s; @@ -345,23 +409,24 @@ public java.lang.String getFile() { } } /** + * + * *
      * A file in the directory.
      * 
* * string file = 1; + * * @return The bytes for file. */ - public com.google.protobuf.ByteString - getFileBytes() { + public com.google.protobuf.ByteString getFileBytes() { java.lang.Object ref = ""; if (entryCase_ == 1) { ref = entry_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (entryCase_ == 1) { entry_ = b; } @@ -373,22 +438,28 @@ public java.lang.String getFile() { public static final int DIRECTORY_FIELD_NUMBER = 2; /** + * + * *
      * A child directory in the directory.
      * 
* * string directory = 2; + * * @return Whether the directory field is set. */ public boolean hasDirectory() { return entryCase_ == 2; } /** + * + * *
      * A child directory in the directory.
      * 
* * string directory = 2; + * * @return The directory. */ public java.lang.String getDirectory() { @@ -399,8 +470,7 @@ public java.lang.String getDirectory() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (entryCase_ == 2) { entry_ = s; @@ -409,23 +479,24 @@ public java.lang.String getDirectory() { } } /** + * + * *
      * A child directory in the directory.
      * 
* * string directory = 2; + * * @return The bytes for directory. */ - public com.google.protobuf.ByteString - getDirectoryBytes() { + public com.google.protobuf.ByteString getDirectoryBytes() { java.lang.Object ref = ""; if (entryCase_ == 2) { ref = entry_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (entryCase_ == 2) { entry_ = b; } @@ -436,6 +507,7 @@ public java.lang.String getDirectory() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -447,8 +519,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (entryCase_ == 1) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, entry_); } @@ -478,22 +549,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry)) { + if (!(obj + instanceof + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry other = (com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry) obj; + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry other = + (com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry) obj; if (!getEntryCase().equals(other.getEntryCase())) return false; switch (entryCase_) { case 1: - if (!getFile() - .equals(other.getFile())) return false; + if (!getFile().equals(other.getFile())) return false; break; case 2: - if (!getDirectory() - .equals(other.getDirectory())) return false; + if (!getDirectory().equals(other.getDirectory())) return false; break; case 0: default: @@ -526,88 +598,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -617,44 +702,52 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Represents a single entry in a workspace directory.
      * 
* - * Protobuf type {@code google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry} + * Protobuf type {@code + * google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry) com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_DirectoryEntry_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_DirectoryEntry_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_DirectoryEntry_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_DirectoryEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry.class, com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry.Builder.class); + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry + .class, + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry + .Builder.class); } - // Construct using com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry.newBuilder() + // Construct using + // com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -664,19 +757,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_DirectoryEntry_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_DirectoryEntry_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry getDefaultInstanceForType() { - return com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry.getDefaultInstance(); + public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry + getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry build() { - com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry result = buildPartial(); + public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry + build() { + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -684,8 +781,11 @@ public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.Director } @java.lang.Override - public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry buildPartial() { - com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry result = new com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry(this); + public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry + buildPartial() { + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry result = + new com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry( + this); if (entryCase_ == 1) { result.entry_ = entry_; } @@ -701,62 +801,75 @@ public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.Director public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry) { - return mergeFrom((com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry)other); + if (other + instanceof + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry) { + return mergeFrom( + (com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry other) { - if (other == com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry other) { + if (other + == com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry + .getDefaultInstance()) return this; switch (other.getEntryCase()) { - case FILE: { - entryCase_ = 1; - entry_ = other.entry_; - onChanged(); - break; - } - case DIRECTORY: { - entryCase_ = 2; - entry_ = other.entry_; - onChanged(); - break; - } - case ENTRY_NOT_SET: { - break; - } + case FILE: + { + entryCase_ = 1; + entry_ = other.entry_; + onChanged(); + break; + } + case DIRECTORY: + { + entryCase_ = 2; + entry_ = other.entry_; + onChanged(); + break; + } + case ENTRY_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -773,11 +886,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry parsedMessage = null; + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -786,12 +902,12 @@ public Builder mergeFrom( } return this; } + private int entryCase_ = 0; private java.lang.Object entry_; - public EntryCase - getEntryCase() { - return EntryCase.forNumber( - entryCase_); + + public EntryCase getEntryCase() { + return EntryCase.forNumber(entryCase_); } public Builder clearEntry() { @@ -801,13 +917,15 @@ public Builder clearEntry() { return this; } - /** + * + * *
        * A file in the directory.
        * 
* * string file = 1; + * * @return Whether the file field is set. */ @java.lang.Override @@ -815,11 +933,14 @@ public boolean hasFile() { return entryCase_ == 1; } /** + * + * *
        * A file in the directory.
        * 
* * string file = 1; + * * @return The file. */ @java.lang.Override @@ -829,8 +950,7 @@ public java.lang.String getFile() { ref = entry_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (entryCase_ == 1) { entry_ = s; @@ -841,24 +961,25 @@ public java.lang.String getFile() { } } /** + * + * *
        * A file in the directory.
        * 
* * string file = 1; + * * @return The bytes for file. */ @java.lang.Override - public com.google.protobuf.ByteString - getFileBytes() { + public com.google.protobuf.ByteString getFileBytes() { java.lang.Object ref = ""; if (entryCase_ == 1) { ref = entry_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (entryCase_ == 1) { entry_ = b; } @@ -868,30 +989,35 @@ public java.lang.String getFile() { } } /** + * + * *
        * A file in the directory.
        * 
* * string file = 1; + * * @param value The file to set. * @return This builder for chaining. */ - public Builder setFile( - java.lang.String value) { + public Builder setFile(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - entryCase_ = 1; + throw new NullPointerException(); + } + entryCase_ = 1; entry_ = value; onChanged(); return this; } /** + * + * *
        * A file in the directory.
        * 
* * string file = 1; + * * @return This builder for chaining. */ public Builder clearFile() { @@ -903,20 +1029,22 @@ public Builder clearFile() { return this; } /** + * + * *
        * A file in the directory.
        * 
* * string file = 1; + * * @param value The bytes for file to set. * @return This builder for chaining. */ - public Builder setFileBytes( - com.google.protobuf.ByteString value) { + public Builder setFileBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); entryCase_ = 1; entry_ = value; onChanged(); @@ -924,11 +1052,14 @@ public Builder setFileBytes( } /** + * + * *
        * A child directory in the directory.
        * 
* * string directory = 2; + * * @return Whether the directory field is set. */ @java.lang.Override @@ -936,11 +1067,14 @@ public boolean hasDirectory() { return entryCase_ == 2; } /** + * + * *
        * A child directory in the directory.
        * 
* * string directory = 2; + * * @return The directory. */ @java.lang.Override @@ -950,8 +1084,7 @@ public java.lang.String getDirectory() { ref = entry_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (entryCase_ == 2) { entry_ = s; @@ -962,24 +1095,25 @@ public java.lang.String getDirectory() { } } /** + * + * *
        * A child directory in the directory.
        * 
* * string directory = 2; + * * @return The bytes for directory. */ @java.lang.Override - public com.google.protobuf.ByteString - getDirectoryBytes() { + public com.google.protobuf.ByteString getDirectoryBytes() { java.lang.Object ref = ""; if (entryCase_ == 2) { ref = entry_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (entryCase_ == 2) { entry_ = b; } @@ -989,30 +1123,35 @@ public java.lang.String getDirectory() { } } /** + * + * *
        * A child directory in the directory.
        * 
* * string directory = 2; + * * @param value The directory to set. * @return This builder for chaining. */ - public Builder setDirectory( - java.lang.String value) { + public Builder setDirectory(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - entryCase_ = 2; + throw new NullPointerException(); + } + entryCase_ = 2; entry_ = value; onChanged(); return this; } /** + * + * *
        * A child directory in the directory.
        * 
* * string directory = 2; + * * @return This builder for chaining. */ public Builder clearDirectory() { @@ -1024,25 +1163,28 @@ public Builder clearDirectory() { return this; } /** + * + * *
        * A child directory in the directory.
        * 
* * string directory = 2; + * * @param value The bytes for directory to set. * @return This builder for chaining. */ - public Builder setDirectoryBytes( - com.google.protobuf.ByteString value) { + public Builder setDirectoryBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); entryCase_ = 2; entry_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1055,30 +1197,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry) - private static final com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse + .DirectoryEntry + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry(); + DEFAULT_INSTANCE = + new com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry(); } - public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry getDefaultInstance() { + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DirectoryEntry parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DirectoryEntry(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DirectoryEntry parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DirectoryEntry(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1090,81 +1236,112 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry getDefaultInstanceForType() { + public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int DIRECTORY_ENTRIES_FIELD_NUMBER = 1; - private java.util.List directoryEntries_; + private java.util.List< + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry> + directoryEntries_; /** + * + * *
    * List of entries in the directory.
    * 
* - * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * */ @java.lang.Override - public java.util.List getDirectoryEntriesList() { + public java.util.List< + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry> + getDirectoryEntriesList() { return directoryEntries_; } /** + * + * *
    * List of entries in the directory.
    * 
* - * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse + .DirectoryEntryOrBuilder> getDirectoryEntriesOrBuilderList() { return directoryEntries_; } /** + * + * *
    * List of entries in the directory.
    * 
* - * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * */ @java.lang.Override public int getDirectoryEntriesCount() { return directoryEntries_.size(); } /** + * + * *
    * List of entries in the directory.
    * 
* - * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * */ @java.lang.Override - public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry getDirectoryEntries(int index) { + public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry + getDirectoryEntries(int index) { return directoryEntries_.get(index); } /** + * + * *
    * List of entries in the directory.
    * 
* - * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * */ @java.lang.Override - public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntryOrBuilder getDirectoryEntriesOrBuilder( - int index) { + public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntryOrBuilder + getDirectoryEntriesOrBuilder(int index) { return directoryEntries_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -1173,30 +1350,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1205,6 +1382,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1216,8 +1394,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < directoryEntries_.size(); i++) { output.writeMessage(1, directoryEntries_.get(i)); } @@ -1234,8 +1411,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < directoryEntries_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, directoryEntries_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, directoryEntries_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -1248,17 +1424,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse other = (com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse) obj; + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse other = + (com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse) obj; - if (!getDirectoryEntriesList() - .equals(other.getDirectoryEntriesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getDirectoryEntriesList().equals(other.getDirectoryEntriesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1282,117 +1457,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `QueryDirectoryContents` response message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse) com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.class, com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.Builder.class); + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.class, + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.Builder.class); } // Construct using com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.newBuilder() @@ -1400,17 +1585,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getDirectoryEntriesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -1426,13 +1611,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_QueryDirectoryContentsResponse_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse getDefaultInstanceForType() { + public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse + getDefaultInstanceForType() { return com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.getDefaultInstance(); } @@ -1447,7 +1633,8 @@ public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse build() @java.lang.Override public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse buildPartial() { - com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse result = new com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse(this); + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse result = + new com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse(this); int from_bitField0_ = bitField0_; if (directoryEntriesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -1467,46 +1654,50 @@ public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse buildPar public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse) { - return mergeFrom((com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse other) { - if (other == com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse other) { + if (other + == com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.getDefaultInstance()) + return this; if (directoryEntriesBuilder_ == null) { if (!other.directoryEntries_.isEmpty()) { if (directoryEntries_.isEmpty()) { @@ -1525,9 +1716,10 @@ public Builder mergeFrom(com.google.cloud.dataform.v1beta1.QueryDirectoryContent directoryEntriesBuilder_ = null; directoryEntries_ = other.directoryEntries_; bitField0_ = (bitField0_ & ~0x00000001); - directoryEntriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDirectoryEntriesFieldBuilder() : null; + directoryEntriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDirectoryEntriesFieldBuilder() + : null; } else { directoryEntriesBuilder_.addAllMessages(other.directoryEntries_); } @@ -1556,7 +1748,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1565,28 +1759,44 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private java.util.List directoryEntries_ = - java.util.Collections.emptyList(); + private java.util.List< + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry> + directoryEntries_ = java.util.Collections.emptyList(); + private void ensureDirectoryEntriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - directoryEntries_ = new java.util.ArrayList(directoryEntries_); + directoryEntries_ = + new java.util.ArrayList< + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry>( + directoryEntries_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry, com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry.Builder, com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntryOrBuilder> directoryEntriesBuilder_; + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry, + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry.Builder, + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse + .DirectoryEntryOrBuilder> + directoryEntriesBuilder_; /** + * + * *
      * List of entries in the directory.
      * 
* - * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * */ - public java.util.List getDirectoryEntriesList() { + public java.util.List< + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry> + getDirectoryEntriesList() { if (directoryEntriesBuilder_ == null) { return java.util.Collections.unmodifiableList(directoryEntries_); } else { @@ -1594,11 +1804,15 @@ public java.util.List * List of entries in the directory. *
* - * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * */ public int getDirectoryEntriesCount() { if (directoryEntriesBuilder_ == null) { @@ -1608,13 +1822,18 @@ public int getDirectoryEntriesCount() { } } /** + * + * *
      * List of entries in the directory.
      * 
* - * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * */ - public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry getDirectoryEntries(int index) { + public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry + getDirectoryEntries(int index) { if (directoryEntriesBuilder_ == null) { return directoryEntries_.get(index); } else { @@ -1622,14 +1841,19 @@ public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.Director } } /** + * + * *
      * List of entries in the directory.
      * 
* - * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * */ public Builder setDirectoryEntries( - int index, com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry value) { + int index, + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry value) { if (directoryEntriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1643,14 +1867,20 @@ public Builder setDirectoryEntries( return this; } /** + * + * *
      * List of entries in the directory.
      * 
* - * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * */ public Builder setDirectoryEntries( - int index, com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry.Builder builderForValue) { + int index, + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry.Builder + builderForValue) { if (directoryEntriesBuilder_ == null) { ensureDirectoryEntriesIsMutable(); directoryEntries_.set(index, builderForValue.build()); @@ -1661,13 +1891,18 @@ public Builder setDirectoryEntries( return this; } /** + * + * *
      * List of entries in the directory.
      * 
* - * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * */ - public Builder addDirectoryEntries(com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry value) { + public Builder addDirectoryEntries( + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry value) { if (directoryEntriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1681,14 +1916,19 @@ public Builder addDirectoryEntries(com.google.cloud.dataform.v1beta1.QueryDirect return this; } /** + * + * *
      * List of entries in the directory.
      * 
* - * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * */ public Builder addDirectoryEntries( - int index, com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry value) { + int index, + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry value) { if (directoryEntriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1702,14 +1942,19 @@ public Builder addDirectoryEntries( return this; } /** + * + * *
      * List of entries in the directory.
      * 
* - * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * */ public Builder addDirectoryEntries( - com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry.Builder builderForValue) { + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry.Builder + builderForValue) { if (directoryEntriesBuilder_ == null) { ensureDirectoryEntriesIsMutable(); directoryEntries_.add(builderForValue.build()); @@ -1720,14 +1965,20 @@ public Builder addDirectoryEntries( return this; } /** + * + * *
      * List of entries in the directory.
      * 
* - * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * */ public Builder addDirectoryEntries( - int index, com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry.Builder builderForValue) { + int index, + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry.Builder + builderForValue) { if (directoryEntriesBuilder_ == null) { ensureDirectoryEntriesIsMutable(); directoryEntries_.add(index, builderForValue.build()); @@ -1738,18 +1989,24 @@ public Builder addDirectoryEntries( return this; } /** + * + * *
      * List of entries in the directory.
      * 
* - * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * */ public Builder addAllDirectoryEntries( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry> + values) { if (directoryEntriesBuilder_ == null) { ensureDirectoryEntriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, directoryEntries_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, directoryEntries_); onChanged(); } else { directoryEntriesBuilder_.addAllMessages(values); @@ -1757,11 +2014,15 @@ public Builder addAllDirectoryEntries( return this; } /** + * + * *
      * List of entries in the directory.
      * 
* - * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * */ public Builder clearDirectoryEntries() { if (directoryEntriesBuilder_ == null) { @@ -1774,11 +2035,15 @@ public Builder clearDirectoryEntries() { return this; } /** + * + * *
      * List of entries in the directory.
      * 
* - * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * */ public Builder removeDirectoryEntries(int index) { if (directoryEntriesBuilder_ == null) { @@ -1791,39 +2056,55 @@ public Builder removeDirectoryEntries(int index) { return this; } /** + * + * *
      * List of entries in the directory.
      * 
* - * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * */ - public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry.Builder getDirectoryEntriesBuilder( - int index) { + public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry.Builder + getDirectoryEntriesBuilder(int index) { return getDirectoryEntriesFieldBuilder().getBuilder(index); } /** + * + * *
      * List of entries in the directory.
      * 
* - * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * */ - public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntryOrBuilder getDirectoryEntriesOrBuilder( - int index) { + public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntryOrBuilder + getDirectoryEntriesOrBuilder(int index) { if (directoryEntriesBuilder_ == null) { - return directoryEntries_.get(index); } else { + return directoryEntries_.get(index); + } else { return directoryEntriesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of entries in the directory.
      * 
* - * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * */ - public java.util.List - getDirectoryEntriesOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse + .DirectoryEntryOrBuilder> + getDirectoryEntriesOrBuilderList() { if (directoryEntriesBuilder_ != null) { return directoryEntriesBuilder_.getMessageOrBuilderList(); } else { @@ -1831,45 +2112,73 @@ public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.Director } } /** + * + * *
      * List of entries in the directory.
      * 
* - * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * */ - public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry.Builder addDirectoryEntriesBuilder() { - return getDirectoryEntriesFieldBuilder().addBuilder( - com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry.getDefaultInstance()); + public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry.Builder + addDirectoryEntriesBuilder() { + return getDirectoryEntriesFieldBuilder() + .addBuilder( + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry + .getDefaultInstance()); } /** + * + * *
      * List of entries in the directory.
      * 
* - * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * */ - public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry.Builder addDirectoryEntriesBuilder( - int index) { - return getDirectoryEntriesFieldBuilder().addBuilder( - index, com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry.getDefaultInstance()); + public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry.Builder + addDirectoryEntriesBuilder(int index) { + return getDirectoryEntriesFieldBuilder() + .addBuilder( + index, + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry + .getDefaultInstance()); } /** + * + * *
      * List of entries in the directory.
      * 
* - * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * */ - public java.util.List - getDirectoryEntriesBuilderList() { + public java.util.List< + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry.Builder> + getDirectoryEntriesBuilderList() { return getDirectoryEntriesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry, com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry.Builder, com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntryOrBuilder> + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry, + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry.Builder, + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse + .DirectoryEntryOrBuilder> getDirectoryEntriesFieldBuilder() { if (directoryEntriesBuilder_ == null) { - directoryEntriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry, com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry.Builder, com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntryOrBuilder>( + directoryEntriesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry, + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry + .Builder, + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse + .DirectoryEntryOrBuilder>( directoryEntries_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1881,19 +2190,21 @@ public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.Director private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1902,21 +2213,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1924,64 +2236,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1991,30 +2310,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse) - private static final com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse(); } - public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse getDefaultInstance() { + public static com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueryDirectoryContentsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new QueryDirectoryContentsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryDirectoryContentsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new QueryDirectoryContentsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2026,9 +2347,8 @@ public com.google.protobuf.Parser getParserForTy } @java.lang.Override - public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse getDefaultInstanceForType() { + public com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryDirectoryContentsResponseOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryDirectoryContentsResponseOrBuilder.java new file mode 100644 index 0000000..bd2c059 --- /dev/null +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryDirectoryContentsResponseOrBuilder.java @@ -0,0 +1,120 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface QueryDirectoryContentsResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * List of entries in the directory.
+   * 
+ * + * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + */ + java.util.List + getDirectoryEntriesList(); + /** + * + * + *
+   * List of entries in the directory.
+   * 
+ * + * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + */ + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry + getDirectoryEntries(int index); + /** + * + * + *
+   * List of entries in the directory.
+   * 
+ * + * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + */ + int getDirectoryEntriesCount(); + /** + * + * + *
+   * List of entries in the directory.
+   * 
+ * + * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + */ + java.util.List< + ? extends + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse + .DirectoryEntryOrBuilder> + getDirectoryEntriesOrBuilderList(); + /** + * + * + *
+   * List of entries in the directory.
+   * 
+ * + * + * repeated .google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntry directory_entries = 1; + * + */ + com.google.cloud.dataform.v1beta1.QueryDirectoryContentsResponse.DirectoryEntryOrBuilder + getDirectoryEntriesOrBuilder(int index); + + /** + * + * + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * + * @return The nextPageToken. + */ + java.lang.String getNextPageToken(); + /** + * + * + *
+   * A token, which can be sent as `page_token` to retrieve the next page.
+   * If this field is omitted, there are no subsequent pages.
+   * 
+ * + * string next_page_token = 2; + * + * @return The bytes for nextPageToken. + */ + com.google.protobuf.ByteString getNextPageTokenBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryWorkflowInvocationActionsRequest.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryWorkflowInvocationActionsRequest.java similarity index 65% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryWorkflowInvocationActionsRequest.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryWorkflowInvocationActionsRequest.java index 37933b2..3d20e09 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryWorkflowInvocationActionsRequest.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryWorkflowInvocationActionsRequest.java @@ -1,24 +1,44 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * `QueryWorkflowInvocationActions` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest} */ -public final class QueryWorkflowInvocationActionsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class QueryWorkflowInvocationActionsRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest) QueryWorkflowInvocationActionsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use QueryWorkflowInvocationActionsRequest.newBuilder() to construct. - private QueryWorkflowInvocationActionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private QueryWorkflowInvocationActionsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private QueryWorkflowInvocationActionsRequest() { name_ = ""; pageToken_ = ""; @@ -26,16 +46,15 @@ private QueryWorkflowInvocationActionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new QueryWorkflowInvocationActionsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private QueryWorkflowInvocationActionsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +73,32 @@ private QueryWorkflowInvocationActionsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: { - - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,34 +106,41 @@ private QueryWorkflowInvocationActionsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest.class, com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest.Builder.class); + com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest.class, + com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The workflow invocation's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -121,29 +149,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The workflow invocation's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -154,6 +184,8 @@ public java.lang.String getName() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * Optional. Maximum number of workflow invocations to return. The server may return
    * fewer items than requested. If unspecified, the server will pick an
@@ -161,6 +193,7 @@ public java.lang.String getName() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -171,6 +204,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * Optional. Page token received from a previous `QueryWorkflowInvocationActions` call.
    * Provide this to retrieve the subsequent page.
@@ -180,6 +215,7 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ @java.lang.Override @@ -188,14 +224,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * Optional. Page token received from a previous `QueryWorkflowInvocationActions` call.
    * Provide this to retrieve the subsequent page.
@@ -205,16 +242,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -223,6 +259,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -234,8 +271,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -258,8 +294,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -272,19 +307,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest other = (com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest) obj; + com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest other = + (com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getName().equals(other.getName())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -308,134 +341,146 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `QueryWorkflowInvocationActions` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest) com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest.class, com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest.Builder.class); + com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest.class, + com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest.Builder + .class); } - // Construct using com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest.newBuilder() + // Construct using + // com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -449,19 +494,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest getDefaultInstanceForType() { - return com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest.getDefaultInstance(); + public com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest + getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest build() { - com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest result = buildPartial(); + com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -470,7 +518,8 @@ public com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest b @java.lang.Override public com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest buildPartial() { - com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest result = new com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest(this); + com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest result = + new com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest(this); result.name_ = name_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -482,46 +531,52 @@ public com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest b public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest) { - return mergeFrom((com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest)other); + if (other + instanceof com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest) { + return mergeFrom( + (com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest other) { - if (other == com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest other) { + if (other + == com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -552,7 +607,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -564,18 +621,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The workflow invocation's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -584,20 +645,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The workflow invocation's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -605,61 +669,76 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The workflow invocation's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The workflow invocation's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The workflow invocation's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Optional. Maximum number of workflow invocations to return. The server may return
      * fewer items than requested. If unspecified, the server will pick an
@@ -667,6 +746,7 @@ public Builder setNameBytes(
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ @java.lang.Override @@ -674,6 +754,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Optional. Maximum number of workflow invocations to return. The server may return
      * fewer items than requested. If unspecified, the server will pick an
@@ -681,16 +763,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Maximum number of workflow invocations to return. The server may return
      * fewer items than requested. If unspecified, the server will pick an
@@ -698,10 +783,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -709,6 +795,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * Optional. Page token received from a previous `QueryWorkflowInvocationActions` call.
      * Provide this to retrieve the subsequent page.
@@ -718,13 +806,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -733,6 +821,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `QueryWorkflowInvocationActions` call.
      * Provide this to retrieve the subsequent page.
@@ -742,15 +832,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -758,6 +847,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * Optional. Page token received from a previous `QueryWorkflowInvocationActions` call.
      * Provide this to retrieve the subsequent page.
@@ -767,20 +858,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Page token received from a previous `QueryWorkflowInvocationActions` call.
      * Provide this to retrieve the subsequent page.
@@ -790,15 +883,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * Optional. Page token received from a previous `QueryWorkflowInvocationActions` call.
      * Provide this to retrieve the subsequent page.
@@ -808,23 +904,23 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -834,30 +930,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest) - private static final com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest(); } - public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest getDefaultInstance() { + public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueryWorkflowInvocationActionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new QueryWorkflowInvocationActionsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryWorkflowInvocationActionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new QueryWorkflowInvocationActionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -869,9 +968,8 @@ public com.google.protobuf.Parser getPars } @java.lang.Override - public com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest getDefaultInstanceForType() { + public com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryWorkflowInvocationActionsRequestOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryWorkflowInvocationActionsRequestOrBuilder.java similarity index 62% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryWorkflowInvocationActionsRequestOrBuilder.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryWorkflowInvocationActionsRequestOrBuilder.java index c57c343..cefd7c3 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryWorkflowInvocationActionsRequestOrBuilder.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryWorkflowInvocationActionsRequestOrBuilder.java @@ -1,33 +1,60 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; -public interface QueryWorkflowInvocationActionsRequestOrBuilder extends +public interface QueryWorkflowInvocationActionsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The workflow invocation's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The workflow invocation's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. Maximum number of workflow invocations to return. The server may return
    * fewer items than requested. If unspecified, the server will pick an
@@ -35,11 +62,14 @@ public interface QueryWorkflowInvocationActionsRequestOrBuilder extends
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * Optional. Page token received from a previous `QueryWorkflowInvocationActions` call.
    * Provide this to retrieve the subsequent page.
@@ -49,10 +79,13 @@ public interface QueryWorkflowInvocationActionsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * Optional. Page token received from a previous `QueryWorkflowInvocationActions` call.
    * Provide this to retrieve the subsequent page.
@@ -62,8 +95,8 @@ public interface QueryWorkflowInvocationActionsRequestOrBuilder extends
    * 
* * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryWorkflowInvocationActionsResponse.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryWorkflowInvocationActionsResponse.java similarity index 61% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryWorkflowInvocationActionsResponse.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryWorkflowInvocationActionsResponse.java index f40f0aa..8278aa4 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryWorkflowInvocationActionsResponse.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryWorkflowInvocationActionsResponse.java @@ -1,24 +1,44 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * `QueryWorkflowInvocationActions` response message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse} */ -public final class QueryWorkflowInvocationActionsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class QueryWorkflowInvocationActionsResponse + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse) QueryWorkflowInvocationActionsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use QueryWorkflowInvocationActionsResponse.newBuilder() to construct. - private QueryWorkflowInvocationActionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private QueryWorkflowInvocationActionsResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private QueryWorkflowInvocationActionsResponse() { workflowInvocationActions_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +46,15 @@ private QueryWorkflowInvocationActionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new QueryWorkflowInvocationActionsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private QueryWorkflowInvocationActionsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +74,34 @@ private QueryWorkflowInvocationActionsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - workflowInvocationActions_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + workflowInvocationActions_ = + new java.util.ArrayList< + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction>(); + mutable_bitField0_ |= 0x00000001; + } + workflowInvocationActions_.add( + input.readMessage( + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.parser(), + extensionRegistry)); + break; } - workflowInvocationActions_.add( - input.readMessage(com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,98 +109,128 @@ private QueryWorkflowInvocationActionsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { - workflowInvocationActions_ = java.util.Collections.unmodifiableList(workflowInvocationActions_); + workflowInvocationActions_ = + java.util.Collections.unmodifiableList(workflowInvocationActions_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsResponse_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse.class, com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse.Builder.class); + com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse.class, + com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse.Builder.class); } public static final int WORKFLOW_INVOCATION_ACTIONS_FIELD_NUMBER = 1; - private java.util.List workflowInvocationActions_; + private java.util.List + workflowInvocationActions_; /** + * + * *
    * List of workflow invocation actions.
    * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ @java.lang.Override - public java.util.List getWorkflowInvocationActionsList() { + public java.util.List + getWorkflowInvocationActionsList() { return workflowInvocationActions_; } /** + * + * *
    * List of workflow invocation actions.
    * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.dataform.v1beta1.WorkflowInvocationActionOrBuilder> getWorkflowInvocationActionsOrBuilderList() { return workflowInvocationActions_; } /** + * + * *
    * List of workflow invocation actions.
    * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ @java.lang.Override public int getWorkflowInvocationActionsCount() { return workflowInvocationActions_.size(); } /** + * + * *
    * List of workflow invocation actions.
    * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ @java.lang.Override - public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction getWorkflowInvocationActions(int index) { + public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction getWorkflowInvocationActions( + int index) { return workflowInvocationActions_.get(index); } /** + * + * *
    * List of workflow invocation actions.
    * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ @java.lang.Override - public com.google.cloud.dataform.v1beta1.WorkflowInvocationActionOrBuilder getWorkflowInvocationActionsOrBuilder( - int index) { + public com.google.cloud.dataform.v1beta1.WorkflowInvocationActionOrBuilder + getWorkflowInvocationActionsOrBuilder(int index) { return workflowInvocationActions_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +239,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +271,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +283,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < workflowInvocationActions_.size(); i++) { output.writeMessage(1, workflowInvocationActions_.get(i)); } @@ -245,8 +300,9 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < workflowInvocationActions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, workflowInvocationActions_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, workflowInvocationActions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +315,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse)) { + if (!(obj + instanceof com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse other = (com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse) obj; + com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse other = + (com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse) obj; - if (!getWorkflowInvocationActionsList() - .equals(other.getWorkflowInvocationActionsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getWorkflowInvocationActionsList().equals(other.getWorkflowInvocationActionsList())) + return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,135 +350,148 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `QueryWorkflowInvocationActions` response message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse) com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsResponse_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse.class, com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse.Builder.class); + com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse.class, + com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse.Builder + .class); } - // Construct using com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse.newBuilder() + // Construct using + // com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getWorkflowInvocationActionsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,19 +507,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_QueryWorkflowInvocationActionsResponse_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse getDefaultInstanceForType() { - return com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse.getDefaultInstance(); + public com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse + getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse build() { - com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse result = buildPartial(); + com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -458,11 +531,13 @@ public com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse @java.lang.Override public com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse buildPartial() { - com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse result = new com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse(this); + com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse result = + new com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse(this); int from_bitField0_ = bitField0_; if (workflowInvocationActionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - workflowInvocationActions_ = java.util.Collections.unmodifiableList(workflowInvocationActions_); + workflowInvocationActions_ = + java.util.Collections.unmodifiableList(workflowInvocationActions_); bitField0_ = (bitField0_ & ~0x00000001); } result.workflowInvocationActions_ = workflowInvocationActions_; @@ -478,46 +553,52 @@ public com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse) { - return mergeFrom((com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse)other); + if (other + instanceof com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse) { + return mergeFrom( + (com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse other) { - if (other == com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse other) { + if (other + == com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse + .getDefaultInstance()) return this; if (workflowInvocationActionsBuilder_ == null) { if (!other.workflowInvocationActions_.isEmpty()) { if (workflowInvocationActions_.isEmpty()) { @@ -536,9 +617,10 @@ public Builder mergeFrom(com.google.cloud.dataform.v1beta1.QueryWorkflowInvocati workflowInvocationActionsBuilder_ = null; workflowInvocationActions_ = other.workflowInvocationActions_; bitField0_ = (bitField0_ & ~0x00000001); - workflowInvocationActionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getWorkflowInvocationActionsFieldBuilder() : null; + workflowInvocationActionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getWorkflowInvocationActionsFieldBuilder() + : null; } else { workflowInvocationActionsBuilder_.addAllMessages(other.workflowInvocationActions_); } @@ -567,7 +649,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,28 +660,40 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private java.util.List workflowInvocationActions_ = - java.util.Collections.emptyList(); + private java.util.List + workflowInvocationActions_ = java.util.Collections.emptyList(); + private void ensureWorkflowInvocationActionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - workflowInvocationActions_ = new java.util.ArrayList(workflowInvocationActions_); + workflowInvocationActions_ = + new java.util.ArrayList( + workflowInvocationActions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1beta1.WorkflowInvocationAction, com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.Builder, com.google.cloud.dataform.v1beta1.WorkflowInvocationActionOrBuilder> workflowInvocationActionsBuilder_; + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction, + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.Builder, + com.google.cloud.dataform.v1beta1.WorkflowInvocationActionOrBuilder> + workflowInvocationActionsBuilder_; /** + * + * *
      * List of workflow invocation actions.
      * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ - public java.util.List getWorkflowInvocationActionsList() { + public java.util.List + getWorkflowInvocationActionsList() { if (workflowInvocationActionsBuilder_ == null) { return java.util.Collections.unmodifiableList(workflowInvocationActions_); } else { @@ -605,11 +701,15 @@ public java.util.List * List of workflow invocation actions. *
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ public int getWorkflowInvocationActionsCount() { if (workflowInvocationActionsBuilder_ == null) { @@ -619,13 +719,18 @@ public int getWorkflowInvocationActionsCount() { } } /** + * + * *
      * List of workflow invocation actions.
      * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ - public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction getWorkflowInvocationActions(int index) { + public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction getWorkflowInvocationActions( + int index) { if (workflowInvocationActionsBuilder_ == null) { return workflowInvocationActions_.get(index); } else { @@ -633,11 +738,15 @@ public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction getWorkflowInv } } /** + * + * *
      * List of workflow invocation actions.
      * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ public Builder setWorkflowInvocationActions( int index, com.google.cloud.dataform.v1beta1.WorkflowInvocationAction value) { @@ -654,14 +763,19 @@ public Builder setWorkflowInvocationActions( return this; } /** + * + * *
      * List of workflow invocation actions.
      * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ public Builder setWorkflowInvocationActions( - int index, com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.Builder builderForValue) { + int index, + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.Builder builderForValue) { if (workflowInvocationActionsBuilder_ == null) { ensureWorkflowInvocationActionsIsMutable(); workflowInvocationActions_.set(index, builderForValue.build()); @@ -672,13 +786,18 @@ public Builder setWorkflowInvocationActions( return this; } /** + * + * *
      * List of workflow invocation actions.
      * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ - public Builder addWorkflowInvocationActions(com.google.cloud.dataform.v1beta1.WorkflowInvocationAction value) { + public Builder addWorkflowInvocationActions( + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction value) { if (workflowInvocationActionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -692,11 +811,15 @@ public Builder addWorkflowInvocationActions(com.google.cloud.dataform.v1beta1.Wo return this; } /** + * + * *
      * List of workflow invocation actions.
      * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ public Builder addWorkflowInvocationActions( int index, com.google.cloud.dataform.v1beta1.WorkflowInvocationAction value) { @@ -713,11 +836,15 @@ public Builder addWorkflowInvocationActions( return this; } /** + * + * *
      * List of workflow invocation actions.
      * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ public Builder addWorkflowInvocationActions( com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.Builder builderForValue) { @@ -731,14 +858,19 @@ public Builder addWorkflowInvocationActions( return this; } /** + * + * *
      * List of workflow invocation actions.
      * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ public Builder addWorkflowInvocationActions( - int index, com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.Builder builderForValue) { + int index, + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.Builder builderForValue) { if (workflowInvocationActionsBuilder_ == null) { ensureWorkflowInvocationActionsIsMutable(); workflowInvocationActions_.add(index, builderForValue.build()); @@ -749,18 +881,22 @@ public Builder addWorkflowInvocationActions( return this; } /** + * + * *
      * List of workflow invocation actions.
      * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ public Builder addAllWorkflowInvocationActions( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (workflowInvocationActionsBuilder_ == null) { ensureWorkflowInvocationActionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, workflowInvocationActions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, workflowInvocationActions_); onChanged(); } else { workflowInvocationActionsBuilder_.addAllMessages(values); @@ -768,11 +904,15 @@ public Builder addAllWorkflowInvocationActions( return this; } /** + * + * *
      * List of workflow invocation actions.
      * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ public Builder clearWorkflowInvocationActions() { if (workflowInvocationActionsBuilder_ == null) { @@ -785,11 +925,15 @@ public Builder clearWorkflowInvocationActions() { return this; } /** + * + * *
      * List of workflow invocation actions.
      * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ public Builder removeWorkflowInvocationActions(int index) { if (workflowInvocationActionsBuilder_ == null) { @@ -802,39 +946,53 @@ public Builder removeWorkflowInvocationActions(int index) { return this; } /** + * + * *
      * List of workflow invocation actions.
      * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ - public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.Builder getWorkflowInvocationActionsBuilder( - int index) { + public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.Builder + getWorkflowInvocationActionsBuilder(int index) { return getWorkflowInvocationActionsFieldBuilder().getBuilder(index); } /** + * + * *
      * List of workflow invocation actions.
      * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ - public com.google.cloud.dataform.v1beta1.WorkflowInvocationActionOrBuilder getWorkflowInvocationActionsOrBuilder( - int index) { + public com.google.cloud.dataform.v1beta1.WorkflowInvocationActionOrBuilder + getWorkflowInvocationActionsOrBuilder(int index) { if (workflowInvocationActionsBuilder_ == null) { - return workflowInvocationActions_.get(index); } else { + return workflowInvocationActions_.get(index); + } else { return workflowInvocationActionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * List of workflow invocation actions.
      * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ - public java.util.List - getWorkflowInvocationActionsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.dataform.v1beta1.WorkflowInvocationActionOrBuilder> + getWorkflowInvocationActionsOrBuilderList() { if (workflowInvocationActionsBuilder_ != null) { return workflowInvocationActionsBuilder_.getMessageOrBuilderList(); } else { @@ -842,45 +1000,67 @@ public com.google.cloud.dataform.v1beta1.WorkflowInvocationActionOrBuilder getWo } } /** + * + * *
      * List of workflow invocation actions.
      * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ - public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.Builder addWorkflowInvocationActionsBuilder() { - return getWorkflowInvocationActionsFieldBuilder().addBuilder( - com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.getDefaultInstance()); + public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.Builder + addWorkflowInvocationActionsBuilder() { + return getWorkflowInvocationActionsFieldBuilder() + .addBuilder( + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.getDefaultInstance()); } /** + * + * *
      * List of workflow invocation actions.
      * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ - public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.Builder addWorkflowInvocationActionsBuilder( - int index) { - return getWorkflowInvocationActionsFieldBuilder().addBuilder( - index, com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.getDefaultInstance()); + public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.Builder + addWorkflowInvocationActionsBuilder(int index) { + return getWorkflowInvocationActionsFieldBuilder() + .addBuilder( + index, + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.getDefaultInstance()); } /** + * + * *
      * List of workflow invocation actions.
      * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ - public java.util.List - getWorkflowInvocationActionsBuilderList() { + public java.util.List + getWorkflowInvocationActionsBuilderList() { return getWorkflowInvocationActionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1beta1.WorkflowInvocationAction, com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.Builder, com.google.cloud.dataform.v1beta1.WorkflowInvocationActionOrBuilder> + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction, + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.Builder, + com.google.cloud.dataform.v1beta1.WorkflowInvocationActionOrBuilder> getWorkflowInvocationActionsFieldBuilder() { if (workflowInvocationActionsBuilder_ == null) { - workflowInvocationActionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1beta1.WorkflowInvocationAction, com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.Builder, com.google.cloud.dataform.v1beta1.WorkflowInvocationActionOrBuilder>( + workflowInvocationActionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction, + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.Builder, + com.google.cloud.dataform.v1beta1.WorkflowInvocationActionOrBuilder>( workflowInvocationActions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -892,19 +1072,21 @@ public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.Builder addWor private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1095,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1118,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,30 +1192,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse) - private static final com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse(); + DEFAULT_INSTANCE = + new com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse(); } - public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse getDefaultInstance() { + public static com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public QueryWorkflowInvocationActionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new QueryWorkflowInvocationActionsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public QueryWorkflowInvocationActionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new QueryWorkflowInvocationActionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,9 +1230,8 @@ public com.google.protobuf.Parser getPar } @java.lang.Override - public com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse getDefaultInstanceForType() { + public com.google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryWorkflowInvocationActionsResponseOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryWorkflowInvocationActionsResponseOrBuilder.java similarity index 53% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryWorkflowInvocationActionsResponseOrBuilder.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryWorkflowInvocationActionsResponseOrBuilder.java index 2f0482d..c030607 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryWorkflowInvocationActionsResponseOrBuilder.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/QueryWorkflowInvocationActionsResponseOrBuilder.java @@ -1,75 +1,117 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; -public interface QueryWorkflowInvocationActionsResponseOrBuilder extends +public interface QueryWorkflowInvocationActionsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.QueryWorkflowInvocationActionsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * List of workflow invocation actions.
    * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ - java.util.List + java.util.List getWorkflowInvocationActionsList(); /** + * + * *
    * List of workflow invocation actions.
    * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ - com.google.cloud.dataform.v1beta1.WorkflowInvocationAction getWorkflowInvocationActions(int index); + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction getWorkflowInvocationActions( + int index); /** + * + * *
    * List of workflow invocation actions.
    * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ int getWorkflowInvocationActionsCount(); /** + * + * *
    * List of workflow invocation actions.
    * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ - java.util.List + java.util.List getWorkflowInvocationActionsOrBuilderList(); /** + * + * *
    * List of workflow invocation actions.
    * 
* - * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * + * repeated .google.cloud.dataform.v1beta1.WorkflowInvocationAction workflow_invocation_actions = 1; + * */ - com.google.cloud.dataform.v1beta1.WorkflowInvocationActionOrBuilder getWorkflowInvocationActionsOrBuilder( - int index); + com.google.cloud.dataform.v1beta1.WorkflowInvocationActionOrBuilder + getWorkflowInvocationActionsOrBuilder(int index); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ReadFileRequest.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ReadFileRequest.java similarity index 66% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ReadFileRequest.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ReadFileRequest.java index 1b9b510..af01f70 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ReadFileRequest.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ReadFileRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * `ReadFile` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.ReadFileRequest} */ -public final class ReadFileRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ReadFileRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.ReadFileRequest) ReadFileRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ReadFileRequest.newBuilder() to construct. private ReadFileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ReadFileRequest() { workspace_ = ""; path_ = ""; @@ -26,16 +44,15 @@ private ReadFileRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ReadFileRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ReadFileRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private ReadFileRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - workspace_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + workspace_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - path_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + path_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +99,41 @@ private ReadFileRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ReadFileRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ReadFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ReadFileRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ReadFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.ReadFileRequest.class, com.google.cloud.dataform.v1beta1.ReadFileRequest.Builder.class); + com.google.cloud.dataform.v1beta1.ReadFileRequest.class, + com.google.cloud.dataform.v1beta1.ReadFileRequest.Builder.class); } public static final int WORKSPACE_FIELD_NUMBER = 1; private volatile java.lang.Object workspace_; /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ @java.lang.Override @@ -116,29 +142,31 @@ public java.lang.String getWorkspace() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; } } /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ @java.lang.Override - public com.google.protobuf.ByteString - getWorkspaceBytes() { + public com.google.protobuf.ByteString getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workspace_ = b; return b; } else { @@ -149,11 +177,14 @@ public java.lang.String getWorkspace() { public static final int PATH_FIELD_NUMBER = 2; private volatile java.lang.Object path_; /** + * + * *
    * Required. The file's full path including filename, relative to the workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The path. */ @java.lang.Override @@ -162,29 +193,29 @@ public java.lang.String getPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } } /** + * + * *
    * Required. The file's full path including filename, relative to the workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for path. */ @java.lang.Override - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); path_ = b; return b; } else { @@ -193,6 +224,7 @@ public java.lang.String getPath() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,8 +236,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workspace_); } @@ -235,17 +266,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.ReadFileRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.ReadFileRequest other = (com.google.cloud.dataform.v1beta1.ReadFileRequest) obj; + com.google.cloud.dataform.v1beta1.ReadFileRequest other = + (com.google.cloud.dataform.v1beta1.ReadFileRequest) obj; - if (!getWorkspace() - .equals(other.getWorkspace())) return false; - if (!getPath() - .equals(other.getPath())) return false; + if (!getWorkspace().equals(other.getWorkspace())) return false; + if (!getPath().equals(other.getPath())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -267,117 +297,126 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.ReadFileRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.ReadFileRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.ReadFileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.ReadFileRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.ReadFileRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.ReadFileRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.ReadFileRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.ReadFileRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.ReadFileRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.ReadFileRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.ReadFileRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.ReadFileRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.ReadFileRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.ReadFileRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.ReadFileRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `ReadFile` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.ReadFileRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.ReadFileRequest) com.google.cloud.dataform.v1beta1.ReadFileRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ReadFileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ReadFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ReadFileRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ReadFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.ReadFileRequest.class, com.google.cloud.dataform.v1beta1.ReadFileRequest.Builder.class); + com.google.cloud.dataform.v1beta1.ReadFileRequest.class, + com.google.cloud.dataform.v1beta1.ReadFileRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1beta1.ReadFileRequest.newBuilder() @@ -385,16 +424,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -406,9 +444,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ReadFileRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ReadFileRequest_descriptor; } @java.lang.Override @@ -427,7 +465,8 @@ public com.google.cloud.dataform.v1beta1.ReadFileRequest build() { @java.lang.Override public com.google.cloud.dataform.v1beta1.ReadFileRequest buildPartial() { - com.google.cloud.dataform.v1beta1.ReadFileRequest result = new com.google.cloud.dataform.v1beta1.ReadFileRequest(this); + com.google.cloud.dataform.v1beta1.ReadFileRequest result = + new com.google.cloud.dataform.v1beta1.ReadFileRequest(this); result.workspace_ = workspace_; result.path_ = path_; onBuilt(); @@ -438,38 +477,39 @@ public com.google.cloud.dataform.v1beta1.ReadFileRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.ReadFileRequest) { - return mergeFrom((com.google.cloud.dataform.v1beta1.ReadFileRequest)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.ReadFileRequest) other); } else { super.mergeFrom(other); return this; @@ -477,7 +517,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1beta1.ReadFileRequest other) { - if (other == com.google.cloud.dataform.v1beta1.ReadFileRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1beta1.ReadFileRequest.getDefaultInstance()) + return this; if (!other.getWorkspace().isEmpty()) { workspace_ = other.workspace_; onChanged(); @@ -505,7 +546,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.ReadFileRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.ReadFileRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -517,18 +559,22 @@ public Builder mergeFrom( private java.lang.Object workspace_ = ""; /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ public java.lang.String getWorkspace() { java.lang.Object ref = workspace_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; @@ -537,20 +583,23 @@ public java.lang.String getWorkspace() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ - public com.google.protobuf.ByteString - getWorkspaceBytes() { + public com.google.protobuf.ByteString getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workspace_ = b; return b; } else { @@ -558,54 +607,67 @@ public java.lang.String getWorkspace() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The workspace to set. * @return This builder for chaining. */ - public Builder setWorkspace( - java.lang.String value) { + public Builder setWorkspace(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + workspace_ = value; onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearWorkspace() { - + workspace_ = getDefaultInstance().getWorkspace(); onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for workspace to set. * @return This builder for chaining. */ - public Builder setWorkspaceBytes( - com.google.protobuf.ByteString value) { + public Builder setWorkspaceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workspace_ = value; onChanged(); return this; @@ -613,18 +675,20 @@ public Builder setWorkspaceBytes( private java.lang.Object path_ = ""; /** + * + * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; @@ -633,20 +697,21 @@ public java.lang.String getPath() { } } /** + * + * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for path. */ - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); path_ = b; return b; } else { @@ -654,61 +719,68 @@ public java.lang.String getPath() { } } /** + * + * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath( - java.lang.String value) { + public Builder setPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + path_ = value; onChanged(); return this; } /** + * + * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearPath() { - + path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** + * + * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes( - com.google.protobuf.ByteString value) { + public Builder setPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -718,12 +790,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.ReadFileRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.ReadFileRequest) private static final com.google.cloud.dataform.v1beta1.ReadFileRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.ReadFileRequest(); } @@ -732,16 +804,16 @@ public static com.google.cloud.dataform.v1beta1.ReadFileRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadFileRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ReadFileRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadFileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ReadFileRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -756,6 +828,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1beta1.ReadFileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ReadFileRequestOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ReadFileRequestOrBuilder.java new file mode 100644 index 0000000..8b7d4b2 --- /dev/null +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ReadFileRequestOrBuilder.java @@ -0,0 +1,79 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface ReadFileRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.ReadFileRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The workspace's name.
+   * 
+ * + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The workspace. + */ + java.lang.String getWorkspace(); + /** + * + * + *
+   * Required. The workspace's name.
+   * 
+ * + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for workspace. + */ + com.google.protobuf.ByteString getWorkspaceBytes(); + + /** + * + * + *
+   * Required. The file's full path including filename, relative to the workspace root.
+   * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The path. + */ + java.lang.String getPath(); + /** + * + * + *
+   * Required. The file's full path including filename, relative to the workspace root.
+   * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for path. + */ + com.google.protobuf.ByteString getPathBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ReadFileResponse.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ReadFileResponse.java similarity index 68% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ReadFileResponse.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ReadFileResponse.java index 0624d83..ceda99d 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ReadFileResponse.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ReadFileResponse.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * `ReadFile` response message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.ReadFileResponse} */ -public final class ReadFileResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ReadFileResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.ReadFileResponse) ReadFileResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ReadFileResponse.newBuilder() to construct. private ReadFileResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ReadFileResponse() { fileContents_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ReadFileResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ReadFileResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,18 +70,18 @@ private ReadFileResponse( case 0: done = true; break; - case 10: { - - fileContents_ = input.readBytes(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 10: + { + fileContents_ = input.readBytes(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -72,34 +89,39 @@ private ReadFileResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ReadFileResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ReadFileResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ReadFileResponse_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ReadFileResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.ReadFileResponse.class, com.google.cloud.dataform.v1beta1.ReadFileResponse.Builder.class); + com.google.cloud.dataform.v1beta1.ReadFileResponse.class, + com.google.cloud.dataform.v1beta1.ReadFileResponse.Builder.class); } public static final int FILE_CONTENTS_FIELD_NUMBER = 1; private com.google.protobuf.ByteString fileContents_; /** + * + * *
    * The file's contents.
    * 
* * bytes file_contents = 1; + * * @return The fileContents. */ @java.lang.Override @@ -108,6 +130,7 @@ public com.google.protobuf.ByteString getFileContents() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -119,8 +142,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!fileContents_.isEmpty()) { output.writeBytes(1, fileContents_); } @@ -134,8 +156,7 @@ public int getSerializedSize() { size = 0; if (!fileContents_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(1, fileContents_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, fileContents_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -145,15 +166,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.ReadFileResponse)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.ReadFileResponse other = (com.google.cloud.dataform.v1beta1.ReadFileResponse) obj; + com.google.cloud.dataform.v1beta1.ReadFileResponse other = + (com.google.cloud.dataform.v1beta1.ReadFileResponse) obj; - if (!getFileContents() - .equals(other.getFileContents())) return false; + if (!getFileContents().equals(other.getFileContents())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -173,117 +194,126 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.ReadFileResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.ReadFileResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.ReadFileResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.ReadFileResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.ReadFileResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.ReadFileResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.ReadFileResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.ReadFileResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.ReadFileResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.ReadFileResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.ReadFileResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.ReadFileResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.ReadFileResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.ReadFileResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.ReadFileResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `ReadFile` response message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.ReadFileResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.ReadFileResponse) com.google.cloud.dataform.v1beta1.ReadFileResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ReadFileResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ReadFileResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ReadFileResponse_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ReadFileResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.ReadFileResponse.class, com.google.cloud.dataform.v1beta1.ReadFileResponse.Builder.class); + com.google.cloud.dataform.v1beta1.ReadFileResponse.class, + com.google.cloud.dataform.v1beta1.ReadFileResponse.Builder.class); } // Construct using com.google.cloud.dataform.v1beta1.ReadFileResponse.newBuilder() @@ -291,16 +321,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -310,9 +339,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ReadFileResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ReadFileResponse_descriptor; } @java.lang.Override @@ -331,7 +360,8 @@ public com.google.cloud.dataform.v1beta1.ReadFileResponse build() { @java.lang.Override public com.google.cloud.dataform.v1beta1.ReadFileResponse buildPartial() { - com.google.cloud.dataform.v1beta1.ReadFileResponse result = new com.google.cloud.dataform.v1beta1.ReadFileResponse(this); + com.google.cloud.dataform.v1beta1.ReadFileResponse result = + new com.google.cloud.dataform.v1beta1.ReadFileResponse(this); result.fileContents_ = fileContents_; onBuilt(); return result; @@ -341,38 +371,39 @@ public com.google.cloud.dataform.v1beta1.ReadFileResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.ReadFileResponse) { - return mergeFrom((com.google.cloud.dataform.v1beta1.ReadFileResponse)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.ReadFileResponse) other); } else { super.mergeFrom(other); return this; @@ -380,7 +411,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1beta1.ReadFileResponse other) { - if (other == com.google.cloud.dataform.v1beta1.ReadFileResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1beta1.ReadFileResponse.getDefaultInstance()) + return this; if (other.getFileContents() != com.google.protobuf.ByteString.EMPTY) { setFileContents(other.getFileContents()); } @@ -403,7 +435,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.ReadFileResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.ReadFileResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -415,11 +448,14 @@ public Builder mergeFrom( private com.google.protobuf.ByteString fileContents_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * The file's contents.
      * 
* * bytes file_contents = 1; + * * @return The fileContents. */ @java.lang.Override @@ -427,40 +463,46 @@ public com.google.protobuf.ByteString getFileContents() { return fileContents_; } /** + * + * *
      * The file's contents.
      * 
* * bytes file_contents = 1; + * * @param value The fileContents to set. * @return This builder for chaining. */ public Builder setFileContents(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + fileContents_ = value; onChanged(); return this; } /** + * + * *
      * The file's contents.
      * 
* * bytes file_contents = 1; + * * @return This builder for chaining. */ public Builder clearFileContents() { - + fileContents_ = getDefaultInstance().getFileContents(); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -470,12 +512,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.ReadFileResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.ReadFileResponse) private static final com.google.cloud.dataform.v1beta1.ReadFileResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.ReadFileResponse(); } @@ -484,16 +526,16 @@ public static com.google.cloud.dataform.v1beta1.ReadFileResponse getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadFileResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ReadFileResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadFileResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ReadFileResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -508,6 +550,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1beta1.ReadFileResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ReadFileResponseOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ReadFileResponseOrBuilder.java new file mode 100644 index 0000000..fd8536a --- /dev/null +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ReadFileResponseOrBuilder.java @@ -0,0 +1,38 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface ReadFileResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.ReadFileResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The file's contents.
+   * 
+ * + * bytes file_contents = 1; + * + * @return The fileContents. + */ + com.google.protobuf.ByteString getFileContents(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RelationDescriptor.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RelationDescriptor.java similarity index 67% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RelationDescriptor.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RelationDescriptor.java index 270e93e..4761b27 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RelationDescriptor.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RelationDescriptor.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * Describes a relation and its columns.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.RelationDescriptor} */ -public final class RelationDescriptor extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RelationDescriptor extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.RelationDescriptor) RelationDescriptorOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RelationDescriptor.newBuilder() to construct. private RelationDescriptor(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RelationDescriptor() { description_ = ""; columns_ = java.util.Collections.emptyList(); @@ -26,16 +44,15 @@ private RelationDescriptor() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RelationDescriptor(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RelationDescriptor( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,41 +72,52 @@ private RelationDescriptor( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - columns_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + description_ = s; + break; } - columns_.add( - input.readMessage(com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor.parser(), extensionRegistry)); - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - bigqueryLabels_ = com.google.protobuf.MapField.newMapField( - BigqueryLabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000002; + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + columns_ = + new java.util.ArrayList< + com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor>(); + mutable_bitField0_ |= 0x00000001; + } + columns_.add( + input.readMessage( + com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor + .parser(), + extensionRegistry)); + break; } - com.google.protobuf.MapEntry - bigqueryLabels__ = input.readMessage( - BigqueryLabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - bigqueryLabels_.getMutableMap().put( - bigqueryLabels__.getKey(), bigqueryLabels__.getValue()); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 26: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + bigqueryLabels_ = + com.google.protobuf.MapField.newMapField( + BigqueryLabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000002; + } + com.google.protobuf.MapEntry bigqueryLabels__ = + input.readMessage( + BigqueryLabelsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + bigqueryLabels_ + .getMutableMap() + .put(bigqueryLabels__.getKey(), bigqueryLabels__.getValue()); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -97,8 +125,7 @@ private RelationDescriptor( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { columns_ = java.util.Collections.unmodifiableList(columns_); @@ -107,157 +134,188 @@ private RelationDescriptor( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 3: return internalGetBigqueryLabels(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.RelationDescriptor.class, com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder.class); + com.google.cloud.dataform.v1beta1.RelationDescriptor.class, + com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder.class); } - public interface ColumnDescriptorOrBuilder extends + public interface ColumnDescriptorOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The identifier for the column. Each entry in `path` represents one level
      * of nesting.
      * 
* * repeated string path = 1; + * * @return A list containing the path. */ - java.util.List - getPathList(); + java.util.List getPathList(); /** + * + * *
      * The identifier for the column. Each entry in `path` represents one level
      * of nesting.
      * 
* * repeated string path = 1; + * * @return The count of path. */ int getPathCount(); /** + * + * *
      * The identifier for the column. Each entry in `path` represents one level
      * of nesting.
      * 
* * repeated string path = 1; + * * @param index The index of the element to return. * @return The path at the given index. */ java.lang.String getPath(int index); /** + * + * *
      * The identifier for the column. Each entry in `path` represents one level
      * of nesting.
      * 
* * repeated string path = 1; + * * @param index The index of the value to return. * @return The bytes of the path at the given index. */ - com.google.protobuf.ByteString - getPathBytes(int index); + com.google.protobuf.ByteString getPathBytes(int index); /** + * + * *
      * A textual description of the column.
      * 
* * string description = 2; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
      * A textual description of the column.
      * 
* * string description = 2; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
      * A list of BigQuery policy tags that will be applied to the column.
      * 
* * repeated string bigquery_policy_tags = 3; + * * @return A list containing the bigqueryPolicyTags. */ - java.util.List - getBigqueryPolicyTagsList(); + java.util.List getBigqueryPolicyTagsList(); /** + * + * *
      * A list of BigQuery policy tags that will be applied to the column.
      * 
* * repeated string bigquery_policy_tags = 3; + * * @return The count of bigqueryPolicyTags. */ int getBigqueryPolicyTagsCount(); /** + * + * *
      * A list of BigQuery policy tags that will be applied to the column.
      * 
* * repeated string bigquery_policy_tags = 3; + * * @param index The index of the element to return. * @return The bigqueryPolicyTags at the given index. */ java.lang.String getBigqueryPolicyTags(int index); /** + * + * *
      * A list of BigQuery policy tags that will be applied to the column.
      * 
* * repeated string bigquery_policy_tags = 3; + * * @param index The index of the value to return. * @return The bytes of the bigqueryPolicyTags at the given index. */ - com.google.protobuf.ByteString - getBigqueryPolicyTagsBytes(int index); + com.google.protobuf.ByteString getBigqueryPolicyTagsBytes(int index); } /** + * + * *
    * Describes a column.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor} */ - public static final class ColumnDescriptor extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ColumnDescriptor extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor) ColumnDescriptorOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ColumnDescriptor.newBuilder() to construct. private ColumnDescriptor(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ColumnDescriptor() { path_ = com.google.protobuf.LazyStringArrayList.EMPTY; description_ = ""; @@ -266,16 +324,15 @@ private ColumnDescriptor() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ColumnDescriptor(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ColumnDescriptor( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -295,37 +352,40 @@ private ColumnDescriptor( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - path_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + path_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + path_.add(s); + break; } - path_.add(s); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - bigqueryPolicyTags_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + description_ = s; + break; } - bigqueryPolicyTags_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + bigqueryPolicyTags_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + bigqueryPolicyTags_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -333,8 +393,7 @@ private ColumnDescriptor( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { path_ = path_.getUnmodifiableView(); @@ -346,53 +405,64 @@ private ColumnDescriptor( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_ColumnDescriptor_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_ColumnDescriptor_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_ColumnDescriptor_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_ColumnDescriptor_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor.class, com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor.Builder.class); + com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor.class, + com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor.Builder.class); } public static final int PATH_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList path_; /** + * + * *
      * The identifier for the column. Each entry in `path` represents one level
      * of nesting.
      * 
* * repeated string path = 1; + * * @return A list containing the path. */ - public com.google.protobuf.ProtocolStringList - getPathList() { + public com.google.protobuf.ProtocolStringList getPathList() { return path_; } /** + * + * *
      * The identifier for the column. Each entry in `path` represents one level
      * of nesting.
      * 
* * repeated string path = 1; + * * @return The count of path. */ public int getPathCount() { return path_.size(); } /** + * + * *
      * The identifier for the column. Each entry in `path` represents one level
      * of nesting.
      * 
* * repeated string path = 1; + * * @param index The index of the element to return. * @return The path at the given index. */ @@ -400,28 +470,33 @@ public java.lang.String getPath(int index) { return path_.get(index); } /** + * + * *
      * The identifier for the column. Each entry in `path` represents one level
      * of nesting.
      * 
* * repeated string path = 1; + * * @param index The index of the value to return. * @return The bytes of the path at the given index. */ - public com.google.protobuf.ByteString - getPathBytes(int index) { + public com.google.protobuf.ByteString getPathBytes(int index) { return path_.getByteString(index); } public static final int DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** + * + * *
      * A textual description of the column.
      * 
* * string description = 2; + * * @return The description. */ @java.lang.Override @@ -430,29 +505,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
      * A textual description of the column.
      * 
* * string description = 2; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -463,34 +538,42 @@ public java.lang.String getDescription() { public static final int BIGQUERY_POLICY_TAGS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList bigqueryPolicyTags_; /** + * + * *
      * A list of BigQuery policy tags that will be applied to the column.
      * 
* * repeated string bigquery_policy_tags = 3; + * * @return A list containing the bigqueryPolicyTags. */ - public com.google.protobuf.ProtocolStringList - getBigqueryPolicyTagsList() { + public com.google.protobuf.ProtocolStringList getBigqueryPolicyTagsList() { return bigqueryPolicyTags_; } /** + * + * *
      * A list of BigQuery policy tags that will be applied to the column.
      * 
* * repeated string bigquery_policy_tags = 3; + * * @return The count of bigqueryPolicyTags. */ public int getBigqueryPolicyTagsCount() { return bigqueryPolicyTags_.size(); } /** + * + * *
      * A list of BigQuery policy tags that will be applied to the column.
      * 
* * repeated string bigquery_policy_tags = 3; + * * @param index The index of the element to return. * @return The bigqueryPolicyTags at the given index. */ @@ -498,20 +581,23 @@ public java.lang.String getBigqueryPolicyTags(int index) { return bigqueryPolicyTags_.get(index); } /** + * + * *
      * A list of BigQuery policy tags that will be applied to the column.
      * 
* * repeated string bigquery_policy_tags = 3; + * * @param index The index of the value to return. * @return The bytes of the bigqueryPolicyTags at the given index. */ - public com.google.protobuf.ByteString - getBigqueryPolicyTagsBytes(int index) { + public com.google.protobuf.ByteString getBigqueryPolicyTagsBytes(int index) { return bigqueryPolicyTags_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -523,8 +609,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < path_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, path_.getRaw(i)); } @@ -532,7 +617,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 2, description_); } for (int i = 0; i < bigqueryPolicyTags_.size(); i++) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, bigqueryPolicyTags_.getRaw(i)); + com.google.protobuf.GeneratedMessageV3.writeString( + output, 3, bigqueryPolicyTags_.getRaw(i)); } unknownFields.writeTo(output); } @@ -570,19 +656,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor other = (com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor) obj; + com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor other = + (com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor) obj; - if (!getPathList() - .equals(other.getPathList())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getBigqueryPolicyTagsList() - .equals(other.getBigqueryPolicyTagsList())) return false; + if (!getPathList().equals(other.getPathList())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getBigqueryPolicyTagsList().equals(other.getBigqueryPolicyTagsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -610,87 +694,95 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -700,44 +792,50 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Describes a column.
      * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor) com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_ColumnDescriptor_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_ColumnDescriptor_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_ColumnDescriptor_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_ColumnDescriptor_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor.class, com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor.Builder.class); + com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor.class, + com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor.Builder + .class); } - // Construct using com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor.newBuilder() + // Construct using + // com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -751,19 +849,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_ColumnDescriptor_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_ColumnDescriptor_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor getDefaultInstanceForType() { - return com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor.getDefaultInstance(); + public com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor + getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor build() { - com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor result = buildPartial(); + com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -772,7 +873,8 @@ public com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor bui @java.lang.Override public com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor buildPartial() { - com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor result = new com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor(this); + com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor result = + new com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { path_ = path_.getUnmodifiableView(); @@ -793,46 +895,54 @@ public com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor bui public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor) { - return mergeFrom((com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor)other); + if (other + instanceof com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor) { + return mergeFrom( + (com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor other) { - if (other == com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor other) { + if (other + == com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor + .getDefaultInstance()) return this; if (!other.path_.isEmpty()) { if (path_.isEmpty()) { path_ = other.path_; @@ -876,7 +986,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -885,47 +997,58 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList path_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList path_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensurePathIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { path_ = new com.google.protobuf.LazyStringArrayList(path_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
        * The identifier for the column. Each entry in `path` represents one level
        * of nesting.
        * 
* * repeated string path = 1; + * * @return A list containing the path. */ - public com.google.protobuf.ProtocolStringList - getPathList() { + public com.google.protobuf.ProtocolStringList getPathList() { return path_.getUnmodifiableView(); } /** + * + * *
        * The identifier for the column. Each entry in `path` represents one level
        * of nesting.
        * 
* * repeated string path = 1; + * * @return The count of path. */ public int getPathCount() { return path_.size(); } /** + * + * *
        * The identifier for the column. Each entry in `path` represents one level
        * of nesting.
        * 
* * repeated string path = 1; + * * @param index The index of the element to return. * @return The path at the given index. */ @@ -933,85 +1056,95 @@ public java.lang.String getPath(int index) { return path_.get(index); } /** + * + * *
        * The identifier for the column. Each entry in `path` represents one level
        * of nesting.
        * 
* * repeated string path = 1; + * * @param index The index of the value to return. * @return The bytes of the path at the given index. */ - public com.google.protobuf.ByteString - getPathBytes(int index) { + public com.google.protobuf.ByteString getPathBytes(int index) { return path_.getByteString(index); } /** + * + * *
        * The identifier for the column. Each entry in `path` represents one level
        * of nesting.
        * 
* * repeated string path = 1; + * * @param index The index to set the value at. * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath( - int index, java.lang.String value) { + public Builder setPath(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePathIsMutable(); + throw new NullPointerException(); + } + ensurePathIsMutable(); path_.set(index, value); onChanged(); return this; } /** + * + * *
        * The identifier for the column. Each entry in `path` represents one level
        * of nesting.
        * 
* * repeated string path = 1; + * * @param value The path to add. * @return This builder for chaining. */ - public Builder addPath( - java.lang.String value) { + public Builder addPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePathIsMutable(); + throw new NullPointerException(); + } + ensurePathIsMutable(); path_.add(value); onChanged(); return this; } /** + * + * *
        * The identifier for the column. Each entry in `path` represents one level
        * of nesting.
        * 
* * repeated string path = 1; + * * @param values The path to add. * @return This builder for chaining. */ - public Builder addAllPath( - java.lang.Iterable values) { + public Builder addAllPath(java.lang.Iterable values) { ensurePathIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, path_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, path_); onChanged(); return this; } /** + * + * *
        * The identifier for the column. Each entry in `path` represents one level
        * of nesting.
        * 
* * repeated string path = 1; + * * @return This builder for chaining. */ public Builder clearPath() { @@ -1021,21 +1154,23 @@ public Builder clearPath() { return this; } /** + * + * *
        * The identifier for the column. Each entry in `path` represents one level
        * of nesting.
        * 
* * repeated string path = 1; + * * @param value The bytes of the path to add. * @return This builder for chaining. */ - public Builder addPathBytes( - com.google.protobuf.ByteString value) { + public Builder addPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensurePathIsMutable(); path_.add(value); onChanged(); @@ -1044,18 +1179,20 @@ public Builder addPathBytes( private java.lang.Object description_ = ""; /** + * + * *
        * A textual description of the column.
        * 
* * string description = 2; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1064,20 +1201,21 @@ public java.lang.String getDescription() { } } /** + * + * *
        * A textual description of the column.
        * 
* * string description = 2; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -1085,95 +1223,112 @@ public java.lang.String getDescription() { } } /** + * + * *
        * A textual description of the column.
        * 
* * string description = 2; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
        * A textual description of the column.
        * 
* * string description = 2; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
        * A textual description of the column.
        * 
* * string description = 2; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList bigqueryPolicyTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList bigqueryPolicyTags_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureBigqueryPolicyTagsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { bigqueryPolicyTags_ = new com.google.protobuf.LazyStringArrayList(bigqueryPolicyTags_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
        * A list of BigQuery policy tags that will be applied to the column.
        * 
* * repeated string bigquery_policy_tags = 3; + * * @return A list containing the bigqueryPolicyTags. */ - public com.google.protobuf.ProtocolStringList - getBigqueryPolicyTagsList() { + public com.google.protobuf.ProtocolStringList getBigqueryPolicyTagsList() { return bigqueryPolicyTags_.getUnmodifiableView(); } /** + * + * *
        * A list of BigQuery policy tags that will be applied to the column.
        * 
* * repeated string bigquery_policy_tags = 3; + * * @return The count of bigqueryPolicyTags. */ public int getBigqueryPolicyTagsCount() { return bigqueryPolicyTags_.size(); } /** + * + * *
        * A list of BigQuery policy tags that will be applied to the column.
        * 
* * repeated string bigquery_policy_tags = 3; + * * @param index The index of the element to return. * @return The bigqueryPolicyTags at the given index. */ @@ -1181,80 +1336,90 @@ public java.lang.String getBigqueryPolicyTags(int index) { return bigqueryPolicyTags_.get(index); } /** + * + * *
        * A list of BigQuery policy tags that will be applied to the column.
        * 
* * repeated string bigquery_policy_tags = 3; + * * @param index The index of the value to return. * @return The bytes of the bigqueryPolicyTags at the given index. */ - public com.google.protobuf.ByteString - getBigqueryPolicyTagsBytes(int index) { + public com.google.protobuf.ByteString getBigqueryPolicyTagsBytes(int index) { return bigqueryPolicyTags_.getByteString(index); } /** + * + * *
        * A list of BigQuery policy tags that will be applied to the column.
        * 
* * repeated string bigquery_policy_tags = 3; + * * @param index The index to set the value at. * @param value The bigqueryPolicyTags to set. * @return This builder for chaining. */ - public Builder setBigqueryPolicyTags( - int index, java.lang.String value) { + public Builder setBigqueryPolicyTags(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureBigqueryPolicyTagsIsMutable(); + throw new NullPointerException(); + } + ensureBigqueryPolicyTagsIsMutable(); bigqueryPolicyTags_.set(index, value); onChanged(); return this; } /** + * + * *
        * A list of BigQuery policy tags that will be applied to the column.
        * 
* * repeated string bigquery_policy_tags = 3; + * * @param value The bigqueryPolicyTags to add. * @return This builder for chaining. */ - public Builder addBigqueryPolicyTags( - java.lang.String value) { + public Builder addBigqueryPolicyTags(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureBigqueryPolicyTagsIsMutable(); + throw new NullPointerException(); + } + ensureBigqueryPolicyTagsIsMutable(); bigqueryPolicyTags_.add(value); onChanged(); return this; } /** + * + * *
        * A list of BigQuery policy tags that will be applied to the column.
        * 
* * repeated string bigquery_policy_tags = 3; + * * @param values The bigqueryPolicyTags to add. * @return This builder for chaining. */ - public Builder addAllBigqueryPolicyTags( - java.lang.Iterable values) { + public Builder addAllBigqueryPolicyTags(java.lang.Iterable values) { ensureBigqueryPolicyTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, bigqueryPolicyTags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, bigqueryPolicyTags_); onChanged(); return this; } /** + * + * *
        * A list of BigQuery policy tags that will be applied to the column.
        * 
* * repeated string bigquery_policy_tags = 3; + * * @return This builder for chaining. */ public Builder clearBigqueryPolicyTags() { @@ -1264,25 +1429,28 @@ public Builder clearBigqueryPolicyTags() { return this; } /** + * + * *
        * A list of BigQuery policy tags that will be applied to the column.
        * 
* * repeated string bigquery_policy_tags = 3; + * * @param value The bytes of the bigqueryPolicyTags to add. * @return This builder for chaining. */ - public Builder addBigqueryPolicyTagsBytes( - com.google.protobuf.ByteString value) { + public Builder addBigqueryPolicyTagsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureBigqueryPolicyTagsIsMutable(); bigqueryPolicyTags_.add(value); onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1295,30 +1463,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor) - private static final com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor(); + DEFAULT_INSTANCE = + new com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor(); } - public static com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor getDefaultInstance() { + public static com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ColumnDescriptor parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ColumnDescriptor(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ColumnDescriptor parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ColumnDescriptor(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1330,20 +1501,23 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor getDefaultInstanceForType() { + public com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int DESCRIPTION_FIELD_NUMBER = 1; private volatile java.lang.Object description_; /** + * + * *
    * A text description of the relation.
    * 
* * string description = 1; + * * @return The description. */ @java.lang.Override @@ -1352,29 +1526,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * A text description of the relation.
    * 
* * string description = 1; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -1383,81 +1557,101 @@ public java.lang.String getDescription() { } public static final int COLUMNS_FIELD_NUMBER = 2; - private java.util.List columns_; + private java.util.List + columns_; /** + * + * *
    * A list of descriptions of columns within the relation.
    * 
* - * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * */ @java.lang.Override - public java.util.List getColumnsList() { + public java.util.List + getColumnsList() { return columns_; } /** + * + * *
    * A list of descriptions of columns within the relation.
    * 
* - * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptorOrBuilder> getColumnsOrBuilderList() { return columns_; } /** + * + * *
    * A list of descriptions of columns within the relation.
    * 
* - * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * */ @java.lang.Override public int getColumnsCount() { return columns_.size(); } /** + * + * *
    * A list of descriptions of columns within the relation.
    * 
* - * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * */ @java.lang.Override - public com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor getColumns(int index) { + public com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor getColumns( + int index) { return columns_.get(index); } /** + * + * *
    * A list of descriptions of columns within the relation.
    * 
* - * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * */ @java.lang.Override - public com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptorOrBuilder getColumnsOrBuilder( - int index) { + public com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptorOrBuilder + getColumnsOrBuilder(int index) { return columns_.get(index); } public static final int BIGQUERY_LABELS_FIELD_NUMBER = 3; + private static final class BigqueryLabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_BigqueryLabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_BigqueryLabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> bigqueryLabels_; + + private com.google.protobuf.MapField bigqueryLabels_; + private com.google.protobuf.MapField - internalGetBigqueryLabels() { + internalGetBigqueryLabels() { if (bigqueryLabels_ == null) { return com.google.protobuf.MapField.emptyMapField( BigqueryLabelsDefaultEntryHolder.defaultEntry); @@ -1469,28 +1663,30 @@ public int getBigqueryLabelsCount() { return internalGetBigqueryLabels().getMap().size(); } /** + * + * *
    * A set of BigQuery labels that should be applied to the relation.
    * 
* * map<string, string> bigquery_labels = 3; */ - @java.lang.Override - public boolean containsBigqueryLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsBigqueryLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetBigqueryLabels().getMap().containsKey(key); } - /** - * Use {@link #getBigqueryLabelsMap()} instead. - */ + /** Use {@link #getBigqueryLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getBigqueryLabels() { return getBigqueryLabelsMap(); } /** + * + * *
    * A set of BigQuery labels that should be applied to the relation.
    * 
@@ -1498,11 +1694,12 @@ public java.util.Map getBigqueryLabels() { * map<string, string> bigquery_labels = 3; */ @java.lang.Override - public java.util.Map getBigqueryLabelsMap() { return internalGetBigqueryLabels().getMap(); } /** + * + * *
    * A set of BigQuery labels that should be applied to the relation.
    * 
@@ -1510,16 +1707,17 @@ public java.util.Map getBigqueryLabelsMap() * map<string, string> bigquery_labels = 3; */ @java.lang.Override - public java.lang.String getBigqueryLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetBigqueryLabels().getMap(); + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetBigqueryLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * A set of BigQuery labels that should be applied to the relation.
    * 
@@ -1527,12 +1725,11 @@ public java.lang.String getBigqueryLabelsOrDefault( * map<string, string> bigquery_labels = 3; */ @java.lang.Override - - public java.lang.String getBigqueryLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetBigqueryLabels().getMap(); + public java.lang.String getBigqueryLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetBigqueryLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1540,6 +1737,7 @@ public java.lang.String getBigqueryLabelsOrThrow( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1551,20 +1749,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, description_); } for (int i = 0; i < columns_.size(); i++) { output.writeMessage(2, columns_.get(i)); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetBigqueryLabels(), - BigqueryLabelsDefaultEntryHolder.defaultEntry, - 3); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetBigqueryLabels(), BigqueryLabelsDefaultEntryHolder.defaultEntry, 3); unknownFields.writeTo(output); } @@ -1578,18 +1771,17 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, description_); } for (int i = 0; i < columns_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, columns_.get(i)); - } - for (java.util.Map.Entry entry - : internalGetBigqueryLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry - bigqueryLabels__ = BigqueryLabelsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, bigqueryLabels__); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, columns_.get(i)); + } + for (java.util.Map.Entry entry : + internalGetBigqueryLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry bigqueryLabels__ = + BigqueryLabelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, bigqueryLabels__); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1599,19 +1791,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.RelationDescriptor)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.RelationDescriptor other = (com.google.cloud.dataform.v1beta1.RelationDescriptor) obj; + com.google.cloud.dataform.v1beta1.RelationDescriptor other = + (com.google.cloud.dataform.v1beta1.RelationDescriptor) obj; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getColumnsList() - .equals(other.getColumnsList())) return false; - if (!internalGetBigqueryLabels().equals( - other.internalGetBigqueryLabels())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getColumnsList().equals(other.getColumnsList())) return false; + if (!internalGetBigqueryLabels().equals(other.internalGetBigqueryLabels())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1639,139 +1829,146 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.RelationDescriptor parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.RelationDescriptor parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.RelationDescriptor parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.RelationDescriptor parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.RelationDescriptor parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.RelationDescriptor parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.RelationDescriptor parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.RelationDescriptor parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.RelationDescriptor parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.RelationDescriptor parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.RelationDescriptor parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.RelationDescriptor parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.RelationDescriptor parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.RelationDescriptor parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.RelationDescriptor prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Describes a relation and its columns.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.RelationDescriptor} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.RelationDescriptor) com.google.cloud.dataform.v1beta1.RelationDescriptorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 3: return internalGetBigqueryLabels(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 3: return internalGetMutableBigqueryLabels(); default: - throw new RuntimeException( - "Invalid map field number: " + number); + throw new RuntimeException("Invalid map field number: " + number); } } + @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.RelationDescriptor.class, com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder.class); + com.google.cloud.dataform.v1beta1.RelationDescriptor.class, + com.google.cloud.dataform.v1beta1.RelationDescriptor.Builder.class); } // Construct using com.google.cloud.dataform.v1beta1.RelationDescriptor.newBuilder() @@ -1779,17 +1976,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getColumnsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -1806,9 +2003,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_RelationDescriptor_descriptor; } @java.lang.Override @@ -1827,7 +2024,8 @@ public com.google.cloud.dataform.v1beta1.RelationDescriptor build() { @java.lang.Override public com.google.cloud.dataform.v1beta1.RelationDescriptor buildPartial() { - com.google.cloud.dataform.v1beta1.RelationDescriptor result = new com.google.cloud.dataform.v1beta1.RelationDescriptor(this); + com.google.cloud.dataform.v1beta1.RelationDescriptor result = + new com.google.cloud.dataform.v1beta1.RelationDescriptor(this); int from_bitField0_ = bitField0_; result.description_ = description_; if (columnsBuilder_ == null) { @@ -1849,38 +2047,39 @@ public com.google.cloud.dataform.v1beta1.RelationDescriptor buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.RelationDescriptor) { - return mergeFrom((com.google.cloud.dataform.v1beta1.RelationDescriptor)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.RelationDescriptor) other); } else { super.mergeFrom(other); return this; @@ -1888,7 +2087,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1beta1.RelationDescriptor other) { - if (other == com.google.cloud.dataform.v1beta1.RelationDescriptor.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1beta1.RelationDescriptor.getDefaultInstance()) + return this; if (!other.getDescription().isEmpty()) { description_ = other.description_; onChanged(); @@ -1911,16 +2111,16 @@ public Builder mergeFrom(com.google.cloud.dataform.v1beta1.RelationDescriptor ot columnsBuilder_ = null; columns_ = other.columns_; bitField0_ = (bitField0_ & ~0x00000001); - columnsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getColumnsFieldBuilder() : null; + columnsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getColumnsFieldBuilder() + : null; } else { columnsBuilder_.addAllMessages(other.columns_); } } } - internalGetMutableBigqueryLabels().mergeFrom( - other.internalGetBigqueryLabels()); + internalGetMutableBigqueryLabels().mergeFrom(other.internalGetBigqueryLabels()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1940,7 +2140,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.RelationDescriptor) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.RelationDescriptor) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1949,22 +2150,25 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object description_ = ""; /** + * + * *
      * A text description of the relation.
      * 
* * string description = 1; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1973,20 +2177,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * A text description of the relation.
      * 
* * string description = 1; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -1994,79 +2199,97 @@ public java.lang.String getDescription() { } } /** + * + * *
      * A text description of the relation.
      * 
* * string description = 1; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * A text description of the relation.
      * 
* * string description = 1; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * A text description of the relation.
      * 
* * string description = 1; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private java.util.List columns_ = - java.util.Collections.emptyList(); + private java.util.List + columns_ = java.util.Collections.emptyList(); + private void ensureColumnsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - columns_ = new java.util.ArrayList(columns_); + columns_ = + new java.util.ArrayList< + com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor>(columns_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor, com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor.Builder, com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptorOrBuilder> columnsBuilder_; + com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor, + com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor.Builder, + com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptorOrBuilder> + columnsBuilder_; /** + * + * *
      * A list of descriptions of columns within the relation.
      * 
* - * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * */ - public java.util.List getColumnsList() { + public java.util.List + getColumnsList() { if (columnsBuilder_ == null) { return java.util.Collections.unmodifiableList(columns_); } else { @@ -2074,11 +2297,15 @@ public java.util.List * A list of descriptions of columns within the relation. *
* - * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * */ public int getColumnsCount() { if (columnsBuilder_ == null) { @@ -2088,13 +2315,18 @@ public int getColumnsCount() { } } /** + * + * *
      * A list of descriptions of columns within the relation.
      * 
* - * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * */ - public com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor getColumns(int index) { + public com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor getColumns( + int index) { if (columnsBuilder_ == null) { return columns_.get(index); } else { @@ -2102,11 +2334,15 @@ public com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor get } } /** + * + * *
      * A list of descriptions of columns within the relation.
      * 
* - * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * */ public Builder setColumns( int index, com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor value) { @@ -2123,14 +2359,20 @@ public Builder setColumns( return this; } /** + * + * *
      * A list of descriptions of columns within the relation.
      * 
* - * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * */ public Builder setColumns( - int index, com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor.Builder builderForValue) { + int index, + com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor.Builder + builderForValue) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); columns_.set(index, builderForValue.build()); @@ -2141,13 +2383,18 @@ public Builder setColumns( return this; } /** + * + * *
      * A list of descriptions of columns within the relation.
      * 
* - * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * */ - public Builder addColumns(com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor value) { + public Builder addColumns( + com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor value) { if (columnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2161,11 +2408,15 @@ public Builder addColumns(com.google.cloud.dataform.v1beta1.RelationDescriptor.C return this; } /** + * + * *
      * A list of descriptions of columns within the relation.
      * 
* - * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * */ public Builder addColumns( int index, com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor value) { @@ -2182,14 +2433,19 @@ public Builder addColumns( return this; } /** + * + * *
      * A list of descriptions of columns within the relation.
      * 
* - * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * */ public Builder addColumns( - com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor.Builder builderForValue) { + com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor.Builder + builderForValue) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); columns_.add(builderForValue.build()); @@ -2200,14 +2456,20 @@ public Builder addColumns( return this; } /** + * + * *
      * A list of descriptions of columns within the relation.
      * 
* - * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * */ public Builder addColumns( - int index, com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor.Builder builderForValue) { + int index, + com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor.Builder + builderForValue) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); columns_.add(index, builderForValue.build()); @@ -2218,18 +2480,23 @@ public Builder addColumns( return this; } /** + * + * *
      * A list of descriptions of columns within the relation.
      * 
* - * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * */ public Builder addAllColumns( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor> + values) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, columns_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, columns_); onChanged(); } else { columnsBuilder_.addAllMessages(values); @@ -2237,11 +2504,15 @@ public Builder addAllColumns( return this; } /** + * + * *
      * A list of descriptions of columns within the relation.
      * 
* - * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * */ public Builder clearColumns() { if (columnsBuilder_ == null) { @@ -2254,11 +2525,15 @@ public Builder clearColumns() { return this; } /** + * + * *
      * A list of descriptions of columns within the relation.
      * 
* - * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * */ public Builder removeColumns(int index) { if (columnsBuilder_ == null) { @@ -2271,39 +2546,54 @@ public Builder removeColumns(int index) { return this; } /** + * + * *
      * A list of descriptions of columns within the relation.
      * 
* - * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * */ - public com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor.Builder getColumnsBuilder( - int index) { + public com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor.Builder + getColumnsBuilder(int index) { return getColumnsFieldBuilder().getBuilder(index); } /** + * + * *
      * A list of descriptions of columns within the relation.
      * 
* - * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * */ - public com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptorOrBuilder getColumnsOrBuilder( - int index) { + public com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptorOrBuilder + getColumnsOrBuilder(int index) { if (columnsBuilder_ == null) { - return columns_.get(index); } else { + return columns_.get(index); + } else { return columnsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * A list of descriptions of columns within the relation.
      * 
* - * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * */ - public java.util.List - getColumnsOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptorOrBuilder> + getColumnsOrBuilderList() { if (columnsBuilder_ != null) { return columnsBuilder_.getMessageOrBuilderList(); } else { @@ -2311,70 +2601,94 @@ public com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptorOrBu } } /** + * + * *
      * A list of descriptions of columns within the relation.
      * 
* - * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * */ - public com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor.Builder addColumnsBuilder() { - return getColumnsFieldBuilder().addBuilder( - com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor.getDefaultInstance()); + public com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor.Builder + addColumnsBuilder() { + return getColumnsFieldBuilder() + .addBuilder( + com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor + .getDefaultInstance()); } /** + * + * *
      * A list of descriptions of columns within the relation.
      * 
* - * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * */ - public com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor.Builder addColumnsBuilder( - int index) { - return getColumnsFieldBuilder().addBuilder( - index, com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor.getDefaultInstance()); + public com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor.Builder + addColumnsBuilder(int index) { + return getColumnsFieldBuilder() + .addBuilder( + index, + com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor + .getDefaultInstance()); } /** + * + * *
      * A list of descriptions of columns within the relation.
      * 
* - * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * */ - public java.util.List - getColumnsBuilderList() { + public java.util.List< + com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor.Builder> + getColumnsBuilderList() { return getColumnsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor, com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor.Builder, com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptorOrBuilder> + com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor, + com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor.Builder, + com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptorOrBuilder> getColumnsFieldBuilder() { if (columnsBuilder_ == null) { - columnsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor, com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor.Builder, com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptorOrBuilder>( - columns_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + columnsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor, + com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor.Builder, + com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptorOrBuilder>( + columns_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); columns_ = null; } return columnsBuilder_; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> bigqueryLabels_; + private com.google.protobuf.MapField bigqueryLabels_; + private com.google.protobuf.MapField - internalGetBigqueryLabels() { + internalGetBigqueryLabels() { if (bigqueryLabels_ == null) { return com.google.protobuf.MapField.emptyMapField( BigqueryLabelsDefaultEntryHolder.defaultEntry); } return bigqueryLabels_; } + private com.google.protobuf.MapField - internalGetMutableBigqueryLabels() { - onChanged();; + internalGetMutableBigqueryLabels() { + onChanged(); + ; if (bigqueryLabels_ == null) { - bigqueryLabels_ = com.google.protobuf.MapField.newMapField( - BigqueryLabelsDefaultEntryHolder.defaultEntry); + bigqueryLabels_ = + com.google.protobuf.MapField.newMapField(BigqueryLabelsDefaultEntryHolder.defaultEntry); } if (!bigqueryLabels_.isMutable()) { bigqueryLabels_ = bigqueryLabels_.copy(); @@ -2386,28 +2700,30 @@ public int getBigqueryLabelsCount() { return internalGetBigqueryLabels().getMap().size(); } /** + * + * *
      * A set of BigQuery labels that should be applied to the relation.
      * 
* * map<string, string> bigquery_labels = 3; */ - @java.lang.Override - public boolean containsBigqueryLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsBigqueryLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetBigqueryLabels().getMap().containsKey(key); } - /** - * Use {@link #getBigqueryLabelsMap()} instead. - */ + /** Use {@link #getBigqueryLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getBigqueryLabels() { return getBigqueryLabelsMap(); } /** + * + * *
      * A set of BigQuery labels that should be applied to the relation.
      * 
@@ -2415,11 +2731,12 @@ public java.util.Map getBigqueryLabels() { * map<string, string> bigquery_labels = 3; */ @java.lang.Override - public java.util.Map getBigqueryLabelsMap() { return internalGetBigqueryLabels().getMap(); } /** + * + * *
      * A set of BigQuery labels that should be applied to the relation.
      * 
@@ -2427,16 +2744,17 @@ public java.util.Map getBigqueryLabelsMap() * map<string, string> bigquery_labels = 3; */ @java.lang.Override - public java.lang.String getBigqueryLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetBigqueryLabels().getMap(); + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetBigqueryLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * A set of BigQuery labels that should be applied to the relation.
      * 
@@ -2444,12 +2762,11 @@ public java.lang.String getBigqueryLabelsOrDefault( * map<string, string> bigquery_labels = 3; */ @java.lang.Override - - public java.lang.String getBigqueryLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetBigqueryLabels().getMap(); + public java.lang.String getBigqueryLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetBigqueryLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -2457,69 +2774,66 @@ public java.lang.String getBigqueryLabelsOrThrow( } public Builder clearBigqueryLabels() { - internalGetMutableBigqueryLabels().getMutableMap() - .clear(); + internalGetMutableBigqueryLabels().getMutableMap().clear(); return this; } /** + * + * *
      * A set of BigQuery labels that should be applied to the relation.
      * 
* * map<string, string> bigquery_labels = 3; */ - - public Builder removeBigqueryLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableBigqueryLabels().getMutableMap() - .remove(key); + public Builder removeBigqueryLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableBigqueryLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableBigqueryLabels() { + public java.util.Map getMutableBigqueryLabels() { return internalGetMutableBigqueryLabels().getMutableMap(); } /** + * + * *
      * A set of BigQuery labels that should be applied to the relation.
      * 
* * map<string, string> bigquery_labels = 3; */ - public Builder putBigqueryLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } + public Builder putBigqueryLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } if (value == null) { - throw new NullPointerException("map value"); -} + throw new NullPointerException("map value"); + } - internalGetMutableBigqueryLabels().getMutableMap() - .put(key, value); + internalGetMutableBigqueryLabels().getMutableMap().put(key, value); return this; } /** + * + * *
      * A set of BigQuery labels that should be applied to the relation.
      * 
* * map<string, string> bigquery_labels = 3; */ - - public Builder putAllBigqueryLabels( - java.util.Map values) { - internalGetMutableBigqueryLabels().getMutableMap() - .putAll(values); + public Builder putAllBigqueryLabels(java.util.Map values) { + internalGetMutableBigqueryLabels().getMutableMap().putAll(values); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2529,12 +2843,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.RelationDescriptor) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.RelationDescriptor) private static final com.google.cloud.dataform.v1beta1.RelationDescriptor DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.RelationDescriptor(); } @@ -2543,16 +2857,16 @@ public static com.google.cloud.dataform.v1beta1.RelationDescriptor getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RelationDescriptor parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RelationDescriptor(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RelationDescriptor parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RelationDescriptor(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2567,6 +2881,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1beta1.RelationDescriptor getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RelationDescriptorOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RelationDescriptorOrBuilder.java similarity index 62% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RelationDescriptorOrBuilder.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RelationDescriptorOrBuilder.java index 81b66a9..084df8a 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RelationDescriptorOrBuilder.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RelationDescriptorOrBuilder.java @@ -1,77 +1,116 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; -public interface RelationDescriptorOrBuilder extends +public interface RelationDescriptorOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.RelationDescriptor) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A text description of the relation.
    * 
* * string description = 1; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * A text description of the relation.
    * 
* * string description = 1; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * A list of descriptions of columns within the relation.
    * 
* - * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * */ - java.util.List + java.util.List getColumnsList(); /** + * + * *
    * A list of descriptions of columns within the relation.
    * 
* - * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * */ com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor getColumns(int index); /** + * + * *
    * A list of descriptions of columns within the relation.
    * 
* - * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * */ int getColumnsCount(); /** + * + * *
    * A list of descriptions of columns within the relation.
    * 
* - * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * */ - java.util.List + java.util.List< + ? extends com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptorOrBuilder> getColumnsOrBuilderList(); /** + * + * *
    * A list of descriptions of columns within the relation.
    * 
* - * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * repeated .google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptor columns = 2; + * */ - com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptorOrBuilder getColumnsOrBuilder( - int index); + com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptorOrBuilder + getColumnsOrBuilder(int index); /** + * + * *
    * A set of BigQuery labels that should be applied to the relation.
    * 
@@ -80,30 +119,31 @@ com.google.cloud.dataform.v1beta1.RelationDescriptor.ColumnDescriptorOrBuilder g */ int getBigqueryLabelsCount(); /** + * + * *
    * A set of BigQuery labels that should be applied to the relation.
    * 
* * map<string, string> bigquery_labels = 3; */ - boolean containsBigqueryLabels( - java.lang.String key); - /** - * Use {@link #getBigqueryLabelsMap()} instead. - */ + boolean containsBigqueryLabels(java.lang.String key); + /** Use {@link #getBigqueryLabelsMap()} instead. */ @java.lang.Deprecated - java.util.Map - getBigqueryLabels(); + java.util.Map getBigqueryLabels(); /** + * + * *
    * A set of BigQuery labels that should be applied to the relation.
    * 
* * map<string, string> bigquery_labels = 3; */ - java.util.Map - getBigqueryLabelsMap(); + java.util.Map getBigqueryLabelsMap(); /** + * + * *
    * A set of BigQuery labels that should be applied to the relation.
    * 
@@ -112,18 +152,18 @@ boolean containsBigqueryLabels( */ /* nullable */ -java.lang.String getBigqueryLabelsOrDefault( + java.lang.String getBigqueryLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * A set of BigQuery labels that should be applied to the relation.
    * 
* * map<string, string> bigquery_labels = 3; */ - - java.lang.String getBigqueryLabelsOrThrow( - java.lang.String key); + java.lang.String getBigqueryLabelsOrThrow(java.lang.String key); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RemoveDirectoryRequest.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RemoveDirectoryRequest.java similarity index 66% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RemoveDirectoryRequest.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RemoveDirectoryRequest.java index a591038..199063c 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RemoveDirectoryRequest.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RemoveDirectoryRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * `RemoveDirectory` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.RemoveDirectoryRequest} */ -public final class RemoveDirectoryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RemoveDirectoryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.RemoveDirectoryRequest) RemoveDirectoryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RemoveDirectoryRequest.newBuilder() to construct. private RemoveDirectoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RemoveDirectoryRequest() { workspace_ = ""; path_ = ""; @@ -26,16 +44,15 @@ private RemoveDirectoryRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RemoveDirectoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RemoveDirectoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private RemoveDirectoryRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - workspace_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + workspace_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - path_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + path_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +99,41 @@ private RemoveDirectoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_RemoveDirectoryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_RemoveDirectoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_RemoveDirectoryRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_RemoveDirectoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest.class, com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest.Builder.class); + com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest.class, + com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest.Builder.class); } public static final int WORKSPACE_FIELD_NUMBER = 1; private volatile java.lang.Object workspace_; /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ @java.lang.Override @@ -116,29 +142,31 @@ public java.lang.String getWorkspace() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; } } /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ @java.lang.Override - public com.google.protobuf.ByteString - getWorkspaceBytes() { + public com.google.protobuf.ByteString getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workspace_ = b; return b; } else { @@ -149,12 +177,15 @@ public java.lang.String getWorkspace() { public static final int PATH_FIELD_NUMBER = 2; private volatile java.lang.Object path_; /** + * + * *
    * Required. The directory's full path including directory name, relative to the
    * workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The path. */ @java.lang.Override @@ -163,30 +194,30 @@ public java.lang.String getPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } } /** + * + * *
    * Required. The directory's full path including directory name, relative to the
    * workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for path. */ @java.lang.Override - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); path_ = b; return b; } else { @@ -195,6 +226,7 @@ public java.lang.String getPath() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,8 +238,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workspace_); } @@ -237,17 +268,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest other = (com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest) obj; + com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest other = + (com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest) obj; - if (!getWorkspace() - .equals(other.getWorkspace())) return false; - if (!getPath() - .equals(other.getPath())) return false; + if (!getWorkspace().equals(other.getWorkspace())) return false; + if (!getPath().equals(other.getPath())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -269,117 +299,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `RemoveDirectory` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.RemoveDirectoryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.RemoveDirectoryRequest) com.google.cloud.dataform.v1beta1.RemoveDirectoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_RemoveDirectoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_RemoveDirectoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_RemoveDirectoryRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_RemoveDirectoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest.class, com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest.Builder.class); + com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest.class, + com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest.newBuilder() @@ -387,16 +427,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -408,9 +447,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_RemoveDirectoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_RemoveDirectoryRequest_descriptor; } @java.lang.Override @@ -429,7 +468,8 @@ public com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest build() { @java.lang.Override public com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest buildPartial() { - com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest result = new com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest(this); + com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest result = + new com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest(this); result.workspace_ = workspace_; result.path_ = path_; onBuilt(); @@ -440,38 +480,39 @@ public com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest) { - return mergeFrom((com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest) other); } else { super.mergeFrom(other); return this; @@ -479,7 +520,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest other) { - if (other == com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest.getDefaultInstance()) + return this; if (!other.getWorkspace().isEmpty()) { workspace_ = other.workspace_; onChanged(); @@ -507,7 +549,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -519,18 +562,22 @@ public Builder mergeFrom( private java.lang.Object workspace_ = ""; /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ public java.lang.String getWorkspace() { java.lang.Object ref = workspace_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; @@ -539,20 +586,23 @@ public java.lang.String getWorkspace() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ - public com.google.protobuf.ByteString - getWorkspaceBytes() { + public com.google.protobuf.ByteString getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workspace_ = b; return b; } else { @@ -560,54 +610,67 @@ public java.lang.String getWorkspace() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The workspace to set. * @return This builder for chaining. */ - public Builder setWorkspace( - java.lang.String value) { + public Builder setWorkspace(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + workspace_ = value; onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearWorkspace() { - + workspace_ = getDefaultInstance().getWorkspace(); onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for workspace to set. * @return This builder for chaining. */ - public Builder setWorkspaceBytes( - com.google.protobuf.ByteString value) { + public Builder setWorkspaceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workspace_ = value; onChanged(); return this; @@ -615,19 +678,21 @@ public Builder setWorkspaceBytes( private java.lang.Object path_ = ""; /** + * + * *
      * Required. The directory's full path including directory name, relative to the
      * workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; @@ -636,21 +701,22 @@ public java.lang.String getPath() { } } /** + * + * *
      * Required. The directory's full path including directory name, relative to the
      * workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for path. */ - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); path_ = b; return b; } else { @@ -658,64 +724,71 @@ public java.lang.String getPath() { } } /** + * + * *
      * Required. The directory's full path including directory name, relative to the
      * workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath( - java.lang.String value) { + public Builder setPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + path_ = value; onChanged(); return this; } /** + * + * *
      * Required. The directory's full path including directory name, relative to the
      * workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearPath() { - + path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** + * + * *
      * Required. The directory's full path including directory name, relative to the
      * workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes( - com.google.protobuf.ByteString value) { + public Builder setPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -725,12 +798,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.RemoveDirectoryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.RemoveDirectoryRequest) private static final com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest(); } @@ -739,16 +812,16 @@ public static com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RemoveDirectoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RemoveDirectoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RemoveDirectoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RemoveDirectoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -763,6 +836,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1beta1.RemoveDirectoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RemoveDirectoryRequestOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RemoveDirectoryRequestOrBuilder.java similarity index 50% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RemoveDirectoryRequestOrBuilder.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RemoveDirectoryRequestOrBuilder.java index d65e898..d2280d5 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RemoveDirectoryRequestOrBuilder.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RemoveDirectoryRequestOrBuilder.java @@ -1,51 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; -public interface RemoveDirectoryRequestOrBuilder extends +public interface RemoveDirectoryRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.RemoveDirectoryRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ java.lang.String getWorkspace(); /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ - com.google.protobuf.ByteString - getWorkspaceBytes(); + com.google.protobuf.ByteString getWorkspaceBytes(); /** + * + * *
    * Required. The directory's full path including directory name, relative to the
    * workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The path. */ java.lang.String getPath(); /** + * + * *
    * Required. The directory's full path including directory name, relative to the
    * workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for path. */ - com.google.protobuf.ByteString - getPathBytes(); + com.google.protobuf.ByteString getPathBytes(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RemoveFileRequest.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RemoveFileRequest.java similarity index 66% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RemoveFileRequest.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RemoveFileRequest.java index 6a5a535..22c9ec3 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RemoveFileRequest.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RemoveFileRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * `RemoveFile` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.RemoveFileRequest} */ -public final class RemoveFileRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class RemoveFileRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.RemoveFileRequest) RemoveFileRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RemoveFileRequest.newBuilder() to construct. private RemoveFileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RemoveFileRequest() { workspace_ = ""; path_ = ""; @@ -26,16 +44,15 @@ private RemoveFileRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RemoveFileRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private RemoveFileRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private RemoveFileRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - workspace_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + workspace_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - path_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + path_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +99,41 @@ private RemoveFileRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_RemoveFileRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_RemoveFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_RemoveFileRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_RemoveFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.RemoveFileRequest.class, com.google.cloud.dataform.v1beta1.RemoveFileRequest.Builder.class); + com.google.cloud.dataform.v1beta1.RemoveFileRequest.class, + com.google.cloud.dataform.v1beta1.RemoveFileRequest.Builder.class); } public static final int WORKSPACE_FIELD_NUMBER = 1; private volatile java.lang.Object workspace_; /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ @java.lang.Override @@ -116,29 +142,31 @@ public java.lang.String getWorkspace() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; } } /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ @java.lang.Override - public com.google.protobuf.ByteString - getWorkspaceBytes() { + public com.google.protobuf.ByteString getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workspace_ = b; return b; } else { @@ -149,11 +177,14 @@ public java.lang.String getWorkspace() { public static final int PATH_FIELD_NUMBER = 2; private volatile java.lang.Object path_; /** + * + * *
    * Required. The file's full path including filename, relative to the workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The path. */ @java.lang.Override @@ -162,29 +193,29 @@ public java.lang.String getPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } } /** + * + * *
    * Required. The file's full path including filename, relative to the workspace root.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for path. */ @java.lang.Override - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); path_ = b; return b; } else { @@ -193,6 +224,7 @@ public java.lang.String getPath() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,8 +236,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workspace_); } @@ -235,17 +266,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.RemoveFileRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.RemoveFileRequest other = (com.google.cloud.dataform.v1beta1.RemoveFileRequest) obj; + com.google.cloud.dataform.v1beta1.RemoveFileRequest other = + (com.google.cloud.dataform.v1beta1.RemoveFileRequest) obj; - if (!getWorkspace() - .equals(other.getWorkspace())) return false; - if (!getPath() - .equals(other.getPath())) return false; + if (!getWorkspace().equals(other.getWorkspace())) return false; + if (!getPath().equals(other.getPath())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -267,117 +297,126 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.RemoveFileRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.RemoveFileRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.RemoveFileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.RemoveFileRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.RemoveFileRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.RemoveFileRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.RemoveFileRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.RemoveFileRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.RemoveFileRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.RemoveFileRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.RemoveFileRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.RemoveFileRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.RemoveFileRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.RemoveFileRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.RemoveFileRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `RemoveFile` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.RemoveFileRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.RemoveFileRequest) com.google.cloud.dataform.v1beta1.RemoveFileRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_RemoveFileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_RemoveFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_RemoveFileRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_RemoveFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.RemoveFileRequest.class, com.google.cloud.dataform.v1beta1.RemoveFileRequest.Builder.class); + com.google.cloud.dataform.v1beta1.RemoveFileRequest.class, + com.google.cloud.dataform.v1beta1.RemoveFileRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1beta1.RemoveFileRequest.newBuilder() @@ -385,16 +424,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -406,9 +444,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_RemoveFileRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_RemoveFileRequest_descriptor; } @java.lang.Override @@ -427,7 +465,8 @@ public com.google.cloud.dataform.v1beta1.RemoveFileRequest build() { @java.lang.Override public com.google.cloud.dataform.v1beta1.RemoveFileRequest buildPartial() { - com.google.cloud.dataform.v1beta1.RemoveFileRequest result = new com.google.cloud.dataform.v1beta1.RemoveFileRequest(this); + com.google.cloud.dataform.v1beta1.RemoveFileRequest result = + new com.google.cloud.dataform.v1beta1.RemoveFileRequest(this); result.workspace_ = workspace_; result.path_ = path_; onBuilt(); @@ -438,38 +477,39 @@ public com.google.cloud.dataform.v1beta1.RemoveFileRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.RemoveFileRequest) { - return mergeFrom((com.google.cloud.dataform.v1beta1.RemoveFileRequest)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.RemoveFileRequest) other); } else { super.mergeFrom(other); return this; @@ -477,7 +517,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1beta1.RemoveFileRequest other) { - if (other == com.google.cloud.dataform.v1beta1.RemoveFileRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1beta1.RemoveFileRequest.getDefaultInstance()) + return this; if (!other.getWorkspace().isEmpty()) { workspace_ = other.workspace_; onChanged(); @@ -505,7 +546,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.RemoveFileRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.RemoveFileRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -517,18 +559,22 @@ public Builder mergeFrom( private java.lang.Object workspace_ = ""; /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ public java.lang.String getWorkspace() { java.lang.Object ref = workspace_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; @@ -537,20 +583,23 @@ public java.lang.String getWorkspace() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ - public com.google.protobuf.ByteString - getWorkspaceBytes() { + public com.google.protobuf.ByteString getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workspace_ = b; return b; } else { @@ -558,54 +607,67 @@ public java.lang.String getWorkspace() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The workspace to set. * @return This builder for chaining. */ - public Builder setWorkspace( - java.lang.String value) { + public Builder setWorkspace(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + workspace_ = value; onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearWorkspace() { - + workspace_ = getDefaultInstance().getWorkspace(); onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for workspace to set. * @return This builder for chaining. */ - public Builder setWorkspaceBytes( - com.google.protobuf.ByteString value) { + public Builder setWorkspaceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workspace_ = value; onChanged(); return this; @@ -613,18 +675,20 @@ public Builder setWorkspaceBytes( private java.lang.Object path_ = ""; /** + * + * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; @@ -633,20 +697,21 @@ public java.lang.String getPath() { } } /** + * + * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for path. */ - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); path_ = b; return b; } else { @@ -654,61 +719,68 @@ public java.lang.String getPath() { } } /** + * + * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath( - java.lang.String value) { + public Builder setPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + path_ = value; onChanged(); return this; } /** + * + * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearPath() { - + path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** + * + * *
      * Required. The file's full path including filename, relative to the workspace root.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes( - com.google.protobuf.ByteString value) { + public Builder setPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -718,12 +790,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.RemoveFileRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.RemoveFileRequest) private static final com.google.cloud.dataform.v1beta1.RemoveFileRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.RemoveFileRequest(); } @@ -732,16 +804,16 @@ public static com.google.cloud.dataform.v1beta1.RemoveFileRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RemoveFileRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new RemoveFileRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RemoveFileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RemoveFileRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -756,6 +828,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1beta1.RemoveFileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RemoveFileRequestOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RemoveFileRequestOrBuilder.java new file mode 100644 index 0000000..76cbe80 --- /dev/null +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RemoveFileRequestOrBuilder.java @@ -0,0 +1,79 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface RemoveFileRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.RemoveFileRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The workspace's name.
+   * 
+ * + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The workspace. + */ + java.lang.String getWorkspace(); + /** + * + * + *
+   * Required. The workspace's name.
+   * 
+ * + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for workspace. + */ + com.google.protobuf.ByteString getWorkspaceBytes(); + + /** + * + * + *
+   * Required. The file's full path including filename, relative to the workspace root.
+   * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The path. + */ + java.lang.String getPath(); + /** + * + * + *
+   * Required. The file's full path including filename, relative to the workspace root.
+   * 
+ * + * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for path. + */ + com.google.protobuf.ByteString getPathBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/Repository.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/Repository.java similarity index 66% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/Repository.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/Repository.java index e9a021a..96f7074 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/Repository.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/Repository.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * Represents a Dataform Git repository.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.Repository} */ -public final class Repository extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Repository extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.Repository) RepositoryOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Repository.newBuilder() to construct. private Repository(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Repository() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Repository(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Repository( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,32 +70,38 @@ private Repository( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.Builder subBuilder = null; - if (gitRemoteSettings_ != null) { - subBuilder = gitRemoteSettings_.toBuilder(); - } - gitRemoteSettings_ = input.readMessage(com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(gitRemoteSettings_); - gitRemoteSettings_ = subBuilder.buildPartial(); + name_ = s; + break; } + case 18: + { + com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.Builder subBuilder = + null; + if (gitRemoteSettings_ != null) { + subBuilder = gitRemoteSettings_.toBuilder(); + } + gitRemoteSettings_ = + input.readMessage( + com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(gitRemoteSettings_); + gitRemoteSettings_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -86,129 +109,164 @@ private Repository( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_Repository_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_Repository_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_Repository_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_Repository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.Repository.class, com.google.cloud.dataform.v1beta1.Repository.Builder.class); + com.google.cloud.dataform.v1beta1.Repository.class, + com.google.cloud.dataform.v1beta1.Repository.Builder.class); } - public interface GitRemoteSettingsOrBuilder extends + public interface GitRemoteSettingsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.Repository.GitRemoteSettings) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Required. The Git remote's URL.
      * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The url. */ java.lang.String getUrl(); /** + * + * *
      * Required. The Git remote's URL.
      * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for url. */ - com.google.protobuf.ByteString - getUrlBytes(); + com.google.protobuf.ByteString getUrlBytes(); /** + * + * *
      * Required. The Git remote's default branch name.
      * 
* * string default_branch = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The defaultBranch. */ java.lang.String getDefaultBranch(); /** + * + * *
      * Required. The Git remote's default branch name.
      * 
* * string default_branch = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for defaultBranch. */ - com.google.protobuf.ByteString - getDefaultBranchBytes(); + com.google.protobuf.ByteString getDefaultBranchBytes(); /** + * + * *
      * Required. The name of the Secret Manager secret version to use as an
      * authentication token for Git operations. Must be in the format
      * `projects/*/secrets/*/versions/*`.
      * 
* - * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The authenticationTokenSecretVersion. */ java.lang.String getAuthenticationTokenSecretVersion(); /** + * + * *
      * Required. The name of the Secret Manager secret version to use as an
      * authentication token for Git operations. Must be in the format
      * `projects/*/secrets/*/versions/*`.
      * 
* - * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for authenticationTokenSecretVersion. */ - com.google.protobuf.ByteString - getAuthenticationTokenSecretVersionBytes(); + com.google.protobuf.ByteString getAuthenticationTokenSecretVersionBytes(); /** + * + * *
      * Output only. Indicates the status of the Git access token.
      * 
* - * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for tokenStatus. */ int getTokenStatusValue(); /** + * + * *
      * Output only. Indicates the status of the Git access token.
      * 
* - * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The tokenStatus. */ com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus getTokenStatus(); } /** + * + * *
    * Controls Git remote configuration for a repository.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.Repository.GitRemoteSettings} */ - public static final class GitRemoteSettings extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class GitRemoteSettings extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.Repository.GitRemoteSettings) GitRemoteSettingsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GitRemoteSettings.newBuilder() to construct. private GitRemoteSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GitRemoteSettings() { url_ = ""; defaultBranch_ = ""; @@ -218,16 +276,15 @@ private GitRemoteSettings() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GitRemoteSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GitRemoteSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -246,37 +303,41 @@ private GitRemoteSettings( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - url_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + url_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - defaultBranch_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + defaultBranch_ = s; + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - authenticationTokenSecretVersion_ = s; - break; - } - case 32: { - int rawValue = input.readEnum(); + authenticationTokenSecretVersion_ = s; + break; + } + case 32: + { + int rawValue = input.readEnum(); - tokenStatus_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + tokenStatus_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -284,36 +345,41 @@ private GitRemoteSettings( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_Repository_GitRemoteSettings_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_Repository_GitRemoteSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_Repository_GitRemoteSettings_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_Repository_GitRemoteSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.class, com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.Builder.class); + com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.class, + com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.Builder.class); } /** + * + * *
      * Indicates the status of a Git authentication token.
      * 
* * Protobuf enum {@code google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus} */ - public enum TokenStatus - implements com.google.protobuf.ProtocolMessageEnum { + public enum TokenStatus implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * Default value. This value is unused.
        * 
@@ -322,6 +388,8 @@ public enum TokenStatus */ TOKEN_STATUS_UNSPECIFIED(0), /** + * + * *
        * The token could not be found in Secret Manager (or the Dataform
        * Service Account did not have permission to access it).
@@ -331,6 +399,8 @@ public enum TokenStatus
        */
       NOT_FOUND(1),
       /**
+       *
+       *
        * 
        * The token could not be used to authenticate against the Git remote.
        * 
@@ -339,6 +409,8 @@ public enum TokenStatus */ INVALID(2), /** + * + * *
        * The token was used successfully to authenticate against the Git remote.
        * 
@@ -350,6 +422,8 @@ public enum TokenStatus ; /** + * + * *
        * Default value. This value is unused.
        * 
@@ -358,6 +432,8 @@ public enum TokenStatus */ public static final int TOKEN_STATUS_UNSPECIFIED_VALUE = 0; /** + * + * *
        * The token could not be found in Secret Manager (or the Dataform
        * Service Account did not have permission to access it).
@@ -367,6 +443,8 @@ public enum TokenStatus
        */
       public static final int NOT_FOUND_VALUE = 1;
       /**
+       *
+       *
        * 
        * The token could not be used to authenticate against the Git remote.
        * 
@@ -375,6 +453,8 @@ public enum TokenStatus */ public static final int INVALID_VALUE = 2; /** + * + * *
        * The token was used successfully to authenticate against the Git remote.
        * 
@@ -383,7 +463,6 @@ public enum TokenStatus */ public static final int VALID_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -408,50 +487,53 @@ public static TokenStatus valueOf(int value) { */ public static TokenStatus forNumber(int value) { switch (value) { - case 0: return TOKEN_STATUS_UNSPECIFIED; - case 1: return NOT_FOUND; - case 2: return INVALID; - case 3: return VALID; - default: return null; + case 0: + return TOKEN_STATUS_UNSPECIFIED; + case 1: + return NOT_FOUND; + case 2: + return INVALID; + case 3: + return VALID; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - TokenStatus> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public TokenStatus findValueByNumber(int number) { - return TokenStatus.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public TokenStatus findValueByNumber(int number) { + return TokenStatus.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.getDescriptor() + .getEnumTypes() + .get(0); } private static final TokenStatus[] VALUES = values(); - public static TokenStatus valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static TokenStatus valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -471,11 +553,14 @@ private TokenStatus(int value) { public static final int URL_FIELD_NUMBER = 1; private volatile java.lang.Object url_; /** + * + * *
      * Required. The Git remote's URL.
      * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The url. */ @java.lang.Override @@ -484,29 +569,29 @@ public java.lang.String getUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); url_ = s; return s; } } /** + * + * *
      * Required. The Git remote's URL.
      * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for url. */ @java.lang.Override - public com.google.protobuf.ByteString - getUrlBytes() { + public com.google.protobuf.ByteString getUrlBytes() { java.lang.Object ref = url_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); url_ = b; return b; } else { @@ -517,11 +602,14 @@ public java.lang.String getUrl() { public static final int DEFAULT_BRANCH_FIELD_NUMBER = 2; private volatile java.lang.Object defaultBranch_; /** + * + * *
      * Required. The Git remote's default branch name.
      * 
* * string default_branch = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The defaultBranch. */ @java.lang.Override @@ -530,29 +618,29 @@ public java.lang.String getDefaultBranch() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultBranch_ = s; return s; } } /** + * + * *
      * Required. The Git remote's default branch name.
      * 
* * string default_branch = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for defaultBranch. */ @java.lang.Override - public com.google.protobuf.ByteString - getDefaultBranchBytes() { + public com.google.protobuf.ByteString getDefaultBranchBytes() { java.lang.Object ref = defaultBranch_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); defaultBranch_ = b; return b; } else { @@ -563,13 +651,18 @@ public java.lang.String getDefaultBranch() { public static final int AUTHENTICATION_TOKEN_SECRET_VERSION_FIELD_NUMBER = 3; private volatile java.lang.Object authenticationTokenSecretVersion_; /** + * + * *
      * Required. The name of the Secret Manager secret version to use as an
      * authentication token for Git operations. Must be in the format
      * `projects/*/secrets/*/versions/*`.
      * 
* - * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The authenticationTokenSecretVersion. */ @java.lang.Override @@ -578,31 +671,33 @@ public java.lang.String getAuthenticationTokenSecretVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); authenticationTokenSecretVersion_ = s; return s; } } /** + * + * *
      * Required. The name of the Secret Manager secret version to use as an
      * authentication token for Git operations. Must be in the format
      * `projects/*/secrets/*/versions/*`.
      * 
* - * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for authenticationTokenSecretVersion. */ @java.lang.Override - public com.google.protobuf.ByteString - getAuthenticationTokenSecretVersionBytes() { + public com.google.protobuf.ByteString getAuthenticationTokenSecretVersionBytes() { java.lang.Object ref = authenticationTokenSecretVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); authenticationTokenSecretVersion_ = b; return b; } else { @@ -613,31 +708,49 @@ public java.lang.String getAuthenticationTokenSecretVersion() { public static final int TOKEN_STATUS_FIELD_NUMBER = 4; private int tokenStatus_; /** + * + * *
      * Output only. Indicates the status of the Git access token.
      * 
* - * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for tokenStatus. */ - @java.lang.Override public int getTokenStatusValue() { + @java.lang.Override + public int getTokenStatusValue() { return tokenStatus_; } /** + * + * *
      * Output only. Indicates the status of the Git access token.
      * 
* - * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The tokenStatus. */ - @java.lang.Override public com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus getTokenStatus() { + @java.lang.Override + public com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus + getTokenStatus() { @SuppressWarnings("deprecation") - com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus result = com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus.valueOf(tokenStatus_); - return result == null ? com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus.UNRECOGNIZED : result; + com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus result = + com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus.valueOf( + tokenStatus_); + return result == null + ? com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -649,18 +762,22 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, url_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultBranch_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, defaultBranch_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(authenticationTokenSecretVersion_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, authenticationTokenSecretVersion_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty( + authenticationTokenSecretVersion_)) { + com.google.protobuf.GeneratedMessageV3.writeString( + output, 3, authenticationTokenSecretVersion_); } - if (tokenStatus_ != com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus.TOKEN_STATUS_UNSPECIFIED.getNumber()) { + if (tokenStatus_ + != com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus + .TOKEN_STATUS_UNSPECIFIED + .getNumber()) { output.writeEnum(4, tokenStatus_); } unknownFields.writeTo(output); @@ -678,12 +795,17 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultBranch_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, defaultBranch_); } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(authenticationTokenSecretVersion_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, authenticationTokenSecretVersion_); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty( + authenticationTokenSecretVersion_)) { + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize( + 3, authenticationTokenSecretVersion_); } - if (tokenStatus_ != com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus.TOKEN_STATUS_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, tokenStatus_); + if (tokenStatus_ + != com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus + .TOKEN_STATUS_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, tokenStatus_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -693,17 +815,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings other = (com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings) obj; + com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings other = + (com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings) obj; - if (!getUrl() - .equals(other.getUrl())) return false; - if (!getDefaultBranch() - .equals(other.getDefaultBranch())) return false; + if (!getUrl().equals(other.getUrl())) return false; + if (!getDefaultBranch().equals(other.getDefaultBranch())) return false; if (!getAuthenticationTokenSecretVersion() .equals(other.getAuthenticationTokenSecretVersion())) return false; if (tokenStatus_ != other.tokenStatus_) return false; @@ -732,87 +853,94 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -822,27 +950,32 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Controls Git remote configuration for a repository.
      * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.Repository.GitRemoteSettings} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.Repository.GitRemoteSettings) com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_Repository_GitRemoteSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_Repository_GitRemoteSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_Repository_GitRemoteSettings_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_Repository_GitRemoteSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.class, com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.Builder.class); + com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.class, + com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.Builder.class); } // Construct using com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.newBuilder() @@ -850,16 +983,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -875,13 +1007,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_Repository_GitRemoteSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_Repository_GitRemoteSettings_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings getDefaultInstanceForType() { + public com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings + getDefaultInstanceForType() { return com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.getDefaultInstance(); } @@ -896,7 +1029,8 @@ public com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings build() { @java.lang.Override public com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings buildPartial() { - com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings result = new com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings(this); + com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings result = + new com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings(this); result.url_ = url_; result.defaultBranch_ = defaultBranch_; result.authenticationTokenSecretVersion_ = authenticationTokenSecretVersion_; @@ -909,46 +1043,52 @@ public com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings buildParti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings) { - return mergeFrom((com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings other) { - if (other == com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings other) { + if (other + == com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.getDefaultInstance()) + return this; if (!other.getUrl().isEmpty()) { url_ = other.url_; onChanged(); @@ -983,7 +1123,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -995,18 +1137,20 @@ public Builder mergeFrom( private java.lang.Object url_ = ""; /** + * + * *
        * Required. The Git remote's URL.
        * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The url. */ public java.lang.String getUrl() { java.lang.Object ref = url_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); url_ = s; return s; @@ -1015,20 +1159,21 @@ public java.lang.String getUrl() { } } /** + * + * *
        * Required. The Git remote's URL.
        * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for url. */ - public com.google.protobuf.ByteString - getUrlBytes() { + public com.google.protobuf.ByteString getUrlBytes() { java.lang.Object ref = url_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); url_ = b; return b; } else { @@ -1036,54 +1181,61 @@ public java.lang.String getUrl() { } } /** + * + * *
        * Required. The Git remote's URL.
        * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The url to set. * @return This builder for chaining. */ - public Builder setUrl( - java.lang.String value) { + public Builder setUrl(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + url_ = value; onChanged(); return this; } /** + * + * *
        * Required. The Git remote's URL.
        * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearUrl() { - + url_ = getDefaultInstance().getUrl(); onChanged(); return this; } /** + * + * *
        * Required. The Git remote's URL.
        * 
* * string url = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for url to set. * @return This builder for chaining. */ - public Builder setUrlBytes( - com.google.protobuf.ByteString value) { + public Builder setUrlBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + url_ = value; onChanged(); return this; @@ -1091,18 +1243,20 @@ public Builder setUrlBytes( private java.lang.Object defaultBranch_ = ""; /** + * + * *
        * Required. The Git remote's default branch name.
        * 
* * string default_branch = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The defaultBranch. */ public java.lang.String getDefaultBranch() { java.lang.Object ref = defaultBranch_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultBranch_ = s; return s; @@ -1111,20 +1265,21 @@ public java.lang.String getDefaultBranch() { } } /** + * + * *
        * Required. The Git remote's default branch name.
        * 
* * string default_branch = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for defaultBranch. */ - public com.google.protobuf.ByteString - getDefaultBranchBytes() { + public com.google.protobuf.ByteString getDefaultBranchBytes() { java.lang.Object ref = defaultBranch_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); defaultBranch_ = b; return b; } else { @@ -1132,54 +1287,61 @@ public java.lang.String getDefaultBranch() { } } /** + * + * *
        * Required. The Git remote's default branch name.
        * 
* * string default_branch = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The defaultBranch to set. * @return This builder for chaining. */ - public Builder setDefaultBranch( - java.lang.String value) { + public Builder setDefaultBranch(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + defaultBranch_ = value; onChanged(); return this; } /** + * + * *
        * Required. The Git remote's default branch name.
        * 
* * string default_branch = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDefaultBranch() { - + defaultBranch_ = getDefaultInstance().getDefaultBranch(); onChanged(); return this; } /** + * + * *
        * Required. The Git remote's default branch name.
        * 
* * string default_branch = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for defaultBranch to set. * @return This builder for chaining. */ - public Builder setDefaultBranchBytes( - com.google.protobuf.ByteString value) { + public Builder setDefaultBranchBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + defaultBranch_ = value; onChanged(); return this; @@ -1187,20 +1349,24 @@ public Builder setDefaultBranchBytes( private java.lang.Object authenticationTokenSecretVersion_ = ""; /** + * + * *
        * Required. The name of the Secret Manager secret version to use as an
        * authentication token for Git operations. Must be in the format
        * `projects/*/secrets/*/versions/*`.
        * 
* - * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The authenticationTokenSecretVersion. */ public java.lang.String getAuthenticationTokenSecretVersion() { java.lang.Object ref = authenticationTokenSecretVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); authenticationTokenSecretVersion_ = s; return s; @@ -1209,22 +1375,25 @@ public java.lang.String getAuthenticationTokenSecretVersion() { } } /** + * + * *
        * Required. The name of the Secret Manager secret version to use as an
        * authentication token for Git operations. Must be in the format
        * `projects/*/secrets/*/versions/*`.
        * 
* - * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for authenticationTokenSecretVersion. */ - public com.google.protobuf.ByteString - getAuthenticationTokenSecretVersionBytes() { + public com.google.protobuf.ByteString getAuthenticationTokenSecretVersionBytes() { java.lang.Object ref = authenticationTokenSecretVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); authenticationTokenSecretVersion_ = b; return b; } else { @@ -1232,60 +1401,75 @@ public java.lang.String getAuthenticationTokenSecretVersion() { } } /** + * + * *
        * Required. The name of the Secret Manager secret version to use as an
        * authentication token for Git operations. Must be in the format
        * `projects/*/secrets/*/versions/*`.
        * 
* - * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The authenticationTokenSecretVersion to set. * @return This builder for chaining. */ - public Builder setAuthenticationTokenSecretVersion( - java.lang.String value) { + public Builder setAuthenticationTokenSecretVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + authenticationTokenSecretVersion_ = value; onChanged(); return this; } /** + * + * *
        * Required. The name of the Secret Manager secret version to use as an
        * authentication token for Git operations. Must be in the format
        * `projects/*/secrets/*/versions/*`.
        * 
* - * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearAuthenticationTokenSecretVersion() { - - authenticationTokenSecretVersion_ = getDefaultInstance().getAuthenticationTokenSecretVersion(); + + authenticationTokenSecretVersion_ = + getDefaultInstance().getAuthenticationTokenSecretVersion(); onChanged(); return this; } /** + * + * *
        * Required. The name of the Secret Manager secret version to use as an
        * authentication token for Git operations. Must be in the format
        * `projects/*/secrets/*/versions/*`.
        * 
* - * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string authentication_token_secret_version = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for authenticationTokenSecretVersion to set. * @return This builder for chaining. */ public Builder setAuthenticationTokenSecretVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + authenticationTokenSecretVersion_ = value; onChanged(); return this; @@ -1293,77 +1477,111 @@ public Builder setAuthenticationTokenSecretVersionBytes( private int tokenStatus_ = 0; /** + * + * *
        * Output only. Indicates the status of the Git access token.
        * 
* - * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for tokenStatus. */ - @java.lang.Override public int getTokenStatusValue() { + @java.lang.Override + public int getTokenStatusValue() { return tokenStatus_; } /** + * + * *
        * Output only. Indicates the status of the Git access token.
        * 
* - * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for tokenStatus to set. * @return This builder for chaining. */ public Builder setTokenStatusValue(int value) { - + tokenStatus_ = value; onChanged(); return this; } /** + * + * *
        * Output only. Indicates the status of the Git access token.
        * 
* - * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The tokenStatus. */ @java.lang.Override - public com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus getTokenStatus() { + public com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus + getTokenStatus() { @SuppressWarnings("deprecation") - com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus result = com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus.valueOf(tokenStatus_); - return result == null ? com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus.UNRECOGNIZED : result; + com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus result = + com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus.valueOf( + tokenStatus_); + return result == null + ? com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus + .UNRECOGNIZED + : result; } /** + * + * *
        * Output only. Indicates the status of the Git access token.
        * 
* - * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The tokenStatus to set. * @return This builder for chaining. */ - public Builder setTokenStatus(com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus value) { + public Builder setTokenStatus( + com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus value) { if (value == null) { throw new NullPointerException(); } - + tokenStatus_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Output only. Indicates the status of the Git access token.
        * 
* - * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.TokenStatus token_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearTokenStatus() { - + tokenStatus_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1376,30 +1594,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.Repository.GitRemoteSettings) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.Repository.GitRemoteSettings) - private static final com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings(); } - public static com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings getDefaultInstance() { + public static com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GitRemoteSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GitRemoteSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GitRemoteSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GitRemoteSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1411,20 +1631,23 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings getDefaultInstanceForType() { + public com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Output only. The repository's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -1433,29 +1656,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. The repository's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1466,11 +1689,16 @@ public java.lang.String getName() { public static final int GIT_REMOTE_SETTINGS_FIELD_NUMBER = 2; private com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings gitRemoteSettings_; /** + * + * *
    * Optional. If set, configures this repository to be linked to a Git remote.
    * 
* - * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the gitRemoteSettings field is set. */ @java.lang.Override @@ -1478,30 +1706,43 @@ public boolean hasGitRemoteSettings() { return gitRemoteSettings_ != null; } /** + * + * *
    * Optional. If set, configures this repository to be linked to a Git remote.
    * 
* - * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The gitRemoteSettings. */ @java.lang.Override public com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings getGitRemoteSettings() { - return gitRemoteSettings_ == null ? com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.getDefaultInstance() : gitRemoteSettings_; + return gitRemoteSettings_ == null + ? com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.getDefaultInstance() + : gitRemoteSettings_; } /** + * + * *
    * Optional. If set, configures this repository to be linked to a Git remote.
    * 
* - * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettingsOrBuilder getGitRemoteSettingsOrBuilder() { + public com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettingsOrBuilder + getGitRemoteSettingsOrBuilder() { return getGitRemoteSettings(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1513,8 +1754,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1534,8 +1774,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (gitRemoteSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getGitRemoteSettings()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getGitRemoteSettings()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1545,19 +1784,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.Repository)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.Repository other = (com.google.cloud.dataform.v1beta1.Repository) obj; + com.google.cloud.dataform.v1beta1.Repository other = + (com.google.cloud.dataform.v1beta1.Repository) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasGitRemoteSettings() != other.hasGitRemoteSettings()) return false; if (hasGitRemoteSettings()) { - if (!getGitRemoteSettings() - .equals(other.getGitRemoteSettings())) return false; + if (!getGitRemoteSettings().equals(other.getGitRemoteSettings())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1581,118 +1819,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataform.v1beta1.Repository parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataform.v1beta1.Repository parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.Repository parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.Repository parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.Repository parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.Repository parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.Repository parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.Repository parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.Repository parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.Repository parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.Repository parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.Repository parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.Repository parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.Repository parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.Repository prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents a Dataform Git repository.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.Repository} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.Repository) com.google.cloud.dataform.v1beta1.RepositoryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_Repository_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_Repository_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_Repository_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_Repository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.Repository.class, com.google.cloud.dataform.v1beta1.Repository.Builder.class); + com.google.cloud.dataform.v1beta1.Repository.class, + com.google.cloud.dataform.v1beta1.Repository.Builder.class); } // Construct using com.google.cloud.dataform.v1beta1.Repository.newBuilder() @@ -1700,16 +1947,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1725,9 +1971,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_Repository_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_Repository_descriptor; } @java.lang.Override @@ -1746,7 +1992,8 @@ public com.google.cloud.dataform.v1beta1.Repository build() { @java.lang.Override public com.google.cloud.dataform.v1beta1.Repository buildPartial() { - com.google.cloud.dataform.v1beta1.Repository result = new com.google.cloud.dataform.v1beta1.Repository(this); + com.google.cloud.dataform.v1beta1.Repository result = + new com.google.cloud.dataform.v1beta1.Repository(this); result.name_ = name_; if (gitRemoteSettingsBuilder_ == null) { result.gitRemoteSettings_ = gitRemoteSettings_; @@ -1761,38 +2008,39 @@ public com.google.cloud.dataform.v1beta1.Repository buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.Repository) { - return mergeFrom((com.google.cloud.dataform.v1beta1.Repository)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.Repository) other); } else { super.mergeFrom(other); return this; @@ -1839,18 +2087,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Output only. The repository's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1859,20 +2109,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The repository's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1880,54 +2131,61 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The repository's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The repository's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. The repository's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1935,41 +2193,61 @@ public Builder setNameBytes( private com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings gitRemoteSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings, com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.Builder, com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettingsOrBuilder> gitRemoteSettingsBuilder_; + com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings, + com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.Builder, + com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettingsOrBuilder> + gitRemoteSettingsBuilder_; /** + * + * *
      * Optional. If set, configures this repository to be linked to a Git remote.
      * 
* - * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the gitRemoteSettings field is set. */ public boolean hasGitRemoteSettings() { return gitRemoteSettingsBuilder_ != null || gitRemoteSettings_ != null; } /** + * + * *
      * Optional. If set, configures this repository to be linked to a Git remote.
      * 
* - * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The gitRemoteSettings. */ public com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings getGitRemoteSettings() { if (gitRemoteSettingsBuilder_ == null) { - return gitRemoteSettings_ == null ? com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.getDefaultInstance() : gitRemoteSettings_; + return gitRemoteSettings_ == null + ? com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.getDefaultInstance() + : gitRemoteSettings_; } else { return gitRemoteSettingsBuilder_.getMessage(); } } /** + * + * *
      * Optional. If set, configures this repository to be linked to a Git remote.
      * 
* - * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setGitRemoteSettings(com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings value) { + public Builder setGitRemoteSettings( + com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings value) { if (gitRemoteSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1983,11 +2261,15 @@ public Builder setGitRemoteSettings(com.google.cloud.dataform.v1beta1.Repository return this; } /** + * + * *
      * Optional. If set, configures this repository to be linked to a Git remote.
      * 
* - * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setGitRemoteSettings( com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.Builder builderForValue) { @@ -2001,17 +2283,25 @@ public Builder setGitRemoteSettings( return this; } /** + * + * *
      * Optional. If set, configures this repository to be linked to a Git remote.
      * 
* - * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder mergeGitRemoteSettings(com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings value) { + public Builder mergeGitRemoteSettings( + com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings value) { if (gitRemoteSettingsBuilder_ == null) { if (gitRemoteSettings_ != null) { gitRemoteSettings_ = - com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.newBuilder(gitRemoteSettings_).mergeFrom(value).buildPartial(); + com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.newBuilder( + gitRemoteSettings_) + .mergeFrom(value) + .buildPartial(); } else { gitRemoteSettings_ = value; } @@ -2023,11 +2313,15 @@ public Builder mergeGitRemoteSettings(com.google.cloud.dataform.v1beta1.Reposito return this; } /** + * + * *
      * Optional. If set, configures this repository to be linked to a Git remote.
      * 
* - * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearGitRemoteSettings() { if (gitRemoteSettingsBuilder_ == null) { @@ -2041,55 +2335,73 @@ public Builder clearGitRemoteSettings() { return this; } /** + * + * *
      * Optional. If set, configures this repository to be linked to a Git remote.
      * 
* - * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.Builder getGitRemoteSettingsBuilder() { - + public com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.Builder + getGitRemoteSettingsBuilder() { + onChanged(); return getGitRemoteSettingsFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. If set, configures this repository to be linked to a Git remote.
      * 
* - * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettingsOrBuilder getGitRemoteSettingsOrBuilder() { + public com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettingsOrBuilder + getGitRemoteSettingsOrBuilder() { if (gitRemoteSettingsBuilder_ != null) { return gitRemoteSettingsBuilder_.getMessageOrBuilder(); } else { - return gitRemoteSettings_ == null ? - com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.getDefaultInstance() : gitRemoteSettings_; + return gitRemoteSettings_ == null + ? com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.getDefaultInstance() + : gitRemoteSettings_; } } /** + * + * *
      * Optional. If set, configures this repository to be linked to a Git remote.
      * 
* - * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings, com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.Builder, com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettingsOrBuilder> + com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings, + com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.Builder, + com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettingsOrBuilder> getGitRemoteSettingsFieldBuilder() { if (gitRemoteSettingsBuilder_ == null) { - gitRemoteSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings, com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.Builder, com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettingsOrBuilder>( - getGitRemoteSettings(), - getParentForChildren(), - isClean()); + gitRemoteSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings, + com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings.Builder, + com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettingsOrBuilder>( + getGitRemoteSettings(), getParentForChildren(), isClean()); gitRemoteSettings_ = null; } return gitRemoteSettingsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2099,12 +2411,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.Repository) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.Repository) private static final com.google.cloud.dataform.v1beta1.Repository DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.Repository(); } @@ -2113,16 +2425,16 @@ public static com.google.cloud.dataform.v1beta1.Repository getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Repository parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Repository(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Repository parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Repository(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2137,6 +2449,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1beta1.Repository getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RepositoryName.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RepositoryName.java similarity index 100% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RepositoryName.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RepositoryName.java diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RepositoryOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RepositoryOrBuilder.java similarity index 51% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RepositoryOrBuilder.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RepositoryOrBuilder.java index d93943c..ce540f3 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RepositoryOrBuilder.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/RepositoryOrBuilder.java @@ -1,56 +1,92 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; -public interface RepositoryOrBuilder extends +public interface RepositoryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.Repository) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The repository's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The repository's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. If set, configures this repository to be linked to a Git remote.
    * 
* - * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the gitRemoteSettings field is set. */ boolean hasGitRemoteSettings(); /** + * + * *
    * Optional. If set, configures this repository to be linked to a Git remote.
    * 
* - * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The gitRemoteSettings. */ com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings getGitRemoteSettings(); /** + * + * *
    * Optional. If set, configures this repository to be linked to a Git remote.
    * 
* - * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettingsOrBuilder getGitRemoteSettingsOrBuilder(); + com.google.cloud.dataform.v1beta1.Repository.GitRemoteSettingsOrBuilder + getGitRemoteSettingsOrBuilder(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ResetWorkspaceChangesRequest.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ResetWorkspaceChangesRequest.java similarity index 69% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ResetWorkspaceChangesRequest.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ResetWorkspaceChangesRequest.java index a9c5ac0..0dacd98 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ResetWorkspaceChangesRequest.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ResetWorkspaceChangesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * `ResetWorkspaceChanges` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest} */ -public final class ResetWorkspaceChangesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ResetWorkspaceChangesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest) ResetWorkspaceChangesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ResetWorkspaceChangesRequest.newBuilder() to construct. private ResetWorkspaceChangesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ResetWorkspaceChangesRequest() { name_ = ""; paths_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -26,16 +44,15 @@ private ResetWorkspaceChangesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ResetWorkspaceChangesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ResetWorkspaceChangesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,33 +72,35 @@ private ResetWorkspaceChangesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - paths_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + name_ = s; + break; } - paths_.add(s); - break; - } - case 24: { - - clean_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + paths_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + paths_.add(s); + break; + } + case 24: + { + clean_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -89,8 +108,7 @@ private ResetWorkspaceChangesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { paths_ = paths_.getUnmodifiableView(); @@ -99,27 +117,35 @@ private ResetWorkspaceChangesRequest( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ResetWorkspaceChangesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ResetWorkspaceChangesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ResetWorkspaceChangesRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ResetWorkspaceChangesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest.class, com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest.Builder.class); + com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest.class, + com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The workspace's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -128,29 +154,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The workspace's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -161,37 +189,45 @@ public java.lang.String getName() { public static final int PATHS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList paths_; /** + * + * *
    * Optional. Full file paths to reset back to their committed state including filename,
    * rooted at workspace root. If left empty, all files will be reset.
    * 
* * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the paths. */ - public com.google.protobuf.ProtocolStringList - getPathsList() { + public com.google.protobuf.ProtocolStringList getPathsList() { return paths_; } /** + * + * *
    * Optional. Full file paths to reset back to their committed state including filename,
    * rooted at workspace root. If left empty, all files will be reset.
    * 
* * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of paths. */ public int getPathsCount() { return paths_.size(); } /** + * + * *
    * Optional. Full file paths to reset back to their committed state including filename,
    * rooted at workspace root. If left empty, all files will be reset.
    * 
* * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The paths at the given index. */ @@ -199,28 +235,33 @@ public java.lang.String getPaths(int index) { return paths_.get(index); } /** + * + * *
    * Optional. Full file paths to reset back to their committed state including filename,
    * rooted at workspace root. If left empty, all files will be reset.
    * 
* * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the paths at the given index. */ - public com.google.protobuf.ByteString - getPathsBytes(int index) { + public com.google.protobuf.ByteString getPathsBytes(int index) { return paths_.getByteString(index); } public static final int CLEAN_FIELD_NUMBER = 3; private boolean clean_; /** + * + * *
    * Optional. If set to true, untracked files will be deleted.
    * 
* * bool clean = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The clean. */ @java.lang.Override @@ -229,6 +270,7 @@ public boolean getClean() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -240,8 +282,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -272,8 +313,7 @@ public int getSerializedSize() { size += 1 * getPathsList().size(); } if (clean_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, clean_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, clean_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -283,19 +323,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest other = (com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest) obj; + com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest other = + (com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getPathsList() - .equals(other.getPathsList())) return false; - if (getClean() - != other.getClean()) return false; + if (!getName().equals(other.getName())) return false; + if (!getPathsList().equals(other.getPathsList())) return false; + if (getClean() != other.getClean()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -314,125 +352,134 @@ public int hashCode() { hash = (53 * hash) + getPathsList().hashCode(); } hash = (37 * hash) + CLEAN_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getClean()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getClean()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `ResetWorkspaceChanges` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest) com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ResetWorkspaceChangesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ResetWorkspaceChangesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ResetWorkspaceChangesRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ResetWorkspaceChangesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest.class, com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest.Builder.class); + com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest.class, + com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest.newBuilder() @@ -440,16 +487,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -463,13 +509,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_ResetWorkspaceChangesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_ResetWorkspaceChangesRequest_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest getDefaultInstanceForType() { + public com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest + getDefaultInstanceForType() { return com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest.getDefaultInstance(); } @@ -484,7 +531,8 @@ public com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest build() { @java.lang.Override public com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest buildPartial() { - com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest result = new com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest(this); + com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest result = + new com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest(this); int from_bitField0_ = bitField0_; result.name_ = name_; if (((bitField0_ & 0x00000001) != 0)) { @@ -501,38 +549,39 @@ public com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest buildParti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest) { - return mergeFrom((com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest) other); } else { super.mergeFrom(other); return this; @@ -540,7 +589,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest other) { - if (other == com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -577,7 +628,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -586,22 +639,27 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -610,20 +668,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -631,98 +692,121 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList paths_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList paths_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensurePathsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { paths_ = new com.google.protobuf.LazyStringArrayList(paths_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Optional. Full file paths to reset back to their committed state including filename,
      * rooted at workspace root. If left empty, all files will be reset.
      * 
* * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the paths. */ - public com.google.protobuf.ProtocolStringList - getPathsList() { + public com.google.protobuf.ProtocolStringList getPathsList() { return paths_.getUnmodifiableView(); } /** + * + * *
      * Optional. Full file paths to reset back to their committed state including filename,
      * rooted at workspace root. If left empty, all files will be reset.
      * 
* * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of paths. */ public int getPathsCount() { return paths_.size(); } /** + * + * *
      * Optional. Full file paths to reset back to their committed state including filename,
      * rooted at workspace root. If left empty, all files will be reset.
      * 
* * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The paths at the given index. */ @@ -730,85 +814,95 @@ public java.lang.String getPaths(int index) { return paths_.get(index); } /** + * + * *
      * Optional. Full file paths to reset back to their committed state including filename,
      * rooted at workspace root. If left empty, all files will be reset.
      * 
* * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the paths at the given index. */ - public com.google.protobuf.ByteString - getPathsBytes(int index) { + public com.google.protobuf.ByteString getPathsBytes(int index) { return paths_.getByteString(index); } /** + * + * *
      * Optional. Full file paths to reset back to their committed state including filename,
      * rooted at workspace root. If left empty, all files will be reset.
      * 
* * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index to set the value at. * @param value The paths to set. * @return This builder for chaining. */ - public Builder setPaths( - int index, java.lang.String value) { + public Builder setPaths(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePathsIsMutable(); + throw new NullPointerException(); + } + ensurePathsIsMutable(); paths_.set(index, value); onChanged(); return this; } /** + * + * *
      * Optional. Full file paths to reset back to their committed state including filename,
      * rooted at workspace root. If left empty, all files will be reset.
      * 
* * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The paths to add. * @return This builder for chaining. */ - public Builder addPaths( - java.lang.String value) { + public Builder addPaths(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensurePathsIsMutable(); + throw new NullPointerException(); + } + ensurePathsIsMutable(); paths_.add(value); onChanged(); return this; } /** + * + * *
      * Optional. Full file paths to reset back to their committed state including filename,
      * rooted at workspace root. If left empty, all files will be reset.
      * 
* * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param values The paths to add. * @return This builder for chaining. */ - public Builder addAllPaths( - java.lang.Iterable values) { + public Builder addAllPaths(java.lang.Iterable values) { ensurePathsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, paths_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, paths_); onChanged(); return this; } /** + * + * *
      * Optional. Full file paths to reset back to their committed state including filename,
      * rooted at workspace root. If left empty, all files will be reset.
      * 
* * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearPaths() { @@ -818,34 +912,39 @@ public Builder clearPaths() { return this; } /** + * + * *
      * Optional. Full file paths to reset back to their committed state including filename,
      * rooted at workspace root. If left empty, all files will be reset.
      * 
* * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes of the paths to add. * @return This builder for chaining. */ - public Builder addPathsBytes( - com.google.protobuf.ByteString value) { + public Builder addPathsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensurePathsIsMutable(); paths_.add(value); onChanged(); return this; } - private boolean clean_ ; + private boolean clean_; /** + * + * *
      * Optional. If set to true, untracked files will be deleted.
      * 
* * bool clean = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The clean. */ @java.lang.Override @@ -853,37 +952,43 @@ public boolean getClean() { return clean_; } /** + * + * *
      * Optional. If set to true, untracked files will be deleted.
      * 
* * bool clean = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The clean to set. * @return This builder for chaining. */ public Builder setClean(boolean value) { - + clean_ = value; onChanged(); return this; } /** + * + * *
      * Optional. If set to true, untracked files will be deleted.
      * 
* * bool clean = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearClean() { - + clean_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -893,30 +998,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest) - private static final com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest(); } - public static com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest getDefaultInstance() { + public static com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResetWorkspaceChangesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ResetWorkspaceChangesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResetWorkspaceChangesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ResetWorkspaceChangesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -928,9 +1035,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest getDefaultInstanceForType() { + public com.google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ResetWorkspaceChangesRequestOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ResetWorkspaceChangesRequestOrBuilder.java similarity index 65% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ResetWorkspaceChangesRequestOrBuilder.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ResetWorkspaceChangesRequestOrBuilder.java index 37d15e6..21b5a3f 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ResetWorkspaceChangesRequestOrBuilder.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/ResetWorkspaceChangesRequestOrBuilder.java @@ -1,83 +1,121 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; -public interface ResetWorkspaceChangesRequestOrBuilder extends +public interface ResetWorkspaceChangesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.ResetWorkspaceChangesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The workspace's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The workspace's name.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. Full file paths to reset back to their committed state including filename,
    * rooted at workspace root. If left empty, all files will be reset.
    * 
* * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return A list containing the paths. */ - java.util.List - getPathsList(); + java.util.List getPathsList(); /** + * + * *
    * Optional. Full file paths to reset back to their committed state including filename,
    * rooted at workspace root. If left empty, all files will be reset.
    * 
* * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The count of paths. */ int getPathsCount(); /** + * + * *
    * Optional. Full file paths to reset back to their committed state including filename,
    * rooted at workspace root. If left empty, all files will be reset.
    * 
* * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the element to return. * @return The paths at the given index. */ java.lang.String getPaths(int index); /** + * + * *
    * Optional. Full file paths to reset back to their committed state including filename,
    * rooted at workspace root. If left empty, all files will be reset.
    * 
* * repeated string paths = 2 [(.google.api.field_behavior) = OPTIONAL]; + * * @param index The index of the value to return. * @return The bytes of the paths at the given index. */ - com.google.protobuf.ByteString - getPathsBytes(int index); + com.google.protobuf.ByteString getPathsBytes(int index); /** + * + * *
    * Optional. If set to true, untracked files will be deleted.
    * 
* * bool clean = 3 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The clean. */ boolean getClean(); diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/Target.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/Target.java similarity index 70% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/Target.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/Target.java index e9d8036..979c7cf 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/Target.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/Target.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * Represents an action identifier. If the action writes output, the output
  * will be written to the referenced database object.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.dataform.v1beta1.Target}
  */
-public final class Target extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Target extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.Target)
     TargetOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Target.newBuilder() to construct.
   private Target(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Target() {
     database_ = "";
     schema_ = "";
@@ -28,16 +46,15 @@ private Target() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Target();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Target(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -56,31 +73,34 @@ private Target(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            database_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              database_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            schema_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+              schema_ = s;
+              break;
+            }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              name_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -88,34 +108,39 @@ private Target(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_Target_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.dataform.v1beta1.DataformProto
+        .internal_static_google_cloud_dataform_v1beta1_Target_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_Target_fieldAccessorTable
+    return com.google.cloud.dataform.v1beta1.DataformProto
+        .internal_static_google_cloud_dataform_v1beta1_Target_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.dataform.v1beta1.Target.class, com.google.cloud.dataform.v1beta1.Target.Builder.class);
+            com.google.cloud.dataform.v1beta1.Target.class,
+            com.google.cloud.dataform.v1beta1.Target.Builder.class);
   }
 
   public static final int DATABASE_FIELD_NUMBER = 1;
   private volatile java.lang.Object database_;
   /**
+   *
+   *
    * 
    * The action's database (Google Cloud project ID) .
    * 
* * string database = 1; + * * @return The database. */ @java.lang.Override @@ -124,29 +149,29 @@ public java.lang.String getDatabase() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; } } /** + * + * *
    * The action's database (Google Cloud project ID) .
    * 
* * string database = 1; + * * @return The bytes for database. */ @java.lang.Override - public com.google.protobuf.ByteString - getDatabaseBytes() { + public com.google.protobuf.ByteString getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); database_ = b; return b; } else { @@ -157,11 +182,14 @@ public java.lang.String getDatabase() { public static final int SCHEMA_FIELD_NUMBER = 2; private volatile java.lang.Object schema_; /** + * + * *
    * The action's schema (BigQuery dataset ID), within `database`.
    * 
* * string schema = 2; + * * @return The schema. */ @java.lang.Override @@ -170,29 +198,29 @@ public java.lang.String getSchema() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schema_ = s; return s; } } /** + * + * *
    * The action's schema (BigQuery dataset ID), within `database`.
    * 
* * string schema = 2; + * * @return The bytes for schema. */ @java.lang.Override - public com.google.protobuf.ByteString - getSchemaBytes() { + public com.google.protobuf.ByteString getSchemaBytes() { java.lang.Object ref = schema_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); schema_ = b; return b; } else { @@ -203,11 +231,14 @@ public java.lang.String getSchema() { public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** + * + * *
    * The action's name, within `database` and `schema`.
    * 
* * string name = 3; + * * @return The name. */ @java.lang.Override @@ -216,29 +247,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The action's name, within `database` and `schema`.
    * 
* * string name = 3; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -247,6 +278,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -258,8 +290,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(database_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, database_); } @@ -295,19 +326,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.Target)) { return super.equals(obj); } com.google.cloud.dataform.v1beta1.Target other = (com.google.cloud.dataform.v1beta1.Target) obj; - if (!getDatabase() - .equals(other.getDatabase())) return false; - if (!getSchema() - .equals(other.getSchema())) return false; - if (!getName() - .equals(other.getName())) return false; + if (!getDatabase().equals(other.getDatabase())) return false; + if (!getSchema().equals(other.getSchema())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -330,97 +358,104 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataform.v1beta1.Target parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataform.v1beta1.Target parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.Target parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.Target parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.Target parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.Target parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.Target parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.Target parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.Target parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.Target parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.Target parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.Target parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.Target parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.Target parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.Target prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents an action identifier. If the action writes output, the output
    * will be written to the referenced database object.
@@ -428,21 +463,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.dataform.v1beta1.Target}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.Target)
       com.google.cloud.dataform.v1beta1.TargetOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_Target_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.dataform.v1beta1.DataformProto
+          .internal_static_google_cloud_dataform_v1beta1_Target_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_Target_fieldAccessorTable
+      return com.google.cloud.dataform.v1beta1.DataformProto
+          .internal_static_google_cloud_dataform_v1beta1_Target_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataform.v1beta1.Target.class, com.google.cloud.dataform.v1beta1.Target.Builder.class);
+              com.google.cloud.dataform.v1beta1.Target.class,
+              com.google.cloud.dataform.v1beta1.Target.Builder.class);
     }
 
     // Construct using com.google.cloud.dataform.v1beta1.Target.newBuilder()
@@ -450,16 +487,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -473,9 +509,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_Target_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.dataform.v1beta1.DataformProto
+          .internal_static_google_cloud_dataform_v1beta1_Target_descriptor;
     }
 
     @java.lang.Override
@@ -494,7 +530,8 @@ public com.google.cloud.dataform.v1beta1.Target build() {
 
     @java.lang.Override
     public com.google.cloud.dataform.v1beta1.Target buildPartial() {
-      com.google.cloud.dataform.v1beta1.Target result = new com.google.cloud.dataform.v1beta1.Target(this);
+      com.google.cloud.dataform.v1beta1.Target result =
+          new com.google.cloud.dataform.v1beta1.Target(this);
       result.database_ = database_;
       result.schema_ = schema_;
       result.name_ = name_;
@@ -506,38 +543,39 @@ public com.google.cloud.dataform.v1beta1.Target buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.dataform.v1beta1.Target) {
-        return mergeFrom((com.google.cloud.dataform.v1beta1.Target)other);
+        return mergeFrom((com.google.cloud.dataform.v1beta1.Target) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -589,18 +627,20 @@ public Builder mergeFrom(
 
     private java.lang.Object database_ = "";
     /**
+     *
+     *
      * 
      * The action's database (Google Cloud project ID) .
      * 
* * string database = 1; + * * @return The database. */ public java.lang.String getDatabase() { java.lang.Object ref = database_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); database_ = s; return s; @@ -609,20 +649,21 @@ public java.lang.String getDatabase() { } } /** + * + * *
      * The action's database (Google Cloud project ID) .
      * 
* * string database = 1; + * * @return The bytes for database. */ - public com.google.protobuf.ByteString - getDatabaseBytes() { + public com.google.protobuf.ByteString getDatabaseBytes() { java.lang.Object ref = database_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); database_ = b; return b; } else { @@ -630,54 +671,61 @@ public java.lang.String getDatabase() { } } /** + * + * *
      * The action's database (Google Cloud project ID) .
      * 
* * string database = 1; + * * @param value The database to set. * @return This builder for chaining. */ - public Builder setDatabase( - java.lang.String value) { + public Builder setDatabase(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + database_ = value; onChanged(); return this; } /** + * + * *
      * The action's database (Google Cloud project ID) .
      * 
* * string database = 1; + * * @return This builder for chaining. */ public Builder clearDatabase() { - + database_ = getDefaultInstance().getDatabase(); onChanged(); return this; } /** + * + * *
      * The action's database (Google Cloud project ID) .
      * 
* * string database = 1; + * * @param value The bytes for database to set. * @return This builder for chaining. */ - public Builder setDatabaseBytes( - com.google.protobuf.ByteString value) { + public Builder setDatabaseBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + database_ = value; onChanged(); return this; @@ -685,18 +733,20 @@ public Builder setDatabaseBytes( private java.lang.Object schema_ = ""; /** + * + * *
      * The action's schema (BigQuery dataset ID), within `database`.
      * 
* * string schema = 2; + * * @return The schema. */ public java.lang.String getSchema() { java.lang.Object ref = schema_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schema_ = s; return s; @@ -705,20 +755,21 @@ public java.lang.String getSchema() { } } /** + * + * *
      * The action's schema (BigQuery dataset ID), within `database`.
      * 
* * string schema = 2; + * * @return The bytes for schema. */ - public com.google.protobuf.ByteString - getSchemaBytes() { + public com.google.protobuf.ByteString getSchemaBytes() { java.lang.Object ref = schema_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); schema_ = b; return b; } else { @@ -726,54 +777,61 @@ public java.lang.String getSchema() { } } /** + * + * *
      * The action's schema (BigQuery dataset ID), within `database`.
      * 
* * string schema = 2; + * * @param value The schema to set. * @return This builder for chaining. */ - public Builder setSchema( - java.lang.String value) { + public Builder setSchema(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + schema_ = value; onChanged(); return this; } /** + * + * *
      * The action's schema (BigQuery dataset ID), within `database`.
      * 
* * string schema = 2; + * * @return This builder for chaining. */ public Builder clearSchema() { - + schema_ = getDefaultInstance().getSchema(); onChanged(); return this; } /** + * + * *
      * The action's schema (BigQuery dataset ID), within `database`.
      * 
* * string schema = 2; + * * @param value The bytes for schema to set. * @return This builder for chaining. */ - public Builder setSchemaBytes( - com.google.protobuf.ByteString value) { + public Builder setSchemaBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + schema_ = value; onChanged(); return this; @@ -781,18 +839,20 @@ public Builder setSchemaBytes( private java.lang.Object name_ = ""; /** + * + * *
      * The action's name, within `database` and `schema`.
      * 
* * string name = 3; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -801,20 +861,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The action's name, within `database` and `schema`.
      * 
* * string name = 3; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -822,61 +883,68 @@ public java.lang.String getName() { } } /** + * + * *
      * The action's name, within `database` and `schema`.
      * 
* * string name = 3; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The action's name, within `database` and `schema`.
      * 
* * string name = 3; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The action's name, within `database` and `schema`.
      * 
* * string name = 3; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -886,12 +954,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.Target) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.Target) private static final com.google.cloud.dataform.v1beta1.Target DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.Target(); } @@ -900,16 +968,16 @@ public static com.google.cloud.dataform.v1beta1.Target getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Target parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Target(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Target parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Target(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -924,6 +992,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1beta1.Target getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/TargetOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/TargetOrBuilder.java similarity index 61% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/TargetOrBuilder.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/TargetOrBuilder.java index 7f5b1ee..35aeb2e 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/TargetOrBuilder.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/TargetOrBuilder.java @@ -1,69 +1,100 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; -public interface TargetOrBuilder extends +public interface TargetOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.Target) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The action's database (Google Cloud project ID) .
    * 
* * string database = 1; + * * @return The database. */ java.lang.String getDatabase(); /** + * + * *
    * The action's database (Google Cloud project ID) .
    * 
* * string database = 1; + * * @return The bytes for database. */ - com.google.protobuf.ByteString - getDatabaseBytes(); + com.google.protobuf.ByteString getDatabaseBytes(); /** + * + * *
    * The action's schema (BigQuery dataset ID), within `database`.
    * 
* * string schema = 2; + * * @return The schema. */ java.lang.String getSchema(); /** + * + * *
    * The action's schema (BigQuery dataset ID), within `database`.
    * 
* * string schema = 2; + * * @return The bytes for schema. */ - com.google.protobuf.ByteString - getSchemaBytes(); + com.google.protobuf.ByteString getSchemaBytes(); /** + * + * *
    * The action's name, within `database` and `schema`.
    * 
* * string name = 3; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The action's name, within `database` and `schema`.
    * 
* * string name = 3; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/UpdateRepositoryRequest.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/UpdateRepositoryRequest.java similarity index 64% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/UpdateRepositoryRequest.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/UpdateRepositoryRequest.java index 2307f85..6bf9e6b 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/UpdateRepositoryRequest.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/UpdateRepositoryRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * `UpdateRepository` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.UpdateRepositoryRequest} */ -public final class UpdateRepositoryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.UpdateRepositoryRequest) UpdateRepositoryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateRepositoryRequest.newBuilder() to construct. private UpdateRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateRepositoryRequest() { - } + + private UpdateRepositoryRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,44 @@ private UpdateRepositoryRequest( case 0: done = true; break; - case 10: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.cloud.dataform.v1beta1.Repository.Builder subBuilder = null; - if (repository_ != null) { - subBuilder = repository_.toBuilder(); - } - repository_ = input.readMessage(com.google.cloud.dataform.v1beta1.Repository.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(repository_); - repository_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.cloud.dataform.v1beta1.Repository.Builder subBuilder = null; + if (repository_ != null) { + subBuilder = repository_.toBuilder(); + } + repository_ = + input.readMessage( + com.google.cloud.dataform.v1beta1.Repository.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(repository_); + repository_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,35 +113,41 @@ private UpdateRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_UpdateRepositoryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_UpdateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_UpdateRepositoryRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_UpdateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest.class, com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest.Builder.class); + com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest.class, + com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest.Builder.class); } public static final int UPDATE_MASK_FIELD_NUMBER = 1; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Optional. Specifies the fields to be updated in the repository. If left unset,
    * all fields will be updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -128,12 +155,16 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Optional. Specifies the fields to be updated in the repository. If left unset,
    * all fields will be updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The updateMask. */ @java.lang.Override @@ -141,12 +172,15 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Optional. Specifies the fields to be updated in the repository. If left unset,
    * all fields will be updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -156,11 +190,16 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int REPOSITORY_FIELD_NUMBER = 2; private com.google.cloud.dataform.v1beta1.Repository repository_; /** + * + * *
    * Required. The repository to update.
    * 
* - * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the repository field is set. */ @java.lang.Override @@ -168,23 +207,34 @@ public boolean hasRepository() { return repository_ != null; } /** + * + * *
    * Required. The repository to update.
    * 
* - * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The repository. */ @java.lang.Override public com.google.cloud.dataform.v1beta1.Repository getRepository() { - return repository_ == null ? com.google.cloud.dataform.v1beta1.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.cloud.dataform.v1beta1.Repository.getDefaultInstance() + : repository_; } /** + * + * *
    * Required. The repository to update.
    * 
* - * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.dataform.v1beta1.RepositoryOrBuilder getRepositoryOrBuilder() { @@ -192,6 +242,7 @@ public com.google.cloud.dataform.v1beta1.RepositoryOrBuilder getRepositoryOrBuil } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -203,8 +254,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (updateMask_ != null) { output.writeMessage(1, getUpdateMask()); } @@ -221,12 +271,10 @@ public int getSerializedSize() { size = 0; if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpdateMask()); } if (repository_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getRepository()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRepository()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -236,22 +284,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest other = (com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest) obj; + com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest other = + (com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest) obj; if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (hasRepository() != other.hasRepository()) return false; if (hasRepository()) { - if (!getRepository() - .equals(other.getRepository())) return false; + if (!getRepository().equals(other.getRepository())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -278,117 +325,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `UpdateRepository` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.UpdateRepositoryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.UpdateRepositoryRequest) com.google.cloud.dataform.v1beta1.UpdateRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_UpdateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_UpdateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_UpdateRepositoryRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_UpdateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest.class, com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest.Builder.class); + com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest.class, + com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest.newBuilder() @@ -396,16 +453,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -425,9 +481,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_UpdateRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_UpdateRepositoryRequest_descriptor; } @java.lang.Override @@ -446,7 +502,8 @@ public com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest build() { @java.lang.Override public com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest buildPartial() { - com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest result = new com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest(this); + com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest result = + new com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest(this); if (updateMaskBuilder_ == null) { result.updateMask_ = updateMask_; } else { @@ -465,38 +522,39 @@ public com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest) { - return mergeFrom((com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest) other); } else { super.mergeFrom(other); return this; @@ -504,7 +562,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest other) { - if (other == com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest.getDefaultInstance()) + return this; if (other.hasUpdateMask()) { mergeUpdateMask(other.getUpdateMask()); } @@ -530,7 +589,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -542,42 +602,58 @@ public Builder mergeFrom( private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> + updateMaskBuilder_; /** + * + * *
      * Optional. Specifies the fields to be updated in the repository. If left unset,
      * all fields will be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Optional. Specifies the fields to be updated in the repository. If left unset,
      * all fields will be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** + * + * *
      * Optional. Specifies the fields to be updated in the repository. If left unset,
      * all fields will be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -593,15 +669,17 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Specifies the fields to be updated in the repository. If left unset,
      * all fields will be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -612,18 +690,21 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Optional. Specifies the fields to be updated in the repository. If left unset,
      * all fields will be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -635,12 +716,15 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Optional. Specifies the fields to be updated in the repository. If left unset,
      * all fields will be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -654,51 +738,64 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Optional. Specifies the fields to be updated in the repository. If left unset,
      * all fields will be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Specifies the fields to be updated in the repository. If left unset,
      * all fields will be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null ? - com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; + return updateMask_ == null + ? com.google.protobuf.FieldMask.getDefaultInstance() + : updateMask_; } } /** + * + * *
      * Optional. Specifies the fields to be updated in the repository. If left unset,
      * all fields will be updated.
      * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), - getParentForChildren(), - isClean()); + updateMaskBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, + com.google.protobuf.FieldMask.Builder, + com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), getParentForChildren(), isClean()); updateMask_ = null; } return updateMaskBuilder_; @@ -706,39 +803,58 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { private com.google.cloud.dataform.v1beta1.Repository repository_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.Repository, com.google.cloud.dataform.v1beta1.Repository.Builder, com.google.cloud.dataform.v1beta1.RepositoryOrBuilder> repositoryBuilder_; + com.google.cloud.dataform.v1beta1.Repository, + com.google.cloud.dataform.v1beta1.Repository.Builder, + com.google.cloud.dataform.v1beta1.RepositoryOrBuilder> + repositoryBuilder_; /** + * + * *
      * Required. The repository to update.
      * 
* - * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the repository field is set. */ public boolean hasRepository() { return repositoryBuilder_ != null || repository_ != null; } /** + * + * *
      * Required. The repository to update.
      * 
* - * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The repository. */ public com.google.cloud.dataform.v1beta1.Repository getRepository() { if (repositoryBuilder_ == null) { - return repository_ == null ? com.google.cloud.dataform.v1beta1.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.cloud.dataform.v1beta1.Repository.getDefaultInstance() + : repository_; } else { return repositoryBuilder_.getMessage(); } } /** + * + * *
      * Required. The repository to update.
      * 
* - * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRepository(com.google.cloud.dataform.v1beta1.Repository value) { if (repositoryBuilder_ == null) { @@ -754,11 +870,15 @@ public Builder setRepository(com.google.cloud.dataform.v1beta1.Repository value) return this; } /** + * + * *
      * Required. The repository to update.
      * 
* - * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setRepository( com.google.cloud.dataform.v1beta1.Repository.Builder builderForValue) { @@ -772,17 +892,23 @@ public Builder setRepository( return this; } /** + * + * *
      * Required. The repository to update.
      * 
* - * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeRepository(com.google.cloud.dataform.v1beta1.Repository value) { if (repositoryBuilder_ == null) { if (repository_ != null) { repository_ = - com.google.cloud.dataform.v1beta1.Repository.newBuilder(repository_).mergeFrom(value).buildPartial(); + com.google.cloud.dataform.v1beta1.Repository.newBuilder(repository_) + .mergeFrom(value) + .buildPartial(); } else { repository_ = value; } @@ -794,11 +920,15 @@ public Builder mergeRepository(com.google.cloud.dataform.v1beta1.Repository valu return this; } /** + * + * *
      * Required. The repository to update.
      * 
* - * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearRepository() { if (repositoryBuilder_ == null) { @@ -812,55 +942,71 @@ public Builder clearRepository() { return this; } /** + * + * *
      * Required. The repository to update.
      * 
* - * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataform.v1beta1.Repository.Builder getRepositoryBuilder() { - + onChanged(); return getRepositoryFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The repository to update.
      * 
* - * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.dataform.v1beta1.RepositoryOrBuilder getRepositoryOrBuilder() { if (repositoryBuilder_ != null) { return repositoryBuilder_.getMessageOrBuilder(); } else { - return repository_ == null ? - com.google.cloud.dataform.v1beta1.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.cloud.dataform.v1beta1.Repository.getDefaultInstance() + : repository_; } } /** + * + * *
      * Required. The repository to update.
      * 
* - * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.Repository, com.google.cloud.dataform.v1beta1.Repository.Builder, com.google.cloud.dataform.v1beta1.RepositoryOrBuilder> + com.google.cloud.dataform.v1beta1.Repository, + com.google.cloud.dataform.v1beta1.Repository.Builder, + com.google.cloud.dataform.v1beta1.RepositoryOrBuilder> getRepositoryFieldBuilder() { if (repositoryBuilder_ == null) { - repositoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.Repository, com.google.cloud.dataform.v1beta1.Repository.Builder, com.google.cloud.dataform.v1beta1.RepositoryOrBuilder>( - getRepository(), - getParentForChildren(), - isClean()); + repositoryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Repository, + com.google.cloud.dataform.v1beta1.Repository.Builder, + com.google.cloud.dataform.v1beta1.RepositoryOrBuilder>( + getRepository(), getParentForChildren(), isClean()); repository_ = null; } return repositoryBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -870,12 +1016,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.UpdateRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.UpdateRepositoryRequest) private static final com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest(); } @@ -884,16 +1030,16 @@ public static com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -908,6 +1054,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1beta1.UpdateRepositoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/UpdateRepositoryRequestOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/UpdateRepositoryRequestOrBuilder.java similarity index 57% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/UpdateRepositoryRequestOrBuilder.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/UpdateRepositoryRequestOrBuilder.java index 596f56c..958aa25 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/UpdateRepositoryRequestOrBuilder.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/UpdateRepositoryRequestOrBuilder.java @@ -1,66 +1,107 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; -public interface UpdateRepositoryRequestOrBuilder extends +public interface UpdateRepositoryRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.UpdateRepositoryRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. Specifies the fields to be updated in the repository. If left unset,
    * all fields will be updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Optional. Specifies the fields to be updated in the repository. If left unset,
    * all fields will be updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Optional. Specifies the fields to be updated in the repository. If left unset,
    * all fields will be updated.
    * 
* - * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** + * + * *
    * Required. The repository to update.
    * 
* - * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the repository field is set. */ boolean hasRepository(); /** + * + * *
    * Required. The repository to update.
    * 
* - * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The repository. */ com.google.cloud.dataform.v1beta1.Repository getRepository(); /** + * + * *
    * Required. The repository to update.
    * 
* - * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.dataform.v1beta1.Repository repository = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.dataform.v1beta1.RepositoryOrBuilder getRepositoryOrBuilder(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkflowInvocation.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkflowInvocation.java similarity index 66% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkflowInvocation.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkflowInvocation.java index 273c256..4f93620 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkflowInvocation.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkflowInvocation.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * Represents a single invocation of a compilation result.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.WorkflowInvocation} */ -public final class WorkflowInvocation extends - com.google.protobuf.GeneratedMessageV3 implements +public final class WorkflowInvocation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.WorkflowInvocation) WorkflowInvocationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use WorkflowInvocation.newBuilder() to construct. private WorkflowInvocation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private WorkflowInvocation() { name_ = ""; compilationResult_ = ""; @@ -27,16 +45,15 @@ private WorkflowInvocation() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new WorkflowInvocation(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private WorkflowInvocation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,57 +72,68 @@ private WorkflowInvocation( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - compilationResult_ = s; - break; - } - case 26: { - com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig.Builder subBuilder = null; - if (invocationConfig_ != null) { - subBuilder = invocationConfig_.toBuilder(); - } - invocationConfig_ = input.readMessage(com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(invocationConfig_); - invocationConfig_ = subBuilder.buildPartial(); + name_ = s; + break; } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 32: { - int rawValue = input.readEnum(); + compilationResult_ = s; + break; + } + case 26: + { + com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig.Builder + subBuilder = null; + if (invocationConfig_ != null) { + subBuilder = invocationConfig_.toBuilder(); + } + invocationConfig_ = + input.readMessage( + com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(invocationConfig_); + invocationConfig_ = subBuilder.buildPartial(); + } - state_ = rawValue; - break; - } - case 42: { - com.google.type.Interval.Builder subBuilder = null; - if (invocationTiming_ != null) { - subBuilder = invocationTiming_.toBuilder(); + break; } - invocationTiming_ = input.readMessage(com.google.type.Interval.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(invocationTiming_); - invocationTiming_ = subBuilder.buildPartial(); + case 32: + { + int rawValue = input.readEnum(); + + state_ = rawValue; + break; } + case 42: + { + com.google.type.Interval.Builder subBuilder = null; + if (invocationTiming_ != null) { + subBuilder = invocationTiming_.toBuilder(); + } + invocationTiming_ = + input.readMessage(com.google.type.Interval.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(invocationTiming_); + invocationTiming_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -113,36 +141,41 @@ private WorkflowInvocation( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.WorkflowInvocation.class, com.google.cloud.dataform.v1beta1.WorkflowInvocation.Builder.class); + com.google.cloud.dataform.v1beta1.WorkflowInvocation.class, + com.google.cloud.dataform.v1beta1.WorkflowInvocation.Builder.class); } /** + * + * *
    * Represents the current state of a workflow invocation.
    * 
* * Protobuf enum {@code google.cloud.dataform.v1beta1.WorkflowInvocation.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Default value. This value is unused.
      * 
@@ -151,6 +184,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The workflow invocation is currently running.
      * 
@@ -159,6 +194,8 @@ public enum State */ RUNNING(1), /** + * + * *
      * The workflow invocation succeeded. A terminal state.
      * 
@@ -167,6 +204,8 @@ public enum State */ SUCCEEDED(2), /** + * + * *
      * The workflow invocation was cancelled. A terminal state.
      * 
@@ -175,6 +214,8 @@ public enum State */ CANCELLED(3), /** + * + * *
      * The workflow invocation failed. A terminal state.
      * 
@@ -183,6 +224,8 @@ public enum State */ FAILED(4), /** + * + * *
      * The workflow invocation is being cancelled, but some actions are still
      * running.
@@ -195,6 +238,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * Default value. This value is unused.
      * 
@@ -203,6 +248,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The workflow invocation is currently running.
      * 
@@ -211,6 +258,8 @@ public enum State */ public static final int RUNNING_VALUE = 1; /** + * + * *
      * The workflow invocation succeeded. A terminal state.
      * 
@@ -219,6 +268,8 @@ public enum State */ public static final int SUCCEEDED_VALUE = 2; /** + * + * *
      * The workflow invocation was cancelled. A terminal state.
      * 
@@ -227,6 +278,8 @@ public enum State */ public static final int CANCELLED_VALUE = 3; /** + * + * *
      * The workflow invocation failed. A terminal state.
      * 
@@ -235,6 +288,8 @@ public enum State */ public static final int FAILED_VALUE = 4; /** + * + * *
      * The workflow invocation is being cancelled, but some actions are still
      * running.
@@ -244,7 +299,6 @@ public enum State
      */
     public static final int CANCELING_VALUE = 5;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -269,52 +323,57 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0: return STATE_UNSPECIFIED;
-        case 1: return RUNNING;
-        case 2: return SUCCEEDED;
-        case 3: return CANCELLED;
-        case 4: return FAILED;
-        case 5: return CANCELING;
-        default: return null;
-      }
-    }
-
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+        case 0:
+          return STATE_UNSPECIFIED;
+        case 1:
+          return RUNNING;
+        case 2:
+          return SUCCEEDED;
+        case 3:
+          return CANCELLED;
+        case 4:
+          return FAILED;
+        case 5:
+          return CANCELING;
+        default:
+          return null;
+      }
+    }
+
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        State> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public State findValueByNumber(int number) {
-              return State.forNumber(number);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+        new com.google.protobuf.Internal.EnumLiteMap() {
+          public State findValueByNumber(int number) {
+            return State.forNumber(number);
+          }
+        };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-    public final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptorForType() {
+
+    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
       return getDescriptor();
     }
-    public static final com.google.protobuf.Descriptors.EnumDescriptor
-        getDescriptor() {
-      return com.google.cloud.dataform.v1beta1.WorkflowInvocation.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.cloud.dataform.v1beta1.WorkflowInvocation.getDescriptor()
+          .getEnumTypes()
+          .get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -331,128 +390,172 @@ private State(int value) {
     // @@protoc_insertion_point(enum_scope:google.cloud.dataform.v1beta1.WorkflowInvocation.State)
   }
 
-  public interface InvocationConfigOrBuilder extends
+  public interface InvocationConfigOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Immutable. The set of action identifiers to include.
      * 
* - * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ - java.util.List - getIncludedTargetsList(); + java.util.List getIncludedTargetsList(); /** + * + * *
      * Immutable. The set of action identifiers to include.
      * 
* - * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ com.google.cloud.dataform.v1beta1.Target getIncludedTargets(int index); /** + * + * *
      * Immutable. The set of action identifiers to include.
      * 
* - * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ int getIncludedTargetsCount(); /** + * + * *
      * Immutable. The set of action identifiers to include.
      * 
* - * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ - java.util.List + java.util.List getIncludedTargetsOrBuilderList(); /** + * + * *
      * Immutable. The set of action identifiers to include.
      * 
* - * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ - com.google.cloud.dataform.v1beta1.TargetOrBuilder getIncludedTargetsOrBuilder( - int index); + com.google.cloud.dataform.v1beta1.TargetOrBuilder getIncludedTargetsOrBuilder(int index); /** + * + * *
      * Immutable. The set of tags to include.
      * 
* * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return A list containing the includedTags. */ - java.util.List - getIncludedTagsList(); + java.util.List getIncludedTagsList(); /** + * + * *
      * Immutable. The set of tags to include.
      * 
* * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The count of includedTags. */ int getIncludedTagsCount(); /** + * + * *
      * Immutable. The set of tags to include.
      * 
* * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param index The index of the element to return. * @return The includedTags at the given index. */ java.lang.String getIncludedTags(int index); /** + * + * *
      * Immutable. The set of tags to include.
      * 
* * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param index The index of the value to return. * @return The bytes of the includedTags at the given index. */ - com.google.protobuf.ByteString - getIncludedTagsBytes(int index); + com.google.protobuf.ByteString getIncludedTagsBytes(int index); /** + * + * *
      * Immutable. When set to true, transitive dependencies of included actions will be
      * executed.
      * 
* - * bool transitive_dependencies_included = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * bool transitive_dependencies_included = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The transitiveDependenciesIncluded. */ boolean getTransitiveDependenciesIncluded(); /** + * + * *
      * Immutable. When set to true, transitive dependents of included actions will be
      * executed.
      * 
* - * bool transitive_dependents_included = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * bool transitive_dependents_included = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The transitiveDependentsIncluded. */ boolean getTransitiveDependentsIncluded(); /** + * + * *
      * Immutable. When set to true, any incremental tables will be fully refreshed.
      * 
* - * bool fully_refresh_incremental_tables_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * bool fully_refresh_incremental_tables_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The fullyRefreshIncrementalTablesEnabled. */ boolean getFullyRefreshIncrementalTablesEnabled(); } /** + * + * *
    * Includes various configuration options for this workflow invocation.
    * If both `included_targets` and `included_tags` are unset, all actions
@@ -461,15 +564,16 @@ com.google.cloud.dataform.v1beta1.TargetOrBuilder getIncludedTargetsOrBuilder(
    *
    * Protobuf type {@code google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig}
    */
-  public static final class InvocationConfig extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class InvocationConfig extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig)
       InvocationConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use InvocationConfig.newBuilder() to construct.
     private InvocationConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private InvocationConfig() {
       includedTargets_ = java.util.Collections.emptyList();
       includedTags_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -477,16 +581,15 @@ private InvocationConfig() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new InvocationConfig();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private InvocationConfig(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -506,46 +609,50 @@ private InvocationConfig(
             case 0:
               done = true;
               break;
-            case 10: {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                includedTargets_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
+            case 10:
+              {
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  includedTargets_ =
+                      new java.util.ArrayList();
+                  mutable_bitField0_ |= 0x00000001;
+                }
+                includedTargets_.add(
+                    input.readMessage(
+                        com.google.cloud.dataform.v1beta1.Target.parser(), extensionRegistry));
+                break;
               }
-              includedTargets_.add(
-                  input.readMessage(com.google.cloud.dataform.v1beta1.Target.parser(), extensionRegistry));
-              break;
-            }
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                includedTags_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000002;
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                  includedTags_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000002;
+                }
+                includedTags_.add(s);
+                break;
               }
-              includedTags_.add(s);
-              break;
-            }
-            case 24: {
-
-              transitiveDependenciesIncluded_ = input.readBool();
-              break;
-            }
-            case 32: {
-
-              transitiveDependentsIncluded_ = input.readBool();
-              break;
-            }
-            case 40: {
-
-              fullyRefreshIncrementalTablesEnabled_ = input.readBool();
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            case 24:
+              {
+                transitiveDependenciesIncluded_ = input.readBool();
+                break;
+              }
+            case 32:
+              {
+                transitiveDependentsIncluded_ = input.readBool();
+                break;
+              }
+            case 40:
+              {
+                fullyRefreshIncrementalTablesEnabled_ = input.readBool();
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -553,8 +660,7 @@ private InvocationConfig(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           includedTargets_ = java.util.Collections.unmodifiableList(includedTargets_);
@@ -566,72 +672,95 @@ private InvocationConfig(
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_InvocationConfig_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.dataform.v1beta1.DataformProto
+          .internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_InvocationConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_InvocationConfig_fieldAccessorTable
+      return com.google.cloud.dataform.v1beta1.DataformProto
+          .internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_InvocationConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig.class, com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig.Builder.class);
+              com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig.class,
+              com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig.Builder.class);
     }
 
     public static final int INCLUDED_TARGETS_FIELD_NUMBER = 1;
     private java.util.List includedTargets_;
     /**
+     *
+     *
      * 
      * Immutable. The set of action identifiers to include.
      * 
* - * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ @java.lang.Override public java.util.List getIncludedTargetsList() { return includedTargets_; } /** + * + * *
      * Immutable. The set of action identifiers to include.
      * 
* - * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ @java.lang.Override - public java.util.List + public java.util.List getIncludedTargetsOrBuilderList() { return includedTargets_; } /** + * + * *
      * Immutable. The set of action identifiers to include.
      * 
* - * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ @java.lang.Override public int getIncludedTargetsCount() { return includedTargets_.size(); } /** + * + * *
      * Immutable. The set of action identifiers to include.
      * 
* - * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ @java.lang.Override public com.google.cloud.dataform.v1beta1.Target getIncludedTargets(int index) { return includedTargets_.get(index); } /** + * + * *
      * Immutable. The set of action identifiers to include.
      * 
* - * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ @java.lang.Override public com.google.cloud.dataform.v1beta1.TargetOrBuilder getIncludedTargetsOrBuilder( @@ -642,34 +771,42 @@ public com.google.cloud.dataform.v1beta1.TargetOrBuilder getIncludedTargetsOrBui public static final int INCLUDED_TAGS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList includedTags_; /** + * + * *
      * Immutable. The set of tags to include.
      * 
* * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return A list containing the includedTags. */ - public com.google.protobuf.ProtocolStringList - getIncludedTagsList() { + public com.google.protobuf.ProtocolStringList getIncludedTagsList() { return includedTags_; } /** + * + * *
      * Immutable. The set of tags to include.
      * 
* * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The count of includedTags. */ public int getIncludedTagsCount() { return includedTags_.size(); } /** + * + * *
      * Immutable. The set of tags to include.
      * 
* * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param index The index of the element to return. * @return The includedTags at the given index. */ @@ -677,28 +814,34 @@ public java.lang.String getIncludedTags(int index) { return includedTags_.get(index); } /** + * + * *
      * Immutable. The set of tags to include.
      * 
* * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param index The index of the value to return. * @return The bytes of the includedTags at the given index. */ - public com.google.protobuf.ByteString - getIncludedTagsBytes(int index) { + public com.google.protobuf.ByteString getIncludedTagsBytes(int index) { return includedTags_.getByteString(index); } public static final int TRANSITIVE_DEPENDENCIES_INCLUDED_FIELD_NUMBER = 3; private boolean transitiveDependenciesIncluded_; /** + * + * *
      * Immutable. When set to true, transitive dependencies of included actions will be
      * executed.
      * 
* - * bool transitive_dependencies_included = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * bool transitive_dependencies_included = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The transitiveDependenciesIncluded. */ @java.lang.Override @@ -709,12 +852,16 @@ public boolean getTransitiveDependenciesIncluded() { public static final int TRANSITIVE_DEPENDENTS_INCLUDED_FIELD_NUMBER = 4; private boolean transitiveDependentsIncluded_; /** + * + * *
      * Immutable. When set to true, transitive dependents of included actions will be
      * executed.
      * 
* - * bool transitive_dependents_included = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * bool transitive_dependents_included = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The transitiveDependentsIncluded. */ @java.lang.Override @@ -725,11 +872,16 @@ public boolean getTransitiveDependentsIncluded() { public static final int FULLY_REFRESH_INCREMENTAL_TABLES_ENABLED_FIELD_NUMBER = 5; private boolean fullyRefreshIncrementalTablesEnabled_; /** + * + * *
      * Immutable. When set to true, any incremental tables will be fully refreshed.
      * 
* - * bool fully_refresh_incremental_tables_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * bool fully_refresh_incremental_tables_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The fullyRefreshIncrementalTablesEnabled. */ @java.lang.Override @@ -738,6 +890,7 @@ public boolean getFullyRefreshIncrementalTablesEnabled() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -749,8 +902,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < includedTargets_.size(); i++) { output.writeMessage(1, includedTargets_.get(i)); } @@ -776,8 +928,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < includedTargets_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, includedTargets_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, includedTargets_.get(i)); } { int dataSize = 0; @@ -788,16 +940,18 @@ public int getSerializedSize() { size += 1 * getIncludedTagsList().size(); } if (transitiveDependenciesIncluded_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, transitiveDependenciesIncluded_); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 3, transitiveDependenciesIncluded_); } if (transitiveDependentsIncluded_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(4, transitiveDependentsIncluded_); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize(4, transitiveDependentsIncluded_); } if (fullyRefreshIncrementalTablesEnabled_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, fullyRefreshIncrementalTablesEnabled_); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 5, fullyRefreshIncrementalTablesEnabled_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -807,21 +961,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig other = (com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig) obj; + com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig other = + (com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig) obj; - if (!getIncludedTargetsList() - .equals(other.getIncludedTargetsList())) return false; - if (!getIncludedTagsList() - .equals(other.getIncludedTagsList())) return false; - if (getTransitiveDependenciesIncluded() - != other.getTransitiveDependenciesIncluded()) return false; - if (getTransitiveDependentsIncluded() - != other.getTransitiveDependentsIncluded()) return false; + if (!getIncludedTargetsList().equals(other.getIncludedTargetsList())) return false; + if (!getIncludedTagsList().equals(other.getIncludedTagsList())) return false; + if (getTransitiveDependenciesIncluded() != other.getTransitiveDependenciesIncluded()) + return false; + if (getTransitiveDependentsIncluded() != other.getTransitiveDependentsIncluded()) + return false; if (getFullyRefreshIncrementalTablesEnabled() != other.getFullyRefreshIncrementalTablesEnabled()) return false; if (!unknownFields.equals(other.unknownFields)) return false; @@ -844,101 +997,111 @@ public int hashCode() { hash = (53 * hash) + getIncludedTagsList().hashCode(); } hash = (37 * hash) + TRANSITIVE_DEPENDENCIES_INCLUDED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getTransitiveDependenciesIncluded()); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashBoolean(getTransitiveDependenciesIncluded()); hash = (37 * hash) + TRANSITIVE_DEPENDENTS_INCLUDED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getTransitiveDependentsIncluded()); + hash = + (53 * hash) + com.google.protobuf.Internal.hashBoolean(getTransitiveDependentsIncluded()); hash = (37 * hash) + FULLY_REFRESH_INCREMENTAL_TABLES_ENABLED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getFullyRefreshIncrementalTablesEnabled()); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashBoolean(getFullyRefreshIncrementalTablesEnabled()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -948,6 +1111,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Includes various configuration options for this workflow invocation.
      * If both `included_targets` and `included_tags` are unset, all actions
@@ -956,39 +1121,44 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig)
         com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfigOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_InvocationConfig_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.dataform.v1beta1.DataformProto
+            .internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_InvocationConfig_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_InvocationConfig_fieldAccessorTable
+        return com.google.cloud.dataform.v1beta1.DataformProto
+            .internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_InvocationConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig.class, com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig.Builder.class);
+                com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig.class,
+                com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig.Builder
+                    .class);
       }
 
-      // Construct using com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig.newBuilder()
+      // Construct using
+      // com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
           getIncludedTargetsFieldBuilder();
         }
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1010,19 +1180,22 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_InvocationConfig_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.dataform.v1beta1.DataformProto
+            .internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_InvocationConfig_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig getDefaultInstanceForType() {
-        return com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig.getDefaultInstance();
+      public com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig
+          getDefaultInstanceForType() {
+        return com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig
+            .getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig build() {
-        com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig result = buildPartial();
+        com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig result =
+            buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -1031,7 +1204,8 @@ public com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig bui
 
       @java.lang.Override
       public com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig buildPartial() {
-        com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig result = new com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig(this);
+        com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig result =
+            new com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig(this);
         int from_bitField0_ = bitField0_;
         if (includedTargetsBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0)) {
@@ -1058,46 +1232,54 @@ public com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig bui
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other instanceof com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig) {
-          return mergeFrom((com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig)other);
+        if (other
+            instanceof com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig) {
+          return mergeFrom(
+              (com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig other) {
-        if (other == com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig other) {
+        if (other
+            == com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig
+                .getDefaultInstance()) return this;
         if (includedTargetsBuilder_ == null) {
           if (!other.includedTargets_.isEmpty()) {
             if (includedTargets_.isEmpty()) {
@@ -1116,9 +1298,10 @@ public Builder mergeFrom(com.google.cloud.dataform.v1beta1.WorkflowInvocation.In
               includedTargetsBuilder_ = null;
               includedTargets_ = other.includedTargets_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              includedTargetsBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getIncludedTargetsFieldBuilder() : null;
+              includedTargetsBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getIncludedTargetsFieldBuilder()
+                      : null;
             } else {
               includedTargetsBuilder_.addAllMessages(other.includedTargets_);
             }
@@ -1162,7 +1345,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -1171,26 +1356,36 @@ public Builder mergeFrom(
         }
         return this;
       }
+
       private int bitField0_;
 
       private java.util.List includedTargets_ =
-        java.util.Collections.emptyList();
+          java.util.Collections.emptyList();
+
       private void ensureIncludedTargetsIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
-          includedTargets_ = new java.util.ArrayList(includedTargets_);
+          includedTargets_ =
+              new java.util.ArrayList(includedTargets_);
           bitField0_ |= 0x00000001;
-         }
+        }
       }
 
       private com.google.protobuf.RepeatedFieldBuilderV3<
-          com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder> includedTargetsBuilder_;
+              com.google.cloud.dataform.v1beta1.Target,
+              com.google.cloud.dataform.v1beta1.Target.Builder,
+              com.google.cloud.dataform.v1beta1.TargetOrBuilder>
+          includedTargetsBuilder_;
 
       /**
+       *
+       *
        * 
        * Immutable. The set of action identifiers to include.
        * 
* - * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public java.util.List getIncludedTargetsList() { if (includedTargetsBuilder_ == null) { @@ -1200,11 +1395,15 @@ public java.util.List getIncludedTarge } } /** + * + * *
        * Immutable. The set of action identifiers to include.
        * 
* - * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public int getIncludedTargetsCount() { if (includedTargetsBuilder_ == null) { @@ -1214,11 +1413,15 @@ public int getIncludedTargetsCount() { } } /** + * + * *
        * Immutable. The set of action identifiers to include.
        * 
* - * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public com.google.cloud.dataform.v1beta1.Target getIncludedTargets(int index) { if (includedTargetsBuilder_ == null) { @@ -1228,14 +1431,17 @@ public com.google.cloud.dataform.v1beta1.Target getIncludedTargets(int index) { } } /** + * + * *
        * Immutable. The set of action identifiers to include.
        * 
* - * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ - public Builder setIncludedTargets( - int index, com.google.cloud.dataform.v1beta1.Target value) { + public Builder setIncludedTargets(int index, com.google.cloud.dataform.v1beta1.Target value) { if (includedTargetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1249,11 +1455,15 @@ public Builder setIncludedTargets( return this; } /** + * + * *
        * Immutable. The set of action identifiers to include.
        * 
* - * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public Builder setIncludedTargets( int index, com.google.cloud.dataform.v1beta1.Target.Builder builderForValue) { @@ -1267,11 +1477,15 @@ public Builder setIncludedTargets( return this; } /** + * + * *
        * Immutable. The set of action identifiers to include.
        * 
* - * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public Builder addIncludedTargets(com.google.cloud.dataform.v1beta1.Target value) { if (includedTargetsBuilder_ == null) { @@ -1287,14 +1501,17 @@ public Builder addIncludedTargets(com.google.cloud.dataform.v1beta1.Target value return this; } /** + * + * *
        * Immutable. The set of action identifiers to include.
        * 
* - * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ - public Builder addIncludedTargets( - int index, com.google.cloud.dataform.v1beta1.Target value) { + public Builder addIncludedTargets(int index, com.google.cloud.dataform.v1beta1.Target value) { if (includedTargetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1308,11 +1525,15 @@ public Builder addIncludedTargets( return this; } /** + * + * *
        * Immutable. The set of action identifiers to include.
        * 
* - * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public Builder addIncludedTargets( com.google.cloud.dataform.v1beta1.Target.Builder builderForValue) { @@ -1326,11 +1547,15 @@ public Builder addIncludedTargets( return this; } /** + * + * *
        * Immutable. The set of action identifiers to include.
        * 
* - * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public Builder addIncludedTargets( int index, com.google.cloud.dataform.v1beta1.Target.Builder builderForValue) { @@ -1344,18 +1569,21 @@ public Builder addIncludedTargets( return this; } /** + * + * *
        * Immutable. The set of action identifiers to include.
        * 
* - * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public Builder addAllIncludedTargets( java.lang.Iterable values) { if (includedTargetsBuilder_ == null) { ensureIncludedTargetsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, includedTargets_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, includedTargets_); onChanged(); } else { includedTargetsBuilder_.addAllMessages(values); @@ -1363,11 +1591,15 @@ public Builder addAllIncludedTargets( return this; } /** + * + * *
        * Immutable. The set of action identifiers to include.
        * 
* - * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public Builder clearIncludedTargets() { if (includedTargetsBuilder_ == null) { @@ -1380,11 +1612,15 @@ public Builder clearIncludedTargets() { return this; } /** + * + * *
        * Immutable. The set of action identifiers to include.
        * 
* - * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public Builder removeIncludedTargets(int index) { if (includedTargetsBuilder_ == null) { @@ -1397,39 +1633,51 @@ public Builder removeIncludedTargets(int index) { return this; } /** + * + * *
        * Immutable. The set of action identifiers to include.
        * 
* - * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ - public com.google.cloud.dataform.v1beta1.Target.Builder getIncludedTargetsBuilder( - int index) { + public com.google.cloud.dataform.v1beta1.Target.Builder getIncludedTargetsBuilder(int index) { return getIncludedTargetsFieldBuilder().getBuilder(index); } /** + * + * *
        * Immutable. The set of action identifiers to include.
        * 
* - * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public com.google.cloud.dataform.v1beta1.TargetOrBuilder getIncludedTargetsOrBuilder( int index) { if (includedTargetsBuilder_ == null) { - return includedTargets_.get(index); } else { + return includedTargets_.get(index); + } else { return includedTargetsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * Immutable. The set of action identifiers to include.
        * 
* - * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ - public java.util.List - getIncludedTargetsOrBuilderList() { + public java.util.List + getIncludedTargetsOrBuilderList() { if (includedTargetsBuilder_ != null) { return includedTargetsBuilder_.getMessageOrBuilderList(); } else { @@ -1437,45 +1685,62 @@ public com.google.cloud.dataform.v1beta1.TargetOrBuilder getIncludedTargetsOrBui } } /** + * + * *
        * Immutable. The set of action identifiers to include.
        * 
* - * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public com.google.cloud.dataform.v1beta1.Target.Builder addIncludedTargetsBuilder() { - return getIncludedTargetsFieldBuilder().addBuilder( - com.google.cloud.dataform.v1beta1.Target.getDefaultInstance()); + return getIncludedTargetsFieldBuilder() + .addBuilder(com.google.cloud.dataform.v1beta1.Target.getDefaultInstance()); } /** + * + * *
        * Immutable. The set of action identifiers to include.
        * 
* - * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ - public com.google.cloud.dataform.v1beta1.Target.Builder addIncludedTargetsBuilder( - int index) { - return getIncludedTargetsFieldBuilder().addBuilder( - index, com.google.cloud.dataform.v1beta1.Target.getDefaultInstance()); + public com.google.cloud.dataform.v1beta1.Target.Builder addIncludedTargetsBuilder(int index) { + return getIncludedTargetsFieldBuilder() + .addBuilder(index, com.google.cloud.dataform.v1beta1.Target.getDefaultInstance()); } /** + * + * *
        * Immutable. The set of action identifiers to include.
        * 
* - * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * + * repeated .google.cloud.dataform.v1beta1.Target included_targets = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * */ - public java.util.List - getIncludedTargetsBuilderList() { + public java.util.List + getIncludedTargetsBuilderList() { return getIncludedTargetsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder> + com.google.cloud.dataform.v1beta1.Target, + com.google.cloud.dataform.v1beta1.Target.Builder, + com.google.cloud.dataform.v1beta1.TargetOrBuilder> getIncludedTargetsFieldBuilder() { if (includedTargetsBuilder_ == null) { - includedTargetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder>( + includedTargetsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Target, + com.google.cloud.dataform.v1beta1.Target.Builder, + com.google.cloud.dataform.v1beta1.TargetOrBuilder>( includedTargets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1485,42 +1750,52 @@ public com.google.cloud.dataform.v1beta1.Target.Builder addIncludedTargetsBuilde return includedTargetsBuilder_; } - private com.google.protobuf.LazyStringList includedTags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList includedTags_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureIncludedTagsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { includedTags_ = new com.google.protobuf.LazyStringArrayList(includedTags_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
        * Immutable. The set of tags to include.
        * 
* * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return A list containing the includedTags. */ - public com.google.protobuf.ProtocolStringList - getIncludedTagsList() { + public com.google.protobuf.ProtocolStringList getIncludedTagsList() { return includedTags_.getUnmodifiableView(); } /** + * + * *
        * Immutable. The set of tags to include.
        * 
* * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The count of includedTags. */ public int getIncludedTagsCount() { return includedTags_.size(); } /** + * + * *
        * Immutable. The set of tags to include.
        * 
* * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param index The index of the element to return. * @return The includedTags at the given index. */ @@ -1528,80 +1803,90 @@ public java.lang.String getIncludedTags(int index) { return includedTags_.get(index); } /** + * + * *
        * Immutable. The set of tags to include.
        * 
* * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param index The index of the value to return. * @return The bytes of the includedTags at the given index. */ - public com.google.protobuf.ByteString - getIncludedTagsBytes(int index) { + public com.google.protobuf.ByteString getIncludedTagsBytes(int index) { return includedTags_.getByteString(index); } /** + * + * *
        * Immutable. The set of tags to include.
        * 
* * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param index The index to set the value at. * @param value The includedTags to set. * @return This builder for chaining. */ - public Builder setIncludedTags( - int index, java.lang.String value) { + public Builder setIncludedTags(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIncludedTagsIsMutable(); + throw new NullPointerException(); + } + ensureIncludedTagsIsMutable(); includedTags_.set(index, value); onChanged(); return this; } /** + * + * *
        * Immutable. The set of tags to include.
        * 
* * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The includedTags to add. * @return This builder for chaining. */ - public Builder addIncludedTags( - java.lang.String value) { + public Builder addIncludedTags(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureIncludedTagsIsMutable(); + throw new NullPointerException(); + } + ensureIncludedTagsIsMutable(); includedTags_.add(value); onChanged(); return this; } /** + * + * *
        * Immutable. The set of tags to include.
        * 
* * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param values The includedTags to add. * @return This builder for chaining. */ - public Builder addAllIncludedTags( - java.lang.Iterable values) { + public Builder addAllIncludedTags(java.lang.Iterable values) { ensureIncludedTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, includedTags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, includedTags_); onChanged(); return this; } /** + * + * *
        * Immutable. The set of tags to include.
        * 
* * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearIncludedTags() { @@ -1611,34 +1896,40 @@ public Builder clearIncludedTags() { return this; } /** + * + * *
        * Immutable. The set of tags to include.
        * 
* * repeated string included_tags = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The bytes of the includedTags to add. * @return This builder for chaining. */ - public Builder addIncludedTagsBytes( - com.google.protobuf.ByteString value) { + public Builder addIncludedTagsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureIncludedTagsIsMutable(); includedTags_.add(value); onChanged(); return this; } - private boolean transitiveDependenciesIncluded_ ; + private boolean transitiveDependenciesIncluded_; /** + * + * *
        * Immutable. When set to true, transitive dependencies of included actions will be
        * executed.
        * 
* - * bool transitive_dependencies_included = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * bool transitive_dependencies_included = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The transitiveDependenciesIncluded. */ @java.lang.Override @@ -1646,45 +1937,57 @@ public boolean getTransitiveDependenciesIncluded() { return transitiveDependenciesIncluded_; } /** + * + * *
        * Immutable. When set to true, transitive dependencies of included actions will be
        * executed.
        * 
* - * bool transitive_dependencies_included = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * bool transitive_dependencies_included = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The transitiveDependenciesIncluded to set. * @return This builder for chaining. */ public Builder setTransitiveDependenciesIncluded(boolean value) { - + transitiveDependenciesIncluded_ = value; onChanged(); return this; } /** + * + * *
        * Immutable. When set to true, transitive dependencies of included actions will be
        * executed.
        * 
* - * bool transitive_dependencies_included = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * bool transitive_dependencies_included = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearTransitiveDependenciesIncluded() { - + transitiveDependenciesIncluded_ = false; onChanged(); return this; } - private boolean transitiveDependentsIncluded_ ; + private boolean transitiveDependentsIncluded_; /** + * + * *
        * Immutable. When set to true, transitive dependents of included actions will be
        * executed.
        * 
* - * bool transitive_dependents_included = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * bool transitive_dependents_included = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The transitiveDependentsIncluded. */ @java.lang.Override @@ -1692,44 +1995,57 @@ public boolean getTransitiveDependentsIncluded() { return transitiveDependentsIncluded_; } /** + * + * *
        * Immutable. When set to true, transitive dependents of included actions will be
        * executed.
        * 
* - * bool transitive_dependents_included = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * bool transitive_dependents_included = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The transitiveDependentsIncluded to set. * @return This builder for chaining. */ public Builder setTransitiveDependentsIncluded(boolean value) { - + transitiveDependentsIncluded_ = value; onChanged(); return this; } /** + * + * *
        * Immutable. When set to true, transitive dependents of included actions will be
        * executed.
        * 
* - * bool transitive_dependents_included = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * bool transitive_dependents_included = 4 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearTransitiveDependentsIncluded() { - + transitiveDependentsIncluded_ = false; onChanged(); return this; } - private boolean fullyRefreshIncrementalTablesEnabled_ ; + private boolean fullyRefreshIncrementalTablesEnabled_; /** + * + * *
        * Immutable. When set to true, any incremental tables will be fully refreshed.
        * 
* - * bool fully_refresh_incremental_tables_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * bool fully_refresh_incremental_tables_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The fullyRefreshIncrementalTablesEnabled. */ @java.lang.Override @@ -1737,34 +2053,45 @@ public boolean getFullyRefreshIncrementalTablesEnabled() { return fullyRefreshIncrementalTablesEnabled_; } /** + * + * *
        * Immutable. When set to true, any incremental tables will be fully refreshed.
        * 
* - * bool fully_refresh_incremental_tables_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * bool fully_refresh_incremental_tables_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The fullyRefreshIncrementalTablesEnabled to set. * @return This builder for chaining. */ public Builder setFullyRefreshIncrementalTablesEnabled(boolean value) { - + fullyRefreshIncrementalTablesEnabled_ = value; onChanged(); return this; } /** + * + * *
        * Immutable. When set to true, any incremental tables will be fully refreshed.
        * 
* - * bool fully_refresh_incremental_tables_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * bool fully_refresh_incremental_tables_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearFullyRefreshIncrementalTablesEnabled() { - + fullyRefreshIncrementalTablesEnabled_ = false; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1777,30 +2104,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig) - private static final com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig(); + DEFAULT_INSTANCE = + new com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig(); } - public static com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig getDefaultInstance() { + public static com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public InvocationConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new InvocationConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InvocationConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InvocationConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1812,20 +2142,23 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig getDefaultInstanceForType() { + public com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Output only. The workflow invocation's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -1834,29 +2167,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. The workflow invocation's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1867,12 +2200,17 @@ public java.lang.String getName() { public static final int COMPILATION_RESULT_FIELD_NUMBER = 2; private volatile java.lang.Object compilationResult_; /** + * + * *
    * Immutable. The name of the compilation result to compile. Must be in the format
    * `projects/*/locations/*/repositories/*/compilationResults/*`.
    * 
* - * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The compilationResult. */ @java.lang.Override @@ -1881,30 +2219,32 @@ public java.lang.String getCompilationResult() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); compilationResult_ = s; return s; } } /** + * + * *
    * Immutable. The name of the compilation result to compile. Must be in the format
    * `projects/*/locations/*/repositories/*/compilationResults/*`.
    * 
* - * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for compilationResult. */ @java.lang.Override - public com.google.protobuf.ByteString - getCompilationResultBytes() { + public com.google.protobuf.ByteString getCompilationResultBytes() { java.lang.Object ref = compilationResult_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); compilationResult_ = b; return b; } else { @@ -1915,11 +2255,16 @@ public java.lang.String getCompilationResult() { public static final int INVOCATION_CONFIG_FIELD_NUMBER = 3; private com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig invocationConfig_; /** + * + * *
    * Immutable. If left unset, a default InvocationConfig will be used.
    * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return Whether the invocationConfig field is set. */ @java.lang.Override @@ -1927,64 +2272,96 @@ public boolean hasInvocationConfig() { return invocationConfig_ != null; } /** + * + * *
    * Immutable. If left unset, a default InvocationConfig will be used.
    * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The invocationConfig. */ @java.lang.Override - public com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig getInvocationConfig() { - return invocationConfig_ == null ? com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig.getDefaultInstance() : invocationConfig_; + public com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig + getInvocationConfig() { + return invocationConfig_ == null + ? com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig.getDefaultInstance() + : invocationConfig_; } /** + * + * *
    * Immutable. If left unset, a default InvocationConfig will be used.
    * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * */ @java.lang.Override - public com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfigOrBuilder getInvocationConfigOrBuilder() { + public com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfigOrBuilder + getInvocationConfigOrBuilder() { return getInvocationConfig(); } public static final int STATE_FIELD_NUMBER = 4; private int state_; /** + * + * *
    * Output only. This workflow invocation's current state.
    * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Output only. This workflow invocation's current state.
    * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.dataform.v1beta1.WorkflowInvocation.State getState() { + @java.lang.Override + public com.google.cloud.dataform.v1beta1.WorkflowInvocation.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.dataform.v1beta1.WorkflowInvocation.State result = com.google.cloud.dataform.v1beta1.WorkflowInvocation.State.valueOf(state_); - return result == null ? com.google.cloud.dataform.v1beta1.WorkflowInvocation.State.UNRECOGNIZED : result; + com.google.cloud.dataform.v1beta1.WorkflowInvocation.State result = + com.google.cloud.dataform.v1beta1.WorkflowInvocation.State.valueOf(state_); + return result == null + ? com.google.cloud.dataform.v1beta1.WorkflowInvocation.State.UNRECOGNIZED + : result; } public static final int INVOCATION_TIMING_FIELD_NUMBER = 5; private com.google.type.Interval invocationTiming_; /** + * + * *
    * Output only. This workflow invocation's timing details.
    * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the invocationTiming field is set. */ @java.lang.Override @@ -1992,23 +2369,32 @@ public boolean hasInvocationTiming() { return invocationTiming_ != null; } /** + * + * *
    * Output only. This workflow invocation's timing details.
    * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The invocationTiming. */ @java.lang.Override public com.google.type.Interval getInvocationTiming() { - return invocationTiming_ == null ? com.google.type.Interval.getDefaultInstance() : invocationTiming_; + return invocationTiming_ == null + ? com.google.type.Interval.getDefaultInstance() + : invocationTiming_; } /** + * + * *
    * Output only. This workflow invocation's timing details.
    * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.type.IntervalOrBuilder getInvocationTimingOrBuilder() { @@ -2016,6 +2402,7 @@ public com.google.type.IntervalOrBuilder getInvocationTimingOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2027,8 +2414,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -2038,7 +2424,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (invocationConfig_ != null) { output.writeMessage(3, getInvocationConfig()); } - if (state_ != com.google.cloud.dataform.v1beta1.WorkflowInvocation.State.STATE_UNSPECIFIED.getNumber()) { + if (state_ + != com.google.cloud.dataform.v1beta1.WorkflowInvocation.State.STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(4, state_); } if (invocationTiming_ != null) { @@ -2060,16 +2448,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, compilationResult_); } if (invocationConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getInvocationConfig()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getInvocationConfig()); } - if (state_ != com.google.cloud.dataform.v1beta1.WorkflowInvocation.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, state_); + if (state_ + != com.google.cloud.dataform.v1beta1.WorkflowInvocation.State.STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, state_); } if (invocationTiming_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getInvocationTiming()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getInvocationTiming()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2079,27 +2466,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.WorkflowInvocation)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.WorkflowInvocation other = (com.google.cloud.dataform.v1beta1.WorkflowInvocation) obj; + com.google.cloud.dataform.v1beta1.WorkflowInvocation other = + (com.google.cloud.dataform.v1beta1.WorkflowInvocation) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getCompilationResult() - .equals(other.getCompilationResult())) return false; + if (!getName().equals(other.getName())) return false; + if (!getCompilationResult().equals(other.getCompilationResult())) return false; if (hasInvocationConfig() != other.hasInvocationConfig()) return false; if (hasInvocationConfig()) { - if (!getInvocationConfig() - .equals(other.getInvocationConfig())) return false; + if (!getInvocationConfig().equals(other.getInvocationConfig())) return false; } if (state_ != other.state_) return false; if (hasInvocationTiming() != other.hasInvocationTiming()) return false; if (hasInvocationTiming()) { - if (!getInvocationTiming() - .equals(other.getInvocationTiming())) return false; + if (!getInvocationTiming().equals(other.getInvocationTiming())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -2132,117 +2516,126 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.WorkflowInvocation parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocation parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocation parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.WorkflowInvocation parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.WorkflowInvocation parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocation parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.WorkflowInvocation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.WorkflowInvocation parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocation parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocation parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.WorkflowInvocation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents a single invocation of a compilation result.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.WorkflowInvocation} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.WorkflowInvocation) com.google.cloud.dataform.v1beta1.WorkflowInvocationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.WorkflowInvocation.class, com.google.cloud.dataform.v1beta1.WorkflowInvocation.Builder.class); + com.google.cloud.dataform.v1beta1.WorkflowInvocation.class, + com.google.cloud.dataform.v1beta1.WorkflowInvocation.Builder.class); } // Construct using com.google.cloud.dataform.v1beta1.WorkflowInvocation.newBuilder() @@ -2250,16 +2643,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -2285,9 +2677,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_WorkflowInvocation_descriptor; } @java.lang.Override @@ -2306,7 +2698,8 @@ public com.google.cloud.dataform.v1beta1.WorkflowInvocation build() { @java.lang.Override public com.google.cloud.dataform.v1beta1.WorkflowInvocation buildPartial() { - com.google.cloud.dataform.v1beta1.WorkflowInvocation result = new com.google.cloud.dataform.v1beta1.WorkflowInvocation(this); + com.google.cloud.dataform.v1beta1.WorkflowInvocation result = + new com.google.cloud.dataform.v1beta1.WorkflowInvocation(this); result.name_ = name_; result.compilationResult_ = compilationResult_; if (invocationConfigBuilder_ == null) { @@ -2328,38 +2721,39 @@ public com.google.cloud.dataform.v1beta1.WorkflowInvocation buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.WorkflowInvocation) { - return mergeFrom((com.google.cloud.dataform.v1beta1.WorkflowInvocation)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.WorkflowInvocation) other); } else { super.mergeFrom(other); return this; @@ -2367,7 +2761,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1beta1.WorkflowInvocation other) { - if (other == com.google.cloud.dataform.v1beta1.WorkflowInvocation.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1beta1.WorkflowInvocation.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -2404,7 +2799,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.WorkflowInvocation) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.WorkflowInvocation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2416,18 +2812,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Output only. The workflow invocation's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -2436,20 +2834,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The workflow invocation's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -2457,54 +2856,61 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The workflow invocation's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The workflow invocation's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. The workflow invocation's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2512,19 +2918,23 @@ public Builder setNameBytes( private java.lang.Object compilationResult_ = ""; /** + * + * *
      * Immutable. The name of the compilation result to compile. Must be in the format
      * `projects/*/locations/*/repositories/*/compilationResults/*`.
      * 
* - * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The compilationResult. */ public java.lang.String getCompilationResult() { java.lang.Object ref = compilationResult_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); compilationResult_ = s; return s; @@ -2533,21 +2943,24 @@ public java.lang.String getCompilationResult() { } } /** + * + * *
      * Immutable. The name of the compilation result to compile. Must be in the format
      * `projects/*/locations/*/repositories/*/compilationResults/*`.
      * 
* - * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for compilationResult. */ - public com.google.protobuf.ByteString - getCompilationResultBytes() { + public com.google.protobuf.ByteString getCompilationResultBytes() { java.lang.Object ref = compilationResult_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); compilationResult_ = b; return b; } else { @@ -2555,57 +2968,70 @@ public java.lang.String getCompilationResult() { } } /** + * + * *
      * Immutable. The name of the compilation result to compile. Must be in the format
      * `projects/*/locations/*/repositories/*/compilationResults/*`.
      * 
* - * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @param value The compilationResult to set. * @return This builder for chaining. */ - public Builder setCompilationResult( - java.lang.String value) { + public Builder setCompilationResult(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + compilationResult_ = value; onChanged(); return this; } /** + * + * *
      * Immutable. The name of the compilation result to compile. Must be in the format
      * `projects/*/locations/*/repositories/*/compilationResults/*`.
      * 
* - * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearCompilationResult() { - + compilationResult_ = getDefaultInstance().getCompilationResult(); onChanged(); return this; } /** + * + * *
      * Immutable. The name of the compilation result to compile. Must be in the format
      * `projects/*/locations/*/repositories/*/compilationResults/*`.
      * 
* - * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for compilationResult to set. * @return This builder for chaining. */ - public Builder setCompilationResultBytes( - com.google.protobuf.ByteString value) { + public Builder setCompilationResultBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + compilationResult_ = value; onChanged(); return this; @@ -2613,41 +3039,63 @@ public Builder setCompilationResultBytes( private com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig invocationConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig, com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig.Builder, com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfigOrBuilder> invocationConfigBuilder_; + com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig, + com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig.Builder, + com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfigOrBuilder> + invocationConfigBuilder_; /** + * + * *
      * Immutable. If left unset, a default InvocationConfig will be used.
      * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return Whether the invocationConfig field is set. */ public boolean hasInvocationConfig() { return invocationConfigBuilder_ != null || invocationConfig_ != null; } /** + * + * *
      * Immutable. If left unset, a default InvocationConfig will be used.
      * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The invocationConfig. */ - public com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig getInvocationConfig() { + public com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig + getInvocationConfig() { if (invocationConfigBuilder_ == null) { - return invocationConfig_ == null ? com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig.getDefaultInstance() : invocationConfig_; + return invocationConfig_ == null + ? com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig + .getDefaultInstance() + : invocationConfig_; } else { return invocationConfigBuilder_.getMessage(); } } /** + * + * *
      * Immutable. If left unset, a default InvocationConfig will be used.
      * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * */ - public Builder setInvocationConfig(com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig value) { + public Builder setInvocationConfig( + com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig value) { if (invocationConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2661,14 +3109,19 @@ public Builder setInvocationConfig(com.google.cloud.dataform.v1beta1.WorkflowInv return this; } /** + * + * *
      * Immutable. If left unset, a default InvocationConfig will be used.
      * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public Builder setInvocationConfig( - com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig.Builder builderForValue) { + com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig.Builder + builderForValue) { if (invocationConfigBuilder_ == null) { invocationConfig_ = builderForValue.build(); onChanged(); @@ -2679,17 +3132,25 @@ public Builder setInvocationConfig( return this; } /** + * + * *
      * Immutable. If left unset, a default InvocationConfig will be used.
      * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * */ - public Builder mergeInvocationConfig(com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig value) { + public Builder mergeInvocationConfig( + com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig value) { if (invocationConfigBuilder_ == null) { if (invocationConfig_ != null) { invocationConfig_ = - com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig.newBuilder(invocationConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig.newBuilder( + invocationConfig_) + .mergeFrom(value) + .buildPartial(); } else { invocationConfig_ = value; } @@ -2701,11 +3162,15 @@ public Builder mergeInvocationConfig(com.google.cloud.dataform.v1beta1.WorkflowI return this; } /** + * + * *
      * Immutable. If left unset, a default InvocationConfig will be used.
      * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * */ public Builder clearInvocationConfig() { if (invocationConfigBuilder_ == null) { @@ -2719,48 +3184,67 @@ public Builder clearInvocationConfig() { return this; } /** + * + * *
      * Immutable. If left unset, a default InvocationConfig will be used.
      * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * */ - public com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig.Builder getInvocationConfigBuilder() { - + public com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig.Builder + getInvocationConfigBuilder() { + onChanged(); return getInvocationConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Immutable. If left unset, a default InvocationConfig will be used.
      * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * */ - public com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfigOrBuilder getInvocationConfigOrBuilder() { + public com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfigOrBuilder + getInvocationConfigOrBuilder() { if (invocationConfigBuilder_ != null) { return invocationConfigBuilder_.getMessageOrBuilder(); } else { - return invocationConfig_ == null ? - com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig.getDefaultInstance() : invocationConfig_; + return invocationConfig_ == null + ? com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig + .getDefaultInstance() + : invocationConfig_; } } /** + * + * *
      * Immutable. If left unset, a default InvocationConfig will be used.
      * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig, com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig.Builder, com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfigOrBuilder> + com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig, + com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig.Builder, + com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfigOrBuilder> getInvocationConfigFieldBuilder() { if (invocationConfigBuilder_ == null) { - invocationConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig, com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig.Builder, com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfigOrBuilder>( - getInvocationConfig(), - getParentForChildren(), - isClean()); + invocationConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig, + com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig.Builder, + com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfigOrBuilder>( + getInvocationConfig(), getParentForChildren(), isClean()); invocationConfig_ = null; } return invocationConfigBuilder_; @@ -2768,51 +3252,75 @@ public com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfigOrBu private int state_ = 0; /** + * + * *
      * Output only. This workflow invocation's current state.
      * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. This workflow invocation's current state.
      * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
      * Output only. This workflow invocation's current state.
      * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.dataform.v1beta1.WorkflowInvocation.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.dataform.v1beta1.WorkflowInvocation.State result = com.google.cloud.dataform.v1beta1.WorkflowInvocation.State.valueOf(state_); - return result == null ? com.google.cloud.dataform.v1beta1.WorkflowInvocation.State.UNRECOGNIZED : result; + com.google.cloud.dataform.v1beta1.WorkflowInvocation.State result = + com.google.cloud.dataform.v1beta1.WorkflowInvocation.State.valueOf(state_); + return result == null + ? com.google.cloud.dataform.v1beta1.WorkflowInvocation.State.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. This workflow invocation's current state.
      * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -2820,21 +3328,26 @@ public Builder setState(com.google.cloud.dataform.v1beta1.WorkflowInvocation.Sta if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. This workflow invocation's current state.
      * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -2842,39 +3355,58 @@ public Builder clearState() { private com.google.type.Interval invocationTiming_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Interval, com.google.type.Interval.Builder, com.google.type.IntervalOrBuilder> invocationTimingBuilder_; + com.google.type.Interval, + com.google.type.Interval.Builder, + com.google.type.IntervalOrBuilder> + invocationTimingBuilder_; /** + * + * *
      * Output only. This workflow invocation's timing details.
      * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the invocationTiming field is set. */ public boolean hasInvocationTiming() { return invocationTimingBuilder_ != null || invocationTiming_ != null; } /** + * + * *
      * Output only. This workflow invocation's timing details.
      * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The invocationTiming. */ public com.google.type.Interval getInvocationTiming() { if (invocationTimingBuilder_ == null) { - return invocationTiming_ == null ? com.google.type.Interval.getDefaultInstance() : invocationTiming_; + return invocationTiming_ == null + ? com.google.type.Interval.getDefaultInstance() + : invocationTiming_; } else { return invocationTimingBuilder_.getMessage(); } } /** + * + * *
      * Output only. This workflow invocation's timing details.
      * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setInvocationTiming(com.google.type.Interval value) { if (invocationTimingBuilder_ == null) { @@ -2890,14 +3422,17 @@ public Builder setInvocationTiming(com.google.type.Interval value) { return this; } /** + * + * *
      * Output only. This workflow invocation's timing details.
      * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setInvocationTiming( - com.google.type.Interval.Builder builderForValue) { + public Builder setInvocationTiming(com.google.type.Interval.Builder builderForValue) { if (invocationTimingBuilder_ == null) { invocationTiming_ = builderForValue.build(); onChanged(); @@ -2908,17 +3443,23 @@ public Builder setInvocationTiming( return this; } /** + * + * *
      * Output only. This workflow invocation's timing details.
      * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeInvocationTiming(com.google.type.Interval value) { if (invocationTimingBuilder_ == null) { if (invocationTiming_ != null) { invocationTiming_ = - com.google.type.Interval.newBuilder(invocationTiming_).mergeFrom(value).buildPartial(); + com.google.type.Interval.newBuilder(invocationTiming_) + .mergeFrom(value) + .buildPartial(); } else { invocationTiming_ = value; } @@ -2930,11 +3471,15 @@ public Builder mergeInvocationTiming(com.google.type.Interval value) { return this; } /** + * + * *
      * Output only. This workflow invocation's timing details.
      * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearInvocationTiming() { if (invocationTimingBuilder_ == null) { @@ -2948,55 +3493,71 @@ public Builder clearInvocationTiming() { return this; } /** + * + * *
      * Output only. This workflow invocation's timing details.
      * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.type.Interval.Builder getInvocationTimingBuilder() { - + onChanged(); return getInvocationTimingFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. This workflow invocation's timing details.
      * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.type.IntervalOrBuilder getInvocationTimingOrBuilder() { if (invocationTimingBuilder_ != null) { return invocationTimingBuilder_.getMessageOrBuilder(); } else { - return invocationTiming_ == null ? - com.google.type.Interval.getDefaultInstance() : invocationTiming_; + return invocationTiming_ == null + ? com.google.type.Interval.getDefaultInstance() + : invocationTiming_; } } /** + * + * *
      * Output only. This workflow invocation's timing details.
      * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Interval, com.google.type.Interval.Builder, com.google.type.IntervalOrBuilder> + com.google.type.Interval, + com.google.type.Interval.Builder, + com.google.type.IntervalOrBuilder> getInvocationTimingFieldBuilder() { if (invocationTimingBuilder_ == null) { - invocationTimingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Interval, com.google.type.Interval.Builder, com.google.type.IntervalOrBuilder>( - getInvocationTiming(), - getParentForChildren(), - isClean()); + invocationTimingBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Interval, + com.google.type.Interval.Builder, + com.google.type.IntervalOrBuilder>( + getInvocationTiming(), getParentForChildren(), isClean()); invocationTiming_ = null; } return invocationTimingBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3006,12 +3567,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.WorkflowInvocation) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.WorkflowInvocation) private static final com.google.cloud.dataform.v1beta1.WorkflowInvocation DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.WorkflowInvocation(); } @@ -3020,16 +3581,16 @@ public static com.google.cloud.dataform.v1beta1.WorkflowInvocation getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkflowInvocation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WorkflowInvocation(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WorkflowInvocation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WorkflowInvocation(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3044,6 +3605,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1beta1.WorkflowInvocation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkflowInvocationAction.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkflowInvocationAction.java similarity index 63% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkflowInvocationAction.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkflowInvocationAction.java index 21eefa8..b967c01 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkflowInvocationAction.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkflowInvocationAction.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * Represents a single action in a workflow invocation.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.WorkflowInvocationAction} */ -public final class WorkflowInvocationAction extends - com.google.protobuf.GeneratedMessageV3 implements +public final class WorkflowInvocationAction extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.WorkflowInvocationAction) WorkflowInvocationActionOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use WorkflowInvocationAction.newBuilder() to construct. private WorkflowInvocationAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private WorkflowInvocationAction() { state_ = 0; failureReason_ = ""; @@ -26,16 +44,15 @@ private WorkflowInvocationAction() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new WorkflowInvocationAction(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private WorkflowInvocationAction( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,77 +71,93 @@ private WorkflowInvocationAction( case 0: done = true; break; - case 10: { - com.google.cloud.dataform.v1beta1.Target.Builder subBuilder = null; - if (target_ != null) { - subBuilder = target_.toBuilder(); - } - target_ = input.readMessage(com.google.cloud.dataform.v1beta1.Target.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(target_); - target_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.dataform.v1beta1.Target.Builder subBuilder = null; + if (target_ != null) { + subBuilder = target_.toBuilder(); + } + target_ = + input.readMessage( + com.google.cloud.dataform.v1beta1.Target.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(target_); + target_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.cloud.dataform.v1beta1.Target.Builder subBuilder = null; - if (canonicalTarget_ != null) { - subBuilder = canonicalTarget_.toBuilder(); - } - canonicalTarget_ = input.readMessage(com.google.cloud.dataform.v1beta1.Target.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(canonicalTarget_); - canonicalTarget_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.cloud.dataform.v1beta1.Target.Builder subBuilder = null; + if (canonicalTarget_ != null) { + subBuilder = canonicalTarget_.toBuilder(); + } + canonicalTarget_ = + input.readMessage( + com.google.cloud.dataform.v1beta1.Target.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(canonicalTarget_); + canonicalTarget_ = subBuilder.buildPartial(); + } - break; - } - case 32: { - int rawValue = input.readEnum(); - - state_ = rawValue; - break; - } - case 42: { - com.google.type.Interval.Builder subBuilder = null; - if (invocationTiming_ != null) { - subBuilder = invocationTiming_.toBuilder(); - } - invocationTiming_ = input.readMessage(com.google.type.Interval.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(invocationTiming_); - invocationTiming_ = subBuilder.buildPartial(); + break; } + case 32: + { + int rawValue = input.readEnum(); - break; - } - case 50: { - com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction.Builder subBuilder = null; - if (bigqueryAction_ != null) { - subBuilder = bigqueryAction_.toBuilder(); + state_ = rawValue; + break; } - bigqueryAction_ = input.readMessage(com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(bigqueryAction_); - bigqueryAction_ = subBuilder.buildPartial(); + case 42: + { + com.google.type.Interval.Builder subBuilder = null; + if (invocationTiming_ != null) { + subBuilder = invocationTiming_.toBuilder(); + } + invocationTiming_ = + input.readMessage(com.google.type.Interval.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(invocationTiming_); + invocationTiming_ = subBuilder.buildPartial(); + } + + break; } + case 50: + { + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction.Builder + subBuilder = null; + if (bigqueryAction_ != null) { + subBuilder = bigqueryAction_.toBuilder(); + } + bigqueryAction_ = + input.readMessage( + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(bigqueryAction_); + bigqueryAction_ = subBuilder.buildPartial(); + } - break; - } - case 58: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); - failureReason_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + failureReason_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -132,36 +165,41 @@ private WorkflowInvocationAction( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.class, com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.Builder.class); + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.class, + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.Builder.class); } /** + * + * *
    * Represents the current state of an workflow invocation action.
    * 
* * Protobuf enum {@code google.cloud.dataform.v1beta1.WorkflowInvocationAction.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The action has not yet been considered for invocation.
      * 
@@ -170,6 +208,8 @@ public enum State */ PENDING(0), /** + * + * *
      * The action is currently running.
      * 
@@ -178,6 +218,8 @@ public enum State */ RUNNING(1), /** + * + * *
      * Execution of the action was skipped because upstream dependencies did not
      * all complete successfully. A terminal state.
@@ -187,6 +229,8 @@ public enum State
      */
     SKIPPED(2),
     /**
+     *
+     *
      * 
      * Execution of the action was disabled as per the configuration of the
      * corresponding compilation result action. A terminal state.
@@ -196,6 +240,8 @@ public enum State
      */
     DISABLED(3),
     /**
+     *
+     *
      * 
      * The action succeeded. A terminal state.
      * 
@@ -204,6 +250,8 @@ public enum State */ SUCCEEDED(4), /** + * + * *
      * The action was cancelled. A terminal state.
      * 
@@ -212,6 +260,8 @@ public enum State */ CANCELLED(5), /** + * + * *
      * The action failed. A terminal state.
      * 
@@ -223,6 +273,8 @@ public enum State ; /** + * + * *
      * The action has not yet been considered for invocation.
      * 
@@ -231,6 +283,8 @@ public enum State */ public static final int PENDING_VALUE = 0; /** + * + * *
      * The action is currently running.
      * 
@@ -239,6 +293,8 @@ public enum State */ public static final int RUNNING_VALUE = 1; /** + * + * *
      * Execution of the action was skipped because upstream dependencies did not
      * all complete successfully. A terminal state.
@@ -248,6 +304,8 @@ public enum State
      */
     public static final int SKIPPED_VALUE = 2;
     /**
+     *
+     *
      * 
      * Execution of the action was disabled as per the configuration of the
      * corresponding compilation result action. A terminal state.
@@ -257,6 +315,8 @@ public enum State
      */
     public static final int DISABLED_VALUE = 3;
     /**
+     *
+     *
      * 
      * The action succeeded. A terminal state.
      * 
@@ -265,6 +325,8 @@ public enum State */ public static final int SUCCEEDED_VALUE = 4; /** + * + * *
      * The action was cancelled. A terminal state.
      * 
@@ -273,6 +335,8 @@ public enum State */ public static final int CANCELLED_VALUE = 5; /** + * + * *
      * The action failed. A terminal state.
      * 
@@ -281,7 +345,6 @@ public enum State */ public static final int FAILED_VALUE = 6; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -306,53 +369,59 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: return PENDING; - case 1: return RUNNING; - case 2: return SKIPPED; - case 3: return DISABLED; - case 4: return SUCCEEDED; - case 5: return CANCELLED; - case 6: return FAILED; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + case 0: + return PENDING; + case 1: + return RUNNING; + case 2: + return SKIPPED; + case 3: + return DISABLED; + case 4: + return SUCCEEDED; + case 5: + return CANCELLED; + case 6: + return FAILED; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - State> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.getDescriptor() + .getEnumTypes() + .get(0); } private static final State[] VALUES = values(); - public static State valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -369,62 +438,70 @@ private State(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.dataform.v1beta1.WorkflowInvocationAction.State) } - public interface BigQueryActionOrBuilder extends + public interface BigQueryActionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Output only. The generated BigQuery SQL script that will be executed.
      * 
* * string sql_script = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The sqlScript. */ java.lang.String getSqlScript(); /** + * + * *
      * Output only. The generated BigQuery SQL script that will be executed.
      * 
* * string sql_script = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for sqlScript. */ - com.google.protobuf.ByteString - getSqlScriptBytes(); + com.google.protobuf.ByteString getSqlScriptBytes(); } /** + * + * *
    * Represents a workflow action that will run against BigQuery.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction} */ - public static final class BigQueryAction extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class BigQueryAction extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction) BigQueryActionOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BigQueryAction.newBuilder() to construct. private BigQueryAction(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private BigQueryAction() { sqlScript_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BigQueryAction(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private BigQueryAction( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -443,19 +520,20 @@ private BigQueryAction( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - sqlScript_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + sqlScript_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -463,34 +541,40 @@ private BigQueryAction( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_BigQueryAction_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_BigQueryAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_BigQueryAction_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_BigQueryAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction.class, com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction.Builder.class); + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction.class, + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction.Builder + .class); } public static final int SQL_SCRIPT_FIELD_NUMBER = 1; private volatile java.lang.Object sqlScript_; /** + * + * *
      * Output only. The generated BigQuery SQL script that will be executed.
      * 
* * string sql_script = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The sqlScript. */ @java.lang.Override @@ -499,29 +583,29 @@ public java.lang.String getSqlScript() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sqlScript_ = s; return s; } } /** + * + * *
      * Output only. The generated BigQuery SQL script that will be executed.
      * 
* * string sql_script = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for sqlScript. */ @java.lang.Override - public com.google.protobuf.ByteString - getSqlScriptBytes() { + public com.google.protobuf.ByteString getSqlScriptBytes() { java.lang.Object ref = sqlScript_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sqlScript_ = b; return b; } else { @@ -530,6 +614,7 @@ public java.lang.String getSqlScript() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -541,8 +626,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sqlScript_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sqlScript_); } @@ -566,15 +650,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction)) { + if (!(obj + instanceof com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction other = (com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction) obj; + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction other = + (com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction) obj; - if (!getSqlScript() - .equals(other.getSqlScript())) return false; + if (!getSqlScript().equals(other.getSqlScript())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -593,88 +678,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -684,44 +782,50 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Represents a workflow action that will run against BigQuery.
      * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction) com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryActionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_BigQueryAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_BigQueryAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_BigQueryAction_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_BigQueryAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction.class, com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction.Builder.class); + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction.class, + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction.Builder + .class); } - // Construct using com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction.newBuilder() + // Construct using + // com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -731,19 +835,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_BigQueryAction_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_BigQueryAction_descriptor; } @java.lang.Override - public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction getDefaultInstanceForType() { - return com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction.getDefaultInstance(); + public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction + getDefaultInstanceForType() { + return com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction build() { - com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction result = buildPartial(); + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -751,8 +858,10 @@ public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction } @java.lang.Override - public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction buildPartial() { - com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction result = new com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction(this); + public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction + buildPartial() { + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction result = + new com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction(this); result.sqlScript_ = sqlScript_; onBuilt(); return result; @@ -762,46 +871,54 @@ public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction) { - return mergeFrom((com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction)other); + if (other + instanceof com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction) { + return mergeFrom( + (com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction other) { - if (other == com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction other) { + if (other + == com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction + .getDefaultInstance()) return this; if (!other.getSqlScript().isEmpty()) { sqlScript_ = other.sqlScript_; onChanged(); @@ -821,11 +938,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction parsedMessage = null; + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -837,18 +957,20 @@ public Builder mergeFrom( private java.lang.Object sqlScript_ = ""; /** + * + * *
        * Output only. The generated BigQuery SQL script that will be executed.
        * 
* * string sql_script = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The sqlScript. */ public java.lang.String getSqlScript() { java.lang.Object ref = sqlScript_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sqlScript_ = s; return s; @@ -857,20 +979,21 @@ public java.lang.String getSqlScript() { } } /** + * + * *
        * Output only. The generated BigQuery SQL script that will be executed.
        * 
* * string sql_script = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for sqlScript. */ - public com.google.protobuf.ByteString - getSqlScriptBytes() { + public com.google.protobuf.ByteString getSqlScriptBytes() { java.lang.Object ref = sqlScript_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); sqlScript_ = b; return b; } else { @@ -878,58 +1001,66 @@ public java.lang.String getSqlScript() { } } /** + * + * *
        * Output only. The generated BigQuery SQL script that will be executed.
        * 
* * string sql_script = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The sqlScript to set. * @return This builder for chaining. */ - public Builder setSqlScript( - java.lang.String value) { + public Builder setSqlScript(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sqlScript_ = value; onChanged(); return this; } /** + * + * *
        * Output only. The generated BigQuery SQL script that will be executed.
        * 
* * string sql_script = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearSqlScript() { - + sqlScript_ = getDefaultInstance().getSqlScript(); onChanged(); return this; } /** + * + * *
        * Output only. The generated BigQuery SQL script that will be executed.
        * 
* * string sql_script = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for sqlScript to set. * @return This builder for chaining. */ - public Builder setSqlScriptBytes( - com.google.protobuf.ByteString value) { + public Builder setSqlScriptBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sqlScript_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -942,30 +1073,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction) - private static final com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction DEFAULT_INSTANCE; + private static final com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction(); + DEFAULT_INSTANCE = + new com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction(); } - public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction getDefaultInstance() { + public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BigQueryAction parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new BigQueryAction(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BigQueryAction parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BigQueryAction(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -977,20 +1111,25 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction getDefaultInstanceForType() { + public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int TARGET_FIELD_NUMBER = 1; private com.google.cloud.dataform.v1beta1.Target target_; /** + * + * *
    * Output only. This action's identifier. Unique within the workflow invocation.
    * 
* - * .google.cloud.dataform.v1beta1.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the target field is set. */ @java.lang.Override @@ -998,23 +1137,34 @@ public boolean hasTarget() { return target_ != null; } /** + * + * *
    * Output only. This action's identifier. Unique within the workflow invocation.
    * 
* - * .google.cloud.dataform.v1beta1.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The target. */ @java.lang.Override public com.google.cloud.dataform.v1beta1.Target getTarget() { - return target_ == null ? com.google.cloud.dataform.v1beta1.Target.getDefaultInstance() : target_; + return target_ == null + ? com.google.cloud.dataform.v1beta1.Target.getDefaultInstance() + : target_; } /** + * + * *
    * Output only. This action's identifier. Unique within the workflow invocation.
    * 
* - * .google.cloud.dataform.v1beta1.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.dataform.v1beta1.TargetOrBuilder getTargetOrBuilder() { @@ -1024,12 +1174,17 @@ public com.google.cloud.dataform.v1beta1.TargetOrBuilder getTargetOrBuilder() { public static final int CANONICAL_TARGET_FIELD_NUMBER = 2; private com.google.cloud.dataform.v1beta1.Target canonicalTarget_; /** + * + * *
    * Output only. The action's identifier if the project had been compiled without any
    * overrides configured. Unique within the compilation result.
    * 
* - * .google.cloud.dataform.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the canonicalTarget field is set. */ @java.lang.Override @@ -1037,25 +1192,36 @@ public boolean hasCanonicalTarget() { return canonicalTarget_ != null; } /** + * + * *
    * Output only. The action's identifier if the project had been compiled without any
    * overrides configured. Unique within the compilation result.
    * 
* - * .google.cloud.dataform.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The canonicalTarget. */ @java.lang.Override public com.google.cloud.dataform.v1beta1.Target getCanonicalTarget() { - return canonicalTarget_ == null ? com.google.cloud.dataform.v1beta1.Target.getDefaultInstance() : canonicalTarget_; + return canonicalTarget_ == null + ? com.google.cloud.dataform.v1beta1.Target.getDefaultInstance() + : canonicalTarget_; } /** + * + * *
    * Output only. The action's identifier if the project had been compiled without any
    * overrides configured. Unique within the compilation result.
    * 
* - * .google.cloud.dataform.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.dataform.v1beta1.TargetOrBuilder getCanonicalTargetOrBuilder() { @@ -1065,38 +1231,56 @@ public com.google.cloud.dataform.v1beta1.TargetOrBuilder getCanonicalTargetOrBui public static final int STATE_FIELD_NUMBER = 4; private int state_; /** + * + * *
    * Output only. This action's current state.
    * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Output only. This action's current state.
    * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.State getState() { + @java.lang.Override + public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.State result = com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.State.valueOf(state_); - return result == null ? com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.State.UNRECOGNIZED : result; + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.State result = + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.State.valueOf(state_); + return result == null + ? com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.State.UNRECOGNIZED + : result; } public static final int FAILURE_REASON_FIELD_NUMBER = 7; private volatile java.lang.Object failureReason_; /** + * + * *
    * Output only. If and only if action's state is FAILED a failure reason is set.
    * 
* * string failure_reason = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The failureReason. */ @java.lang.Override @@ -1105,29 +1289,29 @@ public java.lang.String getFailureReason() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); failureReason_ = s; return s; } } /** + * + * *
    * Output only. If and only if action's state is FAILED a failure reason is set.
    * 
* * string failure_reason = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for failureReason. */ @java.lang.Override - public com.google.protobuf.ByteString - getFailureReasonBytes() { + public com.google.protobuf.ByteString getFailureReasonBytes() { java.lang.Object ref = failureReason_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); failureReason_ = b; return b; } else { @@ -1138,6 +1322,8 @@ public java.lang.String getFailureReason() { public static final int INVOCATION_TIMING_FIELD_NUMBER = 5; private com.google.type.Interval invocationTiming_; /** + * + * *
    * Output only. This action's timing details.
    * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
@@ -1146,7 +1332,9 @@ public java.lang.String getFailureReason() {
    * state.
    * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the invocationTiming field is set. */ @java.lang.Override @@ -1154,6 +1342,8 @@ public boolean hasInvocationTiming() { return invocationTiming_ != null; } /** + * + * *
    * Output only. This action's timing details.
    * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
@@ -1162,14 +1352,20 @@ public boolean hasInvocationTiming() {
    * state.
    * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The invocationTiming. */ @java.lang.Override public com.google.type.Interval getInvocationTiming() { - return invocationTiming_ == null ? com.google.type.Interval.getDefaultInstance() : invocationTiming_; + return invocationTiming_ == null + ? com.google.type.Interval.getDefaultInstance() + : invocationTiming_; } /** + * + * *
    * Output only. This action's timing details.
    * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
@@ -1178,7 +1374,8 @@ public com.google.type.Interval getInvocationTiming() {
    * state.
    * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.type.IntervalOrBuilder getInvocationTimingOrBuilder() { @@ -1188,11 +1385,16 @@ public com.google.type.IntervalOrBuilder getInvocationTimingOrBuilder() { public static final int BIGQUERY_ACTION_FIELD_NUMBER = 6; private com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction bigqueryAction_; /** + * + * *
    * Output only. The workflow action's bigquery action details.
    * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the bigqueryAction field is set. */ @java.lang.Override @@ -1200,30 +1402,45 @@ public boolean hasBigqueryAction() { return bigqueryAction_ != null; } /** + * + * *
    * Output only. The workflow action's bigquery action details.
    * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bigqueryAction. */ @java.lang.Override - public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction getBigqueryAction() { - return bigqueryAction_ == null ? com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction.getDefaultInstance() : bigqueryAction_; + public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction + getBigqueryAction() { + return bigqueryAction_ == null + ? com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction + .getDefaultInstance() + : bigqueryAction_; } /** + * + * *
    * Output only. The workflow action's bigquery action details.
    * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryActionOrBuilder getBigqueryActionOrBuilder() { + public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryActionOrBuilder + getBigqueryActionOrBuilder() { return getBigqueryAction(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1235,15 +1452,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (target_ != null) { output.writeMessage(1, getTarget()); } if (canonicalTarget_ != null) { output.writeMessage(2, getCanonicalTarget()); } - if (state_ != com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.State.PENDING.getNumber()) { + if (state_ + != com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.State.PENDING.getNumber()) { output.writeEnum(4, state_); } if (invocationTiming_ != null) { @@ -1265,24 +1482,20 @@ public int getSerializedSize() { size = 0; if (target_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getTarget()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTarget()); } if (canonicalTarget_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCanonicalTarget()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCanonicalTarget()); } - if (state_ != com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.State.PENDING.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, state_); + if (state_ + != com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.State.PENDING.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, state_); } if (invocationTiming_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getInvocationTiming()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getInvocationTiming()); } if (bigqueryAction_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getBigqueryAction()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getBigqueryAction()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(failureReason_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, failureReason_); @@ -1295,35 +1508,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.WorkflowInvocationAction)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.WorkflowInvocationAction other = (com.google.cloud.dataform.v1beta1.WorkflowInvocationAction) obj; + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction other = + (com.google.cloud.dataform.v1beta1.WorkflowInvocationAction) obj; if (hasTarget() != other.hasTarget()) return false; if (hasTarget()) { - if (!getTarget() - .equals(other.getTarget())) return false; + if (!getTarget().equals(other.getTarget())) return false; } if (hasCanonicalTarget() != other.hasCanonicalTarget()) return false; if (hasCanonicalTarget()) { - if (!getCanonicalTarget() - .equals(other.getCanonicalTarget())) return false; + if (!getCanonicalTarget().equals(other.getCanonicalTarget())) return false; } if (state_ != other.state_) return false; - if (!getFailureReason() - .equals(other.getFailureReason())) return false; + if (!getFailureReason().equals(other.getFailureReason())) return false; if (hasInvocationTiming() != other.hasInvocationTiming()) return false; if (hasInvocationTiming()) { - if (!getInvocationTiming() - .equals(other.getInvocationTiming())) return false; + if (!getInvocationTiming().equals(other.getInvocationTiming())) return false; } if (hasBigqueryAction() != other.hasBigqueryAction()) return false; if (hasBigqueryAction()) { - if (!getBigqueryAction() - .equals(other.getBigqueryAction())) return false; + if (!getBigqueryAction().equals(other.getBigqueryAction())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1362,117 +1571,127 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.dataform.v1beta1.WorkflowInvocationAction prototype) { + + public static Builder newBuilder( + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents a single action in a workflow invocation.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.WorkflowInvocationAction} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.WorkflowInvocationAction) com.google.cloud.dataform.v1beta1.WorkflowInvocationActionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.class, com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.Builder.class); + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.class, + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.Builder.class); } // Construct using com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.newBuilder() @@ -1480,16 +1699,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1525,9 +1743,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_WorkflowInvocationAction_descriptor; } @java.lang.Override @@ -1546,7 +1764,8 @@ public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction build() { @java.lang.Override public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction buildPartial() { - com.google.cloud.dataform.v1beta1.WorkflowInvocationAction result = new com.google.cloud.dataform.v1beta1.WorkflowInvocationAction(this); + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction result = + new com.google.cloud.dataform.v1beta1.WorkflowInvocationAction(this); if (targetBuilder_ == null) { result.target_ = target_; } else { @@ -1577,38 +1796,39 @@ public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.WorkflowInvocationAction) { - return mergeFrom((com.google.cloud.dataform.v1beta1.WorkflowInvocationAction)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.WorkflowInvocationAction) other); } else { super.mergeFrom(other); return this; @@ -1616,7 +1836,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1beta1.WorkflowInvocationAction other) { - if (other == com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.getDefaultInstance()) + return this; if (other.hasTarget()) { mergeTarget(other.getTarget()); } @@ -1655,7 +1876,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.WorkflowInvocationAction) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.WorkflowInvocationAction) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1667,39 +1889,58 @@ public Builder mergeFrom( private com.google.cloud.dataform.v1beta1.Target target_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder> targetBuilder_; + com.google.cloud.dataform.v1beta1.Target, + com.google.cloud.dataform.v1beta1.Target.Builder, + com.google.cloud.dataform.v1beta1.TargetOrBuilder> + targetBuilder_; /** + * + * *
      * Output only. This action's identifier. Unique within the workflow invocation.
      * 
* - * .google.cloud.dataform.v1beta1.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the target field is set. */ public boolean hasTarget() { return targetBuilder_ != null || target_ != null; } /** + * + * *
      * Output only. This action's identifier. Unique within the workflow invocation.
      * 
* - * .google.cloud.dataform.v1beta1.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The target. */ public com.google.cloud.dataform.v1beta1.Target getTarget() { if (targetBuilder_ == null) { - return target_ == null ? com.google.cloud.dataform.v1beta1.Target.getDefaultInstance() : target_; + return target_ == null + ? com.google.cloud.dataform.v1beta1.Target.getDefaultInstance() + : target_; } else { return targetBuilder_.getMessage(); } } /** + * + * *
      * Output only. This action's identifier. Unique within the workflow invocation.
      * 
* - * .google.cloud.dataform.v1beta1.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setTarget(com.google.cloud.dataform.v1beta1.Target value) { if (targetBuilder_ == null) { @@ -1715,14 +1956,17 @@ public Builder setTarget(com.google.cloud.dataform.v1beta1.Target value) { return this; } /** + * + * *
      * Output only. This action's identifier. Unique within the workflow invocation.
      * 
* - * .google.cloud.dataform.v1beta1.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setTarget( - com.google.cloud.dataform.v1beta1.Target.Builder builderForValue) { + public Builder setTarget(com.google.cloud.dataform.v1beta1.Target.Builder builderForValue) { if (targetBuilder_ == null) { target_ = builderForValue.build(); onChanged(); @@ -1733,17 +1977,23 @@ public Builder setTarget( return this; } /** + * + * *
      * Output only. This action's identifier. Unique within the workflow invocation.
      * 
* - * .google.cloud.dataform.v1beta1.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeTarget(com.google.cloud.dataform.v1beta1.Target value) { if (targetBuilder_ == null) { if (target_ != null) { target_ = - com.google.cloud.dataform.v1beta1.Target.newBuilder(target_).mergeFrom(value).buildPartial(); + com.google.cloud.dataform.v1beta1.Target.newBuilder(target_) + .mergeFrom(value) + .buildPartial(); } else { target_ = value; } @@ -1755,11 +2005,15 @@ public Builder mergeTarget(com.google.cloud.dataform.v1beta1.Target value) { return this; } /** + * + * *
      * Output only. This action's identifier. Unique within the workflow invocation.
      * 
* - * .google.cloud.dataform.v1beta1.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearTarget() { if (targetBuilder_ == null) { @@ -1773,48 +2027,64 @@ public Builder clearTarget() { return this; } /** + * + * *
      * Output only. This action's identifier. Unique within the workflow invocation.
      * 
* - * .google.cloud.dataform.v1beta1.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.dataform.v1beta1.Target.Builder getTargetBuilder() { - + onChanged(); return getTargetFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. This action's identifier. Unique within the workflow invocation.
      * 
* - * .google.cloud.dataform.v1beta1.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.dataform.v1beta1.TargetOrBuilder getTargetOrBuilder() { if (targetBuilder_ != null) { return targetBuilder_.getMessageOrBuilder(); } else { - return target_ == null ? - com.google.cloud.dataform.v1beta1.Target.getDefaultInstance() : target_; + return target_ == null + ? com.google.cloud.dataform.v1beta1.Target.getDefaultInstance() + : target_; } } /** + * + * *
      * Output only. This action's identifier. Unique within the workflow invocation.
      * 
* - * .google.cloud.dataform.v1beta1.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder> + com.google.cloud.dataform.v1beta1.Target, + com.google.cloud.dataform.v1beta1.Target.Builder, + com.google.cloud.dataform.v1beta1.TargetOrBuilder> getTargetFieldBuilder() { if (targetBuilder_ == null) { - targetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder>( - getTarget(), - getParentForChildren(), - isClean()); + targetBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Target, + com.google.cloud.dataform.v1beta1.Target.Builder, + com.google.cloud.dataform.v1beta1.TargetOrBuilder>( + getTarget(), getParentForChildren(), isClean()); target_ = null; } return targetBuilder_; @@ -1822,42 +2092,61 @@ public com.google.cloud.dataform.v1beta1.TargetOrBuilder getTargetOrBuilder() { private com.google.cloud.dataform.v1beta1.Target canonicalTarget_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder> canonicalTargetBuilder_; + com.google.cloud.dataform.v1beta1.Target, + com.google.cloud.dataform.v1beta1.Target.Builder, + com.google.cloud.dataform.v1beta1.TargetOrBuilder> + canonicalTargetBuilder_; /** + * + * *
      * Output only. The action's identifier if the project had been compiled without any
      * overrides configured. Unique within the compilation result.
      * 
* - * .google.cloud.dataform.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the canonicalTarget field is set. */ public boolean hasCanonicalTarget() { return canonicalTargetBuilder_ != null || canonicalTarget_ != null; } /** + * + * *
      * Output only. The action's identifier if the project had been compiled without any
      * overrides configured. Unique within the compilation result.
      * 
* - * .google.cloud.dataform.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The canonicalTarget. */ public com.google.cloud.dataform.v1beta1.Target getCanonicalTarget() { if (canonicalTargetBuilder_ == null) { - return canonicalTarget_ == null ? com.google.cloud.dataform.v1beta1.Target.getDefaultInstance() : canonicalTarget_; + return canonicalTarget_ == null + ? com.google.cloud.dataform.v1beta1.Target.getDefaultInstance() + : canonicalTarget_; } else { return canonicalTargetBuilder_.getMessage(); } } /** + * + * *
      * Output only. The action's identifier if the project had been compiled without any
      * overrides configured. Unique within the compilation result.
      * 
* - * .google.cloud.dataform.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCanonicalTarget(com.google.cloud.dataform.v1beta1.Target value) { if (canonicalTargetBuilder_ == null) { @@ -1873,12 +2162,16 @@ public Builder setCanonicalTarget(com.google.cloud.dataform.v1beta1.Target value return this; } /** + * + * *
      * Output only. The action's identifier if the project had been compiled without any
      * overrides configured. Unique within the compilation result.
      * 
* - * .google.cloud.dataform.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCanonicalTarget( com.google.cloud.dataform.v1beta1.Target.Builder builderForValue) { @@ -1892,18 +2185,24 @@ public Builder setCanonicalTarget( return this; } /** + * + * *
      * Output only. The action's identifier if the project had been compiled without any
      * overrides configured. Unique within the compilation result.
      * 
* - * .google.cloud.dataform.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeCanonicalTarget(com.google.cloud.dataform.v1beta1.Target value) { if (canonicalTargetBuilder_ == null) { if (canonicalTarget_ != null) { canonicalTarget_ = - com.google.cloud.dataform.v1beta1.Target.newBuilder(canonicalTarget_).mergeFrom(value).buildPartial(); + com.google.cloud.dataform.v1beta1.Target.newBuilder(canonicalTarget_) + .mergeFrom(value) + .buildPartial(); } else { canonicalTarget_ = value; } @@ -1915,12 +2214,16 @@ public Builder mergeCanonicalTarget(com.google.cloud.dataform.v1beta1.Target val return this; } /** + * + * *
      * Output only. The action's identifier if the project had been compiled without any
      * overrides configured. Unique within the compilation result.
      * 
* - * .google.cloud.dataform.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCanonicalTarget() { if (canonicalTargetBuilder_ == null) { @@ -1934,51 +2237,67 @@ public Builder clearCanonicalTarget() { return this; } /** + * + * *
      * Output only. The action's identifier if the project had been compiled without any
      * overrides configured. Unique within the compilation result.
      * 
* - * .google.cloud.dataform.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.dataform.v1beta1.Target.Builder getCanonicalTargetBuilder() { - + onChanged(); return getCanonicalTargetFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The action's identifier if the project had been compiled without any
      * overrides configured. Unique within the compilation result.
      * 
* - * .google.cloud.dataform.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.dataform.v1beta1.TargetOrBuilder getCanonicalTargetOrBuilder() { if (canonicalTargetBuilder_ != null) { return canonicalTargetBuilder_.getMessageOrBuilder(); } else { - return canonicalTarget_ == null ? - com.google.cloud.dataform.v1beta1.Target.getDefaultInstance() : canonicalTarget_; + return canonicalTarget_ == null + ? com.google.cloud.dataform.v1beta1.Target.getDefaultInstance() + : canonicalTarget_; } } /** + * + * *
      * Output only. The action's identifier if the project had been compiled without any
      * overrides configured. Unique within the compilation result.
      * 
* - * .google.cloud.dataform.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder> + com.google.cloud.dataform.v1beta1.Target, + com.google.cloud.dataform.v1beta1.Target.Builder, + com.google.cloud.dataform.v1beta1.TargetOrBuilder> getCanonicalTargetFieldBuilder() { if (canonicalTargetBuilder_ == null) { - canonicalTargetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.Target, com.google.cloud.dataform.v1beta1.Target.Builder, com.google.cloud.dataform.v1beta1.TargetOrBuilder>( - getCanonicalTarget(), - getParentForChildren(), - isClean()); + canonicalTargetBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.Target, + com.google.cloud.dataform.v1beta1.Target.Builder, + com.google.cloud.dataform.v1beta1.TargetOrBuilder>( + getCanonicalTarget(), getParentForChildren(), isClean()); canonicalTarget_ = null; } return canonicalTargetBuilder_; @@ -1986,73 +2305,103 @@ public com.google.cloud.dataform.v1beta1.TargetOrBuilder getCanonicalTargetOrBui private int state_ = 0; /** + * + * *
      * Output only. This action's current state.
      * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. This action's current state.
      * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
      * Output only. This action's current state.
      * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.State result = com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.State.valueOf(state_); - return result == null ? com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.State.UNRECOGNIZED : result; + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.State result = + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.State.valueOf(state_); + return result == null + ? com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.State.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. This action's current state.
      * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ - public Builder setState(com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.State value) { + public Builder setState( + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. This action's current state.
      * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -2060,18 +2409,20 @@ public Builder clearState() { private java.lang.Object failureReason_ = ""; /** + * + * *
      * Output only. If and only if action's state is FAILED a failure reason is set.
      * 
* * string failure_reason = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The failureReason. */ public java.lang.String getFailureReason() { java.lang.Object ref = failureReason_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); failureReason_ = s; return s; @@ -2080,20 +2431,21 @@ public java.lang.String getFailureReason() { } } /** + * + * *
      * Output only. If and only if action's state is FAILED a failure reason is set.
      * 
* * string failure_reason = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for failureReason. */ - public com.google.protobuf.ByteString - getFailureReasonBytes() { + public com.google.protobuf.ByteString getFailureReasonBytes() { java.lang.Object ref = failureReason_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); failureReason_ = b; return b; } else { @@ -2101,54 +2453,61 @@ public java.lang.String getFailureReason() { } } /** + * + * *
      * Output only. If and only if action's state is FAILED a failure reason is set.
      * 
* * string failure_reason = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The failureReason to set. * @return This builder for chaining. */ - public Builder setFailureReason( - java.lang.String value) { + public Builder setFailureReason(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + failureReason_ = value; onChanged(); return this; } /** + * + * *
      * Output only. If and only if action's state is FAILED a failure reason is set.
      * 
* * string failure_reason = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearFailureReason() { - + failureReason_ = getDefaultInstance().getFailureReason(); onChanged(); return this; } /** + * + * *
      * Output only. If and only if action's state is FAILED a failure reason is set.
      * 
* * string failure_reason = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for failureReason to set. * @return This builder for chaining. */ - public Builder setFailureReasonBytes( - com.google.protobuf.ByteString value) { + public Builder setFailureReasonBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + failureReason_ = value; onChanged(); return this; @@ -2156,8 +2515,13 @@ public Builder setFailureReasonBytes( private com.google.type.Interval invocationTiming_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Interval, com.google.type.Interval.Builder, com.google.type.IntervalOrBuilder> invocationTimingBuilder_; + com.google.type.Interval, + com.google.type.Interval.Builder, + com.google.type.IntervalOrBuilder> + invocationTimingBuilder_; /** + * + * *
      * Output only. This action's timing details.
      * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
@@ -2166,13 +2530,18 @@ public Builder setFailureReasonBytes(
      * state.
      * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the invocationTiming field is set. */ public boolean hasInvocationTiming() { return invocationTimingBuilder_ != null || invocationTiming_ != null; } /** + * + * *
      * Output only. This action's timing details.
      * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
@@ -2181,17 +2550,24 @@ public boolean hasInvocationTiming() {
      * state.
      * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The invocationTiming. */ public com.google.type.Interval getInvocationTiming() { if (invocationTimingBuilder_ == null) { - return invocationTiming_ == null ? com.google.type.Interval.getDefaultInstance() : invocationTiming_; + return invocationTiming_ == null + ? com.google.type.Interval.getDefaultInstance() + : invocationTiming_; } else { return invocationTimingBuilder_.getMessage(); } } /** + * + * *
      * Output only. This action's timing details.
      * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
@@ -2200,7 +2576,9 @@ public com.google.type.Interval getInvocationTiming() {
      * state.
      * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setInvocationTiming(com.google.type.Interval value) { if (invocationTimingBuilder_ == null) { @@ -2216,6 +2594,8 @@ public Builder setInvocationTiming(com.google.type.Interval value) { return this; } /** + * + * *
      * Output only. This action's timing details.
      * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
@@ -2224,10 +2604,11 @@ public Builder setInvocationTiming(com.google.type.Interval value) {
      * state.
      * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setInvocationTiming( - com.google.type.Interval.Builder builderForValue) { + public Builder setInvocationTiming(com.google.type.Interval.Builder builderForValue) { if (invocationTimingBuilder_ == null) { invocationTiming_ = builderForValue.build(); onChanged(); @@ -2238,6 +2619,8 @@ public Builder setInvocationTiming( return this; } /** + * + * *
      * Output only. This action's timing details.
      * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
@@ -2246,13 +2629,17 @@ public Builder setInvocationTiming(
      * state.
      * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeInvocationTiming(com.google.type.Interval value) { if (invocationTimingBuilder_ == null) { if (invocationTiming_ != null) { invocationTiming_ = - com.google.type.Interval.newBuilder(invocationTiming_).mergeFrom(value).buildPartial(); + com.google.type.Interval.newBuilder(invocationTiming_) + .mergeFrom(value) + .buildPartial(); } else { invocationTiming_ = value; } @@ -2264,6 +2651,8 @@ public Builder mergeInvocationTiming(com.google.type.Interval value) { return this; } /** + * + * *
      * Output only. This action's timing details.
      * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
@@ -2272,7 +2661,9 @@ public Builder mergeInvocationTiming(com.google.type.Interval value) {
      * state.
      * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearInvocationTiming() { if (invocationTimingBuilder_ == null) { @@ -2286,6 +2677,8 @@ public Builder clearInvocationTiming() { return this; } /** + * + * *
      * Output only. This action's timing details.
      * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
@@ -2294,14 +2687,18 @@ public Builder clearInvocationTiming() {
      * state.
      * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.type.Interval.Builder getInvocationTimingBuilder() { - + onChanged(); return getInvocationTimingFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. This action's timing details.
      * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
@@ -2310,17 +2707,22 @@ public com.google.type.Interval.Builder getInvocationTimingBuilder() {
      * state.
      * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.type.IntervalOrBuilder getInvocationTimingOrBuilder() { if (invocationTimingBuilder_ != null) { return invocationTimingBuilder_.getMessageOrBuilder(); } else { - return invocationTiming_ == null ? - com.google.type.Interval.getDefaultInstance() : invocationTiming_; + return invocationTiming_ == null + ? com.google.type.Interval.getDefaultInstance() + : invocationTiming_; } } /** + * + * *
      * Output only. This action's timing details.
      * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
@@ -2329,59 +2731,87 @@ public com.google.type.IntervalOrBuilder getInvocationTimingOrBuilder() {
      * state.
      * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Interval, com.google.type.Interval.Builder, com.google.type.IntervalOrBuilder> + com.google.type.Interval, + com.google.type.Interval.Builder, + com.google.type.IntervalOrBuilder> getInvocationTimingFieldBuilder() { if (invocationTimingBuilder_ == null) { - invocationTimingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Interval, com.google.type.Interval.Builder, com.google.type.IntervalOrBuilder>( - getInvocationTiming(), - getParentForChildren(), - isClean()); + invocationTimingBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Interval, + com.google.type.Interval.Builder, + com.google.type.IntervalOrBuilder>( + getInvocationTiming(), getParentForChildren(), isClean()); invocationTiming_ = null; } return invocationTimingBuilder_; } - private com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction bigqueryAction_; + private com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction + bigqueryAction_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction, com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction.Builder, com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryActionOrBuilder> bigqueryActionBuilder_; + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction, + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction.Builder, + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryActionOrBuilder> + bigqueryActionBuilder_; /** + * + * *
      * Output only. The workflow action's bigquery action details.
      * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the bigqueryAction field is set. */ public boolean hasBigqueryAction() { return bigqueryActionBuilder_ != null || bigqueryAction_ != null; } /** + * + * *
      * Output only. The workflow action's bigquery action details.
      * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bigqueryAction. */ - public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction getBigqueryAction() { + public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction + getBigqueryAction() { if (bigqueryActionBuilder_ == null) { - return bigqueryAction_ == null ? com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction.getDefaultInstance() : bigqueryAction_; + return bigqueryAction_ == null + ? com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction + .getDefaultInstance() + : bigqueryAction_; } else { return bigqueryActionBuilder_.getMessage(); } } /** + * + * *
      * Output only. The workflow action's bigquery action details.
      * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setBigqueryAction(com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction value) { + public Builder setBigqueryAction( + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction value) { if (bigqueryActionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2395,14 +2825,19 @@ public Builder setBigqueryAction(com.google.cloud.dataform.v1beta1.WorkflowInvoc return this; } /** + * + * *
      * Output only. The workflow action's bigquery action details.
      * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setBigqueryAction( - com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction.Builder builderForValue) { + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction.Builder + builderForValue) { if (bigqueryActionBuilder_ == null) { bigqueryAction_ = builderForValue.build(); onChanged(); @@ -2413,17 +2848,25 @@ public Builder setBigqueryAction( return this; } /** + * + * *
      * Output only. The workflow action's bigquery action details.
      * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeBigqueryAction(com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction value) { + public Builder mergeBigqueryAction( + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction value) { if (bigqueryActionBuilder_ == null) { if (bigqueryAction_ != null) { bigqueryAction_ = - com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction.newBuilder(bigqueryAction_).mergeFrom(value).buildPartial(); + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction.newBuilder( + bigqueryAction_) + .mergeFrom(value) + .buildPartial(); } else { bigqueryAction_ = value; } @@ -2435,11 +2878,15 @@ public Builder mergeBigqueryAction(com.google.cloud.dataform.v1beta1.WorkflowInv return this; } /** + * + * *
      * Output only. The workflow action's bigquery action details.
      * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearBigqueryAction() { if (bigqueryActionBuilder_ == null) { @@ -2453,55 +2900,74 @@ public Builder clearBigqueryAction() { return this; } /** + * + * *
      * Output only. The workflow action's bigquery action details.
      * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction.Builder getBigqueryActionBuilder() { - + public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction.Builder + getBigqueryActionBuilder() { + onChanged(); return getBigqueryActionFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The workflow action's bigquery action details.
      * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryActionOrBuilder getBigqueryActionOrBuilder() { + public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryActionOrBuilder + getBigqueryActionOrBuilder() { if (bigqueryActionBuilder_ != null) { return bigqueryActionBuilder_.getMessageOrBuilder(); } else { - return bigqueryAction_ == null ? - com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction.getDefaultInstance() : bigqueryAction_; + return bigqueryAction_ == null + ? com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction + .getDefaultInstance() + : bigqueryAction_; } } /** + * + * *
      * Output only. The workflow action's bigquery action details.
      * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction, com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction.Builder, com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryActionOrBuilder> + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction, + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction.Builder, + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryActionOrBuilder> getBigqueryActionFieldBuilder() { if (bigqueryActionBuilder_ == null) { - bigqueryActionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction, com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction.Builder, com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryActionOrBuilder>( - getBigqueryAction(), - getParentForChildren(), - isClean()); + bigqueryActionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction, + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction.Builder, + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryActionOrBuilder>( + getBigqueryAction(), getParentForChildren(), isClean()); bigqueryAction_ = null; } return bigqueryActionBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2511,12 +2977,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.WorkflowInvocationAction) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.WorkflowInvocationAction) private static final com.google.cloud.dataform.v1beta1.WorkflowInvocationAction DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.WorkflowInvocationAction(); } @@ -2525,16 +2991,16 @@ public static com.google.cloud.dataform.v1beta1.WorkflowInvocationAction getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WorkflowInvocationAction parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WorkflowInvocationAction(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WorkflowInvocationAction parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WorkflowInvocationAction(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2549,6 +3015,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1beta1.WorkflowInvocationAction getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkflowInvocationActionOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkflowInvocationActionOrBuilder.java similarity index 62% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkflowInvocationActionOrBuilder.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkflowInvocationActionOrBuilder.java index 33ec144..7f18674 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkflowInvocationActionOrBuilder.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkflowInvocationActionOrBuilder.java @@ -1,109 +1,170 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; -public interface WorkflowInvocationActionOrBuilder extends +public interface WorkflowInvocationActionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.WorkflowInvocationAction) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. This action's identifier. Unique within the workflow invocation.
    * 
* - * .google.cloud.dataform.v1beta1.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the target field is set. */ boolean hasTarget(); /** + * + * *
    * Output only. This action's identifier. Unique within the workflow invocation.
    * 
* - * .google.cloud.dataform.v1beta1.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The target. */ com.google.cloud.dataform.v1beta1.Target getTarget(); /** + * + * *
    * Output only. This action's identifier. Unique within the workflow invocation.
    * 
* - * .google.cloud.dataform.v1beta1.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.Target target = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.dataform.v1beta1.TargetOrBuilder getTargetOrBuilder(); /** + * + * *
    * Output only. The action's identifier if the project had been compiled without any
    * overrides configured. Unique within the compilation result.
    * 
* - * .google.cloud.dataform.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the canonicalTarget field is set. */ boolean hasCanonicalTarget(); /** + * + * *
    * Output only. The action's identifier if the project had been compiled without any
    * overrides configured. Unique within the compilation result.
    * 
* - * .google.cloud.dataform.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The canonicalTarget. */ com.google.cloud.dataform.v1beta1.Target getCanonicalTarget(); /** + * + * *
    * Output only. The action's identifier if the project had been compiled without any
    * overrides configured. Unique within the compilation result.
    * 
* - * .google.cloud.dataform.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.Target canonical_target = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.dataform.v1beta1.TargetOrBuilder getCanonicalTargetOrBuilder(); /** + * + * *
    * Output only. This action's current state.
    * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. This action's current state.
    * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.State getState(); /** + * + * *
    * Output only. If and only if action's state is FAILED a failure reason is set.
    * 
* * string failure_reason = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The failureReason. */ java.lang.String getFailureReason(); /** + * + * *
    * Output only. If and only if action's state is FAILED a failure reason is set.
    * 
* * string failure_reason = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for failureReason. */ - com.google.protobuf.ByteString - getFailureReasonBytes(); + com.google.protobuf.ByteString getFailureReasonBytes(); /** + * + * *
    * Output only. This action's timing details.
    * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
@@ -112,11 +173,15 @@ public interface WorkflowInvocationActionOrBuilder extends
    * state.
    * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the invocationTiming field is set. */ boolean hasInvocationTiming(); /** + * + * *
    * Output only. This action's timing details.
    * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
@@ -125,11 +190,15 @@ public interface WorkflowInvocationActionOrBuilder extends
    * state.
    * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The invocationTiming. */ com.google.type.Interval getInvocationTiming(); /** + * + * *
    * Output only. This action's timing details.
    * `start_time` will be set if the action is in [RUNNING, SUCCEEDED,
@@ -138,34 +207,50 @@ public interface WorkflowInvocationActionOrBuilder extends
    * state.
    * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.type.IntervalOrBuilder getInvocationTimingOrBuilder(); /** + * + * *
    * Output only. The workflow action's bigquery action details.
    * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the bigqueryAction field is set. */ boolean hasBigqueryAction(); /** + * + * *
    * Output only. The workflow action's bigquery action details.
    * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The bigqueryAction. */ com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction getBigqueryAction(); /** + * + * *
    * Output only. The workflow action's bigquery action details.
    * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryAction bigquery_action = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryActionOrBuilder getBigqueryActionOrBuilder(); + com.google.cloud.dataform.v1beta1.WorkflowInvocationAction.BigQueryActionOrBuilder + getBigqueryActionOrBuilder(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkflowInvocationName.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkflowInvocationName.java similarity index 100% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkflowInvocationName.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkflowInvocationName.java diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkflowInvocationOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkflowInvocationOrBuilder.java similarity index 57% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkflowInvocationOrBuilder.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkflowInvocationOrBuilder.java index f82302b..4bcc01d 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkflowInvocationOrBuilder.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkflowInvocationOrBuilder.java @@ -1,124 +1,190 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; -public interface WorkflowInvocationOrBuilder extends +public interface WorkflowInvocationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.WorkflowInvocation) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The workflow invocation's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The workflow invocation's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Immutable. The name of the compilation result to compile. Must be in the format
    * `projects/*/locations/*/repositories/*/compilationResults/*`.
    * 
* - * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The compilationResult. */ java.lang.String getCompilationResult(); /** + * + * *
    * Immutable. The name of the compilation result to compile. Must be in the format
    * `projects/*/locations/*/repositories/*/compilationResults/*`.
    * 
* - * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string compilation_result = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for compilationResult. */ - com.google.protobuf.ByteString - getCompilationResultBytes(); + com.google.protobuf.ByteString getCompilationResultBytes(); /** + * + * *
    * Immutable. If left unset, a default InvocationConfig will be used.
    * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return Whether the invocationConfig field is set. */ boolean hasInvocationConfig(); /** + * + * *
    * Immutable. If left unset, a default InvocationConfig will be used.
    * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The invocationConfig. */ com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig getInvocationConfig(); /** + * + * *
    * Immutable. If left unset, a default InvocationConfig will be used.
    * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfig invocation_config = 3 [(.google.api.field_behavior) = IMMUTABLE]; + * */ - com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfigOrBuilder getInvocationConfigOrBuilder(); + com.google.cloud.dataform.v1beta1.WorkflowInvocation.InvocationConfigOrBuilder + getInvocationConfigOrBuilder(); /** + * + * *
    * Output only. This workflow invocation's current state.
    * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. This workflow invocation's current state.
    * 
* - * .google.cloud.dataform.v1beta1.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.dataform.v1beta1.WorkflowInvocation.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.dataform.v1beta1.WorkflowInvocation.State getState(); /** + * + * *
    * Output only. This workflow invocation's timing details.
    * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the invocationTiming field is set. */ boolean hasInvocationTiming(); /** + * + * *
    * Output only. This workflow invocation's timing details.
    * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The invocationTiming. */ com.google.type.Interval getInvocationTiming(); /** + * + * *
    * Output only. This workflow invocation's timing details.
    * 
* - * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.type.Interval invocation_timing = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.type.IntervalOrBuilder getInvocationTimingOrBuilder(); } diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/Workspace.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/Workspace.java similarity index 68% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/Workspace.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/Workspace.java index 80b58f2..7af20fe 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/Workspace.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/Workspace.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * Represents a Dataform Git workspace.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.Workspace} */ -public final class Workspace extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Workspace extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.Workspace) WorkspaceOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Workspace.newBuilder() to construct. private Workspace(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Workspace() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Workspace(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Workspace( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private Workspace( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private Workspace( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_Workspace_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_Workspace_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_Workspace_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_Workspace_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.Workspace.class, com.google.cloud.dataform.v1beta1.Workspace.Builder.class); + com.google.cloud.dataform.v1beta1.Workspace.class, + com.google.cloud.dataform.v1beta1.Workspace.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Output only. The workspace's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -109,29 +132,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. The workspace's name.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +163,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +199,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.Workspace)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.Workspace other = (com.google.cloud.dataform.v1beta1.Workspace) obj; + com.google.cloud.dataform.v1beta1.Workspace other = + (com.google.cloud.dataform.v1beta1.Workspace) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -203,118 +226,127 @@ public int hashCode() { return hash; } - public static com.google.cloud.dataform.v1beta1.Workspace parseFrom( - java.nio.ByteBuffer data) + public static com.google.cloud.dataform.v1beta1.Workspace parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.Workspace parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.Workspace parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.Workspace parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.Workspace parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.Workspace parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.Workspace parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.Workspace parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.Workspace parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.Workspace parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.Workspace parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.Workspace parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.Workspace parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.Workspace prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents a Dataform Git workspace.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.Workspace} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.Workspace) com.google.cloud.dataform.v1beta1.WorkspaceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_Workspace_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_Workspace_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_Workspace_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_Workspace_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.Workspace.class, com.google.cloud.dataform.v1beta1.Workspace.Builder.class); + com.google.cloud.dataform.v1beta1.Workspace.class, + com.google.cloud.dataform.v1beta1.Workspace.Builder.class); } // Construct using com.google.cloud.dataform.v1beta1.Workspace.newBuilder() @@ -322,16 +354,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +372,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_Workspace_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_Workspace_descriptor; } @java.lang.Override @@ -362,7 +393,8 @@ public com.google.cloud.dataform.v1beta1.Workspace build() { @java.lang.Override public com.google.cloud.dataform.v1beta1.Workspace buildPartial() { - com.google.cloud.dataform.v1beta1.Workspace result = new com.google.cloud.dataform.v1beta1.Workspace(this); + com.google.cloud.dataform.v1beta1.Workspace result = + new com.google.cloud.dataform.v1beta1.Workspace(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +404,39 @@ public com.google.cloud.dataform.v1beta1.Workspace buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.Workspace) { - return mergeFrom((com.google.cloud.dataform.v1beta1.Workspace)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.Workspace) other); } else { super.mergeFrom(other); return this; @@ -447,18 +480,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Output only. The workspace's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -467,20 +502,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The workspace's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -488,61 +524,68 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The workspace's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The workspace's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. The workspace's name.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +595,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.Workspace) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.Workspace) private static final com.google.cloud.dataform.v1beta1.Workspace DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.Workspace(); } @@ -566,16 +609,16 @@ public static com.google.cloud.dataform.v1beta1.Workspace getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Workspace parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Workspace(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Workspace parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Workspace(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +633,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1beta1.Workspace getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkspaceName.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkspaceName.java similarity index 100% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkspaceName.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkspaceName.java diff --git a/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkspaceOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkspaceOrBuilder.java new file mode 100644 index 0000000..b8ed5d7 --- /dev/null +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkspaceOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface WorkspaceOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.Workspace) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Output only. The workspace's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Output only. The workspace's name.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WriteFileRequest.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WriteFileRequest.java similarity index 67% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WriteFileRequest.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WriteFileRequest.java index f38051c..df9d928 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WriteFileRequest.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WriteFileRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * `WriteFile` request message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.WriteFileRequest} */ -public final class WriteFileRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class WriteFileRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.WriteFileRequest) WriteFileRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use WriteFileRequest.newBuilder() to construct. private WriteFileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private WriteFileRequest() { workspace_ = ""; path_ = ""; @@ -27,16 +45,15 @@ private WriteFileRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new WriteFileRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private WriteFileRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,30 +72,32 @@ private WriteFileRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - workspace_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - path_ = s; - break; - } - case 26: { + workspace_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - contents_ = input.readBytes(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + path_ = s; + break; + } + case 26: + { + contents_ = input.readBytes(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -86,34 +105,41 @@ private WriteFileRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WriteFileRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_WriteFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WriteFileRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_WriteFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.WriteFileRequest.class, com.google.cloud.dataform.v1beta1.WriteFileRequest.Builder.class); + com.google.cloud.dataform.v1beta1.WriteFileRequest.class, + com.google.cloud.dataform.v1beta1.WriteFileRequest.Builder.class); } public static final int WORKSPACE_FIELD_NUMBER = 1; private volatile java.lang.Object workspace_; /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ @java.lang.Override @@ -122,29 +148,31 @@ public java.lang.String getWorkspace() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; } } /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ @java.lang.Override - public com.google.protobuf.ByteString - getWorkspaceBytes() { + public com.google.protobuf.ByteString getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workspace_ = b; return b; } else { @@ -155,11 +183,14 @@ public java.lang.String getWorkspace() { public static final int PATH_FIELD_NUMBER = 2; private volatile java.lang.Object path_; /** + * + * *
    * Required. The file.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The path. */ @java.lang.Override @@ -168,29 +199,29 @@ public java.lang.String getPath() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } } /** + * + * *
    * Required. The file.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for path. */ @java.lang.Override - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); path_ = b; return b; } else { @@ -201,11 +232,14 @@ public java.lang.String getPath() { public static final int CONTENTS_FIELD_NUMBER = 3; private com.google.protobuf.ByteString contents_; /** + * + * *
    * Required. The file's contents.
    * 
* * bytes contents = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The contents. */ @java.lang.Override @@ -214,6 +248,7 @@ public com.google.protobuf.ByteString getContents() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,8 +260,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workspace_); } @@ -252,8 +286,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, path_); } if (!contents_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(3, contents_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(3, contents_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -263,19 +296,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.WriteFileRequest)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.WriteFileRequest other = (com.google.cloud.dataform.v1beta1.WriteFileRequest) obj; + com.google.cloud.dataform.v1beta1.WriteFileRequest other = + (com.google.cloud.dataform.v1beta1.WriteFileRequest) obj; - if (!getWorkspace() - .equals(other.getWorkspace())) return false; - if (!getPath() - .equals(other.getPath())) return false; - if (!getContents() - .equals(other.getContents())) return false; + if (!getWorkspace().equals(other.getWorkspace())) return false; + if (!getPath().equals(other.getPath())) return false; + if (!getContents().equals(other.getContents())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -299,117 +330,126 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.WriteFileRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.WriteFileRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.WriteFileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.WriteFileRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.WriteFileRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.WriteFileRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.WriteFileRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.WriteFileRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.WriteFileRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.WriteFileRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.WriteFileRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.WriteFileRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.WriteFileRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.WriteFileRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.WriteFileRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `WriteFile` request message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.WriteFileRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.WriteFileRequest) com.google.cloud.dataform.v1beta1.WriteFileRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WriteFileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_WriteFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WriteFileRequest_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_WriteFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.WriteFileRequest.class, com.google.cloud.dataform.v1beta1.WriteFileRequest.Builder.class); + com.google.cloud.dataform.v1beta1.WriteFileRequest.class, + com.google.cloud.dataform.v1beta1.WriteFileRequest.Builder.class); } // Construct using com.google.cloud.dataform.v1beta1.WriteFileRequest.newBuilder() @@ -417,16 +457,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -440,9 +479,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WriteFileRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_WriteFileRequest_descriptor; } @java.lang.Override @@ -461,7 +500,8 @@ public com.google.cloud.dataform.v1beta1.WriteFileRequest build() { @java.lang.Override public com.google.cloud.dataform.v1beta1.WriteFileRequest buildPartial() { - com.google.cloud.dataform.v1beta1.WriteFileRequest result = new com.google.cloud.dataform.v1beta1.WriteFileRequest(this); + com.google.cloud.dataform.v1beta1.WriteFileRequest result = + new com.google.cloud.dataform.v1beta1.WriteFileRequest(this); result.workspace_ = workspace_; result.path_ = path_; result.contents_ = contents_; @@ -473,38 +513,39 @@ public com.google.cloud.dataform.v1beta1.WriteFileRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.WriteFileRequest) { - return mergeFrom((com.google.cloud.dataform.v1beta1.WriteFileRequest)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.WriteFileRequest) other); } else { super.mergeFrom(other); return this; @@ -512,7 +553,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1beta1.WriteFileRequest other) { - if (other == com.google.cloud.dataform.v1beta1.WriteFileRequest.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1beta1.WriteFileRequest.getDefaultInstance()) + return this; if (!other.getWorkspace().isEmpty()) { workspace_ = other.workspace_; onChanged(); @@ -543,7 +585,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.WriteFileRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.WriteFileRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -555,18 +598,22 @@ public Builder mergeFrom( private java.lang.Object workspace_ = ""; /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ public java.lang.String getWorkspace() { java.lang.Object ref = workspace_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; @@ -575,20 +622,23 @@ public java.lang.String getWorkspace() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ - public com.google.protobuf.ByteString - getWorkspaceBytes() { + public com.google.protobuf.ByteString getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workspace_ = b; return b; } else { @@ -596,54 +646,67 @@ public java.lang.String getWorkspace() { } } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The workspace to set. * @return This builder for chaining. */ - public Builder setWorkspace( - java.lang.String value) { + public Builder setWorkspace(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + workspace_ = value; onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearWorkspace() { - + workspace_ = getDefaultInstance().getWorkspace(); onChanged(); return this; } /** + * + * *
      * Required. The workspace's name.
      * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for workspace to set. * @return This builder for chaining. */ - public Builder setWorkspaceBytes( - com.google.protobuf.ByteString value) { + public Builder setWorkspaceBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workspace_ = value; onChanged(); return this; @@ -651,18 +714,20 @@ public Builder setWorkspaceBytes( private java.lang.Object path_ = ""; /** + * + * *
      * Required. The file.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; @@ -671,20 +736,21 @@ public java.lang.String getPath() { } } /** + * + * *
      * Required. The file.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for path. */ - public com.google.protobuf.ByteString - getPathBytes() { + public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); path_ = b; return b; } else { @@ -692,54 +758,61 @@ public java.lang.String getPath() { } } /** + * + * *
      * Required. The file.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The path to set. * @return This builder for chaining. */ - public Builder setPath( - java.lang.String value) { + public Builder setPath(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + path_ = value; onChanged(); return this; } /** + * + * *
      * Required. The file.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearPath() { - + path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** + * + * *
      * Required. The file.
      * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for path to set. * @return This builder for chaining. */ - public Builder setPathBytes( - com.google.protobuf.ByteString value) { + public Builder setPathBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + path_ = value; onChanged(); return this; @@ -747,11 +820,14 @@ public Builder setPathBytes( private com.google.protobuf.ByteString contents_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * Required. The file's contents.
      * 
* * bytes contents = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The contents. */ @java.lang.Override @@ -759,40 +835,46 @@ public com.google.protobuf.ByteString getContents() { return contents_; } /** + * + * *
      * Required. The file's contents.
      * 
* * bytes contents = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The contents to set. * @return This builder for chaining. */ public Builder setContents(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + contents_ = value; onChanged(); return this; } /** + * + * *
      * Required. The file's contents.
      * 
* * bytes contents = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearContents() { - + contents_ = getDefaultInstance().getContents(); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -802,12 +884,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.WriteFileRequest) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.WriteFileRequest) private static final com.google.cloud.dataform.v1beta1.WriteFileRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.WriteFileRequest(); } @@ -816,16 +898,16 @@ public static com.google.cloud.dataform.v1beta1.WriteFileRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WriteFileRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WriteFileRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WriteFileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WriteFileRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -840,6 +922,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1beta1.WriteFileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WriteFileRequestOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WriteFileRequestOrBuilder.java similarity index 51% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WriteFileRequestOrBuilder.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WriteFileRequestOrBuilder.java index 64a4854..db9ef06 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WriteFileRequestOrBuilder.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WriteFileRequestOrBuilder.java @@ -1,58 +1,91 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; -public interface WriteFileRequestOrBuilder extends +public interface WriteFileRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.WriteFileRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The workspace. */ java.lang.String getWorkspace(); /** + * + * *
    * Required. The workspace's name.
    * 
* - * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for workspace. */ - com.google.protobuf.ByteString - getWorkspaceBytes(); + com.google.protobuf.ByteString getWorkspaceBytes(); /** + * + * *
    * Required. The file.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The path. */ java.lang.String getPath(); /** + * + * *
    * Required. The file.
    * 
* * string path = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for path. */ - com.google.protobuf.ByteString - getPathBytes(); + com.google.protobuf.ByteString getPathBytes(); /** + * + * *
    * Required. The file's contents.
    * 
* * bytes contents = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The contents. */ com.google.protobuf.ByteString getContents(); diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WriteFileResponse.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WriteFileResponse.java similarity index 65% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WriteFileResponse.java rename to proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WriteFileResponse.java index e8b8e1f..8573ce3 100644 --- a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WriteFileResponse.java +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WriteFileResponse.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dataform/v1beta1/dataform.proto package com.google.cloud.dataform.v1beta1; /** + * + * *
  * `WriteFile` response message.
  * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.WriteFileResponse} */ -public final class WriteFileResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class WriteFileResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.dataform.v1beta1.WriteFileResponse) WriteFileResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use WriteFileResponse.newBuilder() to construct. private WriteFileResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private WriteFileResponse() { - } + + private WriteFileResponse() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new WriteFileResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private WriteFileResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private WriteFileResponse( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private WriteFileResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WriteFileResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_WriteFileResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WriteFileResponse_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_WriteFileResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.WriteFileResponse.class, com.google.cloud.dataform.v1beta1.WriteFileResponse.Builder.class); + com.google.cloud.dataform.v1beta1.WriteFileResponse.class, + com.google.cloud.dataform.v1beta1.WriteFileResponse.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.dataform.v1beta1.WriteFileResponse)) { return super.equals(obj); } - com.google.cloud.dataform.v1beta1.WriteFileResponse other = (com.google.cloud.dataform.v1beta1.WriteFileResponse) obj; + com.google.cloud.dataform.v1beta1.WriteFileResponse other = + (com.google.cloud.dataform.v1beta1.WriteFileResponse) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,117 +160,126 @@ public int hashCode() { } public static com.google.cloud.dataform.v1beta1.WriteFileResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.WriteFileResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.WriteFileResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.WriteFileResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.WriteFileResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.dataform.v1beta1.WriteFileResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.WriteFileResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.WriteFileResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.WriteFileResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.dataform.v1beta1.WriteFileResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.dataform.v1beta1.WriteFileResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.WriteFileResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.dataform.v1beta1.WriteFileResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.dataform.v1beta1.WriteFileResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.dataform.v1beta1.WriteFileResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * `WriteFile` response message.
    * 
* * Protobuf type {@code google.cloud.dataform.v1beta1.WriteFileResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.dataform.v1beta1.WriteFileResponse) com.google.cloud.dataform.v1beta1.WriteFileResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WriteFileResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_WriteFileResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WriteFileResponse_fieldAccessorTable + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_WriteFileResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.dataform.v1beta1.WriteFileResponse.class, com.google.cloud.dataform.v1beta1.WriteFileResponse.Builder.class); + com.google.cloud.dataform.v1beta1.WriteFileResponse.class, + com.google.cloud.dataform.v1beta1.WriteFileResponse.Builder.class); } // Construct using com.google.cloud.dataform.v1beta1.WriteFileResponse.newBuilder() @@ -259,16 +287,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,9 +303,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.dataform.v1beta1.DataformProto.internal_static_google_cloud_dataform_v1beta1_WriteFileResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.dataform.v1beta1.DataformProto + .internal_static_google_cloud_dataform_v1beta1_WriteFileResponse_descriptor; } @java.lang.Override @@ -297,7 +324,8 @@ public com.google.cloud.dataform.v1beta1.WriteFileResponse build() { @java.lang.Override public com.google.cloud.dataform.v1beta1.WriteFileResponse buildPartial() { - com.google.cloud.dataform.v1beta1.WriteFileResponse result = new com.google.cloud.dataform.v1beta1.WriteFileResponse(this); + com.google.cloud.dataform.v1beta1.WriteFileResponse result = + new com.google.cloud.dataform.v1beta1.WriteFileResponse(this); onBuilt(); return result; } @@ -306,38 +334,39 @@ public com.google.cloud.dataform.v1beta1.WriteFileResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.dataform.v1beta1.WriteFileResponse) { - return mergeFrom((com.google.cloud.dataform.v1beta1.WriteFileResponse)other); + return mergeFrom((com.google.cloud.dataform.v1beta1.WriteFileResponse) other); } else { super.mergeFrom(other); return this; @@ -345,7 +374,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.dataform.v1beta1.WriteFileResponse other) { - if (other == com.google.cloud.dataform.v1beta1.WriteFileResponse.getDefaultInstance()) return this; + if (other == com.google.cloud.dataform.v1beta1.WriteFileResponse.getDefaultInstance()) + return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +395,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.dataform.v1beta1.WriteFileResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.dataform.v1beta1.WriteFileResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +405,9 @@ public Builder mergeFrom( } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -386,12 +417,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.dataform.v1beta1.WriteFileResponse) } // @@protoc_insertion_point(class_scope:google.cloud.dataform.v1beta1.WriteFileResponse) private static final com.google.cloud.dataform.v1beta1.WriteFileResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.dataform.v1beta1.WriteFileResponse(); } @@ -400,16 +431,16 @@ public static com.google.cloud.dataform.v1beta1.WriteFileResponse getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public WriteFileResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new WriteFileResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public WriteFileResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new WriteFileResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -424,6 +455,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.dataform.v1beta1.WriteFileResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WriteFileResponseOrBuilder.java b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WriteFileResponseOrBuilder.java new file mode 100644 index 0000000..792902d --- /dev/null +++ b/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WriteFileResponseOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/dataform/v1beta1/dataform.proto + +package com.google.cloud.dataform.v1beta1; + +public interface WriteFileResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1beta1.WriteFileResponse) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/proto/google/cloud/dataform/v1beta1/dataform.proto b/proto-google-cloud-dataform-v1beta1/src/main/proto/google/cloud/dataform/v1beta1/dataform.proto similarity index 100% rename from owl-bot-staging/v1beta1/proto-google-cloud-dataform-v1beta1/src/main/proto/google/cloud/dataform/v1beta1/dataform.proto rename to proto-google-cloud-dataform-v1beta1/src/main/proto/google/cloud/dataform/v1beta1/dataform.proto diff --git a/versions.txt b/versions.txt index a66a240..b7dc841 100644 --- a/versions.txt +++ b/versions.txt @@ -4,3 +4,5 @@ google-cloud-dataform:0.1.0:0.1.0 proto-google-cloud-dataform-v1alpha2:0.1.0:0.1.0 grpc-google-cloud-dataform-v1alpha2:0.1.0:0.1.0 +proto-google-cloud-dataform-v1beta1:0.1.0:0.1.0 +grpc-google-cloud-dataform-v1beta1:0.1.0:0.1.0 From ec4675341c92e0a3a0d69f661edd9a8d9ccfd467 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Fri, 5 Aug 2022 16:30:58 +0000 Subject: [PATCH 3/4] deps: removed unused proto-google-iam-v1 --- proto-google-cloud-dataform-v1beta1/pom.xml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/proto-google-cloud-dataform-v1beta1/pom.xml b/proto-google-cloud-dataform-v1beta1/pom.xml index 43b7876..5ba999c 100644 --- a/proto-google-cloud-dataform-v1beta1/pom.xml +++ b/proto-google-cloud-dataform-v1beta1/pom.xml @@ -21,10 +21,6 @@ com.google.api.grpc proto-google-common-protos - - com.google.api.grpc - proto-google-iam-v1 - com.google.api api-common From e6e63fcd59b1352e27bc85d77ebc400bb70c2dc1 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Fri, 5 Aug 2022 16:34:11 +0000 Subject: [PATCH 4/4] deps: removed unused proto-google-common-protos --- grpc-google-cloud-dataform-v1beta1/pom.xml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/grpc-google-cloud-dataform-v1beta1/pom.xml b/grpc-google-cloud-dataform-v1beta1/pom.xml index 30f9641..99a17cf 100644 --- a/grpc-google-cloud-dataform-v1beta1/pom.xml +++ b/grpc-google-cloud-dataform-v1beta1/pom.xml @@ -29,10 +29,6 @@ com.google.protobuf protobuf-java - - com.google.api.grpc - proto-google-common-protos - com.google.api.grpc proto-google-cloud-dataform-v1beta1 @@ -66,4 +62,4 @@ - \ No newline at end of file +